v1alpha1

package
v0.0.0-...-f2730a8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2018 License: Apache-2.0, BSD-3-Clause, MIT Imports: 19 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/gardener/machine-controller-manager/pkg/apis/cluster +k8s:defaulter-gen=TypeMeta +groupName=cluster.k8s.io

Index

Constants

View Source
const (
	// AWSAccessKeyID is a constant for a key name that is part of the AWS cloud credentials.
	AWSAccessKeyID string = "providerAccessKeyId"
	// AWSSecretAccessKey is a constant for a key name that is part of the AWS cloud credentials.
	AWSSecretAccessKey string = "providerSecretAccessKey"
)
View Source
const (
	// AzureClientID is a constant for a key name that is part of the Azure cloud credentials.
	AzureClientID string = "azureClientId"
	// AzureClientSecret is a constant for a key name that is part of the Azure cloud credentials.
	AzureClientSecret string = "azureClientSecret"
	// AzureSubscriptionID is a constant for a key name that is part of the Azure cloud credentials.
	AzureSubscriptionID string = "azureSubscriptionId"
	// AzureTenantID is a constant for a key name that is part of the Azure cloud credentials.
	AzureTenantID string = "azureTenantId"
)
View Source
const (
	// OpenStackAuthURL is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackAuthURL string = "authURL"
	// OpenStackCACert is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackCACert string = "caCert"
	// OpenStackInsecure is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackInsecure string = "insecure"
	// OpenStackDomainName is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackDomainName string = "domainName"
	// OpenStackTenantName is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackTenantName string = "tenantName"
	// OpenStackUsername is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackUsername string = "username"
	// OpenStackPassword is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackPassword string = "password"
	// OpenStackClientCert is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackClientCert string = "clientCert"
	// OpenStackClientKey is a constant for a key name that is part of the OpenStack cloud credentials.
	OpenStackClientKey string = "clientKey"
)
View Source
const ClusterFinalizer string = "cluster.cluster.k8s.io"
View Source
const (
	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
	// to existing MCs (and label key that is added to its machines) to prevent the existing MCs
	// to select new machines (and old machines being select by new MC).
	DefaultMachineDeploymentUniqueLabelKey string = "machine-template-hash"
)
View Source
const (
	// GCPServiceAccountJSON is a constant for a key name that is part of the GCP cloud credentials.
	GCPServiceAccountJSON string = "serviceAccountJSON"
)
View Source
const MachineFinalizer string = "machine.cluster.k8s.io"

Finalizer is set on PreareForCreate callback

Variables

