Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudConfig ¶
type CloudConfig struct {
Global GlobalOpts
}
CloudConfig contains only the section global.
func (*CloudConfig) AsString ¶
func (cc *CloudConfig) AsString() (string, error)
AsString renders the cloud configuration as string.
type CloudProviderSpec ¶
type CloudProviderSpec struct { ServiceAccount providerconfigtypes.ConfigVarString `json:"serviceAccount,omitempty"` Zone providerconfigtypes.ConfigVarString `json:"zone"` MachineType providerconfigtypes.ConfigVarString `json:"machineType"` DiskSize int64 `json:"diskSize"` DiskType providerconfigtypes.ConfigVarString `json:"diskType"` Network providerconfigtypes.ConfigVarString `json:"network"` Subnetwork providerconfigtypes.ConfigVarString `json:"subnetwork"` Preemptible providerconfigtypes.ConfigVarBool `json:"preemptible"` Labels map[string]string `json:"labels,omitempty"` Tags []string `json:"tags,omitempty"` AssignPublicIPAddress *providerconfigtypes.ConfigVarBool `json:"assignPublicIPAddress,omitempty"` MultiZone providerconfigtypes.ConfigVarBool `json:"multizone"` Regional providerconfigtypes.ConfigVarBool `json:"regional"` CustomImage providerconfigtypes.ConfigVarString `json:"customImage,omitempty"` }
CloudProviderSpec contains the specification of the cloud provider taken from the provider configuration.
func (*CloudProviderSpec) UpdateProviderSpec ¶
func (cpSpec *CloudProviderSpec) UpdateProviderSpec(spec v1alpha1.ProviderSpec) (*runtime.RawExtension, error)
UpdateProviderSpec updates the given provider spec with changed configuration values.
Click to show internal directories.
Click to hide internal directories.