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 must be base64-encoded. 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"` AutomaticRestart *providerconfigtypes.ConfigVarBool `json:"automaticRestart,omitempty"` ProvisioningModel *providerconfigtypes.ConfigVarString `json:"provisioningModel,omitempty"` 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"` DisableMachineServiceAccount providerconfigtypes.ConfigVarBool `json:"disableMachineServiceAccount,omitempty"` EnableNestedVirtualization providerconfigtypes.ConfigVarBool `json:"enableNestedVirtualization,omitempty"` MinCPUPlatform providerconfigtypes.ConfigVarString `json:"minCPUPlatform,omitempty"` GuestOSFeatures []string `json:"guestOSFeatures,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.
type GlobalOpts ¶
type GlobalOpts struct { ProjectID string LocalZone string NetworkName string SubnetworkName string TokenURL string MultiZone bool Regional bool NodeTags []string RHSMOfflineToken string }
GlobalOpts contains the values of the global section of the cloud configuration.
type RawConfig ¶ added in v1.44.0
type RawConfig = CloudProviderSpec
Click to show internal directories.
Click to hide internal directories.