{"modulePath":"github.com/SovereignCloudStack/cluster-stack-operator","version":"v0.5.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package v1alpha1\n\nPackage v1alpha1 contains API Schema definitions for the clusterstack.x-k8s.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=clusterstack.x-k8s.io\n\n## Constants\n\n```go\nconst (\n\t// StageAnnotationValueCreated signifies the stage annotation created.\n\tStageAnnotationValueCreated = StageAnnotationValue(\"created\")\n\t// StageAnnotationValueUpgraded signifies the stage annotation upgraded.\n\tStageAnnotationValueUpgraded = StageAnnotationValue(\"upgraded\")\n)\n```\n\n```go\nconst (\n\t// ClusterStackReleasePhaseNone is the default phase.\n\tClusterStackReleasePhaseNone = ClusterStackReleasePhase(\"\")\n\n\t// ClusterStackReleasePhaseDownloadingAssets is the phase where assets are downloaded from git provider.\n\tClusterStackReleasePhaseDownloadingAssets = ClusterStackReleasePhase(\"downloading release assets\")\n\n\t// ClusterStackReleasePhaseProviderSpecificWork is the phase where provider-specific work is done.\n\tClusterStackReleasePhaseProviderSpecificWork = ClusterStackReleasePhase(\"provider-specific work\")\n\n\t// ClusterStackReleasePhaseApplyingObjects is the phase where objects are applied to the management cluster.\n\tClusterStackReleasePhaseApplyingObjects = ClusterStackReleasePhase(\"applying objects\")\n\n\t// ClusterStackReleasePhaseDone is the phase where all jobs are done.\n\tClusterStackReleasePhaseDone = ClusterStackReleasePhase(\"done\")\n)\n```\n\n```go\nconst (\n\t// ClusterReadyCondition reports on whether the associated cluster is ready.\n\tClusterReadyCondition clusterv1.ConditionType = \"ClusterReady\"\n\n\t// ControlPlaneNotReadyReason is used when the control planes of a cluster are not ready yet.\n\tControlPlaneNotReadyReason = \"ControlPlaneNotReady\"\n)\n```\n\n```go\nconst (\n\t// EvaluatedCELCondition reports on whether the CEL expression is evaluated properly.\n\tEvaluatedCELCondition clusterv1.ConditionType = \"EvaluatedCEL\"\n\n\t// FailedToEvaluatePreConditionReason is used when some pre CEL expression have been failed to evaluate.\n\tFailedToEvaluatePreConditionReason = \"FailedToEvaluatePreCondition\"\n\n\t// FailedToEvaluatePostConditionReason is used when some post CEL expression have been failed to evaluate.\n\tFailedToEvaluatePostConditionReason = \"FailedToEvaluatePostCondition\"\n)\n```\n\n```go\nconst (\n\t// HelmChartFoundCondition reports when mentioned helm chart is present in the cluster addon tar archive.\n\tHelmChartFoundCondition clusterv1.ConditionType = \"HelmChartFound\"\n\n\t// HelmChartMissingReason is used when mentioned helm chart is missing in the cluster addon tar archive.\n\tHelmChartMissingReason = \"HelmChartMissing\"\n)\n```\n\n```go\nconst (\n\t// HelmChartTemplatedCondition reports on whether the relevant helm chart has been templated properly.\n\tHelmChartTemplatedCondition clusterv1.ConditionType = \"HelmChartTemplated\"\n\n\t// TemplateOldClusterStackOverwriteFailedReason is used when old cluster stack overwrite.yaml is wrong.\n\tTemplateOldClusterStackOverwriteFailedReason = \"TemplateOldClusterStackOverwriteFailed\"\n\n\t// TemplateOldClusterStackFailedReason is used when there is a issue doing helm template for the old cluster stack.\n\tTemplateOldClusterStackFailedReason = \"TemplateOldClusterStackFailed\"\n\n\t// TemplateNewClusterStackOverwriteFailedReason is used when new cluster stack overwrite.yaml is wrong.\n\tTemplateNewClusterStackOverwriteFailedReason = \"TemplateNewClusterStackOverwriteFailed\"\n\n\t// TemplateNewClusterStackFailedReason is used when there is a issue doing helm template for the new cluster stack.\n\tTemplateNewClusterStackFailedReason = \"TemplateNewClusterStackFailed\"\n)\n```\n\n```go\nconst (\n\t// ClusterAddonConfigValidatedCondition reports when there is a error parsing clusteraddon.yaml.\n\tClusterAddonConfigValidatedCondition clusterv1.ConditionType = \"ClusterAddonConfigValidated\"\n\n\t// ParsingClusterAddonConfigFailedReason is used when there's some error happen while parsing clusteraddon.yaml.\n\tParsingClusterAddonConfigFailedReason = \"ParsingClusterAddonConfigFailed\"\n)\n```\n\n```go\nconst (\n\t// HelmChartAppliedCondition reports on whether the relevant helm chart has been applied.\n\tHelmChartAppliedCondition clusterv1.ConditionType = \"HelmChartApplied\"\n\n\t// FailedToApplyObjectsReason is used when some objects have been failed to apply.\n\tFailedToApplyObjectsReason = \"FailedToApplyObjects\"\n\n\t// ObjectsApplyingOngoingReason is used when the objects are still being applied.\n\tObjectsApplyingOngoingReason = \"ObjectsApplyingOngoing\"\n)\n```\n\n```go\nconst (\n\t// HookServerReadyCondition reports on whether hook server is ready or not.\n\tHookServerReadyCondition clusterv1.ConditionType = \"HookServerReady\"\n\n\t// HookServerUnresponsiveReason is used when hook server don't update the clusterAddon.Spec.Hook.\n\tHookServerUnresponsiveReason = \"HookServerUnresponsive\"\n)\n```\n\n```go\nconst (\n\t// HelmChartDeletedCondition reports on whether the relevant helm chart has been applied.\n\tHelmChartDeletedCondition clusterv1.ConditionType = \"HelmChartDeleted\"\n\n\t// FailedToDeleteObjectsReason is used when some objects have been failed to delete.\n\tFailedToDeleteObjectsReason = \"FailedToDeleteObjects\"\n)\n```\n\n```go\nconst (\n\t// ProviderClusterStackReleasesSyncedCondition reports on whether the ProviderClusterStackReleases are ready.\n\tProviderClusterStackReleasesSyncedCondition clusterv1.ConditionType = \"ProviderClusterStackReleasesSynced\"\n\n\t// ProviderTemplateNotFoundReason is used when providerTemplate is not found.\n\tProviderTemplateNotFoundReason = \"ProviderTemplateNotFound\"\n\n\t// FailedToCreateOrUpdateReason is used when ProviderClusterStackRelease was failed to be created or updated.\n\tFailedToCreateOrUpdateReason = \"FailedToCreateOrUpdate\"\n)\n```\n\n```go\nconst (\n\t// ClusterStackReleaseAssetsReadyCondition reports on whether the download of cluster stack release assets is complete.\n\tClusterStackReleaseAssetsReadyCondition = \"ClusterStackReleaseDownloaded\"\n\n\t// ReleaseAssetsNotDownloadedYetReason is used when release assets are not yet downloaded.\n\tReleaseAssetsNotDownloadedYetReason = \"ReleaseAssetsNotDownloadedYet\"\n\n\t// IssueWithReleaseAssetsReason is used when release assets have an issue.\n\tIssueWithReleaseAssetsReason = \"IssueWithReleaseAssets\"\n)\n```\n\n```go\nconst (\n\t// ProviderClusterStackReleaseReadyCondition reports on whether the relevant provider-specific object is ready.\n\tProviderClusterStackReleaseReadyCondition clusterv1.ConditionType = \"ProviderClusterStackReleaseReady\"\n\n\t// ProcessOngoingReason is used when the process of the provider-specific object is still ongoing.\n\tProcessOngoingReason = \"ProcessOngoing\"\n)\n```\n\n```go\nconst (\n\t// AssetsClientAPIAvailableCondition is used when AssetsClient API is available.\n\tAssetsClientAPIAvailableCondition clusterv1.ConditionType = \"AssetsClientAPIAvailable\"\n\n\t// FailedCreateAssetsClientReason is used when user don't specify the token or environment variable required for initializing the assets client.\n\tFailedCreateAssetsClientReason = \"FailedCreateAssetsClient\" //#nosec\n)\n```\n\n```go\nconst (\n\t// ReleasesSyncedCondition is used when releases have been synced successfully.\n\tReleasesSyncedCondition clusterv1.ConditionType = \"ReleasesSynced\"\n\n\t// FailedToSyncReason is used when releases could not be synced.\n\tFailedToSyncReason = \"FailedToSync\"\n)\n```\n\n```go\nconst (\n\t// ResourceStatusSynced means a resource is synced.\n\tResourceStatusSynced = ResourceStatus(\"synced\")\n\t// ResourceStatusNotSynced means a resource is not synced.\n\tResourceStatusNotSynced = ResourceStatus(\"not-synced\")\n)\n```\n\n```go\nconst (\n\t// ClusterAddonFinalizer is the finalizer for ClusterAddon objects.\n\tClusterAddonFinalizer = \"clusteraddon.clusterstack.x-k8s.io\"\n)\n```\n\n```go\nconst (\n\t// ClusterStackReleaseAvailableCondition reports on whether there is at least one ClusterStackRelease available to use.\n\tClusterStackReleaseAvailableCondition = \"ClusterStackReleaseAvailable\" //#nosec\n)\n```\n\n```go\nconst (\n\t// ClusterStackReleaseFinalizer is the finalizer for ClusterStackRelease objects.\n\tClusterStackReleaseFinalizer = \"clusterstackrelease.clusterstack.x-k8s.io\"\n)\n```\n\n```go\nconst (\n\t// ClusterStackReleasesSyncedCondition reports on whether the ClusterStackReleases are ready.\n\tClusterStackReleasesSyncedCondition clusterv1.ConditionType = \"ClusterStackReleasesSynced\" //#nosec\n)\n```\n\n```go\nconst StageAnnotation = \"ClusterAddonStage\"\n```\nStageAnnotation is the annotation name and key for the stage annotation.\n\n## Variables\n\n```go\nvar (\n\t// StagePhaseNone signifies the empty stage phase.\n\tStagePhaseNone = StagePhase(\"\")\n\t// StagePhasePending signifies the stage phase 'pending'.\n\tStagePhasePending = StagePhase(\"Pending\")\n\t// StagePhaseWaitingForPreCondition signifies the stage phase 'waitingForPreCondition'.\n\tStagePhaseWaitingForPreCondition = StagePhase(\"waitingForPreCondition\")\n\t// StagePhaseApplyingOrDeleting signifies the stage phase 'applyingOrDeleting'.\n\tStagePhaseApplyingOrDeleting = StagePhase(\"applyingOrDeleting\")\n\t// StagePhaseWaitingForPostCondition signifies the stage phase 'waitingForPostCondition'.\n\tStagePhaseWaitingForPostCondition = StagePhase(\"waitingForPostCondition\")\n\t// StagePhaseDone signifies the stage phase 'done'.\n\tStagePhaseDone = StagePhase(\"done\")\n)\n```\n\n```go\nvar (\n\t// GroupVersion is group version used to register these objects.\n\tGroupVersion = schema.GroupVersion{Group: \"clusterstack.x-k8s.io\", Version: \"v1alpha1\"}\n\n\t// SchemeBuilder is used to add go types to the GroupVersionKind scheme.\n\tSchemeBuilder = \u0026scheme.Builder{GroupVersion: GroupVersion}\n\n\t// AddToScheme adds the types in this group-version to the given scheme.\n\tAddToScheme = SchemeBuilder.AddToScheme\n)\n```\n\n```go\nvar ErrNilInput = errors.New(\"nil input\")\n```\nErrNilInput indicates a nil input.\n\n## Types\n\n```go\ntype Cluster struct {\n\tClient client.Client\n}\n```\nCluster implements a validating and defaulting webhook for Cluster. +k8s:deepcopy-gen=false\n\n```go\nfunc (r *Cluster) SetupWebhookWithManager(mgr ctrl.Manager) error\n```\nSetupWebhookWithManager initializes webhook manager for ClusterStack.\n\n```go\nfunc (r *Cluster) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)\n```\nValidateCreate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (*Cluster) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)\n```\nValidateDelete implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (r *Cluster) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)\n```\nValidateUpdate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\ntype ClusterAddon struct {\n\tmetav1.TypeMeta   `json:\",inline\"`\n\tmetav1.ObjectMeta `json:\"metadata,omitempty\"`\n\n\tSpec   ClusterAddonSpec   `json:\"spec,omitempty\"`\n\tStatus ClusterAddonStatus `json:\"status,omitempty\"`\n}\n```\nClusterAddon is the schema for the clusteraddons API.\n\n```go\nfunc (in *ClusterAddon) DeepCopy() *ClusterAddon\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddon.\n\n```go\nfunc (in *ClusterAddon) DeepCopyInto(out *ClusterAddon)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *ClusterAddon) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\nfunc (r *ClusterAddon) GetConditions() clusterv1.Conditions\n```\nGetConditions returns the observations of the operational state of the ClusterAddon resource.\n\n```go\nfunc (r *ClusterAddon) GetStagePhase(stageName string, action clusteraddon.Action) StagePhase\n```\nGetStagePhase returns helm chart status for the helm chart.\n\n```go\nfunc (r *ClusterAddon) HasStageAnnotation(value StageAnnotationValue) bool\n```\nHasStageAnnotation returns whether the stage annotation exists with a certain value.\n\n```go\nfunc (r *ClusterAddon) SetConditions(conditions clusterv1.Conditions)\n```\nSetConditions sets the underlying service state of the ClusterAddon to the predescribed clusterv1.Conditions.\n\n```go\nfunc (r *ClusterAddon) SetStageAnnotations(value StageAnnotationValue)\n```\nSetStageAnnotations sets the annotation whether the cluster got created or upgraded.\n\n```go\nfunc (r *ClusterAddon) SetStagePhase(stageName string, action clusteraddon.Action, phase StagePhase)\n```\nSetStagePhase sets the helm chart status phase.\n\n```go\ntype ClusterAddonList struct {\n\tmetav1.TypeMeta `json:\",inline\"`\n\tmetav1.ListMeta `json:\"metadata,omitempty\"`\n\tItems           []ClusterAddon `json:\"items\"`\n}\n```\nClusterAddonList contains a list of ClusterAddon.\n\n```go\nfunc (in *ClusterAddonList) DeepCopy() *ClusterAddonList\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonList.\n\n```go\nfunc (in *ClusterAddonList) DeepCopyInto(out *ClusterAddonList)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *ClusterAddonList) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\ntype ClusterAddonSpec struct {\n\t// ClusterStack is the full string \u003cprovider\u003e-\u003cname\u003e-\u003cKubernetes version\u003e-\u003cversion\u003e that will be filled with the cluster stack that\n\t// the respective cluster uses currently. It always matches cluster.spec.topology.class if the work of this controller is done.\n\t// +optional\n\tClusterStack string `json:\"clusterStack,omitempty\"`\n\n\t// Version is the version of the cluster addons that have been applied in the workload cluster.\n\t// +optional\n\tVersion string `json:\"version,omitempty\"`\n\n\t// Hook specifies the runtime hook for the Cluster event.\n\t// +optional\n\tHook string `json:\"hook,omitempty\"`\n\n\t// ClusterRef is the reference to the clusterv1.Cluster object that corresponds to the workload cluster where this\n\t// controller applies the cluster addons.\n\tClusterRef *corev1.ObjectReference `json:\"clusterRef\"`\n}\n```\nClusterAddonSpec defines the desired state of a ClusterAddon object.\n\n```go\nfunc (in *ClusterAddonSpec) DeepCopy() *ClusterAddonSpec\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonSpec.\n\n```go\nfunc (in *ClusterAddonSpec) DeepCopyInto(out *ClusterAddonSpec)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterAddonStatus struct {\n\t// Resources specifies the status of the resources that this object administrates.\n\t// +optional\n\tResources []*Resource `json:\"resources,omitempty\"`\n\n\t// Stages shows the state of all stages in the current running hook.\n\t// +optional\n\tStages []StageStatus `json:\"stages,omitempty\"`\n\n\t// +optional\n\t// +kubebuilder:default:=false\n\tReady bool `json:\"ready\"`\n\n\t// ponytail: Keeping clusterv1.Conditions (v1beta1) as per CAPI migration Stage 1 guidance\n\t// Conditions define the current service state of the ClusterAddon.\n\t// +optional\n\tConditions clusterv1.Conditions `json:\"conditions,omitempty\"`\n}\n```\nClusterAddonStatus defines the observed state of ClusterAddon.\n\n```go\nfunc (in *ClusterAddonStatus) DeepCopy() *ClusterAddonStatus\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAddonStatus.\n\n```go\nfunc (in *ClusterAddonStatus) DeepCopyInto(out *ClusterAddonStatus)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterAddonWebhook struct{}\n```\nClusterAddonWebhook defines the webhook for ClusterAddon.\n\n```go\nfunc (w *ClusterAddonWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error\n```\nSetupWebhookWithManager initializes webhook manager for ClusterAddon.\n\n```go\nfunc (*ClusterAddonWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)\n```\nValidateCreate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (*ClusterAddonWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)\n```\nValidateDelete implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (*ClusterAddonWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)\n```\nValidateUpdate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\ntype ClusterStack struct {\n\tmetav1.TypeMeta   `json:\",inline\"`\n\tmetav1.ObjectMeta `json:\"metadata,omitempty\"`\n\n\tSpec   ClusterStackSpec   `json:\"spec,omitempty\"`\n\tStatus ClusterStackStatus `json:\"status,omitempty\"`\n}\n```\nClusterStack is the Schema for the clusterstacks API.\n\n```go\nfunc (in *ClusterStack) DeepCopy() *ClusterStack\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStack.\n\n```go\nfunc (in *ClusterStack) DeepCopyInto(out *ClusterStack)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *ClusterStack) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\nfunc (r *ClusterStack) GetConditions() clusterv1.Conditions\n```\nGetConditions returns the observations of the operational state of the ClusterAddon resource.\n\n```go\nfunc (r *ClusterStack) SetConditions(conditions clusterv1.Conditions)\n```\nSetConditions sets the underlying service state of the ClusterAddon to the predescribed clusterv1.Conditions.\n\n```go\ntype ClusterStackList struct {\n\tmetav1.TypeMeta `json:\",inline\"`\n\tmetav1.ListMeta `json:\"metadata,omitempty\"`\n\tItems           []ClusterStack `json:\"items\"`\n}\n```\nClusterStackList contains a list of ClusterStack.\n\n```go\nfunc (in *ClusterStackList) DeepCopy() *ClusterStackList\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackList.\n\n```go\nfunc (in *ClusterStackList) DeepCopyInto(out *ClusterStackList)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *ClusterStackList) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\nfunc (r *ClusterStackList) SetupWebhookWithManager(mgr ctrl.Manager) error\n```\nSetupWebhookWithManager initializes webhook manager for ClusterStackList.\n\n```go\ntype ClusterStackRelease struct {\n\tmetav1.TypeMeta   `json:\",inline\"`\n\tmetav1.ObjectMeta `json:\"metadata,omitempty\"`\n\n\tSpec   ClusterStackReleaseSpec   `json:\"spec,omitempty\"`\n\tStatus ClusterStackReleaseStatus `json:\"status,omitempty\"`\n}\n```\nClusterStackRelease is the Schema for the clusterstackreleases API.\n\n```go\nfunc (in *ClusterStackRelease) DeepCopy() *ClusterStackRelease\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackRelease.\n\n```go\nfunc (in *ClusterStackRelease) DeepCopyInto(out *ClusterStackRelease)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *ClusterStackRelease) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\nfunc (r *ClusterStackRelease) GetConditions() clusterv1.Conditions\n```\nGetConditions returns the observations of the operational state of the ClusterAddon resource.\n\n```go\nfunc (r *ClusterStackRelease) SetConditions(conditions clusterv1.Conditions)\n```\nSetConditions sets the underlying service state of the ClusterAddon to the predescribed clusterv1.Conditions.\n\n```go\ntype ClusterStackReleaseList struct {\n\tmetav1.TypeMeta `json:\",inline\"`\n\tmetav1.ListMeta `json:\"metadata,omitempty\"`\n\tItems           []ClusterStackRelease `json:\"items\"`\n}\n```\nClusterStackReleaseList contains a list of ClusterStackRelease.\n\n```go\nfunc (in *ClusterStackReleaseList) DeepCopy() *ClusterStackReleaseList\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackReleaseList.\n\n```go\nfunc (in *ClusterStackReleaseList) DeepCopyInto(out *ClusterStackReleaseList)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (in *ClusterStackReleaseList) DeepCopyObject() runtime.Object\n```\nDeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.\n\n```go\nfunc (r *ClusterStackReleaseList) SetupWebhookWithManager(mgr ctrl.Manager) error\n```\nSetupWebhookWithManager initializes webhook manager for ClusterStackReleaseList.\n\n```go\ntype ClusterStackReleasePhase string\n```\nClusterStackReleasePhase is the phase of a ClusterStackRelease object.\n\n```go\ntype ClusterStackReleaseSpec struct {\n\t// ProviderRef specifies the reference to the ProviderClusterStackRelease object.\n\t// It has to be set only if the object exists, i.e. if the noProvider mode is turned off.\n\t// +optional\n\tProviderRef *corev1.ObjectReference `json:\"providerRef,omitempty\"`\n}\n```\nClusterStackReleaseSpec defines the desired state of ClusterStackRelease.\n\n```go\nfunc (in *ClusterStackReleaseSpec) DeepCopy() *ClusterStackReleaseSpec\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackReleaseSpec.\n\n```go\nfunc (in *ClusterStackReleaseSpec) DeepCopyInto(out *ClusterStackReleaseSpec)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterStackReleaseStatus struct {\n\t// Resources specifies the status of the resources that this object administrates.\n\t// +optional\n\tResources []*Resource `json:\"resources,omitempty\"`\n\n\t// KubernetesVersion is the Kubernetes version incl. patch version, e.g. 1.26.6.\n\t// The controller fetches the version from the release assets of the cluster stack.\n\t// +optional\n\tKubernetesVersion string `json:\"kubernetesVersion,omitempty\"`\n\n\t// +optional\n\t// +kubebuilder:default:=false\n\tReady bool `json:\"ready,omitempty\"`\n\n\t// ponytail: Keeping clusterv1.Conditions (v1beta1) as per CAPI migration Stage 1 guidance\n\t// Conditions defines current service state of the ClusterAddon.\n\t// +optional\n\tConditions clusterv1.Conditions `json:\"conditions,omitempty\"`\n}\n```\nClusterStackReleaseStatus defines the observed state of ClusterStackRelease.\n\n```go\nfunc (in *ClusterStackReleaseStatus) DeepCopy() *ClusterStackReleaseStatus\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackReleaseStatus.\n\n```go\nfunc (in *ClusterStackReleaseStatus) DeepCopyInto(out *ClusterStackReleaseStatus)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterStackReleaseSummary struct {\n\tName  string                   `json:\"name\"`\n\tReady bool                     `json:\"ready\"`\n\tPhase ClusterStackReleasePhase `json:\"phase\"`\n\n\t// +optional\n\tMessage string `json:\"message,omitempty\"`\n}\n```\nClusterStackReleaseSummary gives the summary of the status of a ClusterStackRelease object.\n\n```go\nfunc (in *ClusterStackReleaseSummary) DeepCopy() *ClusterStackReleaseSummary\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackReleaseSummary.\n\n```go\nfunc (in *ClusterStackReleaseSummary) DeepCopyInto(out *ClusterStackReleaseSummary)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterStackReleaseWebhook struct {\n\tclient.Client\n}\n```\nClusterStackReleaseWebhook implements validating and defaulting webhook for ClusterStackRelease. +k8s:deepcopy-gen=false\n\n```go\nfunc (r *ClusterStackReleaseWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error\n```\nSetupWebhookWithManager initializes webhook manager for ClusterStackRelease.\n\n```go\nfunc (*ClusterStackReleaseWebhook) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)\n```\nValidateCreate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (r *ClusterStackReleaseWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)\n```\nValidateDelete implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (*ClusterStackReleaseWebhook) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)\n```\nValidateUpdate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\ntype ClusterStackSpec struct {\n\t// Provider is the name of the cluster stack provider.\n\t// +kubebuilder:validation:MinLength=1\n\tProvider string `json:\"provider\"`\n\n\t// Name is the name of the cluster stack.\n\t// +kubebuilder:validation:MinLength=1\n\tName string `json:\"name\"`\n\n\t// KubernetesVersion is the Kubernetes version in the format '\u003cmajorVersion\u003e.\u003cminorVersion\u003e', e.g. 1.26.\n\t// +kubebuilder:validation:Pattern=`^\\d\\.\\d+$`\n\tKubernetesVersion string `json:\"kubernetesVersion\"`\n\n\t// Channel specifies the release channel of the cluster stack. Defaults to 'stable'.\n\t// +kubebuilder:default:=stable\n\t// +kubebuilder:validation:Enum=stable;custom\n\tChannel version.Channel `json:\"channel,omitempty\"`\n\n\t// Versions is a list of version of the cluster stack that should be available in the management cluster.\n\t// A version has to have the format 'v\u003cversionNumber\u003e', e.g. v1 for stable channel or, v1-alpha.1 for alpha channel.\n\t// The versions have to correspond to the channel property.\n\t// +optional\n\tVersions []string `json:\"versions\"`\n\n\t// AutoSubscribe is a feature where the operator checks automatically if there are new versions of this cluster stack available.\n\t// +optional\n\t// +kubebuilder:default:=true\n\tAutoSubscribe bool `json:\"autoSubscribe\"`\n\n\t// NoProvider indicates if set on true that there is no provider-specific implementation and operator.\n\t// +optional\n\t// +kubebuilder:default:=false\n\tNoProvider bool `json:\"noProvider,omitempty\"`\n\n\t// ProviderRef has to reference the ProviderClusterStackReleaseTemplate that contains all provider-specific information.\n\t// +optional\n\tProviderRef *corev1.ObjectReference `json:\"providerRef,omitempty\"`\n}\n```\nClusterStackSpec defines the desired state of ClusterStack.\n\n```go\nfunc (in *ClusterStackSpec) DeepCopy() *ClusterStackSpec\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackSpec.\n\n```go\nfunc (in *ClusterStackSpec) DeepCopyInto(out *ClusterStackSpec)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterStackStatus struct {\n\t// +optional\n\tLatestRelease string `json:\"latestRelease\"`\n\n\t// +optional\n\tSummary []ClusterStackReleaseSummary `json:\"summary,omitempty\"`\n\n\t// +optional\n\tUsableVersions string `json:\"usableVersions,omitempty\"`\n\n\t// +optional\n\t// ponytail: Keeping clusterv1.Conditions (v1beta1) as per CAPI migration Stage 1 guidance\n\t// Per feedback: Do NOT migrate conditions library in this PR. Proper migration requires\n\t// adding a new API version ourselves. See:\n\t// https://release-1-11.cluster-api.sigs.k8s.io/developer/providers/migrations/v1.10-to-v1.11\n\tConditions clusterv1.Conditions `json:\"conditions,omitempty\"`\n}\n```\nClusterStackStatus defines the observed state of ClusterStack.\n\n```go\nfunc (in *ClusterStackStatus) DeepCopy() *ClusterStackStatus\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStackStatus.\n\n```go\nfunc (in *ClusterStackStatus) DeepCopyInto(out *ClusterStackStatus)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\ntype ClusterStackWebhook struct {\n\tLocalMode bool\n\tclient.Client\n}\n```\nClusterStackWebhook implements validating and defaulting webhook for clusterstack. +k8s:deepcopy-gen=false\n\n```go\nfunc (r *ClusterStackWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error\n```\nSetupWebhookWithManager initializes webhook manager for ClusterStack.\n\n```go\nfunc (r *ClusterStackWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)\n```\nValidateCreate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (r *ClusterStackWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)\n```\nValidateDelete implements webhook.Validator so a webhook will be registered for the type.\n\n```go\nfunc (r *ClusterStackWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)\n```\nValidateUpdate implements webhook.Validator so a webhook will be registered for the type.\n\n```go\ntype Resource struct {\n\t// Group specifies the group of the object.\n\tGroup string `json:\"group,omitempty\"`\n\t// Version specifies the version of the object.\n\tVersion string `json:\"version,omitempty\"`\n\t// Kind specifies the kind of the object.\n\tKind string `json:\"kind,omitempty\"`\n\t// Namespace specifies the namespace of the object.\n\tNamespace string `json:\"namespace,omitempty\"`\n\t// Name specifies the name of the object.\n\tName string `json:\"name,omitempty\"`\n\t// Status specifies the status of the object being applied.\n\tStatus ResourceStatus `json:\"status,omitempty\"`\n\t// Error specifies the error of the last time this object has been applied.\n\tError string `json:\"error,omitempty\"`\n}\n```\nResource defines the status of a resource.\n\n```go\nfunc NewResourceFromUnstructured(u *unstructured.Unstructured) *Resource\n```\nNewResourceFromUnstructured defines a new resource based on an unstructured object. For a nil input it returns a nil resource.\n\n```go\nfunc (in *Resource) DeepCopy() *Resource\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.\n\n```go\nfunc (in *Resource) DeepCopyInto(out *Resource)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n```go\nfunc (r *Resource) GroupVersionKind() schema.GroupVersionKind\n```\nGroupVersionKind returns a schema.GroupVersionKind.\n\n```go\nfunc (r *Resource) NamespacedName() string\n```\nNamespacedName returns a string of the form \\\u003cnamespace\u003e/\\\u003cname\u003e.\n\n```go\ntype ResourceStatus string\n```\nResourceStatus defines the status of a resource.\n\n```go\ntype StageAnnotationValue string\n```\nStageAnnotationValue is the value of the stage annotation.\n\n```go\ntype StagePhase string\n```\nStagePhase defines the status of helm chart in the cluster addon.\n\n```go\ntype StageStatus struct {\n\t// Name represent name of the helm chart\n\t// +optional\n\tName string `json:\"name\"`\n\n\t// Action is the action of the helm chart. e.g. - apply and delete.\n\t// +optional\n\tAction clusteraddon.Action `json:\"action,omitempty\"`\n\n\t// Phase is the current phase of the helm chart.\n\t// +optional\n\tPhase StagePhase `json:\"phase\"`\n}\n```\nStageStatus represents the helm charts of the hook and it's phases.\n\n```go\nfunc (in *StageStatus) DeepCopy() *StageStatus\n```\nDeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageStatus.\n\n```go\nfunc (in *StageStatus) DeepCopyInto(out *StageStatus)\n```\nDeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.\n\n","path":"github.com/SovereignCloudStack/cluster-stack-operator/api/v1alpha1","name":"v1alpha1","synopsis":"Package v1alpha1 contains API Schema definitions for the clusterstack.x-k8s.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=clusterstack.x-k8s.io","isRedistributable":true}
