Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the infra v1 API group. +kubebuilder:object:generate=true +groupName=infra.exalsius.ai
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "infra.exalsius.ai", 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 Colony ¶
type Colony struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ColonySpec `json:"spec,omitempty"`
Status ColonyStatus `json:"status,omitempty"`
}
Colony is the Schema for the colonies API.
func (*Colony) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Colony.
func (*Colony) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Colony) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ColonyCluster ¶
type ColonyCluster struct {
// Name is the name of the cluster.
ClusterName string `json:"clusterName"`
// ClusterDeployment is the specification for the cluster deployment.
// this is a *k0rdentv1beta1.ClusterDeploymentSpec
ClusterDeploymentSpec *runtime.RawExtension `json:"clusterDeploymentSpec,omitempty"`
}
func (*ColonyCluster) DeepCopy ¶
func (in *ColonyCluster) DeepCopy() *ColonyCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColonyCluster.
func (*ColonyCluster) DeepCopyInto ¶
func (in *ColonyCluster) DeepCopyInto(out *ColonyCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColonyList ¶
type ColonyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Colony `json:"items"`
}
ColonyList contains a list of Colony.
func (*ColonyList) DeepCopy ¶
func (in *ColonyList) DeepCopy() *ColonyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColonyList.
func (*ColonyList) DeepCopyInto ¶
func (in *ColonyList) DeepCopyInto(out *ColonyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ColonyList) DeepCopyObject ¶
func (in *ColonyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ColonySpec ¶
type ColonySpec struct {
// ColonyClusters is the list of clusters to create.
ColonyClusters []ColonyCluster `json:"colonyClusters,omitempty"`
}
ColonySpec defines the desired state of Colony.
func (*ColonySpec) DeepCopy ¶
func (in *ColonySpec) DeepCopy() *ColonySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColonySpec.
func (*ColonySpec) DeepCopyInto ¶
func (in *ColonySpec) DeepCopyInto(out *ColonySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColonyStatus ¶
type ColonyStatus struct {
Phase string `json:"phase,omitempty"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
ClusterDeploymentRefs []*corev1.ObjectReference `json:"clusterDeploymentRefs,omitempty"`
TotalClusters int32 `json:"totalClusters"`
ReadyClusters int32 `json:"readyClusters"`
}
ColonyStatus defines the observed state of Colony.
func (*ColonyStatus) DeepCopy ¶
func (in *ColonyStatus) DeepCopy() *ColonyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColonyStatus.
func (*ColonyStatus) DeepCopyInto ¶
func (in *ColonyStatus) DeepCopyInto(out *ColonyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.