Update dependencies

This commit is contained in:
github-actions 2022-11-04 06:09:39 +00:00
parent 04362d4922
commit 534f6dce61
52 changed files with 1816 additions and 261 deletions

20
go.mod
View File

@ -3,7 +3,7 @@ module k8s.io/kops
go 1.19
require (
cloud.google.com/go/compute/metadata v0.1.0
cloud.google.com/go/compute/metadata v0.2.1
github.com/Azure/azure-pipeline-go v0.2.3
github.com/Azure/azure-sdk-for-go v67.0.0+incompatible
github.com/Azure/azure-storage-blob-go v0.15.0
@ -14,10 +14,10 @@ require (
github.com/Masterminds/sprig/v3 v3.2.2
github.com/apparentlymart/go-cidr v1.1.0
github.com/aws/amazon-ec2-instance-selector/v2 v2.4.0
github.com/aws/aws-sdk-go v1.44.125
github.com/aws/aws-sdk-go v1.44.130
github.com/blang/semver/v4 v4.0.0
github.com/cert-manager/cert-manager v1.10.0
github.com/digitalocean/godo v1.87.0
github.com/digitalocean/godo v1.89.0
github.com/go-ini/ini v1.67.0
github.com/go-logr/logr v1.2.3
github.com/gogo/protobuf v1.3.2
@ -28,19 +28,19 @@ require (
github.com/google/uuid v1.3.0
github.com/gophercloud/gophercloud v1.0.0
github.com/hashicorp/hcl/v2 v2.14.1
github.com/hashicorp/vault/api v1.8.1
github.com/hashicorp/vault/api v1.8.2
github.com/hetznercloud/hcloud-go v1.35.3
github.com/jacksontj/memberlistmesh v0.0.0-20190905163944-93462b9d2bb7
github.com/mitchellh/mapstructure v1.5.0
github.com/pelletier/go-toml v1.9.5
github.com/pkg/sftp v1.13.5
github.com/prometheus/client_golang v1.13.0
github.com/prometheus/client_golang v1.13.1
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9
github.com/sergi/go-diff v1.2.0
github.com/spf13/cobra v1.6.1
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.13.0
github.com/spotinst/spotinst-sdk-go v1.130.0
github.com/spotinst/spotinst-sdk-go v1.131.1
github.com/stretchr/testify v1.8.1
github.com/weaveworks/mesh v0.0.0-20191105120815-58dbcc3e8e63
github.com/zclconf/go-cty v1.12.0
@ -50,7 +50,7 @@ require (
golang.org/x/oauth2 v0.1.0
golang.org/x/sync v0.1.0
golang.org/x/sys v0.1.0
google.golang.org/api v0.101.0
google.golang.org/api v0.102.0
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/inf.v0 v0.9.1
gopkg.in/square/go-jose.v2 v2.6.0
@ -67,8 +67,8 @@ require (
k8s.io/kubelet v0.25.3
k8s.io/legacy-cloud-providers v0.25.3
k8s.io/mount-utils v0.25.3
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85
sigs.k8s.io/controller-runtime v0.13.0
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476
sigs.k8s.io/controller-runtime v0.13.1
sigs.k8s.io/yaml v1.3.0
)
@ -143,7 +143,7 @@ require (
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-msgpack v0.5.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.3 // indirect
github.com/hashicorp/go-plugin v1.4.5 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 // indirect

46
go.sum
View File

@ -35,8 +35,8 @@ cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4g
cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
cloud.google.com/go/compute v1.12.1 h1:gKVJMEyqV5c/UnpzjjQbo3Rjvvqpr9B1DFSbJC4OXr0=
cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU=
cloud.google.com/go/compute/metadata v0.1.0 h1:FTMMKATTtJnkrhXtblW2AMKVuSruLo30Th6Ml8DO0lc=
cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=
cloud.google.com/go/compute/metadata v0.2.1 h1:efOwf5ymceDhK6PKMnnrTHP4pppY5L22mle96M1yP48=
cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=
cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
@ -131,8 +131,8 @@ github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z
github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI=
github.com/aws/amazon-ec2-instance-selector/v2 v2.4.0 h1:9l68/pwVYm6EOAeBmoVUL4ekw6VlbwtPyX9/F+IpMxQ=
github.com/aws/amazon-ec2-instance-selector/v2 v2.4.0/go.mod h1:AEJrtkLkCkfIBIazidrVrgZqaXl+9dxI/wRgjdw+7G0=
github.com/aws/aws-sdk-go v1.44.125 h1:yIyCs6HX1BOj6SFTirvBwVM1tTfplKrJOyilIZPtKV8=
github.com/aws/aws-sdk-go v1.44.125/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.130 h1:a/qwOxmYJF47xTZvTjECSJXnfRbjegb3YxvCXfETtnY=
github.com/aws/aws-sdk-go v1.44.130/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
@ -199,8 +199,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
github.com/digitalocean/godo v1.87.0 h1:U6jyE7Ga+6NkAa8pnpgrKk0lEU1e3Fc/kWipC9tARds=
github.com/digitalocean/godo v1.87.0/go.mod h1:NRpFznZFvhHjBoqZAaOD3khVzsJ3EibzKqFL4R60dmA=
github.com/digitalocean/godo v1.89.0 h1:UL3Ii4qfk86m4qEKg2iSwop0puvgOCKvwzXvwArU05E=
github.com/digitalocean/godo v1.89.0/go.mod h1:NRpFznZFvhHjBoqZAaOD3khVzsJ3EibzKqFL4R60dmA=
github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U=
github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=
github.com/distribution/distribution/v3 v3.0.0-20220526142353-ffbd94cbe269 h1:hbCT8ZPPMqefiAWD2ZKjn7ypokIGViTvBBg/ExLSdCk=
@ -427,7 +427,6 @@ github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM=
github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
@ -438,8 +437,8 @@ github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iP
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
github.com/hashicorp/go-plugin v1.4.3 h1:DXmvivbWD5qdiBts9TpBC7BYL1Aia5sxbRgQB+v6UZM=
github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ=
github.com/hashicorp/go-plugin v1.4.5 h1:oTE/oQR4eghggRg8VY7PAz3dr++VwDNBGCcOfIvHpBo=
github.com/hashicorp/go-plugin v1.4.5/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s=
github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ=
github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
@ -471,8 +470,8 @@ github.com/hashicorp/hcl/v2 v2.14.1/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0z
github.com/hashicorp/memberlist v0.1.4/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
github.com/hashicorp/memberlist v0.3.1 h1:MXgUXLqva1QvpVEDQW1IQLG0wivQAtmFlHRQ+1vWZfM=
github.com/hashicorp/memberlist v0.3.1/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
github.com/hashicorp/vault/api v1.8.1 h1:bMieWIe6dAlqAAPReZO/8zYtXaWUg/21umwqGZpEjCI=
github.com/hashicorp/vault/api v1.8.1/go.mod h1:uJrw6D3y9Rv7hhmS17JQC50jbPDAZdjZoTtrCCxxs7E=
github.com/hashicorp/vault/api v1.8.2 h1:C7OL9YtOtwQbTKI9ogB0A1wffRbCN+rH/LLCHO3d8HM=
github.com/hashicorp/vault/api v1.8.2/go.mod h1:ML8aYzBIhY5m1MD1B2Q0JV89cC85YVH4t5kBaZiyVaE=
github.com/hashicorp/vault/sdk v0.6.0 h1:6Z+In5DXHiUfZvIZdMx7e2loL1PPyDjA4bVh9ZTIAhs=
github.com/hashicorp/vault/sdk v0.6.0/go.mod h1:+DRpzoXIdMvKc88R4qxr+edwy/RvH5QK8itmxLiDHLc=
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M=
@ -494,7 +493,6 @@ github.com/jacksontj/memberlistmesh v0.0.0-20190905163944-93462b9d2bb7 h1:q9rwMY
github.com/jacksontj/memberlistmesh v0.0.0-20190905163944-93462b9d2bb7/go.mod h1:fFX3XoduobgoJsVtpzIFRTgKZAbNhsSJIDNOgeUU5g4=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/jhump/protoreflect v1.6.0 h1:h5jfMVslIg6l29nsMs0D8Wj17RDVdNYti0vDN/PZZoE=
github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
@ -575,7 +573,6 @@ github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa1
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/go-wordwrap v1.0.0 h1:6GlHJ/LTGMrIJbwgdqdl2eEH8o+Exx/0m8ir9Gns0u4=
@ -669,8 +666,8 @@ github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3O
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU=
github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ=
github.com/prometheus/client_golang v1.13.1 h1:3gMjIY2+/hzmqhtUC/aQNYldJA6DtH3CgQvwS+02K1c=
github.com/prometheus/client_golang v1.13.1/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
@ -755,8 +752,8 @@ github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DM
github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
github.com/spf13/viper v1.13.0 h1:BWSJ/M+f+3nmdz9bxB+bWX28kkALN2ok11D0rSo8EJU=
github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw=
github.com/spotinst/spotinst-sdk-go v1.130.0 h1:XK7LiNI7raWZg5Ib5vdGThQ88x7n2nzIocFVQYqBJpw=
github.com/spotinst/spotinst-sdk-go v1.130.0/go.mod h1:C6mrT7+mqOgPyabacjyYTvilu8Xm96mvTvrZQhj99WI=
github.com/spotinst/spotinst-sdk-go v1.131.1 h1:8WGvAc1PKno221aSnzc42goFwgehHw7DKBWve437IyE=
github.com/spotinst/spotinst-sdk-go v1.131.1/go.mod h1:C6mrT7+mqOgPyabacjyYTvilu8Xm96mvTvrZQhj99WI=
github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@ -882,7 +879,6 @@ golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0 h1:b9gGHsz9/HhJ3HF5DHQytPpuwocVTChQJK3AvoLRD5I=
golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@ -1167,8 +1163,8 @@ google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqiv
google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI=
google.golang.org/api v0.60.0/go.mod h1:d7rl65NZAkEQ90JFzqBjcRq1TVeG5ZoGV3sSpEnnVb4=
google.golang.org/api v0.101.0 h1:lJPPeEBIRxGpGLwnBTam1NPEM8Z2BmmXEd3z812pjwM=
google.golang.org/api v0.101.0/go.mod h1:CjxAAWWt3A3VrUE2IGDY2bgK5qhoG/OkyWVlYcP05MY=
google.golang.org/api v0.102.0 h1:JxJl2qQ85fRMPNvlZY/enexbxpCjLwGhZUtgfGeQ51I=
google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@ -1177,7 +1173,6 @@ google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCID
google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
@ -1240,7 +1235,6 @@ google.golang.org/genproto v0.0.0-20211021150943-2b146023228c/go.mod h1:5CzLGKJ6
google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e h1:S9GbmC1iCgvbLyAokVCwiO6tVIrU9Y7c5oMx1V/ki/Y=
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s=
google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
@ -1369,15 +1363,15 @@ k8s.io/legacy-cloud-providers v0.25.3 h1:v7M/U8jE6kJn2gEBVofDApCOkgUlsFGBTXosTKV
k8s.io/legacy-cloud-providers v0.25.3/go.mod h1:0l3ulE+R3UXrVSfevmLvKSqJluRX/ABedGLGfpYf9t0=
k8s.io/mount-utils v0.25.3 h1:Eb4MDClmozX3Vrz4ZtoG0bQ/pGhT5gyo28p3f+0r9EE=
k8s.io/mount-utils v0.25.3/go.mod h1:odpFnGwJfFjN3SRnjfGS0902ubcj/W6hDOrNDmSSINo=
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85 h1:cTdVh7LYu82xeClmfzGtgyspNh6UxpwLWGi8R4sspNo=
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476 h1:L14f2LWkOxG2rYsuSA3ltQnnST1vMfek/GUk+VemxD4=
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
oras.land/oras-go v1.2.0 h1:yoKosVIbsPoFMqAIFHTnrmOuafHal+J/r+I5bdbVWu4=
oras.land/oras-go v1.2.0/go.mod h1:pFNs7oHp2dYsYMSS82HaX5l4mpnGO7hbpPN6EWH2ltc=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
sigs.k8s.io/controller-runtime v0.13.0 h1:iqa5RNciy7ADWnIc8QxCbOX5FEKVR3uxVxKHRMc2WIQ=
sigs.k8s.io/controller-runtime v0.13.0/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI=
sigs.k8s.io/controller-runtime v0.13.1 h1:tUsRCSJVM1QQOOeViGeX3GMT3dQF1eePPw6sEE3xSlg=
sigs.k8s.io/controller-runtime v0.13.1/go.mod h1:Zbz+el8Yg31jubvAEyglRZGdLAjplZl+PgtYNI6WNTI=
sigs.k8s.io/gateway-api v0.5.0 h1:ze+k9fJqvmL8s1t3e4q1ST8RnN+f09dEv+gfacahlAE=
sigs.k8s.io/gateway-api v0.5.0/go.mod h1:x0AP6gugkFV8fC/oTlnOMU0pnmuzIR8LfIPRVUjxSqA=
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k=

View File

@ -25,7 +25,7 @@ require (
require (
cloud.google.com/go v0.104.0 // indirect
cloud.google.com/go/compute v1.12.1 // indirect
cloud.google.com/go/compute/metadata v0.1.0 // indirect
cloud.google.com/go/compute/metadata v0.2.1 // indirect
cloud.google.com/go/iam v0.3.0 // indirect
cloud.google.com/go/storage v1.25.0 // indirect
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
@ -39,7 +39,7 @@ require (
github.com/apparentlymart/go-cidr v1.1.0 // indirect
github.com/armon/go-metrics v0.3.10 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/aws/aws-sdk-go v1.44.125 // indirect
github.com/aws/aws-sdk-go v1.44.130 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/cenkalti/backoff/v3 v3.0.0 // indirect
@ -85,7 +85,7 @@ require (
github.com/hashicorp/go-hclog v1.2.0 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.3 // indirect
github.com/hashicorp/go-plugin v1.4.5 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 // indirect
@ -96,7 +96,7 @@ require (
github.com/hashicorp/go-version v1.2.1 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/vault/api v1.8.1 // indirect
github.com/hashicorp/vault/api v1.8.2 // indirect
github.com/hashicorp/vault/sdk v0.6.0 // indirect
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
github.com/imdario/mergo v0.3.12 // indirect
@ -132,7 +132,7 @@ require (
github.com/pierrec/lz4 v2.5.2+incompatible // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pkg/sftp v1.13.5 // indirect
github.com/prometheus/client_golang v1.13.0 // indirect
github.com/prometheus/client_golang v1.13.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
@ -158,7 +158,7 @@ require (
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect
golang.org/x/tools v0.1.12 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.101.0 // indirect
google.golang.org/api v0.102.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e // indirect
google.golang.org/grpc v1.50.1 // indirect
@ -171,7 +171,7 @@ require (
k8s.io/kube-openapi v0.0.0-20220803164354-a70c9af30aea // indirect
k8s.io/release v0.7.1-0.20210204090829-09fb5e3883b8 // indirect
k8s.io/test-infra v0.0.0-20210730160938-8ad9b8c53bd8 // indirect
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85 // indirect
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

View File

@ -54,8 +54,8 @@ cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTB
cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM=
cloud.google.com/go/compute v1.12.1 h1:gKVJMEyqV5c/UnpzjjQbo3Rjvvqpr9B1DFSbJC4OXr0=
cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU=
cloud.google.com/go/compute/metadata v0.1.0 h1:FTMMKATTtJnkrhXtblW2AMKVuSruLo30Th6Ml8DO0lc=
cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=
cloud.google.com/go/compute/metadata v0.2.1 h1:efOwf5ymceDhK6PKMnnrTHP4pppY5L22mle96M1yP48=
cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=
cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk=
@ -322,8 +322,8 @@ github.com/aws/aws-sdk-go v1.31.6/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU
github.com/aws/aws-sdk-go v1.31.12/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
github.com/aws/aws-sdk-go v1.34.28/go.mod h1:H7NKnBqNVzoTJpGfLrQkkD+ytBA93eiDYi/+8rV9s48=
github.com/aws/aws-sdk-go v1.37.22/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.44.125 h1:yIyCs6HX1BOj6SFTirvBwVM1tTfplKrJOyilIZPtKV8=
github.com/aws/aws-sdk-go v1.44.125/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.130 h1:a/qwOxmYJF47xTZvTjECSJXnfRbjegb3YxvCXfETtnY=
github.com/aws/aws-sdk-go v1.44.130/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I=
github.com/bazelbuild/buildtools v0.0.0-20190917191645-69366ca98f89/go.mod h1:5JP0TXzWDHXv8qvxRC4InIazwdyDseBDbzESUMKk1yU=
github.com/bazelbuild/buildtools v0.0.0-20200922170545-10384511ce98/go.mod h1:5JP0TXzWDHXv8qvxRC4InIazwdyDseBDbzESUMKk1yU=
@ -1187,7 +1187,6 @@ github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
github.com/hashicorp/go-hclog v1.2.0 h1:La19f8d7WIlm4ogzNHB0JGqs5AUDAZ2UfCY4sJXcJdM=
github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
@ -1200,8 +1199,8 @@ github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHh
github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA=
github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo=
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
github.com/hashicorp/go-plugin v1.4.3 h1:DXmvivbWD5qdiBts9TpBC7BYL1Aia5sxbRgQB+v6UZM=
github.com/hashicorp/go-plugin v1.4.3/go.mod h1:5fGEH17QVwTTcR0zV7yhDPLLmFX9YSZ38b18Udy6vYQ=
github.com/hashicorp/go-plugin v1.4.5 h1:oTE/oQR4eghggRg8VY7PAz3dr++VwDNBGCcOfIvHpBo=
github.com/hashicorp/go-plugin v1.4.5/go.mod h1:viDMjcLJuDui6pXb8U4HVfb8AamCWhHGUjr2IrTF67s=
github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
github.com/hashicorp/go-retryablehttp v0.6.4/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
@ -1241,8 +1240,8 @@ github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO
github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
github.com/hashicorp/vault/api v1.8.1 h1:bMieWIe6dAlqAAPReZO/8zYtXaWUg/21umwqGZpEjCI=
github.com/hashicorp/vault/api v1.8.1/go.mod h1:uJrw6D3y9Rv7hhmS17JQC50jbPDAZdjZoTtrCCxxs7E=
github.com/hashicorp/vault/api v1.8.2 h1:C7OL9YtOtwQbTKI9ogB0A1wffRbCN+rH/LLCHO3d8HM=
github.com/hashicorp/vault/api v1.8.2/go.mod h1:ML8aYzBIhY5m1MD1B2Q0JV89cC85YVH4t5kBaZiyVaE=
github.com/hashicorp/vault/sdk v0.6.0 h1:6Z+In5DXHiUfZvIZdMx7e2loL1PPyDjA4bVh9ZTIAhs=
github.com/hashicorp/vault/sdk v0.6.0/go.mod h1:+DRpzoXIdMvKc88R4qxr+edwy/RvH5QK8itmxLiDHLc=
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M=
@ -1281,7 +1280,6 @@ github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c
github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI=
github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI=
github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ=
github.com/jhump/protoreflect v1.6.0/go.mod h1:eaTn3RZAmMBcV0fifFvlm6VHNz3wSkYyXYWUh7ymB74=
github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E=
github.com/jhump/protoreflect v1.12.0 h1:1NQ4FpWMgn3by/n1X0fbeKEUxP1wBt7+Oitpv01HR10=
github.com/jhump/protoreflect v1.12.0/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI=
@ -1483,7 +1481,6 @@ github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrk
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b/go.mod h1:r1VsdOzOPt1ZSrGZWFoNhsAedKnEd6r9Np1+5blZCWk=
github.com/mitchellh/go-testing-interface v0.0.0-20171004221916-a61a99592b77/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
@ -1710,8 +1707,8 @@ github.com/prometheus/client_golang v1.5.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3O
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU=
github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ=
github.com/prometheus/client_golang v1.13.1 h1:3gMjIY2+/hzmqhtUC/aQNYldJA6DtH3CgQvwS+02K1c=
github.com/prometheus/client_golang v1.13.1/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ=
github.com/prometheus/client_model v0.0.0-20170216185247-6f3806018612/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
@ -2214,7 +2211,6 @@ golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0 h1:b9gGHsz9/HhJ3HF5DHQytPpuwocVTChQJK3AvoLRD5I=
golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180530234432-1e491301e022/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@ -2697,8 +2693,8 @@ google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3h
google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo=
google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g=
google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA=
google.golang.org/api v0.101.0 h1:lJPPeEBIRxGpGLwnBTam1NPEM8Z2BmmXEd3z812pjwM=
google.golang.org/api v0.101.0/go.mod h1:CjxAAWWt3A3VrUE2IGDY2bgK5qhoG/OkyWVlYcP05MY=
google.golang.org/api v0.102.0 h1:JxJl2qQ85fRMPNvlZY/enexbxpCjLwGhZUtgfGeQ51I=
google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@ -2712,7 +2708,6 @@ google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk=
google.golang.org/genproto v0.0.0-20170731182057-09f6ed296fc6/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180608181217-32ee49c4dd80/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
@ -2812,7 +2807,6 @@ google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e h1:S9GbmC1iCgvbLyAokVCwiO6tVIrU9Y7c5oMx1V/ki/Y=
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s=
google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.13.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.15.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio=
@ -3132,8 +3126,8 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85 h1:cTdVh7LYu82xeClmfzGtgyspNh6UxpwLWGi8R4sspNo=
k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476 h1:L14f2LWkOxG2rYsuSA3ltQnnST1vMfek/GUk+VemxD4=
k8s.io/utils v0.0.0-20221101230645-61b03e2f6476/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/caching v0.0.0-20190719140829-2032732871ff/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg=
knative.dev/caching v0.0.0-20200116200605-67bca2c83dfa/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg=
knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g=

View File

@ -1593,6 +1593,14 @@ var awsPartition = partition{
Region: "ap-southeast-2",
},
},
endpointKey{
Region: "eu-central-1",
}: endpoint{
Hostname: "api.iotwireless.eu-central-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "eu-central-1",
},
},
endpointKey{
Region: "eu-west-1",
}: endpoint{
@ -1601,6 +1609,14 @@ var awsPartition = partition{
Region: "eu-west-1",
},
},
endpointKey{
Region: "sa-east-1",
}: endpoint{
Hostname: "api.iotwireless.sa-east-1.amazonaws.com",
CredentialScope: credentialScope{
Region: "sa-east-1",
},
},
endpointKey{
Region: "us-east-1",
}: endpoint{
@ -10914,6 +10930,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},
@ -14378,6 +14397,12 @@ var awsPartition = partition{
endpointKey{
Region: "me-central-1",
}: endpoint{},
endpointKey{
Region: "me-central-1",
Variant: dualStackVariant,
}: endpoint{
Hostname: "lambda.me-central-1.api.aws",
},
endpointKey{
Region: "me-south-1",
}: endpoint{},
@ -20667,6 +20692,9 @@ var awsPartition = partition{
endpointKey{
Region: "ap-southeast-2",
}: endpoint{},
endpointKey{
Region: "ap-southeast-3",
}: endpoint{},
endpointKey{
Region: "ca-central-1",
}: endpoint{},

View File

@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
const SDKVersion = "1.44.125"
const SDKVersion = "1.44.130"

View File

@ -4,7 +4,6 @@ package jsonutil
import (
"bytes"
"encoding/base64"
"encoding/json"
"fmt"
"math"
"reflect"
@ -16,6 +15,12 @@ import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
floatNaN = "NaN"
floatInf = "Infinity"
floatNegInf = "-Infinity"
)
var timeType = reflect.ValueOf(time.Time{}).Type()
var byteSliceType = reflect.ValueOf([]byte{}).Type()
@ -211,10 +216,16 @@ func buildScalar(v reflect.Value, buf *bytes.Buffer, tag reflect.StructTag) erro
buf.Write(strconv.AppendInt(scratch[:0], value.Int(), 10))
case reflect.Float64:
f := value.Float()
if math.IsInf(f, 0) || math.IsNaN(f) {
return &json.UnsupportedValueError{Value: v, Str: strconv.FormatFloat(f, 'f', -1, 64)}
switch {
case math.IsNaN(f):
writeString(floatNaN, buf)
case math.IsInf(f, 1):
writeString(floatInf, buf)
case math.IsInf(f, -1):
writeString(floatNegInf, buf)
default:
buf.Write(strconv.AppendFloat(scratch[:0], f, 'f', -1, 64))
}
buf.Write(strconv.AppendFloat(scratch[:0], f, 'f', -1, 64))
default:
switch converted := value.Interface().(type) {
case time.Time:

View File

@ -6,6 +6,7 @@ import (
"encoding/json"
"fmt"
"io"
"math"
"math/big"
"reflect"
"strings"
@ -258,6 +259,18 @@ func (u unmarshaler) unmarshalScalar(value reflect.Value, data interface{}, tag
return err
}
value.Set(reflect.ValueOf(v))
case *float64:
// These are regular strings when parsed by encoding/json's unmarshaler.
switch {
case strings.EqualFold(d, floatNaN):
value.Set(reflect.ValueOf(aws.Float64(math.NaN())))
case strings.EqualFold(d, floatInf):
value.Set(reflect.ValueOf(aws.Float64(math.Inf(1))))
case strings.EqualFold(d, floatNegInf):
value.Set(reflect.ValueOf(aws.Float64(math.Inf(-1))))
default:
return fmt.Errorf("unknown JSON number value: %s", d)
}
default:
return fmt.Errorf("unsupported value: %v (%s)", value.Interface(), value.Type())
}

View File

@ -3,6 +3,7 @@ package queryutil
import (
"encoding/base64"
"fmt"
"math"
"net/url"
"reflect"
"sort"
@ -13,6 +14,12 @@ import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
floatNaN = "NaN"
floatInf = "Infinity"
floatNegInf = "-Infinity"
)
// Parse parses an object i and fills a url.Values object. The isEC2 flag
// indicates if this is the EC2 Query sub-protocol.
func Parse(body url.Values, i interface{}, isEC2 bool) error {
@ -228,9 +235,32 @@ func (q *queryParser) parseScalar(v url.Values, r reflect.Value, name string, ta
case int:
v.Set(name, strconv.Itoa(value))
case float64:
v.Set(name, strconv.FormatFloat(value, 'f', -1, 64))
var str string
switch {
case math.IsNaN(value):
str = floatNaN
case math.IsInf(value, 1):
str = floatInf
case math.IsInf(value, -1):
str = floatNegInf
default:
str = strconv.FormatFloat(value, 'f', -1, 64)
}
v.Set(name, str)
case float32:
v.Set(name, strconv.FormatFloat(float64(value), 'f', -1, 32))
asFloat64 := float64(value)
var str string
switch {
case math.IsNaN(asFloat64):
str = floatNaN
case math.IsInf(asFloat64, 1):
str = floatInf
case math.IsInf(asFloat64, -1):
str = floatNegInf
default:
str = strconv.FormatFloat(asFloat64, 'f', -1, 32)
}
v.Set(name, str)
case time.Time:
const ISO8601UTC = "2006-01-02T15:04:05Z"
format := tag.Get("timestampFormat")

View File

@ -6,6 +6,7 @@ import (
"encoding/base64"
"fmt"
"io"
"math"
"net/http"
"net/url"
"path"
@ -20,6 +21,12 @@ import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
floatNaN = "NaN"
floatInf = "Infinity"
floatNegInf = "-Infinity"
)
// Whether the byte value can be sent without escaping in AWS URLs
var noEscape [256]bool
@ -302,7 +309,16 @@ func convertType(v reflect.Value, tag reflect.StructTag) (str string, err error)
case int64:
str = strconv.FormatInt(value, 10)
case float64:
str = strconv.FormatFloat(value, 'f', -1, 64)
switch {
case math.IsNaN(value):
str = floatNaN
case math.IsInf(value, 1):
str = floatInf
case math.IsInf(value, -1):
str = floatNegInf
default:
str = strconv.FormatFloat(value, 'f', -1, 64)
}
case time.Time:
format := tag.Get("timestampFormat")
if len(format) == 0 {

View File

@ -6,6 +6,7 @@ import (
"fmt"
"io"
"io/ioutil"
"math"
"net/http"
"reflect"
"strconv"
@ -231,9 +232,20 @@ func unmarshalHeader(v reflect.Value, header string, tag reflect.StructTag) erro
}
v.Set(reflect.ValueOf(&i))
case *float64:
f, err := strconv.ParseFloat(header, 64)
if err != nil {
return err
var f float64
switch {
case strings.EqualFold(header, floatNaN):
f = math.NaN()
case strings.EqualFold(header, floatInf):
f = math.Inf(1)
case strings.EqualFold(header, floatNegInf):
f = math.Inf(-1)
default:
var err error
f, err = strconv.ParseFloat(header, 64)
if err != nil {
return err
}
}
v.Set(reflect.ValueOf(&f))
case *time.Time:

View File

@ -5,6 +5,7 @@ import (
"encoding/base64"
"encoding/xml"
"fmt"
"math"
"reflect"
"sort"
"strconv"
@ -14,6 +15,12 @@ import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
floatNaN = "NaN"
floatInf = "Infinity"
floatNegInf = "-Infinity"
)
// BuildXML will serialize params into an xml.Encoder. Error will be returned
// if the serialization of any of the params or nested values fails.
func BuildXML(params interface{}, e *xml.Encoder) error {
@ -275,6 +282,7 @@ func (b *xmlBuilder) buildMap(value reflect.Value, current *XMLNode, tag reflect
// Error will be returned if the value type is unsupported.
func (b *xmlBuilder) buildScalar(value reflect.Value, current *XMLNode, tag reflect.StructTag) error {
var str string
switch converted := value.Interface().(type) {
case string:
str = converted
@ -289,9 +297,29 @@ func (b *xmlBuilder) buildScalar(value reflect.Value, current *XMLNode, tag refl
case int:
str = strconv.Itoa(converted)
case float64:
str = strconv.FormatFloat(converted, 'f', -1, 64)
switch {
case math.IsNaN(converted):
str = floatNaN
case math.IsInf(converted, 1):
str = floatInf
case math.IsInf(converted, -1):
str = floatNegInf
default:
str = strconv.FormatFloat(converted, 'f', -1, 64)
}
case float32:
str = strconv.FormatFloat(float64(converted), 'f', -1, 32)
// The SDK doesn't render float32 values in types, only float64. This case would never be hit currently.
asFloat64 := float64(converted)
switch {
case math.IsNaN(asFloat64):
str = floatNaN
case math.IsInf(asFloat64, 1):
str = floatInf
case math.IsInf(asFloat64, -1):
str = floatNegInf
default:
str = strconv.FormatFloat(asFloat64, 'f', -1, 32)
}
case time.Time:
format := tag.Get("timestampFormat")
if len(format) == 0 {

View File

@ -6,6 +6,7 @@ import (
"encoding/xml"
"fmt"
"io"
"math"
"reflect"
"strconv"
"strings"
@ -276,9 +277,20 @@ func parseScalar(r reflect.Value, node *XMLNode, tag reflect.StructTag) error {
}
r.Set(reflect.ValueOf(&v))
case *float64:
v, err := strconv.ParseFloat(node.Text, 64)
if err != nil {
return err
var v float64
switch {
case strings.EqualFold(node.Text, floatNaN):
v = math.NaN()
case strings.EqualFold(node.Text, floatInf):
v = math.Inf(1)
case strings.EqualFold(node.Text, floatNegInf):
v = math.Inf(-1)
default:
var err error
v, err = strconv.ParseFloat(node.Text, 64)
if err != nil {
return err
}
}
r.Set(reflect.ValueOf(&v))
case *time.Time:

View File

@ -6180,8 +6180,8 @@ func (c *CloudFormation) TestTypeRequest(input *TestTypeInput) (req *request.Req
// To perform testing, CloudFormation assumes the execution role specified when
// the type was registered. For more information, see RegisterType (AWSCloudFormation/latest/APIReference/API_RegisterType.html).
//
// Once you've initiated testing on an extension using TestType, you can use
// DescribeType (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html)
// Once you've initiated testing on an extension using TestType, you can pass
// the returned TypeVersionArn into DescribeType (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html)
// to monitor the current test status and test status description for the extension.
//
// An extension must have a test status of PASSED before it can be published.
@ -9797,10 +9797,10 @@ type DeploymentTargets struct {
// This enables user to avoid certain accounts within an OU such as suspended
// accounts.
//
// * UNION: (default value) StackSets includes additional accounts deployment
// targets. This is the default value if AccountFilterType is not provided.
// This enables user to update an entire OU and individual accounts from
// a different OU in one request, which used to be two separate requests.
// * UNION: StackSets includes additional accounts deployment targets. This
// is the default value if AccountFilterType is not provided. This enables
// user to update an entire OU and individual accounts from a different OU
// in one request, which used to be two separate requests.
//
// * NONE: Deploys to all the accounts in specified organizational units
// (OU).
@ -13873,7 +13873,7 @@ type ListStackInstancesInput struct {
// in the CloudFormation User Guide.
CallAs *string `type:"string" enum:"CallAs"`
// The status that stack instances are filtered by.
// The filter to apply to stack instances
Filters []*StackInstanceFilter `type:"list"`
// The maximum number of results to be returned with a single call. If the number
@ -14165,6 +14165,9 @@ type ListStackSetOperationResultsInput struct {
// in the CloudFormation User Guide.
CallAs *string `type:"string" enum:"CallAs"`
// The filter to apply to operation results.
Filters []*OperationResultFilter `type:"list"`
// The maximum number of results to be returned with a single call. If the number
// of available results exceeds this maximum, the response includes a NextToken
// value that you can assign to the NextToken request parameter to get the next
@ -14226,6 +14229,16 @@ func (s *ListStackSetOperationResultsInput) Validate() error {
if s.StackSetName == nil {
invalidParams.Add(request.NewErrParamRequired("StackSetName"))
}
if s.Filters != nil {
for i, v := range s.Filters {
if v == nil {
continue
}
if err := v.Validate(); err != nil {
invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
}
}
}
if invalidParams.Len() > 0 {
return invalidParams
@ -14239,6 +14252,12 @@ func (s *ListStackSetOperationResultsInput) SetCallAs(v string) *ListStackSetOpe
return s
}
// SetFilters sets the Filters field's value.
func (s *ListStackSetOperationResultsInput) SetFilters(v []*OperationResultFilter) *ListStackSetOperationResultsInput {
s.Filters = v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *ListStackSetOperationResultsInput) SetMaxResults(v int64) *ListStackSetOperationResultsInput {
s.MaxResults = &v
@ -15399,6 +15418,60 @@ func (s *ModuleInfo) SetTypeHierarchy(v string) *ModuleInfo {
return s
}
// The status that operation results are filtered by.
type OperationResultFilter struct {
_ struct{} `type:"structure"`
// The type of filter to apply.
Name *string `type:"string" enum:"OperationResultFilterName"`
// The value to filter by.
Values *string `min:"6" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s OperationResultFilter) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s OperationResultFilter) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *OperationResultFilter) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "OperationResultFilter"}
if s.Values != nil && len(*s.Values) < 6 {
invalidParams.Add(request.NewErrParamMinLen("Values", 6))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetName sets the Name field's value.
func (s *OperationResultFilter) SetName(v string) *OperationResultFilter {
s.Name = &v
return s
}
// SetValues sets the Values field's value.
func (s *OperationResultFilter) SetValues(v string) *OperationResultFilter {
s.Values = &v
return s
}
// The Output data type.
type Output struct {
_ struct{} `type:"structure"`
@ -18173,6 +18246,9 @@ type StackInstance struct {
// which drift detection hasn't yet been performed.
LastDriftCheckTimestamp *time.Time `type:"timestamp"`
// The last unique ID of a StackSet operation performed on a stack instance.
LastOperationId *string `min:"1" type:"string"`
// [Service-managed permissions] The organization root ID or organizational
// unit (OU) IDs that you specified for DeploymentTargets (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html).
OrganizationalUnitId *string `type:"string"`
@ -18253,6 +18329,12 @@ func (s *StackInstance) SetLastDriftCheckTimestamp(v time.Time) *StackInstance {
return s
}
// SetLastOperationId sets the LastOperationId field's value.
func (s *StackInstance) SetLastOperationId(v string) *StackInstance {
s.LastOperationId = &v
return s
}
// SetOrganizationalUnitId sets the OrganizationalUnitId field's value.
func (s *StackInstance) SetOrganizationalUnitId(v string) *StackInstance {
s.OrganizationalUnitId = &v
@ -18354,7 +18436,7 @@ func (s *StackInstanceComprehensiveStatus) SetDetailedStatus(v string) *StackIns
return s
}
// The status that stack instances are filtered by.
// The filter to apply to stack instances
type StackInstanceFilter struct {
_ struct{} `type:"structure"`
@ -18362,7 +18444,7 @@ type StackInstanceFilter struct {
Name *string `type:"string" enum:"StackInstanceFilterName"`
// The status to filter by.
Values *string `min:"6" type:"string"`
Values *string `min:"1" type:"string"`
}
// String returns the string representation.
@ -18386,8 +18468,8 @@ func (s StackInstanceFilter) GoString() string {
// Validate inspects the fields of the type to determine if they are valid.
func (s *StackInstanceFilter) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "StackInstanceFilter"}
if s.Values != nil && len(*s.Values) < 6 {
invalidParams.Add(request.NewErrParamMinLen("Values", 6))
if s.Values != nil && len(*s.Values) < 1 {
invalidParams.Add(request.NewErrParamMinLen("Values", 1))
}
if invalidParams.Len() > 0 {
@ -18438,6 +18520,9 @@ type StackInstanceSummary struct {
// which drift detection hasn't yet been performed.
LastDriftCheckTimestamp *time.Time `type:"timestamp"`
// The last unique ID of a StackSet operation performed on a stack instance.
LastOperationId *string `min:"1" type:"string"`
// [Service-managed permissions] The organization root ID or organizational
// unit (OU) IDs that you specified for DeploymentTargets (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html).
OrganizationalUnitId *string `type:"string"`
@ -18513,6 +18598,12 @@ func (s *StackInstanceSummary) SetLastDriftCheckTimestamp(v time.Time) *StackIns
return s
}
// SetLastOperationId sets the LastOperationId field's value.
func (s *StackInstanceSummary) SetLastOperationId(v string) *StackInstanceSummary {
s.LastOperationId = &v
return s
}
// SetOrganizationalUnitId sets the OrganizationalUnitId field's value.
func (s *StackInstanceSummary) SetOrganizationalUnitId(v string) *StackInstanceSummary {
s.OrganizationalUnitId = &v
@ -19681,6 +19772,9 @@ type StackSetOperation struct {
// stacks without exceeding the failure tolerance for the operation.
Status *string `type:"string" enum:"StackSetOperationStatus"`
// Detailed information about the StackSet operation.
StatusDetails *StackSetOperationStatusDetails `type:"structure"`
// The status of the operation in details.
StatusReason *string `type:"string"`
}
@ -19775,6 +19869,12 @@ func (s *StackSetOperation) SetStatus(v string) *StackSetOperation {
return s
}
// SetStatusDetails sets the StatusDetails field's value.
func (s *StackSetOperation) SetStatusDetails(v *StackSetOperationStatusDetails) *StackSetOperation {
s.StatusDetails = v
return s
}
// SetStatusReason sets the StatusReason field's value.
func (s *StackSetOperation) SetStatusReason(v string) *StackSetOperation {
s.StatusReason = &v
@ -20023,6 +20123,38 @@ func (s *StackSetOperationResultSummary) SetStatusReason(v string) *StackSetOper
return s
}
// Detailed information about the StackSet operation.
type StackSetOperationStatusDetails struct {
_ struct{} `type:"structure"`
// The number of stack instances for which the StackSet operation failed.
FailedStackInstancesCount *int64 `type:"integer"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StackSetOperationStatusDetails) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s StackSetOperationStatusDetails) GoString() string {
return s.String()
}
// SetFailedStackInstancesCount sets the FailedStackInstancesCount field's value.
func (s *StackSetOperationStatusDetails) SetFailedStackInstancesCount(v int64) *StackSetOperationStatusDetails {
s.FailedStackInstancesCount = &v
return s
}
// The structures that contain summary information about the specified operation.
type StackSetOperationSummary struct {
_ struct{} `type:"structure"`
@ -20048,6 +20180,13 @@ type StackSetOperationSummary struct {
// The unique ID of the stack set operation.
OperationId *string `min:"1" type:"string"`
// The user-specified preferences for how CloudFormation performs a stack set
// operation.
//
// For more information about maximum concurrent accounts and failure tolerance,
// see Stack set operation options (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options).
OperationPreferences *StackSetOperationPreferences `type:"structure"`
// The overall status of the operation.
//
// * FAILED: The operation exceeded the specified failure tolerance. The
@ -20073,6 +20212,9 @@ type StackSetOperationSummary struct {
// stacks without exceeding the failure tolerance for the operation.
Status *string `type:"string" enum:"StackSetOperationStatus"`
// Detailed information about the stack set operation.
StatusDetails *StackSetOperationStatusDetails `type:"structure"`
// The status of the operation in details.
StatusReason *string `type:"string"`
}
@ -20119,12 +20261,24 @@ func (s *StackSetOperationSummary) SetOperationId(v string) *StackSetOperationSu
return s
}
// SetOperationPreferences sets the OperationPreferences field's value.
func (s *StackSetOperationSummary) SetOperationPreferences(v *StackSetOperationPreferences) *StackSetOperationSummary {
s.OperationPreferences = v
return s
}
// SetStatus sets the Status field's value.
func (s *StackSetOperationSummary) SetStatus(v string) *StackSetOperationSummary {
s.Status = &v
return s
}
// SetStatusDetails sets the StatusDetails field's value.
func (s *StackSetOperationSummary) SetStatusDetails(v *StackSetOperationStatusDetails) *StackSetOperationSummary {
s.StatusDetails = v
return s
}
// SetStatusReason sets the StatusReason field's value.
func (s *StackSetOperationSummary) SetStatusReason(v string) *StackSetOperationSummary {
s.StatusReason = &v
@ -23197,6 +23351,18 @@ func OnFailure_Values() []string {
}
}
const (
// OperationResultFilterNameOperationResultStatus is a OperationResultFilterName enum value
OperationResultFilterNameOperationResultStatus = "OPERATION_RESULT_STATUS"
)
// OperationResultFilterName_Values returns all elements of the OperationResultFilterName enum
func OperationResultFilterName_Values() []string {
return []string{
OperationResultFilterNameOperationResultStatus,
}
}
const (
// OperationStatusPending is a OperationStatus enum value
OperationStatusPending = "PENDING"
@ -23592,12 +23758,16 @@ func StackInstanceDetailedStatus_Values() []string {
const (
// StackInstanceFilterNameDetailedStatus is a StackInstanceFilterName enum value
StackInstanceFilterNameDetailedStatus = "DETAILED_STATUS"
// StackInstanceFilterNameLastOperationId is a StackInstanceFilterName enum value
StackInstanceFilterNameLastOperationId = "LAST_OPERATION_ID"
)
// StackInstanceFilterName_Values returns all elements of the StackInstanceFilterName enum
func StackInstanceFilterName_Values() []string {
return []string{
StackInstanceFilterNameDetailedStatus,
StackInstanceFilterNameLastOperationId,
}
}

View File

@ -13,6 +13,81 @@ import (
"github.com/aws/aws-sdk-go/private/protocol/ec2query"
)
const opAcceptAddressTransfer = "AcceptAddressTransfer"
// AcceptAddressTransferRequest generates a "aws/request.Request" representing the
// client's request for the AcceptAddressTransfer operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See AcceptAddressTransfer for more information on using the AcceptAddressTransfer
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// // Example sending a request using the AcceptAddressTransferRequest method.
// req, resp := client.AcceptAddressTransferRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptAddressTransfer
func (c *EC2) AcceptAddressTransferRequest(input *AcceptAddressTransferInput) (req *request.Request, output *AcceptAddressTransferOutput) {
op := &request.Operation{
Name: opAcceptAddressTransfer,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &AcceptAddressTransferInput{}
}
output = &AcceptAddressTransferOutput{}
req = c.newRequest(op, input, output)
return
}
// AcceptAddressTransfer API operation for Amazon Elastic Compute Cloud.
//
// Accepts an Elastic IP address transfer. For more information, see Accept
// a transferred Elastic IP address (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#using-instance-addressing-eips-transfer-accept)
// in the Amazon Virtual Private Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation AcceptAddressTransfer for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptAddressTransfer
func (c *EC2) AcceptAddressTransfer(input *AcceptAddressTransferInput) (*AcceptAddressTransferOutput, error) {
req, out := c.AcceptAddressTransferRequest(input)
return out, req.Send()
}
// AcceptAddressTransferWithContext is the same as AcceptAddressTransfer with the addition of
// the ability to pass a context and additional request options.
//
// See AcceptAddressTransfer for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) AcceptAddressTransferWithContext(ctx aws.Context, input *AcceptAddressTransferInput, opts ...request.Option) (*AcceptAddressTransferOutput, error) {
req, out := c.AcceptAddressTransferRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opAcceptReservedInstancesExchangeQuote = "AcceptReservedInstancesExchangeQuote"
// AcceptReservedInstancesExchangeQuoteRequest generates a "aws/request.Request" representing the
@ -15967,6 +16042,138 @@ func (c *EC2) DescribeAccountAttributesWithContext(ctx aws.Context, input *Descr
return out, req.Send()
}
const opDescribeAddressTransfers = "DescribeAddressTransfers"
// DescribeAddressTransfersRequest generates a "aws/request.Request" representing the
// client's request for the DescribeAddressTransfers operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DescribeAddressTransfers for more information on using the DescribeAddressTransfers
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// // Example sending a request using the DescribeAddressTransfersRequest method.
// req, resp := client.DescribeAddressTransfersRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfers
func (c *EC2) DescribeAddressTransfersRequest(input *DescribeAddressTransfersInput) (req *request.Request, output *DescribeAddressTransfersOutput) {
op := &request.Operation{
Name: opDescribeAddressTransfers,
HTTPMethod: "POST",
HTTPPath: "/",
Paginator: &request.Paginator{
InputTokens: []string{"NextToken"},
OutputTokens: []string{"NextToken"},
LimitToken: "MaxResults",
TruncationToken: "",
},
}
if input == nil {
input = &DescribeAddressTransfersInput{}
}
output = &DescribeAddressTransfersOutput{}
req = c.newRequest(op, input, output)
return
}
// DescribeAddressTransfers API operation for Amazon Elastic Compute Cloud.
//
// Describes an Elastic IP address transfer. For more information, see Transfer
// Elastic IP addresses (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro)
// in the Amazon Virtual Private Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation DescribeAddressTransfers for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressTransfers
func (c *EC2) DescribeAddressTransfers(input *DescribeAddressTransfersInput) (*DescribeAddressTransfersOutput, error) {
req, out := c.DescribeAddressTransfersRequest(input)
return out, req.Send()
}
// DescribeAddressTransfersWithContext is the same as DescribeAddressTransfers with the addition of
// the ability to pass a context and additional request options.
//
// See DescribeAddressTransfers for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) DescribeAddressTransfersWithContext(ctx aws.Context, input *DescribeAddressTransfersInput, opts ...request.Option) (*DescribeAddressTransfersOutput, error) {
req, out := c.DescribeAddressTransfersRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
// DescribeAddressTransfersPages iterates over the pages of a DescribeAddressTransfers operation,
// calling the "fn" function with the response data for each page. To stop
// iterating, return false from the fn function.
//
// See DescribeAddressTransfers method for more information on how to use this operation.
//
// Note: This operation can generate multiple requests to a service.
//
// // Example iterating over at most 3 pages of a DescribeAddressTransfers operation.
// pageNum := 0
// err := client.DescribeAddressTransfersPages(params,
// func(page *ec2.DescribeAddressTransfersOutput, lastPage bool) bool {
// pageNum++
// fmt.Println(page)
// return pageNum <= 3
// })
func (c *EC2) DescribeAddressTransfersPages(input *DescribeAddressTransfersInput, fn func(*DescribeAddressTransfersOutput, bool) bool) error {
return c.DescribeAddressTransfersPagesWithContext(aws.BackgroundContext(), input, fn)
}
// DescribeAddressTransfersPagesWithContext same as DescribeAddressTransfersPages except
// it takes a Context and allows setting request options on the pages.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) DescribeAddressTransfersPagesWithContext(ctx aws.Context, input *DescribeAddressTransfersInput, fn func(*DescribeAddressTransfersOutput, bool) bool, opts ...request.Option) error {
p := request.Pagination{
NewRequest: func() (*request.Request, error) {
var inCpy *DescribeAddressTransfersInput
if input != nil {
tmp := *input
inCpy = &tmp
}
req, _ := c.DescribeAddressTransfersRequest(inCpy)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return req, nil
},
}
for p.Next() {
if !fn(p.Page().(*DescribeAddressTransfersOutput), !p.HasNextPage()) {
break
}
}
return p.Err()
}
const opDescribeAddresses = "DescribeAddresses"
// DescribeAddressesRequest generates a "aws/request.Request" representing the
@ -32401,6 +32608,81 @@ func (c *EC2) DetachVpnGatewayWithContext(ctx aws.Context, input *DetachVpnGatew
return out, req.Send()
}
const opDisableAddressTransfer = "DisableAddressTransfer"
// DisableAddressTransferRequest generates a "aws/request.Request" representing the
// client's request for the DisableAddressTransfer operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See DisableAddressTransfer for more information on using the DisableAddressTransfer
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// // Example sending a request using the DisableAddressTransferRequest method.
// req, resp := client.DisableAddressTransferRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransfer
func (c *EC2) DisableAddressTransferRequest(input *DisableAddressTransferInput) (req *request.Request, output *DisableAddressTransferOutput) {
op := &request.Operation{
Name: opDisableAddressTransfer,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &DisableAddressTransferInput{}
}
output = &DisableAddressTransferOutput{}
req = c.newRequest(op, input, output)
return
}
// DisableAddressTransfer API operation for Amazon Elastic Compute Cloud.
//
// Disables Elastic IP address transfer. For more information, see Transfer
// Elastic IP addresses (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro)
// in the Amazon Virtual Private Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation DisableAddressTransfer for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableAddressTransfer
func (c *EC2) DisableAddressTransfer(input *DisableAddressTransferInput) (*DisableAddressTransferOutput, error) {
req, out := c.DisableAddressTransferRequest(input)
return out, req.Send()
}
// DisableAddressTransferWithContext is the same as DisableAddressTransfer with the addition of
// the ability to pass a context and additional request options.
//
// See DisableAddressTransfer for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) DisableAddressTransferWithContext(ctx aws.Context, input *DisableAddressTransferInput, opts ...request.Option) (*DisableAddressTransferOutput, error) {
req, out := c.DisableAddressTransferRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opDisableEbsEncryptionByDefault = "DisableEbsEncryptionByDefault"
// DisableEbsEncryptionByDefaultRequest generates a "aws/request.Request" representing the
@ -34100,6 +34382,81 @@ func (c *EC2) DisassociateVpcCidrBlockWithContext(ctx aws.Context, input *Disass
return out, req.Send()
}
const opEnableAddressTransfer = "EnableAddressTransfer"
// EnableAddressTransferRequest generates a "aws/request.Request" representing the
// client's request for the EnableAddressTransfer operation. The "output" return
// value will be populated with the request's response once the request completes
// successfully.
//
// Use "Send" method on the returned Request to send the API call to the service.
// the "output" return value is not valid until after Send returns without error.
//
// See EnableAddressTransfer for more information on using the EnableAddressTransfer
// API call, and error handling.
//
// This method is useful when you want to inject custom logic or configuration
// into the SDK's request lifecycle. Such as custom headers, or retry logic.
//
// // Example sending a request using the EnableAddressTransferRequest method.
// req, resp := client.EnableAddressTransferRequest(params)
//
// err := req.Send()
// if err == nil { // resp is now filled
// fmt.Println(resp)
// }
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransfer
func (c *EC2) EnableAddressTransferRequest(input *EnableAddressTransferInput) (req *request.Request, output *EnableAddressTransferOutput) {
op := &request.Operation{
Name: opEnableAddressTransfer,
HTTPMethod: "POST",
HTTPPath: "/",
}
if input == nil {
input = &EnableAddressTransferInput{}
}
output = &EnableAddressTransferOutput{}
req = c.newRequest(op, input, output)
return
}
// EnableAddressTransfer API operation for Amazon Elastic Compute Cloud.
//
// Enables Elastic IP address transfer. For more information, see Transfer Elastic
// IP addresses (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro)
// in the Amazon Virtual Private Cloud User Guide.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon Elastic Compute Cloud's
// API operation EnableAddressTransfer for usage and error information.
// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableAddressTransfer
func (c *EC2) EnableAddressTransfer(input *EnableAddressTransferInput) (*EnableAddressTransferOutput, error) {
req, out := c.EnableAddressTransferRequest(input)
return out, req.Send()
}
// EnableAddressTransferWithContext is the same as EnableAddressTransfer with the addition of
// the ability to pass a context and additional request options.
//
// See EnableAddressTransfer for details on how to use this API operation.
//
// The context must be non-nil and will be used for request cancellation. If
// the context is nil a panic will occur. In the future the SDK may create
// sub-contexts for http.Requests. See https://golang.org/pkg/context/
// for more information on using Contexts.
func (c *EC2) EnableAddressTransferWithContext(ctx aws.Context, input *EnableAddressTransferInput, opts ...request.Option) (*EnableAddressTransferOutput, error) {
req, out := c.EnableAddressTransferRequest(input)
req.SetContext(ctx)
req.ApplyOptions(opts...)
return out, req.Send()
}
const opEnableEbsEncryptionByDefault = "EnableEbsEncryptionByDefault"
// EnableEbsEncryptionByDefaultRequest generates a "aws/request.Request" representing the
@ -50010,6 +50367,108 @@ func (s *AcceleratorTotalMemoryMiBRequest) SetMin(v int64) *AcceleratorTotalMemo
return s
}
type AcceptAddressTransferInput struct {
_ struct{} `type:"structure"`
// The Elastic IP address you are accepting for transfer.
//
// Address is a required field
Address *string `type:"string" required:"true"`
// Checks whether you have the required permissions for the action, without
// actually making the request, and provides an error response. If you have
// the required permissions, the error response is DryRunOperation. Otherwise,
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// tag:<key> - The key/value combination of a tag assigned to the resource.
// Use the tag key in the filter name and the tag value as the filter value.
// For example, to find all resources that have a tag with the key Owner and
// the value TeamA, specify tag:Owner for the filter name and TeamA for the
// filter value.
TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AcceptAddressTransferInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AcceptAddressTransferInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *AcceptAddressTransferInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "AcceptAddressTransferInput"}
if s.Address == nil {
invalidParams.Add(request.NewErrParamRequired("Address"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAddress sets the Address field's value.
func (s *AcceptAddressTransferInput) SetAddress(v string) *AcceptAddressTransferInput {
s.Address = &v
return s
}
// SetDryRun sets the DryRun field's value.
func (s *AcceptAddressTransferInput) SetDryRun(v bool) *AcceptAddressTransferInput {
s.DryRun = &v
return s
}
// SetTagSpecifications sets the TagSpecifications field's value.
func (s *AcceptAddressTransferInput) SetTagSpecifications(v []*TagSpecification) *AcceptAddressTransferInput {
s.TagSpecifications = v
return s
}
type AcceptAddressTransferOutput struct {
_ struct{} `type:"structure"`
// An Elastic IP address transfer.
AddressTransfer *AddressTransfer `locationName:"addressTransfer" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AcceptAddressTransferOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AcceptAddressTransferOutput) GoString() string {
return s.String()
}
// SetAddressTransfer sets the AddressTransfer field's value.
func (s *AcceptAddressTransferOutput) SetAddressTransfer(v *AddressTransfer) *AcceptAddressTransferOutput {
s.AddressTransfer = v
return s
}
// Contains the parameters for accepting the quote.
type AcceptReservedInstancesExchangeQuoteInput struct {
_ struct{} `type:"structure"`
@ -51272,6 +51731,88 @@ func (s *AddressAttribute) SetPublicIp(v string) *AddressAttribute {
return s
}
// Details on the Elastic IP address transfer. For more information, see Transfer
// Elastic IP addresses (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-eips.html#transfer-EIPs-intro)
// in the Amazon Virtual Private Cloud User Guide.
type AddressTransfer struct {
_ struct{} `type:"structure"`
// The Elastic IP address transfer status.
AddressTransferStatus *string `locationName:"addressTransferStatus" type:"string" enum:"AddressTransferStatus"`
// The allocation ID of an Elastic IP address.
AllocationId *string `locationName:"allocationId" type:"string"`
// The Elastic IP address being transferred.
PublicIp *string `locationName:"publicIp" type:"string"`
// The ID of the account that you want to transfer the Elastic IP address to.
TransferAccountId *string `locationName:"transferAccountId" type:"string"`
// The timestamp when the Elastic IP address transfer was accepted.
TransferOfferAcceptedTimestamp *time.Time `locationName:"transferOfferAcceptedTimestamp" type:"timestamp"`
// The timestamp when the Elastic IP address transfer expired. When the source
// account starts the transfer, the transfer account has seven hours to allocate
// the Elastic IP address to complete the transfer, or the Elastic IP address
// will return to its original owner.
TransferOfferExpirationTimestamp *time.Time `locationName:"transferOfferExpirationTimestamp" type:"timestamp"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AddressTransfer) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s AddressTransfer) GoString() string {
return s.String()
}
// SetAddressTransferStatus sets the AddressTransferStatus field's value.
func (s *AddressTransfer) SetAddressTransferStatus(v string) *AddressTransfer {
s.AddressTransferStatus = &v
return s
}
// SetAllocationId sets the AllocationId field's value.
func (s *AddressTransfer) SetAllocationId(v string) *AddressTransfer {
s.AllocationId = &v
return s
}
// SetPublicIp sets the PublicIp field's value.
func (s *AddressTransfer) SetPublicIp(v string) *AddressTransfer {
s.PublicIp = &v
return s
}
// SetTransferAccountId sets the TransferAccountId field's value.
func (s *AddressTransfer) SetTransferAccountId(v string) *AddressTransfer {
s.TransferAccountId = &v
return s
}
// SetTransferOfferAcceptedTimestamp sets the TransferOfferAcceptedTimestamp field's value.
func (s *AddressTransfer) SetTransferOfferAcceptedTimestamp(v time.Time) *AddressTransfer {
s.TransferOfferAcceptedTimestamp = &v
return s
}
// SetTransferOfferExpirationTimestamp sets the TransferOfferExpirationTimestamp field's value.
func (s *AddressTransfer) SetTransferOfferExpirationTimestamp(v time.Time) *AddressTransfer {
s.TransferOfferExpirationTimestamp = &v
return s
}
type AdvertiseByoipCidrInput struct {
_ struct{} `type:"structure"`
@ -80259,6 +80800,122 @@ func (s *DescribeAccountAttributesOutput) SetAccountAttributes(v []*AccountAttri
return s
}
type DescribeAddressTransfersInput struct {
_ struct{} `type:"structure"`
// The allocation IDs of Elastic IP addresses.
AllocationIds []*string `locationName:"AllocationId" locationNameList:"AllocationId" type:"list"`
// Checks whether you have the required permissions for the action, without
// actually making the request, and provides an error response. If you have
// the required permissions, the error response is DryRunOperation. Otherwise,
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The maximum number of address transfers to return in one page of results.
MaxResults *int64 `min:"5" type:"integer"`
// Specify the pagination token from a previous request to retrieve the next
// page of results.
NextToken *string `type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DescribeAddressTransfersInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DescribeAddressTransfersInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DescribeAddressTransfersInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DescribeAddressTransfersInput"}
if s.MaxResults != nil && *s.MaxResults < 5 {
invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAllocationIds sets the AllocationIds field's value.
func (s *DescribeAddressTransfersInput) SetAllocationIds(v []*string) *DescribeAddressTransfersInput {
s.AllocationIds = v
return s
}
// SetDryRun sets the DryRun field's value.
func (s *DescribeAddressTransfersInput) SetDryRun(v bool) *DescribeAddressTransfersInput {
s.DryRun = &v
return s
}
// SetMaxResults sets the MaxResults field's value.
func (s *DescribeAddressTransfersInput) SetMaxResults(v int64) *DescribeAddressTransfersInput {
s.MaxResults = &v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *DescribeAddressTransfersInput) SetNextToken(v string) *DescribeAddressTransfersInput {
s.NextToken = &v
return s
}
type DescribeAddressTransfersOutput struct {
_ struct{} `type:"structure"`
// The Elastic IP address transfer.
AddressTransfers []*AddressTransfer `locationName:"addressTransferSet" locationNameList:"item" type:"list"`
// Specify the pagination token from a previous request to retrieve the next
// page of results.
NextToken *string `locationName:"nextToken" type:"string"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DescribeAddressTransfersOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DescribeAddressTransfersOutput) GoString() string {
return s.String()
}
// SetAddressTransfers sets the AddressTransfers field's value.
func (s *DescribeAddressTransfersOutput) SetAddressTransfers(v []*AddressTransfer) *DescribeAddressTransfersOutput {
s.AddressTransfers = v
return s
}
// SetNextToken sets the NextToken field's value.
func (s *DescribeAddressTransfersOutput) SetNextToken(v string) *DescribeAddressTransfersOutput {
s.NextToken = &v
return s
}
type DescribeAddressesAttributeInput struct {
_ struct{} `type:"structure"`
@ -100325,6 +100982,95 @@ func (s *DirectoryServiceAuthenticationRequest) SetDirectoryId(v string) *Direct
return s
}
type DisableAddressTransferInput struct {
_ struct{} `type:"structure"`
// The allocation ID of an Elastic IP address.
//
// AllocationId is a required field
AllocationId *string `type:"string" required:"true"`
// Checks whether you have the required permissions for the action, without
// actually making the request, and provides an error response. If you have
// the required permissions, the error response is DryRunOperation. Otherwise,
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DisableAddressTransferInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DisableAddressTransferInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *DisableAddressTransferInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "DisableAddressTransferInput"}
if s.AllocationId == nil {
invalidParams.Add(request.NewErrParamRequired("AllocationId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAllocationId sets the AllocationId field's value.
func (s *DisableAddressTransferInput) SetAllocationId(v string) *DisableAddressTransferInput {
s.AllocationId = &v
return s
}
// SetDryRun sets the DryRun field's value.
func (s *DisableAddressTransferInput) SetDryRun(v bool) *DisableAddressTransferInput {
s.DryRun = &v
return s
}
type DisableAddressTransferOutput struct {
_ struct{} `type:"structure"`
// An Elastic IP address transfer.
AddressTransfer *AddressTransfer `locationName:"addressTransfer" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DisableAddressTransferOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s DisableAddressTransferOutput) GoString() string {
return s.String()
}
// SetAddressTransfer sets the AddressTransfer field's value.
func (s *DisableAddressTransferOutput) SetAddressTransfer(v *AddressTransfer) *DisableAddressTransferOutput {
s.AddressTransfer = v
return s
}
type DisableEbsEncryptionByDefaultInput struct {
_ struct{} `type:"structure"`
@ -104001,6 +104747,109 @@ func (s *ElasticInferenceAcceleratorAssociation) SetElasticInferenceAcceleratorA
return s
}
type EnableAddressTransferInput struct {
_ struct{} `type:"structure"`
// The allocation ID of an Elastic IP address.
//
// AllocationId is a required field
AllocationId *string `type:"string" required:"true"`
// Checks whether you have the required permissions for the action, without
// actually making the request, and provides an error response. If you have
// the required permissions, the error response is DryRunOperation. Otherwise,
// it is UnauthorizedOperation.
DryRun *bool `type:"boolean"`
// The ID of the account that you want to transfer the Elastic IP address to.
//
// TransferAccountId is a required field
TransferAccountId *string `type:"string" required:"true"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EnableAddressTransferInput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EnableAddressTransferInput) GoString() string {
return s.String()
}
// Validate inspects the fields of the type to determine if they are valid.
func (s *EnableAddressTransferInput) Validate() error {
invalidParams := request.ErrInvalidParams{Context: "EnableAddressTransferInput"}
if s.AllocationId == nil {
invalidParams.Add(request.NewErrParamRequired("AllocationId"))
}
if s.TransferAccountId == nil {
invalidParams.Add(request.NewErrParamRequired("TransferAccountId"))
}
if invalidParams.Len() > 0 {
return invalidParams
}
return nil
}
// SetAllocationId sets the AllocationId field's value.
func (s *EnableAddressTransferInput) SetAllocationId(v string) *EnableAddressTransferInput {
s.AllocationId = &v
return s
}
// SetDryRun sets the DryRun field's value.
func (s *EnableAddressTransferInput) SetDryRun(v bool) *EnableAddressTransferInput {
s.DryRun = &v
return s
}
// SetTransferAccountId sets the TransferAccountId field's value.
func (s *EnableAddressTransferInput) SetTransferAccountId(v string) *EnableAddressTransferInput {
s.TransferAccountId = &v
return s
}
type EnableAddressTransferOutput struct {
_ struct{} `type:"structure"`
// An Elastic IP address transfer.
AddressTransfer *AddressTransfer `locationName:"addressTransfer" type:"structure"`
}
// String returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EnableAddressTransferOutput) String() string {
return awsutil.Prettify(s)
}
// GoString returns the string representation.
//
// API parameter values that are decorated as "sensitive" in the API will not
// be included in the string output. The member name will be present, but the
// value will be replaced with "sensitive".
func (s EnableAddressTransferOutput) GoString() string {
return s.String()
}
// SetAddressTransfer sets the AddressTransfer field's value.
func (s *EnableAddressTransferOutput) SetAddressTransfer(v *AddressTransfer) *EnableAddressTransferOutput {
s.AddressTransfer = v
return s
}
type EnableEbsEncryptionByDefaultInput struct {
_ struct{} `type:"structure"`
@ -111204,7 +112053,7 @@ type GetIpamResourceCidrsInput struct {
// The ID of the Amazon Web Services account that owns the resource.
ResourceOwner *string `type:"string"`
// A tag on an IPAM resource.
// The resource tag.
ResourceTag *RequestIpamResourceTag `type:"structure"`
// The resource type.
@ -131361,7 +132210,7 @@ func (s *ModifyIpamResourceCidrInput) SetResourceRegion(v string) *ModifyIpamRes
type ModifyIpamResourceCidrOutput struct {
_ struct{} `type:"structure"`
// The CIDR for an IPAM resource.
// The CIDR of the resource.
IpamResourceCidr *IpamResourceCidr `locationName:"ipamResourceCidr" type:"structure"`
}
@ -136215,8 +137064,7 @@ func (s *MoveByoipCidrToIpamInput) SetIpamPoolOwner(v string) *MoveByoipCidrToIp
type MoveByoipCidrToIpamOutput struct {
_ struct{} `type:"structure"`
// Information about an address range that is provisioned for use with your
// Amazon Web Services resources through bring your own IP addresses (BYOIP).
// The BYOIP CIDR.
ByoipCidr *ByoipCidr `locationName:"byoipCidr" type:"structure"`
}
@ -141063,7 +141911,7 @@ func (s *ProvisionPublicIpv4PoolCidrInput) SetPoolId(v string) *ProvisionPublicI
type ProvisionPublicIpv4PoolCidrOutput struct {
_ struct{} `type:"structure"`
// Describes an address range of an IPv4 address pool.
// Information about the address range of the public IPv4 pool.
PoolAddressRange *PublicIpv4PoolRange `locationName:"poolAddressRange" type:"structure"`
// The ID of the pool that you want to provision the CIDR to.
@ -165929,6 +166777,26 @@ func AddressFamily_Values() []string {
}
}
const (
// AddressTransferStatusPending is a AddressTransferStatus enum value
AddressTransferStatusPending = "pending"
// AddressTransferStatusDisabled is a AddressTransferStatus enum value
AddressTransferStatusDisabled = "disabled"
// AddressTransferStatusAccepted is a AddressTransferStatus enum value
AddressTransferStatusAccepted = "accepted"
)
// AddressTransferStatus_Values returns all elements of the AddressTransferStatus enum
func AddressTransferStatus_Values() []string {
return []string{
AddressTransferStatusPending,
AddressTransferStatusDisabled,
AddressTransferStatusAccepted,
}
}
const (
// AffinityDefault is a Affinity enum value
AffinityDefault = "default"

View File

@ -26,7 +26,7 @@ import (
// // myFunc uses an SDK service client to make a request to
// // Amazon Elastic Compute Cloud.
// func myFunc(svc ec2iface.EC2API) bool {
// // Make svc.AcceptReservedInstancesExchangeQuote request
// // Make svc.AcceptAddressTransfer request
// }
//
// func main() {
@ -42,7 +42,7 @@ import (
// type mockEC2Client struct {
// ec2iface.EC2API
// }
// func (m *mockEC2Client) AcceptReservedInstancesExchangeQuote(input *ec2.AcceptReservedInstancesExchangeQuoteInput) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error) {
// func (m *mockEC2Client) AcceptAddressTransfer(input *ec2.AcceptAddressTransferInput) (*ec2.AcceptAddressTransferOutput, error) {
// // mock response/functionality
// }
//
@ -60,6 +60,10 @@ import (
// and waiters. Its suggested to use the pattern above for testing, or using
// tooling to generate mocks to satisfy the interfaces.
type EC2API interface {
AcceptAddressTransfer(*ec2.AcceptAddressTransferInput) (*ec2.AcceptAddressTransferOutput, error)
AcceptAddressTransferWithContext(aws.Context, *ec2.AcceptAddressTransferInput, ...request.Option) (*ec2.AcceptAddressTransferOutput, error)
AcceptAddressTransferRequest(*ec2.AcceptAddressTransferInput) (*request.Request, *ec2.AcceptAddressTransferOutput)
AcceptReservedInstancesExchangeQuote(*ec2.AcceptReservedInstancesExchangeQuoteInput) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error)
AcceptReservedInstancesExchangeQuoteWithContext(aws.Context, *ec2.AcceptReservedInstancesExchangeQuoteInput, ...request.Option) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error)
AcceptReservedInstancesExchangeQuoteRequest(*ec2.AcceptReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.AcceptReservedInstancesExchangeQuoteOutput)
@ -860,6 +864,13 @@ type EC2API interface {
DescribeAccountAttributesWithContext(aws.Context, *ec2.DescribeAccountAttributesInput, ...request.Option) (*ec2.DescribeAccountAttributesOutput, error)
DescribeAccountAttributesRequest(*ec2.DescribeAccountAttributesInput) (*request.Request, *ec2.DescribeAccountAttributesOutput)
DescribeAddressTransfers(*ec2.DescribeAddressTransfersInput) (*ec2.DescribeAddressTransfersOutput, error)
DescribeAddressTransfersWithContext(aws.Context, *ec2.DescribeAddressTransfersInput, ...request.Option) (*ec2.DescribeAddressTransfersOutput, error)
DescribeAddressTransfersRequest(*ec2.DescribeAddressTransfersInput) (*request.Request, *ec2.DescribeAddressTransfersOutput)
DescribeAddressTransfersPages(*ec2.DescribeAddressTransfersInput, func(*ec2.DescribeAddressTransfersOutput, bool) bool) error
DescribeAddressTransfersPagesWithContext(aws.Context, *ec2.DescribeAddressTransfersInput, func(*ec2.DescribeAddressTransfersOutput, bool) bool, ...request.Option) error
DescribeAddresses(*ec2.DescribeAddressesInput) (*ec2.DescribeAddressesOutput, error)
DescribeAddressesWithContext(aws.Context, *ec2.DescribeAddressesInput, ...request.Option) (*ec2.DescribeAddressesOutput, error)
DescribeAddressesRequest(*ec2.DescribeAddressesInput) (*request.Request, *ec2.DescribeAddressesOutput)
@ -1716,6 +1727,10 @@ type EC2API interface {
DetachVpnGatewayWithContext(aws.Context, *ec2.DetachVpnGatewayInput, ...request.Option) (*ec2.DetachVpnGatewayOutput, error)
DetachVpnGatewayRequest(*ec2.DetachVpnGatewayInput) (*request.Request, *ec2.DetachVpnGatewayOutput)
DisableAddressTransfer(*ec2.DisableAddressTransferInput) (*ec2.DisableAddressTransferOutput, error)
DisableAddressTransferWithContext(aws.Context, *ec2.DisableAddressTransferInput, ...request.Option) (*ec2.DisableAddressTransferOutput, error)
DisableAddressTransferRequest(*ec2.DisableAddressTransferInput) (*request.Request, *ec2.DisableAddressTransferOutput)
DisableEbsEncryptionByDefault(*ec2.DisableEbsEncryptionByDefaultInput) (*ec2.DisableEbsEncryptionByDefaultOutput, error)
DisableEbsEncryptionByDefaultWithContext(aws.Context, *ec2.DisableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.DisableEbsEncryptionByDefaultOutput, error)
DisableEbsEncryptionByDefaultRequest(*ec2.DisableEbsEncryptionByDefaultInput) (*request.Request, *ec2.DisableEbsEncryptionByDefaultOutput)
@ -1804,6 +1819,10 @@ type EC2API interface {
DisassociateVpcCidrBlockWithContext(aws.Context, *ec2.DisassociateVpcCidrBlockInput, ...request.Option) (*ec2.DisassociateVpcCidrBlockOutput, error)
DisassociateVpcCidrBlockRequest(*ec2.DisassociateVpcCidrBlockInput) (*request.Request, *ec2.DisassociateVpcCidrBlockOutput)
EnableAddressTransfer(*ec2.EnableAddressTransferInput) (*ec2.EnableAddressTransferOutput, error)
EnableAddressTransferWithContext(aws.Context, *ec2.EnableAddressTransferInput, ...request.Option) (*ec2.EnableAddressTransferOutput, error)
EnableAddressTransferRequest(*ec2.EnableAddressTransferInput) (*request.Request, *ec2.EnableAddressTransferOutput)
EnableEbsEncryptionByDefault(*ec2.EnableEbsEncryptionByDefaultInput) (*ec2.EnableEbsEncryptionByDefaultOutput, error)
EnableEbsEncryptionByDefaultWithContext(aws.Context, *ec2.EnableEbsEncryptionByDefaultInput, ...request.Option) (*ec2.EnableEbsEncryptionByDefaultOutput, error)
EnableEbsEncryptionByDefaultRequest(*ec2.EnableEbsEncryptionByDefaultInput) (*request.Request, *ec2.EnableEbsEncryptionByDefaultOutput)

View File

@ -1,5 +1,16 @@
# Change Log
## [v1.89.0] - 2022-11-02
- #575 - @ghostlandr - apps: add option to get projects data from Apps List endpoint
## [v1.88.0] - 2022-10-31
- #573 - @kamaln7 - apps: add ListBuildpacks, UpgradeBuildpack
- #572 - @ghostlandr - Apps: add project id as a parameter to CreateApp and to the App struct
- #570 - @kraai - Fix copy-and-paste error in comment
- #568 - @StephenVarela - LBAAS-2321 Add project_id to load balancers structs
## [v1.87.0] - 2022-10-12
- #564 - @DWizGuy58 - Add public monitoring alert policies for dbaas

View File

@ -94,6 +94,8 @@ type App struct {
Domains []*AppDomain `json:"domains,omitempty"`
PinnedDeployment *Deployment `json:"pinned_deployment,omitempty"`
BuildConfig *AppBuildConfig `json:"build_config,omitempty"`
// The id of the project for the app. This will be empty if there is a lookup failure.
ProjectID string `json:"project_id,omitempty"`
}
// AppAlertSpec Configuration of an alert for the app or a individual component.
@ -563,6 +565,8 @@ type AppCORSPolicy struct {
// AppCreateRequest struct for AppCreateRequest
type AppCreateRequest struct {
Spec *AppSpec `json:"spec"`
// Optional. The UUID of the project the app should be assigned.
ProjectID string `json:"project_id,omitempty"`
}
// DeployTemplate struct for DeployTemplate
@ -1007,18 +1011,6 @@ type AppTier struct {
BuildSeconds string `json:"build_seconds,omitempty"`
}
// UpgradeBuildpackRequest struct for UpgradeBuildpackRequest
type UpgradeBuildpackRequest struct {
// The ID of the app to upgrade buildpack versions for.
AppID string `json:"app_id,omitempty"`
// The ID of the buildpack to upgrade.
BuildpackID string `json:"buildpack_id,omitempty"`
// The Major Version to upgrade the buildpack to. If omitted, the latest available major version will be used.
MajorVersion int32 `json:"major_version,omitempty"`
// Whether or not to trigger a deployment for the app after upgrading the buildpack.
TriggerDeployment bool `json:"trigger_deployment,omitempty"`
}
// UpgradeBuildpackResponse struct for UpgradeBuildpackResponse
type UpgradeBuildpackResponse struct {
// The components that were affected by the upgrade.

View File

@ -51,6 +51,9 @@ type AppsService interface {
UpdateAlertDestinations(ctx context.Context, appID, alertID string, update *AlertDestinationUpdateRequest) (*AppAlert, *Response, error)
Detect(ctx context.Context, detect *DetectRequest) (*DetectResponse, *Response, error)
ListBuildpacks(ctx context.Context) ([]*Buildpack, *Response, error)
UpgradeBuildpack(ctx context.Context, appID string, opts UpgradeBuildpackOptions) (*UpgradeBuildpackResponse, *Response, error)
}
// AppLogs represent app logs.
@ -75,6 +78,16 @@ type AlertDestinationUpdateRequest struct {
SlackWebhooks []*AppAlertSlackWebhook `json:"slack_webhooks"`
}
// UpgradeBuildpackOptions struct for UpgradeBuildpackOptions
type UpgradeBuildpackOptions struct {
// The ID of the buildpack to upgrade.
BuildpackID string `json:"buildpack_id,omitempty"`
// The Major Version to upgrade the buildpack to. If omitted, the latest available major version will be used.
MajorVersion int32 `json:"major_version,omitempty"`
// Whether or not to trigger a deployment for the app after upgrading the buildpack.
TriggerDeployment bool `json:"trigger_deployment,omitempty"`
}
type appRoot struct {
App *App `json:"app"`
}
@ -123,6 +136,10 @@ type appAlertRoot struct {
Alert *AppAlert `json:"alert"`
}
type buildpacksRoot struct {
Buildpacks []*Buildpack `json:"buildpacks,omitempty"`
}
// AppsServiceOp handles communication with Apps methods of the DigitalOcean API.
type AppsServiceOp struct {
client *Client
@ -444,6 +461,36 @@ func (s *AppsServiceOp) Detect(ctx context.Context, detect *DetectRequest) (*Det
return res, resp, nil
}
// ListBuildpacks lists the available buildpacks on App Platform.
func (s *AppsServiceOp) ListBuildpacks(ctx context.Context) ([]*Buildpack, *Response, error) {
path := fmt.Sprintf("%s/buildpacks", appsBasePath)
req, err := s.client.NewRequest(ctx, http.MethodGet, path, nil)
if err != nil {
return nil, nil, err
}
root := new(buildpacksRoot)
resp, err := s.client.Do(ctx, req, root)
if err != nil {
return nil, resp, err
}
return root.Buildpacks, resp, nil
}
// UpgradeBuildpack upgrades a buildpack for an app.
func (s *AppsServiceOp) UpgradeBuildpack(ctx context.Context, appID string, opts UpgradeBuildpackOptions) (*UpgradeBuildpackResponse, *Response, error) {
path := fmt.Sprintf("%s/%s/upgrade_buildpack", appsBasePath, appID)
req, err := s.client.NewRequest(ctx, http.MethodPost, path, opts)
if err != nil {
return nil, nil, err
}
root := new(UpgradeBuildpackResponse)
resp, err := s.client.Do(ctx, req, root)
if err != nil {
return nil, resp, err
}
return root, resp, nil
}
// AppComponentType is an app component type.
type AppComponentType string

View File

@ -118,6 +118,14 @@ func (a *App) GetPinnedDeployment() *Deployment {
return a.PinnedDeployment
}
// GetProjectID returns the ProjectID field.
func (a *App) GetProjectID() string {
if a == nil {
return ""
}
return a.ProjectID
}
// GetRegion returns the Region field.
func (a *App) GetRegion() *AppRegion {
if a == nil {
@ -398,6 +406,14 @@ func (a *AppCORSPolicy) GetMaxAge() string {
return a.MaxAge
}
// GetProjectID returns the ProjectID field.
func (a *AppCreateRequest) GetProjectID() string {
if a == nil {
return ""
}
return a.ProjectID
}
// GetSpec returns the Spec field.
func (a *AppCreateRequest) GetSpec() *AppSpec {
if a == nil {
@ -2870,38 +2886,6 @@ func (i *ImageSourceSpecDeployOnPush) GetEnabled() bool {
return i.Enabled
}
// GetAppID returns the AppID field.
func (u *UpgradeBuildpackRequest) GetAppID() string {
if u == nil {
return ""
}
return u.AppID
}
// GetBuildpackID returns the BuildpackID field.
func (u *UpgradeBuildpackRequest) GetBuildpackID() string {
if u == nil {
return ""
}
return u.BuildpackID
}
// GetMajorVersion returns the MajorVersion field.
func (u *UpgradeBuildpackRequest) GetMajorVersion() int32 {
if u == nil {
return 0
}
return u.MajorVersion
}
// GetTriggerDeployment returns the TriggerDeployment field.
func (u *UpgradeBuildpackRequest) GetTriggerDeployment() bool {
if u == nil {
return false
}
return u.TriggerDeployment
}
// GetAffectedComponents returns the AffectedComponents field.
func (u *UpgradeBuildpackResponse) GetAffectedComponents() []string {
if u == nil {

View File

@ -293,7 +293,7 @@ func (s *DropletActionsServiceOp) Get(ctx context.Context, dropletID, actionID i
return s.get(ctx, path)
}
// GetByURI gets an action for a particular Droplet by id.
// GetByURI gets an action for a particular Droplet by URI.
func (s *DropletActionsServiceOp) GetByURI(ctx context.Context, rawurl string) (*Action, *Response, error) {
u, err := url.Parse(rawurl)
if err != nil {

View File

@ -21,7 +21,7 @@ import (
)
const (
libraryVersion = "1.87.0"
libraryVersion = "1.89.0"
defaultBaseURL = "https://api.digitalocean.com/"
userAgent = "godo/" + libraryVersion
mediaType = "application/json"
@ -103,6 +103,9 @@ type ListOptions struct {
// For paginated result sets, the number of results to include per page.
PerPage int `url:"per_page,omitempty"`
// Whether App responses should include project_id fields. The field will be empty if false or if omitted. (ListApps)
WithProjects bool `url:"with_projects,omitempty"`
}
// TokenListOptions specifies the optional parameters to various List methods that support token pagination.

View File

@ -51,6 +51,7 @@ type LoadBalancer struct {
VPCUUID string `json:"vpc_uuid,omitempty"`
DisableLetsEncryptDNSRecords *bool `json:"disable_lets_encrypt_dns_records,omitempty"`
ValidateOnly bool `json:"validate_only,omitempty"`
ProjectID string `json:"project_id,omitempty"`
}
// String creates a human-readable description of a LoadBalancer.
@ -81,6 +82,7 @@ func (l LoadBalancer) AsRequest() *LoadBalancerRequest {
VPCUUID: l.VPCUUID,
DisableLetsEncryptDNSRecords: l.DisableLetsEncryptDNSRecords,
ValidateOnly: l.ValidateOnly,
ProjectID: l.ProjectID,
}
if l.DisableLetsEncryptDNSRecords != nil {
@ -165,6 +167,7 @@ type LoadBalancerRequest struct {
VPCUUID string `json:"vpc_uuid,omitempty"`
DisableLetsEncryptDNSRecords *bool `json:"disable_lets_encrypt_dns_records,omitempty"`
ValidateOnly bool `json:"validate_only,omitempty"`
ProjectID string `json:"project_id,omitempty"`
}
// String creates a human-readable description of a LoadBalancerRequest.

19
vendor/github.com/hashicorp/go-plugin/CHANGELOG.md generated vendored Normal file
View File

@ -0,0 +1,19 @@
## v1.4.5
ENHANCEMENTS:
* client: log warning when SecureConfig is nil [[GH-207](https://github.com/hashicorp/go-plugin/pull/207)]
## v1.4.4
ENHANCEMENTS:
* client: increase level of plugin exit logs [[GH-195](https://github.com/hashicorp/go-plugin/pull/195)]
BUG FIXES:
* Bidirectional communication: fix bidirectional communication when AutoMTLS is enabled [[GH-193](https://github.com/hashicorp/go-plugin/pull/193)]
* RPC: Trim a spurious log message for plugins using RPC [[GH-186](https://github.com/hashicorp/go-plugin/pull/186)]

View File

@ -3,8 +3,9 @@
`go-plugin` is a Go (golang) plugin system over RPC. It is the plugin system
that has been in use by HashiCorp tooling for over 4 years. While initially
created for [Packer](https://www.packer.io), it is additionally in use by
[Terraform](https://www.terraform.io), [Nomad](https://www.nomadproject.io), and
[Vault](https://www.vaultproject.io).
[Terraform](https://www.terraform.io), [Nomad](https://www.nomadproject.io),
[Vault](https://www.vaultproject.io), and
[Boundary](https://www.boundaryproject.io).
While the plugin system is over RPC, it is currently only designed to work
over a local [reliable] network. Plugins over a real network are not supported

View File

@ -547,7 +547,9 @@ func (c *Client) Start() (addr net.Addr, err error) {
return nil, err
}
if c.config.SecureConfig != nil {
if c.config.SecureConfig == nil {
c.logger.Warn("plugin configured with a nil SecureConfig")
} else {
if ok, err := c.config.SecureConfig.Check(cmd.Path); err != nil {
return nil, fmt.Errorf("error verifying checksum: %s", err)
} else if !ok {
@ -574,6 +576,8 @@ func (c *Client) Start() (addr net.Addr, err error) {
c.config.TLSConfig = &tls.Config{
Certificates: []tls.Certificate{cert},
ClientAuth: tls.RequireAndVerifyClientCert,
MinVersion: tls.VersionTLS12,
ServerName: "localhost",
}
}
@ -629,17 +633,19 @@ func (c *Client) Start() (addr net.Addr, err error) {
// Wait for the command to end.
err := cmd.Wait()
debugMsgArgs := []interface{}{
msgArgs := []interface{}{
"path", path,
"pid", pid,
}
if err != nil {
debugMsgArgs = append(debugMsgArgs,
msgArgs = append(msgArgs,
[]interface{}{"error", err.Error()}...)
c.logger.Error("plugin process exited", msgArgs...)
} else {
// Log and make sure to flush the logs right away
c.logger.Info("plugin process exited", msgArgs...)
}
// Log and make sure to flush the logs write away
c.logger.Debug("plugin process exited", debugMsgArgs...)
os.Stderr.Sync()
// Set that we exited, which takes a lock
@ -774,7 +780,7 @@ func (c *Client) Start() (addr net.Addr, err error) {
}
// loadServerCert is used by AutoMTLS to read an x.509 cert returned by the
// server, and load it as the RootCA for the client TLSConfig.
// server, and load it as the RootCA and ClientCA for the client TLSConfig.
func (c *Client) loadServerCert(cert string) error {
certPool := x509.NewCertPool()
@ -791,6 +797,7 @@ func (c *Client) loadServerCert(cert string) error {
certPool.AddCert(x509Cert)
c.config.TLSConfig.RootCAs = certPool
c.config.TLSConfig.ClientCAs = certPool
return nil
}

View File

@ -1,3 +1,4 @@
//go:build !windows
// +build !windows
package plugin

View File

@ -45,7 +45,11 @@ func (s *RPCServer) Serve(lis net.Listener) {
for {
conn, err := lis.Accept()
if err != nil {
log.Printf("[ERR] plugin: plugin server: %s", err)
severity := "ERR"
if errors.Is(err, net.ErrClosed) {
severity = "DEBUG"
}
log.Printf("[%s] plugin: plugin server: %s", severity, err)
return
}

View File

@ -304,13 +304,13 @@ func Serve(opts *ServeConfig) {
certPEM, keyPEM, err := generateCert()
if err != nil {
logger.Error("failed to generate client certificate", "error", err)
logger.Error("failed to generate server certificate", "error", err)
panic(err)
}
cert, err := tls.X509KeyPair(certPEM, keyPEM)
if err != nil {
logger.Error("failed to parse client certificate", "error", err)
logger.Error("failed to parse server certificate", "error", err)
panic(err)
}
@ -319,6 +319,8 @@ func Serve(opts *ServeConfig) {
ClientAuth: tls.RequireAndVerifyClientCert,
ClientCAs: clientCertPool,
MinVersion: tls.VersionTLS12,
RootCAs: clientCertPool,
ServerName: "localhost",
}
// We send back the raw leaf cert data for the client rather than the

View File

@ -1,3 +1,5 @@
Copyright (c) 2015 HashiCorp, Inc.
Mozilla Public License, version 2.0
1. Definitions

View File

@ -65,23 +65,7 @@ func (c *Logical) ReadWithDataWithContext(ctx context.Context, path string, data
ctx, cancelFunc := c.c.withConfiguredTimeout(ctx)
defer cancelFunc()
r := c.c.NewRequest(http.MethodGet, "/v1/"+path)
var values url.Values
for k, v := range data {
if values == nil {
values = make(url.Values)
}
for _, val := range v {
values.Add(k, val)
}
}
if values != nil {
r.Params = values
}
resp, err := c.c.rawRequestWithContext(ctx, r)
resp, err := c.readRawWithDataWithContext(ctx, path, data)
if resp != nil {
defer resp.Body.Close()
}
@ -106,6 +90,41 @@ func (c *Logical) ReadWithDataWithContext(ctx context.Context, path string, data
return ParseSecret(resp.Body)
}
func (c *Logical) ReadRaw(path string) (*Response, error) {
return c.ReadRawWithData(path, nil)
}
func (c *Logical) ReadRawWithData(path string, data map[string][]string) (*Response, error) {
return c.ReadRawWithDataWithContext(context.Background(), path, data)
}
func (c *Logical) ReadRawWithDataWithContext(ctx context.Context, path string, data map[string][]string) (*Response, error) {
ctx, cancelFunc := c.c.withConfiguredTimeout(ctx)
defer cancelFunc()
return c.readRawWithDataWithContext(ctx, path, data)
}
func (c *Logical) readRawWithDataWithContext(ctx context.Context, path string, data map[string][]string) (*Response, error) {
r := c.c.NewRequest(http.MethodGet, "/v1/"+path)
var values url.Values
for k, v := range data {
if values == nil {
values = make(url.Values)
}
for _, val := range v {
values.Add(k, val)
}
}
if values != nil {
r.Params = values
}
return c.c.RawRequestWithContext(ctx, r)
}
func (c *Logical) List(path string) (*Secret, error) {
return c.ListWithContext(context.Background(), path)
}

View File

@ -140,12 +140,13 @@ func (c *counter) get() float64 {
}
func (c *counter) Write(out *dto.Metric) error {
val := c.get()
// Read the Exemplar first and the value second. This is to avoid a race condition
// where users see an exemplar for a not-yet-existing observation.
var exemplar *dto.Exemplar
if e := c.exemplar.Load(); e != nil {
exemplar = e.(*dto.Exemplar)
}
val := c.get()
return populateMetric(CounterValue, val, c.labelPairs, exemplar, out)
}

View File

@ -613,7 +613,7 @@ func (h *constHistogram) Write(out *dto.Metric) error {
// to send it to Prometheus in the Collect method.
//
// buckets is a map of upper bounds to cumulative counts, excluding the +Inf
// bucket.
// bucket. The +Inf bucket is implicit, and its value is equal to the provided count.
//
// NewConstHistogram returns an error if the length of labelValues is not
// consistent with the variable labels in Desc or if Desc is invalid.

View File

@ -187,7 +187,7 @@ func (m *withExemplarsMetric) Write(pb *dto.Metric) error {
} else {
// The +Inf bucket should be explicitly added if there is an exemplar for it, similar to non-const histogram logic in https://github.com/prometheus/client_golang/blob/main/prometheus/histogram.go#L357-L365.
b := &dto.Bucket{
CumulativeCount: proto.Uint64(pb.Histogram.Bucket[len(pb.Histogram.GetBucket())-1].GetCumulativeCount()),
CumulativeCount: proto.Uint64(pb.Histogram.GetSampleCount()),
UpperBound: proto.Float64(math.Inf(1)),
Exemplar: e,
}

View File

@ -78,7 +78,6 @@ func InstrumentRoundTripperCounter(counter *prometheus.CounterVec, next http.Rou
1,
rtOpts.getExemplarFn(r.Context()),
)
counter.With(labels(code, method, r.Method, resp.StatusCode, rtOpts.extraMethods...)).Inc()
}
return resp, err
}

View File

@ -237,6 +237,7 @@ type UpdateLaunchSpecOutput struct {
type DeleteLaunchSpecInput struct {
LaunchSpecID *string `json:"launchSpecId,omitempty"`
ForceDelete *bool `json:"-"`
DeleteNodes *bool `json:"-"`
}
type DeleteLaunchSpecOutput struct{}
@ -398,6 +399,9 @@ func (s *ServiceOp) DeleteLaunchSpec(ctx context.Context, input *DeleteLaunchSpe
if input.ForceDelete != nil {
r.Params.Set("forceDelete", strconv.FormatBool(spotinst.BoolValue(input.ForceDelete)))
}
if input.DeleteNodes != nil {
r.Params.Set("deleteNodes", strconv.FormatBool(spotinst.BoolValue(input.DeleteNodes)))
}
resp, err := client.RequireOK(s.Client.Do(ctx, r))
if err != nil {

View File

@ -470,6 +470,13 @@ func (o *ECSLaunchSpec) SetScheduling(v *ECSLaunchSpecScheduling) *ECSLaunchSpec
return o
}
func (o *ECSLaunchSpec) SetStrategy(v *ECSLaunchSpecStrategy) *ECSLaunchSpec {
if o.Strategy = v; o.Strategy == nil {
o.nullFields = append(o.nullFields, "ECSLaunchSpecStrategy")
}
return o
}
// endregion
// region Attributes

View File

@ -1,7 +1,7 @@
package spotinst
// SDKVersion is the current version of the SDK.
const SDKVersion = "1.130.0"
const SDKVersion = "1.131.1"
// SDKName is the name of the SDK.
const SDKName = "spotinst-sdk-go"

View File

@ -40082,7 +40082,7 @@
}
}
},
"revision": "20221011",
"revision": "20221018",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@ -45054,7 +45054,7 @@
"type": "array"
},
"allowOriginRegexes": {
"description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"items": {
"type": "string"
},
@ -50613,7 +50613,7 @@
"description": "The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL."
},
"regexMatch": {
"description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"type": "string"
},
"suffixMatch": {
@ -50850,7 +50850,7 @@
"type": "boolean"
},
"regexMatch": {
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ",
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ",
"type": "string"
}
},
@ -51064,7 +51064,7 @@
"type": "array"
},
"regexMatch": {
"description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"type": "string"
}
},
@ -58619,6 +58619,13 @@
"$ref": "LocationPolicyLocationConstraints",
"description": "Constraints that the caller requires on the result distribution in this zone."
},
"names": {
"description": "Names of resources to be put in the location. Must contain unique, correct resource names. If used, targetShape must be left unset.",
"items": {
"type": "string"
},
"type": "array"
},
"preference": {
"description": "Preference for a given location. Set to either ALLOW or DENY.",
"enum": [
@ -66857,10 +66864,6 @@
"$ref": "QueuingPolicy",
"description": "Queuing parameters for the requested capacity."
},
"region": {
"description": "[Output Only] URL of the region where the resource resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
"type": "string"
},
"selfLink": {
"description": "[Output only] Server-defined URL for the resource.",
"type": "string"
@ -81579,7 +81582,7 @@
"type": "string"
},
"stackType": {
"description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used.",
"description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.",
"enum": [
"IPV4_IPV6",
"IPV4_ONLY"
@ -82132,7 +82135,7 @@
"type": "string"
},
"peerExternalGatewayInterface": {
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created.",
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.",
"format": "int32",
"type": "integer"
},
@ -82214,7 +82217,7 @@
"type": "string"
},
"vpnGatewayInterface": {
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated.",
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.",
"format": "int32",
"type": "integer"
}

View File

@ -9211,7 +9211,9 @@ type CorsPolicy struct {
// AllowOriginRegexes: Specifies a regular expression that matches
// allowed origins. For more information about the regular expression
// syntax, see Syntax. An origin is allowed if it matches either an item
// in allowOrigins or an item in allowOriginRegexes.
// in allowOrigins or an item in allowOriginRegexes. Regular expressions
// can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
AllowOriginRegexes []string `json:"allowOriginRegexes,omitempty"`
// AllowOrigins: Specifies the list of origins that is allowed to do
@ -18269,8 +18271,8 @@ type HttpHeaderMatch struct {
// in the HTTP request, use a headerMatch with headerName set to PORT
// and a regular expression that satisfies the RFC2616 Host header's
// port specifier. Only one of exactMatch, prefixMatch, suffixMatch,
// regexMatch, presentMatch or rangeMatch must be set. regexMatch only
// applies to load balancers that have loadBalancingScheme set to
// regexMatch, presentMatch or rangeMatch must be set. Regular
// expressions can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
@ -18649,8 +18651,8 @@ type HttpQueryParameterMatch struct {
// RegexMatch: The queryParameterMatch matches if the value of the
// parameter matches the regular expression specified by regexMatch. For
// more information about regular expression syntax, see Syntax. Only
// one of presentMatch, exactMatch, or regexMatch must be set.
// regexMatch only applies when the loadBalancingScheme is set to
// one of presentMatch, exactMatch, or regexMatch must be set. Regular
// expressions can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
@ -19127,8 +19129,8 @@ type HttpRouteRuleMatch struct {
// after removing any query parameters and anchor supplied with the
// original URL. For more information about regular expression syntax,
// see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must
// be specified. regexMatch only applies to load balancers that have
// loadBalancingScheme set to INTERNAL_SELF_MANAGED.
// be specified. Regular expressions can only be used when the
// loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
// ForceSendFields is a list of field names (e.g. "FullPathMatch") to
@ -31009,6 +31011,11 @@ type LocationPolicyLocation struct {
// distribution in this zone.
Constraints *LocationPolicyLocationConstraints `json:"constraints,omitempty"`
// Names: Names of resources to be put in the location. Must contain
// unique, correct resource names. If used, targetShape must be left
// unset.
Names []string `json:"names,omitempty"`
// Preference: Preference for a given location. Set to either ALLOW or
// DENY.
//
@ -43813,12 +43820,6 @@ type QueuedResource struct {
// QueuingPolicy: Queuing parameters for the requested capacity.
QueuingPolicy *QueuingPolicy `json:"queuingPolicy,omitempty"`
// Region: [Output Only] URL of the region where the resource resides.
// Only applicable for regional resources. You must specify this field
// as part of the HTTP request URL. It is not settable as a field in the
// request body.
Region string `json:"region,omitempty"`
// SelfLink: [Output only] Server-defined URL for the resource.
SelfLink string `json:"selfLink,omitempty"`
@ -66738,7 +66739,8 @@ type VpnGateway struct {
SelfLink string `json:"selfLink,omitempty"`
// StackType: The stack type for this VPN gateway to identify the IP
// protocols that are enabled. If not specified, IPV4_ONLY will be used.
// protocols that are enabled. Possible values are: IPV4_ONLY,
// IPV4_IPV6. If not specified, IPV4_ONLY will be used.
//
// Possible values:
// "IPV4_IPV6" - Enable VPN gateway with both IPv4 and IPv6 protocols.
@ -67635,7 +67637,9 @@ type VpnTunnel struct {
// PeerExternalGatewayInterface: The interface ID of the external VPN
// gateway to which this VPN tunnel is connected. Provided by the client
// when the VPN tunnel is created.
// when the VPN tunnel is created. Possible values are: `0`, `1`, `2`,
// `3`. The number of IDs in use depends on the external VPN gateway
// redundancy type.
PeerExternalGatewayInterface int64 `json:"peerExternalGatewayInterface,omitempty"`
// PeerGcpGateway: URL of the peer side HA GCP VPN gateway to which this
@ -67732,7 +67736,7 @@ type VpnTunnel struct {
VpnGateway string `json:"vpnGateway,omitempty"`
// VpnGatewayInterface: The interface ID of the VPN gateway with which
// this VPN tunnel is associated.
// this VPN tunnel is associated. Possible values are: `0`, `1`.
VpnGatewayInterface int64 `json:"vpnGatewayInterface,omitempty"`
// ServerResponse contains the HTTP response code and headers from the

View File

@ -35512,7 +35512,7 @@
}
}
},
"revision": "20221011",
"revision": "20221018",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@ -40102,7 +40102,7 @@
"type": "array"
},
"allowOriginRegexes": {
"description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"items": {
"type": "string"
},
@ -44569,7 +44569,7 @@
"description": "The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL."
},
"regexMatch": {
"description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"type": "string"
},
"suffixMatch": {
@ -44802,7 +44802,7 @@
"type": "boolean"
},
"regexMatch": {
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ",
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ",
"type": "string"
}
},
@ -45008,7 +45008,7 @@
"type": "array"
},
"regexMatch": {
"description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"type": "string"
}
},
@ -71086,7 +71086,7 @@
"type": "string"
},
"stackType": {
"description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used.",
"description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.",
"enum": [
"IPV4_IPV6",
"IPV4_ONLY"
@ -71639,7 +71639,7 @@
"type": "string"
},
"peerExternalGatewayInterface": {
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created.",
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.",
"format": "int32",
"type": "integer"
},
@ -71721,7 +71721,7 @@
"type": "string"
},
"vpnGatewayInterface": {
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated.",
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.",
"format": "int32",
"type": "integer"
}

View File

@ -8566,7 +8566,9 @@ type CorsPolicy struct {
// AllowOriginRegexes: Specifies a regular expression that matches
// allowed origins. For more information about the regular expression
// syntax, see Syntax. An origin is allowed if it matches either an item
// in allowOrigins or an item in allowOriginRegexes.
// in allowOrigins or an item in allowOriginRegexes. Regular expressions
// can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
AllowOriginRegexes []string `json:"allowOriginRegexes,omitempty"`
// AllowOrigins: Specifies the list of origins that is allowed to do
@ -15830,8 +15832,8 @@ type HttpHeaderMatch struct {
// in the HTTP request, use a headerMatch with headerName set to PORT
// and a regular expression that satisfies the RFC2616 Host header's
// port specifier. Only one of exactMatch, prefixMatch, suffixMatch,
// regexMatch, presentMatch or rangeMatch must be set. regexMatch only
// applies to load balancers that have loadBalancingScheme set to
// regexMatch, presentMatch or rangeMatch must be set. Regular
// expressions can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
@ -16206,8 +16208,8 @@ type HttpQueryParameterMatch struct {
// RegexMatch: The queryParameterMatch matches if the value of the
// parameter matches the regular expression specified by regexMatch. For
// more information about regular expression syntax, see Syntax. Only
// one of presentMatch, exactMatch, or regexMatch must be set.
// regexMatch only applies when the loadBalancingScheme is set to
// one of presentMatch, exactMatch, or regexMatch must be set. Regular
// expressions can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
@ -16643,8 +16645,8 @@ type HttpRouteRuleMatch struct {
// after removing any query parameters and anchor supplied with the
// original URL. For more information about regular expression syntax,
// see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must
// be specified. regexMatch only applies to load balancers that have
// loadBalancingScheme set to INTERNAL_SELF_MANAGED.
// be specified. Regular expressions can only be used when the
// loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
// ForceSendFields is a list of field names (e.g. "FullPathMatch") to
@ -57397,7 +57399,8 @@ type VpnGateway struct {
SelfLink string `json:"selfLink,omitempty"`
// StackType: The stack type for this VPN gateway to identify the IP
// protocols that are enabled. If not specified, IPV4_ONLY will be used.
// protocols that are enabled. Possible values are: IPV4_ONLY,
// IPV4_IPV6. If not specified, IPV4_ONLY will be used.
//
// Possible values:
// "IPV4_IPV6" - Enable VPN gateway with both IPv4 and IPv6 protocols.
@ -58294,7 +58297,9 @@ type VpnTunnel struct {
// PeerExternalGatewayInterface: The interface ID of the external VPN
// gateway to which this VPN tunnel is connected. Provided by the client
// when the VPN tunnel is created.
// when the VPN tunnel is created. Possible values are: `0`, `1`, `2`,
// `3`. The number of IDs in use depends on the external VPN gateway
// redundancy type.
PeerExternalGatewayInterface int64 `json:"peerExternalGatewayInterface,omitempty"`
// PeerGcpGateway: URL of the peer side HA GCP VPN gateway to which this
@ -58391,7 +58396,7 @@ type VpnTunnel struct {
VpnGateway string `json:"vpnGateway,omitempty"`
// VpnGatewayInterface: The interface ID of the VPN gateway with which
// this VPN tunnel is associated.
// this VPN tunnel is associated. Possible values are: `0`, `1`.
VpnGatewayInterface int64 `json:"vpnGatewayInterface,omitempty"`
// ServerResponse contains the HTTP response code and headers from the

View File

@ -32223,7 +32223,7 @@
}
}
},
"revision": "20221011",
"revision": "20221018",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@ -36720,7 +36720,7 @@
"type": "array"
},
"allowOriginRegexes": {
"description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.",
"description": "Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"items": {
"type": "string"
},
@ -41037,7 +41037,7 @@
"description": "The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL."
},
"regexMatch": {
"description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"description": "The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"type": "string"
},
"suffixMatch": {
@ -41270,7 +41270,7 @@
"type": "boolean"
},
"regexMatch": {
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ",
"description": "The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. ",
"type": "string"
}
},
@ -41462,7 +41462,7 @@
"type": "array"
},
"regexMatch": {
"description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.",
"description": "For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.",
"type": "string"
}
},
@ -66250,7 +66250,7 @@
"type": "string"
},
"stackType": {
"description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used.",
"description": "The stack type for this VPN gateway to identify the IP protocols that are enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified, IPV4_ONLY will be used.",
"enum": [
"IPV4_IPV6",
"IPV4_ONLY"
@ -66791,7 +66791,7 @@
"type": "string"
},
"peerExternalGatewayInterface": {
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created.",
"description": "The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. Possible values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the external VPN gateway redundancy type.",
"format": "int32",
"type": "integer"
},
@ -66873,7 +66873,7 @@
"type": "string"
},
"vpnGatewayInterface": {
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated.",
"description": "The interface ID of the VPN gateway with which this VPN tunnel is associated. Possible values are: `0`, `1`.",
"format": "int32",
"type": "integer"
}

View File

@ -8396,7 +8396,9 @@ type CorsPolicy struct {
// AllowOriginRegexes: Specifies a regular expression that matches
// allowed origins. For more information about the regular expression
// syntax, see Syntax. An origin is allowed if it matches either an item
// in allowOrigins or an item in allowOriginRegexes.
// in allowOrigins or an item in allowOriginRegexes. Regular expressions
// can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
AllowOriginRegexes []string `json:"allowOriginRegexes,omitempty"`
// AllowOrigins: Specifies the list of origins that is allowed to do
@ -15482,8 +15484,8 @@ type HttpHeaderMatch struct {
// in the HTTP request, use a headerMatch with headerName set to PORT
// and a regular expression that satisfies the RFC2616 Host header's
// port specifier. Only one of exactMatch, prefixMatch, suffixMatch,
// regexMatch, presentMatch or rangeMatch must be set. regexMatch only
// applies to load balancers that have loadBalancingScheme set to
// regexMatch, presentMatch or rangeMatch must be set. Regular
// expressions can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
@ -15858,8 +15860,8 @@ type HttpQueryParameterMatch struct {
// RegexMatch: The queryParameterMatch matches if the value of the
// parameter matches the regular expression specified by regexMatch. For
// more information about regular expression syntax, see Syntax. Only
// one of presentMatch, exactMatch, or regexMatch must be set.
// regexMatch only applies when the loadBalancingScheme is set to
// one of presentMatch, exactMatch, or regexMatch must be set. Regular
// expressions can only be used when the loadBalancingScheme is set to
// INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
@ -16277,8 +16279,8 @@ type HttpRouteRuleMatch struct {
// after removing any query parameters and anchor supplied with the
// original URL. For more information about regular expression syntax,
// see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must
// be specified. regexMatch only applies to load balancers that have
// loadBalancingScheme set to INTERNAL_SELF_MANAGED.
// be specified. Regular expressions can only be used when the
// loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
RegexMatch string `json:"regexMatch,omitempty"`
// ForceSendFields is a list of field names (e.g. "FullPathMatch") to
@ -54919,7 +54921,8 @@ type VpnGateway struct {
SelfLink string `json:"selfLink,omitempty"`
// StackType: The stack type for this VPN gateway to identify the IP
// protocols that are enabled. If not specified, IPV4_ONLY will be used.
// protocols that are enabled. Possible values are: IPV4_ONLY,
// IPV4_IPV6. If not specified, IPV4_ONLY will be used.
//
// Possible values:
// "IPV4_IPV6" - Enable VPN gateway with both IPv4 and IPv6 protocols.
@ -55801,7 +55804,9 @@ type VpnTunnel struct {
// PeerExternalGatewayInterface: The interface ID of the external VPN
// gateway to which this VPN tunnel is connected. Provided by the client
// when the VPN tunnel is created.
// when the VPN tunnel is created. Possible values are: `0`, `1`, `2`,
// `3`. The number of IDs in use depends on the external VPN gateway
// redundancy type.
PeerExternalGatewayInterface int64 `json:"peerExternalGatewayInterface,omitempty"`
// PeerGcpGateway: URL of the peer side HA GCP VPN gateway to which this
@ -55898,7 +55903,7 @@ type VpnTunnel struct {
VpnGateway string `json:"vpnGateway,omitempty"`
// VpnGatewayInterface: The interface ID of the VPN gateway with which
// this VPN tunnel is associated.
// this VPN tunnel is associated. Possible values are: `0`, `1`.
VpnGatewayInterface int64 `json:"vpnGatewayInterface,omitempty"`
// ServerResponse contains the HTTP response code and headers from the

View File

@ -2487,7 +2487,7 @@
}
}
},
"revision": "20220923",
"revision": "20221017",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@ -3229,6 +3229,14 @@
"$ref": "DNSConfig",
"description": "DNSConfig contains clusterDNS config for this cluster."
},
"desiredEnablePrivateEndpoint": {
"description": "Enable/Disable private endpoint for the cluster's master.",
"type": "boolean"
},
"desiredGatewayApiConfig": {
"$ref": "GatewayAPIConfig",
"description": "The desired config of Gateway API on this cluster."
},
"desiredGcfsConfig": {
"$ref": "GcfsConfig",
"description": "The desired GCFS config for the cluster"
@ -3633,6 +3641,29 @@
},
"type": "object"
},
"GatewayAPIConfig": {
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster.",
"id": "GatewayAPIConfig",
"properties": {
"channel": {
"description": "The Gateway API release channel to use for Gateway API.",
"enum": [
"CHANNEL_UNSPECIFIED",
"CHANNEL_DISABLED",
"CHANNEL_EXPERIMENTAL",
"CHANNEL_STANDARD"
],
"enumDescriptions": [
"Default value.",
"Gateway API support is disabled",
"Gateway API support is enabled, experimental CRDs are installed",
"Gateway API support is enabled, standard CRDs are installed"
],
"type": "string"
}
},
"type": "object"
},
"GcePersistentDiskCsiDriverConfig": {
"description": "Configuration for the Compute Engine PD CSI driver.",
"id": "GcePersistentDiskCsiDriverConfig",
@ -3980,6 +4011,20 @@
"description": "Parameters that can be configured on Linux nodes.",
"id": "LinuxNodeConfig",
"properties": {
"cgroupMode": {
"description": "cgroup_mode specifies the cgroup mode to be used on the node.",
"enum": [
"CGROUP_MODE_UNSPECIFIED",
"CGROUP_MODE_V1",
"CGROUP_MODE_V2"
],
"enumDescriptions": [
"CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.",
"CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.",
"CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image."
],
"type": "string"
},
"sysctls": {
"additionalProperties": {
"type": "string"
@ -4074,12 +4119,18 @@
"enum": [
"COMPONENT_UNSPECIFIED",
"SYSTEM_COMPONENTS",
"WORKLOADS"
"WORKLOADS",
"APISERVER",
"SCHEDULER",
"CONTROLLER_MANAGER"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"system components",
"workloads"
"workloads",
"kube-apiserver",
"kube-scheduler",
"kube-controller-manager"
],
"type": "string"
},
@ -4234,6 +4285,10 @@
"enabled": {
"description": "Whether or not master authorized networks is enabled.",
"type": "boolean"
},
"gcpPublicCidrsAccessEnabled": {
"description": "Whether master is accessbile via Google Compute Engine Public IP addresses.",
"type": "boolean"
}
},
"type": "object"
@ -4363,6 +4418,10 @@
"description": "Whether L4ILB Subsetting is enabled for this cluster.",
"type": "boolean"
},
"gatewayApiConfig": {
"$ref": "GatewayAPIConfig",
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster."
},
"network": {
"description": "Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network",
"type": "string"
@ -4563,6 +4622,13 @@
"$ref": "ReservationAffinity",
"description": "The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool."
},
"resourceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.",
"type": "object"
},
"sandboxConfig": {
"$ref": "SandboxConfig",
"description": "Sandbox configuration for this node."
@ -4680,6 +4746,10 @@
"description": "Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.",
"type": "boolean"
},
"enablePrivateNodes": {
"description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes",
"type": "boolean"
},
"networkPerformanceConfig": {
"$ref": "NetworkPerformanceConfig",
"description": "Network bandwidth tier configuration."
@ -5136,6 +5206,10 @@
"description": "Output only. The internal IP address of this cluster's master endpoint.",
"type": "string"
},
"privateEndpointSubnetwork": {
"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.",
"type": "string"
},
"publicEndpoint": {
"description": "Output only. The external IP address of this cluster's master endpoint.",
"type": "string"
@ -5279,6 +5353,20 @@
},
"type": "object"
},
"ResourceLabels": {
"description": "Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).",
"id": "ResourceLabels",
"properties": {
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of node label keys and node label values.",
"type": "object"
}
},
"type": "object"
},
"ResourceLimit": {
"description": "Contains information about amount of some resource in the cluster. For memory, value should be in GB.",
"id": "ResourceLimit",
@ -5878,7 +5966,7 @@
"type": "integer"
},
"batchPercentage": {
"description": "Percentage of the bool pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
"description": "Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
"format": "float",
"type": "number"
},
@ -6172,6 +6260,10 @@
"description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"resourceLabels": {
"$ref": "ResourceLabels",
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
},
"tags": {
"$ref": "NetworkTags",
"description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags."

View File

@ -1389,6 +1389,14 @@ type ClusterUpdate struct {
// cluster.
DesiredDnsConfig *DNSConfig `json:"desiredDnsConfig,omitempty"`
// DesiredEnablePrivateEndpoint: Enable/Disable private endpoint for the
// cluster's master.
DesiredEnablePrivateEndpoint bool `json:"desiredEnablePrivateEndpoint,omitempty"`
// DesiredGatewayApiConfig: The desired config of Gateway API on this
// cluster.
DesiredGatewayApiConfig *GatewayAPIConfig `json:"desiredGatewayApiConfig,omitempty"`
// DesiredGcfsConfig: The desired GCFS config for the cluster
DesiredGcfsConfig *GcfsConfig `json:"desiredGcfsConfig,omitempty"`
@ -2097,6 +2105,43 @@ func (s *GPUSharingConfig) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GatewayAPIConfig: GatewayAPIConfig contains the desired config of
// Gateway API on this cluster.
type GatewayAPIConfig struct {
// Channel: The Gateway API release channel to use for Gateway API.
//
// Possible values:
// "CHANNEL_UNSPECIFIED" - Default value.
// "CHANNEL_DISABLED" - Gateway API support is disabled
// "CHANNEL_EXPERIMENTAL" - Gateway API support is enabled,
// experimental CRDs are installed
// "CHANNEL_STANDARD" - Gateway API support is enabled, standard CRDs
// are installed
Channel string `json:"channel,omitempty"`
// ForceSendFields is a list of field names (e.g. "Channel") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Channel") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *GatewayAPIConfig) MarshalJSON() ([]byte, error) {
type NoMethod GatewayAPIConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GcePersistentDiskCsiDriverConfig: Configuration for the Compute
// Engine PD CSI driver.
type GcePersistentDiskCsiDriverConfig struct {
@ -2755,6 +2800,19 @@ func (s *LegacyAbac) MarshalJSON() ([]byte, error) {
// LinuxNodeConfig: Parameters that can be configured on Linux nodes.
type LinuxNodeConfig struct {
// CgroupMode: cgroup_mode specifies the cgroup mode to be used on the
// node.
//
// Possible values:
// "CGROUP_MODE_UNSPECIFIED" - CGROUP_MODE_UNSPECIFIED is when
// unspecified cgroup configuration is used. The default for the GKE
// node OS image will be used.
// "CGROUP_MODE_V1" - CGROUP_MODE_V1 specifies to use cgroupv1 for the
// cgroup configuration on the node image.
// "CGROUP_MODE_V2" - CGROUP_MODE_V2 specifies to use cgroupv2 for the
// cgroup configuration on the node image.
CgroupMode string `json:"cgroupMode,omitempty"`
// Sysctls: The Linux kernel parameters to be applied to the nodes and
// all pods running on the nodes. The following parameters are
// supported. net.core.busy_poll net.core.busy_read
@ -2763,7 +2821,7 @@ type LinuxNodeConfig struct {
// net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
Sysctls map[string]string `json:"sysctls,omitempty"`
// ForceSendFields is a list of field names (e.g. "Sysctls") to
// ForceSendFields is a list of field names (e.g. "CgroupMode") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
@ -2771,7 +2829,7 @@ type LinuxNodeConfig struct {
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Sysctls") to include in
// NullFields is a list of field names (e.g. "CgroupMode") to include in
// API requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
@ -2946,6 +3004,9 @@ type LoggingComponentConfig struct {
// "COMPONENT_UNSPECIFIED" - Default value. This shouldn't be used.
// "SYSTEM_COMPONENTS" - system components
// "WORKLOADS" - workloads
// "APISERVER" - kube-apiserver
// "SCHEDULER" - kube-scheduler
// "CONTROLLER_MANAGER" - kube-controller-manager
EnableComponents []string `json:"enableComponents,omitempty"`
// ForceSendFields is a list of field names (e.g. "EnableComponents") to
@ -3262,6 +3323,10 @@ type MasterAuthorizedNetworksConfig struct {
// Enabled: Whether or not master authorized networks is enabled.
Enabled bool `json:"enabled,omitempty"`
// GcpPublicCidrsAccessEnabled: Whether master is accessbile via Google
// Compute Engine Public IP addresses.
GcpPublicCidrsAccessEnabled bool `json:"gcpPublicCidrsAccessEnabled,omitempty"`
// ForceSendFields is a list of field names (e.g. "CidrBlocks") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
@ -3508,6 +3573,10 @@ type NetworkConfig struct {
// cluster.
EnableL4ilbSubsetting bool `json:"enableL4ilbSubsetting,omitempty"`
// GatewayApiConfig: GatewayAPIConfig contains the desired config of
// Gateway API on this cluster.
GatewayApiConfig *GatewayAPIConfig `json:"gatewayApiConfig,omitempty"`
// Network: Output only. The relative name of the Google Compute Engine
// network(https://cloud.google.com/compute/docs/networks-and-firewalls#n
// etworks) to which the cluster is connected. Example:
@ -3826,6 +3895,10 @@ type NodeConfig struct {
// to this node pool.
ReservationAffinity *ReservationAffinity `json:"reservationAffinity,omitempty"`
// ResourceLabels: The resource labels for the node pool to use to
// annotate any related Google Compute Engine resources.
ResourceLabels map[string]string `json:"resourceLabels,omitempty"`
// SandboxConfig: Sandbox configuration for this node.
SandboxConfig *SandboxConfig `json:"sandboxConfig,omitempty"`
@ -4051,6 +4124,11 @@ type NodeNetworkConfig struct {
// This field cannot be changed after the node pool has been created.
CreatePodRange bool `json:"createPodRange,omitempty"`
// EnablePrivateNodes: Whether nodes have internal IP addresses only. If
// enable_private_nodes is not specified, then the value is derived from
// cluster.privateClusterConfig.enablePrivateNodes
EnablePrivateNodes bool `json:"enablePrivateNodes,omitempty"`
// NetworkPerformanceConfig: Network bandwidth tier configuration.
NetworkPerformanceConfig *NetworkPerformanceConfig `json:"networkPerformanceConfig,omitempty"`
@ -4673,6 +4751,11 @@ type PrivateClusterConfig struct {
// cluster's master endpoint.
PrivateEndpoint string `json:"privateEndpoint,omitempty"`
// PrivateEndpointSubnetwork: Subnet to provision the master's private
// endpoint during cluster creation. Specified in
// projects/*/regions/*/subnetworks/* format.
PrivateEndpointSubnetwork string `json:"privateEndpointSubnetwork,omitempty"`
// PublicEndpoint: Output only. The external IP address of this
// cluster's master endpoint.
PublicEndpoint string `json:"publicEndpoint,omitempty"`
@ -4961,6 +5044,35 @@ func (s *ReservationAffinity) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ResourceLabels: Collection of GCP labels
// (https://cloud.google.com/resource-manager/docs/creating-managing-labels).
type ResourceLabels struct {
// Labels: Map of node label keys and node label values.
Labels map[string]string `json:"labels,omitempty"`
// ForceSendFields is a list of field names (e.g. "Labels") to
// unconditionally include in API requests. By default, fields with
// empty or default values are omitted from API requests. However, any
// non-pointer, non-interface field appearing in ForceSendFields will be
// sent to the server regardless of whether the field is empty or not.
// This may be used to include empty fields in Patch requests.
ForceSendFields []string `json:"-"`
// NullFields is a list of field names (e.g. "Labels") to include in API
// requests with the JSON null value. By default, fields with empty
// values are omitted from API requests. However, any field with an
// empty value appearing in NullFields will be sent to the server as
// null. It is an error if a field in this list has a non-empty value.
// This may be used to include null fields in Patch requests.
NullFields []string `json:"-"`
}
func (s *ResourceLabels) MarshalJSON() ([]byte, error) {
type NoMethod ResourceLabels
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ResourceLimit: Contains information about amount of some resource in
// the cluster. For memory, value should be in GB.
type ResourceLimit struct {
@ -6005,7 +6117,7 @@ type StandardRolloutPolicy struct {
// BatchNodeCount: Number of blue nodes to drain in a batch.
BatchNodeCount int64 `json:"batchNodeCount,omitempty"`
// BatchPercentage: Percentage of the bool pool nodes to drain in a
// BatchPercentage: Percentage of the blue pool nodes to drain in a
// batch. The range of this field should be (0.0, 1.0].
BatchPercentage float64 `json:"batchPercentage,omitempty"`
@ -6526,6 +6638,10 @@ type UpdateNodePoolRequest struct {
// This field has been deprecated and replaced by the name field.
ProjectId string `json:"projectId,omitempty"`
// ResourceLabels: The resource labels for the node pool to use to
// annotate any related Google Compute Engine resources.
ResourceLabels *ResourceLabels `json:"resourceLabels,omitempty"`
// Tags: The desired network tags to be applied to all nodes in the node
// pool. If this field is not present, the tags will not be changed.
// Otherwise, the existing network tags will be *replaced* with the

View File

@ -5,4 +5,4 @@
package internal
// Version is the current tagged release of the library.
const Version = "0.101.0"
const Version = "0.102.0"

View File

@ -53,6 +53,7 @@ func Int(i int) *int {
}
// IntPtr is a function variable referring to Int.
//
// Deprecated: Use Int instead.
var IntPtr = Int // for back-compat
@ -66,6 +67,7 @@ func IntDeref(ptr *int, def int) int {
}
// IntPtrDerefOr is a function variable referring to IntDeref.
//
// Deprecated: Use IntDeref instead.
var IntPtrDerefOr = IntDeref // for back-compat
@ -75,6 +77,7 @@ func Int32(i int32) *int32 {
}
// Int32Ptr is a function variable referring to Int32.
//
// Deprecated: Use Int32 instead.
var Int32Ptr = Int32 // for back-compat
@ -88,6 +91,7 @@ func Int32Deref(ptr *int32, def int32) int32 {
}
// Int32PtrDerefOr is a function variable referring to Int32Deref.
//
// Deprecated: Use Int32Deref instead.
var Int32PtrDerefOr = Int32Deref // for back-compat
@ -109,6 +113,7 @@ func Uint(i uint) *uint {
}
// UintPtr is a function variable referring to Uint.
//
// Deprecated: Use Uint instead.
var UintPtr = Uint // for back-compat
@ -122,6 +127,7 @@ func UintDeref(ptr *uint, def uint) uint {
}
// UintPtrDerefOr is a function variable referring to UintDeref.
//
// Deprecated: Use UintDeref instead.
var UintPtrDerefOr = UintDeref // for back-compat
@ -131,6 +137,7 @@ func Uint32(i uint32) *uint32 {
}
// Uint32Ptr is a function variable referring to Uint32.
//
// Deprecated: Use Uint32 instead.
var Uint32Ptr = Uint32 // for back-compat
@ -144,6 +151,7 @@ func Uint32Deref(ptr *uint32, def uint32) uint32 {
}
// Uint32PtrDerefOr is a function variable referring to Uint32Deref.
//
// Deprecated: Use Uint32Deref instead.
var Uint32PtrDerefOr = Uint32Deref // for back-compat
@ -165,6 +173,7 @@ func Int64(i int64) *int64 {
}
// Int64Ptr is a function variable referring to Int64.
//
// Deprecated: Use Int64 instead.
var Int64Ptr = Int64 // for back-compat
@ -178,6 +187,7 @@ func Int64Deref(ptr *int64, def int64) int64 {
}
// Int64PtrDerefOr is a function variable referring to Int64Deref.
//
// Deprecated: Use Int64Deref instead.
var Int64PtrDerefOr = Int64Deref // for back-compat
@ -199,6 +209,7 @@ func Uint64(i uint64) *uint64 {
}
// Uint64Ptr is a function variable referring to Uint64.
//
// Deprecated: Use Uint64 instead.
var Uint64Ptr = Uint64 // for back-compat
@ -212,6 +223,7 @@ func Uint64Deref(ptr *uint64, def uint64) uint64 {
}
// Uint64PtrDerefOr is a function variable referring to Uint64Deref.
//
// Deprecated: Use Uint64Deref instead.
var Uint64PtrDerefOr = Uint64Deref // for back-compat
@ -233,6 +245,7 @@ func Bool(b bool) *bool {
}
// BoolPtr is a function variable referring to Bool.
//
// Deprecated: Use Bool instead.
var BoolPtr = Bool // for back-compat
@ -246,6 +259,7 @@ func BoolDeref(ptr *bool, def bool) bool {
}
// BoolPtrDerefOr is a function variable referring to BoolDeref.
//
// Deprecated: Use BoolDeref instead.
var BoolPtrDerefOr = BoolDeref // for back-compat
@ -267,6 +281,7 @@ func String(s string) *string {
}
// StringPtr is a function variable referring to String.
//
// Deprecated: Use String instead.
var StringPtr = String // for back-compat
@ -280,6 +295,7 @@ func StringDeref(ptr *string, def string) string {
}
// StringPtrDerefOr is a function variable referring to StringDeref.
//
// Deprecated: Use StringDeref instead.
var StringPtrDerefOr = StringDeref // for back-compat
@ -301,6 +317,7 @@ func Float32(i float32) *float32 {
}
// Float32Ptr is a function variable referring to Float32.
//
// Deprecated: Use Float32 instead.
var Float32Ptr = Float32
@ -314,6 +331,7 @@ func Float32Deref(ptr *float32, def float32) float32 {
}
// Float32PtrDerefOr is a function variable referring to Float32Deref.
//
// Deprecated: Use Float32Deref instead.
var Float32PtrDerefOr = Float32Deref // for back-compat
@ -335,6 +353,7 @@ func Float64(i float64) *float64 {
}
// Float64Ptr is a function variable referring to Float64.
//
// Deprecated: Use Float64 instead.
var Float64Ptr = Float64
@ -348,6 +367,7 @@ func Float64Deref(ptr *float64, def float64) float64 {
}
// Float64PtrDerefOr is a function variable referring to Float64Deref.
//
// Deprecated: Use Float64Deref instead.
var Float64PtrDerefOr = Float64Deref // for back-compat

24
vendor/modules.txt generated vendored
View File

@ -1,7 +1,7 @@
# cloud.google.com/go/compute v1.12.1
## explicit; go 1.19
cloud.google.com/go/compute/internal
# cloud.google.com/go/compute/metadata v0.1.0
# cloud.google.com/go/compute/metadata v0.2.1
## explicit; go 1.19
cloud.google.com/go/compute/metadata
# github.com/Azure/azure-pipeline-go v0.2.3
@ -106,7 +106,7 @@ github.com/aws/amazon-ec2-instance-selector/v2/pkg/instancetypes
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector
github.com/aws/amazon-ec2-instance-selector/v2/pkg/selector/outputs
github.com/aws/amazon-ec2-instance-selector/v2/pkg/sorter
# github.com/aws/aws-sdk-go v1.44.125
# github.com/aws/aws-sdk-go v1.44.130
## explicit; go 1.11
github.com/aws/aws-sdk-go/aws
github.com/aws/aws-sdk-go/aws/arn
@ -259,7 +259,7 @@ github.com/cpuguy83/go-md2man/v2/md2man
# github.com/davecgh/go-spew v1.1.1
## explicit
github.com/davecgh/go-spew/spew
# github.com/digitalocean/godo v1.87.0
# github.com/digitalocean/godo v1.89.0
## explicit; go 1.18
github.com/digitalocean/godo
github.com/digitalocean/godo/metrics
@ -529,8 +529,8 @@ github.com/hashicorp/go-msgpack/codec
# github.com/hashicorp/go-multierror v1.1.1
## explicit; go 1.13
github.com/hashicorp/go-multierror
# github.com/hashicorp/go-plugin v1.4.3
## explicit; go 1.13
# github.com/hashicorp/go-plugin v1.4.5
## explicit; go 1.17
github.com/hashicorp/go-plugin
github.com/hashicorp/go-plugin/internal/plugin
# github.com/hashicorp/go-retryablehttp v0.7.1
@ -582,8 +582,8 @@ github.com/hashicorp/hcl/v2/hclwrite
# github.com/hashicorp/memberlist v0.3.1
## explicit; go 1.12
github.com/hashicorp/memberlist
# github.com/hashicorp/vault/api v1.8.1
## explicit; go 1.17
# github.com/hashicorp/vault/api v1.8.2
## explicit; go 1.19
github.com/hashicorp/vault/api
# github.com/hashicorp/vault/sdk v0.6.0
## explicit; go 1.19
@ -788,7 +788,7 @@ github.com/pkg/sftp/internal/encoding/ssh/filexfer
# github.com/pmezard/go-difflib v1.0.0
## explicit
github.com/pmezard/go-difflib/difflib
# github.com/prometheus/client_golang v1.13.0
# github.com/prometheus/client_golang v1.13.1
## explicit; go 1.17
github.com/prometheus/client_golang/prometheus
github.com/prometheus/client_golang/prometheus/collectors
@ -875,7 +875,7 @@ github.com/spf13/viper/internal/encoding/javaproperties
github.com/spf13/viper/internal/encoding/json
github.com/spf13/viper/internal/encoding/toml
github.com/spf13/viper/internal/encoding/yaml
# github.com/spotinst/spotinst-sdk-go v1.130.0
# github.com/spotinst/spotinst-sdk-go v1.131.1
## explicit; go 1.16
github.com/spotinst/spotinst-sdk-go/service/elastigroup
github.com/spotinst/spotinst-sdk-go/service/elastigroup/providers/aws
@ -1063,7 +1063,7 @@ golang.org/x/tools/internal/typesinternal
# gomodules.xyz/jsonpatch/v2 v2.2.0
## explicit; go 1.12
gomodules.xyz/jsonpatch/v2
# google.golang.org/api v0.101.0
# google.golang.org/api v0.102.0
## explicit; go 1.19
google.golang.org/api/cloudresourcemanager/v1
google.golang.org/api/compute/v0.alpha
@ -1740,7 +1740,7 @@ k8s.io/legacy-cloud-providers/gce
# k8s.io/mount-utils v0.25.3
## explicit; go 1.19
k8s.io/mount-utils
# k8s.io/utils v0.0.0-20221012122500-cfd413dd9e85
# k8s.io/utils v0.0.0-20221101230645-61b03e2f6476
## explicit; go 1.18
k8s.io/utils/buffer
k8s.io/utils/clock
@ -1769,7 +1769,7 @@ oras.land/oras-go/pkg/registry/remote/auth
oras.land/oras-go/pkg/registry/remote/internal/errutil
oras.land/oras-go/pkg/registry/remote/internal/syncutil
oras.land/oras-go/pkg/target
# sigs.k8s.io/controller-runtime v0.13.0
# sigs.k8s.io/controller-runtime v0.13.1
## explicit; go 1.17
sigs.k8s.io/controller-runtime
sigs.k8s.io/controller-runtime/pkg/builder

View File

@ -18,6 +18,7 @@ package manager
import (
"context"
"crypto/tls"
"errors"
"fmt"
"net"
@ -135,6 +136,8 @@ type controllerManager struct {
// if not set, webhook server would look up the server key and certificate in
// {TempDir}/k8s-webhook-server/serving-certs
certDir string
// tlsOpts is used to allow configuring the TLS config used for the webhook server.
tlsOpts []func(*tls.Config)
webhookServer *webhook.Server
// webhookServerOnce will be called in GetWebhookServer() to optionally initialize
@ -305,6 +308,7 @@ func (cm *controllerManager) GetWebhookServer() *webhook.Server {
Port: cm.port,
Host: cm.host,
CertDir: cm.certDir,
TLSOpts: cm.tlsOpts,
}
}
if err := cm.Add(cm.webhookServer); err != nil {

View File

@ -18,6 +18,7 @@ package manager
import (
"context"
"crypto/tls"
"fmt"
"net"
"net/http"
@ -241,6 +242,9 @@ type Options struct {
// It is used to set webhook.Server.CertDir if WebhookServer is not set.
CertDir string
// TLSOpts is used to allow configuring the TLS config used for the webhook server.
TLSOpts []func(*tls.Config)
// WebhookServer is an externally configured webhook.Server. By default,
// a Manager will create a default server using Port, Host, and CertDir;
// if this is set, the Manager will use this server instead.
@ -421,6 +425,7 @@ func New(config *rest.Config, options Options) (Manager, error) {
port: options.Port,
host: options.Host,
certDir: options.CertDir,
tlsOpts: options.TLSOpts,
webhookServer: options.WebhookServer,
leaseDuration: *options.LeaseDuration,
renewDeadline: *options.RenewDeadline,