Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the crd v1 API group +kubebuilder:object:generate=true +groupName=crd.cxwen.com
Index ¶
- Variables
- type CalicoConfig
- type Dns
- type DnsList
- type DnsPhase
- type DnsSpec
- type DnsStatus
- type EtcdCluster
- type EtcdClusterList
- type EtcdClusterSpec
- type EtcdClusterStatus
- type EtcdPhase
- type Expose
- type ImageRepo
- type Master
- type MasterList
- type MasterPhase
- type MasterSpec
- type MasterStatus
- type Matrix
- type MatrixList
- type MatrixPhase
- type MatrixSpec
- type MatrixStatus
- type NetworkPlugin
- type NetworkPluginList
- type NetworkPluginPhase
- type NetworkPluginSpec
- type NetworkPluginStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "crd.cxwen.com", Version: "v1"} // 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 CalicoConfig ¶
type CalicoConfig struct { Version string `json:"version,omitempty"` ImageRegistry string `json:"imageRegistry,omitempty"` InstallCniImageRepo string `json:"installCniImageRepo,omitempty"` NodeImageRepo string `json:"nodeImageRepo,omitempty"` FlexvolDriverImageRepo string `json:"flexvolDriverImageRepo,omitempty"` KubeControllerImageRepo string `json:"kubeControllerImageRepo,omitempty"` IpAutodetectionMethod string `json:"ipAutodetectionMethod,omitempty"` Ipv4poolIpip string `json:"ipv4poolIpip,omitempty"` Ipv4poolCidr string `json:"ipv4poolCidr,omitempty"` }
type Dns ¶
type Dns struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DnsSpec `json:"spec,omitempty"` Status DnsStatus `json:"status,omitempty"` }
Dns is the Schema for the dns API
func (*Dns) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dns.
func (*Dns) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dns) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DnsList ¶
type DnsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Dns `json:"items"` }
DnsList contains a list of Dns
func (*DnsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsList.
func (*DnsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DnsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DnsSpec ¶
type DnsSpec struct { // Foo is an example field of Dns. Edit Dns_types.go to remove/update Type string `json:"type,omitempty"` Version string `json:"version,omitempty"` Replicas int `json:"replicas,omitempty"` ImageRegistry string `json:"imageRegistry,omitempty"` ImageRepo string `json:"imageRepo,omitempty"` }
DnsSpec defines the desired state of Dns
func (*DnsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsSpec.
func (*DnsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DnsStatus ¶
type DnsStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase DnsPhase `json:"phase,omitempty"` }
DnsStatus defines the observed state of Dns
func (*DnsStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DnsStatus.
func (*DnsStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdCluster ¶
type EtcdCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EtcdClusterSpec `json:"spec,omitempty"` Status EtcdClusterStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.version",description="=version" +kubebuilder:printcolumn:name="REPLICAS",type="string",JSONPath=".spec.replicas",description="=pod replicas" +kubebuilder:printcolumn:name="PHASE",type="string",JSONPath=".status.phase",description="phase" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" EtcdCluster is the Schema for the etcdclusters API
func (*EtcdCluster) DeepCopy ¶
func (in *EtcdCluster) DeepCopy() *EtcdCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdCluster.
func (*EtcdCluster) DeepCopyInto ¶
func (in *EtcdCluster) DeepCopyInto(out *EtcdCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EtcdCluster) DeepCopyObject ¶
func (in *EtcdCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EtcdClusterList ¶
type EtcdClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EtcdCluster `json:"items"` }
EtcdClusterList contains a list of EtcdCluster
func (*EtcdClusterList) DeepCopy ¶
func (in *EtcdClusterList) DeepCopy() *EtcdClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdClusterList.
func (*EtcdClusterList) DeepCopyInto ¶
func (in *EtcdClusterList) DeepCopyInto(out *EtcdClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EtcdClusterList) DeepCopyObject ¶
func (in *EtcdClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EtcdClusterSpec ¶
type EtcdClusterSpec struct { // Foo is an example field of EtcdCluster. Edit EtcdCluster_types.go to remove/update Version string `json:"version,omitempty"` Replicas int `json:"replicas,omitempty"` ImageRegistry string `json:"imageRegistry,omitempty"` ImageRepo string `json:"imageRepo,omitempty"` StorageClass string `json:"storageClass,omitempty"` StorageSize string `json:"storageSize,omitempty"` StorageDir string `json:"storageDir,omitempty"` }
EtcdClusterSpec defines the desired state of EtcdCluster
func (*EtcdClusterSpec) DeepCopy ¶
func (in *EtcdClusterSpec) DeepCopy() *EtcdClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdClusterSpec.
func (*EtcdClusterSpec) DeepCopyInto ¶
func (in *EtcdClusterSpec) DeepCopyInto(out *EtcdClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EtcdClusterStatus ¶
type EtcdClusterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase EtcdPhase `json:"phase,omitempty"` }
EtcdClusterStatus defines the observed state of EtcdCluster
func (*EtcdClusterStatus) DeepCopy ¶
func (in *EtcdClusterStatus) DeepCopy() *EtcdClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdClusterStatus.
func (*EtcdClusterStatus) DeepCopyInto ¶
func (in *EtcdClusterStatus) DeepCopyInto(out *EtcdClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Master ¶
type Master struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MasterSpec `json:"spec,omitempty"` Status MasterStatus `json:"status,omitempty"` }
Master is the Schema for the masters API
func (*Master) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Master.
func (*Master) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Master) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MasterList ¶
type MasterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Master `json:"items"` }
MasterList contains a list of Master
func (*MasterList) DeepCopy ¶
func (in *MasterList) DeepCopy() *MasterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterList.
func (*MasterList) DeepCopyInto ¶
func (in *MasterList) DeepCopyInto(out *MasterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MasterList) DeepCopyObject ¶
func (in *MasterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MasterPhase ¶
type MasterPhase string
const ( MasterInitializingPhase MasterPhase = "Initializing" MasterReadyPhase MasterPhase = "Ready" MasterTeminatingPhase MasterPhase = "Teminating" )
type MasterSpec ¶
type MasterSpec struct { // Foo is an example field of Master. Edit Master_types.go to remove/update Version string `json:"version,omitempty"` Replicas int `json:"replicas,omitempty"` ImageRegistry string `json:"imageRegistry,omitempty"` ImageRepo *ImageRepo `json:"imageRepo,omitempty"` EtcdCluster string `json:"etcdCluster,omitempty"` Expose *Expose `json:"expose,omitempty"` }
MasterSpec defines the desired state of Master
func (*MasterSpec) DeepCopy ¶
func (in *MasterSpec) DeepCopy() *MasterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterSpec.
func (*MasterSpec) DeepCopyInto ¶
func (in *MasterSpec) DeepCopyInto(out *MasterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MasterStatus ¶
type MasterStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase MasterPhase `json:"phase,omitempty"` ExposeUrl []string `json:"exposeUrl,omitempty"` AdminKubeconfig string `json:"adminKubeconfig,omitempty"` }
MasterStatus defines the observed state of Master
func (*MasterStatus) DeepCopy ¶
func (in *MasterStatus) DeepCopy() *MasterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MasterStatus.
func (*MasterStatus) DeepCopyInto ¶
func (in *MasterStatus) DeepCopyInto(out *MasterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Matrix ¶
type Matrix struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MatrixSpec `json:"spec,omitempty"` Status MatrixStatus `json:"status,omitempty"` }
Matrix is the Schema for the matrices API
func (*Matrix) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matrix.
func (*Matrix) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Matrix) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MatrixList ¶
type MatrixList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Matrix `json:"items"` }
MatrixList contains a list of Matrix
func (*MatrixList) DeepCopy ¶
func (in *MatrixList) DeepCopy() *MatrixList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatrixList.
func (*MatrixList) DeepCopyInto ¶
func (in *MatrixList) DeepCopyInto(out *MatrixList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MatrixList) DeepCopyObject ¶
func (in *MatrixList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MatrixPhase ¶
type MatrixPhase string
const ( MatrixInitializingPhase MatrixPhase = "Initializing" MatrixReadyPhase MatrixPhase = "Ready" MatrixTeminatingPhase MatrixPhase = "Teminating" )
type MatrixSpec ¶
type MatrixSpec struct { // Foo is an example field of Matrix. Edit Matrix_types.go to remove/update Master *MasterSpec `json:"master,omitempty"` Etcd *EtcdClusterSpec `json:"etcd,omitempty"` Dns *DnsSpec `json:"dns,omitempty"` NetworkPlugin *NetworkPluginSpec `json:"networkPlugin,omitempty"` }
MatrixSpec defines the desired state of Matrix
func (*MatrixSpec) DeepCopy ¶
func (in *MatrixSpec) DeepCopy() *MatrixSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatrixSpec.
func (*MatrixSpec) DeepCopyInto ¶
func (in *MatrixSpec) DeepCopyInto(out *MatrixSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatrixStatus ¶
type MatrixStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase MatrixPhase `json:"phase,omitempty"` }
MatrixStatus defines the observed state of Matrix
func (*MatrixStatus) DeepCopy ¶
func (in *MatrixStatus) DeepCopy() *MatrixStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatrixStatus.
func (*MatrixStatus) DeepCopyInto ¶
func (in *MatrixStatus) DeepCopyInto(out *MatrixStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPlugin ¶
type NetworkPlugin struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NetworkPluginSpec `json:"spec,omitempty"` Status NetworkPluginStatus `json:"status,omitempty"` }
NetworkPlugin is the Schema for the networkplugins API
func (*NetworkPlugin) DeepCopy ¶
func (in *NetworkPlugin) DeepCopy() *NetworkPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPlugin.
func (*NetworkPlugin) DeepCopyInto ¶
func (in *NetworkPlugin) DeepCopyInto(out *NetworkPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPlugin) DeepCopyObject ¶
func (in *NetworkPlugin) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPluginList ¶
type NetworkPluginList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkPlugin `json:"items"` }
NetworkPluginList contains a list of NetworkPlugin
func (*NetworkPluginList) DeepCopy ¶
func (in *NetworkPluginList) DeepCopy() *NetworkPluginList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPluginList.
func (*NetworkPluginList) DeepCopyInto ¶
func (in *NetworkPluginList) DeepCopyInto(out *NetworkPluginList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPluginList) DeepCopyObject ¶
func (in *NetworkPluginList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPluginPhase ¶
type NetworkPluginPhase string
const ( NetworkPluginInitializingPhase NetworkPluginPhase = "Initializing" NetworkPluginReadyPhase NetworkPluginPhase = "Ready" NetworkPluginTeminatingPhase NetworkPluginPhase = "Teminating" )
type NetworkPluginSpec ¶
type NetworkPluginSpec struct { // Foo is an example field of NetworkPlugin. Edit NetworkPlugin_types.go to remove/update Type string `json:"type,omitempty"` Calico *CalicoConfig `json:"calico,omitempty"` }
NetworkPluginSpec defines the desired state of NetworkPlugin
func (*NetworkPluginSpec) DeepCopy ¶
func (in *NetworkPluginSpec) DeepCopy() *NetworkPluginSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPluginSpec.
func (*NetworkPluginSpec) DeepCopyInto ¶
func (in *NetworkPluginSpec) DeepCopyInto(out *NetworkPluginSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPluginStatus ¶
type NetworkPluginStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file Phase NetworkPluginPhase `json:"phase,omitempty"` }
NetworkPluginStatus defines the observed state of NetworkPlugin
func (*NetworkPluginStatus) DeepCopy ¶
func (in *NetworkPluginStatus) DeepCopy() *NetworkPluginStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPluginStatus.
func (*NetworkPluginStatus) DeepCopyInto ¶
func (in *NetworkPluginStatus) DeepCopyInto(out *NetworkPluginStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.