View Source
var (
	ApiVersion = builders.NewApiVersion("cluster.k8s.io", "v1alpha1").WithResources(
		clusterClusterStorage,
		builders.NewApiResource(
			cluster.InternalClusterStatus,
			ClusterSchemeFns{},
			func() runtime.Object { return &Cluster{} },
			func() runtime.Object { return &ClusterList{} },
			&ClusterStatusStrategy{builders.StatusStorageStrategySingleton},
		), clusterMachineStorage,
		builders.NewApiResource(
			cluster.InternalMachineStatus,
			MachineSchemeFns{},
			func() runtime.Object { return &Machine{} },
			func() runtime.Object { return &MachineList{} },
			&MachineStatusStrategy{builders.StatusStorageStrategySingleton},
		), clusterMachineClassStorage,
		builders.NewApiResource(
			cluster.InternalMachineClassStatus,
			MachineClassSchemeFns{},
			func() runtime.Object { return &MachineClass{} },
			func() runtime.Object { return &MachineClassList{} },
			&MachineClassStatusStrategy{builders.StatusStorageStrategySingleton},
		), clusterMachineDeploymentStorage,
		builders.NewApiResource(
			cluster.InternalMachineDeploymentStatus,
			MachineDeploymentSchemeFns{},
			func() runtime.Object { return &MachineDeployment{} },
			func() runtime.Object { return &MachineDeploymentList{} },
			&MachineDeploymentValidationStatusStrategy{builders.StatusStorageStrategySingleton},
		), clusterMachineSetStorage,
		builders.NewApiResource(
			cluster.InternalMachineSetStatus,
			MachineSetSchemeFns{},
			func() runtime.Object { return &MachineSet{} },
			func() runtime.Object { return &MachineSetList{} },
			&MachineSetStatusStrategy{builders.StatusStorageStrategySingleton},
		))

	// Required by code generated by go2idl
	AddToScheme   = ApiVersion.SchemaBuilder.AddToScheme
	SchemeBuilder = ApiVersion.SchemaBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

func Convert_cluster_APIEndpoint_To_v1alpha1_APIEndpoint

func Convert_cluster_APIEndpoint_To_v1alpha1_APIEndpoint(in *cluster.APIEndpoint, out *APIEndpoint, s conversion.Scope) error

Convert_cluster_APIEndpoint_To_v1alpha1_APIEndpoint is an autogenerated conversion function.

func Convert_cluster_ClusterList_To_v1alpha1_ClusterList

func Convert_cluster_ClusterList_To_v1alpha1_ClusterList(in *cluster.ClusterList, out *ClusterList, s conversion.Scope) error

Convert_cluster_ClusterList_To_v1alpha1_ClusterList is an autogenerated conversion function.

func Convert_cluster_ClusterNetworkingConfig_To_v1alpha1_ClusterNetworkingConfig

func Convert_cluster_ClusterNetworkingConfig_To_v1alpha1_ClusterNetworkingConfig(in *cluster.ClusterNetworkingConfig, out *ClusterNetworkingConfig, s conversion.Scope) error

Convert_cluster_ClusterNetworkingConfig_To_v1alpha1_ClusterNetworkingConfig is an autogenerated conversion function.

func Convert_cluster_ClusterSpec_To_v1alpha1_ClusterSpec

func Convert_cluster_ClusterSpec_To_v1alpha1_ClusterSpec(in *cluster.ClusterSpec, out *ClusterSpec, s conversion.Scope) error

Convert_cluster_ClusterSpec_To_v1alpha1_ClusterSpec is an autogenerated conversion function.

func Convert_cluster_ClusterStatusStrategy_To_v1alpha1_ClusterStatusStrategy

func Convert_cluster_ClusterStatusStrategy_To_v1alpha1_ClusterStatusStrategy(in *cluster.ClusterStatusStrategy, out *ClusterStatusStrategy, s conversion.Scope) error

Convert_cluster_ClusterStatusStrategy_To_v1alpha1_ClusterStatusStrategy is an autogenerated conversion function.

func Convert_cluster_ClusterStatus_To_v1alpha1_ClusterStatus

func Convert_cluster_ClusterStatus_To_v1alpha1_ClusterStatus(in *cluster.ClusterStatus, out *ClusterStatus, s conversion.Scope) error

Convert_cluster_ClusterStatus_To_v1alpha1_ClusterStatus is an autogenerated conversion function.

func Convert_cluster_ClusterStrategy_To_v1alpha1_ClusterStrategy

func Convert_cluster_ClusterStrategy_To_v1alpha1_ClusterStrategy(in *cluster.ClusterStrategy, out *ClusterStrategy, s conversion.Scope) error

Convert_cluster_ClusterStrategy_To_v1alpha1_ClusterStrategy is an autogenerated conversion function.

func Convert_cluster_Cluster_To_v1alpha1_Cluster

func Convert_cluster_Cluster_To_v1alpha1_Cluster(in *cluster.Cluster, out *Cluster, s conversion.Scope) error

Convert_cluster_Cluster_To_v1alpha1_Cluster is an autogenerated conversion function.

func Convert_cluster_CurrentStatus_To_v1alpha1_CurrentStatus

func Convert_cluster_CurrentStatus_To_v1alpha1_CurrentStatus(in *cluster.CurrentStatus, out *CurrentStatus, s conversion.Scope) error

Convert_cluster_CurrentStatus_To_v1alpha1_CurrentStatus is an autogenerated conversion function.

func Convert_cluster_LastOperation_To_v1alpha1_LastOperation

func Convert_cluster_LastOperation_To_v1alpha1_LastOperation(in *cluster.LastOperation, out *LastOperation, s conversion.Scope) error

Convert_cluster_LastOperation_To_v1alpha1_LastOperation is an autogenerated conversion function.

func Convert_cluster_MachineClassList_To_v1alpha1_MachineClassList

func Convert_cluster_MachineClassList_To_v1alpha1_MachineClassList(in *cluster.MachineClassList, out *MachineClassList, s conversion.Scope) error

Convert_cluster_MachineClassList_To_v1alpha1_MachineClassList is an autogenerated conversion function.

func Convert_cluster_MachineClassRef_To_v1alpha1_MachineClassRef

func Convert_cluster_MachineClassRef_To_v1alpha1_MachineClassRef(in *cluster.MachineClassRef, out *MachineClassRef, s conversion.Scope) error

Convert_cluster_MachineClassRef_To_v1alpha1_MachineClassRef is an autogenerated conversion function.

func Convert_cluster_MachineClassStatusStrategy_To_v1alpha1_MachineClassStatusStrategy

func Convert_cluster_MachineClassStatusStrategy_To_v1alpha1_MachineClassStatusStrategy(in *cluster.MachineClassStatusStrategy, out *MachineClassStatusStrategy, s conversion.Scope) error

Convert_cluster_MachineClassStatusStrategy_To_v1alpha1_MachineClassStatusStrategy is an autogenerated conversion function.

func Convert_cluster_MachineClassStrategy_To_v1alpha1_MachineClassStrategy

func Convert_cluster_MachineClassStrategy_To_v1alpha1_MachineClassStrategy(in *cluster.MachineClassStrategy, out *MachineClassStrategy, s conversion.Scope) error

Convert_cluster_MachineClassStrategy_To_v1alpha1_MachineClassStrategy is an autogenerated conversion function.

func Convert_cluster_MachineClass_To_v1alpha1_MachineClass

func Convert_cluster_MachineClass_To_v1alpha1_MachineClass(in *cluster.MachineClass, out *MachineClass, s conversion.Scope) error

Convert_cluster_MachineClass_To_v1alpha1_MachineClass is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition

func Convert_cluster_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition(in *cluster.MachineDeploymentCondition, out *MachineDeploymentCondition, s conversion.Scope) error

Convert_cluster_MachineDeploymentCondition_To_v1alpha1_MachineDeploymentCondition is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentList_To_v1alpha1_MachineDeploymentList

func Convert_cluster_MachineDeploymentList_To_v1alpha1_MachineDeploymentList(in *cluster.MachineDeploymentList, out *MachineDeploymentList, s conversion.Scope) error

Convert_cluster_MachineDeploymentList_To_v1alpha1_MachineDeploymentList is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec

func Convert_cluster_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec(in *cluster.MachineDeploymentSpec, out *MachineDeploymentSpec, s conversion.Scope) error

Convert_cluster_MachineDeploymentSpec_To_v1alpha1_MachineDeploymentSpec is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus

func Convert_cluster_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus(in *cluster.MachineDeploymentStatus, out *MachineDeploymentStatus, s conversion.Scope) error

Convert_cluster_MachineDeploymentStatus_To_v1alpha1_MachineDeploymentStatus is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy

func Convert_cluster_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy(in *cluster.MachineDeploymentStrategy, out *MachineDeploymentStrategy, s conversion.Scope) error

Convert_cluster_MachineDeploymentStrategy_To_v1alpha1_MachineDeploymentStrategy is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentValidationStatusStrategy_To_v1alpha1_MachineDeploymentValidationStatusStrategy

func Convert_cluster_MachineDeploymentValidationStatusStrategy_To_v1alpha1_MachineDeploymentValidationStatusStrategy(in *cluster.MachineDeploymentValidationStatusStrategy, out *MachineDeploymentValidationStatusStrategy, s conversion.Scope) error

Convert_cluster_MachineDeploymentValidationStatusStrategy_To_v1alpha1_MachineDeploymentValidationStatusStrategy is an autogenerated conversion function.

func Convert_cluster_MachineDeploymentValidationStrategy_To_v1alpha1_MachineDeploymentValidationStrategy

func Convert_cluster_MachineDeploymentValidationStrategy_To_v1alpha1_MachineDeploymentValidationStrategy(in *cluster.MachineDeploymentValidationStrategy, out *MachineDeploymentValidationStrategy, s conversion.Scope) error

Convert_cluster_MachineDeploymentValidationStrategy_To_v1alpha1_MachineDeploymentValidationStrategy is an autogenerated conversion function.

func Convert_cluster_MachineDeployment_To_v1alpha1_MachineDeployment

func Convert_cluster_MachineDeployment_To_v1alpha1_MachineDeployment(in *cluster.MachineDeployment, out *MachineDeployment, s conversion.Scope) error

Convert_cluster_MachineDeployment_To_v1alpha1_MachineDeployment is an autogenerated conversion function.

func Convert_cluster_MachineList_To_v1alpha1_MachineList

func Convert_cluster_MachineList_To_v1alpha1_MachineList(in *cluster.MachineList, out *MachineList, s conversion.Scope) error

Convert_cluster_MachineList_To_v1alpha1_MachineList is an autogenerated conversion function.

func Convert_cluster_MachineRollingUpdateDeployment_To_v1alpha1_MachineRollingUpdateDeployment

func Convert_cluster_MachineRollingUpdateDeployment_To_v1alpha1_MachineRollingUpdateDeployment(in *cluster.MachineRollingUpdateDeployment, out *MachineRollingUpdateDeployment, s conversion.Scope) error

Convert_cluster_MachineRollingUpdateDeployment_To_v1alpha1_MachineRollingUpdateDeployment is an autogenerated conversion function.

func Convert_cluster_MachineSetCondition_To_v1alpha1_MachineSetCondition

func Convert_cluster_MachineSetCondition_To_v1alpha1_MachineSetCondition(in *cluster.MachineSetCondition, out *MachineSetCondition, s conversion.Scope) error

Convert_cluster_MachineSetCondition_To_v1alpha1_MachineSetCondition is an autogenerated conversion function.

func Convert_cluster_MachineSetList_To_v1alpha1_MachineSetList

func Convert_cluster_MachineSetList_To_v1alpha1_MachineSetList(in *cluster.MachineSetList, out *MachineSetList, s conversion.Scope) error

Convert_cluster_MachineSetList_To_v1alpha1_MachineSetList is an autogenerated conversion function.

func Convert_cluster_MachineSetSpec_To_v1alpha1_MachineSetSpec

func Convert_cluster_MachineSetSpec_To_v1alpha1_MachineSetSpec(in *cluster.MachineSetSpec, out *MachineSetSpec, s conversion.Scope) error

Convert_cluster_MachineSetSpec_To_v1alpha1_MachineSetSpec is an autogenerated conversion function.

func Convert_cluster_MachineSetStatusStrategy_To_v1alpha1_MachineSetStatusStrategy

func Convert_cluster_MachineSetStatusStrategy_To_v1alpha1_MachineSetStatusStrategy(in *cluster.MachineSetStatusStrategy, out *MachineSetStatusStrategy, s conversion.Scope) error

Convert_cluster_MachineSetStatusStrategy_To_v1alpha1_MachineSetStatusStrategy is an autogenerated conversion function.

func Convert_cluster_MachineSetStatus_To_v1alpha1_MachineSetStatus

func Convert_cluster_MachineSetStatus_To_v1alpha1_MachineSetStatus(in *cluster.MachineSetStatus, out *MachineSetStatus, s conversion.Scope) error

Convert_cluster_MachineSetStatus_To_v1alpha1_MachineSetStatus is an autogenerated conversion function.

func Convert_cluster_MachineSetStrategy_To_v1alpha1_MachineSetStrategy

func Convert_cluster_MachineSetStrategy_To_v1alpha1_MachineSetStrategy(in *cluster.MachineSetStrategy, out *MachineSetStrategy, s conversion.Scope) error

Convert_cluster_MachineSetStrategy_To_v1alpha1_MachineSetStrategy is an autogenerated conversion function.

func Convert_cluster_MachineSet_To_v1alpha1_MachineSet

func Convert_cluster_MachineSet_To_v1alpha1_MachineSet(in *cluster.MachineSet, out *MachineSet, s conversion.Scope) error

Convert_cluster_MachineSet_To_v1alpha1_MachineSet is an autogenerated conversion function.

func Convert_cluster_MachineSpec_To_v1alpha1_MachineSpec

func Convert_cluster_MachineSpec_To_v1alpha1_MachineSpec(in *cluster.MachineSpec, out *MachineSpec, s conversion.Scope) error

Convert_cluster_MachineSpec_To_v1alpha1_MachineSpec is an autogenerated conversion function.

func Convert_cluster_MachineStatusStrategy_To_v1alpha1_MachineStatusStrategy

func Convert_cluster_MachineStatusStrategy_To_v1alpha1_MachineStatusStrategy(in *cluster.MachineStatusStrategy, out *MachineStatusStrategy, s conversion.Scope) error

Convert_cluster_MachineStatusStrategy_To_v1alpha1_MachineStatusStrategy is an autogenerated conversion function.

func Convert_cluster_MachineStatus_To_v1alpha1_MachineStatus

func Convert_cluster_MachineStatus_To_v1alpha1_MachineStatus(in *cluster.MachineStatus, out *MachineStatus, s conversion.Scope) error

Convert_cluster_MachineStatus_To_v1alpha1_MachineStatus is an autogenerated conversion function.

func Convert_cluster_MachineStrategy_To_v1alpha1_MachineStrategy

func Convert_cluster_MachineStrategy_To_v1alpha1_MachineStrategy(in *cluster.MachineStrategy, out *MachineStrategy, s conversion.Scope) error

Convert_cluster_MachineStrategy_To_v1alpha1_MachineStrategy is an autogenerated conversion function.

func Convert_cluster_MachineSummary_To_v1alpha1_MachineSummary

func Convert_cluster_MachineSummary_To_v1alpha1_MachineSummary(in *cluster.MachineSummary, out *MachineSummary, s conversion.Scope) error

Convert_cluster_MachineSummary_To_v1alpha1_MachineSummary is an autogenerated conversion function.

func Convert_cluster_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec

func Convert_cluster_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec(in *cluster.MachineTemplateSpec, out *MachineTemplateSpec, s conversion.Scope) error

Convert_cluster_MachineTemplateSpec_To_v1alpha1_MachineTemplateSpec is an autogenerated conversion function.

func Convert_cluster_MachineVersionInfo_To_v1alpha1_MachineVersionInfo

func Convert_cluster_MachineVersionInfo_To_v1alpha1_MachineVersionInfo(in *cluster.MachineVersionInfo, out *MachineVersionInfo, s conversion.Scope) error

Convert_cluster_MachineVersionInfo_To_v1alpha1_MachineVersionInfo is an autogenerated conversion function.

func Convert_cluster_Machine_To_v1alpha1_Machine

func Convert_cluster_Machine_To_v1alpha1_Machine(in *cluster.Machine, out *Machine, s conversion.Scope) error

Convert_cluster_Machine_To_v1alpha1_Machine is an autogenerated conversion function.

func Convert_cluster_NetworkRanges_To_v1alpha1_NetworkRanges

func Convert_cluster_NetworkRanges_To_v1alpha1_NetworkRanges(in *cluster.NetworkRanges, out *NetworkRanges, s conversion.Scope) error

Convert_cluster_NetworkRanges_To_v1alpha1_NetworkRanges is an autogenerated conversion function.

func Convert_cluster_ProviderConfigSource_To_v1alpha1_ProviderConfigSource

func Convert_cluster_ProviderConfigSource_To_v1alpha1_ProviderConfigSource(in *cluster.ProviderConfigSource, out *ProviderConfigSource, s conversion.Scope) error

Convert_cluster_ProviderConfigSource_To_v1alpha1_ProviderConfigSource is an autogenerated conversion function.

func Convert_cluster_ProviderConfig_To_v1alpha1_ProviderConfig

func Convert_cluster_ProviderConfig_To_v1alpha1_ProviderConfig(in *cluster.ProviderConfig, out *ProviderConfig, s conversion.Scope) error

Convert_cluster_ProviderConfig_To_v1alpha1_ProviderConfig is an autogenerated conversion function.

func Convert_cluster_RollbackConfig_To_v1alpha1_RollbackConfig

func Convert_cluster_RollbackConfig_To_v1alpha1_RollbackConfig(in *cluster.RollbackConfig, out *RollbackConfig, s conversion.Scope) error

Convert_cluster_RollbackConfig_To_v1alpha1_RollbackConfig is an autogenerated conversion function.

func Convert_v1alpha1_APIEndpoint_To_cluster_APIEndpoint

func Convert_v1alpha1_APIEndpoint_To_cluster_APIEndpoint(in *APIEndpoint, out *cluster.APIEndpoint, s conversion.Scope) error

Convert_v1alpha1_APIEndpoint_To_cluster_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha1_ClusterList_To_cluster_ClusterList

func Convert_v1alpha1_ClusterList_To_cluster_ClusterList(in *ClusterList, out *cluster.ClusterList, s conversion.Scope) error

Convert_v1alpha1_ClusterList_To_cluster_ClusterList is an autogenerated conversion function.

func Convert_v1alpha1_ClusterNetworkingConfig_To_cluster_ClusterNetworkingConfig

func Convert_v1alpha1_ClusterNetworkingConfig_To_cluster_ClusterNetworkingConfig(in *ClusterNetworkingConfig, out *cluster.ClusterNetworkingConfig, s conversion.Scope) error

Convert_v1alpha1_ClusterNetworkingConfig_To_cluster_ClusterNetworkingConfig is an autogenerated conversion function.

func Convert_v1alpha1_ClusterSpec_To_cluster_ClusterSpec

func Convert_v1alpha1_ClusterSpec_To_cluster_ClusterSpec(in *ClusterSpec, out *cluster.ClusterSpec, s conversion.Scope) error

Convert_v1alpha1_ClusterSpec_To_cluster_ClusterSpec is an autogenerated conversion function.

func Convert_v1alpha1_ClusterStatusStrategy_To_cluster_ClusterStatusStrategy

func Convert_v1alpha1_ClusterStatusStrategy_To_cluster_ClusterStatusStrategy(in *ClusterStatusStrategy, out *cluster.ClusterStatusStrategy, s conversion.Scope) error

Convert_v1alpha1_ClusterStatusStrategy_To_cluster_ClusterStatusStrategy is an autogenerated conversion function.

func Convert_v1alpha1_ClusterStatus_To_cluster_ClusterStatus

func Convert_v1alpha1_ClusterStatus_To_cluster_ClusterStatus(in *ClusterStatus, out *cluster.ClusterStatus, s conversion.Scope) error

Convert_v1alpha1_ClusterStatus_To_cluster_ClusterStatus is an autogenerated conversion function.

func Convert_v1alpha1_ClusterStrategy_To_cluster_ClusterStrategy

func Convert_v1alpha1_ClusterStrategy_To_cluster_ClusterStrategy(in *ClusterStrategy, out *cluster.ClusterStrategy, s conversion.Scope) error

Convert_v1alpha1_ClusterStrategy_To_cluster_ClusterStrategy is an autogenerated conversion function.

func Convert_v1alpha1_Cluster_To_cluster_Cluster

func Convert_v1alpha1_Cluster_To_cluster_Cluster(in *Cluster, out *cluster.Cluster, s conversion.Scope) error

Convert_v1alpha1_Cluster_To_cluster_Cluster is an autogenerated conversion function.

func Convert_v1alpha1_CurrentStatus_To_cluster_CurrentStatus

func Convert_v1alpha1_CurrentStatus_To_cluster_CurrentStatus(in *CurrentStatus, out *cluster.CurrentStatus, s conversion.Scope) error

Convert_v1alpha1_CurrentStatus_To_cluster_CurrentStatus is an autogenerated conversion function.

func Convert_v1alpha1_LastOperation_To_cluster_LastOperation

func Convert_v1alpha1_LastOperation_To_cluster_LastOperation(in *LastOperation, out *cluster.LastOperation, s conversion.Scope) error

Convert_v1alpha1_LastOperation_To_cluster_LastOperation is an autogenerated conversion function.

func Convert_v1alpha1_MachineClassList_To_cluster_MachineClassList

func Convert_v1alpha1_MachineClassList_To_cluster_MachineClassList(in *MachineClassList, out *cluster.MachineClassList, s conversion.Scope) error

Convert_v1alpha1_MachineClassList_To_cluster_MachineClassList is an autogenerated conversion function.

func Convert_v1alpha1_MachineClassRef_To_cluster_MachineClassRef

func Convert_v1alpha1_MachineClassRef_To_cluster_MachineClassRef(in *MachineClassRef, out *cluster.MachineClassRef, s conversion.Scope) error

Convert_v1alpha1_MachineClassRef_To_cluster_MachineClassRef is an autogenerated conversion function.

func Convert_v1alpha1_MachineClassStatusStrategy_To_cluster_MachineClassStatusStrategy

func Convert_v1alpha1_MachineClassStatusStrategy_To_cluster_MachineClassStatusStrategy(in *MachineClassStatusStrategy, out *cluster.MachineClassStatusStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineClassStatusStrategy_To_cluster_MachineClassStatusStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineClassStrategy_To_cluster_MachineClassStrategy

func Convert_v1alpha1_MachineClassStrategy_To_cluster_MachineClassStrategy(in *MachineClassStrategy, out *cluster.MachineClassStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineClassStrategy_To_cluster_MachineClassStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineClass_To_cluster_MachineClass

func Convert_v1alpha1_MachineClass_To_cluster_MachineClass(in *MachineClass, out *cluster.MachineClass, s conversion.Scope) error

Convert_v1alpha1_MachineClass_To_cluster_MachineClass is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentCondition_To_cluster_MachineDeploymentCondition

func Convert_v1alpha1_MachineDeploymentCondition_To_cluster_MachineDeploymentCondition(in *MachineDeploymentCondition, out *cluster.MachineDeploymentCondition, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentCondition_To_cluster_MachineDeploymentCondition is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentList_To_cluster_MachineDeploymentList

func Convert_v1alpha1_MachineDeploymentList_To_cluster_MachineDeploymentList(in *MachineDeploymentList, out *cluster.MachineDeploymentList, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentList_To_cluster_MachineDeploymentList is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentSpec_To_cluster_MachineDeploymentSpec

func Convert_v1alpha1_MachineDeploymentSpec_To_cluster_MachineDeploymentSpec(in *MachineDeploymentSpec, out *cluster.MachineDeploymentSpec, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentSpec_To_cluster_MachineDeploymentSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentStatus_To_cluster_MachineDeploymentStatus

func Convert_v1alpha1_MachineDeploymentStatus_To_cluster_MachineDeploymentStatus(in *MachineDeploymentStatus, out *cluster.MachineDeploymentStatus, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentStatus_To_cluster_MachineDeploymentStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentStrategy_To_cluster_MachineDeploymentStrategy

func Convert_v1alpha1_MachineDeploymentStrategy_To_cluster_MachineDeploymentStrategy(in *MachineDeploymentStrategy, out *cluster.MachineDeploymentStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentStrategy_To_cluster_MachineDeploymentStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentValidationStatusStrategy_To_cluster_MachineDeploymentValidationStatusStrategy

func Convert_v1alpha1_MachineDeploymentValidationStatusStrategy_To_cluster_MachineDeploymentValidationStatusStrategy(in *MachineDeploymentValidationStatusStrategy, out *cluster.MachineDeploymentValidationStatusStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentValidationStatusStrategy_To_cluster_MachineDeploymentValidationStatusStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeploymentValidationStrategy_To_cluster_MachineDeploymentValidationStrategy

func Convert_v1alpha1_MachineDeploymentValidationStrategy_To_cluster_MachineDeploymentValidationStrategy(in *MachineDeploymentValidationStrategy, out *cluster.MachineDeploymentValidationStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineDeploymentValidationStrategy_To_cluster_MachineDeploymentValidationStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineDeployment_To_cluster_MachineDeployment

func Convert_v1alpha1_MachineDeployment_To_cluster_MachineDeployment(in *MachineDeployment, out *cluster.MachineDeployment, s conversion.Scope) error

Convert_v1alpha1_MachineDeployment_To_cluster_MachineDeployment is an autogenerated conversion function.

func Convert_v1alpha1_MachineList_To_cluster_MachineList

func Convert_v1alpha1_MachineList_To_cluster_MachineList(in *MachineList, out *cluster.MachineList, s conversion.Scope) error

Convert_v1alpha1_MachineList_To_cluster_MachineList is an autogenerated conversion function.

func Convert_v1alpha1_MachineRollingUpdateDeployment_To_cluster_MachineRollingUpdateDeployment

func Convert_v1alpha1_MachineRollingUpdateDeployment_To_cluster_MachineRollingUpdateDeployment(in *MachineRollingUpdateDeployment, out *cluster.MachineRollingUpdateDeployment, s conversion.Scope) error

Convert_v1alpha1_MachineRollingUpdateDeployment_To_cluster_MachineRollingUpdateDeployment is an autogenerated conversion function.

func Convert_v1alpha1_MachineSetCondition_To_cluster_MachineSetCondition

func Convert_v1alpha1_MachineSetCondition_To_cluster_MachineSetCondition(in *MachineSetCondition, out *cluster.MachineSetCondition, s conversion.Scope) error

Convert_v1alpha1_MachineSetCondition_To_cluster_MachineSetCondition is an autogenerated conversion function.

func Convert_v1alpha1_MachineSetList_To_cluster_MachineSetList

func Convert_v1alpha1_MachineSetList_To_cluster_MachineSetList(in *MachineSetList, out *cluster.MachineSetList, s conversion.Scope) error

Convert_v1alpha1_MachineSetList_To_cluster_MachineSetList is an autogenerated conversion function.

func Convert_v1alpha1_MachineSetSpec_To_cluster_MachineSetSpec

func Convert_v1alpha1_MachineSetSpec_To_cluster_MachineSetSpec(in *MachineSetSpec, out *cluster.MachineSetSpec, s conversion.Scope) error

Convert_v1alpha1_MachineSetSpec_To_cluster_MachineSetSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachineSetStatusStrategy_To_cluster_MachineSetStatusStrategy

func Convert_v1alpha1_MachineSetStatusStrategy_To_cluster_MachineSetStatusStrategy(in *MachineSetStatusStrategy, out *cluster.MachineSetStatusStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineSetStatusStrategy_To_cluster_MachineSetStatusStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineSetStatus_To_cluster_MachineSetStatus

func Convert_v1alpha1_MachineSetStatus_To_cluster_MachineSetStatus(in *MachineSetStatus, out *cluster.MachineSetStatus, s conversion.Scope) error

Convert_v1alpha1_MachineSetStatus_To_cluster_MachineSetStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineSetStrategy_To_cluster_MachineSetStrategy

func Convert_v1alpha1_MachineSetStrategy_To_cluster_MachineSetStrategy(in *MachineSetStrategy, out *cluster.MachineSetStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineSetStrategy_To_cluster_MachineSetStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineSet_To_cluster_MachineSet

func Convert_v1alpha1_MachineSet_To_cluster_MachineSet(in *MachineSet, out *cluster.MachineSet, s conversion.Scope) error

Convert_v1alpha1_MachineSet_To_cluster_MachineSet is an autogenerated conversion function.

func Convert_v1alpha1_MachineSpec_To_cluster_MachineSpec

func Convert_v1alpha1_MachineSpec_To_cluster_MachineSpec(in *MachineSpec, out *cluster.MachineSpec, s conversion.Scope) error

Convert_v1alpha1_MachineSpec_To_cluster_MachineSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachineStatusStrategy_To_cluster_MachineStatusStrategy

func Convert_v1alpha1_MachineStatusStrategy_To_cluster_MachineStatusStrategy(in *MachineStatusStrategy, out *cluster.MachineStatusStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineStatusStrategy_To_cluster_MachineStatusStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineStatus_To_cluster_MachineStatus

func Convert_v1alpha1_MachineStatus_To_cluster_MachineStatus(in *MachineStatus, out *cluster.MachineStatus, s conversion.Scope) error

Convert_v1alpha1_MachineStatus_To_cluster_MachineStatus is an autogenerated conversion function.

func Convert_v1alpha1_MachineStrategy_To_cluster_MachineStrategy

func Convert_v1alpha1_MachineStrategy_To_cluster_MachineStrategy(in *MachineStrategy, out *cluster.MachineStrategy, s conversion.Scope) error

Convert_v1alpha1_MachineStrategy_To_cluster_MachineStrategy is an autogenerated conversion function.

func Convert_v1alpha1_MachineSummary_To_cluster_MachineSummary

func Convert_v1alpha1_MachineSummary_To_cluster_MachineSummary(in *MachineSummary, out *cluster.MachineSummary, s conversion.Scope) error

Convert_v1alpha1_MachineSummary_To_cluster_MachineSummary is an autogenerated conversion function.

func Convert_v1alpha1_MachineTemplateSpec_To_cluster_MachineTemplateSpec

func Convert_v1alpha1_MachineTemplateSpec_To_cluster_MachineTemplateSpec(in *MachineTemplateSpec, out *cluster.MachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha1_MachineTemplateSpec_To_cluster_MachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha1_MachineVersionInfo_To_cluster_MachineVersionInfo

func Convert_v1alpha1_MachineVersionInfo_To_cluster_MachineVersionInfo(in *MachineVersionInfo, out *cluster.MachineVersionInfo, s conversion.Scope) error

Convert_v1alpha1_MachineVersionInfo_To_cluster_MachineVersionInfo is an autogenerated conversion function.

func Convert_v1alpha1_Machine_To_cluster_Machine

func Convert_v1alpha1_Machine_To_cluster_Machine(in *Machine, out *cluster.Machine, s conversion.Scope) error

Convert_v1alpha1_Machine_To_cluster_Machine is an autogenerated conversion function.

func Convert_v1alpha1_NetworkRanges_To_cluster_NetworkRanges

func Convert_v1alpha1_NetworkRanges_To_cluster_NetworkRanges(in *NetworkRanges, out *cluster.NetworkRanges, s conversion.Scope) error

Convert_v1alpha1_NetworkRanges_To_cluster_NetworkRanges is an autogenerated conversion function.

func Convert_v1alpha1_ProviderConfigSource_To_cluster_ProviderConfigSource

func Convert_v1alpha1_ProviderConfigSource_To_cluster_ProviderConfigSource(in *ProviderConfigSource, out *cluster.ProviderConfigSource, s conversion.Scope) error

Convert_v1alpha1_ProviderConfigSource_To_cluster_ProviderConfigSource is an autogenerated conversion function.

func Convert_v1alpha1_ProviderConfig_To_cluster_ProviderConfig

func Convert_v1alpha1_ProviderConfig_To_cluster_ProviderConfig(in *ProviderConfig, out *cluster.ProviderConfig, s conversion.Scope) error

Convert_v1alpha1_ProviderConfig_To_cluster_ProviderConfig is an autogenerated conversion function.

func Convert_v1alpha1_RollbackConfig_To_cluster_RollbackConfig

func Convert_v1alpha1_RollbackConfig_To_cluster_RollbackConfig(in *RollbackConfig, out *cluster.RollbackConfig, s conversion.Scope) error

Convert_v1alpha1_RollbackConfig_To_cluster_RollbackConfig is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind

func NewScheme

func NewScheme() (*runtime.Scheme, error)

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Required by code generated by go2idl Resource takes an unqualified resource and returns a Group qualified GroupResource

func ValidateMachineDeploymentSpec

func ValidateMachineDeploymentSpec(spec *cluster.MachineDeploymentSpec, fldPath *field.Path) field.ErrorList

func ValidateMachineDeploymentStrategy

func ValidateMachineDeploymentStrategy(strategy *cluster.MachineDeploymentStrategy, fldPath *field.Path) field.ErrorList

func ValidateMachineRollingUpdateDeployment

func ValidateMachineRollingUpdateDeployment(rollingUpdate *cluster.MachineRollingUpdateDeployment, fldPath *field.Path) field.ErrorList

func ValidatePositiveIntOrPercent

func ValidatePositiveIntOrPercent(s *intstr.IntOrString, fldPath *field.Path) field.ErrorList

Types

type APIEndpoint

type APIEndpoint struct {
	// The hostname on which the API server is serving.
	Host string `json:"host"`

	// The port on which the API server is serving.
	Port int `json:"port"`
}

APIEndpoint represents a reachable Kubernetes API endpoint.

func (*APIEndpoint) DeepCopy

func (in *APIEndpoint) DeepCopy() *APIEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIEndpoint.

func (*APIEndpoint) DeepCopyInto

func (in *APIEndpoint) DeepCopyInto(out *APIEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSBlockDeviceMappingSpec

type AWSBlockDeviceMappingSpec struct {

	// The device name exposed to the machine (for example, /dev/sdh or xvdh).
	DeviceName string `json:"deviceName,omitempty"`

	// Parameters used to automatically set up EBS volumes when the machine is
	// launched.
	Ebs AWSEbsBlockDeviceSpec `json:"ebs,omitempty"`

	// Suppresses the specified device included in the block device mapping of the
	// AMI.
	NoDevice string `json:"noDevice,omitempty"`

	// The virtual device name (ephemeralN). Machine store volumes are numbered
	// starting from 0. An machine type with 2 available machine store volumes
	// can specify mappings for ephemeral0 and ephemeral1.The number of available
	// machine store volumes depends on the machine type. After you connect to
	// the machine, you must mount the volume.
	//
	// Constraints: For M3 machines, you must specify machine store volumes in
	// the block device mapping for the machine. When you launch an M3 machine,
	// we ignore any machine store volumes specified in the block device mapping
	// for the AMI.
	VirtualName string `json:"virtualName,omitempty"`
}

func (*AWSBlockDeviceMappingSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSBlockDeviceMappingSpec.

func (*AWSBlockDeviceMappingSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSEbsBlockDeviceSpec

type AWSEbsBlockDeviceSpec struct {

	// Indicates whether the EBS volume is deleted on machine termination.
	DeleteOnTermination bool `json:"deleteOnTermination,omitempty"`

	// Indicates whether the EBS volume is encrypted. Encrypted Amazon EBS volumes
	// may only be attached to machines that support Amazon EBS encryption.
	Encrypted bool `json:"encrypted,omitempty"`

	// The number of I/O operations per second (IOPS) that the volume supports.
	// For io1, this represents the number of IOPS that are provisioned for the
	// volume. For gp2, this represents the baseline performance of the volume and
	// the rate at which the volume accumulates I/O credits for bursting. For more
	// information about General Purpose SSD baseline performance, I/O credits,
	// and bursting, see Amazon EBS Volume Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html)
	// in the Amazon Elastic Compute Cloud User Guide.
	//
	// Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS for
	// gp2 volumes.
	//
	// Condition: This parameter is required for requests to create io1 volumes;
	// it is not used in requests to create gp2, st1, sc1, or standard volumes.
	Iops int64 `json:"iops,omitempty"`

	// The size of the volume, in GiB.
	//
	// Constraints: 1-16384 for General Purpose SSD (gp2), 4-16384 for Provisioned
	// IOPS SSD (io1), 500-16384 for Throughput Optimized HDD (st1), 500-16384 for
	// Cold HDD (sc1), and 1-1024 for Magnetic (standard) volumes. If you specify
	// a snapshot, the volume size must be equal to or larger than the snapshot
	// size.
	//
	// Default: If you're creating the volume from a snapshot and don't specify
	// a volume size, the default is the snapshot size.
	VolumeSize int64 `json:"volumeSize,omitempty"`

	// The volume type: gp2, io1, st1, sc1, or standard.
	//
	// Default: standard
	VolumeType string `json:"volumeType,omitempty"`
}

Describes a block device for an EBS volume. Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EbsBlockDevice

func (*AWSEbsBlockDeviceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSEbsBlockDeviceSpec.

func (*AWSEbsBlockDeviceSpec) DeepCopyInto

func (in *AWSEbsBlockDeviceSpec) DeepCopyInto(out *AWSEbsBlockDeviceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSIAMProfileSpec

type AWSIAMProfileSpec struct {
	// The Amazon Resource Name (ARN) of the machine profile.
	ARN string `json:"arn,omitempty"`

	// The name of the machine profile.
	Name string `json:"name,omitempty"`
}

Describes an IAM machine profile.

func (*AWSIAMProfileSpec) DeepCopy

func (in *AWSIAMProfileSpec) DeepCopy() *AWSIAMProfileSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSIAMProfileSpec.

func (*AWSIAMProfileSpec) DeepCopyInto

func (in *AWSIAMProfileSpec) DeepCopyInto(out *AWSIAMProfileSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineClass

type AWSMachineClass struct {
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	Spec AWSMachineClassSpec `json:"spec,omitempty"`
}

AWSMachineClass TODO

func (*AWSMachineClass) DeepCopy

func (in *AWSMachineClass) DeepCopy() *AWSMachineClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineClass.

func (*AWSMachineClass) DeepCopyInto

func (in *AWSMachineClass) DeepCopyInto(out *AWSMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSMachineClass) DeepCopyObject

func (in *AWSMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSMachineClassList

type AWSMachineClassList struct {
	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	// +optional
	Items []AWSMachineClass `json:"items"`
}

AWSMachineClassList is a collection of AWSMachineClasses.

func (*AWSMachineClassList) DeepCopy

func (in *AWSMachineClassList) DeepCopy() *AWSMachineClassList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineClassList.

func (*AWSMachineClassList) DeepCopyInto

func (in *AWSMachineClassList) DeepCopyInto(out *AWSMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSMachineClassList) DeepCopyObject

func (in *AWSMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSMachineClassSpec

type AWSMachineClassSpec struct {
	AMI               string                      `json:"ami,omitempty"`
	Region            string                      `json:"region,omitempty"`
	BlockDevices      []AWSBlockDeviceMappingSpec `json:"blockDevices,omitempty"`
	EbsOptimized      bool                        `json:"ebsOptimized,omitempty"`
	IAM               AWSIAMProfileSpec           `json:"iam,omitempty"`
	MachineType       string                      `json:"machineType,omitempty"`
	KeyName           string                      `json:"keyName,omitempty"`
	Monitoring        bool                        `json:"monitoring,omitempty"`
	NetworkInterfaces []AWSNetworkInterfaceSpec   `json:"networkInterfaces,omitempty"`
	Tags              map[string]string           `json:"tags,omitempty"`
	SecretRef         *corev1.SecretReference     `json:"secretRef,omitempty"`
}

AWSMachineClassSpec is the specification of a cluster.

func (*AWSMachineClassSpec) DeepCopy

func (in *AWSMachineClassSpec) DeepCopy() *AWSMachineClassSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineClassSpec.

func (*AWSMachineClassSpec) DeepCopyInto

func (in *AWSMachineClassSpec) DeepCopyInto(out *AWSMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSNetworkInterfaceSpec

type AWSNetworkInterfaceSpec struct {

	// Indicates whether to assign a public IPv4 address to an machine you launch
	// in a VPC. The public IP address can only be assigned to a network interface
	// for eth0, and can only be assigned to a new network interface, not an existing
	// one. You cannot specify more than one network interface in the request. If
	// launching into a default subnet, the default value is true.
	AssociatePublicIPAddress bool `json:"associatePublicIPAddress,omitempty"`

	// If set to true, the interface is deleted when the machine is terminated.
	// You can specify true only if creating a new network interface when launching
	// an machine.
	DeleteOnTermination bool `json:"deleteOnTermination,omitempty"`

	// The description of the network interface. Applies only if creating a network
	// interface when launching an machine.
	Description string `json:"description,omitempty"`

	// The IDs of the security groups for the network interface. Applies only if
	// creating a network interface when launching an machine.
	SecurityGroupIDs []string `json:"securityGroupIDs,omitempty"`

	// The ID of the subnet associated with the network string. Applies only if
	// creating a network interface when launching an machine.
	SubnetID string `json:"subnetID,omitempty"`
}

Describes a network interface. Please also see https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MachineAWSNetworkInterfaceSpecification

func (*AWSNetworkInterfaceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSNetworkInterfaceSpec.

func (*AWSNetworkInterfaceSpec) DeepCopyInto

func (in *AWSNetworkInterfaceSpec) DeepCopyInto(out *AWSNetworkInterfaceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureHardwareProfile

type AzureHardwareProfile struct {
	VMSize string `json:"vmSize,omitempty"`
}

AzureHardwareProfile is specifies the hardware settings for the virtual machine. Refer github.com/Azure/azure-sdk-for-go/arm/compute/models.go for VMSizes

func (*AzureHardwareProfile) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureHardwareProfile.

func (*AzureHardwareProfile) DeepCopyInto

func (in *AzureHardwareProfile) DeepCopyInto(out *AzureHardwareProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureImageReference

type AzureImageReference struct {
	ID        string `json:"id,omitempty"`
	Publisher string `json:"publisher,omitempty"`
	Offer     string `json:"offer,omitempty"`
	Sku       string `json:"sku,omitempty"`
	Version   string `json:"version,omitempty"`
}

AzureImageReference is specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.

func (*AzureImageReference) DeepCopy

func (in *AzureImageReference) DeepCopy() *AzureImageReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureImageReference.

func (*AzureImageReference) DeepCopyInto

func (in *AzureImageReference) DeepCopyInto(out *AzureImageReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureLinuxConfiguration

type AzureLinuxConfiguration struct {
	DisablePasswordAuthentication bool                  `json:"disablePasswordAuthentication,omitempty"`
	SSH                           AzureSSHConfiguration `json:"ssh,omitempty"`
}

AzureLinuxConfiguration is specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).

func (*AzureLinuxConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureLinuxConfiguration.

func (*AzureLinuxConfiguration) DeepCopyInto

func (in *AzureLinuxConfiguration) DeepCopyInto(out *AzureLinuxConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureMachineClass

type AzureMachineClass struct {
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	Spec AzureMachineClassSpec `json:"spec,omitempty"`
}

AzureMachineClass TODO

func (*AzureMachineClass) DeepCopy

func (in *AzureMachineClass) DeepCopy() *AzureMachineClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachineClass.

func (*AzureMachineClass) DeepCopyInto

func (in *AzureMachineClass) DeepCopyInto(out *AzureMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureMachineClass) DeepCopyObject

func (in *AzureMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureMachineClassList

type AzureMachineClassList struct {
	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	// +optional
	Items []AzureMachineClass `json:"items"`
}

AzureMachineClassList is a collection of AzureMachineClasses.

func (*AzureMachineClassList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachineClassList.

func (*AzureMachineClassList) DeepCopyInto

func (in *AzureMachineClassList) DeepCopyInto(out *AzureMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureMachineClassList) DeepCopyObject

func (in *AzureMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureMachineClassSpec

type AzureMachineClassSpec struct {
	Location      string                        `json:"location,omitempty"`
	Tags          map[string]string             `json:"tags,omitempty"`
	Properties    AzureVirtualMachineProperties `json:"properties,omitempty"`
	ResourceGroup string                        `json:"resourceGroup,omitempty"`
	SubnetInfo    AzureSubnetInfo               `json:"subnetInfo,omitempty"`
	SecretRef     *corev1.SecretReference       `json:"secretRef,omitempty"`
}

AzureMachineClassSpec is the specification of a cluster.

func (*AzureMachineClassSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachineClassSpec.

func (*AzureMachineClassSpec) DeepCopyInto

func (in *AzureMachineClassSpec) DeepCopyInto(out *AzureMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedDiskParameters

type AzureManagedDiskParameters struct {
	ID                 string `json:"id,omitempty"`
	StorageAccountType string `json:"storageAccountType,omitempty"`
}

AzureManagedDiskParameters is the parameters of a managed disk.

func (*AzureManagedDiskParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedDiskParameters.

func (*AzureManagedDiskParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureNetworkInterfaceReference

type AzureNetworkInterfaceReference struct {
	ID                                        string `json:"id,omitempty"`
	*AzureNetworkInterfaceReferenceProperties `json:"properties,omitempty"`
}

AzureNetworkInterfaceReference is describes a network interface reference.

func (*AzureNetworkInterfaceReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureNetworkInterfaceReference.

func (*AzureNetworkInterfaceReference) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureNetworkInterfaceReferenceProperties

type AzureNetworkInterfaceReferenceProperties struct {
	Primary bool `json:"primary,omitempty"`
}

AzureNetworkInterfaceReferenceProperties is describes a network interface reference properties.

func (*AzureNetworkInterfaceReferenceProperties) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureNetworkInterfaceReferenceProperties.

func (*AzureNetworkInterfaceReferenceProperties) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureNetworkProfile

type AzureNetworkProfile struct {
	NetworkInterfaces AzureNetworkInterfaceReference `json:"networkInterfaces,omitempty"`
}

AzureNetworkProfile is specifies the network interfaces of the virtual machine.

func (*AzureNetworkProfile) DeepCopy

func (in *AzureNetworkProfile) DeepCopy() *AzureNetworkProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureNetworkProfile.

func (*AzureNetworkProfile) DeepCopyInto

func (in *AzureNetworkProfile) DeepCopyInto(out *AzureNetworkProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureOSDisk

type AzureOSDisk struct {
	Name         string                     `json:"name,omitempty"`
	Caching      string                     `json:"caching,omitempty"`
	ManagedDisk  AzureManagedDiskParameters `json:"managedDisk,omitempty"`
	DiskSizeGB   int32                      `json:"diskSizeGB,omitempty"`
	CreateOption string                     `json:"createOption,omitempty"`
}

AzureOSDisk is specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).

func (*AzureOSDisk) DeepCopy

func (in *AzureOSDisk) DeepCopy() *AzureOSDisk

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureOSDisk.

func (*AzureOSDisk) DeepCopyInto

func (in *AzureOSDisk) DeepCopyInto(out *AzureOSDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureOSProfile

type AzureOSProfile struct {
	ComputerName       string                  `json:"computerName,omitempty"`
	AdminUsername      string                  `json:"adminUsername,omitempty"`
	AdminPassword      string                  `json:"adminPassword,omitempty"`
	CustomData         string                  `json:"customData,omitempty"`
	LinuxConfiguration AzureLinuxConfiguration `json:"linuxConfiguration,omitempty"`
}

AzureOSProfile is specifies the operating system settings for the virtual machine.

func (*AzureOSProfile) DeepCopy

func (in *AzureOSProfile) DeepCopy() *AzureOSProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureOSProfile.

func (*AzureOSProfile) DeepCopyInto

func (in *AzureOSProfile) DeepCopyInto(out *AzureOSProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSSHConfiguration

type AzureSSHConfiguration struct {
	PublicKeys AzureSSHPublicKey `json:"publicKeys,omitempty"`
}

AzureSSHConfiguration is SSH configuration for Linux based VMs running on Azure

func (*AzureSSHConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSSHConfiguration.

func (*AzureSSHConfiguration) DeepCopyInto

func (in *AzureSSHConfiguration) DeepCopyInto(out *AzureSSHConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSSHPublicKey

type AzureSSHPublicKey struct {
	Path    string `json:"path,omitempty"`
	KeyData string `json:"keyData,omitempty"`
}

AzureSSHPublicKey is contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

func (*AzureSSHPublicKey) DeepCopy

func (in *AzureSSHPublicKey) DeepCopy() *AzureSSHPublicKey

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSSHPublicKey.

func (*AzureSSHPublicKey) DeepCopyInto

func (in *AzureSSHPublicKey) DeepCopyInto(out *AzureSSHPublicKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureStorageProfile

type AzureStorageProfile struct {
	ImageReference AzureImageReference `json:"imageReference,omitempty"`
	OsDisk         AzureOSDisk         `json:"osDisk,omitempty"`
}

AzureStorageProfile is specifies the storage settings for the virtual machine disks.

func (*AzureStorageProfile) DeepCopy

func (in *AzureStorageProfile) DeepCopy() *AzureStorageProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStorageProfile.

func (*AzureStorageProfile) DeepCopyInto

func (in *AzureStorageProfile) DeepCopyInto(out *AzureStorageProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSubResource

type AzureSubResource struct {
	ID string `json:"id,omitempty"`
}

AzureSubResource is the Sub Resource definition.

func (*AzureSubResource) DeepCopy

func (in *AzureSubResource) DeepCopy() *AzureSubResource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSubResource.

func (*AzureSubResource) DeepCopyInto

func (in *AzureSubResource) DeepCopyInto(out *AzureSubResource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureSubnetInfo

type AzureSubnetInfo struct {
	VnetName   string `json:"vnetName,omitempty"`
	SubnetName string `json:"subnetName,omitempty"`
}

AzureSubnetInfo is the information containing the subnet details

func (*AzureSubnetInfo) DeepCopy

func (in *AzureSubnetInfo) DeepCopy() *AzureSubnetInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureSubnetInfo.

func (*AzureSubnetInfo) DeepCopyInto

func (in *AzureSubnetInfo) DeepCopyInto(out *AzureSubnetInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureVirtualMachineProperties

type AzureVirtualMachineProperties struct {
	HardwareProfile AzureHardwareProfile `json:"hardwareProfile,omitempty"`
	StorageProfile  AzureStorageProfile  `json:"storageProfile,omitempty"`
	OsProfile       AzureOSProfile       `json:"osProfile,omitempty"`
	NetworkProfile  AzureNetworkProfile  `json:"networkProfile,omitempty"`
	AvailabilitySet AzureSubResource     `json:"availabilitySet,omitempty"`
}

AzureVirtualMachineProperties is describes the properties of a Virtual Machine.

func (*AzureVirtualMachineProperties) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureVirtualMachineProperties.

func (*AzureVirtualMachineProperties) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ClusterSpec   `json:"spec,omitempty"`
	Status ClusterStatus `json:"status,omitempty"`
}

Cluster +k8s:openapi-gen=true +resource:path=clusters,strategy=ClusterStrategy

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Cluster) DeepCopyObject

func (in *Cluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Cluster `json:"items"`
}

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterList) DeepCopyObject

func (in *ClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterNetworkingConfig

type ClusterNetworkingConfig struct {
	// The network ranges from which service VIPs are allocated.
	Services NetworkRanges `json:"services"`

	// The network ranges from which POD networks are allocated.
	Pods NetworkRanges `json:"pods"`

	// Domain name for services.
	ServiceDomain string `json:"serviceDomain"`
}

ClusterNetworkingConfig specifies the different networking parameters for a cluster.

func (*ClusterNetworkingConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkingConfig.

func (*ClusterNetworkingConfig) DeepCopyInto

func (in *ClusterNetworkingConfig) DeepCopyInto(out *ClusterNetworkingConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterSchemeFns

type ClusterSchemeFns struct {
	builders.DefaultSchemeFns
}

Cluster Functions and Structs

+k8s:deepcopy-gen=false

func (ClusterSchemeFns) DefaultingFunction

func (ClusterSchemeFns) DefaultingFunction(o interface{})

DefaultingFunction sets default Cluster field values

type ClusterSpec

type ClusterSpec struct {
	// Cluster network configuration
	ClusterNetwork ClusterNetworkingConfig `json:"clusterNetwork"`

	// Provider-specific serialized configuration to use during
	// cluster creation. It is recommended that providers maintain
	// their own versioned API types that should be
	// serialized/deserialized from this field.
	// +optional
	ProviderConfig ProviderConfig `json:"providerConfig"`
}

ClusterSpec defines the desired state of Cluster

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterStatus

type ClusterStatus struct {
	// APIEndpoint represents the endpoint to communicate with the IP.
	APIEndpoints []APIEndpoint `json:"apiEndpoints"`

	// If set, indicates that there is a problem reconciling the
	// state, and will be set to a token value suitable for
	// programmatic interpretation.
	ErrorReason common.ClusterStatusError `json:"errorReason"`

	// If set, indicates that there is a problem reconciling the
	// state, and will be set to a descriptive error message.
	ErrorMessage string `json:"errorMessage"`

	// Provider-specific status.
	// It is recommended that providers maintain their
	// own versioned API types that should be
	// serialized/deserialized from this field.
	ProviderStatus *runtime.RawExtension `json:"providerStatus"`
}

ClusterStatus defines the observed state of Cluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterStatusStrategy

type ClusterStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type ClusterStrategy

type ClusterStrategy struct {
	builders.DefaultStorageStrategy
}

+k8s:deepcopy-gen=false

func (ClusterStrategy) PrepareForCreate

func (c ClusterStrategy) PrepareForCreate(ctx request.Context, obj runtime.Object)

PrepareForCreate clears fields that are not allowed to be set by end users on creation.

func (ClusterStrategy) Validate

Validate checks that an instance of Cluster is well formed

type ConditionStatus

type ConditionStatus string
const (
	ConditionTrue    ConditionStatus = "True"
	ConditionFalse   ConditionStatus = "False"
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type CurrentStatus

type CurrentStatus struct {
	// API group to which it belongs
	Phase MachinePhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=MachinePhase"`

	// Name of machine class
	TimeoutActive bool `json:"timeoutActive,omitempty"`

	// Last update time of current status
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
}

type CurrentStatus

func (*CurrentStatus) DeepCopy

func (in *CurrentStatus) DeepCopy() *CurrentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CurrentStatus.

func (*CurrentStatus) DeepCopyInto

func (in *CurrentStatus) DeepCopyInto(out *CurrentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPDisk

type GCPDisk struct {
	AutoDelete bool              `json:"autoDelete"`
	Boot       bool              `json:"boot"`
	SizeGb     int64             `json:"sizeGb"`
	Type       string            `json:"type"`
	Image      string            `json:"image"`
	Labels     map[string]string `json:"labels"`
}

GCPDisk describes disks for GCP.

func (*GCPDisk) DeepCopy

func (in *GCPDisk) DeepCopy() *GCPDisk

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPDisk.

func (*GCPDisk) DeepCopyInto

func (in *GCPDisk) DeepCopyInto(out *GCPDisk)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPMachineClass

type GCPMachineClass struct {
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	Spec GCPMachineClassSpec `json:"spec,omitempty"`
}

GCPMachineClass TODO

func (*GCPMachineClass) DeepCopy

func (in *GCPMachineClass) DeepCopy() *GCPMachineClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPMachineClass.

func (*GCPMachineClass) DeepCopyInto

func (in *GCPMachineClass) DeepCopyInto(out *GCPMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPMachineClass) DeepCopyObject

func (in *GCPMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPMachineClassList

type GCPMachineClassList struct {
	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	// +optional
	Items []GCPMachineClass `json:"items"`
}

GCPMachineClassList is a collection of GCPMachineClasses.

func (*GCPMachineClassList) DeepCopy

func (in *GCPMachineClassList) DeepCopy() *GCPMachineClassList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPMachineClassList.

func (*GCPMachineClassList) DeepCopyInto

func (in *GCPMachineClassList) DeepCopyInto(out *GCPMachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GCPMachineClassList) DeepCopyObject

func (in *GCPMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GCPMachineClassSpec

type GCPMachineClassSpec struct {
	CanIpForward       bool                    `json:"canIpForward"`
	DeletionProtection bool                    `json:"deletionProtection"`
	Description        *string                 `json:"description,omitempty"`
	Disks              []*GCPDisk              `json:"disks,omitempty"`
	Labels             map[string]string       `json:"labels,omitempty"`
	MachineType        string                  `json:"machineType"`
	Metadata           []*GCPMetadata          `json:"metadata,omitempty"`
	NetworkInterfaces  []*GCPNetworkInterface  `json:"networkInterfaces,omitempty"`
	Scheduling         GCPScheduling           `json:"scheduling"`
	SecretRef          *corev1.SecretReference `json:"secretRef,omitempty"`
	ServiceAccounts    []GCPServiceAccount     `json:"serviceAccounts"`
	Tags               []string                `json:"tags,omitempty"`
	Region             string                  `json:"region"`
	Zone               string                  `json:"zone"`
}

GCPMachineClassSpec is the specification of a cluster.

func (*GCPMachineClassSpec) DeepCopy

func (in *GCPMachineClassSpec) DeepCopy() *GCPMachineClassSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPMachineClassSpec.

func (*GCPMachineClassSpec) DeepCopyInto

func (in *GCPMachineClassSpec) DeepCopyInto(out *GCPMachineClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPMetadata

type GCPMetadata struct {
	Key   string  `json:"key"`
	Value *string `json:"value"`
}

GCPMetadata describes metadata for GCP.

func (*GCPMetadata) DeepCopy

func (in *GCPMetadata) DeepCopy() *GCPMetadata

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPMetadata.

func (*GCPMetadata) DeepCopyInto

func (in *GCPMetadata) DeepCopyInto(out *GCPMetadata)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPNetworkInterface

type GCPNetworkInterface struct {
	Network    string `json:"network,omitempty"`
	Subnetwork string `json:"subnetwork,omitempty"`
}

GCPNetworkInterface describes network interfaces for GCP

func (*GCPNetworkInterface) DeepCopy

func (in *GCPNetworkInterface) DeepCopy() *GCPNetworkInterface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPNetworkInterface.

func (*GCPNetworkInterface) DeepCopyInto

func (in *GCPNetworkInterface) DeepCopyInto(out *GCPNetworkInterface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPScheduling

type GCPScheduling struct {
	AutomaticRestart  bool   `json:"automaticRestart"`
	OnHostMaintenance string `json:"onHostMaintenance"`
	Preemptible       bool   `json:"preemptible"`
}

GCPScheduling describes scheduling configuration for GCP.

func (*GCPScheduling) DeepCopy

func (in *GCPScheduling) DeepCopy() *GCPScheduling

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPScheduling.

func (*GCPScheduling) DeepCopyInto

func (in *GCPScheduling) DeepCopyInto(out *GCPScheduling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GCPServiceAccount

type GCPServiceAccount struct {
	Email  string   `json:"email"`
	Scopes []string `json:"scopes"`
}

GCPServiceAccount describes service accounts for GCP.

func (*GCPServiceAccount) DeepCopy

func (in *GCPServiceAccount) DeepCopy() *GCPServiceAccount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPServiceAccount.

func (*GCPServiceAccount) DeepCopyInto

func (in *GCPServiceAccount) DeepCopyInto(out *GCPServiceAccount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LastOperation

type LastOperation struct {
	// Description of the current operation
	Description string `json:"description,omitempty"`

	// Last update time of current operation
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`

	// State of operation
	State MachineState `json:"state,omitempty"`

	// Type of operation
	Type MachineOperationType `json:"type,omitempty"`
}

LastOperation suggests the last operation performed on the object

func (*LastOperation) DeepCopy

func (in *LastOperation) DeepCopy() *LastOperation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastOperation.

func (*LastOperation) DeepCopyInto

func (in *LastOperation) DeepCopyInto(out *LastOperation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Machine

type Machine struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineSpec   `json:"spec,omitempty"`
	Status MachineStatus `json:"status,omitempty"`
}

Machine +k8s:openapi-gen=true +resource:path=machines,strategy=MachineStrategy

func (*Machine) DeepCopy

func (in *Machine) DeepCopy() *Machine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.

func (*Machine) DeepCopyInto

func (in *Machine) DeepCopyInto(out *Machine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Machine) DeepCopyObject

func (in *Machine) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineClass

type MachineClass struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// The total capacity available on this machine type (cpu/memory/disk).
	//
	// WARNING: It is up to the creator of the MachineClass to ensure that
	// this field is consistent with the underlying machine that will
	// be provisioned when this class is used, to inform higher level
	// automation (e.g. the cluster autoscaler).
	Capacity corev1.ResourceList `json:"capacity"`

	// How much capacity is actually allocatable on this machine.
	// Must be equal to or less than the capacity, and when less
	// indicates the resources reserved for system overhead.
	//
	// WARNING: It is up to the creator of the MachineClass to ensure that
	// this field is consistent with the underlying machine that will
	// be provisioned when this class is used, to inform higher level
	// automation (e.g. the cluster autoscaler).
	Allocatable corev1.ResourceList `json:"allocatable"`

	// Provider-specific configuration to use during node creation.
	ProviderConfig runtime.RawExtension `json:"providerConfig"`

	SecretRef *corev1.SecretReference `json:"secretRef,omitempty"`

	//Cloud-provider name
	Provider string `json:"provider"`
}

MachineClass can be used to templatize and re-use provider configuration across multiple Machines / MachineSets / MachineDeployments. +k8s:openapi-gen=true +resource:path=machineclasses,strategy=MachineClassStrategy

func (*MachineClass) DeepCopy

func (in *MachineClass) DeepCopy() *MachineClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClass.

func (*MachineClass) DeepCopyInto

func (in *MachineClass) DeepCopyInto(out *MachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineClass) DeepCopyObject

func (in *MachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineClassList

type MachineClassList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MachineClass `json:"items"`
}

func (*MachineClassList) DeepCopy

func (in *MachineClassList) DeepCopy() *MachineClassList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassList.

func (*MachineClassList) DeepCopyInto

func (in *MachineClassList) DeepCopyInto(out *MachineClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineClassList) DeepCopyObject

func (in *MachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineClassRef

type MachineClassRef struct {
	// The name of the MachineClass.
	Name string `json:name`
	// Parameters allow basic substitution to be applied to
	// a MachineClass (where supported).
	// Keys must not be empty. The maximum number of
	// parameters is 512, with a cumulative max size of 256K.
	// +optional
	Parameters map[string]string `json:parameters,omitempty`

	//Kind represents the cloud-provider
	Kind string `json:kind`
}

func (*MachineClassRef) DeepCopy

func (in *MachineClassRef) DeepCopy() *MachineClassRef

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineClassRef.

func (*MachineClassRef) DeepCopyInto

func (in *MachineClassRef) DeepCopyInto(out *MachineClassRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineClassSchemeFns

type MachineClassSchemeFns struct {
	builders.DefaultSchemeFns
}

MachineClass Functions and Structs

+k8s:deepcopy-gen=false

type MachineClassStatusStrategy

type MachineClassStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type MachineClassStrategy

type MachineClassStrategy struct {
	builders.DefaultStorageStrategy
}

+k8s:deepcopy-gen=false

type MachineDeployment

type MachineDeployment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineDeploymentSpec   `json:"spec,omitempty"`
	Status MachineDeploymentStatus `json:"status,omitempty"`
}

MachineDeployment +k8s:openapi-gen=true +resource:path=machinedeployments,strategy=MachineDeploymentValidationStrategy

func (*MachineDeployment) DeepCopy

func (in *MachineDeployment) DeepCopy() *MachineDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeployment.

func (*MachineDeployment) DeepCopyInto

func (in *MachineDeployment) DeepCopyInto(out *MachineDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineDeployment) DeepCopyObject

func (in *MachineDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeploymentCondition

type MachineDeploymentCondition struct {
	// Type of MachineDeployment condition.
	Type MachineDeploymentConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=MachineDeploymentConditionType"`

	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=corev1.ConditionStatus"`

	// The last time this condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"`

	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,7,opt,name=lastTransitionTime"`

	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`

	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

MachineDeploymentCondition describes the state of a MachineDeployment at a certain point.

func (*MachineDeploymentCondition) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentCondition.

func (*MachineDeploymentCondition) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentConditionType

type MachineDeploymentConditionType string
const (
	// Available means the MachineDeployment is available, ie. at least the minimum available
	// replicas required are up and running for at least minReadySeconds.
	MachineDeploymentAvailable MachineDeploymentConditionType = "Available"

	// Progressing means the MachineDeployment is progressing. Progress for a MachineDeployment is
	// considered when a new machine set is created or adopted, and when new machines scale
	// up or old machines scale down. Progress is not estimated for paused MachineDeployments or
	// when progressDeadlineSeconds is not specified.
	MachineDeploymentProgressing MachineDeploymentConditionType = "Progressing"

	// ReplicaFailure is added in a MachineDeployment when one of its machines fails to be created
	// or deleted.
	MachineDeploymentReplicaFailure MachineDeploymentConditionType = "ReplicaFailure"

	// MachineDeploymentFrozen is added in a MachineDeployment when one of its machines fails to be created
	// or deleted.
	MachineDeploymentFrozen MachineDeploymentConditionType = "Frozen"
)

These are valid conditions of a MachineDeployment.

type MachineDeploymentList

type MachineDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MachineDeployment `json:"items"`
}

func (*MachineDeploymentList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentList.

func (*MachineDeploymentList) DeepCopyInto

func (in *MachineDeploymentList) DeepCopyInto(out *MachineDeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineDeploymentList) DeepCopyObject

func (in *MachineDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeploymentRollback

type MachineDeploymentRollback struct {
	metav1.TypeMeta `json:",inline"`

	// Required: This must match the Name of a MachineDeployment.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// The annotations to be updated to a MachineDeployment
	// +optional
	UpdatedAnnotations map[string]string `json:"updatedAnnotations,omitempty" protobuf:"bytes,2,rep,name=updatedAnnotations"`

	// The config of this MachineDeployment rollback.
	RollbackTo RollbackConfig `json:"rollbackTo" protobuf:"bytes,3,opt,name=rollbackTo"`
}

DEPRECATED. MachineDeploymentRollback stores the information required to rollback a MachineDeployment.

func (*MachineDeploymentRollback) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentRollback.

func (*MachineDeploymentRollback) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineDeploymentRollback) DeepCopyObject

func (in *MachineDeploymentRollback) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineDeploymentSchemeFns

type MachineDeploymentSchemeFns struct {
	builders.DefaultSchemeFns
}

MachineDeployment Functions and Structs

+k8s:deepcopy-gen=false

func (MachineDeploymentSchemeFns) DefaultingFunction

func (MachineDeploymentSchemeFns) DefaultingFunction(o interface{})

DefaultingFunction sets default MachineDeployment field values

type MachineDeploymentSpec

type MachineDeploymentSpec struct {
	// Number of desired machines. Defaults to 1.
	// This is a pointer to distinguish between explicit zero and not specified.
	Replicas *int32 `json:"replicas,omitempty"`

	// Label selector for machines. Existing MachineSets whose machines are
	// selected by this will be the ones affected by this deployment.
	// It must match the machine template's labels.
	Selector *metav1.LabelSelector `json:"selector"`

	// Template describes the machines that will be created.
	Template MachineTemplateSpec `json:"template"`

	// The deployment strategy to use to replace existing machines with
	// new ones.
	// +optional
	Strategy MachineDeploymentStrategy `json:"strategy,omitempty"`

	// Minimum number of seconds for which a newly created machine should
	// be ready.
	// Defaults to 0 (machine will be considered available as soon as it
	// is ready)
	// +optional
	MinReadySeconds *int32 `json:"minReadySeconds,omitempty"`

	// The number of old MachineSets to retain to allow rollback.
	// This is a pointer to distinguish between explicit zero and not specified.
	// Defaults to 1.
	// +optional
	RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`

	// Indicates that the deployment is paused.
	// +optional
	Paused bool `json:"paused,omitempty"`

	// DEPRECATED.
	// The config this MachineDeployment is rolling back to. Will be cleared after rollback is done.
	// +optional
	RollbackTo *RollbackConfig `json:"rollbackTo,omitempty" protobuf:"bytes,8,opt,name=rollbackTo"`

	// The maximum time in seconds for a deployment to make progress before it
	// is considered to be failed. The deployment controller will continue to
	// process failed deployments and a condition with a ProgressDeadlineExceeded
	// reason will be surfaced in the deployment status. Note that progress will
	// not be estimated during the time a deployment is paused. Defaults to 600s.
	ProgressDeadlineSeconds *int32 `json:"progressDeadlineSeconds,omitempty"`
}

MachineDeploymentSpec defines the desired state of MachineDeployment

func (*MachineDeploymentSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentSpec.

func (*MachineDeploymentSpec) DeepCopyInto

func (in *MachineDeploymentSpec) DeepCopyInto(out *MachineDeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentStatus

type MachineDeploymentStatus struct {
	// The generation observed by the deployment controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`

	// Total number of non-terminated machines targeted by this deployment
	// (their labels match the selector).
	// +optional
	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`

	// Total number of non-terminated machines targeted by this deployment
	// that have the desired template spec.
	// +optional
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty" protobuf:"varint,3,opt,name=updatedReplicas"`

	// Total number of ready machines targeted by this deployment.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,7,opt,name=readyReplicas"`

	// Total number of available machines (ready for at least minReadySeconds)
	// targeted by this deployment.
	// +optional
	AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"`

	// Total number of unavailable machines targeted by this deployment.
	// This is the total number of machines that are still required for
	// the deployment to have 100% available capacity. They may either
	// be machines that are running but not yet available or machines
	// that still have not been created.
	// +optional
	UnavailableReplicas int32 `json:"unavailableReplicas,omitempty" protobuf:"varint,5,opt,name=unavailableReplicas"`

	// Represents the latest available observations of a MachineDeployment's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []MachineDeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`

	// Count of hash collisions for the MachineDeployment. The MachineDeployment controller uses this
	// field as a collision avoidance mechanism when it needs to create the name for the
	// newest MachineSet.
	// +optional
	CollisionCount *int32 `json:"collisionCount,omitempty" protobuf:"varint,8,opt,name=collisionCount"`

	// FailedMachines has summary of machines on which lastOperation Failed
	// +optional
	FailedMachines []*MachineSummary `json:"failedMachines,omitempty" protobuf:"bytes,9,rep,name=failedMachines"`
}

MachineDeploymentStatus defines the observed state of MachineDeployment

func (*MachineDeploymentStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStatus.

func (*MachineDeploymentStatus) DeepCopyInto

func (in *MachineDeploymentStatus) DeepCopyInto(out *MachineDeploymentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentStrategy

type MachineDeploymentStrategy struct {
	// Type of deployment. Currently the only supported strategy is
	// "RollingUpdate".
	// Default is RollingUpdate.
	// +optional
	Type common.MachineDeploymentStrategyType `json:"type,omitempty"`

	// Rolling update config params. Present only if
	// MachineDeploymentStrategyType = RollingUpdate.
	// +optional
	RollingUpdate *MachineRollingUpdateDeployment `json:"rollingUpdate,omitempty"`
}

MachineDeploymentStrategy describes how to replace existing machines with new ones.

func (*MachineDeploymentStrategy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineDeploymentStrategy.

func (*MachineDeploymentStrategy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineDeploymentValidationStatusStrategy

type MachineDeploymentValidationStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type MachineDeploymentValidationStrategy

type MachineDeploymentValidationStrategy struct {
	builders.DefaultStorageStrategy
}

+k8s:deepcopy-gen=false

func (MachineDeploymentValidationStrategy) Validate

Validate checks that an instance of MachineDeployment is well formed

type MachineList

type MachineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Machine `json:"items"`
}

func (*MachineList) DeepCopy

func (in *MachineList) DeepCopy() *MachineList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineList.

func (*MachineList) DeepCopyInto

func (in *MachineList) DeepCopyInto(out *MachineList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineList) DeepCopyObject

func (in *MachineList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineOperationType

type MachineOperationType string

MachineOperationType is a label for the operation performed on a machine object.

const (
	// MachineOperationCreate indicates that the operation was a create
	MachineOperationCreate MachineOperationType = "Create"

	// MachineOperationUpdate indicates that the operation was an update
	MachineOperationUpdate MachineOperationType = "Update"

	// MachineOperationHealthCheck indicates that the operation was a create
	MachineOperationHealthCheck MachineOperationType = "HealthCheck"

	// MachineOperationDelete indicates that the operation was a create
	MachineOperationDelete MachineOperationType = "Delete"
)

These are the valid statuses of machines.

type MachinePhase

type MachinePhase string

MachinePhase is a label for the condition of a machines at the current time.

const (
	// MachinePending means that the machine is being created
	MachinePending MachinePhase = "Pending"

	// MachineAvailable means that machine is present on provider but hasn't joined cluster yet
	MachineAvailable MachinePhase = "Available"

	// MachineRunning means node is ready and running succesfully
	MachineRunning MachinePhase = "Running"

	// MachineRunning means node is terminating
	MachineTerminating MachinePhase = "Terminating"

	// MachineUnknown indicates that the node is not ready at the movement
	MachineUnknown MachinePhase = "Unknown"

	// MachineFailed means operation failed leading to machine status failure
	MachineFailed MachinePhase = "Failed"
)

These are the valid statuses of machines.

type MachineRollingUpdateDeployment

type MachineRollingUpdateDeployment struct {
	// The maximum number of machines that can be unavailable during the update.
	// Value can be an absolute number (ex: 5) or a percentage of desired
	// machines (ex: 10%).
	// Absolute number is calculated from percentage by rounding down.
	// This can not be 0 if MaxSurge is 0.
	// Defaults to 0.
	// Example: when this is set to 30%, the old MachineSet can be scaled
	// down to 70% of desired machines immediately when the rolling update
	// starts. Once new machines are ready, old MachineSet can be scaled
	// down further, followed by scaling up the new MachineSet, ensuring
	// that the total number of machines available at all times
	// during the update is at least 70% of desired machines.
	// +optional
	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`

	// The maximum number of machines that can be scheduled above the
	// desired number of machines.
	// Value can be an absolute number (ex: 5) or a percentage of
	// desired machines (ex: 10%).
	// This can not be 0 if MaxUnavailable is 0.
	// Absolute number is calculated from percentage by rounding up.
	// Defaults to 1.
	// Example: when this is set to 30%, the new MachineSet can be scaled
	// up immediately when the rolling update starts, such that the total
	// number of old and new machines do not exceed 130% of desired
	// machines. Once old machines have been killed, new MachineSet can
	// be scaled up further, ensuring that total number of machines running
	// at any time during the update is at most 130% of desired machines.
	// +optional
	MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"`
}

Spec to control the desired behavior of rolling update.

func (*MachineRollingUpdateDeployment) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment.

func (*MachineRollingUpdateDeployment) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSchemeFns

type MachineSchemeFns struct {
	builders.DefaultSchemeFns
}

Machine Functions and Structs

+k8s:deepcopy-gen=false

func (MachineSchemeFns) DefaultingFunction

func (MachineSchemeFns) DefaultingFunction(o interface{})

DefaultingFunction sets default Machine field values

type MachineSet

type MachineSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   MachineSetSpec   `json:"spec,omitempty"`
	Status MachineSetStatus `json:"status,omitempty"`
}

MachineSet ensures that a specified number of machines replicas are running at any given time. +k8s:openapi-gen=true +resource:path=machinesets,strategy=MachineSetStrategy

func (*MachineSet) DeepCopy

func (in *MachineSet) DeepCopy() *MachineSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSet.

func (*MachineSet) DeepCopyInto

func (in *MachineSet) DeepCopyInto(out *MachineSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineSet) DeepCopyObject

func (in *MachineSet) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineSetCondition

type MachineSetCondition struct {
	// Type of machine set condition.
	Type MachineSetConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=MachineSetConditionType"`

	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// The last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`

	// The reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`

	// A human readable message indicating details about the transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

MachineSetCondition describes the state of a machine set at a certain point.

func (*MachineSetCondition) DeepCopy

func (in *MachineSetCondition) DeepCopy() *MachineSetCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetCondition.

func (*MachineSetCondition) DeepCopyInto

func (in *MachineSetCondition) DeepCopyInto(out *MachineSetCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSetConditionType

type MachineSetConditionType string

MachineSetConditionType is the condition on machineset object

const (
	// MachineSetReplicaFailure is added in a machine set when one of its machines fails to be created
	// due to insufficient quota, limit ranges, machine security policy, node selectors, etc. or deleted
	// due to kubelet being down or finalizers are failing.
	MachineSetReplicaFailure MachineSetConditionType = "ReplicaFailure"
	// MachineSetFrozen is set when the machineset has exceeded its replica threshold at the safety controller
	MachineSetFrozen MachineSetConditionType = "Frozen"
)

These are valid conditions of a machine set.

type MachineSetList

type MachineSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MachineSet `json:"items"`
}

func (*MachineSetList) DeepCopy

func (in *MachineSetList) DeepCopy() *MachineSetList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetList.

func (*MachineSetList) DeepCopyInto

func (in *MachineSetList) DeepCopyInto(out *MachineSetList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MachineSetList) DeepCopyObject

func (in *MachineSetList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MachineSetSchemeFns

type MachineSetSchemeFns struct {
	builders.DefaultSchemeFns
}

MachineSet Functions and Structs

+k8s:deepcopy-gen=false

func (MachineSetSchemeFns) DefaultingFunction

func (MachineSetSchemeFns) DefaultingFunction(o interface{})

DefaultingFunction sets default MachineSet field values

type MachineSetSpec

type MachineSetSpec struct {
	// Replicas is the number of desired replicas.
	// This is a pointer to distinguish between explicit zero and unspecified.
	// Defaults to 1.
	// +optional
	Replicas *int32 `json:"replicas,omitempty"`

	// Minimum number of seconds for which a newly created machine should be ready.
	// Defaults to 0 (machine will be considered available as soon as it is ready)
	// +optional
	MinReadySeconds int32 `json:"minReadySeconds,omitempty"`

	// Selector is a label query over machines that should match the replica count.
	// Label keys and values that must match in order to be controlled by this MachineSet.
	// It must match the machine template's labels.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
	Selector *metav1.LabelSelector `json:"selector"`

	// Template is the object that describes the machine that will be created if
	// insufficient replicas are detected.
	// +optional
	Template MachineTemplateSpec `json:"template,omitempty"`
}

MachineSetSpec defines the desired state of MachineSet

func (*MachineSetSpec) DeepCopy

func (in *MachineSetSpec) DeepCopy() *MachineSetSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetSpec.

func (*MachineSetSpec) DeepCopyInto

func (in *MachineSetSpec) DeepCopyInto(out *MachineSetSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSetStatus

type MachineSetStatus struct {
	// Replicas is the most recently observed number of replicas.
	Replicas int32 `json:"replicas"`

	// The number of replicas that have labels matching the labels of the machine template of the MachineSet.
	// +optional
	FullyLabeledReplicas int32 `json:"fullyLabeledReplicas,omitempty"`

	// The number of ready replicas for this MachineSet. A machine is considered ready when the node has been created and is "Ready".
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// The number of available replicas (ready for at least minReadySeconds) for this MachineSet.
	// +optional
	AvailableReplicas int32 `json:"availableReplicas,omitempty"`

	// ObservedGeneration reflects the generation of the most recently observed MachineSet.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// In the event that there is a terminal problem reconciling the
	// replicas, both ErrorReason and ErrorMessage will be set. ErrorReason
	// will be populated with a succinct value suitable for machine
	// interpretation, while ErrorMessage will contain a more verbose
	// string suitable for logging and human consumption.
	//
	// These fields should not be set for transitive errors that a
	// controller faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the MachineTemplates's spec or the configuration of
	// the machine controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the machine controller, or the
	// responsible machine controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconcilation of Machines
	// can be added as events to the MachineSet object and/or logged in the
	// controller's output.
	// +optional
	ErrorReason *common.MachineSetStatusError `json:"errorReason,omitempty"`
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// Represents the latest available observations of a replica set's current state.
	// +optional
	Conditions []MachineSetCondition `json:"machineSetCondition,inline"`

	// LastOperation performed
	LastOperation LastOperation `json:"lastOperation,omitempty"`

	// FailedMachines has summary of machines on which lastOperation Failed
	// +optional
	FailedMachines *[]MachineSummary `json:"failedMachines,inline"`
}

MachineSetStatus defines the observed state of MachineSet

func (*MachineSetStatus) DeepCopy

func (in *MachineSetStatus) DeepCopy() *MachineSetStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSetStatus.

func (*MachineSetStatus) DeepCopyInto

func (in *MachineSetStatus) DeepCopyInto(out *MachineSetStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineSetStatusStrategy

type MachineSetStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type MachineSetStrategy

type MachineSetStrategy struct {
	builders.DefaultStorageStrategy
}

+k8s:deepcopy-gen=false

func (MachineSetStrategy) Validate

Validate checks that an instance of MachineSet is well formed

type MachineSpec

type MachineSpec struct {
	// This ObjectMeta will autopopulate the Node created. Use this to
	// indicate what labels, annotations, name prefix, etc., should be used
	// when creating the Node.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// The full, authoritative list of taints to apply to the corresponding
	// Node. This list will overwrite any modifications made to the Node on
	// an ongoing basis.
	// +optional
	Taints []corev1.Taint `json:"taints,omitempty"`

	// Provider-specific configuration to use during node creation.
	// +optional
	ProviderConfig ProviderConfig `json:"providerConfig"`

	// Versions of key software to use. This field is optional at cluster
	// creation time, and omitting the field indicates that the cluster
	// installation tool should select defaults for the user. These
	// defaults may differ based on the cluster installer, but the tool
	// should populate the values it uses when persisting Machine objects.
	// A Machine spec missing this field at runtime is invalid.
	// +optional
	Versions MachineVersionInfo `json:"versions,omitempty"`

	// To populate in the associated Node for dynamic kubelet config. This
	// field already exists in Node, so any updates to it in the Machine
	// spec will be automatially copied to the linked NodeRef from the
	// status. The rest of dynamic kubelet config support should then work
	// as-is.
	// +optional
	ConfigSource *corev1.NodeConfigSource `json:"configSource,omitempty"`
}

MachineSpec defines the desired state of Machine

func (*MachineSpec) DeepCopy

func (in *MachineSpec) DeepCopy() *MachineSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSpec.

func (*MachineSpec) DeepCopyInto

func (in *MachineSpec) DeepCopyInto(out *MachineSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineState

type MachineState string

MachineState is the State of the Machine currently.

const (
	// MachineStateProcessing means there are operations pending on this machine state
	MachineStateProcessing MachineState = "Processing"

	// MachineStateFailed means operation failed leading to machine status failure
	MachineStateFailed MachineState = "Failed"

	// MachineStateSuccessful indicates that the node is not ready at the moment
	MachineStateSuccessful MachineState = "Successful"
)

These are the valid statuses of machines.

type MachineStatus

type MachineStatus struct {
	// If the corresponding Node exists, this will point to its object.
	// +optional
	NodeRef *corev1.ObjectReference `json:"nodeRef,omitempty"`

	// When was this status last observed
	// +optional
	LastUpdated metav1.Time `json:"lastUpdated,omitempty"`

	// The current versions of software on the corresponding Node (if it
	// exists). This is provided for a few reasons:
	//
	// 1) It is more convenient than checking the NodeRef, traversing it to
	//    the Node, and finding the appropriate field in Node.Status.NodeInfo
	//    (which uses different field names and formatting).
	// 2) It removes some of the dependency on the structure of the Node,
	//    so that if the structure of Node.Status.NodeInfo changes, only
	//    machine controllers need to be updated, rather than every client
	//    of the Machines API.
	// 3) There is no other simple way to check the ControlPlane
	//    version. A client would have to connect directly to the apiserver
	//    running on the target node in order to find out its version.
	// +optional
	Versions *MachineVersionInfo `json:"versions,omitempty"`

	// In the event that there is a terminal problem reconciling the
	// Machine, both ErrorReason and ErrorMessage will be set. ErrorReason
	// will be populated with a succinct value suitable for machine
	// interpretation, while ErrorMessage will contain a more verbose
	// string suitable for logging and human consumption.
	//
	// These fields should not be set for transitive errors that a
	// controller faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconcilation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	ErrorReason *clustercommon.MachineStatusError `json:"errorReason,omitempty"`
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty"`

	// Provider-specific status.
	// It is recommended that providers maintain their
	// own versioned API types that should be
	// serialized/deserialized from this field.
	ProviderStatus *runtime.RawExtension `json:"providerStatus"`

	// Addresses is a list of addresses assigned to the machine. Queried from cloud provider, if available.
	// +optional
	Addresses []corev1.NodeAddress `json:"addresses,omitempty"`

	// Conditions of this machine, same as node
	// FROMMCM
	// +optional
	Conditions []corev1.NodeCondition `json:"conditions,omitempty"`

	// Last operation refers to the status of the last operation performed
	// FROMMCM
	// +optional
	LastOperation LastOperation `json:"lastOperation,omitempty"`

	// Current status of the machine object
	// +optional
	CurrentStatus CurrentStatus `json:"currentStatus,omitempty"`

	//ProviderID is the fixed ID Machines get from Nodes.
	ProviderID string `json:"providerID,omitempty"`
}

MachineStatus defines the observed state of Machine

func (*MachineStatus) DeepCopy

func (in *MachineStatus) DeepCopy() *MachineStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineStatus.

func (*MachineStatus) DeepCopyInto

func (in *MachineStatus) DeepCopyInto(out *MachineStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineStatusStrategy

type MachineStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type MachineStrategy

type MachineStrategy struct {
	builders.DefaultStorageStrategy
}

+k8s:deepcopy-gen=false

func (MachineStrategy) PrepareForCreate

func (m MachineStrategy) PrepareForCreate(ctx request.Context, obj runtime.Object)

PrepareForCreate clears fields that are not allowed to be set by end users on creation.

func (MachineStrategy) Validate

Validate checks that an instance of Machine is well formed

type MachineSummary

type MachineSummary struct {
	// Name of the machine object
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// ProviderID represents the provider's unique ID given to a machine
	ProviderID string `json:"providerID,omitempty"`

	// Last operation refers to the status of the last operation performed
	LastOperation LastOperation `json:"lastOperation,omitempty"`

	// OwnerRef
	OwnerRef string `json:"ownerRef,omitempty"`
}

MachineSummary store the summary of machine.

func (*MachineSummary) DeepCopy

func (in *MachineSummary) DeepCopy() *MachineSummary

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineSummary.

func (*MachineSummary) DeepCopyInto

func (in *MachineSummary) DeepCopyInto(out *MachineSummary)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineTemplateSpec

type MachineTemplateSpec struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Specification of the desired behavior of the machine.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
	// +optional
	Spec MachineSpec `json:"spec,omitempty"`
}

MachineTemplateSpec describes the data a machine should have when created from a template

func (*MachineTemplateSpec) DeepCopy

func (in *MachineTemplateSpec) DeepCopy() *MachineTemplateSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineTemplateSpec.

func (*MachineTemplateSpec) DeepCopyInto

func (in *MachineTemplateSpec) DeepCopyInto(out *MachineTemplateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachineVersionInfo

type MachineVersionInfo struct {
	// Semantic version of kubelet to run
	Kubelet string `json:"kubelet"`

	// Semantic version of the Kubernetes control plane to
	// run. This should only be populated when the machine is a
	// master.
	// +optional
	ControlPlane string `json:"controlPlane,omitempty"`
}

func (*MachineVersionInfo) DeepCopy

func (in *MachineVersionInfo) DeepCopy() *MachineVersionInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineVersionInfo.

func (*MachineVersionInfo) DeepCopyInto

func (in *MachineVersionInfo) DeepCopyInto(out *MachineVersionInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkRanges

type NetworkRanges struct {
	CIDRBlocks []string `json:"cidrBlocks"`
}

NetworkRanges represents ranges of network addresses.

func (*NetworkRanges) DeepCopy

func (in *NetworkRanges) DeepCopy() *NetworkRanges

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRanges.

func (*NetworkRanges) DeepCopyInto

func (in *NetworkRanges) DeepCopyInto(out *NetworkRanges)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type OpenStackMachineClass

type OpenStackMachineClass struct {
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	Spec OpenStackMachineClassSpec `json:"spec,omitempty"`
}

OpenStackMachineClass TODO

func (*OpenStackMachineClass) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMachineClass.

func (*OpenStackMachineClass) DeepCopyInto

func (in *OpenStackMachineClass) DeepCopyInto(out *OpenStackMachineClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenStackMachineClass) DeepCopyObject

func (in *OpenStackMachineClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpenStackMachineClassList

type OpenStackMachineClassList struct {
	// +optional
	metav1.TypeMeta `json:",inline"`

	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`

	// +optional
	Items []OpenStackMachineClass `json:"items"`
}

OpenStackMachineClassList is a collection of OpenStackMachineClasses.

func (*OpenStackMachineClassList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMachineClassList.

func (*OpenStackMachineClassList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OpenStackMachineClassList) DeepCopyObject

func (in *OpenStackMachineClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OpenStackMachineClassSpec

type OpenStackMachineClassSpec struct {
	ImageName        string                  `json:"imageName"`
	Region           string                  `json:"region"`
	AvailabilityZone string                  `json:"availabilityZone"`
	FlavorName       string                  `json:"flavorName"`
	KeyName          string                  `json:"keyName"`
	SecurityGroups   []string                `json:"securityGroups"`
	Tags             map[string]string       `json:"tags,omitempty"`
	NetworkID        string                  `json:"networkID"`
	SecretRef        *corev1.SecretReference `json:"secretRef,omitempty"`
	PodNetworkCidr   string                  `json:"podNetworkCidr"`
}

OpenStackMachineClassSpec is the specification of a cluster.

func (*OpenStackMachineClassSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackMachineClassSpec.

func (*OpenStackMachineClassSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderConfig

type ProviderConfig struct {

	// Value is an inlined, serialized representation of the resource
	// configuration. It is recommended that providers maintain their own
	// versioned API types that should be serialized/deserialized from this
	// field, akin to component config.
	// +optional
	Value *runtime.RawExtension `json:"value,omitempty"`

	// Source for the provider configuration. Cannot be used if value is
	// not empty.
	// +optional
	ValueFrom *ProviderConfigSource `json:valueFrom,omitempty`
}

ProviderConfig defines the configuration to use during node creation.

func (*ProviderConfig) DeepCopy

func (in *ProviderConfig) DeepCopy() *ProviderConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfig.

func (*ProviderConfig) DeepCopyInto

func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProviderConfigCodec

type ProviderConfigCodec struct {
	// contains filtered or unexported fields
}

+k8s:deepcopy-gen=false

func NewCodec

func NewCodec() (*ProviderConfigCodec, error)

func (*ProviderConfigCodec) DecodeFromProviderConfig

func (codec *ProviderConfigCodec) DecodeFromProviderConfig(machineClass *MachineClass, out runtime.Object) error

func (*ProviderConfigCodec) EncodeToProviderConfig

func (codec *ProviderConfigCodec) EncodeToProviderConfig(in runtime.Object) (*ProviderConfig, error)

type ProviderConfigSource

type ProviderConfigSource struct {
	// TODO(roberthbailey): Fill these in later
	// No more than one of the following may be specified.
	// The machine class from which the provider config should be sourced.
	MachineClass *MachineClassRef `json:machineClass,omitempty`
}

ProviderConfigSource represents a source for the provider-specific resource configuration.

func (*ProviderConfigSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigSource.

func (*ProviderConfigSource) DeepCopyInto

func (in *ProviderConfigSource) DeepCopyInto(out *ProviderConfigSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RollbackConfig

type RollbackConfig struct {
	// The revision to rollback to. If set to 0, rollback to the last revision.
	// +optional
	Revision int64 `json:"revision,omitempty" protobuf:"varint,1,opt,name=revision"`
}

func (*RollbackConfig) DeepCopy

func (in *RollbackConfig) DeepCopy() *RollbackConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RollbackConfig.

func (*RollbackConfig) DeepCopyInto

func (in *RollbackConfig) DeepCopyInto(out *RollbackConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL