Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hmc.mirantis.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=hmc.mirantis.com
Index ¶
- Constants
- Variables
- func ExtractReleaseVersion(rawObj client.Object) []string
- func ExtractServiceTemplateName(rawObj client.Object) []string
- func ExtractTemplateName(rawObj client.Object) []string
- func SetupIndexers(ctx context.Context, mgr ctrl.Manager) error
- func SetupManagedClusterIndexer(ctx context.Context, mgr ctrl.Manager) error
- func SetupManagedClusterServicesIndexer(ctx context.Context, mgr ctrl.Manager) error
- func SetupReleaseIndexer(ctx context.Context, mgr ctrl.Manager) error
- type AccessRule
- type AvailableUpgrade
- type ClusterTemplate
- type ClusterTemplateChain
- func (in *ClusterTemplateChain) DeepCopy() *ClusterTemplateChain
- func (in *ClusterTemplateChain) DeepCopyInto(out *ClusterTemplateChain)
- func (in *ClusterTemplateChain) DeepCopyObject() runtime.Object
- func (t *ClusterTemplateChain) GetSpec() *TemplateChainSpec
- func (*ClusterTemplateChain) Kind() string
- func (*ClusterTemplateChain) TemplateKind() string
- type ClusterTemplateChainList
- type ClusterTemplateList
- type ClusterTemplateSpec
- type ClusterTemplateStatus
- type Component
- type ComponentStatus
- type Core
- type CoreProviderTemplate
- type Credential
- type CredentialList
- type CredentialSpec
- type CredentialState
- type CredentialStatus
- type HelmSpec
- type ManagedCluster
- func (in *ManagedCluster) DeepCopy() *ManagedCluster
- func (in *ManagedCluster) DeepCopyInto(out *ManagedCluster)
- func (in *ManagedCluster) DeepCopyObject() runtime.Object
- func (in *ManagedCluster) GetConditions() *[]metav1.Condition
- func (in *ManagedCluster) HelmValues() (values map[string]any, err error)
- func (in *ManagedCluster) InitConditions()
- type ManagedClusterList
- type ManagedClusterServiceSpec
- type ManagedClusterSpec
- type ManagedClusterStatus
- type Management
- type ManagementList
- type ManagementSpec
- type ManagementStatus
- type NamedProviderTemplate
- type Provider
- type ProviderTemplate
- type ProviderTemplateList
- type ProviderTemplateSpec
- type ProviderTemplateStatus
- type Providers
- type Release
- type ReleaseList
- type ReleaseSpec
- type ReleaseStatus
- type ServiceTemplate
- type ServiceTemplateChain
- func (in *ServiceTemplateChain) DeepCopy() *ServiceTemplateChain
- func (in *ServiceTemplateChain) DeepCopyInto(out *ServiceTemplateChain)
- func (in *ServiceTemplateChain) DeepCopyObject() runtime.Object
- func (t *ServiceTemplateChain) GetSpec() *TemplateChainSpec
- func (*ServiceTemplateChain) Kind() string
- func (*ServiceTemplateChain) TemplateKind() string
- type ServiceTemplateChainList
- type ServiceTemplateList
- type ServiceTemplateSpec
- type ServiceTemplateStatus
- type SupportedTemplate
- type TargetNamespaces
- type TemplateChainSpec
- type TemplateManagement
- type TemplateManagementList
- type TemplateManagementSpec
- type TemplateManagementStatus
- type TemplateSpecCommon
- type TemplateStatusCommon
- type TemplateValidationStatus
Constants ¶
const ( // Provider CAPA ProviderCAPAName = "cluster-api-provider-aws" // Provider Azure ProviderAzureName = "cluster-api-provider-azure" ProviderVSphereName = "cluster-api-provider-vsphere" // Provider K0smotron ProviderK0smotronName = "k0smotron" // Provider Sveltos ProviderSveltosName = "projectsveltos" ProviderSveltosTargetNamespace = "projectsveltos" ProviderSveltosCreateNamespace = true )
const ( BlockingFinalizer = "hmc.mirantis.com/cleanup" ManagedClusterFinalizer = "hmc.mirantis.com/managed-cluster" FluxHelmChartNameKey = "helm.toolkit.fluxcd.io/name" FluxHelmChartNamespaceKey = "helm.toolkit.fluxcd.io/namespace" HMCManagedLabelKey = "hmc.mirantis.com/managed" HMCManagedLabelValue = "true" ClusterNameLabelKey = "cluster.x-k8s.io/cluster-name" )
const ( // ManagedClusterKind is the string representation of a ManagedCluster. ManagedClusterKind = "ManagedCluster" // CredentialReadyCondition indicates if referenced Credential exists and has Ready state CredentialReadyCondition = "CredentialReady" // TemplateReadyCondition indicates the referenced Template exists and valid. TemplateReadyCondition = "TemplateReady" // HelmChartReadyCondition indicates the corresponding HelmChart is valid and ready. HelmChartReadyCondition = "HelmChartReady" // HelmReleaseReadyCondition indicates the corresponding HelmRelease is ready and fully reconciled. HelmReleaseReadyCondition = "HelmReleaseReady" // ReadyCondition indicates the ManagedCluster is ready and fully reconciled. ReadyCondition string = "Ready" )
const ( // SucceededReason indicates a condition or event observed a success, for example when declared desired state // matches actual state, or a performed action succeeded. SucceededReason string = "Succeeded" // FailedReason indicates a condition or event observed a failure, for example when declared state does not match // actual state, or a performed action failed. FailedReason string = "Failed" // ProgressingReason indicates a condition or event observed progression, for example when the reconciliation of a // resource or an action has started. ProgressingReason string = "Progressing" )
const ( CoreHMCName = "hmc" CoreCAPIName = "capi" ManagementKind = "Management" ManagementName = "hmc" ManagementFinalizer = "hmc.mirantis.com/management" TemplateManagementName = "hmc" )
const ( // ChartAnnotationInfraProviders is an annotation containing the CAPI infrastructure providers associated with Template. ChartAnnotationInfraProviders = "hmc.mirantis.com/infrastructure-providers" // ChartAnnotationBootstrapProviders is an annotation containing the CAPI bootstrap providers associated with Template. ChartAnnotationBootstrapProviders = "hmc.mirantis.com/bootstrap-providers" // ChartAnnotationControlPlaneProviders is an annotation containing the CAPI control plane providers associated with Template. ChartAnnotationControlPlaneProviders = "hmc.mirantis.com/control-plane-providers" )
const ClusterTemplateChainKind = "ClusterTemplateChain"
const ClusterTemplateKind = "ClusterTemplate"
const ServiceTemplateChainKind = "ServiceTemplateChain"
const ServiceTemplateKind = "ServiceTemplate"
const ServicesTemplateKey = ".spec.services[].Template"
const TemplateKey = ".spec.template"
const TemplateManagementKind = "TemplateManagement"
const VersionKey = ".spec.version"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hmc.mirantis.com", Version: "v1alpha1"} // 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 ¶
func ExtractReleaseVersion ¶ added in v0.0.2
func ExtractServiceTemplateName ¶ added in v0.0.2
func ExtractTemplateName ¶ added in v0.0.2
func SetupIndexers ¶ added in v0.0.2
func SetupManagedClusterIndexer ¶ added in v0.0.2
func SetupManagedClusterServicesIndexer ¶ added in v0.0.2
Types ¶
type AccessRule ¶ added in v0.0.2
type AccessRule struct { // TargetNamespaces defines the namespaces where selected Templates will be distributed. // Templates will be distributed to all namespaces if unset. TargetNamespaces TargetNamespaces `json:"targetNamespaces,omitempty"` // ClusterTemplateChains lists the names of ClusterTemplateChains whose ClusterTemplates // will be distributed to all namespaces specified in TargetNamespaces. ClusterTemplateChains []string `json:"clusterTemplateChains,omitempty"` // ServiceTemplateChains lists the names of ServiceTemplateChains whose ServiceTemplates // will be distributed to all namespaces specified in TargetNamespaces. ServiceTemplateChains []string `json:"serviceTemplateChains,omitempty"` }
AccessRule is the definition of the TemplateManagement access rule. Each AccessRule enforces Templates distribution to the TargetNamespaces
func (*AccessRule) DeepCopy ¶ added in v0.0.2
func (in *AccessRule) DeepCopy() *AccessRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessRule.
func (*AccessRule) DeepCopyInto ¶ added in v0.0.2
func (in *AccessRule) DeepCopyInto(out *AccessRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AvailableUpgrade ¶ added in v0.0.2
type AvailableUpgrade struct { // Name is the name of the Template to which the upgrade is available. Name string `json:"name"` }
AvailableUpgrade is the definition of the available upgrade for the Template
func (*AvailableUpgrade) DeepCopy ¶ added in v0.0.2
func (in *AvailableUpgrade) DeepCopy() *AvailableUpgrade
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableUpgrade.
func (*AvailableUpgrade) DeepCopyInto ¶ added in v0.0.2
func (in *AvailableUpgrade) DeepCopyInto(out *AvailableUpgrade)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterTemplate ¶ added in v0.0.2
type ClusterTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterTemplateSpec `json:"spec,omitempty"` Status ClusterTemplateStatus `json:"status,omitempty"` }
ClusterTemplate is the Schema for the clustertemplates API
func (*ClusterTemplate) DeepCopy ¶ added in v0.0.2
func (in *ClusterTemplate) DeepCopy() *ClusterTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTemplate.
func (*ClusterTemplate) DeepCopyInto ¶ added in v0.0.2
func (in *ClusterTemplate) DeepCopyInto(out *ClusterTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTemplate) DeepCopyObject ¶ added in v0.0.2
func (in *ClusterTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterTemplate) GetSpec ¶ added in v0.0.2
func (t *ClusterTemplate) GetSpec() *TemplateSpecCommon
func (*ClusterTemplate) GetStatus ¶ added in v0.0.2
func (t *ClusterTemplate) GetStatus() *TemplateStatusCommon
type ClusterTemplateChain ¶ added in v0.0.2
type ClusterTemplateChain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TemplateChainSpec `json:"spec,omitempty"` }
ClusterTemplateChain is the Schema for the clustertemplatechains API
func (*ClusterTemplateChain) DeepCopy ¶ added in v0.0.2
func (in *ClusterTemplateChain) DeepCopy() *ClusterTemplateChain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTemplateChain.
func (*ClusterTemplateChain) DeepCopyInto ¶ added in v0.0.2
func (in *ClusterTemplateChain) DeepCopyInto(out *ClusterTemplateChain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTemplateChain) DeepCopyObject ¶ added in v0.0.2
func (in *ClusterTemplateChain) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterTemplateChain) GetSpec ¶ added in v0.0.2
func (t *ClusterTemplateChain) GetSpec() *TemplateChainSpec
func (*ClusterTemplateChain) Kind ¶ added in v0.0.2
func (*ClusterTemplateChain) Kind() string
func (*ClusterTemplateChain) TemplateKind ¶ added in v0.0.2
func (*ClusterTemplateChain) TemplateKind() string
type ClusterTemplateChainList ¶ added in v0.0.2
type ClusterTemplateChainList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterTemplateChain `json:"items"` }
ClusterTemplateChainList contains a list of ClusterTemplateChain
func (*ClusterTemplateChainList) DeepCopy ¶ added in v0.0.2
func (in *ClusterTemplateChainList) DeepCopy() *ClusterTemplateChainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTemplateChainList.
func (*ClusterTemplateChainList) DeepCopyInto ¶ added in v0.0.2
func (in *ClusterTemplateChainList) DeepCopyInto(out *ClusterTemplateChainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTemplateChainList) DeepCopyObject ¶ added in v0.0.2
func (in *ClusterTemplateChainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterTemplateList ¶ added in v0.0.2
type ClusterTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterTemplate `json:"items"` }
ClusterTemplateList contains a list of ClusterTemplate
func (*ClusterTemplateList) DeepCopy ¶ added in v0.0.2
func (in *ClusterTemplateList) DeepCopy() *ClusterTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTemplateList.
func (*ClusterTemplateList) DeepCopyInto ¶ added in v0.0.2
func (in *ClusterTemplateList) DeepCopyInto(out *ClusterTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterTemplateList) DeepCopyObject ¶ added in v0.0.2
func (in *ClusterTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterTemplateSpec ¶ added in v0.0.2
type ClusterTemplateSpec struct {
TemplateSpecCommon `json:",inline"`
}
ClusterTemplateSpec defines the desired state of ClusterTemplate
func (*ClusterTemplateSpec) DeepCopy ¶ added in v0.0.2
func (in *ClusterTemplateSpec) DeepCopy() *ClusterTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTemplateSpec.
func (*ClusterTemplateSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ClusterTemplateSpec) DeepCopyInto(out *ClusterTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterTemplateStatus ¶ added in v0.0.2
type ClusterTemplateStatus struct {
TemplateStatusCommon `json:",inline"`
}
ClusterTemplateStatus defines the observed state of ClusterTemplate
func (*ClusterTemplateStatus) DeepCopy ¶ added in v0.0.2
func (in *ClusterTemplateStatus) DeepCopy() *ClusterTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterTemplateStatus.
func (*ClusterTemplateStatus) DeepCopyInto ¶ added in v0.0.2
func (in *ClusterTemplateStatus) DeepCopyInto(out *ClusterTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Component ¶
type Component struct { // Config allows to provide parameters for management component customization. // If no Config provided, the field will be populated with the default // values for the template. Config *apiextensionsv1.JSON `json:"config,omitempty"` // Template is the name of the Template associated with this component. // If not specified, will be taken from the Release object. Template string `json:"template,omitempty"` }
Component represents HMC management component
func (*Component) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Component.
func (*Component) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentStatus ¶
type ComponentStatus struct { // Template is the name of the Template associated with this component. Template string `json:"template,omitempty"` // Success represents if a component installation was successful Success bool `json:"success,omitempty"` // Error stores as error message in case of failed installation Error string `json:"error,omitempty"` }
ComponentStatus is the status of Management component installation
func (*ComponentStatus) DeepCopy ¶
func (in *ComponentStatus) DeepCopy() *ComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
func (*ComponentStatus) DeepCopyInto ¶
func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Core ¶
type Core struct { // HMC represents the core HMC component and references the HMC template. HMC Component `json:"hmc,omitempty"` // CAPI represents the core Cluster API component and references the Cluster API template. CAPI Component `json:"capi,omitempty"` }
Core represents a structure describing core Management components.
func (*Core) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Core.
func (*Core) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoreProviderTemplate ¶ added in v0.0.2
type CoreProviderTemplate struct { // Template references the Template associated with the provider. Template string `json:"template"` }
func (*CoreProviderTemplate) DeepCopy ¶ added in v0.0.2
func (in *CoreProviderTemplate) DeepCopy() *CoreProviderTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreProviderTemplate.
func (*CoreProviderTemplate) DeepCopyInto ¶ added in v0.0.2
func (in *CoreProviderTemplate) DeepCopyInto(out *CoreProviderTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Credential ¶ added in v0.0.2
type Credential struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CredentialSpec `json:"spec,omitempty"` Status CredentialStatus `json:"status,omitempty"` }
Credential is the Schema for the credentials API
func (*Credential) DeepCopy ¶ added in v0.0.2
func (in *Credential) DeepCopy() *Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.
func (*Credential) DeepCopyInto ¶ added in v0.0.2
func (in *Credential) DeepCopyInto(out *Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Credential) DeepCopyObject ¶ added in v0.0.2
func (in *Credential) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CredentialList ¶ added in v0.0.2
type CredentialList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Credential `json:"items"` }
CredentialList contains a list of Credential
func (*CredentialList) DeepCopy ¶ added in v0.0.2
func (in *CredentialList) DeepCopy() *CredentialList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialList.
func (*CredentialList) DeepCopyInto ¶ added in v0.0.2
func (in *CredentialList) DeepCopyInto(out *CredentialList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CredentialList) DeepCopyObject ¶ added in v0.0.2
func (in *CredentialList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CredentialSpec ¶ added in v0.0.2
type CredentialSpec struct { // Reference to the Credential Identity IdentityRef *corev1.ObjectReference `json:"identityRef"` // Description of the Credential object Description string `json:"description,omitempty"` // WARN: noop }
CredentialSpec defines the desired state of Credential
func (*CredentialSpec) DeepCopy ¶ added in v0.0.2
func (in *CredentialSpec) DeepCopy() *CredentialSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialSpec.
func (*CredentialSpec) DeepCopyInto ¶ added in v0.0.2
func (in *CredentialSpec) DeepCopyInto(out *CredentialSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialState ¶ added in v0.0.2
type CredentialState string
const ( CredentialReady CredentialState = "Ready" CredentialNotFound CredentialState = "Cluster Identity not found" CredentialWrongType CredentialState = "Mismatched type" )
type CredentialStatus ¶ added in v0.0.2
type CredentialStatus struct {
State CredentialState `json:"state,omitempty"`
}
CredentialStatus defines the observed state of Credential
func (*CredentialStatus) DeepCopy ¶ added in v0.0.2
func (in *CredentialStatus) DeepCopy() *CredentialStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialStatus.
func (*CredentialStatus) DeepCopyInto ¶ added in v0.0.2
func (in *CredentialStatus) DeepCopyInto(out *CredentialStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HelmSpec ¶
type HelmSpec struct { // ChartRef is a reference to a source controller resource containing the // Helm chart representing the template. ChartRef *helmcontrollerv2.CrossNamespaceSourceReference `json:"chartRef,omitempty"` // ChartName is a name of a Helm chart representing the template in the HMC repository. ChartName string `json:"chartName,omitempty"` // ChartVersion is a version of a Helm chart representing the template in the HMC repository. ChartVersion string `json:"chartVersion,omitempty"` }
HelmSpec references a Helm chart representing the HMC template
func (*HelmSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HelmSpec.
func (*HelmSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedCluster ¶ added in v0.0.2
type ManagedCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedClusterSpec `json:"spec,omitempty"` Status ManagedClusterStatus `json:"status,omitempty"` }
ManagedCluster is the Schema for the managedclusters API
func (*ManagedCluster) DeepCopy ¶ added in v0.0.2
func (in *ManagedCluster) DeepCopy() *ManagedCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster.
func (*ManagedCluster) DeepCopyInto ¶ added in v0.0.2
func (in *ManagedCluster) DeepCopyInto(out *ManagedCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedCluster) DeepCopyObject ¶ added in v0.0.2
func (in *ManagedCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagedCluster) GetConditions ¶ added in v0.0.2
func (in *ManagedCluster) GetConditions() *[]metav1.Condition
func (*ManagedCluster) HelmValues ¶ added in v0.0.2
func (in *ManagedCluster) HelmValues() (values map[string]any, err error)
func (*ManagedCluster) InitConditions ¶ added in v0.0.2
func (in *ManagedCluster) InitConditions()
type ManagedClusterList ¶ added in v0.0.2
type ManagedClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedCluster `json:"items"` }
ManagedClusterList contains a list of ManagedCluster
func (*ManagedClusterList) DeepCopy ¶ added in v0.0.2
func (in *ManagedClusterList) DeepCopy() *ManagedClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterList.
func (*ManagedClusterList) DeepCopyInto ¶ added in v0.0.2
func (in *ManagedClusterList) DeepCopyInto(out *ManagedClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedClusterList) DeepCopyObject ¶ added in v0.0.2
func (in *ManagedClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedClusterServiceSpec ¶ added in v0.0.2
type ManagedClusterServiceSpec struct { // Template is a reference to a Template object located in the same namespace. // +kubebuilder:validation:MinLength=1 Template string `json:"template"` // Disable can be set to disable handling of this service. // +optional Disable bool `json:"disable"` // Name is the chart release. // +kubebuilder:validation:MinLength=1 Name string `json:"name"` // Namespace is the namespace the release will be installed in. // It will default to Name if not provided. // +optional Namespace string `json:"namespace"` // Values is the helm values to be passed to the template. // +optional Values *apiextensionsv1.JSON `json:"values,omitempty"` }
ManagedClusterServiceSpec represents a Service within ManagedCluster
func (*ManagedClusterServiceSpec) DeepCopy ¶ added in v0.0.2
func (in *ManagedClusterServiceSpec) DeepCopy() *ManagedClusterServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServiceSpec.
func (*ManagedClusterServiceSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ManagedClusterServiceSpec) DeepCopyInto(out *ManagedClusterServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedClusterSpec ¶ added in v0.0.2
type ManagedClusterSpec struct { // Config allows to provide parameters for template customization. // If no Config provided, the field will be populated with the default values for // the template and DryRun will be enabled. Config *apiextensionsv1.JSON `json:"config,omitempty"` // Template is a reference to a Template object located in the same namespace. Template string `json:"template"` // DryRun specifies whether the template should be applied after validation or only validated. DryRun bool `json:"dryRun,omitempty"` Credential string `json:"credential,omitempty"` // Services is a list of services created via ServiceTemplates // that could be installed on the target cluster. // +optional Services []ManagedClusterServiceSpec `json:"services,omitempty"` }
ManagedClusterSpec defines the desired state of ManagedCluster
func (*ManagedClusterSpec) DeepCopy ¶ added in v0.0.2
func (in *ManagedClusterSpec) DeepCopy() *ManagedClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSpec.
func (*ManagedClusterSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ManagedClusterSpec) DeepCopyInto(out *ManagedClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedClusterStatus ¶ added in v0.0.2
type ManagedClusterStatus struct { // Conditions contains details for the current state of the ManagedCluster Conditions []metav1.Condition `json:"conditions,omitempty"` // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
ManagedClusterStatus defines the observed state of ManagedCluster
func (*ManagedClusterStatus) DeepCopy ¶ added in v0.0.2
func (in *ManagedClusterStatus) DeepCopy() *ManagedClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStatus.
func (*ManagedClusterStatus) DeepCopyInto ¶ added in v0.0.2
func (in *ManagedClusterStatus) DeepCopyInto(out *ManagedClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Management ¶
type Management struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagementSpec `json:"spec,omitempty"` Status ManagementStatus `json:"status,omitempty"` }
Management is the Schema for the managements API
func (*Management) DeepCopy ¶
func (in *Management) DeepCopy() *Management
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Management.
func (*Management) DeepCopyInto ¶
func (in *Management) DeepCopyInto(out *Management)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Management) DeepCopyObject ¶
func (in *Management) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementList ¶
type ManagementList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Management `json:"items"` }
ManagementList contains a list of Management
func (*ManagementList) DeepCopy ¶
func (in *ManagementList) DeepCopy() *ManagementList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementList.
func (*ManagementList) DeepCopyInto ¶
func (in *ManagementList) DeepCopyInto(out *ManagementList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementList) DeepCopyObject ¶
func (in *ManagementList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementSpec ¶
type ManagementSpec struct { // Release references the Release object. Release string `json:"release"` // Core holds the core Management components that are mandatory. // If not specified, will be populated with the default values. Core *Core `json:"core,omitempty"` // Providers is the list of supported CAPI providers. Providers []Provider `json:"providers,omitempty"` }
ManagementSpec defines the desired state of Management
func (*ManagementSpec) DeepCopy ¶
func (in *ManagementSpec) DeepCopy() *ManagementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementSpec.
func (*ManagementSpec) DeepCopyInto ¶
func (in *ManagementSpec) DeepCopyInto(out *ManagementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementSpec) SetProvidersDefaults ¶ added in v0.0.2
func (m *ManagementSpec) SetProvidersDefaults() error
type ManagementStatus ¶
type ManagementStatus struct { // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // AvailableProviders holds all CAPI providers available on the Management cluster. AvailableProviders Providers `json:"availableProviders,omitempty"` // Components indicates the status of installed HMC components and CAPI providers. Components map[string]ComponentStatus `json:"components,omitempty"` // Release indicates the current Release object. Release string `json:"release,omitempty"` }
ManagementStatus defines the observed state of Management
func (*ManagementStatus) DeepCopy ¶
func (in *ManagementStatus) DeepCopy() *ManagementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementStatus.
func (*ManagementStatus) DeepCopyInto ¶
func (in *ManagementStatus) DeepCopyInto(out *ManagementStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedProviderTemplate ¶ added in v0.0.2
type NamedProviderTemplate struct { CoreProviderTemplate `json:",inline"` // Name of the provider. Name string `json:"name"` }
func (*NamedProviderTemplate) DeepCopy ¶ added in v0.0.2
func (in *NamedProviderTemplate) DeepCopy() *NamedProviderTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedProviderTemplate.
func (*NamedProviderTemplate) DeepCopyInto ¶ added in v0.0.2
func (in *NamedProviderTemplate) DeepCopyInto(out *NamedProviderTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Provider ¶ added in v0.0.2
type Provider struct { Component `json:",inline"` // Name of the provider. Name string `json:"name"` }
func (*Provider) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Provider.
func (*Provider) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderTemplate ¶ added in v0.0.2
type ProviderTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProviderTemplateSpec `json:"spec,omitempty"` Status ProviderTemplateStatus `json:"status,omitempty"` }
ProviderTemplate is the Schema for the providertemplates API
func (*ProviderTemplate) DeepCopy ¶ added in v0.0.2
func (in *ProviderTemplate) DeepCopy() *ProviderTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderTemplate.
func (*ProviderTemplate) DeepCopyInto ¶ added in v0.0.2
func (in *ProviderTemplate) DeepCopyInto(out *ProviderTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderTemplate) DeepCopyObject ¶ added in v0.0.2
func (in *ProviderTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProviderTemplate) GetSpec ¶ added in v0.0.2
func (t *ProviderTemplate) GetSpec() *TemplateSpecCommon
func (*ProviderTemplate) GetStatus ¶ added in v0.0.2
func (t *ProviderTemplate) GetStatus() *TemplateStatusCommon
type ProviderTemplateList ¶ added in v0.0.2
type ProviderTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProviderTemplate `json:"items"` }
ProviderTemplateList contains a list of ProviderTemplate
func (*ProviderTemplateList) DeepCopy ¶ added in v0.0.2
func (in *ProviderTemplateList) DeepCopy() *ProviderTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderTemplateList.
func (*ProviderTemplateList) DeepCopyInto ¶ added in v0.0.2
func (in *ProviderTemplateList) DeepCopyInto(out *ProviderTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderTemplateList) DeepCopyObject ¶ added in v0.0.2
func (in *ProviderTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderTemplateSpec ¶ added in v0.0.2
type ProviderTemplateSpec struct {
TemplateSpecCommon `json:",inline"`
}
ProviderTemplateSpec defines the desired state of ProviderTemplate
func (*ProviderTemplateSpec) DeepCopy ¶ added in v0.0.2
func (in *ProviderTemplateSpec) DeepCopy() *ProviderTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderTemplateSpec.
func (*ProviderTemplateSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ProviderTemplateSpec) DeepCopyInto(out *ProviderTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderTemplateStatus ¶ added in v0.0.2
type ProviderTemplateStatus struct {
TemplateStatusCommon `json:",inline"`
}
ProviderTemplateStatus defines the observed state of ProviderTemplate
func (*ProviderTemplateStatus) DeepCopy ¶ added in v0.0.2
func (in *ProviderTemplateStatus) DeepCopy() *ProviderTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderTemplateStatus.
func (*ProviderTemplateStatus) DeepCopyInto ¶ added in v0.0.2
func (in *ProviderTemplateStatus) DeepCopyInto(out *ProviderTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Providers ¶
type Providers struct { // InfrastructureProviders is the list of CAPI infrastructure providers InfrastructureProviders []string `json:"infrastructure,omitempty"` // BootstrapProviders is the list of CAPI bootstrap providers BootstrapProviders []string `json:"bootstrap,omitempty"` // ControlPlaneProviders is the list of CAPI control plane providers ControlPlaneProviders []string `json:"controlPlane,omitempty"` }
Providers is a structure holding different types of CAPI providers
func (*Providers) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Providers.
func (*Providers) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Release ¶ added in v0.0.2
type Release struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReleaseSpec `json:"spec,omitempty"` Status ReleaseStatus `json:"status,omitempty"` }
Release is the Schema for the releases API
func (*Release) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶ added in v0.0.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Release) ProviderTemplate ¶ added in v0.0.2
type ReleaseList ¶ added in v0.0.2
type ReleaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Release `json:"items"` }
ReleaseList contains a list of Release
func (*ReleaseList) DeepCopy ¶ added in v0.0.2
func (in *ReleaseList) DeepCopy() *ReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseList.
func (*ReleaseList) DeepCopyInto ¶ added in v0.0.2
func (in *ReleaseList) DeepCopyInto(out *ReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseList) DeepCopyObject ¶ added in v0.0.2
func (in *ReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleaseSpec ¶ added in v0.0.2
type ReleaseSpec struct { // Version of the HMC Release in the semver format. Version string `json:"version"` // HMC references the HMC template. HMC CoreProviderTemplate `json:"hmc"` // CAPI references the Cluster API template. CAPI CoreProviderTemplate `json:"capi"` // Providers contains a list of Providers associated with the Release. Providers []NamedProviderTemplate `json:"providers,omitempty"` }
ReleaseSpec defines the desired state of Release
func (*ReleaseSpec) DeepCopy ¶ added in v0.0.2
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.
func (*ReleaseSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatus ¶ added in v0.0.2
type ReleaseStatus struct { // Templates indicates the status of templates associated with the Release. Templates ComponentStatus `json:"templates,omitempty"` // Conditions contains details for the current state of the Release Conditions []metav1.Condition `json:"conditions,omitempty"` // Ready indicates whether HMC is ready to be upgraded to this Release. Ready bool `json:"ready,omitempty"` }
ReleaseStatus defines the observed state of Release
func (*ReleaseStatus) DeepCopy ¶ added in v0.0.2
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶ added in v0.0.2
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplate ¶ added in v0.0.2
type ServiceTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceTemplateSpec `json:"spec,omitempty"` Status ServiceTemplateStatus `json:"status,omitempty"` }
ServiceTemplate is the Schema for the servicetemplates API
func (*ServiceTemplate) DeepCopy ¶ added in v0.0.2
func (in *ServiceTemplate) DeepCopy() *ServiceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplate.
func (*ServiceTemplate) DeepCopyInto ¶ added in v0.0.2
func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplate) DeepCopyObject ¶ added in v0.0.2
func (in *ServiceTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceTemplate) GetSpec ¶ added in v0.0.2
func (t *ServiceTemplate) GetSpec() *TemplateSpecCommon
func (*ServiceTemplate) GetStatus ¶ added in v0.0.2
func (t *ServiceTemplate) GetStatus() *TemplateStatusCommon
type ServiceTemplateChain ¶ added in v0.0.2
type ServiceTemplateChain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TemplateChainSpec `json:"spec,omitempty"` }
ServiceTemplateChain is the Schema for the servicetemplatechains API
func (*ServiceTemplateChain) DeepCopy ¶ added in v0.0.2
func (in *ServiceTemplateChain) DeepCopy() *ServiceTemplateChain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateChain.
func (*ServiceTemplateChain) DeepCopyInto ¶ added in v0.0.2
func (in *ServiceTemplateChain) DeepCopyInto(out *ServiceTemplateChain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplateChain) DeepCopyObject ¶ added in v0.0.2
func (in *ServiceTemplateChain) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceTemplateChain) GetSpec ¶ added in v0.0.2
func (t *ServiceTemplateChain) GetSpec() *TemplateChainSpec
func (*ServiceTemplateChain) Kind ¶ added in v0.0.2
func (*ServiceTemplateChain) Kind() string
func (*ServiceTemplateChain) TemplateKind ¶ added in v0.0.2
func (*ServiceTemplateChain) TemplateKind() string
type ServiceTemplateChainList ¶ added in v0.0.2
type ServiceTemplateChainList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceTemplateChain `json:"items"` }
ServiceTemplateChainList contains a list of ServiceTemplateChain
func (*ServiceTemplateChainList) DeepCopy ¶ added in v0.0.2
func (in *ServiceTemplateChainList) DeepCopy() *ServiceTemplateChainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateChainList.
func (*ServiceTemplateChainList) DeepCopyInto ¶ added in v0.0.2
func (in *ServiceTemplateChainList) DeepCopyInto(out *ServiceTemplateChainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplateChainList) DeepCopyObject ¶ added in v0.0.2
func (in *ServiceTemplateChainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceTemplateList ¶ added in v0.0.2
type ServiceTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceTemplate `json:"items"` }
ServiceTemplateList contains a list of ServiceTemplate
func (*ServiceTemplateList) DeepCopy ¶ added in v0.0.2
func (in *ServiceTemplateList) DeepCopy() *ServiceTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateList.
func (*ServiceTemplateList) DeepCopyInto ¶ added in v0.0.2
func (in *ServiceTemplateList) DeepCopyInto(out *ServiceTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplateList) DeepCopyObject ¶ added in v0.0.2
func (in *ServiceTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceTemplateSpec ¶ added in v0.0.2
type ServiceTemplateSpec struct {
TemplateSpecCommon `json:",inline"`
}
ServiceTemplateSpec defines the desired state of ServiceTemplate
func (*ServiceTemplateSpec) DeepCopy ¶ added in v0.0.2
func (in *ServiceTemplateSpec) DeepCopy() *ServiceTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateSpec.
func (*ServiceTemplateSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ServiceTemplateSpec) DeepCopyInto(out *ServiceTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplateStatus ¶ added in v0.0.2
type ServiceTemplateStatus struct {
TemplateStatusCommon `json:",inline"`
}
ServiceTemplateStatus defines the observed state of ServiceTemplate
func (*ServiceTemplateStatus) DeepCopy ¶ added in v0.0.2
func (in *ServiceTemplateStatus) DeepCopy() *ServiceTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplateStatus.
func (*ServiceTemplateStatus) DeepCopyInto ¶ added in v0.0.2
func (in *ServiceTemplateStatus) DeepCopyInto(out *ServiceTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SupportedTemplate ¶ added in v0.0.2
type SupportedTemplate struct { // Name is the name of the Template. Name string `json:"name"` // AvailableUpgrades is the list of available upgrades for the specified Template. AvailableUpgrades []AvailableUpgrade `json:"availableUpgrades,omitempty"` }
SupportedTemplate is the supported Template definition and all available upgrade sequences for it
func (*SupportedTemplate) DeepCopy ¶ added in v0.0.2
func (in *SupportedTemplate) DeepCopy() *SupportedTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SupportedTemplate.
func (*SupportedTemplate) DeepCopyInto ¶ added in v0.0.2
func (in *SupportedTemplate) DeepCopyInto(out *SupportedTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetNamespaces ¶ added in v0.0.2
type TargetNamespaces struct { // StringSelector is a label query to select namespaces. // Mutually exclusive with Selector and List. StringSelector string `json:"stringSelector,omitempty"` // Selector is a structured label query to select namespaces. // Mutually exclusive with StringSelector and List. Selector *metav1.LabelSelector `json:"selector,omitempty"` // List is the list of namespaces to select. // Mutually exclusive with StringSelector and Selector. List []string `json:"list,omitempty"` }
TargetNamespaces defines the list of namespaces or the label selector to select namespaces
func (*TargetNamespaces) DeepCopy ¶ added in v0.0.2
func (in *TargetNamespaces) DeepCopy() *TargetNamespaces
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetNamespaces.
func (*TargetNamespaces) DeepCopyInto ¶ added in v0.0.2
func (in *TargetNamespaces) DeepCopyInto(out *TargetNamespaces)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateChainSpec ¶ added in v0.0.2
type TemplateChainSpec struct { // SupportedTemplates is the list of supported Templates definitions and all available upgrade sequences for it. SupportedTemplates []SupportedTemplate `json:"supportedTemplates,omitempty"` }
TemplateChainSpec defines the observed state of TemplateChain
func (*TemplateChainSpec) DeepCopy ¶ added in v0.0.2
func (in *TemplateChainSpec) DeepCopy() *TemplateChainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateChainSpec.
func (*TemplateChainSpec) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateChainSpec) DeepCopyInto(out *TemplateChainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateManagement ¶ added in v0.0.2
type TemplateManagement struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TemplateManagementSpec `json:"spec,omitempty"` Status TemplateManagementStatus `json:"status,omitempty"` }
TemplateManagement is the Schema for the templatemanagements API
func (*TemplateManagement) DeepCopy ¶ added in v0.0.2
func (in *TemplateManagement) DeepCopy() *TemplateManagement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateManagement.
func (*TemplateManagement) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateManagement) DeepCopyInto(out *TemplateManagement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateManagement) DeepCopyObject ¶ added in v0.0.2
func (in *TemplateManagement) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateManagementList ¶ added in v0.0.2
type TemplateManagementList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TemplateManagement `json:"items"` }
TemplateManagementList contains a list of TemplateManagement
func (*TemplateManagementList) DeepCopy ¶ added in v0.0.2
func (in *TemplateManagementList) DeepCopy() *TemplateManagementList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateManagementList.
func (*TemplateManagementList) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateManagementList) DeepCopyInto(out *TemplateManagementList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateManagementList) DeepCopyObject ¶ added in v0.0.2
func (in *TemplateManagementList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateManagementSpec ¶ added in v0.0.2
type TemplateManagementSpec struct { // AccessRules is the list of access rules. Each AccessRule enforces // Templates distribution to the TargetNamespaces. AccessRules []AccessRule `json:"accessRules,omitempty"` }
TemplateManagementSpec defines the desired state of TemplateManagement
func (*TemplateManagementSpec) DeepCopy ¶ added in v0.0.2
func (in *TemplateManagementSpec) DeepCopy() *TemplateManagementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateManagementSpec.
func (*TemplateManagementSpec) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateManagementSpec) DeepCopyInto(out *TemplateManagementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateManagementStatus ¶ added in v0.0.2
type TemplateManagementStatus struct { // Error is the error message occurred during the reconciliation (if any) Error string `json:"error,omitempty"` // Current reflects the applied access rules configuration. Current []AccessRule `json:"current,omitempty"` // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
TemplateManagementStatus defines the observed state of TemplateManagement
func (*TemplateManagementStatus) DeepCopy ¶ added in v0.0.2
func (in *TemplateManagementStatus) DeepCopy() *TemplateManagementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateManagementStatus.
func (*TemplateManagementStatus) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateManagementStatus) DeepCopyInto(out *TemplateManagementStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateSpecCommon ¶ added in v0.0.2
type TemplateSpecCommon struct { // Helm holds a reference to a Helm chart representing the HMC template Helm HelmSpec `json:"helm"` // Providers represent required/exposed CAPI providers depending on the template type. // Should be set if not present in the Helm chart metadata. Providers Providers `json:"providers,omitempty"` }
TemplateSpecCommon is a Template configuration common for all Template types
func (*TemplateSpecCommon) DeepCopy ¶ added in v0.0.2
func (in *TemplateSpecCommon) DeepCopy() *TemplateSpecCommon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateSpecCommon.
func (*TemplateSpecCommon) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateSpecCommon) DeepCopyInto(out *TemplateSpecCommon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateStatusCommon ¶ added in v0.0.2
type TemplateStatusCommon struct { TemplateValidationStatus `json:",inline"` // Description contains information about the template. Description string `json:"description,omitempty"` // Config demonstrates available parameters for template customization, // that can be used when creating ManagedCluster objects. Config *apiextensionsv1.JSON `json:"config,omitempty"` // ChartRef is a reference to a source controller resource containing the // Helm chart representing the template. ChartRef *helmcontrollerv2.CrossNamespaceSourceReference `json:"chartRef,omitempty"` // Providers represent required/exposed CAPI providers depending on the template type. Providers Providers `json:"providers,omitempty"` // ObservedGeneration is the last observed generation. ObservedGeneration int64 `json:"observedGeneration,omitempty"` }
TemplateStatusCommon defines the observed state of Template common for all Template types
func (*TemplateStatusCommon) DeepCopy ¶ added in v0.0.2
func (in *TemplateStatusCommon) DeepCopy() *TemplateStatusCommon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateStatusCommon.
func (*TemplateStatusCommon) DeepCopyInto ¶ added in v0.0.2
func (in *TemplateStatusCommon) DeepCopyInto(out *TemplateStatusCommon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateValidationStatus ¶
type TemplateValidationStatus struct { // ValidationError provides information regarding issues encountered during template validation. ValidationError string `json:"validationError,omitempty"` // Valid indicates whether the template passed validation or not. Valid bool `json:"valid"` }
func (*TemplateValidationStatus) DeepCopy ¶
func (in *TemplateValidationStatus) DeepCopy() *TemplateValidationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateValidationStatus.
func (*TemplateValidationStatus) DeepCopyInto ¶
func (in *TemplateValidationStatus) DeepCopyInto(out *TemplateValidationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- clustertemplate_types.go
- clustertemplatechain_types.go
- common.go
- credential_types.go
- groupversion_info.go
- managedcluster_types.go
- management_types.go
- providertemplate_types.go
- release_types.go
- servicetemplate_types.go
- servicetemplatechain_types.go
- templatechain_common.go
- templatemanagement_types.go
- templates_common.go
- zz_generated.deepcopy.go