mirror of
https://github.com/rancher/types.git
synced 2025-07-31 20:55:00 +00:00
Merge 035ec1ad0b
into fe03f32597
This commit is contained in:
commit
2f10bcd6a3
@ -573,6 +573,8 @@ type VsphereCloudProvider struct {
|
||||
type GlobalVsphereOpts struct {
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty" ini:"user,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty" ini:"password,omitempty" norman:"type=password"`
|
||||
SecretName string `json:"secret-name,omitempty" yaml:"secret-name,omitempty" ini:"secret-name,omitempty"`
|
||||
SecretNamespace string `json:"secret-namespace,omitempty" yaml:"secret-namespace,omitempty" ini:"secret-namespace,omitempty"`
|
||||
VCenterIP string `json:"server,omitempty" yaml:"server,omitempty" ini:"server,omitempty"`
|
||||
VCenterPort string `json:"port,omitempty" yaml:"port,omitempty" ini:"port,omitempty"`
|
||||
InsecureFlag bool `json:"insecure-flag,omitempty" yaml:"insecure-flag,omitempty" ini:"insecure-flag,omitempty"`
|
||||
@ -588,6 +590,8 @@ type GlobalVsphereOpts struct {
|
||||
type VirtualCenterConfig struct {
|
||||
User string `json:"user,omitempty" yaml:"user,omitempty" ini:"user,omitempty"`
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty" ini:"password,omitempty" norman:"type=password"`
|
||||
SecretName string `json:"secret-name,omitempty" yaml:"secret-name,omitempty" ini:"secret-name,omitempty"`
|
||||
SecretNamespace string `json:"secret-namespace,omitempty" yaml:"secret-namespace,omitempty" ini:"secret-namespace,omitempty"`
|
||||
VCenterPort string `json:"port,omitempty" yaml:"port,omitempty" ini:"port,omitempty"`
|
||||
Datacenters string `json:"datacenters,omitempty" yaml:"datacenters,omitempty" ini:"datacenters,omitempty"`
|
||||
RoundTripperCount int `json:"soap-roundtrip-count,omitempty" yaml:"soap-roundtrip-count,omitempty" ini:"soap-roundtrip-count,omitempty"`
|
||||
|
@ -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