mirror of
https://github.com/rancher/types.git
synced 2025-08-28 08:40:31 +00:00
Generate files: Add Secret config fields to vSphere cloud provider
This commit is contained in:
parent
ba9a11d38e
commit
035ec1ad0b
@ -8,6 +8,8 @@ const (
|
||||
GlobalVsphereOptsFieldInsecureFlag = "insecure-flag"
|
||||
GlobalVsphereOptsFieldPassword = "password"
|
||||
GlobalVsphereOptsFieldRoundTripperCount = "soap-roundtrip-count"
|
||||
GlobalVsphereOptsFieldSecretName = "secret-name"
|
||||
GlobalVsphereOptsFieldSecretNamespace = "secret-namespace"
|
||||
GlobalVsphereOptsFieldUser = "user"
|
||||
GlobalVsphereOptsFieldVCenterIP = "server"
|
||||
GlobalVsphereOptsFieldVCenterPort = "port"
|
||||
@ -23,6 +25,8 @@ type GlobalVsphereOpts struct {
|
||||
InsecureFlag bool `json:"insecure-flag,omitempty" yaml:"insecure-flag,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
RoundTripperCount int64 `json:"soap-roundtrip-count,omitempty" yaml:"soap-roundtrip-count,omitempty"`
|
||||
SecretName string `json:"secret-name,omitempty" yaml:"secret-name,omitempty"`
|
||||
SecretNamespace string `json:"secret-namespace,omitempty" yaml:"secret-namespace,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
VCenterIP string `json:"server,omitempty" yaml:"server,omitempty"`
|
||||
VCenterPort string `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
|
@ -5,6 +5,8 @@ const (
|
||||
VirtualCenterConfigFieldDatacenters = "datacenters"
|
||||
VirtualCenterConfigFieldPassword = "password"
|
||||
VirtualCenterConfigFieldRoundTripperCount = "soap-roundtrip-count"
|
||||
VirtualCenterConfigFieldSecretName = "secret-name"
|
||||
VirtualCenterConfigFieldSecretNamespace = "secret-namespace"
|
||||
VirtualCenterConfigFieldUser = "user"
|
||||
VirtualCenterConfigFieldVCenterPort = "port"
|
||||
)
|
||||
@ -13,6 +15,8 @@ type VirtualCenterConfig struct {
|
||||
Datacenters string `json:"datacenters,omitempty" yaml:"datacenters,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
RoundTripperCount int64 `json:"soap-roundtrip-count,omitempty" yaml:"soap-roundtrip-count,omitempty"`
|
||||
SecretName string `json:"secret-name,omitempty" yaml:"secret-name,omitempty"`
|
||||
SecretNamespace string `json:"secret-namespace,omitempty" yaml:"secret-namespace,omitempty"`
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty"`
|
||||
VCenterPort string `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user