Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the kubernetes v1 API group +kubebuilder:object:generate=true +groupName=kubernetes.ov3rlord.me
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kubernetes.ov3rlord.me", 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 Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec,omitempty"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the Schema for the clusters API
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"` }
ClusterList contains a list of Cluster
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 ClusterSpec ¶
type ClusterSpec struct {
Bootstrap bool `json:"bootstrap,omitempty"`
}
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 { Kubeconfig string `json:"kubeconfig,omitempty"` Token string `json:"token,omitempty"` Master string `json:"master,omitempty"` }
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 HealthState ¶
type HealthState string
HealthState ...
const ( // Healthy ... Healthy HealthState = "Healthy" // Warning ... Warning HealthState = "Warning" // Unhealthy ... Unhealthy HealthState = "Unhealthy" )
type Minion ¶
type Minion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MinionSpec `json:"spec,omitempty"` Status MinionStatus `json:"status,omitempty"` }
Minion is the Schema for the minions API
func (*Minion) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Minion.
func (*Minion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Minion) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MinionList ¶
type MinionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Minion `json:"items"` }
MinionList contains a list of Minion
func (*MinionList) DeepCopy ¶
func (in *MinionList) DeepCopy() *MinionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinionList.
func (*MinionList) DeepCopyInto ¶
func (in *MinionList) DeepCopyInto(out *MinionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MinionList) DeepCopyObject ¶
func (in *MinionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MinionSpec ¶
type MinionSpec struct { Name string `json:"name,omitempty"` Master string `json:"master,omitempty"` Kubeconfig string `json:"kubeconfig,omitempty"` Token string `json:"token,omitempty"` }
MinionSpec defines the desired state of Minion
func (*MinionSpec) DeepCopy ¶
func (in *MinionSpec) DeepCopy() *MinionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinionSpec.
func (*MinionSpec) DeepCopyInto ¶
func (in *MinionSpec) DeepCopyInto(out *MinionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MinionStatus ¶
type MinionStatus struct { NodeStatus `json:"nodeStatus,omitempty"` LastTimestamp metav1.Time `json:"lastTimestamp,omitempty"` }
MinionStatus defines the observed state of Minion
func (*MinionStatus) DeepCopy ¶
func (in *MinionStatus) DeepCopy() *MinionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinionStatus.
func (*MinionStatus) DeepCopyInto ¶
func (in *MinionStatus) DeepCopyInto(out *MinionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeStatus ¶
type NodeStatus struct { Kubeconfig string `json:"kubeconfig,omitempty"` Token string `json:"token,omitempty"` State HealthState `json:"state,omitempty"` Message string `json:"message,omitempty"` }
NodeStatus as reported by each minion
func (*NodeStatus) DeepCopy ¶
func (in *NodeStatus) DeepCopy() *NodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeStatus.
func (*NodeStatus) DeepCopyInto ¶
func (in *NodeStatus) DeepCopyInto(out *NodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.