mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
Merge pull request #6382 from shiftstack/bump_capo
Update OpenStack spec dependencies
This commit is contained in:
@@ -473,7 +473,7 @@ rm -rf ostest/
|
||||
|
||||
### Adding a MachineSet
|
||||
|
||||
Groups of Compute nodes are managed using the [MachineSet][machine-set-code] resource. It is possible to create additional MachineSets post-install, for example to assign workloads to specific machines.
|
||||
Groups of Compute nodes are managed using the MachineSet resource. It is possible to create additional MachineSets post-install, for example to assign workloads to specific machines.
|
||||
|
||||
When running on OpenStack, the MachineSet has platform-specific fields under `spec.template.spec.providerSpec.value`. For more information about the values that you can set in the `providerSpec`, see [the API definition](provider-spec-definition).
|
||||
|
||||
@@ -532,7 +532,7 @@ spec:
|
||||
availabilityZone: <optional_openstack_availability_zone>
|
||||
```
|
||||
|
||||
[provider-spec-definition]: https://github.com/openshift/cluster-api-provider-openstack/blob/155384b859c5b2fb5b7f11c9111d3f8e4f3066bd/pkg/apis/openstackproviderconfig/v1alpha1/types.go#L31
|
||||
[provider-spec-definition]: https://github.com/openshift/api/blob/e2c96618934fe4c8f97c53aebc891eebede4945b/machine/v1alpha1/types_openstack.go#L30
|
||||
|
||||
#### Defining a MachineSet That Uses Multiple Networks
|
||||
|
||||
@@ -566,7 +566,6 @@ property of the MachineSet.
|
||||
|
||||
**NOTE:** Note when deploying with `Kuryr` there is an Octavia API loadbalancer VM that will not fulfill the Availability Zones restrictions due to Octavia lack of support for it. In addition, if Octavia only has the amphora provider instead of also the OVN-Octavia provider, all the OpenShift services will be backed up by Octavia Load Balancer VMs which will not fulfill the Availability Zone restrictions either.
|
||||
|
||||
[machine-set-code]: https://github.com/openshift/cluster-api-provider-openstack/blob/master/pkg/apis/openstackproviderconfig/v1alpha1/types.go
|
||||
[server-group-docs]: https://docs.openstack.org/api-ref/compute/?expanded=create-server-group-detail#create-server-group
|
||||
|
||||
### Using a Custom External Load Balancer
|
||||
|
||||
2
go.mod
2
go.mod
@@ -92,7 +92,6 @@ require (
|
||||
k8s.io/klog v1.0.0
|
||||
k8s.io/klog/v2 v2.70.1
|
||||
k8s.io/utils v0.0.0-20220812165043-ad590609e2e5
|
||||
sigs.k8s.io/cluster-api-provider-openstack v0.0.0
|
||||
sigs.k8s.io/controller-tools v0.9.2
|
||||
sigs.k8s.io/yaml v1.3.0
|
||||
)
|
||||
@@ -232,7 +231,6 @@ replace (
|
||||
sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v0.4.5
|
||||
sigs.k8s.io/cluster-api-provider-aws => github.com/openshift/cluster-api-provider-aws v0.2.1-0.20200929152424-eab2e087f366 // Indirect dependency through MAO from cluster API providers
|
||||
sigs.k8s.io/cluster-api-provider-azure => github.com/openshift/cluster-api-provider-azure v0.1.0-alpha.3.0.20210626224711-5d94c794092f // Indirect dependency through MAO from cluster API providers
|
||||
sigs.k8s.io/cluster-api-provider-openstack => github.com/openshift/cluster-api-provider-openstack v0.0.0-20211111204942-611d320170af
|
||||
)
|
||||
|
||||
// Pin MCO so it doesn't get downgraded
|
||||
|
||||
107
go.sum
107
go.sum
@@ -82,7 +82,6 @@ github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.2/go.mod h1:CdSJQNNzZhCkwDaV
|
||||
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0 h1:Px2UA+2RvSSvv+RvJNuUB6n7rs5Wsel4dXLe90Um2n4=
|
||||
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v0.3.0/go.mod h1:tPaiy8S5bQ+S5sOiDlINkp7+Ef339+Nz5L5XO+cnOHo=
|
||||
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
||||
github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
|
||||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8=
|
||||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
|
||||
github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs=
|
||||
@@ -174,7 +173,6 @@ github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk
|
||||
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
|
||||
github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
|
||||
github.com/ajeddeloh/go-json v0.0.0-20170920214419-6a2fe990e083/go.mod h1:otnto4/Icqn88WCcM4bhIJNSgsh9VLBuspyyCfvof9c=
|
||||
github.com/ajeddeloh/yaml v0.0.0-20170912190910-6b94386aeefd/go.mod h1:idhzw68Q7v4j+rQ2AGyq3OlZW2Jij9mdmGA4/Sk6J0E=
|
||||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
|
||||
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
|
||||
@@ -227,9 +225,7 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
|
||||
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
|
||||
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
|
||||
github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
|
||||
github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
|
||||
github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
||||
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
|
||||
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
|
||||
github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g=
|
||||
github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e h1:hHg27A0RSSp2Om9lubZpiMgVbvn39bsUmW9U5h0twqc=
|
||||
@@ -283,7 +279,6 @@ github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b/go.mod h1:9rfv
|
||||
github.com/containers/ocicrypt v1.0.2/go.mod h1:nsOhbP19flrX6rE7ieGFvBlr7modwmNjsqWarIUce4M=
|
||||
github.com/containers/storage v1.20.2/go.mod h1:oOB9Ie8OVPojvoaKWEGSEtHbXUAs+tSyr7RO7ZGteMc=
|
||||
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
|
||||
github.com/coreos/container-linux-config-transpiler v0.9.0/go.mod h1:SlcxXZQ2c42knj8pezMiQsM1f+ADxFMjGetuMKR/YSQ=
|
||||
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
||||
github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
|
||||
github.com/coreos/fcct v0.5.0/go.mod h1:cbE+j77YSQwFB2fozWVB3qsI2Pi3YiVEbDz/b6Yywdo=
|
||||
@@ -297,13 +292,11 @@ github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7
|
||||
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
|
||||
github.com/coreos/go-systemd v0.0.0-20181031085051-9002847aa142/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
|
||||
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
|
||||
github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
|
||||
github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
|
||||
github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk=
|
||||
github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI=
|
||||
github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
|
||||
github.com/coreos/ign-converter v0.0.0-20200629171308-e40a44f244c5/go.mod h1:LNu0WTt8iVH/WJH15R/SjZw7AdyY2qAyf9ILZTCBvho=
|
||||
github.com/coreos/ignition v0.33.0/go.mod h1:WJQapxzEn9DE0ryxsGvm8QnBajm/XsS/PkrDqSpz+bA=
|
||||
github.com/coreos/ignition v0.35.0/go.mod h1:WJQapxzEn9DE0ryxsGvm8QnBajm/XsS/PkrDqSpz+bA=
|
||||
github.com/coreos/ignition/v2 v2.1.1/go.mod h1:RqmqU64zxarUJa3l4cHtbhcSwfQLpUhv0WVziZwoXvE=
|
||||
github.com/coreos/ignition/v2 v2.3.0/go.mod h1:85dmM/CERMZXNrJsXqtNLIxR/dn8G9qlL1CmEjCugp0=
|
||||
@@ -398,7 +391,6 @@ github.com/evanphx/json-patch v4.0.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi
|
||||
github.com/evanphx/json-patch v4.1.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
|
||||
github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
|
||||
github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
|
||||
github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
|
||||
github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84=
|
||||
github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
|
||||
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4=
|
||||
@@ -421,7 +413,6 @@ github.com/fsnotify/fsnotify v1.5.1 h1:mZcQUHVQUQWoPXXtuf9yuEXKudkV2sx1E06UadKWp
|
||||
github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
|
||||
github.com/fsouza/go-dockerclient v0.0.0-20171004212419-da3951ba2e9e/go.mod h1:KpcjM623fQYE9MZiTGzKhjfxXAV9wbyX2C1cyRHfhl0=
|
||||
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA=
|
||||
github.com/fvbommel/sortorder v1.0.1/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0=
|
||||
github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg=
|
||||
github.com/getsentry/raven-go v0.0.0-20190513200303-c977f96e1095/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
|
||||
github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
|
||||
@@ -438,7 +429,6 @@ github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod h1:xkRDCp4j0
|
||||
github.com/go-bindata/go-bindata v3.1.2+incompatible/go.mod h1:xK8Dsgwmeed+BBsSy2XTopBn/8uK2HWuGSnA11C3Joo=
|
||||
github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
|
||||
github.com/go-critic/go-critic v0.3.5-0.20190526074819-1df300866540/go.mod h1:+sE8vrLDS2M0pZkBk0wy6+nLdKexVDrl/jBqQOTDThA=
|
||||
github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
|
||||
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
|
||||
github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E=
|
||||
github.com/go-git/go-billy/v5 v5.2.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
|
||||
@@ -460,13 +450,11 @@ github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V
|
||||
github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
|
||||
github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
|
||||
github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
|
||||
github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
|
||||
github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
|
||||
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
|
||||
github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0=
|
||||
github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
|
||||
github.com/go-logr/zapr v0.1.0/go.mod h1:tabnROwaDl0UNxkVeFRbY8bwB37GwRv0P8lg6aAiEnk=
|
||||
github.com/go-logr/zapr v0.4.0/go.mod h1:tabnROwaDl0UNxkVeFRbY8bwB37GwRv0P8lg6aAiEnk=
|
||||
github.com/go-logr/zapr v1.2.0/go.mod h1:Qa4Bsj2Vb+FAVeAKsLD8RLQ+YRJB8YDmOAKxaBQf7Ro=
|
||||
github.com/go-logr/zapr v1.2.3 h1:a9vnzlIBPQBBkeaR9IuMUfmVOrQlkoC4YfPoFkX3T7A=
|
||||
github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4=
|
||||
@@ -537,7 +525,6 @@ github.com/go-openapi/spec v0.17.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsd
|
||||
github.com/go-openapi/spec v0.18.0/go.mod h1:XkF/MOi14NmjsfZ8VtAKf8pIlbZzyoTvZsdfssdxcBI=
|
||||
github.com/go-openapi/spec v0.19.2/go.mod h1:sCxk3jxKgioEJikev4fgkNmwS+3kuYdJtcsZsD5zxMY=
|
||||
github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo=
|
||||
github.com/go-openapi/spec v0.19.5/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk=
|
||||
github.com/go-openapi/spec v0.19.6/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk=
|
||||
github.com/go-openapi/spec v0.19.8/go.mod h1:Hm2Jr4jv8G1ciIAo+frC/Ft+rR2kQDh8JHKHb3gWUSk=
|
||||
github.com/go-openapi/spec v0.19.15/go.mod h1:+81FIL1JwC5P3/Iuuozq3pPE9dXdIEGxFutcFKaVbmU=
|
||||
@@ -788,8 +775,6 @@ github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLe
|
||||
github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
|
||||
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
|
||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
|
||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
|
||||
github.com/google/uuid v0.0.0-20170306145142-6a5e28554805/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
|
||||
@@ -816,12 +801,9 @@ github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3i
|
||||
github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU=
|
||||
github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA=
|
||||
github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4=
|
||||
github.com/gophercloud/gophercloud v0.15.1-0.20210202035223-633d73521055/go.mod h1:wRtmUelyIIv3CSSDI47aUwbs075O6i+LY+pXsKCBsb4=
|
||||
github.com/gophercloud/gophercloud v0.19.0/go.mod h1:wRtmUelyIIv3CSSDI47aUwbs075O6i+LY+pXsKCBsb4=
|
||||
github.com/gophercloud/gophercloud v0.20.0/go.mod h1:wRtmUelyIIv3CSSDI47aUwbs075O6i+LY+pXsKCBsb4=
|
||||
github.com/gophercloud/gophercloud v0.24.0 h1:jDsIMGJ1KZpAjYfQgGI2coNQj5Q83oPzuiGJRFWgMzw=
|
||||
github.com/gophercloud/gophercloud v0.24.0/go.mod h1:Q8fZtyi5zZxPS/j9aj3sSxtvj41AdQMDwyo1myduD5c=
|
||||
github.com/gophercloud/utils v0.0.0-20210720165645-8a3ad2ad9e70/go.mod h1:wx8HMD8oQD0Ryhz6+6ykq75PJ79iPyEqYHfwZ4l7OsA=
|
||||
github.com/gophercloud/utils v0.0.0-20220307143606-8e7800759d16 h1:slt/exMiitZNY+5OrKJ6ZvSogqN+SyzeYzAtyI6db9A=
|
||||
github.com/gophercloud/utils v0.0.0-20220307143606-8e7800759d16/go.mod h1:qOGlfG6OIJ193/c3Xt/XjOfHataNZdQcVgiu93LxBUM=
|
||||
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
|
||||
@@ -878,7 +860,6 @@ github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47/go.mod h1:/m3
|
||||
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
|
||||
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
|
||||
github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
|
||||
github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
|
||||
github.com/hashicorp/hc-install v0.3.2 h1:oiQdJZvXmkNcRcEOOfM5n+VTsvNjWQeOjfAoO6dKSH8=
|
||||
github.com/hashicorp/hc-install v0.3.2/go.mod h1:xMG6Tr8Fw1WFjlxH0A9v61cW15pFwgEGqEz0V4jisHs=
|
||||
github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w=
|
||||
@@ -897,7 +878,6 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
|
||||
github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4=
|
||||
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
|
||||
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
|
||||
github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
||||
github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
||||
github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
||||
github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
|
||||
@@ -1012,7 +992,6 @@ github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQ
|
||||
github.com/magiconair/properties v1.7.6/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
|
||||
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
|
||||
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
|
||||
github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
|
||||
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
|
||||
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
|
||||
github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
|
||||
@@ -1043,7 +1022,6 @@ github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27k
|
||||
github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ=
|
||||
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
|
||||
github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
|
||||
github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
|
||||
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
|
||||
github.com/mattn/go-shellwords v1.0.10/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
|
||||
github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw=
|
||||
@@ -1077,8 +1055,6 @@ github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR
|
||||
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
|
||||
github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
|
||||
github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo=
|
||||
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635/go.mod h1:FBS0z0QWA44HXygs7VXDUOGoN/1TV3RuWkLO04am3wc=
|
||||
github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A=
|
||||
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc=
|
||||
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw=
|
||||
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||
@@ -1090,7 +1066,6 @@ github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3Rllmb
|
||||
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
|
||||
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
|
||||
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
|
||||
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4=
|
||||
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
|
||||
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
|
||||
github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk=
|
||||
@@ -1116,7 +1091,6 @@ github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+
|
||||
github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
|
||||
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
|
||||
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
|
||||
github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA=
|
||||
github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
|
||||
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
|
||||
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
|
||||
@@ -1179,11 +1153,8 @@ github.com/openshift/baremetal-operator/pkg/hardwareutils v0.0.0-20220128094204-
|
||||
github.com/openshift/baremetal-operator/pkg/hardwareutils v0.0.0-20220128094204-28771f489634/go.mod h1:/PSTQInIZmfuOmAp/pSgZAs4txs6T49woC0MYIa4QzE=
|
||||
github.com/openshift/build-machinery-go v0.0.0-20200211121458-5e3d6e570160/go.mod h1:1CkcsT3aVebzRBzVTSbiKSkJMsC/CASqxesfqEMfJEc=
|
||||
github.com/openshift/build-machinery-go v0.0.0-20200819073603-48aa266c95f7/go.mod h1:b1BuldmJlbA/xYtdZvKi+7j5YGB44qJUJDZ9zwiNCfE=
|
||||
github.com/openshift/build-machinery-go v0.0.0-20210712174854-1bb7fd1518d3/go.mod h1:b1BuldmJlbA/xYtdZvKi+7j5YGB44qJUJDZ9zwiNCfE=
|
||||
github.com/openshift/build-machinery-go v0.0.0-20220913142420-e25cf57ea46d/go.mod h1:b1BuldmJlbA/xYtdZvKi+7j5YGB44qJUJDZ9zwiNCfE=
|
||||
github.com/openshift/client-go v0.0.0-20200827190008-3062137373b5/go.mod h1:5rGmrkQ8DJEUXA+AR3rEjfH+HFyg4/apY9iCQFgvPfE=
|
||||
github.com/openshift/client-go v0.0.0-20210730113412-1811c1b3fc0e/go.mod h1:P1pjphFOgm/nYjmtouHGaSLGtdP25dQICJnYtcYhfEs=
|
||||
github.com/openshift/client-go v0.0.0-20211025111749-96ca2abfc56c/go.mod h1:xigLF97kzy1PZuDsC0Lfu6GlzChRt62+2Ts/nG3sPHY=
|
||||
github.com/openshift/client-go v0.0.0-20211209144617-7385dd6338e3 h1:SG1aqwleU6bGD0X4mhkTNupjVnByMYYuW4XbnCPavQU=
|
||||
github.com/openshift/client-go v0.0.0-20211209144617-7385dd6338e3/go.mod h1:cwhyki5lqBmrT0m8Im+9I7PGFaraOzcYPtEz93RcsGY=
|
||||
github.com/openshift/cloud-credential-operator v0.0.0-20200316201045-d10080b52c9e h1:2gyl9UVyjHSWzdS56KUXxQwIhENbq2x2olqoMQSA/C8=
|
||||
@@ -1199,8 +1170,6 @@ github.com/openshift/cluster-api-provider-ibmcloud v0.0.1-0.20220201105455-8014e
|
||||
github.com/openshift/cluster-api-provider-ibmcloud v0.0.1-0.20220201105455-8014e5e894b0/go.mod h1:CLnQ32mWHZtlQeHX0lYLMA+QTrrdXbg9K8smrWOPXMk=
|
||||
github.com/openshift/cluster-api-provider-libvirt v0.2.1-0.20191219173431-2336783d4603 h1:MC6BSZYxFPoqqKj9PdlGjHGVKcMsvn6Kv1NiVzQErZ8=
|
||||
github.com/openshift/cluster-api-provider-libvirt v0.2.1-0.20191219173431-2336783d4603/go.mod h1:7pQ9Bzha+ug/5zd+0ufbDEcnn2OnNlPwRwYrzhXk4NM=
|
||||
github.com/openshift/cluster-api-provider-openstack v0.0.0-20211111204942-611d320170af h1:PeF1obTACelTfyDhMBEwlgx3bTJdicgw2PuNxP0Ayzc=
|
||||
github.com/openshift/cluster-api-provider-openstack v0.0.0-20211111204942-611d320170af/go.mod h1:FimmVt2+i/aNr73dnD/lPC0oiXk2lOyuLM6heOroY3M=
|
||||
github.com/openshift/cluster-api-provider-ovirt v0.1.1-0.20220323121149-e3f2850dd519 h1:foU7/s6DQczTFdZ/8H++pUC2Pzygqdz5ZgqUakksR5w=
|
||||
github.com/openshift/cluster-api-provider-ovirt v0.1.1-0.20220323121149-e3f2850dd519/go.mod h1:C7unCUThP8eqT4xQfbvg3oIDn2S9TYtb0wbBoH/SR2U=
|
||||
github.com/openshift/cluster-autoscaler-operator v0.0.0-20190521201101-62768a6ba480/go.mod h1:/XmV44Fh28Vo3Ye93qFrxAbcFJ/Uy+7LPD+jGjmfJYc=
|
||||
@@ -1210,11 +1179,9 @@ github.com/openshift/hive/apis v0.0.0-20220222213051-def9088fdb5a h1:E+XPJs/aVvY
|
||||
github.com/openshift/hive/apis v0.0.0-20220222213051-def9088fdb5a/go.mod h1:E1bgquRiwfugdArdecPbpYIrAdve5kTzMaJb0+8jMXI=
|
||||
github.com/openshift/library-go v0.0.0-20191003152030-97c62d8a2901/go.mod h1:NBttNjZpWwup/nthuLbPAPSYC8Qyo+BBK5bCtFoyYjo=
|
||||
github.com/openshift/library-go v0.0.0-20200831114015-2ab0c61c15de/go.mod h1:6vwp+YhYOIlj8MpkQKkebTTSn2TuYyvgiAFQ206jIEQ=
|
||||
github.com/openshift/library-go v0.0.0-20210811133500-5e31383de2a7/go.mod h1:3GagmGg6gikg+hAqma7E7axBzs2pjx4+GrAbdl4OYdY=
|
||||
github.com/openshift/library-go v0.0.0-20220121154930-b7889002d63e h1:XDK1ZB6Q1YmYkxfEkRq9z92yzinaJMf+vvjeELKj+2I=
|
||||
github.com/openshift/library-go v0.0.0-20220121154930-b7889002d63e/go.mod h1:6AmNM4N4nHftckybV/U7bQW+5AvK5TW81ndSI6KEidw=
|
||||
github.com/openshift/machine-api-operator v0.0.0-20190312153711-9650e16c9880/go.mod h1:7HeAh0v04zQn1L+4ItUjvpBQYsm2Nf81WaZLiXTcnkc=
|
||||
github.com/openshift/machine-api-operator v0.2.1-0.20211111133920-c8bba3e64310/go.mod h1:8kWuB/zhnlBsNOyD1yz0epINZX5IodG3Z4iDwQrYKx0=
|
||||
github.com/openshift/machine-config-operator v0.0.1-0.20201009041932-4fe8559913b8 h1:C4gCipkWTDp0B9jb0wZdLgB+HWC7EzVVwQOeNaKnTRA=
|
||||
github.com/openshift/machine-config-operator v0.0.1-0.20201009041932-4fe8559913b8/go.mod h1:fjKreLaKEeUKsyIkT4wlzIQwUVJ2ZKDUh3CI73ckYIY=
|
||||
github.com/openshift/runtime-utils v0.0.0-20200415173359-c45d4ff3f912/go.mod h1:0OXNy7VoqFexkxKqyQbHJLPwn1MFp1/CxRJAgKHM+/o=
|
||||
@@ -1222,7 +1189,6 @@ github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFSt
|
||||
github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs=
|
||||
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
|
||||
github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8=
|
||||
github.com/operator-framework/operator-sdk v0.5.1-0.20190301204940-c2efe6f74e7b/go.mod h1:iVyukRkam5JZa8AnjYf+/G3rk7JI1+M6GsU0sq0B9NA=
|
||||
github.com/ory/dockertest/v3 v3.9.1 h1:v4dkG+dlu76goxMiTT2j8zV7s4oPPEppKT8K8p2f1kY=
|
||||
github.com/ostreedev/ostree-go v0.0.0-20190702140239-759a8c1ac913/go.mod h1:J6OG6YJVEWopen4avK3VNQSnALmmjvniMmni/YFYAwc=
|
||||
github.com/ovirt/go-ovirt v0.0.0-20210809163552-d4276e35d3db h1:ahvAlEurj4TF1SExDJHNeqknQC8lAwnZEPLyZJuRyd0=
|
||||
@@ -1237,7 +1203,6 @@ github.com/pelletier/go-toml v1.1.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/9
|
||||
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
|
||||
github.com/pelletier/go-toml v1.4.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo=
|
||||
github.com/pelletier/go-toml v1.7.0/go.mod h1:vwGMzjaWMwyfHwgIBhI2YUM4fB6nL6lVAvS1LBMMhTE=
|
||||
github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
|
||||
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
|
||||
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
|
||||
github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
|
||||
@@ -1301,7 +1266,6 @@ github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDa
|
||||
github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ=
|
||||
github.com/prometheus/procfs v0.0.6/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
|
||||
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
|
||||
github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
|
||||
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
||||
github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
|
||||
github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
||||
@@ -1385,14 +1349,11 @@ github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTd
|
||||
github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
|
||||
github.com/spf13/cast v1.2.0/go.mod h1:r2rcYCSwa1IExKTDiTfzaxqT2FNHs8hODu4LnUfgKEg=
|
||||
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
|
||||
github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
|
||||
github.com/spf13/cobra v0.0.2/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
|
||||
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
|
||||
github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU=
|
||||
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
|
||||
github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI=
|
||||
github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
|
||||
github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
|
||||
github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
|
||||
github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=
|
||||
github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM=
|
||||
@@ -1410,7 +1371,6 @@ github.com/spf13/viper v1.0.2/go.mod h1:A8kyI5cUJhb8N+3pkfONlcEcZbueH6nhAm0Fq7Sr
|
||||
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
|
||||
github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
|
||||
github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
|
||||
github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns=
|
||||
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=
|
||||
@@ -1468,7 +1428,6 @@ github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17
|
||||
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
|
||||
github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+NXzzngzBKDPIqw4=
|
||||
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
|
||||
github.com/vmware/govmomi v0.22.2/go.mod h1:Y+Wq4lst78L85Ge/F8+ORXIWiKYqaro1vhAulACy9Lc=
|
||||
github.com/vmware/govmomi v0.27.4 h1:5kY8TAkhB20lsjzrjE073eRb8+HixBI29PVMG5lxq6I=
|
||||
github.com/vmware/govmomi v0.27.4/go.mod h1:daTuJEcQosNMXYJOeku0qdBJP9SOLLWB3Mqz8THtv6o=
|
||||
github.com/vmware/vmw-guestinfo v0.0.0-20170707015358-25eff159a728/go.mod h1:x9oS4Wk2s2u4tS29nEaDLdzvuHdB19CvSGJjPgkZJNk=
|
||||
@@ -1491,7 +1450,6 @@ github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17
|
||||
github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y=
|
||||
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
|
||||
github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1/go.mod h1:QcJo0QPSfTONNIgpN5RA8prR7fF8nkF6cTWTcNerRO8=
|
||||
github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg=
|
||||
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
|
||||
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA=
|
||||
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
|
||||
@@ -1513,7 +1471,6 @@ go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
|
||||
go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
|
||||
go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=
|
||||
go.etcd.io/etcd v0.5.0-alpha.5.0.20200819165624-17cef6e3e9d5/go.mod h1:skWido08r9w6Lq/w70DO5XYIKMu4QFu1+4VsqLQuJy8=
|
||||
go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg=
|
||||
go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
|
||||
go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
|
||||
go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
|
||||
@@ -1559,7 +1516,6 @@ go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi
|
||||
go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE=
|
||||
go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw=
|
||||
go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
|
||||
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o=
|
||||
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
|
||||
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
|
||||
go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw=
|
||||
@@ -1573,12 +1529,10 @@ go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9i
|
||||
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
|
||||
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
|
||||
go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
|
||||
go.uber.org/zap v1.18.1/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI=
|
||||
go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI=
|
||||
go.uber.org/zap v1.21.0 h1:WefMeulhovoZ2sYXz7st6K0sLj7bBhpiFaud4r4zST8=
|
||||
go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
|
||||
go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE=
|
||||
go4.org v0.0.0-20191010144846-132d2879e1e9/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE=
|
||||
go4.org v0.0.0-20200104003542-c7e774b10ea0/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE=
|
||||
goji.io v2.0.2+incompatible/go.mod h1:sbqFwrtqZACxLBTQcdgVjFh54yGVCvwq8+w49MVMMIk=
|
||||
golang.org/x/arch v0.0.0-20180920145803-b19384d3c130/go.mod h1:cYlCBUl1MsqxdiKgmc4uh7TxZfWSFLOGSRR090WDxt8=
|
||||
@@ -1621,7 +1575,6 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB
|
||||
golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
|
||||
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
|
||||
@@ -1686,7 +1639,6 @@ golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwY
|
||||
golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20210224082022-3d97a244fca7/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
|
||||
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
|
||||
golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k=
|
||||
@@ -1694,7 +1646,6 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b
|
||||
golang.org/x/net v0.0.0-20210421230115-4e50805a0758/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM=
|
||||
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
|
||||
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
|
||||
@@ -1726,7 +1677,6 @@ golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ
|
||||
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
|
||||
@@ -1789,7 +1739,6 @@ golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||
golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191002063906-3421d5a6bb1c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
@@ -1824,7 +1773,6 @@ golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||
golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200826173525-f9321e4c35a6/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
@@ -1843,7 +1791,6 @@ golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7w
|
||||
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210502180810-71e4cd670f79/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||
@@ -1889,7 +1836,6 @@ golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxb
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 h1:vVKdlvoWBphwdxWKrFZEuM0kGgGLxUOYcY4U/2Vjg44=
|
||||
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/tools v0.0.0-20170915040203-e531a2a1c15f/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
|
||||
@@ -2025,7 +1971,6 @@ google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34q
|
||||
google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
|
||||
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
|
||||
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
|
||||
google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
|
||||
google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
|
||||
google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4=
|
||||
google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw=
|
||||
@@ -2098,7 +2043,6 @@ google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6D
|
||||
google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20201102152239-715cce707fb0/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
|
||||
@@ -2277,13 +2221,8 @@ honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt
|
||||
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA=
|
||||
k8s.io/api v0.18.0-beta.2/go.mod h1:2oeNnWEqcSmaM/ibSh3t7xcIqbkGXhzZdn4ezV9T4m0=
|
||||
k8s.io/api v0.18.2/go.mod h1:SJCWI7OLzhZSvbY7U8zwNl9UA4o1fizoug34OV/2r78=
|
||||
k8s.io/api v0.19.0/go.mod h1:I1K45XlvTrDjmj5LoM5LuP/KYrhWbjUKT/SoPG0qTjw=
|
||||
k8s.io/api v0.21.3/go.mod h1:hUgeYHUbBp23Ue4qdX9tR8/ANi/g3ehylAqDn9NWVOg=
|
||||
k8s.io/api v0.22.0-rc.0/go.mod h1:EUcKB6RvpW74HMRUSSNwpUzrIHBdGT1FeAvOV+txic0=
|
||||
k8s.io/api v0.22.0/go.mod h1:0AoXXqst47OI/L0oGKq9DG61dvGRPXs7X4/B7KyjBCU=
|
||||
k8s.io/api v0.22.1/go.mod h1:bh13rkTp3F1XEaLGykbyRD2QaTTzPm0e/BMd8ptFONY=
|
||||
k8s.io/api v0.23.0/go.mod h1:8wmDdLBHBNxtOIytwLstXt5E9PddnZb0GaMcqsvDBpg=
|
||||
k8s.io/api v0.23.3/go.mod h1:w258XdGyvCmnBj/vGzQMj6kzdufJZVUwEM1U2fRJwSQ=
|
||||
k8s.io/api v0.24.2/go.mod h1:AHqbSkTm6YrQ0ObxjO3Pmp/ubFF/KuM7jU+3khoBsOg=
|
||||
@@ -2291,67 +2230,42 @@ k8s.io/api v0.24.3/go.mod h1:elGR/XSZrS7z7cSZPzVWaycpJuGIw57j9b95/1PdJNI=
|
||||
k8s.io/api v0.25.0 h1:H+Q4ma2U/ww0iGB78ijZx6DRByPz6/733jIuFpX70e0=
|
||||
k8s.io/api v0.25.0/go.mod h1:ttceV1GyV1i1rnmvzT3BST08N6nGt+dudGrquzVQWPk=
|
||||
k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8/go.mod h1:IxkesAMoaCRoLrPJdZNZUQp9NfZnzqaVzLhb2VEQzXE=
|
||||
k8s.io/apiextensions-apiserver v0.18.0-beta.2/go.mod h1:Hnrg5jx8/PbxRbUoqDGxtQkULjwx8FDW4WYJaKNK+fk=
|
||||
k8s.io/apiextensions-apiserver v0.18.2/go.mod h1:q3faSnRGmYimiocj6cHQ1I3WpLqmDgJFlKL37fC4ZvY=
|
||||
k8s.io/apiextensions-apiserver v0.19.0/go.mod h1:znfQxNpjqz/ZehvbfMg5N6fvBJW5Lqu5HVLTJQdP4Fs=
|
||||
k8s.io/apiextensions-apiserver v0.21.3/go.mod h1:kl6dap3Gd45+21Jnh6utCx8Z2xxLm8LGDkprcd+KbsE=
|
||||
k8s.io/apiextensions-apiserver v0.22.0-rc.0/go.mod h1:KSr+2VJ6ye8Fy50q7xHZ/Tw8vrRII82KIKbz9eUFmeo=
|
||||
k8s.io/apiextensions-apiserver v0.24.3 h1:kyx+Tmro1qEsTUr07ZGQOfvTsF61yn+AxnxytBWq8As=
|
||||
k8s.io/apiextensions-apiserver v0.24.3/go.mod h1:cL0xkmUefpYM4f6IuOau+6NMFEIh6/7wXe/O4vPVJ8A=
|
||||
k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0=
|
||||
k8s.io/apimachinery v0.18.0-beta.2/go.mod h1:9SnR/e11v5IbyPCGbvJViimtJ0SwHG4nfZFjU77ftcA=
|
||||
k8s.io/apimachinery v0.18.0/go.mod h1:9SnR/e11v5IbyPCGbvJViimtJ0SwHG4nfZFjU77ftcA=
|
||||
k8s.io/apimachinery v0.18.2/go.mod h1:9SnR/e11v5IbyPCGbvJViimtJ0SwHG4nfZFjU77ftcA=
|
||||
k8s.io/apimachinery v0.19.0/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlmA=
|
||||
k8s.io/apimachinery v0.21.3/go.mod h1:H/IM+5vH9kZRNJ4l3x/fXP/5bOPJaVP/guptnZPeCFI=
|
||||
k8s.io/apimachinery v0.22.0-rc.0/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0=
|
||||
k8s.io/apimachinery v0.22.0/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0=
|
||||
k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0=
|
||||
k8s.io/apimachinery v0.23.0/go.mod h1:fFCTTBKvKcwTPFzjlcxp91uPFZr+JA0FubU4fLzzFYc=
|
||||
k8s.io/apimachinery v0.23.3/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM=
|
||||
k8s.io/apimachinery v0.24.2/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM=
|
||||
k8s.io/apimachinery v0.24.3/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM=
|
||||
k8s.io/apimachinery v0.25.0 h1:MlP0r6+3XbkUG2itd6vp3oxbtdQLQI94fD5gCS+gnoU=
|
||||
k8s.io/apimachinery v0.25.0/go.mod h1:qMx9eAk0sZQGsXGu86fab8tZdffHbwUfsvzqKn4mfB0=
|
||||
k8s.io/apiserver v0.18.0-beta.2/go.mod h1:bnblMkMoCFnIfVnVftd0SXJPzyvrk3RtaqSbblphF/A=
|
||||
k8s.io/apiserver v0.18.2/go.mod h1:Xbh066NqrZO8cbsoenCwyDJ1OSi8Ag8I2lezeHxzwzw=
|
||||
k8s.io/apiserver v0.19.0/go.mod h1:XvzqavYj73931x7FLtyagh8WibHpePJ1QwWrSJs2CLk=
|
||||
k8s.io/apiserver v0.21.3/go.mod h1:eDPWlZG6/cCCMj/JBcEpDoK+I+6i3r9GsChYBHSbAzU=
|
||||
k8s.io/apiserver v0.22.0-rc.0/go.mod h1:1AfFSkRbaPVFzfSIWd0m/onp49mmAOqXR9qrLJFixlw=
|
||||
k8s.io/apiserver v0.22.0/go.mod h1:04kaIEzIQrTGJ5syLppQWvpkLJXQtJECHmae+ZGc/nc=
|
||||
k8s.io/apiserver v0.24.3/go.mod h1:aXfwtIn4U27B7lYs5f2BKgz6DRbgWy+HJeYReN1jLJ8=
|
||||
k8s.io/cli-runtime v0.19.0/go.mod h1:tun9l0eUklT8IHIM0jors17KmUjcrAxn0myoBYwuNuo=
|
||||
k8s.io/cli-runtime v0.22.0/go.mod h1:An6zELQ7udUI0GaXvkuMqyopPA14dIgNqpH8cZu1vig=
|
||||
k8s.io/client-go v0.25.0 h1:CVWIaCETLMBNiTUta3d5nzRbXvY5Hy9Dpl+VvREpu5E=
|
||||
k8s.io/client-go v0.25.0/go.mod h1:lxykvypVfKilxhTklov0wz1FoaUZ8X4EwbhS6rpRfN8=
|
||||
k8s.io/cluster-bootstrap v0.0.0-20190202014938-c9acc0c1bea2/go.mod h1:iBSm2nwo3OaiuW8VDvc3ySDXK5SKfUrxwPvBloKG7zg=
|
||||
k8s.io/code-generator v0.0.0-20191003035328-700b1226c0bd/go.mod h1:HC9p4y3SBN+txSs8x57qmNPXFZ/CxdCHiDTNnocCSEw=
|
||||
k8s.io/code-generator v0.18.0-beta.2/go.mod h1:+UHX5rSbxmR8kzS+FAv7um6dtYrZokQvjHpDSYRVkTc=
|
||||
k8s.io/code-generator v0.18.2/go.mod h1:+UHX5rSbxmR8kzS+FAv7um6dtYrZokQvjHpDSYRVkTc=
|
||||
k8s.io/code-generator v0.19.0/go.mod h1:moqLn7w0t9cMs4+5CQyxnfA/HV8MF6aAVENF+WZZhgk=
|
||||
k8s.io/code-generator v0.21.3/go.mod h1:K3y0Bv9Cz2cOW2vXUrNZlFbflhuPvuadW6JdnN6gGKo=
|
||||
k8s.io/code-generator v0.22.0-rc.0/go.mod h1:eV77Y09IopzeXOJzndrDyCI88UBok2h6WxAlBwpxa+o=
|
||||
k8s.io/code-generator v0.22.0/go.mod h1:eV77Y09IopzeXOJzndrDyCI88UBok2h6WxAlBwpxa+o=
|
||||
k8s.io/code-generator v0.22.1/go.mod h1:eV77Y09IopzeXOJzndrDyCI88UBok2h6WxAlBwpxa+o=
|
||||
k8s.io/code-generator v0.23.0/go.mod h1:vQvOhDXhuzqiVfM/YHp+dmg10WDZCchJVObc9MvowsE=
|
||||
k8s.io/code-generator v0.23.3/go.mod h1:S0Q1JVA+kSzTI1oUvbKAxZY/DYbA/ZUb4Uknog12ETk=
|
||||
k8s.io/code-generator v0.24.3/go.mod h1:dpVhs00hTuTdTY6jvVxvTFCk6gSMrtfRydbhZwHI15w=
|
||||
k8s.io/component-base v0.18.0-beta.2/go.mod h1:HVk5FpRnyzQ/MjBr9//e/yEBjTVa2qjGXCTuUzcD7ks=
|
||||
k8s.io/component-base v0.18.2/go.mod h1:kqLlMuhJNHQ9lz8Z7V5bxUUtjFZnrypArGl58gmDfUM=
|
||||
k8s.io/component-base v0.19.0/go.mod h1:dKsY8BxkA+9dZIAh2aWJLL/UdASFDNtGYTCItL4LM7Y=
|
||||
k8s.io/component-base v0.21.3/go.mod h1:kkuhtfEHeZM6LkX0saqSK8PbdO7A0HigUngmhhrwfGQ=
|
||||
k8s.io/component-base v0.22.0-rc.0/go.mod h1:DKSub/kewg24bK+3ZJ/csu86fSBYpGdYk837eCTvEKg=
|
||||
k8s.io/component-base v0.22.0/go.mod h1:SXj6Z+V6P6GsBhHZVbWCw9hFjUdUYnJerlhhPnYCBCg=
|
||||
k8s.io/component-base v0.24.3 h1:u99WjuHYCRJjS1xeLOx72DdRaghuDnuMgueiGMFy1ec=
|
||||
k8s.io/component-base v0.24.3/go.mod h1:bqom2IWN9Lj+vwAkPNOv2TflsP1PeVDIwIN0lRthxYY=
|
||||
k8s.io/component-helpers v0.22.0/go.mod h1:YNIbQI59ayNiU8JHlPIxVkOUYycbKhk5Niy0pcyJOEY=
|
||||
k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/gengo v0.0.0-20190907103519-ebc107f98eab/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/gengo v0.0.0-20200114144118-36b2048a9120/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
|
||||
k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
|
||||
k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
|
||||
k8s.io/gengo v0.0.0-20211129171323-c02415ce4185/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
|
||||
k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
|
||||
@@ -2361,41 +2275,29 @@ k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
|
||||
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
|
||||
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
|
||||
k8s.io/klog/v2 v2.3.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
|
||||
k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
|
||||
k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
|
||||
k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
|
||||
k8s.io/klog/v2 v2.40.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
|
||||
k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
|
||||
k8s.io/klog/v2 v2.70.1 h1:7aaoSdahviPmR+XkS7FyxlkkXs6tHISSG03RxleQAVQ=
|
||||
k8s.io/klog/v2 v2.70.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
|
||||
k8s.io/kube-aggregator v0.18.0-beta.2/go.mod h1:O3Td9mheraINbLHH4pzoFP2gRzG0Wk1COqzdSL4rBPk=
|
||||
k8s.io/kube-aggregator v0.19.0/go.mod h1:1Ln45PQggFAG8xOqWPIYMxUq8WNtpPnYsbUJ39DpF/A=
|
||||
k8s.io/kube-aggregator v0.22.0-rc.0/go.mod h1:g0xtiBSsbMKvewN7xR/Icib4TrHxtvrJcHtYvFsgw7k=
|
||||
k8s.io/kube-openapi v0.0.0-20180731170545-e3762e86a74c/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc=
|
||||
k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc=
|
||||
k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E=
|
||||
k8s.io/kube-openapi v0.0.0-20200121204235-bf4fb3bd569c/go.mod h1:GRQhZsXIAJ1xR0C9bd8UpWHZ5plfAS9fzPjJuQ6JL3E=
|
||||
k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o=
|
||||
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE=
|
||||
k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
|
||||
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk=
|
||||
k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk=
|
||||
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk=
|
||||
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 h1:MQ8BAZPZlWk3S9K4a9NCkIFQtZShWqoha7snGixVgEA=
|
||||
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1/go.mod h1:C/N6wCaBHeBHkHUesQOQy2/MZqGgMAFPqGsGQLdbZBU=
|
||||
k8s.io/kubectl v0.19.0/go.mod h1:gPCjjsmE6unJzgaUNXIFGZGafiUp5jh0If3F/x7/rRg=
|
||||
k8s.io/kubectl v0.22.0/go.mod h1:eeuP92uZbVL2UnOaf0nj9OjtI0hi/nekHU+0isURer0=
|
||||
k8s.io/kubelet v0.19.0/go.mod h1:cGds22piF/LnFzfAaIT+efvOYBHVYdunqka6NVuNw9g=
|
||||
k8s.io/metrics v0.19.0/go.mod h1:WykpW8B60OeAJx1imdwUgyOID2kDljr/Q+1zrPJ98Wo=
|
||||
k8s.io/metrics v0.22.0/go.mod h1:eYnwafAUNLLpVmY/msoq0RKIKH5C4TzfjKnMZ0Xrt3A=
|
||||
k8s.io/utils v0.0.0-20190506122338-8fab8cb257d5/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew=
|
||||
k8s.io/utils v0.0.0-20190529001817-6999998975a7/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew=
|
||||
k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew=
|
||||
k8s.io/utils v0.0.0-20200324210504-a9aa75ae1b89/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew=
|
||||
k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
k8s.io/utils v0.0.0-20210722164352-7f3ee0f31471/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
k8s.io/utils v0.0.0-20210802155522-efc7438f0176/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-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
@@ -2416,12 +2318,8 @@ 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/apiserver-network-proxy/konnectivity-client v0.0.7/go.mod h1:PHgbrJT7lCHcxMU+mDHEm+nx46H4zuuHZkDP6icnhu0=
|
||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.9/go.mod h1:dzAXnQbTRyDlZPJX2SUPEqvnB+j7AJjtlox7PEwigU0=
|
||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.19/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
|
||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.21/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
|
||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
|
||||
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.30/go.mod h1:fEO7lRTdivWO2qYVCVG7dEADOMo/MLDCVr8So2g88Uw=
|
||||
sigs.k8s.io/controller-runtime v0.0.0-20190520212815-96b67f231945/go.mod h1:TSH2R0nSz4WAlUUlNnOFcOR/VUhfwBLlmtq2X6AiQCA=
|
||||
sigs.k8s.io/controller-runtime v0.9.6/go.mod h1:q6PpkM5vqQubEKUKOM6qr06oXGzOBcCby1DA9FbyZeA=
|
||||
sigs.k8s.io/controller-runtime v0.11.2 h1:H5GTxQl0Mc9UjRJhORusqfJCIjBO8UtUxGggCwL1rLA=
|
||||
sigs.k8s.io/controller-runtime v0.11.2/go.mod h1:P6QCzrEjLaZGqHsfd+os7JQ+WFZhvB8MRFsn4dWF7O4=
|
||||
sigs.k8s.io/controller-tools v0.3.1-0.20200617211605-651903477185 h1:wLsmaqTEgs3DIfNzr0u/AfPHSVJbWHj/eevcS4AFvFE=
|
||||
@@ -2430,12 +2328,7 @@ sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNza
|
||||
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY=
|
||||
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k=
|
||||
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
|
||||
sigs.k8s.io/kube-storage-version-migrator v0.0.4/go.mod h1:mXfSLkx9xbJHQsgNDDUZK/iQTs2tMbx/hsJlWe6Fthw=
|
||||
sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod h1:MkjgH3RdOWrievjo6c9T245dYlB5QeXV4WCbnt/PEpU=
|
||||
sigs.k8s.io/kustomize/api v0.8.11/go.mod h1:a77Ls36JdfCWojpUqR6m60pdGY1AYFix4AH83nJtY1g=
|
||||
sigs.k8s.io/kustomize/cmd/config v0.9.13/go.mod h1:7547FLF8W/lTaDf0BDqFTbZxM9zqwEJqCKN9sSR0xSs=
|
||||
sigs.k8s.io/kustomize/kustomize/v4 v4.2.0/go.mod h1:MOkR6fmhwG7hEDRXBYELTi5GSFcLwfqwzTRHW3kv5go=
|
||||
sigs.k8s.io/kustomize/kyaml v0.11.0/go.mod h1:GNMwjim4Ypgp/MueD3zXHLRJEjz7RvtPae0AwlvEMFM=
|
||||
sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI=
|
||||
sigs.k8s.io/structured-merge-diff/v3 v3.0.0-20200116222232-67a7b8c61874/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw=
|
||||
sigs.k8s.io/structured-merge-diff/v3 v3.0.0/go.mod h1:PlARxl6Hbt/+BC80dRLi1qAmnMqwqDg62YvvVkZjemw=
|
||||
|
||||
@@ -10,6 +10,7 @@ import (
|
||||
"github.com/ghodss/yaml"
|
||||
baremetalhost "github.com/metal3-io/baremetal-operator/apis/metal3.io/v1alpha1"
|
||||
machinev1 "github.com/openshift/api/machine/v1"
|
||||
machinev1alpha1 "github.com/openshift/api/machine/v1alpha1"
|
||||
machinev1beta1 "github.com/openshift/api/machine/v1beta1"
|
||||
baremetalapi "github.com/openshift/cluster-api-provider-baremetal/pkg/apis"
|
||||
baremetalprovider "github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
|
||||
@@ -25,8 +26,6 @@ import (
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/serializer"
|
||||
openstackapi "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis"
|
||||
openstackprovider "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
|
||||
"github.com/openshift/installer/pkg/asset"
|
||||
"github.com/openshift/installer/pkg/asset/ignition/machine"
|
||||
@@ -627,8 +626,10 @@ func (m *Master) Machines() ([]machinev1beta1.Machine, error) {
|
||||
baremetalapi.AddToScheme(scheme)
|
||||
ibmcloudapi.AddToScheme(scheme)
|
||||
libvirtapi.AddToScheme(scheme)
|
||||
openstackapi.AddToScheme(scheme)
|
||||
ovirtproviderapi.AddToScheme(scheme)
|
||||
scheme.AddKnownTypes(machinev1alpha1.GroupVersion,
|
||||
&machinev1alpha1.OpenstackProviderSpec{},
|
||||
)
|
||||
scheme.AddKnownTypes(machinev1beta1.SchemeGroupVersion,
|
||||
&machinev1beta1.AWSMachineProviderConfig{},
|
||||
&machinev1beta1.VSphereMachineProviderSpec{},
|
||||
@@ -648,7 +649,7 @@ func (m *Master) Machines() ([]machinev1beta1.Machine, error) {
|
||||
baremetalprovider.SchemeGroupVersion,
|
||||
ibmcloudprovider.SchemeGroupVersion,
|
||||
libvirtprovider.SchemeGroupVersion,
|
||||
openstackprovider.SchemeGroupVersion,
|
||||
machinev1alpha1.GroupVersion,
|
||||
machinev1beta1.SchemeGroupVersion,
|
||||
ovirtprovider.SchemeGroupVersion,
|
||||
)
|
||||
|
||||
@@ -7,11 +7,11 @@ import (
|
||||
"github.com/gophercloud/gophercloud"
|
||||
netext "github.com/gophercloud/gophercloud/openstack/networking/v2/extensions"
|
||||
"github.com/gophercloud/utils/openstack/clientconfig"
|
||||
machinev1alpha1 "github.com/openshift/api/machine/v1alpha1"
|
||||
machineapi "github.com/openshift/api/machine/v1beta1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
openstackprovider "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
|
||||
"github.com/openshift/installer/pkg/types"
|
||||
"github.com/openshift/installer/pkg/types/openstack"
|
||||
@@ -56,10 +56,10 @@ func Machines(clusterID string, config *types.InstallConfig, pool *types.Machine
|
||||
total = *pool.Replicas
|
||||
}
|
||||
machines := make([]machineapi.Machine, 0, total)
|
||||
providerConfigs := map[string]*openstackprovider.OpenstackProviderSpec{}
|
||||
providerConfigs := map[string]*machinev1alpha1.OpenstackProviderSpec{}
|
||||
for idx := int64(0); idx < total; idx++ {
|
||||
zone := mpool.Zones[int(idx)%len(mpool.Zones)]
|
||||
var provider *openstackprovider.OpenstackProviderSpec
|
||||
var provider *machinev1alpha1.OpenstackProviderSpec
|
||||
|
||||
if _, ok := providerConfigs[zone]; !ok {
|
||||
provider, err = generateProvider(
|
||||
@@ -108,18 +108,18 @@ func Machines(clusterID string, config *types.InstallConfig, pool *types.Machine
|
||||
return machines, nil
|
||||
}
|
||||
|
||||
func generateProvider(clusterID string, platform *openstack.Platform, mpool *openstack.MachinePool, osImage string, az string, role, userDataSecret string, trunkSupport bool, rootVolumeAZ string) (*openstackprovider.OpenstackProviderSpec, error) {
|
||||
var networks []openstackprovider.NetworkParam
|
||||
func generateProvider(clusterID string, platform *openstack.Platform, mpool *openstack.MachinePool, osImage string, az string, role, userDataSecret string, trunkSupport bool, rootVolumeAZ string) (*machinev1alpha1.OpenstackProviderSpec, error) {
|
||||
var networks []machinev1alpha1.NetworkParam
|
||||
if platform.MachinesSubnet != "" {
|
||||
networks = []openstackprovider.NetworkParam{{
|
||||
Subnets: []openstackprovider.SubnetParam{{
|
||||
networks = []machinev1alpha1.NetworkParam{{
|
||||
Subnets: []machinev1alpha1.SubnetParam{{
|
||||
UUID: platform.MachinesSubnet,
|
||||
}}},
|
||||
}
|
||||
} else {
|
||||
networks = []openstackprovider.NetworkParam{{
|
||||
Subnets: []openstackprovider.SubnetParam{{
|
||||
Filter: openstackprovider.SubnetFilter{
|
||||
networks = []machinev1alpha1.NetworkParam{{
|
||||
Subnets: []machinev1alpha1.SubnetParam{{
|
||||
Filter: machinev1alpha1.SubnetFilter{
|
||||
Name: fmt.Sprintf("%s-nodes", clusterID),
|
||||
Tags: fmt.Sprintf("%s=%s", "openshiftClusterID", clusterID),
|
||||
}},
|
||||
@@ -127,19 +127,19 @@ func generateProvider(clusterID string, platform *openstack.Platform, mpool *ope
|
||||
}
|
||||
}
|
||||
for _, networkID := range mpool.AdditionalNetworkIDs {
|
||||
networks = append(networks, openstackprovider.NetworkParam{
|
||||
networks = append(networks, machinev1alpha1.NetworkParam{
|
||||
UUID: networkID,
|
||||
NoAllowedAddressPairs: true,
|
||||
})
|
||||
}
|
||||
|
||||
securityGroups := []openstackprovider.SecurityGroupParam{
|
||||
securityGroups := []machinev1alpha1.SecurityGroupParam{
|
||||
{
|
||||
Name: fmt.Sprintf("%s-%s", clusterID, role),
|
||||
},
|
||||
}
|
||||
for _, sg := range mpool.AdditionalSecurityGroupIDs {
|
||||
securityGroups = append(securityGroups, openstackprovider.SecurityGroupParam{
|
||||
securityGroups = append(securityGroups, machinev1alpha1.SecurityGroupParam{
|
||||
UUID: sg,
|
||||
})
|
||||
}
|
||||
@@ -148,9 +148,9 @@ func generateProvider(clusterID string, platform *openstack.Platform, mpool *ope
|
||||
if az != "" {
|
||||
serverGroupName += "-" + az
|
||||
}
|
||||
spec := openstackprovider.OpenstackProviderSpec{
|
||||
spec := machinev1alpha1.OpenstackProviderSpec{
|
||||
TypeMeta: metav1.TypeMeta{
|
||||
APIVersion: openstackprovider.SchemeGroupVersion.String(),
|
||||
APIVersion: machinev1alpha1.GroupVersion.String(),
|
||||
Kind: "OpenstackProviderSpec",
|
||||
},
|
||||
Flavor: mpool.FlavorName,
|
||||
@@ -172,9 +172,8 @@ func generateProvider(clusterID string, platform *openstack.Platform, mpool *ope
|
||||
},
|
||||
}
|
||||
if mpool.RootVolume != nil {
|
||||
spec.RootVolume = &openstackprovider.RootVolume{
|
||||
spec.RootVolume = &machinev1alpha1.RootVolume{
|
||||
Size: mpool.RootVolume.Size,
|
||||
SourceType: "image",
|
||||
SourceUUID: osImage,
|
||||
VolumeType: mpool.RootVolume.Type,
|
||||
Zone: rootVolumeAZ,
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
"github.com/ghodss/yaml"
|
||||
machinev1 "github.com/openshift/api/machine/v1"
|
||||
machinev1alpha1 "github.com/openshift/api/machine/v1alpha1"
|
||||
machinev1beta1 "github.com/openshift/api/machine/v1beta1"
|
||||
baremetalapi "github.com/openshift/cluster-api-provider-baremetal/pkg/apis"
|
||||
baremetalprovider "github.com/openshift/cluster-api-provider-baremetal/pkg/apis/baremetal/v1alpha1"
|
||||
@@ -24,8 +25,6 @@ import (
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/serializer"
|
||||
"k8s.io/apimachinery/pkg/util/intstr"
|
||||
openstackapi "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis"
|
||||
openstackprovider "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
|
||||
"github.com/openshift/installer/pkg/asset"
|
||||
"github.com/openshift/installer/pkg/asset/ignition/machine"
|
||||
@@ -652,8 +651,10 @@ func (w *Worker) MachineSets() ([]machinev1beta1.MachineSet, error) {
|
||||
baremetalapi.AddToScheme(scheme)
|
||||
ibmcloudapi.AddToScheme(scheme)
|
||||
libvirtapi.AddToScheme(scheme)
|
||||
openstackapi.AddToScheme(scheme)
|
||||
ovirtproviderapi.AddToScheme(scheme)
|
||||
scheme.AddKnownTypes(machinev1alpha1.GroupVersion,
|
||||
&machinev1alpha1.OpenstackProviderSpec{},
|
||||
)
|
||||
scheme.AddKnownTypes(machinev1beta1.SchemeGroupVersion,
|
||||
&machinev1beta1.AWSMachineProviderConfig{},
|
||||
&machinev1beta1.VSphereMachineProviderSpec{},
|
||||
@@ -672,7 +673,7 @@ func (w *Worker) MachineSets() ([]machinev1beta1.MachineSet, error) {
|
||||
ibmcloudprovider.SchemeGroupVersion,
|
||||
libvirtprovider.SchemeGroupVersion,
|
||||
machinev1.GroupVersion,
|
||||
openstackprovider.SchemeGroupVersion,
|
||||
machinev1alpha1.GroupVersion,
|
||||
ovirtprovider.SchemeGroupVersion,
|
||||
machinev1beta1.SchemeGroupVersion,
|
||||
)
|
||||
|
||||
@@ -4,11 +4,11 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/gophercloud/gophercloud/openstack/compute/v2/flavors"
|
||||
machinev1alpha1 "github.com/openshift/api/machine/v1alpha1"
|
||||
machineapi "github.com/openshift/api/machine/v1beta1"
|
||||
operv1 "github.com/openshift/api/operator/v1"
|
||||
"github.com/openshift/installer/pkg/asset/installconfig/openstack/validation"
|
||||
"github.com/openshift/installer/pkg/quota"
|
||||
openstackprovider "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
)
|
||||
|
||||
// These numbers should reflect what is documented here:
|
||||
@@ -63,13 +63,13 @@ func Constraints(ci *validation.CloudInfo, controlPlanes []machineapi.Machine, c
|
||||
return aggregate(constraints)
|
||||
}
|
||||
|
||||
func getOpenstackProviderSpec(spec *machineapi.ProviderSpec) *openstackprovider.OpenstackProviderSpec {
|
||||
func getOpenstackProviderSpec(spec *machineapi.ProviderSpec) *machinev1alpha1.OpenstackProviderSpec {
|
||||
if spec.Value == nil {
|
||||
logrus.Warnf("Empty ProviderSpec")
|
||||
return nil
|
||||
}
|
||||
|
||||
return spec.Value.Object.(*openstackprovider.OpenstackProviderSpec)
|
||||
return spec.Value.Object.(*machinev1alpha1.OpenstackProviderSpec)
|
||||
}
|
||||
|
||||
func machineConstraints(ci *validation.CloudInfo, machine *machineapi.Machine, networkType string) []quota.Constraint {
|
||||
|
||||
@@ -13,6 +13,7 @@ import (
|
||||
"github.com/gophercloud/gophercloud/openstack/identity/v3/tokens"
|
||||
"github.com/gophercloud/gophercloud/openstack/networking/v2/subnets"
|
||||
"github.com/gophercloud/utils/openstack/clientconfig"
|
||||
machinev1alpha1 "github.com/openshift/api/machine/v1alpha1"
|
||||
"github.com/openshift/installer/pkg/asset/installconfig"
|
||||
installconfig_openstack "github.com/openshift/installer/pkg/asset/installconfig/openstack"
|
||||
"github.com/openshift/installer/pkg/asset/machines"
|
||||
@@ -22,9 +23,6 @@ import (
|
||||
types_openstack "github.com/openshift/installer/pkg/types/openstack"
|
||||
openstackdefaults "github.com/openshift/installer/pkg/types/openstack/defaults"
|
||||
"github.com/pkg/errors"
|
||||
openstackprovider "sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
|
||||
"sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
)
|
||||
|
||||
type config struct {
|
||||
@@ -77,7 +75,7 @@ func TFVars(
|
||||
caCert = string(caFile)
|
||||
}
|
||||
|
||||
var masterSpecs []*openstackprovider.OpenstackProviderSpec
|
||||
var masterSpecs []*machinev1alpha1.OpenstackProviderSpec
|
||||
{
|
||||
masters, err := mastersAsset.Machines()
|
||||
if err != nil {
|
||||
@@ -85,11 +83,11 @@ func TFVars(
|
||||
}
|
||||
|
||||
for _, master := range masters {
|
||||
masterSpecs = append(masterSpecs, master.Spec.ProviderSpec.Value.Object.(*openstackprovider.OpenstackProviderSpec))
|
||||
masterSpecs = append(masterSpecs, master.Spec.ProviderSpec.Value.Object.(*machinev1alpha1.OpenstackProviderSpec))
|
||||
}
|
||||
}
|
||||
|
||||
var workerSpecs []*openstackprovider.OpenstackProviderSpec
|
||||
var workerSpecs []*machinev1alpha1.OpenstackProviderSpec
|
||||
{
|
||||
workers, err := workersAsset.MachineSets()
|
||||
if err != nil {
|
||||
@@ -97,7 +95,7 @@ func TFVars(
|
||||
}
|
||||
|
||||
for _, worker := range workers {
|
||||
workerSpecs = append(workerSpecs, worker.Spec.Template.Spec.ProviderSpec.Value.Object.(*openstackprovider.OpenstackProviderSpec))
|
||||
workerSpecs = append(workerSpecs, worker.Spec.Template.Spec.ProviderSpec.Value.Object.(*machinev1alpha1.OpenstackProviderSpec))
|
||||
}
|
||||
}
|
||||
// Only considering the first Compute machinepool here, because
|
||||
@@ -141,7 +139,7 @@ func TFVars(
|
||||
)
|
||||
}
|
||||
|
||||
func tfVars(masterConfigs []*v1alpha1.OpenstackProviderSpec, workerConfigs []*v1alpha1.OpenstackProviderSpec, cloud string, externalNetwork string, externalDNS []string, apiFloatingIP string, ingressFloatingIP string, apiVIP string, ingressVIP string, baseImage string, baseImageProperties map[string]string, infraID string, userCA string, bootstrapIgn string, mastermpool, workermpool, defaultmpool *types_openstack.MachinePool, machinesSubnet string, proxy *types.Proxy) ([]byte, error) {
|
||||
func tfVars(masterConfigs []*machinev1alpha1.OpenstackProviderSpec, workerConfigs []*machinev1alpha1.OpenstackProviderSpec, cloud string, externalNetwork string, externalDNS []string, apiFloatingIP string, ingressFloatingIP string, apiVIP string, ingressVIP string, baseImage string, baseImageProperties map[string]string, infraID string, userCA string, bootstrapIgn string, mastermpool, workermpool, defaultmpool *types_openstack.MachinePool, machinesSubnet string, proxy *types.Proxy) ([]byte, error) {
|
||||
zones := []string{}
|
||||
seen := map[string]bool{}
|
||||
for _, config := range masterConfigs {
|
||||
|
||||
7
vendor/github.com/openshift/api/machine/v1alpha1/doc.go
generated
vendored
Normal file
7
vendor/github.com/openshift/api/machine/v1alpha1/doc.go
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +k8s:openapi-gen=true
|
||||
|
||||
// +kubebuilder:validation:Optional
|
||||
// +groupName=machine.openshift.io
|
||||
package v1alpha1
|
||||
38
vendor/github.com/openshift/api/machine/v1alpha1/register.go
generated
vendored
Normal file
38
vendor/github.com/openshift/api/machine/v1alpha1/register.go
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
Copyright 2022 Red Hat, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
)
|
||||
|
||||
const GroupName = "machine.openshift.io"
|
||||
|
||||
var (
|
||||
GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
|
||||
schemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
|
||||
// Install is a function which adds this version to a scheme
|
||||
Install = schemeBuilder.AddToScheme
|
||||
)
|
||||
|
||||
// Adds the list of known types to api.Scheme.
|
||||
func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
metav1.AddToGroupVersion(scheme, GroupVersion)
|
||||
return nil
|
||||
}
|
||||
365
vendor/github.com/openshift/api/machine/v1alpha1/types_openstack.go
generated
vendored
Normal file
365
vendor/github.com/openshift/api/machine/v1alpha1/types_openstack.go
generated
vendored
Normal file
@@ -0,0 +1,365 @@
|
||||
/*
|
||||
Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field
|
||||
// for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance.
|
||||
// +k8s:openapi-gen=true
|
||||
// Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
|
||||
// +openshift:compatibility-gen:level=4
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
type OpenstackProviderSpec struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
||||
// The name of the secret containing the openstack credentials
|
||||
CloudsSecret *corev1.SecretReference `json:"cloudsSecret"`
|
||||
|
||||
// The name of the cloud to use from the clouds secret
|
||||
CloudName string `json:"cloudName"`
|
||||
|
||||
// The flavor reference for the flavor for your server instance.
|
||||
Flavor string `json:"flavor"`
|
||||
|
||||
// The name of the image to use for your server instance.
|
||||
// If the RootVolume is specified, this will be ignored and use rootVolume directly.
|
||||
Image string `json:"image"`
|
||||
|
||||
// The ssh key to inject in the instance
|
||||
KeyName string `json:"keyName,omitempty"`
|
||||
|
||||
// The machine ssh username
|
||||
SshUserName string `json:"sshUserName,omitempty"`
|
||||
|
||||
// A networks object. Required parameter when there are multiple networks defined for the tenant.
|
||||
// When you do not specify the networks parameter, the server attaches to the only network created for the current tenant.
|
||||
Networks []NetworkParam `json:"networks,omitempty"`
|
||||
|
||||
// Create and assign additional ports to instances
|
||||
Ports []PortOpts `json:"ports,omitempty"`
|
||||
|
||||
// floatingIP specifies a floating IP to be associated with the machine.
|
||||
// Note that it is not safe to use this parameter in a MachineSet, as
|
||||
// only one Machine may be assigned the same floating IP.
|
||||
//
|
||||
// Deprecated: floatingIP will be removed in a future release as it cannot be implemented correctly.
|
||||
FloatingIP string `json:"floatingIP,omitempty"`
|
||||
|
||||
// The availability zone from which to launch the server.
|
||||
AvailabilityZone string `json:"availabilityZone,omitempty"`
|
||||
|
||||
// The names of the security groups to assign to the instance
|
||||
SecurityGroups []SecurityGroupParam `json:"securityGroups,omitempty"`
|
||||
|
||||
// The name of the secret containing the user data (startup script in most cases)
|
||||
UserDataSecret *corev1.SecretReference `json:"userDataSecret,omitempty"`
|
||||
|
||||
// Whether the server instance is created on a trunk port or not.
|
||||
Trunk bool `json:"trunk,omitempty"`
|
||||
|
||||
// Machine tags
|
||||
// Requires Nova api 2.52 minimum!
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
|
||||
// Metadata mapping. Allows you to create a map of key value pairs to add to the server instance.
|
||||
ServerMetadata map[string]string `json:"serverMetadata,omitempty"`
|
||||
|
||||
// Config Drive support
|
||||
ConfigDrive *bool `json:"configDrive,omitempty"`
|
||||
|
||||
// The volume metadata to boot from
|
||||
RootVolume *RootVolume `json:"rootVolume,omitempty"`
|
||||
|
||||
// The server group to assign the machine to.
|
||||
ServerGroupID string `json:"serverGroupID,omitempty"`
|
||||
|
||||
// The server group to assign the machine to. A server group with that
|
||||
// name will be created if it does not exist. If both ServerGroupID and
|
||||
// ServerGroupName are non-empty, they must refer to the same OpenStack
|
||||
// resource.
|
||||
ServerGroupName string `json:"serverGroupName,omitempty"`
|
||||
|
||||
// The subnet that a set of machines will get ingress/egress traffic from
|
||||
PrimarySubnet string `json:"primarySubnet,omitempty"`
|
||||
}
|
||||
|
||||
type SecurityGroupParam struct {
|
||||
// Security Group UUID
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
// Security Group name
|
||||
Name string `json:"name,omitempty"`
|
||||
// Filters used to query security groups in openstack
|
||||
Filter SecurityGroupFilter `json:"filter,omitempty"`
|
||||
}
|
||||
|
||||
type SecurityGroupFilter struct {
|
||||
// id specifies the ID of a security group to use. If set, id will not
|
||||
// be validated before use. An invalid id will result in failure to
|
||||
// create a server with an appropriate error message.
|
||||
ID string `json:"id,omitempty"`
|
||||
// name filters security groups by name.
|
||||
Name string `json:"name,omitempty"`
|
||||
// description filters security groups by description.
|
||||
Description string `json:"description,omitempty"`
|
||||
// tenantId filters security groups by tenant ID.
|
||||
// Deprecated: use projectId instead. tenantId will be ignored if projectId is set.
|
||||
TenantID string `json:"tenantId,omitempty"`
|
||||
// projectId filters security groups by project ID.
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
// tags filters by security groups containing all specified tags.
|
||||
// Multiple tags are comma separated.
|
||||
Tags string `json:"tags,omitempty"`
|
||||
// tagsAny filters by security groups containing any specified tags.
|
||||
// Multiple tags are comma separated.
|
||||
TagsAny string `json:"tagsAny,omitempty"`
|
||||
// notTags filters by security groups which don't match all specified tags. NOT (t1 AND t2...)
|
||||
// Multiple tags are comma separated.
|
||||
NotTags string `json:"notTags,omitempty"`
|
||||
// notTagsAny filters by security groups which don't match any specified tags. NOT (t1 OR t2...)
|
||||
// Multiple tags are comma separated.
|
||||
NotTagsAny string `json:"notTagsAny,omitempty"`
|
||||
|
||||
// Deprecated: limit is silently ignored. It has no replacement.
|
||||
DeprecatedLimit int `json:"limit,omitempty"`
|
||||
// Deprecated: marker is silently ignored. It has no replacement.
|
||||
DeprecatedMarker string `json:"marker,omitempty"`
|
||||
// Deprecated: sortKey is silently ignored. It has no replacement.
|
||||
DeprecatedSortKey string `json:"sortKey,omitempty"`
|
||||
// Deprecated: sortDir is silently ignored. It has no replacement.
|
||||
DeprecatedSortDir string `json:"sortDir,omitempty"`
|
||||
}
|
||||
|
||||
type NetworkParam struct {
|
||||
// The UUID of the network. Required if you omit the port attribute.
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
// A fixed IPv4 address for the NIC.
|
||||
FixedIp string `json:"fixedIp,omitempty"`
|
||||
// Filters for optional network query
|
||||
Filter Filter `json:"filter,omitempty"`
|
||||
// Subnet within a network to use
|
||||
Subnets []SubnetParam `json:"subnets,omitempty"`
|
||||
// NoAllowedAddressPairs disables creation of allowed address pairs for the network ports
|
||||
NoAllowedAddressPairs bool `json:"noAllowedAddressPairs,omitempty"`
|
||||
// PortTags allows users to specify a list of tags to add to ports created in a given network
|
||||
PortTags []string `json:"portTags,omitempty"`
|
||||
// The virtual network interface card (vNIC) type that is bound to the
|
||||
// neutron port.
|
||||
VNICType string `json:"vnicType,omitempty"`
|
||||
// A dictionary that enables the application running on the specified
|
||||
// host to pass and receive virtual network interface (VIF) port-specific
|
||||
// information to the plug-in.
|
||||
Profile map[string]string `json:"profile,omitempty"`
|
||||
// PortSecurity optionally enables or disables security on ports managed by OpenStack
|
||||
PortSecurity *bool `json:"portSecurity,omitempty"`
|
||||
}
|
||||
|
||||
type Filter struct {
|
||||
// Deprecated: use NetworkParam.uuid instead. Ignored if NetworkParam.uuid is set.
|
||||
ID string `json:"id,omitempty"`
|
||||
// name filters networks by name.
|
||||
Name string `json:"name,omitempty"`
|
||||
// description filters networks by description.
|
||||
Description string `json:"description,omitempty"`
|
||||
// tenantId filters networks by tenant ID.
|
||||
// Deprecated: use projectId instead. tenantId will be ignored if projectId is set.
|
||||
TenantID string `json:"tenantId,omitempty"`
|
||||
// projectId filters networks by project ID.
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
// tags filters by networks containing all specified tags.
|
||||
// Multiple tags are comma separated.
|
||||
Tags string `json:"tags,omitempty"`
|
||||
// tagsAny filters by networks containing any specified tags.
|
||||
// Multiple tags are comma separated.
|
||||
TagsAny string `json:"tagsAny,omitempty"`
|
||||
// notTags filters by networks which don't match all specified tags. NOT (t1 AND t2...)
|
||||
// Multiple tags are comma separated.
|
||||
NotTags string `json:"notTags,omitempty"`
|
||||
// notTagsAny filters by networks which don't match any specified tags. NOT (t1 OR t2...)
|
||||
// Multiple tags are comma separated.
|
||||
NotTagsAny string `json:"notTagsAny,omitempty"`
|
||||
|
||||
// Deprecated: status is silently ignored. It has no replacement.
|
||||
DeprecatedStatus string `json:"status,omitempty"`
|
||||
// Deprecated: adminStateUp is silently ignored. It has no replacement.
|
||||
DeprecatedAdminStateUp *bool `json:"adminStateUp,omitempty"`
|
||||
// Deprecated: shared is silently ignored. It has no replacement.
|
||||
DeprecatedShared *bool `json:"shared,omitempty"`
|
||||
// Deprecated: marker is silently ignored. It has no replacement.
|
||||
DeprecatedMarker string `json:"marker,omitempty"`
|
||||
// Deprecated: limit is silently ignored. It has no replacement.
|
||||
DeprecatedLimit int `json:"limit,omitempty"`
|
||||
// Deprecated: sortKey is silently ignored. It has no replacement.
|
||||
DeprecatedSortKey string `json:"sortKey,omitempty"`
|
||||
// Deprecated: sortDir is silently ignored. It has no replacement.
|
||||
DeprecatedSortDir string `json:"sortDir,omitempty"`
|
||||
}
|
||||
|
||||
type SubnetParam struct {
|
||||
// The UUID of the network. Required if you omit the port attribute.
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
|
||||
// Filters for optional network query
|
||||
Filter SubnetFilter `json:"filter,omitempty"`
|
||||
|
||||
// PortTags are tags that are added to ports created on this subnet
|
||||
PortTags []string `json:"portTags,omitempty"`
|
||||
|
||||
// PortSecurity optionally enables or disables security on ports managed by OpenStack
|
||||
PortSecurity *bool `json:"portSecurity,omitempty"`
|
||||
}
|
||||
|
||||
type SubnetFilter struct {
|
||||
// id is the uuid of a specific subnet to use. If specified, id will not
|
||||
// be validated. Instead server creation will fail with an appropriate
|
||||
// error.
|
||||
ID string `json:"id,omitempty"`
|
||||
// name filters subnets by name.
|
||||
Name string `json:"name,omitempty"`
|
||||
// description filters subnets by description.
|
||||
Description string `json:"description,omitempty"`
|
||||
// Deprecated: networkId is silently ignored. Set uuid on the containing network definition instead.
|
||||
NetworkID string `json:"networkId,omitempty"`
|
||||
// tenantId filters subnets by tenant ID.
|
||||
// Deprecated: use projectId instead. tenantId will be ignored if projectId is set.
|
||||
TenantID string `json:"tenantId,omitempty"`
|
||||
// projectId filters subnets by project ID.
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
// ipVersion filters subnets by IP version.
|
||||
IPVersion int `json:"ipVersion,omitempty"`
|
||||
// gateway_ip filters subnets by gateway IP.
|
||||
GatewayIP string `json:"gateway_ip,omitempty"`
|
||||
// cidr filters subnets by CIDR.
|
||||
CIDR string `json:"cidr,omitempty"`
|
||||
// ipv6AddressMode filters subnets by IPv6 address mode.
|
||||
IPv6AddressMode string `json:"ipv6AddressMode,omitempty"`
|
||||
// ipv6RaMode filters subnets by IPv6 router adversiement mode.
|
||||
IPv6RAMode string `json:"ipv6RaMode,omitempty"`
|
||||
// subnetpoolId filters subnets by subnet pool ID.
|
||||
SubnetPoolID string `json:"subnetpoolId,omitempty"`
|
||||
// tags filters by subnets containing all specified tags.
|
||||
// Multiple tags are comma separated.
|
||||
Tags string `json:"tags,omitempty"`
|
||||
// tagsAny filters by subnets containing any specified tags.
|
||||
// Multiple tags are comma separated.
|
||||
TagsAny string `json:"tagsAny,omitempty"`
|
||||
// notTags filters by subnets which don't match all specified tags. NOT (t1 AND t2...)
|
||||
// Multiple tags are comma separated.
|
||||
NotTags string `json:"notTags,omitempty"`
|
||||
// notTagsAny filters by subnets which don't match any specified tags. NOT (t1 OR t2...)
|
||||
// Multiple tags are comma separated.
|
||||
NotTagsAny string `json:"notTagsAny,omitempty"`
|
||||
|
||||
// Deprecated: enableDhcp is silently ignored. It has no replacement.
|
||||
DeprecatedEnableDHCP *bool `json:"enableDhcp,omitempty"`
|
||||
// Deprecated: limit is silently ignored. It has no replacement.
|
||||
DeprecatedLimit int `json:"limit,omitempty"`
|
||||
// Deprecated: marker is silently ignored. It has no replacement.
|
||||
DeprecatedMarker string `json:"marker,omitempty"`
|
||||
// Deprecated: sortKey is silently ignored. It has no replacement.
|
||||
DeprecatedSortKey string `json:"sortKey,omitempty"`
|
||||
// Deprecated: sortDir is silently ignored. It has no replacement.
|
||||
DeprecatedSortDir string `json:"sortDir,omitempty"`
|
||||
}
|
||||
|
||||
type PortOpts struct {
|
||||
// networkID is the ID of the network the port will be created in. It is required.
|
||||
// +required
|
||||
NetworkID string `json:"networkID"`
|
||||
// If nameSuffix is specified the created port will be named <machine name>-<nameSuffix>.
|
||||
// If not specified the port will be named <machine-name>-<index of this port>.
|
||||
NameSuffix string `json:"nameSuffix,omitempty"`
|
||||
// description specifies the description of the created port.
|
||||
Description string `json:"description,omitempty"`
|
||||
// adminStateUp sets the administrative state of the created port to up (true), or down (false).
|
||||
AdminStateUp *bool `json:"adminStateUp,omitempty"`
|
||||
// macAddress specifies the MAC address of the created port.
|
||||
MACAddress string `json:"macAddress,omitempty"`
|
||||
// fixedIPs specifies a set of fixed IPs to assign to the port. They must all be valid for the port's network.
|
||||
FixedIPs []FixedIPs `json:"fixedIPs,omitempty"`
|
||||
// tenantID specifies the tenant ID of the created port. Note that this
|
||||
// requires OpenShift to have administrative permissions, which is
|
||||
// typically not the case. Use of this field is not recommended.
|
||||
// Deprecated: use projectID instead. It will be ignored if projectID is set.
|
||||
TenantID string `json:"tenantID,omitempty"`
|
||||
// projectID specifies the project ID of the created port. Note that this
|
||||
// requires OpenShift to have administrative permissions, which is
|
||||
// typically not the case. Use of this field is not recommended.
|
||||
ProjectID string `json:"projectID,omitempty"`
|
||||
// securityGroups specifies a set of security group UUIDs to use instead
|
||||
// of the machine's default security groups. The default security groups
|
||||
// will be used if this is left empty or not specified.
|
||||
SecurityGroups *[]string `json:"securityGroups,omitempty"`
|
||||
// allowedAddressPairs specifies a set of allowed address pairs to add to the port.
|
||||
AllowedAddressPairs []AddressPair `json:"allowedAddressPairs,omitempty"`
|
||||
// tags species a set of tags to add to the port.
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
// The virtual network interface card (vNIC) type that is bound to the
|
||||
// neutron port.
|
||||
VNICType string `json:"vnicType,omitempty"`
|
||||
// A dictionary that enables the application running on the specified
|
||||
// host to pass and receive virtual network interface (VIF) port-specific
|
||||
// information to the plug-in.
|
||||
Profile map[string]string `json:"profile,omitempty"`
|
||||
// enable or disable security on a given port
|
||||
// incompatible with securityGroups and allowedAddressPairs
|
||||
PortSecurity *bool `json:"portSecurity,omitempty"`
|
||||
// Enables and disables trunk at port level. If not provided, openStackMachine.Spec.Trunk is inherited.
|
||||
Trunk *bool `json:"trunk,omitempty"`
|
||||
|
||||
// The ID of the host where the port is allocated. Do not use this
|
||||
// field: it cannot be used correctly.
|
||||
// Deprecated: hostID is silently ignored. It will be removed with no replacement.
|
||||
DeprecatedHostID string `json:"hostID,omitempty"`
|
||||
}
|
||||
|
||||
type AddressPair struct {
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
MACAddress string `json:"macAddress,omitempty"`
|
||||
}
|
||||
|
||||
type FixedIPs struct {
|
||||
// subnetID specifies the ID of the subnet where the fixed IP will be allocated.
|
||||
SubnetID string `json:"subnetID"`
|
||||
// ipAddress is a specific IP address to use in the given subnet. Port
|
||||
// creation will fail if the address is not available. If not specified,
|
||||
// an available IP from the given subnet will be selected automatically.
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
}
|
||||
|
||||
type RootVolume struct {
|
||||
// sourceUUID specifies the UUID of a glance image used to populate the root volume.
|
||||
// Deprecated: set image in the platform spec instead. This will be
|
||||
// ignored if image is set in the platform spec.
|
||||
SourceUUID string `json:"sourceUUID,omitempty"`
|
||||
// volumeType specifies a volume type to use when creating the root
|
||||
// volume. If not specified the default volume type will be used.
|
||||
VolumeType string `json:"volumeType,omitempty"`
|
||||
// diskSize specifies the size, in GB, of the created root volume.
|
||||
Size int `json:"diskSize,omitempty"`
|
||||
// availabilityZone specifies the Cinder availability where the root volume will be created.
|
||||
Zone string `json:"availabilityZone,omitempty"`
|
||||
|
||||
// Deprecated: sourceType will be silently ignored. There is no replacement.
|
||||
DeprecatedSourceType string `json:"sourceType,omitempty"`
|
||||
// Deprecated: deviceType will be silently ignored. There is no replacement.
|
||||
DeprecatedDeviceType string `json:"deviceType,omitempty"`
|
||||
}
|
||||
@@ -1,22 +1,7 @@
|
||||
//go:build !ignore_autogenerated
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by main. DO NOT EDIT.
|
||||
// Code generated by deepcopy-gen. DO NOT EDIT.
|
||||
|
||||
package v1alpha1
|
||||
|
||||
@@ -25,16 +10,32 @@ import (
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *AddressPair) DeepCopyInto(out *AddressPair) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressPair.
|
||||
func (in *AddressPair) DeepCopy() *AddressPair {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(AddressPair)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Filter) DeepCopyInto(out *Filter) {
|
||||
*out = *in
|
||||
if in.AdminStateUp != nil {
|
||||
in, out := &in.AdminStateUp, &out.AdminStateUp
|
||||
if in.DeprecatedAdminStateUp != nil {
|
||||
in, out := &in.DeprecatedAdminStateUp, &out.DeprecatedAdminStateUp
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.Shared != nil {
|
||||
in, out := &in.Shared, &out.Shared
|
||||
if in.DeprecatedShared != nil {
|
||||
in, out := &in.DeprecatedShared, &out.DeprecatedShared
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
@@ -52,27 +53,17 @@ func (in *Filter) DeepCopy() *Filter {
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Network) DeepCopyInto(out *Network) {
|
||||
func (in *FixedIPs) DeepCopyInto(out *FixedIPs) {
|
||||
*out = *in
|
||||
if in.Subnet != nil {
|
||||
in, out := &in.Subnet, &out.Subnet
|
||||
*out = new(Subnet)
|
||||
**out = **in
|
||||
}
|
||||
if in.Router != nil {
|
||||
in, out := &in.Router, &out.Router
|
||||
*out = new(Router)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
|
||||
func (in *Network) DeepCopy() *Network {
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedIPs.
|
||||
func (in *FixedIPs) DeepCopy() *FixedIPs {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Network)
|
||||
out := new(FixedIPs)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
@@ -88,6 +79,23 @@ func (in *NetworkParam) DeepCopyInto(out *NetworkParam) {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
if in.PortTags != nil {
|
||||
in, out := &in.PortTags, &out.PortTags
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Profile != nil {
|
||||
in, out := &in.Profile, &out.Profile
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.PortSecurity != nil {
|
||||
in, out := &in.PortSecurity, &out.PortSecurity
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
@@ -101,83 +109,6 @@ func (in *NetworkParam) DeepCopy() *NetworkParam {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *OpenstackClusterProviderSpec) DeepCopyInto(out *OpenstackClusterProviderSpec) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
if in.DNSNameservers != nil {
|
||||
in, out := &in.DNSNameservers, &out.DNSNameservers
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Tags != nil {
|
||||
in, out := &in.Tags, &out.Tags
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackClusterProviderSpec.
|
||||
func (in *OpenstackClusterProviderSpec) DeepCopy() *OpenstackClusterProviderSpec {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(OpenstackClusterProviderSpec)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *OpenstackClusterProviderSpec) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *OpenstackClusterProviderStatus) DeepCopyInto(out *OpenstackClusterProviderStatus) {
|
||||
*out = *in
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
if in.Network != nil {
|
||||
in, out := &in.Network, &out.Network
|
||||
*out = new(Network)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.ControlPlaneSecurityGroup != nil {
|
||||
in, out := &in.ControlPlaneSecurityGroup, &out.ControlPlaneSecurityGroup
|
||||
*out = new(SecurityGroup)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.GlobalSecurityGroup != nil {
|
||||
in, out := &in.GlobalSecurityGroup, &out.GlobalSecurityGroup
|
||||
*out = new(SecurityGroup)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackClusterProviderStatus.
|
||||
func (in *OpenstackClusterProviderStatus) DeepCopy() *OpenstackClusterProviderStatus {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(OpenstackClusterProviderStatus)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
|
||||
func (in *OpenstackClusterProviderStatus) DeepCopyObject() runtime.Object {
|
||||
if c := in.DeepCopy(); c != nil {
|
||||
return c
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *OpenstackProviderSpec) DeepCopyInto(out *OpenstackProviderSpec) {
|
||||
*out = *in
|
||||
@@ -195,6 +126,13 @@ func (in *OpenstackProviderSpec) DeepCopyInto(out *OpenstackProviderSpec) {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
if in.Ports != nil {
|
||||
in, out := &in.Ports, &out.Ports
|
||||
*out = make([]PortOpts, len(*in))
|
||||
for i := range *in {
|
||||
(*in)[i].DeepCopyInto(&(*out)[i])
|
||||
}
|
||||
}
|
||||
if in.SecurityGroups != nil {
|
||||
in, out := &in.SecurityGroups, &out.SecurityGroups
|
||||
*out = make([]SecurityGroupParam, len(*in))
|
||||
@@ -248,6 +186,68 @@ func (in *OpenstackProviderSpec) DeepCopyObject() runtime.Object {
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PortOpts) DeepCopyInto(out *PortOpts) {
|
||||
*out = *in
|
||||
if in.AdminStateUp != nil {
|
||||
in, out := &in.AdminStateUp, &out.AdminStateUp
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.FixedIPs != nil {
|
||||
in, out := &in.FixedIPs, &out.FixedIPs
|
||||
*out = make([]FixedIPs, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.SecurityGroups != nil {
|
||||
in, out := &in.SecurityGroups, &out.SecurityGroups
|
||||
*out = new([]string)
|
||||
if **in != nil {
|
||||
in, out := *in, *out
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
}
|
||||
if in.AllowedAddressPairs != nil {
|
||||
in, out := &in.AllowedAddressPairs, &out.AllowedAddressPairs
|
||||
*out = make([]AddressPair, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Tags != nil {
|
||||
in, out := &in.Tags, &out.Tags
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Profile != nil {
|
||||
in, out := &in.Profile, &out.Profile
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
if in.PortSecurity != nil {
|
||||
in, out := &in.PortSecurity, &out.PortSecurity
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
if in.Trunk != nil {
|
||||
in, out := &in.Trunk, &out.Trunk
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortOpts.
|
||||
func (in *PortOpts) DeepCopy() *PortOpts {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PortOpts)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *RootVolume) DeepCopyInto(out *RootVolume) {
|
||||
*out = *in
|
||||
@@ -264,43 +264,6 @@ func (in *RootVolume) DeepCopy() *RootVolume {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Router) DeepCopyInto(out *Router) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.
|
||||
func (in *Router) DeepCopy() *Router {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Router)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) {
|
||||
*out = *in
|
||||
if in.Rules != nil {
|
||||
in, out := &in.Rules, &out.Rules
|
||||
*out = make([]SecurityGroupRule, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup.
|
||||
func (in *SecurityGroup) DeepCopy() *SecurityGroup {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(SecurityGroup)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *SecurityGroupFilter) DeepCopyInto(out *SecurityGroupFilter) {
|
||||
*out = *in
|
||||
@@ -334,43 +297,11 @@ func (in *SecurityGroupParam) DeepCopy() *SecurityGroupParam {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRule.
|
||||
func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(SecurityGroupRule)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Subnet) DeepCopyInto(out *Subnet) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
|
||||
func (in *Subnet) DeepCopy() *Subnet {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(Subnet)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *SubnetFilter) DeepCopyInto(out *SubnetFilter) {
|
||||
*out = *in
|
||||
if in.EnableDHCP != nil {
|
||||
in, out := &in.EnableDHCP, &out.EnableDHCP
|
||||
if in.DeprecatedEnableDHCP != nil {
|
||||
in, out := &in.DeprecatedEnableDHCP, &out.DeprecatedEnableDHCP
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
@@ -391,6 +322,16 @@ func (in *SubnetFilter) DeepCopy() *SubnetFilter {
|
||||
func (in *SubnetParam) DeepCopyInto(out *SubnetParam) {
|
||||
*out = *in
|
||||
in.Filter.DeepCopyInto(&out.Filter)
|
||||
if in.PortTags != nil {
|
||||
in, out := &in.PortTags, &out.PortTags
|
||||
*out = make([]string, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.PortSecurity != nil {
|
||||
in, out := &in.PortSecurity, &out.PortSecurity
|
||||
*out = new(bool)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
195
vendor/github.com/openshift/api/machine/v1alpha1/zz_generated.swagger_doc_generated.go
generated
vendored
Normal file
195
vendor/github.com/openshift/api/machine/v1alpha1/zz_generated.swagger_doc_generated.go
generated
vendored
Normal file
@@ -0,0 +1,195 @@
|
||||
package v1alpha1
|
||||
|
||||
// This file contains a collection of methods that can be used from go-restful to
|
||||
// generate Swagger API documentation for its models. Please read this PR for more
|
||||
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
|
||||
//
|
||||
// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
|
||||
// they are on one line! For multiple line or blocks that you want to ignore use ---.
|
||||
// Any context after a --- is ignored.
|
||||
//
|
||||
// Those methods can be generated by using hack/update-swagger-docs.sh
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS START HERE
|
||||
var map_Filter = map[string]string{
|
||||
"id": "Deprecated: use NetworkParam.uuid instead. Ignored if NetworkParam.uuid is set.",
|
||||
"name": "name filters networks by name.",
|
||||
"description": "description filters networks by description.",
|
||||
"tenantId": "tenantId filters networks by tenant ID. Deprecated: use projectId instead. tenantId will be ignored if projectId is set.",
|
||||
"projectId": "projectId filters networks by project ID.",
|
||||
"tags": "tags filters by networks containing all specified tags. Multiple tags are comma separated.",
|
||||
"tagsAny": "tagsAny filters by networks containing any specified tags. Multiple tags are comma separated.",
|
||||
"notTags": "notTags filters by networks which don't match all specified tags. NOT (t1 AND t2...) Multiple tags are comma separated.",
|
||||
"notTagsAny": "notTagsAny filters by networks which don't match any specified tags. NOT (t1 OR t2...) Multiple tags are comma separated.",
|
||||
"status": "Deprecated: status is silently ignored. It has no replacement.",
|
||||
"adminStateUp": "Deprecated: adminStateUp is silently ignored. It has no replacement.",
|
||||
"shared": "Deprecated: shared is silently ignored. It has no replacement.",
|
||||
"marker": "Deprecated: marker is silently ignored. It has no replacement.",
|
||||
"limit": "Deprecated: limit is silently ignored. It has no replacement.",
|
||||
"sortKey": "Deprecated: sortKey is silently ignored. It has no replacement.",
|
||||
"sortDir": "Deprecated: sortDir is silently ignored. It has no replacement.",
|
||||
}
|
||||
|
||||
func (Filter) SwaggerDoc() map[string]string {
|
||||
return map_Filter
|
||||
}
|
||||
|
||||
var map_FixedIPs = map[string]string{
|
||||
"subnetID": "subnetID specifies the ID of the subnet where the fixed IP will be allocated.",
|
||||
"ipAddress": "ipAddress is a specific IP address to use in the given subnet. Port creation will fail if the address is not available. If not specified, an available IP from the given subnet will be selected automatically.",
|
||||
}
|
||||
|
||||
func (FixedIPs) SwaggerDoc() map[string]string {
|
||||
return map_FixedIPs
|
||||
}
|
||||
|
||||
var map_NetworkParam = map[string]string{
|
||||
"uuid": "The UUID of the network. Required if you omit the port attribute.",
|
||||
"fixedIp": "A fixed IPv4 address for the NIC.",
|
||||
"filter": "Filters for optional network query",
|
||||
"subnets": "Subnet within a network to use",
|
||||
"noAllowedAddressPairs": "NoAllowedAddressPairs disables creation of allowed address pairs for the network ports",
|
||||
"portTags": "PortTags allows users to specify a list of tags to add to ports created in a given network",
|
||||
"vnicType": "The virtual network interface card (vNIC) type that is bound to the neutron port.",
|
||||
"profile": "A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.",
|
||||
"portSecurity": "PortSecurity optionally enables or disables security on ports managed by OpenStack",
|
||||
}
|
||||
|
||||
func (NetworkParam) SwaggerDoc() map[string]string {
|
||||
return map_NetworkParam
|
||||
}
|
||||
|
||||
var map_OpenstackProviderSpec = map[string]string{
|
||||
"": "OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.",
|
||||
"cloudsSecret": "The name of the secret containing the openstack credentials",
|
||||
"cloudName": "The name of the cloud to use from the clouds secret",
|
||||
"flavor": "The flavor reference for the flavor for your server instance.",
|
||||
"image": "The name of the image to use for your server instance. If the RootVolume is specified, this will be ignored and use rootVolume directly.",
|
||||
"keyName": "The ssh key to inject in the instance",
|
||||
"sshUserName": "The machine ssh username",
|
||||
"networks": "A networks object. Required parameter when there are multiple networks defined for the tenant. When you do not specify the networks parameter, the server attaches to the only network created for the current tenant.",
|
||||
"ports": "Create and assign additional ports to instances",
|
||||
"floatingIP": "floatingIP specifies a floating IP to be associated with the machine. Note that it is not safe to use this parameter in a MachineSet, as only one Machine may be assigned the same floating IP.\n\nDeprecated: floatingIP will be removed in a future release as it cannot be implemented correctly.",
|
||||
"availabilityZone": "The availability zone from which to launch the server.",
|
||||
"securityGroups": "The names of the security groups to assign to the instance",
|
||||
"userDataSecret": "The name of the secret containing the user data (startup script in most cases)",
|
||||
"trunk": "Whether the server instance is created on a trunk port or not.",
|
||||
"tags": "Machine tags Requires Nova api 2.52 minimum!",
|
||||
"serverMetadata": "Metadata mapping. Allows you to create a map of key value pairs to add to the server instance.",
|
||||
"configDrive": "Config Drive support",
|
||||
"rootVolume": "The volume metadata to boot from",
|
||||
"serverGroupID": "The server group to assign the machine to.",
|
||||
"serverGroupName": "The server group to assign the machine to. A server group with that name will be created if it does not exist. If both ServerGroupID and ServerGroupName are non-empty, they must refer to the same OpenStack resource.",
|
||||
"primarySubnet": "The subnet that a set of machines will get ingress/egress traffic from",
|
||||
}
|
||||
|
||||
func (OpenstackProviderSpec) SwaggerDoc() map[string]string {
|
||||
return map_OpenstackProviderSpec
|
||||
}
|
||||
|
||||
var map_PortOpts = map[string]string{
|
||||
"networkID": "networkID is the ID of the network the port will be created in. It is required.",
|
||||
"nameSuffix": "If nameSuffix is specified the created port will be named <machine name>-<nameSuffix>. If not specified the port will be named <machine-name>-<index of this port>.",
|
||||
"description": "description specifies the description of the created port.",
|
||||
"adminStateUp": "adminStateUp sets the administrative state of the created port to up (true), or down (false).",
|
||||
"macAddress": "macAddress specifies the MAC address of the created port.",
|
||||
"fixedIPs": "fixedIPs specifies a set of fixed IPs to assign to the port. They must all be valid for the port's network.",
|
||||
"tenantID": "tenantID specifies the tenant ID of the created port. Note that this requires OpenShift to have administrative permissions, which is typically not the case. Use of this field is not recommended. Deprecated: use projectID instead. It will be ignored if projectID is set.",
|
||||
"projectID": "projectID specifies the project ID of the created port. Note that this requires OpenShift to have administrative permissions, which is typically not the case. Use of this field is not recommended.",
|
||||
"securityGroups": "securityGroups specifies a set of security group UUIDs to use instead of the machine's default security groups. The default security groups will be used if this is left empty or not specified.",
|
||||
"allowedAddressPairs": "allowedAddressPairs specifies a set of allowed address pairs to add to the port.",
|
||||
"tags": "tags species a set of tags to add to the port.",
|
||||
"vnicType": "The virtual network interface card (vNIC) type that is bound to the neutron port.",
|
||||
"profile": "A dictionary that enables the application running on the specified host to pass and receive virtual network interface (VIF) port-specific information to the plug-in.",
|
||||
"portSecurity": "enable or disable security on a given port incompatible with securityGroups and allowedAddressPairs",
|
||||
"trunk": "Enables and disables trunk at port level. If not provided, openStackMachine.Spec.Trunk is inherited.",
|
||||
"hostID": "The ID of the host where the port is allocated. Do not use this field: it cannot be used correctly. Deprecated: hostID is silently ignored. It will be removed with no replacement.",
|
||||
}
|
||||
|
||||
func (PortOpts) SwaggerDoc() map[string]string {
|
||||
return map_PortOpts
|
||||
}
|
||||
|
||||
var map_RootVolume = map[string]string{
|
||||
"sourceUUID": "sourceUUID specifies the UUID of a glance image used to populate the root volume. Deprecated: set image in the platform spec instead. This will be ignored if image is set in the platform spec.",
|
||||
"volumeType": "volumeType specifies a volume type to use when creating the root volume. If not specified the default volume type will be used.",
|
||||
"diskSize": "diskSize specifies the size, in GB, of the created root volume.",
|
||||
"availabilityZone": "availabilityZone specifies the Cinder availability where the root volume will be created.",
|
||||
"sourceType": "Deprecated: sourceType will be silently ignored. There is no replacement.",
|
||||
"deviceType": "Deprecated: deviceType will be silently ignored. There is no replacement.",
|
||||
}
|
||||
|
||||
func (RootVolume) SwaggerDoc() map[string]string {
|
||||
return map_RootVolume
|
||||
}
|
||||
|
||||
var map_SecurityGroupFilter = map[string]string{
|
||||
"id": "id specifies the ID of a security group to use. If set, id will not be validated before use. An invalid id will result in failure to create a server with an appropriate error message.",
|
||||
"name": "name filters security groups by name.",
|
||||
"description": "description filters security groups by description.",
|
||||
"tenantId": "tenantId filters security groups by tenant ID. Deprecated: use projectId instead. tenantId will be ignored if projectId is set.",
|
||||
"projectId": "projectId filters security groups by project ID.",
|
||||
"tags": "tags filters by security groups containing all specified tags. Multiple tags are comma separated.",
|
||||
"tagsAny": "tagsAny filters by security groups containing any specified tags. Multiple tags are comma separated.",
|
||||
"notTags": "notTags filters by security groups which don't match all specified tags. NOT (t1 AND t2...) Multiple tags are comma separated.",
|
||||
"notTagsAny": "notTagsAny filters by security groups which don't match any specified tags. NOT (t1 OR t2...) Multiple tags are comma separated.",
|
||||
"limit": "Deprecated: limit is silently ignored. It has no replacement.",
|
||||
"marker": "Deprecated: marker is silently ignored. It has no replacement.",
|
||||
"sortKey": "Deprecated: sortKey is silently ignored. It has no replacement.",
|
||||
"sortDir": "Deprecated: sortDir is silently ignored. It has no replacement.",
|
||||
}
|
||||
|
||||
func (SecurityGroupFilter) SwaggerDoc() map[string]string {
|
||||
return map_SecurityGroupFilter
|
||||
}
|
||||
|
||||
var map_SecurityGroupParam = map[string]string{
|
||||
"uuid": "Security Group UUID",
|
||||
"name": "Security Group name",
|
||||
"filter": "Filters used to query security groups in openstack",
|
||||
}
|
||||
|
||||
func (SecurityGroupParam) SwaggerDoc() map[string]string {
|
||||
return map_SecurityGroupParam
|
||||
}
|
||||
|
||||
var map_SubnetFilter = map[string]string{
|
||||
"id": "id is the uuid of a specific subnet to use. If specified, id will not be validated. Instead server creation will fail with an appropriate error.",
|
||||
"name": "name filters subnets by name.",
|
||||
"description": "description filters subnets by description.",
|
||||
"networkId": "Deprecated: networkId is silently ignored. Set uuid on the containing network definition instead.",
|
||||
"tenantId": "tenantId filters subnets by tenant ID. Deprecated: use projectId instead. tenantId will be ignored if projectId is set.",
|
||||
"projectId": "projectId filters subnets by project ID.",
|
||||
"ipVersion": "ipVersion filters subnets by IP version.",
|
||||
"gateway_ip": "gateway_ip filters subnets by gateway IP.",
|
||||
"cidr": "cidr filters subnets by CIDR.",
|
||||
"ipv6AddressMode": "ipv6AddressMode filters subnets by IPv6 address mode.",
|
||||
"ipv6RaMode": "ipv6RaMode filters subnets by IPv6 router adversiement mode.",
|
||||
"subnetpoolId": "subnetpoolId filters subnets by subnet pool ID.",
|
||||
"tags": "tags filters by subnets containing all specified tags. Multiple tags are comma separated.",
|
||||
"tagsAny": "tagsAny filters by subnets containing any specified tags. Multiple tags are comma separated.",
|
||||
"notTags": "notTags filters by subnets which don't match all specified tags. NOT (t1 AND t2...) Multiple tags are comma separated.",
|
||||
"notTagsAny": "notTagsAny filters by subnets which don't match any specified tags. NOT (t1 OR t2...) Multiple tags are comma separated.",
|
||||
"enableDhcp": "Deprecated: enableDhcp is silently ignored. It has no replacement.",
|
||||
"limit": "Deprecated: limit is silently ignored. It has no replacement.",
|
||||
"marker": "Deprecated: marker is silently ignored. It has no replacement.",
|
||||
"sortKey": "Deprecated: sortKey is silently ignored. It has no replacement.",
|
||||
"sortDir": "Deprecated: sortDir is silently ignored. It has no replacement.",
|
||||
}
|
||||
|
||||
func (SubnetFilter) SwaggerDoc() map[string]string {
|
||||
return map_SubnetFilter
|
||||
}
|
||||
|
||||
var map_SubnetParam = map[string]string{
|
||||
"uuid": "The UUID of the network. Required if you omit the port attribute.",
|
||||
"filter": "Filters for optional network query",
|
||||
"portTags": "PortTags are tags that are added to ports created on this subnet",
|
||||
"portSecurity": "PortSecurity optionally enables or disables security on ports managed by OpenStack",
|
||||
}
|
||||
|
||||
func (SubnetParam) SwaggerDoc() map[string]string {
|
||||
return map_SubnetParam
|
||||
}
|
||||
|
||||
// AUTO-GENERATED FUNCTIONS END HERE
|
||||
6
vendor/modules.txt
vendored
6
vendor/modules.txt
vendored
@@ -674,6 +674,7 @@ github.com/opencontainers/image-spec/specs-go/v1
|
||||
## explicit; go 1.18
|
||||
github.com/openshift/api/config/v1
|
||||
github.com/openshift/api/machine/v1
|
||||
github.com/openshift/api/machine/v1alpha1
|
||||
github.com/openshift/api/machine/v1beta1
|
||||
github.com/openshift/api/operator/v1
|
||||
github.com/openshift/api/operator/v1alpha1
|
||||
@@ -1476,10 +1477,6 @@ k8s.io/utils/net
|
||||
k8s.io/utils/pointer
|
||||
k8s.io/utils/strings/slices
|
||||
k8s.io/utils/trace
|
||||
# sigs.k8s.io/cluster-api-provider-openstack v0.0.0 => github.com/openshift/cluster-api-provider-openstack v0.0.0-20211111204942-611d320170af
|
||||
## explicit; go 1.16
|
||||
sigs.k8s.io/cluster-api-provider-openstack/pkg/apis
|
||||
sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1
|
||||
# sigs.k8s.io/controller-runtime v0.11.2
|
||||
## explicit; go 1.17
|
||||
sigs.k8s.io/controller-runtime
|
||||
@@ -1558,7 +1555,6 @@ sigs.k8s.io/yaml
|
||||
# sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v0.4.5
|
||||
# sigs.k8s.io/cluster-api-provider-aws => github.com/openshift/cluster-api-provider-aws v0.2.1-0.20200929152424-eab2e087f366
|
||||
# sigs.k8s.io/cluster-api-provider-azure => github.com/openshift/cluster-api-provider-azure v0.1.0-alpha.3.0.20210626224711-5d94c794092f
|
||||
# sigs.k8s.io/cluster-api-provider-openstack => github.com/openshift/cluster-api-provider-openstack v0.0.0-20211111204942-611d320170af
|
||||
# github.com/openshift/machine-config-operator => github.com/openshift/machine-config-operator v0.0.1-0.20201009041932-4fe8559913b8
|
||||
# k8s.io/client-go => k8s.io/client-go v0.25.0
|
||||
# sigs.k8s.io/controller-tools => sigs.k8s.io/controller-tools v0.3.1-0.20200617211605-651903477185
|
||||
|
||||
201
vendor/sigs.k8s.io/cluster-api-provider-openstack/LICENSE
generated
vendored
201
vendor/sigs.k8s.io/cluster-api-provider-openstack/LICENSE
generated
vendored
@@ -1,201 +0,0 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
39
vendor/sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/apis.go
generated
vendored
39
vendor/sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/apis.go
generated
vendored
@@ -1,39 +0,0 @@
|
||||
/*
|
||||
Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Generate deepcopy for apis
|
||||
//go:generate go run ../../vendor/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./... -h ../../hack/boilerplate.go.txt
|
||||
|
||||
// Package apis contains Kubernetes API groups.
|
||||
package apis
|
||||
|
||||
import (
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"sigs.k8s.io/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig/v1alpha1"
|
||||
)
|
||||
|
||||
// AddToSchemes may be used to add all resources defined in the project to a Scheme
|
||||
var AddToSchemes runtime.SchemeBuilder
|
||||
|
||||
func init() {
|
||||
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
|
||||
AddToSchemes = append(AddToSchemes, v1alpha1.SchemeBuilder.AddToScheme)
|
||||
}
|
||||
|
||||
// AddToScheme adds all Resources to the Scheme
|
||||
func AddToScheme(s *runtime.Scheme) error {
|
||||
return AddToSchemes.AddToScheme(s)
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
/*
|
||||
Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +k8s:conversion-gen=github.com/openshift/cluster-api-provider-openstack/pkg/apis/openstackproviderconfig
|
||||
// +k8s:openapi-gen=true
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=openstackproviderconfig.openshift.io
|
||||
package v1alpha1
|
||||
@@ -1,70 +0,0 @@
|
||||
/*
|
||||
Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
"k8s.io/apimachinery/pkg/util/json"
|
||||
"sigs.k8s.io/yaml"
|
||||
|
||||
machinev1 "github.com/openshift/api/machine/v1beta1"
|
||||
"sigs.k8s.io/controller-runtime/pkg/scheme"
|
||||
)
|
||||
|
||||
const GroupName = "openstackproviderconfig"
|
||||
|
||||
var (
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
SchemeGroupVersion = schema.GroupVersion{Group: "openstackproviderconfig.openshift.io", Version: "v1alpha1"}
|
||||
|
||||
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
|
||||
SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
|
||||
)
|
||||
|
||||
// MachineSpecFromProviderSpec unmarshals a provider status into an OpenStack Machine Status type
|
||||
func MachineSpecFromProviderSpec(providerSpec machinev1.ProviderSpec) (*OpenstackProviderSpec, error) {
|
||||
if providerSpec.Value == nil {
|
||||
return nil, errors.New("no such providerSpec found in manifest")
|
||||
}
|
||||
|
||||
var config OpenstackProviderSpec
|
||||
if err := yaml.Unmarshal(providerSpec.Value.Raw, &config); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &config, nil
|
||||
}
|
||||
|
||||
func EncodeClusterStatus(status *OpenstackClusterProviderStatus) (*runtime.RawExtension, error) {
|
||||
if status == nil {
|
||||
return &runtime.RawExtension{}, nil
|
||||
}
|
||||
|
||||
var rawBytes []byte
|
||||
var err error
|
||||
|
||||
// TODO: use apimachinery conversion https://godoc.org/k8s.io/apimachinery/pkg/runtime#Convert_runtime_Object_To_runtime_RawExtension
|
||||
if rawBytes, err = json.Marshal(status); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return &runtime.RawExtension{
|
||||
Raw: rawBytes,
|
||||
}, nil
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
Copyright 2019 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
// SecurityGroup represents the basic information of the associated
|
||||
// OpenStack Neutron Security Group.
|
||||
type SecurityGroup struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
Rules []SecurityGroupRule `json:"rules"`
|
||||
}
|
||||
|
||||
// SecurityGroupRule represent the basic information of the associated OpenStack
|
||||
// Security Group Role.
|
||||
type SecurityGroupRule struct {
|
||||
ID string `json:"name"`
|
||||
Direction string `json:"direction"`
|
||||
EtherType string `json:"etherType"`
|
||||
SecurityGroupID string `json:"securityGroupID"`
|
||||
PortRangeMin int `json:"portRangeMin"`
|
||||
PortRangeMax int `json:"portRangeMax"`
|
||||
Protocol string `json:"protocol"`
|
||||
RemoteGroupID string `json:"remoteGroupID"`
|
||||
RemoteIPPrefix string `json:"remoteIPPrefix"`
|
||||
}
|
||||
|
||||
// Equal checks if two SecurityGroupRules are the same.
|
||||
func (r SecurityGroupRule) Equal(x SecurityGroupRule) bool {
|
||||
return (r.Direction == x.Direction &&
|
||||
r.EtherType == x.EtherType &&
|
||||
r.PortRangeMin == x.PortRangeMin &&
|
||||
r.PortRangeMax == x.PortRangeMax &&
|
||||
r.Protocol == x.Protocol &&
|
||||
r.RemoteGroupID == x.RemoteGroupID &&
|
||||
r.RemoteIPPrefix == x.RemoteIPPrefix)
|
||||
|
||||
}
|
||||
@@ -1,337 +0,0 @@
|
||||
/*
|
||||
Copyright 2018 The Kubernetes Authors.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field
|
||||
// for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance.
|
||||
// TODO(cglaubitz): We might consider to change this to OpenstackMachineProviderSpec
|
||||
// +k8s:openapi-gen=true
|
||||
type OpenstackProviderSpec struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
||||
// The name of the secret containing the openstack credentials
|
||||
CloudsSecret *corev1.SecretReference `json:"cloudsSecret"`
|
||||
|
||||
// The name of the cloud to use from the clouds secret
|
||||
CloudName string `json:"cloudName"`
|
||||
|
||||
// The flavor reference for the flavor for your server instance.
|
||||
Flavor string `json:"flavor"`
|
||||
|
||||
// The name of the image to use for your server instance.
|
||||
// If the RootVolume is specified, this will be ignored and use rootVolume directly.
|
||||
Image string `json:"image"`
|
||||
|
||||
// The ssh key to inject in the instance
|
||||
KeyName string `json:"keyName,omitempty"`
|
||||
|
||||
// The machine ssh username
|
||||
SshUserName string `json:"sshUserName,omitempty"`
|
||||
|
||||
// A networks object. Required parameter when there are multiple networks defined for the tenant.
|
||||
// When you do not specify the networks parameter, the server attaches to the only network created for the current tenant.
|
||||
Networks []NetworkParam `json:"networks,omitempty"`
|
||||
|
||||
// Create and assign additional ports to instances
|
||||
Ports []PortOpts `json:"ports,omitempty"`
|
||||
|
||||
FloatingIP string `json:"floatingIP,omitempty"`
|
||||
|
||||
// The availability zone from which to launch the server.
|
||||
AvailabilityZone string `json:"availabilityZone,omitempty"`
|
||||
|
||||
// The names of the security groups to assign to the instance
|
||||
SecurityGroups []SecurityGroupParam `json:"securityGroups,omitempty"`
|
||||
|
||||
// The name of the secret containing the user data (startup script in most cases)
|
||||
UserDataSecret *corev1.SecretReference `json:"userDataSecret,omitempty"`
|
||||
|
||||
// Whether the server instance is created on a trunk port or not.
|
||||
Trunk bool `json:"trunk,omitempty"`
|
||||
|
||||
// Machine tags
|
||||
// Requires Nova api 2.52 minimum!
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
|
||||
// Metadata mapping. Allows you to create a map of key value pairs to add to the server instance.
|
||||
ServerMetadata map[string]string `json:"serverMetadata,omitempty"`
|
||||
|
||||
// Config Drive support
|
||||
ConfigDrive *bool `json:"configDrive,omitempty"`
|
||||
|
||||
// The volume metadata to boot from
|
||||
RootVolume *RootVolume `json:"rootVolume,omitempty"`
|
||||
|
||||
// The server group to assign the machine to.
|
||||
ServerGroupID string `json:"serverGroupID,omitempty"`
|
||||
|
||||
// The server group to assign the machine to. A server group with that
|
||||
// name will be created if it does not exist. If both ServerGroupID and
|
||||
// ServerGroupName are non-empty, they must refer to the same OpenStack
|
||||
// resource.
|
||||
ServerGroupName string `json:"serverGroupName,omitempty"`
|
||||
|
||||
// The subnet that a set of machines will get ingress/egress traffic from
|
||||
PrimarySubnet string `json:"primarySubnet,omitempty"`
|
||||
}
|
||||
|
||||
type SecurityGroupParam struct {
|
||||
// Security Group UID
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
// Security Group name
|
||||
Name string `json:"name,omitempty"`
|
||||
// Filters used to query security groups in openstack
|
||||
Filter SecurityGroupFilter `json:"filter,omitempty"`
|
||||
}
|
||||
|
||||
type SecurityGroupFilter struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
TenantID string `json:"tenantId,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
Marker string `json:"marker,omitempty"`
|
||||
SortKey string `json:"sortKey,omitempty"`
|
||||
SortDir string `json:"sortDir,omitempty"`
|
||||
Tags string `json:"tags,omitempty"`
|
||||
TagsAny string `json:"tagsAny,omitempty"`
|
||||
NotTags string `json:"notTags,omitempty"`
|
||||
NotTagsAny string `json:"notTagsAny,omitempty"`
|
||||
}
|
||||
|
||||
type NetworkParam struct {
|
||||
// The UUID of the network. Required if you omit the port attribute.
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
// A fixed IPv4 address for the NIC.
|
||||
FixedIp string `json:"fixedIp,omitempty"`
|
||||
// Filters for optional network query
|
||||
Filter Filter `json:"filter,omitempty"`
|
||||
// Subnet within a network to use
|
||||
Subnets []SubnetParam `json:"subnets,omitempty"`
|
||||
// NoAllowedAddressPairs disables creation of allowed address pairs for the network ports
|
||||
NoAllowedAddressPairs bool `json:"noAllowedAddressPairs,omitempty"`
|
||||
// PortTags allows users to specify a list of tags to add to ports created in a given network
|
||||
PortTags []string `json:"portTags,omitempty"`
|
||||
VNICType string `json:"vnicType,omitempty"`
|
||||
Profile map[string]string `json:"profile,omitempty"`
|
||||
// PortSecurity optionally enables or disables security on ports managed by OpenStack
|
||||
PortSecurity *bool `json:"portSecurity,omitempty"`
|
||||
}
|
||||
|
||||
type Filter struct {
|
||||
Status string `json:"status,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
AdminStateUp *bool `json:"adminStateUp,omitempty"`
|
||||
TenantID string `json:"tenantId,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
Shared *bool `json:"shared,omitempty"`
|
||||
ID string `json:"id,omitempty"`
|
||||
Marker string `json:"marker,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
SortKey string `json:"sortKey,omitempty"`
|
||||
SortDir string `json:"sortDir,omitempty"`
|
||||
Tags string `json:"tags,omitempty"`
|
||||
TagsAny string `json:"tagsAny,omitempty"`
|
||||
NotTags string `json:"notTags,omitempty"`
|
||||
NotTagsAny string `json:"notTagsAny,omitempty"`
|
||||
}
|
||||
|
||||
type SubnetParam struct {
|
||||
// The UUID of the network. Required if you omit the port attribute.
|
||||
UUID string `json:"uuid,omitempty"`
|
||||
|
||||
// Filters for optional network query
|
||||
Filter SubnetFilter `json:"filter,omitempty"`
|
||||
|
||||
// PortTags are tags that are added to ports created on this subnet
|
||||
PortTags []string `json:"portTags,omitempty"`
|
||||
|
||||
// PortSecurity optionally enables or disables security on ports managed by OpenStack
|
||||
PortSecurity *bool `json:"portSecurity,omitempty"`
|
||||
}
|
||||
|
||||
type SubnetFilter struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Description string `json:"description,omitempty"`
|
||||
EnableDHCP *bool `json:"enableDhcp,omitempty"`
|
||||
NetworkID string `json:"networkId,omitempty"`
|
||||
TenantID string `json:"tenantId,omitempty"`
|
||||
ProjectID string `json:"projectId,omitempty"`
|
||||
IPVersion int `json:"ipVersion,omitempty"`
|
||||
GatewayIP string `json:"gateway_ip,omitempty"`
|
||||
CIDR string `json:"cidr,omitempty"`
|
||||
IPv6AddressMode string `json:"ipv6AddressMode,omitempty"`
|
||||
IPv6RAMode string `json:"ipv6RaMode,omitempty"`
|
||||
ID string `json:"id,omitempty"`
|
||||
SubnetPoolID string `json:"subnetpoolId,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
Marker string `json:"marker,omitempty"`
|
||||
SortKey string `json:"sortKey,omitempty"`
|
||||
SortDir string `json:"sortDir,omitempty"`
|
||||
Tags string `json:"tags,omitempty"`
|
||||
TagsAny string `json:"tagsAny,omitempty"`
|
||||
NotTags string `json:"notTags,omitempty"`
|
||||
NotTagsAny string `json:"notTagsAny,omitempty"`
|
||||
}
|
||||
|
||||
type PortOpts struct {
|
||||
NetworkID string `json:"networkID" required:"true"`
|
||||
NameSuffix string `json:"nameSuffix" required:"true"`
|
||||
Description string `json:"description,omitempty"`
|
||||
AdminStateUp *bool `json:"adminStateUp,omitempty"`
|
||||
MACAddress string `json:"macAddress,omitempty"`
|
||||
FixedIPs []FixedIPs `json:"fixedIPs,omitempty"`
|
||||
TenantID string `json:"tenantID,omitempty"`
|
||||
ProjectID string `json:"projectID,omitempty"`
|
||||
SecurityGroups *[]string `json:"securityGroups,omitempty"`
|
||||
AllowedAddressPairs []AddressPair `json:"allowedAddressPairs,omitempty"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
|
||||
// The ID of the host where the port is allocated
|
||||
HostID string `json:"hostID,omitempty"`
|
||||
|
||||
// The virtual network interface card (vNIC) type that is bound to the
|
||||
// neutron port.
|
||||
VNICType string `json:"vnicType,omitempty"`
|
||||
|
||||
// A dictionary that enables the application running on the specified
|
||||
// host to pass and receive virtual network interface (VIF) port-specific
|
||||
// information to the plug-in.
|
||||
Profile map[string]string `json:"profile,omitempty"`
|
||||
|
||||
// enable or disable security on a given port
|
||||
// incompatible with securityGroups and allowedAddressPairs
|
||||
PortSecurity *bool `json:"portSecurity,omitempty"`
|
||||
|
||||
// Enables and disables trunk at port level. If not provided, openStackMachine.Spec.Trunk is inherited.
|
||||
Trunk *bool `json:"trunk,omitempty"`
|
||||
}
|
||||
|
||||
type AddressPair struct {
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
MACAddress string `json:"macAddress,omitempty"`
|
||||
}
|
||||
|
||||
type FixedIPs struct {
|
||||
SubnetID string `json:"subnetID"`
|
||||
IPAddress string `json:"ipAddress,omitempty"`
|
||||
}
|
||||
|
||||
type RootVolume struct {
|
||||
SourceType string `json:"sourceType,omitempty"`
|
||||
SourceUUID string `json:"sourceUUID,omitempty"`
|
||||
DeviceType string `json:"deviceType"`
|
||||
VolumeType string `json:"volumeType,omitempty"`
|
||||
Size int `json:"diskSize,omitempty"`
|
||||
Zone string `json:"availabilityZone,omitempty"`
|
||||
}
|
||||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// OpenstackClusterProviderSpec is the providerSpec for OpenStack in the cluster object
|
||||
// +k8s:openapi-gen=true
|
||||
type OpenstackClusterProviderSpec struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
||||
// NodeCIDR is the OpenStack Subnet to be created. Cluster actuator will create a
|
||||
// network, a subnet with NodeCIDR, and a router connected to this subnet.
|
||||
// If you leave this empty, no network will be created.
|
||||
NodeCIDR string `json:"nodeCidr,omitempty"`
|
||||
// DNSNameservers is the list of nameservers for OpenStack Subnet being created.
|
||||
DNSNameservers []string `json:"dnsNameservers,omitempty"`
|
||||
// ExternalNetworkID is the ID of an external OpenStack Network. This is necessary
|
||||
// to get public internet to the VMs.
|
||||
ExternalNetworkID string `json:"externalNetworkId,omitempty"`
|
||||
|
||||
// ManagedSecurityGroups defines that kubernetes manages the OpenStack security groups
|
||||
// for now, that means that we'll create two security groups, one allowing SSH
|
||||
// and API access from everywhere, and another one that allows all traffic to/from
|
||||
// machines belonging to that group. In the future, we could make this more flexible.
|
||||
ManagedSecurityGroups bool `json:"managedSecurityGroups"`
|
||||
|
||||
// Tags for all resources in cluster
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
|
||||
// Default: True. In case of server tag errors, set to False
|
||||
DisableServerTags bool `json:"disableServerTags,omitempty"`
|
||||
}
|
||||
|
||||
// +genclient
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// OpenstackClusterProviderStatus contains the status fields
|
||||
// relevant to OpenStack in the cluster object.
|
||||
// +k8s:openapi-gen=true
|
||||
type OpenstackClusterProviderStatus struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
||||
// Network contains all information about the created OpenStack Network.
|
||||
// It includes Subnets and Router.
|
||||
Network *Network `json:"network,omitempty"`
|
||||
|
||||
// ControlPlaneSecurityGroups contains all the information about the OpenStack
|
||||
// Security Group that needs to be applied to control plane nodes.
|
||||
// TODO: Maybe instead of two properties, we add a property to the group?
|
||||
ControlPlaneSecurityGroup *SecurityGroup `json:"controlPlaneSecurityGroup,omitempty"`
|
||||
|
||||
// GlobalSecurityGroup contains all the information about the OpenStack Security
|
||||
// Group that needs to be applied to all nodes, both control plane and worker nodes.
|
||||
GlobalSecurityGroup *SecurityGroup `json:"globalSecurityGroup,omitempty"`
|
||||
}
|
||||
|
||||
// Network represents basic information about the associated OpenStach Neutron Network
|
||||
type Network struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
|
||||
Subnet *Subnet `json:"subnet,omitempty"`
|
||||
Router *Router `json:"router,omitempty"`
|
||||
}
|
||||
|
||||
// Subnet represents basic information about the associated OpenStack Neutron Subnet
|
||||
type Subnet struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
|
||||
CIDR string `json:"cidr"`
|
||||
}
|
||||
|
||||
// Router represents basic information about the associated OpenStack Neutron Router
|
||||
type Router struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
func init() {
|
||||
SchemeBuilder.Register(&OpenstackProviderSpec{})
|
||||
SchemeBuilder.Register(&OpenstackClusterProviderSpec{})
|
||||
SchemeBuilder.Register(&OpenstackClusterProviderStatus{})
|
||||
}
|
||||
Reference in New Issue
Block a user