Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=k8s.io/kube-deploy/ext-apiserver/pkg/apis/cluster +k8s:defaulter-gen=TypeMeta +groupName=cluster.k8s.io
Index ¶
- Variables
- func Convert_cluster_APIEndpoint_To_v1alpha1_APIEndpoint(in *cluster.APIEndpoint, out *APIEndpoint, s conversion.Scope) error
- func Convert_cluster_ClusterList_To_v1alpha1_ClusterList(in *cluster.ClusterList, out *ClusterList, s conversion.Scope) error
- func Convert_cluster_ClusterNetworkingConfig_To_v1alpha1_ClusterNetworkingConfig(in *cluster.ClusterNetworkingConfig, out *ClusterNetworkingConfig, ...) error
- func Convert_cluster_ClusterSpec_To_v1alpha1_ClusterSpec(in *cluster.ClusterSpec, out *ClusterSpec, s conversion.Scope) error
- func Convert_cluster_ClusterStatusStrategy_To_v1alpha1_ClusterStatusStrategy(in *cluster.ClusterStatusStrategy, out *ClusterStatusStrategy, ...) error
- func Convert_cluster_ClusterStatus_To_v1alpha1_ClusterStatus(in *cluster.ClusterStatus, out *ClusterStatus, s conversion.Scope) error
- func Convert_cluster_ClusterStrategy_To_v1alpha1_ClusterStrategy(in *cluster.ClusterStrategy, out *ClusterStrategy, s conversion.Scope) error
- func Convert_cluster_Cluster_To_v1alpha1_Cluster(in *cluster.Cluster, out *Cluster, s conversion.Scope) error
- func Convert_cluster_ContainerRuntimeInfo_To_v1alpha1_ContainerRuntimeInfo(in *cluster.ContainerRuntimeInfo, out *ContainerRuntimeInfo, ...) error
- func Convert_cluster_MachineList_To_v1alpha1_MachineList(in *cluster.MachineList, out *MachineList, s conversion.Scope) error
- func Convert_cluster_MachineSpec_To_v1alpha1_MachineSpec(in *cluster.MachineSpec, out *MachineSpec, s conversion.Scope) error
- func Convert_cluster_MachineStatusStrategy_To_v1alpha1_MachineStatusStrategy(in *cluster.MachineStatusStrategy, out *MachineStatusStrategy, ...) error
- func Convert_cluster_MachineStatus_To_v1alpha1_MachineStatus(in *cluster.MachineStatus, out *MachineStatus, s conversion.Scope) error
- func Convert_cluster_MachineStrategy_To_v1alpha1_MachineStrategy(in *cluster.MachineStrategy, out *MachineStrategy, s conversion.Scope) error
- func Convert_cluster_MachineVersionInfo_To_v1alpha1_MachineVersionInfo(in *cluster.MachineVersionInfo, out *MachineVersionInfo, s conversion.Scope) error
- func Convert_cluster_Machine_To_v1alpha1_Machine(in *cluster.Machine, out *Machine, s conversion.Scope) error
- func Convert_cluster_NetworkRanges_To_v1alpha1_NetworkRanges(in *cluster.NetworkRanges, out *NetworkRanges, s conversion.Scope) error
- func Convert_v1alpha1_APIEndpoint_To_cluster_APIEndpoint(in *APIEndpoint, out *cluster.APIEndpoint, s conversion.Scope) error
- func Convert_v1alpha1_ClusterList_To_cluster_ClusterList(in *ClusterList, out *cluster.ClusterList, s conversion.Scope) error
- func Convert_v1alpha1_ClusterNetworkingConfig_To_cluster_ClusterNetworkingConfig(in *ClusterNetworkingConfig, out *cluster.ClusterNetworkingConfig, ...) error
- func Convert_v1alpha1_ClusterSpec_To_cluster_ClusterSpec(in *ClusterSpec, out *cluster.ClusterSpec, s conversion.Scope) error
- func Convert_v1alpha1_ClusterStatusStrategy_To_cluster_ClusterStatusStrategy(in *ClusterStatusStrategy, out *cluster.ClusterStatusStrategy, ...) error
- func Convert_v1alpha1_ClusterStatus_To_cluster_ClusterStatus(in *ClusterStatus, out *cluster.ClusterStatus, s conversion.Scope) error
- func Convert_v1alpha1_ClusterStrategy_To_cluster_ClusterStrategy(in *ClusterStrategy, out *cluster.ClusterStrategy, s conversion.Scope) error
- func Convert_v1alpha1_Cluster_To_cluster_Cluster(in *Cluster, out *cluster.Cluster, s conversion.Scope) error
- func Convert_v1alpha1_ContainerRuntimeInfo_To_cluster_ContainerRuntimeInfo(in *ContainerRuntimeInfo, out *cluster.ContainerRuntimeInfo, ...) error
- func Convert_v1alpha1_MachineList_To_cluster_MachineList(in *MachineList, out *cluster.MachineList, s conversion.Scope) error
- func Convert_v1alpha1_MachineSpec_To_cluster_MachineSpec(in *MachineSpec, out *cluster.MachineSpec, s conversion.Scope) error
- func Convert_v1alpha1_MachineStatusStrategy_To_cluster_MachineStatusStrategy(in *MachineStatusStrategy, out *cluster.MachineStatusStrategy, ...) error
- func Convert_v1alpha1_MachineStatus_To_cluster_MachineStatus(in *MachineStatus, out *cluster.MachineStatus, s conversion.Scope) error
- func Convert_v1alpha1_MachineStrategy_To_cluster_MachineStrategy(in *MachineStrategy, out *cluster.MachineStrategy, s conversion.Scope) error
- func Convert_v1alpha1_MachineVersionInfo_To_cluster_MachineVersionInfo(in *MachineVersionInfo, out *cluster.MachineVersionInfo, s conversion.Scope) error
- func Convert_v1alpha1_Machine_To_cluster_Machine(in *Machine, out *cluster.Machine, s conversion.Scope) error
- func Convert_v1alpha1_NetworkRanges_To_cluster_NetworkRanges(in *NetworkRanges, out *cluster.NetworkRanges, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type APIEndpoint
- type Cluster
- type ClusterList
- type ClusterNetworkingConfig
- type ClusterSchemeFns
- type ClusterSpec
- type ClusterStatus
- type ClusterStatusStrategy
- type ClusterStrategy
- type ContainerRuntimeInfo
- type Machine
- type MachineList
- type MachineSchemeFns
- type MachineSpec
- type MachineStatus
- type MachineStatusStrategy
- type MachineStrategy
- type MachineVersionInfo
- type NetworkRanges
Constants ¶
This section is empty.
Variables ¶
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}, )) // 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_ContainerRuntimeInfo_To_v1alpha1_ContainerRuntimeInfo ¶
func Convert_cluster_ContainerRuntimeInfo_To_v1alpha1_ContainerRuntimeInfo(in *cluster.ContainerRuntimeInfo, out *ContainerRuntimeInfo, s conversion.Scope) error
Convert_cluster_ContainerRuntimeInfo_To_v1alpha1_ContainerRuntimeInfo 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_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_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_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_ContainerRuntimeInfo_To_cluster_ContainerRuntimeInfo ¶
func Convert_v1alpha1_ContainerRuntimeInfo_To_cluster_ContainerRuntimeInfo(in *ContainerRuntimeInfo, out *cluster.ContainerRuntimeInfo, s conversion.Scope) error
Convert_v1alpha1_ContainerRuntimeInfo_To_cluster_ContainerRuntimeInfo 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_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_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 Kind ¶
Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies
deprecated
func RegisterDefaults ¶
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
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
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. DNSDomain string `json:"dnsDomain"` }
ClusterNetworkingConfig specifies the different networking parameters for a cluster.
func (*ClusterNetworkingConfig) DeepCopy ¶
func (in *ClusterNetworkingConfig) DeepCopy() *ClusterNetworkingConfig
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. ProviderConfig string `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 serialized status to use during cluster // creation. It is recommended that providers maintain their // own versioned API types that should be // serialized/deserialized from this field. ProviderStatus string `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
type ContainerRuntimeInfo ¶
type ContainerRuntimeInfo struct { // docker, rkt, containerd, ... Name string `json:"name"` // Semantic version of the container runtime to use Version string `json:"version"` }
func (*ContainerRuntimeInfo) DeepCopy ¶
func (in *ContainerRuntimeInfo) DeepCopy() *ContainerRuntimeInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntimeInfo.
func (*ContainerRuntimeInfo) DeepCopyInto ¶
func (in *ContainerRuntimeInfo) DeepCopyInto(out *ContainerRuntimeInfo)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Machine.
func (*Machine) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Machine) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 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 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"` // Provider-specific serialized configuration to use during node // creation. It is recommended that providers maintain their own // versioned API types that should be serialized/deserialized from this // field, akin to component config. // +optional ProviderConfig string `json:"providerConfig"` // A list consisting of "Master" and/or "Node". // // +-----------------------+------------------------+ // | Master present | Master absent | // +---------------+-----------------------+------------------------| // | Node present: | Install control plane | Join the cluster as | // | | and be schedulable | just a node | // |---------------+-----------------------+------------------------| // | Node absent: | Install control plane | Invalid configuration | // | | and be unscheduleable | | // +---------------+-----------------------+------------------------+ Roles []string `json:"roles,omitempty"` // Versions of key software to use. // +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 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"` // Indicates whether or not the Machine is fully reconciled. When a // controller observes that the spec has changed and no longer matches // reality, it should update Ready to false before reconciling the // state, and then set back to true when the state matches the spec. Ready bool `json:"ready"` // If set, indicates that there is a problem reconciling state, and // will be set to a token value suitable for machine interpretation. // +optional ErrorReason *common.MachineStatusError `json:"errorReason,omitempty"` // +optional // If set, indicates that there is a problem reconciling state, and // will be set to a human readable string to indicate the problem. ErrorMessage *string `json:"errorMessage,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
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. ControlPlane string `json:"controlPlane"` // Name/version of container runtime ContainerRuntime ContainerRuntimeInfo `json:"containerRuntime"` }
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.