Documentation ¶
Overview ¶
Package v1alpha3 contains API Schema definitions for the cluster.weave.works v1alpha3 API group +kubebuilder:object:generate=true +groupName=cluster.weave.works
Index ¶
- Constants
- Variables
- type APIServer
- type Addon
- type AuthenticationWebhook
- type AuthorizationWebhook
- type ClusterFlavor
- type ClusterSpec
- type ClusterStatus
- type ContainerRuntime
- type EndPoint
- type ExistingInfraCluster
- type ExistingInfraClusterList
- type ExistingInfraMachine
- type ExistingInfraMachineList
- type FileSpec
- type MachineSpec
- type MachineStatus
- type OSConfig
- type ServerArgument
- type SourceSpec
Constants ¶
const ( // MachineFinalizer allows ReconcileExistingInfraMachine to clean up before // removing it from the apiserver. ExistingInfraMachineFinalizer = "existinginframachine.cluster.weave.works" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cluster.weave.works", Version: "v1alpha3"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct { AdditionalSANs []string `json:"additionalSANs,omitempty"` ExtraArguments []ServerArgument `json:"extraArguments,omitempty"` }
func (*APIServer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.
func (*APIServer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Addon ¶
type Addon struct { Name string `json:"name"` Params map[string]string `json:"params,omitempty"` Deps []string `json:"deps,omitempty"` }
Addon describes an addon to install on the cluster.
func (*Addon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthenticationWebhook ¶
type AuthenticationWebhook struct { CacheTTL string `json:"cacheTTL,omitempty"` URL string `json:"url"` SecretFile string `json:"secretFile"` }
func (*AuthenticationWebhook) DeepCopy ¶
func (in *AuthenticationWebhook) DeepCopy() *AuthenticationWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationWebhook.
func (*AuthenticationWebhook) DeepCopyInto ¶
func (in *AuthenticationWebhook) DeepCopyInto(out *AuthenticationWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationWebhook ¶
type AuthorizationWebhook struct { CacheAuthorizedTTL string `json:"cacheAuthorizedTTL,omitempty"` URL string `json:"url"` SecretFile string `json:"secretFile"` }
func (*AuthorizationWebhook) DeepCopy ¶
func (in *AuthorizationWebhook) DeepCopy() *AuthorizationWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationWebhook.
func (*AuthorizationWebhook) DeepCopyInto ¶
func (in *AuthorizationWebhook) DeepCopyInto(out *AuthorizationWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterFlavor ¶ added in v0.2.1
ClusterFlavor is used to define cluster override values and configuration
func (*ClusterFlavor) DeepCopy ¶ added in v0.2.1
func (in *ClusterFlavor) DeepCopy() *ClusterFlavor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterFlavor.
func (*ClusterFlavor) DeepCopyInto ¶ added in v0.2.1
func (in *ClusterFlavor) DeepCopyInto(out *ClusterFlavor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { // This TypeMeta is not stored on encode, it is here just // to provide runtime.Object compliance for conversion. metav1.TypeMeta `json:"-"` User string `json:"user"` KubernetesVersion string `json:"kubernetesVersion,omitempty"` ControllerImage string `json:"controllerImage,omitempty"` ControlPlaneMachineCount string `json:"controlPlaneMachineCount,omitempty"` WorkerMachineCount string `json:"workerMachineCount,omitempty"` DeprecatedSSHKeyPath string `json:"sshKeyPath,omitempty"` HTTPProxy string `json:"httpProxy,omitempty"` WorkloadCluster bool `json:"workloadCluster,omitempty"` Authentication *AuthenticationWebhook `json:"authenticationWebhook,omitempty"` Authorization *AuthorizationWebhook `json:"authorizationWebhook,omitempty"` OS OSConfig `json:"os,omitempty"` CRI ContainerRuntime `json:"cri"` CNI string `json:"cni"` ImageRepository string `json:"imageRepository,omitempty"` ImageSuffix string `json:"imageSuffix,omitempty"` ControlPlaneEndpoint string `json:"controlPlaneEndpoint,omitempty"` APIServer APIServer `json:"apiServer,omitempty"` KubeletArguments []ServerArgument `json:"kubeletArguments,omitempty"` Addons []Addon `json:"addons,omitempty"` CloudProvider string `json:"cloudProvider,omitempty"` Flavor ClusterFlavor `json:"flavor,omitempty"` }
ClusterSpec defines the desired state of ExistingInfraCluster
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.
func (*ClusterSpec) DeepCopyObject ¶ added in v0.0.2
func (in *ClusterSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterStatus ¶
type ClusterStatus struct {
Ready bool `json:"ready"`
}
ClusterStatus defines the observed state of ExistingInfraCluster
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 ContainerRuntime ¶
type ContainerRuntime struct { Kind string `json:"kind"` Package string `json:"package"` Version string `json:"version"` }
func (*ContainerRuntime) DeepCopy ¶
func (in *ContainerRuntime) DeepCopy() *ContainerRuntime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerRuntime.
func (*ContainerRuntime) DeepCopyInto ¶
func (in *ContainerRuntime) DeepCopyInto(out *ContainerRuntime)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndPoint ¶
EndPoint groups the details required to establish a connection.
func (*EndPoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndPoint.
func (*EndPoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExistingInfraCluster ¶
type ExistingInfraCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
ExistingInfraCluster is the Schema for the existinginfraclusters API
func (*ExistingInfraCluster) DeepCopy ¶
func (in *ExistingInfraCluster) DeepCopy() *ExistingInfraCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraCluster.
func (*ExistingInfraCluster) DeepCopyInto ¶
func (in *ExistingInfraCluster) DeepCopyInto(out *ExistingInfraCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExistingInfraCluster) DeepCopyObject ¶
func (in *ExistingInfraCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExistingInfraClusterList ¶
type ExistingInfraClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExistingInfraCluster `json:"items"` }
ExistingInfraClusterList contains a list of ExistingInfraCluster
func (*ExistingInfraClusterList) DeepCopy ¶
func (in *ExistingInfraClusterList) DeepCopy() *ExistingInfraClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraClusterList.
func (*ExistingInfraClusterList) DeepCopyInto ¶
func (in *ExistingInfraClusterList) DeepCopyInto(out *ExistingInfraClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExistingInfraClusterList) DeepCopyObject ¶
func (in *ExistingInfraClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExistingInfraMachine ¶
type ExistingInfraMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MachineSpec `json:"spec,omitempty"` Status MachineStatus `json:"status,omitempty"` }
ExistingInfraMachine is the Schema for the existinginframachines API
func (*ExistingInfraMachine) DeepCopy ¶
func (in *ExistingInfraMachine) DeepCopy() *ExistingInfraMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraMachine.
func (*ExistingInfraMachine) DeepCopyInto ¶
func (in *ExistingInfraMachine) DeepCopyInto(out *ExistingInfraMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExistingInfraMachine) DeepCopyObject ¶
func (in *ExistingInfraMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExistingInfraMachineList ¶
type ExistingInfraMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ExistingInfraMachine `json:"items"` }
ExistingInfraMachineList contains a list of ExistingInfraMachine
func (*ExistingInfraMachineList) DeepCopy ¶
func (in *ExistingInfraMachineList) DeepCopy() *ExistingInfraMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExistingInfraMachineList.
func (*ExistingInfraMachineList) DeepCopyInto ¶
func (in *ExistingInfraMachineList) DeepCopyInto(out *ExistingInfraMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExistingInfraMachineList) DeepCopyObject ¶
func (in *ExistingInfraMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FileSpec ¶
type FileSpec struct { Source SourceSpec `json:"source"` Destination string `json:"destination"` }
func (*FileSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSpec.
func (*FileSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineSpec ¶
type MachineSpec struct { // This TypeMeta is not stored on encode, it is here just // to provide runtime.Object compliance for conversion. metav1.TypeMeta `json:"-"` Private EndPoint `json:"private,omitempty"` Public EndPoint `json:"public,omitempty"` ProviderID string `json:"providerID,omitempty"` }
MachineSpec defines the desired state of ExistingInfraMachine
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.
func (*MachineSpec) DeepCopyObject ¶ added in v0.0.2
func (in *MachineSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MachineStatus ¶
type MachineStatus struct {
Ready bool `json:"ready"`
}
MachineStatus defines the observed state of ExistingInfraMachine
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 OSConfig ¶
type OSConfig struct {
Files []FileSpec `json:"files,omitempty"`
}
func (*OSConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OSConfig.
func (*OSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerArgument ¶
func (*ServerArgument) DeepCopy ¶
func (in *ServerArgument) DeepCopy() *ServerArgument
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerArgument.
func (*ServerArgument) DeepCopyInto ¶
func (in *ServerArgument) DeepCopyInto(out *ServerArgument)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceSpec ¶
type SourceSpec struct { ConfigMap string `json:"configmap"` Key string `json:"key"` Contents string `json:"contents,omitempty"` }
func (*SourceSpec) DeepCopy ¶
func (in *SourceSpec) DeepCopy() *SourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceSpec.
func (*SourceSpec) DeepCopyInto ¶
func (in *SourceSpec) DeepCopyInto(out *SourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.