Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=crossplane.services.openmcp.cloud
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "crossplane.services.openmcp.cloud", 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 ¶
This section is empty.
Types ¶
type AvailableCrossplaneProvider ¶
type AvailableCrossplaneProvider struct { // Name of the provider. // +kubebuilder:validation:Required Name string `json:"name"` // Version of the provider to install. // +kubebuilder:validation:Required Versions []string `json:"versions"` // Package is the package name of the provider. // +kubebuilder:validation:Required Package string `json:"package"` }
AvailableCrossplaneProvider represents configuration for Crossplane providers in a ProviderConfig of the Service Provider Crossplane.
func (*AvailableCrossplaneProvider) DeepCopy ¶
func (in *AvailableCrossplaneProvider) DeepCopy() *AvailableCrossplaneProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AvailableCrossplaneProvider.
func (*AvailableCrossplaneProvider) DeepCopyInto ¶
func (in *AvailableCrossplaneProvider) DeepCopyInto(out *AvailableCrossplaneProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartSpec ¶
type ChartSpec struct { // Repository is the URL to a Helm repository. // +kubebuilder:validation:Required Repository string `json:"repository"` // Name of the Helm chart. // +kubebuilder:validation:Required Name string `json:"name"` // AvailableVersions of the Helm chart. // +kubebuilder:validation:Required AvailableVersions []string `json:"availableVersions"` }
ChartSpec identifies a Helm chart.
func (*ChartSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSpec.
func (*ChartSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Crossplane ¶
type Crossplane struct { metav1.TypeMeta `json:",inline"` // metadata is a standard object metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty,omitzero"` // spec defines the desired state of Crossplane // +required Spec CrossplaneSpec `json:"spec"` // status defines the observed state of Crossplane // +optional Status CrossplaneStatus `json:"status,omitempty,omitzero"` }
Crossplane is the Schema for the crossplanes API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:JSONPath=`.spec.version`,name="Version",type=string +kubebuilder:printcolumn:JSONPath=`.status.phase`,name="Phase",type=string +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:metadata:labels="openmcp.cloud/cluster=onboarding"
func (*Crossplane) DeepCopy ¶
func (in *Crossplane) DeepCopy() *Crossplane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Crossplane.
func (*Crossplane) DeepCopyInto ¶
func (in *Crossplane) DeepCopyInto(out *Crossplane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Crossplane) DeepCopyObject ¶
func (in *Crossplane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CrossplaneList ¶
type CrossplaneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Crossplane `json:"items"` }
CrossplaneList contains a list of Crossplane
func (*CrossplaneList) DeepCopy ¶
func (in *CrossplaneList) DeepCopy() *CrossplaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneList.
func (*CrossplaneList) DeepCopyInto ¶
func (in *CrossplaneList) DeepCopyInto(out *CrossplaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CrossplaneList) DeepCopyObject ¶
func (in *CrossplaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CrossplaneProviderConfig ¶
type CrossplaneProviderConfig struct { // Name of the provider. Name string `json:"name"` // Version of the provider to install. Version string `json:"version"` }
CrossplaneProviderConfig represents configuration for Crossplane providers in a Crossplane instance.
func (*CrossplaneProviderConfig) DeepCopy ¶
func (in *CrossplaneProviderConfig) DeepCopy() *CrossplaneProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneProviderConfig.
func (*CrossplaneProviderConfig) DeepCopyInto ¶
func (in *CrossplaneProviderConfig) DeepCopyInto(out *CrossplaneProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrossplaneSpec ¶
type CrossplaneSpec struct { // The Version of Crossplane to install. Version string `json:"version"` // List of Crossplane providers to be installed. // +kubebuilder:validation:Optional Providers []*CrossplaneProviderConfig `json:"providers,omitempty"` }
CrossplaneSpec defines the desired state of a Crossplane instance.
func (*CrossplaneSpec) DeepCopy ¶
func (in *CrossplaneSpec) DeepCopy() *CrossplaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneSpec.
func (*CrossplaneSpec) DeepCopyInto ¶
func (in *CrossplaneSpec) DeepCopyInto(out *CrossplaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CrossplaneStatus ¶
CrossplaneStatus defines the observed state of a Crossplane instance.
func (*CrossplaneStatus) DeepCopy ¶
func (in *CrossplaneStatus) DeepCopy() *CrossplaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneStatus.
func (*CrossplaneStatus) DeepCopyInto ¶
func (in *CrossplaneStatus) DeepCopyInto(out *CrossplaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfig ¶
type ProviderConfig struct { metav1.TypeMeta `json:",inline"` // metadata is a standard object metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty,omitzero"` // spec defines the desired state of ProviderConfig // +required Spec ProviderConfigSpec `json:"spec"` // status defines the observed state of ProviderConfig // +optional Status ProviderConfigStatus `json:"status,omitempty,omitzero"` }
ProviderConfig is the Schema for the providerconfigs API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:metadata:labels="openmcp.cloud/cluster=platform"
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.
func (*ProviderConfig) DeepCopyObject ¶
func (in *ProviderConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderConfigList ¶
type ProviderConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ProviderConfig `json:"items"` }
ProviderConfigList contains a list of ProviderConfig
func (*ProviderConfigList) DeepCopy ¶
func (in *ProviderConfigList) DeepCopy() *ProviderConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigList.
func (*ProviderConfigList) DeepCopyInto ¶
func (in *ProviderConfigList) DeepCopyInto(out *ProviderConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProviderConfigList) DeepCopyObject ¶
func (in *ProviderConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProviderConfigSpec ¶
type ProviderConfigSpec struct { // Optional custom Helm chart configuration. // +kubebuilder:validation:Required Chart ChartSpec `json:"chart"` // ImageMapping holds the information about exchangable image locations in the Helm chart. // +kubebuilder:validation:Optional ImageMapping map[string]string `json:"imageMapping,omitempty"` // AvailableProviders holds the list of providers that can be configured with the Service Provider Crossplane. // +kubebuilder:validation:Required AvailableProviders []AvailableCrossplaneProvider `json:"availableProviders"` }
ProviderConfigSpec defines the desired state of ProviderConfig.
func (*ProviderConfigSpec) DeepCopy ¶
func (in *ProviderConfigSpec) DeepCopy() *ProviderConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigSpec.
func (*ProviderConfigSpec) DeepCopyInto ¶
func (in *ProviderConfigSpec) DeepCopyInto(out *ProviderConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfigStatus ¶
ProviderConfigStatus defines the observed state of ProviderConfig.
func (*ProviderConfigStatus) DeepCopy ¶
func (in *ProviderConfigStatus) DeepCopy() *ProviderConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfigStatus.
func (*ProviderConfigStatus) DeepCopyInto ¶
func (in *ProviderConfigStatus) DeepCopyInto(out *ProviderConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.