Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the intent v1 API group +kubebuilder:object:generate=true +groupName=intent.automation.dcn.ssu.ac.kr
Index ¶
- Constants
- Variables
- type Blueprint
- type BlueprintList
- type BlueprintSpec
- type BlueprintStatus
- type CAPIConfig
- type CloudProvider
- type Cluster
- type ClusterCatalog
- type ClusterCatalogList
- type ClusterCatalogSpec
- type ClusterCatalogStatus
- type ClusterConfig
- type ClusterDescription
- type ClusterDescriptionList
- type ClusterDescriptionSpec
- type ClusterDescriptionStatus
- type ClusterLabel
- type ClusterList
- type ClusterMember
- type ClusterMemberSpec
- type ClusterMemberStatus
- type ClusterPhase
- type ClusterSpec
- type ClusterStatus
- type ConditionReason
- type ConditionType
- type DeleteReason
- type DescriptionSpec
- type LogicalCluster
- type LogicalClusterList
- type LogicalClusterSpec
- type LogicalClusterStatus
- type Profile
- type ProfileInfo
- type ProfileInfoList
- type ProfileInfoSpec
- type ProfileList
- type ProfileSpec
- type ProfileStatus
- type ProviderConfig
Constants ¶
const ( ClusterPhasePending = ClusterPhase("Pending") ClusterPhaseProvisioning = ClusterPhase("Provisioning") ClusterPhaseProvisioned = ClusterPhase("Provisioned") ClusterPhaseDeleting = ClusterPhase("Deleting") ClusterPhaseFailed = ClusterPhase("Failed") ClusterPhaseUnknown = ClusterPhase("Unknown") )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "intent.automation.dcn.ssu.ac.kr", 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 Blueprint ¶
type Blueprint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BlueprintSpec `json:"spec,omitempty"` Status BlueprintStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:pruning:PreserveUnknownFields +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of Cluster" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.status",description="Cluster status" +kubebuilder:printcolumn:name="SHA",type="string",JSONPath=".status.sha",description="SHA" +kubebuilder:printcolumn:name="Repo",type="string",JSONPath=".status.repo",description="Repo" +kubebuilder:printcolumn:name="Sync",type="string",JSONPath=".status.sync",description="Sync" +kubebuilder:printcolumn:name="Revision",type="integer",JSONPath=".status.revision",description="Revision" Blueprint is the Schema for the blueprints API
func (*Blueprint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Blueprint.
func (*Blueprint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Blueprint) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BlueprintList ¶
type BlueprintList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Blueprint `json:"items"` }
BlueprintList contains a list of Blueprint
func (*BlueprintList) DeepCopy ¶
func (in *BlueprintList) DeepCopy() *BlueprintList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintList.
func (*BlueprintList) DeepCopyInto ¶
func (in *BlueprintList) DeepCopyInto(out *BlueprintList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BlueprintList) DeepCopyObject ¶
func (in *BlueprintList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BlueprintSpec ¶
type BlueprintSpec struct { // Blueprint refer to another blueprint Blueprints []ProfileInfoSpec `json:"blueprint,omitempty"` Values map[string]string `json:"values,omitempty"` }
BlueprintSpec defines the desired state of Blueprint
func (*BlueprintSpec) DeepCopy ¶
func (in *BlueprintSpec) DeepCopy() *BlueprintSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintSpec.
func (*BlueprintSpec) DeepCopyInto ¶
func (in *BlueprintSpec) DeepCopyInto(out *BlueprintSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlueprintStatus ¶
type BlueprintStatus struct { // Status of Blueprint Status string `json:"status,omitempty"` // Sync status of Blueprint Sync string `json:"sync,omitempty"` // SHA of blueprint SHA string `json:"sha,omitempty"` // Repo contains blueprint Repo string `json:"repo,omitempty"` // Version of blueprint Version string `json:"version,omitempty"` // Revision of blueprint Revision int64 `json:"revision,omitempty"` }
+kubebuilder:subresource:status BlueprintStatus defines the observed state of Blueprint
func (*BlueprintStatus) DeepCopy ¶
func (in *BlueprintStatus) DeepCopy() *BlueprintStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlueprintStatus.
func (*BlueprintStatus) DeepCopyInto ¶
func (in *BlueprintStatus) DeepCopyInto(out *BlueprintStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CAPIConfig ¶
func (CAPIConfig) DeepCopy ¶
func (in CAPIConfig) DeepCopy() CAPIConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CAPIConfig.
func (CAPIConfig) DeepCopyInto ¶
func (in CAPIConfig) DeepCopyInto(out *CAPIConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudProvider ¶
type CloudProvider string
const ( DEFAULT CloudProvider = "default" AWS CloudProvider = "aws" OPENSTACK CloudProvider = "openstack" )
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 ClusterCatalog ¶
type ClusterCatalog struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterCatalogSpec `json:"spec,omitempty"` Status ClusterCatalogStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status ClusterCatalog is the Schema for the clustercatalogs API
func (*ClusterCatalog) DeepCopy ¶
func (in *ClusterCatalog) DeepCopy() *ClusterCatalog
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCatalog.
func (*ClusterCatalog) DeepCopyInto ¶
func (in *ClusterCatalog) DeepCopyInto(out *ClusterCatalog)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCatalog) DeepCopyObject ¶
func (in *ClusterCatalog) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterCatalogList ¶
type ClusterCatalogList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterCatalog `json:"items"` }
+kubebuilder:object:root=true ClusterCatalogList contains a list of ClusterCatalog
func (*ClusterCatalogList) DeepCopy ¶
func (in *ClusterCatalogList) DeepCopy() *ClusterCatalogList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCatalogList.
func (*ClusterCatalogList) DeepCopyInto ¶
func (in *ClusterCatalogList) DeepCopyInto(out *ClusterCatalogList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCatalogList) DeepCopyObject ¶
func (in *ClusterCatalogList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterCatalogSpec ¶
type ClusterCatalogSpec struct { Infrastructure []ProfileInfo `json:"infrastructure,omitempty"` Network []ProfileInfo `json:"network,omitempty"` Software []ProfileInfo `json:"software,omitempty"` }
ClusterCatalogSpec defines the desired state of ClusterCatalog
func (*ClusterCatalogSpec) DeepCopy ¶
func (in *ClusterCatalogSpec) DeepCopy() *ClusterCatalogSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCatalogSpec.
func (*ClusterCatalogSpec) DeepCopyInto ¶
func (in *ClusterCatalogSpec) DeepCopyInto(out *ClusterCatalogSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterCatalogStatus ¶
type ClusterCatalogStatus struct { // Sync status of cluster Sync string `json:"sync,omitempty"` // SHA of cluster package SHA string `json:"sha,omitempty"` // Repo contains cluster package Repo string `json:"repo,omitempty"` // Version of cluster package Version string `json:"version,omitempty"` // Revision of cluster package Revision int64 `json:"revision,omitempty"` }
ClusterCatalogStatus defines the observed state of ClusterCatalog
func (*ClusterCatalogStatus) DeepCopy ¶
func (in *ClusterCatalogStatus) DeepCopy() *ClusterCatalogStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCatalogStatus.
func (*ClusterCatalogStatus) DeepCopyInto ¶
func (in *ClusterCatalogStatus) DeepCopyInto(out *ClusterCatalogStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterConfig ¶
COnfig for CAPI Cluster
func (ClusterConfig) DeepCopy ¶
func (in ClusterConfig) DeepCopy() ClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfig.
func (ClusterConfig) DeepCopyInto ¶
func (in ClusterConfig) DeepCopyInto(out *ClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDescription ¶
type ClusterDescription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterDescriptionSpec `json:"spec,omitempty"` Status ClusterDescriptionStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:pruning:PreserveUnknownFields ClusterDescription is the Schema for the clusterdescriptions API
func (*ClusterDescription) DeepCopy ¶
func (in *ClusterDescription) DeepCopy() *ClusterDescription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDescription.
func (*ClusterDescription) DeepCopyInto ¶
func (in *ClusterDescription) DeepCopyInto(out *ClusterDescription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterDescription) DeepCopyObject ¶
func (in *ClusterDescription) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDescriptionList ¶
type ClusterDescriptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterDescription `json:"items"` }
+kubebuilder:object:root=true +kubebuilder:pruning:PreserveUnknownFields ClusterDescriptionList contains a list of ClusterDescription
func (*ClusterDescriptionList) DeepCopy ¶
func (in *ClusterDescriptionList) DeepCopy() *ClusterDescriptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDescriptionList.
func (*ClusterDescriptionList) DeepCopyInto ¶
func (in *ClusterDescriptionList) DeepCopyInto(out *ClusterDescriptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterDescriptionList) DeepCopyObject ¶
func (in *ClusterDescriptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDescriptionSpec ¶
type ClusterDescriptionSpec struct { Infrastructure []DescriptionSpec `json:"infrastructure,omitempty"` Network []DescriptionSpec `json:"network,omitempty"` Software []DescriptionSpec `json:"software,omitempty"` }
ClusterDescriptionSpec defines the desired state of ClusterDescription
func (*ClusterDescriptionSpec) DeepCopy ¶
func (in *ClusterDescriptionSpec) DeepCopy() *ClusterDescriptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDescriptionSpec.
func (*ClusterDescriptionSpec) DeepCopyInto ¶
func (in *ClusterDescriptionSpec) DeepCopyInto(out *ClusterDescriptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDescriptionStatus ¶
type ClusterDescriptionStatus struct { Status string `json:"status,omitempty"` // Revision of cluster description Revision int64 `json:"revision,omitempty"` // Number of master node MasterStatus int `json:"masterstatus,omitempty"` // Number of worker node WorkerStatus int `json:"workerstatus,omitempty"` }
ClusterDescriptionStatus defines the observed state of ClusterDescription
func (*ClusterDescriptionStatus) DeepCopy ¶
func (in *ClusterDescriptionStatus) DeepCopy() *ClusterDescriptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDescriptionStatus.
func (*ClusterDescriptionStatus) DeepCopyInto ¶
func (in *ClusterDescriptionStatus) DeepCopyInto(out *ClusterDescriptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterLabel ¶
type ClusterLabel string
const ( ClusterNameLabel ClusterLabel = "intent.automation.dcn.ssu.ac.kr/cluster-name" ClusterTopologyOwnedLabel ClusterLabel = "topology.intent.automation.dcn.ssu.ac.kr/owned" ClusterTopologyClusterMemberNameLabel ClusterLabel = "topology.intent.automation.dcn.ssu.ac.kr/cluster-member-name" ProviderNameLabel ClusterLabel = "intent.automation.dcn.ssu.ac.kr/provider" ClusterNameAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/cluster-name" ClusterNamespaceAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/cluster-namespace" ClusterAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/cluster" OwnerKindAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/owner-kind" LabelsFromClusterMemberAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/labels-from-cluster-member" OwnerNameAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/owner-name" PausedAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/paused" DisableClusterCreateAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/disable-cluster-create" WatchLabel ClusterLabel = "intent.automation.dcn.ssu.ac.kr/watch-filter" DeleteClusterAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/delete-cluster" TemplateClonedFromGroupKindAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/cloned-from-groupkind" ClusterSecretType ClusterLabel = "intent.automation.dcn.ssu.ac.kr/secret" ManagedByAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/managed-by" TopologyDryRunAnnotation ClusterLabel = "topology.intent.automation.dcn.ssu.ac.kr/dry-run" ReplicasManagedByAnnotation ClusterLabel = "intent.automation.dcn.ssu.ac.kr/replicas-managed-by" VariableDefinitionFromInline ClusterLabel = "inline" )
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 ClusterMember ¶
type ClusterMember struct { Name string `json:"name,omitempty"` // ClusterCatalog string `json:"clustercatalog,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` // Cluster member of logical cluster. Each cluster member associate with a physical cluster (CAPI) //+optional ClusterMemberSpec ClusterMemberSpec `json:"spec,omitempty"` // ClusterRef is a reference to a L-KaaS cluster that holds the details cluster // +optional ClusterRef *corev1.ObjectReference `json:"clusterref,omitempty"` }
func (*ClusterMember) DeepCopy ¶
func (in *ClusterMember) DeepCopy() *ClusterMember
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMember.
func (*ClusterMember) DeepCopyInto ¶
func (in *ClusterMember) DeepCopyInto(out *ClusterMember)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterMemberSpec ¶
type ClusterMemberSpec struct { // Cluster Catalog //+optional ClusterCatalog string `json:"clustercatalog,omitempty"` // Cluster Detail Spec //+optional ClusterSpec ClusterSpec `json:"spec,omitempty"` }
func (*ClusterMemberSpec) DeepCopy ¶
func (in *ClusterMemberSpec) DeepCopy() *ClusterMemberSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMemberSpec.
func (*ClusterMemberSpec) DeepCopyInto ¶
func (in *ClusterMemberSpec) DeepCopyInto(out *ClusterMemberSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterMemberStatus ¶
type ClusterMemberStatus struct { // Cluster Name ClusterName string `json:"clustername,omitempty"` // Status of Cluster Ready bool `json:"ready,omitempty"` // Failure Message // +optional FailureMessage string `json:"failureMessage,omitempty"` // Failure Reason // +optional FailureReason string `json:"failureReason,omitempty"` // Logical Cluster Conditions // +optional Conditions ConditionType `json:"conditions,omitempty"` // Registration Status of Member Cluster Registration bool `json:"registration,omitempty"` }
Cluster Member State contains state of cluster member
func (*ClusterMemberStatus) DeepCopy ¶
func (in *ClusterMemberStatus) DeepCopy() *ClusterMemberStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMemberStatus.
func (*ClusterMemberStatus) DeepCopyInto ¶
func (in *ClusterMemberStatus) DeepCopyInto(out *ClusterMemberStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPhase ¶
type ClusterPhase string
type ClusterSpec ¶
type ClusterSpec struct { Infrastructure []ProfileInfo `json:"infrastructure,omitempty"` Network []ProfileInfo `json:"network,omitempty"` Software []ProfileInfo `json:"software,omitempty"` // ClusterRef is a reference to a CAPI-specific cluster that holds the details // for provisioning CAPI Cluster for a cluster in said provider. // +optional ClusterRef *corev1.ObjectReference `json:"clusterref,omitempty"` // Paused can be used to prevent controllers from processing the Cluster and all its associated objects. // +optional Paused bool `json:"paused,omitempty"` DependOnProvider CloudProvider `json:"dependonprovider,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 { // Ready Status Ready bool `json:"ready,omitempty"` // Status of cluster Status string `json:"status,omitempty"` // Sync status of cluster Sync string `json:"sync,omitempty"` // SHA of cluster package SHA string `json:"sha,omitempty"` // Repo contains cluster package Repo string `json:"repo,omitempty"` // Version of cluster package Version string `json:"version,omitempty"` // Revision of cluster package Revision int64 `json:"revision,omitempty"` // Failure Reason // +optional FailureReason string `json:"failureReason,omitempty"` // Failure Message // +optional FailureMessage string `json:"failureMessage,omitempty"` // Cluster Phase // +optional Phase ConditionType `json:"phase,omitempty"` // Registration Status of Cluster Registration bool `json:"registration,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 ConditionReason ¶
type ConditionReason string
const ( InstanceReadyCondition ConditionReason = "ClusterReady" WaitingForClusterInfrastructureReason ConditionReason = "WaitingForInfrastructure" InvalidClusterSpecReason ConditionReason = "InvalidClusterSpec" ClusterCreateFailedReason ConditionReason = "ClusterCreateFailed" ClusterNotFoundReason ConditionReason = "ClusterNotFound" ClusterStateErrorReason ConditionReason = "ClusterStateError" ClusterDeletedReason ConditionReason = "ClusterDeleted" ClusterNotReadyReason ConditionReason = "ClusterNotReady" ClusterDeleteFailedReason ConditionReason = "ClusterDeleteFailed" )
type ConditionType ¶
type ConditionType string
const ( ControlPlaneInitializedCondition ConditionType = "ControlPlaneInitialized" WaitingForControlPlaneProviderInitializedReason ConditionType = "WaitingForControlPlaneProviderInitialized" ControlPlaneReadyCondition ConditionType = "ControlPlaneReady" WaitingForControlPlaneFallbackReason ConditionType = "WaitingForControlPlane" WaitingForControlPlaneAvailableReason ConditionType = "WaitingForControlPlaneAvailable" )
const ( ClusterHealthCheckSucceededCondition ConditionType = "HealthCheckSucceeded" ClusterHasFailureReason ConditionType = "ClusterHasFailure" ClusterStartupTimeoutReason ConditionType = "ClusterStartupTimeout" UnhealthyClusterConditionReason ConditionType = "UnhealthyCluster" )
type DeleteReason ¶
type DeleteReason string
Delete Reason
const ( DeletingReason DeleteReason = "Deleting" DeletionFailedReason DeleteReason = "DeletionFailed" DeletedReason DeleteReason = "Deleted" )
type DescriptionSpec ¶
type DescriptionSpec struct { BlueprintInfo ProfileInfo `json:"info,omitempty"` Spec map[string]string `json:"spec,omitempty"` }
func (*DescriptionSpec) DeepCopy ¶
func (in *DescriptionSpec) DeepCopy() *DescriptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DescriptionSpec.
func (*DescriptionSpec) DeepCopyInto ¶
func (in *DescriptionSpec) DeepCopyInto(out *DescriptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalCluster ¶
type LogicalCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LogicalClusterSpec `json:"spec,omitempty"` Status LogicalClusterStatus `json:"status,omitempty"` }
LogicalCluster is the Schema for the logicalclusters API
func (*LogicalCluster) DeepCopy ¶
func (in *LogicalCluster) DeepCopy() *LogicalCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalCluster.
func (*LogicalCluster) DeepCopyInto ¶
func (in *LogicalCluster) DeepCopyInto(out *LogicalCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalCluster) DeepCopyObject ¶
func (in *LogicalCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogicalClusterList ¶
type LogicalClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []LogicalCluster `json:"items"` }
LogicalClusterList contains a list of LogicalCluster
func (*LogicalClusterList) DeepCopy ¶
func (in *LogicalClusterList) DeepCopy() *LogicalClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalClusterList.
func (*LogicalClusterList) DeepCopyInto ¶
func (in *LogicalClusterList) DeepCopyInto(out *LogicalClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalClusterList) DeepCopyObject ¶
func (in *LogicalClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LogicalClusterSpec ¶
type LogicalClusterSpec struct { // Foo is an example field of LogicalCluster. Edit logicalcluster_types.go to remove/update Clusters []ClusterMember `json:"clusters,omitempty"` }
LogicalClusterSpec defines the desired state of LogicalCluster
func (*LogicalClusterSpec) DeepCopy ¶
func (in *LogicalClusterSpec) DeepCopy() *LogicalClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalClusterSpec.
func (*LogicalClusterSpec) DeepCopyInto ¶
func (in *LogicalClusterSpec) DeepCopyInto(out *LogicalClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogicalClusterStatus ¶
type LogicalClusterStatus struct { // Ready state of Logical cluster Ready bool `json:"ready,omitempty"` // Status of cluster Status string `json:"status,omitempty"` // State of Each Cluster Member ClusterMemberStates []ClusterMemberStatus `json:"clusterMemberStates,omitempty"` // Failure Message // +optional FailureMessage string `json:"failureMessage,omitempty"` // Failure Reason // +optional FailureReason string `json:"failureReason,omitempty"` // Logical Cluster Conditions // +optional Conditions ConditionType `json:"conditions,omitempty"` // InfrastructureReady is the state of the infrastructure provider. // +optional InfrastructureReady bool `json:"infrastructureReady,omitempty"` // Logical Cluster Phase // +optional Phase ClusterPhase `json:"phase,omitempty"` // Registration Status of Logical Cluster Registration bool `json:"registration,omitempty"` }
LogicalClusterStatus defines the observed state of LogicalCluster
func (*LogicalClusterStatus) DeepCopy ¶
func (in *LogicalClusterStatus) DeepCopy() *LogicalClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogicalClusterStatus.
func (*LogicalClusterStatus) DeepCopyInto ¶
func (in *LogicalClusterStatus) DeepCopyInto(out *LogicalClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LogicalClusterStatus) SetTypedPhase ¶
func (c *LogicalClusterStatus) SetTypedPhase(p ClusterPhase)
SetTypedPhase sets the Phase field to the string representation of ClusterPhase.
type Profile ¶
type Profile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProfileSpec `json:"spec,omitempty"` Status ProfileStatus `json:"status,omitempty"` }
Profile is the Schema for the profiles API
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileInfo ¶
type ProfileInfo struct { // Name of Blueprint Name string `json:"name,omitempty"` // Spec Spec ProfileInfoSpec `json:"spec,omitempty"` // Override field of blueprint // +kubebuilder:validation:Optional Override map[string]string `json:"override,omitempty"` }
Content of Blueprint Packages
func (*ProfileInfo) DeepCopy ¶
func (in *ProfileInfo) DeepCopy() *ProfileInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileInfo.
func (*ProfileInfo) DeepCopyInto ¶
func (in *ProfileInfo) DeepCopyInto(out *ProfileInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileInfoList ¶
type ProfileInfoList struct {
Items []Profile `json:"items,omitempty"`
}
func (*ProfileInfoList) DeepCopy ¶
func (in *ProfileInfoList) DeepCopy() *ProfileInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileInfoList.
func (*ProfileInfoList) DeepCopyInto ¶
func (in *ProfileInfoList) DeepCopyInto(out *ProfileInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileInfoSpec ¶
type ProfileInfoSpec struct { // Name of kind Blueprint // +kubebuilder:validation:Required Name string `json:"name,omitempty"` // Type Blueprint // +kubebuilder:validation:Required Type string `json:"type,omitempty"` // Revision of Blueprint // +kubebuilder:validation:Required Revision string `json:"revision,omitempty"` // Published Version of Blueprint // +kubebuilder:validation:Required Version string `json:"version,omitempty"` }
Blueprint Spec of Cluster Resource referred
func (*ProfileInfoSpec) DeepCopy ¶
func (in *ProfileInfoSpec) DeepCopy() *ProfileInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileInfoSpec.
func (*ProfileInfoSpec) DeepCopyInto ¶
func (in *ProfileInfoSpec) DeepCopyInto(out *ProfileInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileList ¶
type ProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Profile `json:"items"` }
ProfileList contains a list of Profile
func (*ProfileList) DeepCopy ¶
func (in *ProfileList) DeepCopy() *ProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList.
func (*ProfileList) DeepCopyInto ¶
func (in *ProfileList) DeepCopyInto(out *ProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileList) DeepCopyObject ¶
func (in *ProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProfileSpec ¶
type ProfileSpec struct { // Profile refer to another profile Blueprints []ProfileInfoSpec `json:"blueprint,omitempty"` Values map[string]string `json:"values,omitempty"` }
ProfileSpec defines the desired state of Profile
func (*ProfileSpec) DeepCopy ¶
func (in *ProfileSpec) DeepCopy() *ProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec.
func (*ProfileSpec) DeepCopyInto ¶
func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileStatus ¶
type ProfileStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // Status of Profile Status string `json:"status,omitempty"` // Sync status of Profile Sync string `json:"sync,omitempty"` // SHA of Profile SHA string `json:"sha,omitempty"` // Repo contains Profile Repo string `json:"repo,omitempty"` // Version of Profile Version string `json:"version,omitempty"` // Revision of Profile Revision int64 `json:"revision,omitempty"` }
ProfileStatus defines the observed state of Profile
func (*ProfileStatus) DeepCopy ¶
func (in *ProfileStatus) DeepCopy() *ProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus.
func (*ProfileStatus) DeepCopyInto ¶
func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfig ¶
type ProviderConfig struct { Name string URL string ProviderType clusterctlv1.ProviderType }
Config for Provider
func (*ProviderConfig) DeepCopy ¶
func (in *ProviderConfig) DeepCopy() *ProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfig.
func (*ProviderConfig) DeepCopyInto ¶
func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.