Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=crossplane.services.openmcp.cloud
Index ¶
- Variables
- type AvailableCrossplaneProvider
- type ChartSpec
- type Crossplane
- type CrossplaneList
- type CrossplaneProviderConfig
- type CrossplaneProviders
- type CrossplaneSpec
- type CrossplaneStatus
- type CrossplaneVersion
- type ImageSpec
- type ProviderConfig
- type ProviderConfigList
- type ProviderConfigSpec
- type ProviderConfigStatus
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 {
// URL is a reference to an OCI artifact repository hosted on a remote container registry where the Helm chart is stored.
// The URL must NOT start with "oci://".
// +kubebuilder:validation:Required
URL string `json:"url"`
// SecretRef references a secret containing credentials to access the OCI artifact repository.
// +kubebuilder:validation:Optional
SecretRef commonapi.LocalObjectReference `json:"secretRef,omitempty"`
}
ChartSpec defines the location and access of 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 CrossplaneProviders ¶ added in v0.1.1
type CrossplaneProviders struct {
// AvailableProviders holds the list of providers that can be configured with the Service Provider Crossplane.
// +kubebuilder:validation:Required
AvailableProviders []AvailableCrossplaneProvider `json:"availableProviders"`
// Image pull secrets for pulling Crossplane provider images from private OCI registries.
// +kubebuilder:validation:Optional
ImagePullSecrets []commonapi.LocalObjectReference `json:"imagePullSecretRefs,omitempty"`
}
CrossplaneProviders represents the configutation of Crossplane providers and and their image pull secrets.
func (*CrossplaneProviders) DeepCopy ¶ added in v0.1.1
func (in *CrossplaneProviders) DeepCopy() *CrossplaneProviders
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneProviders.
func (*CrossplaneProviders) DeepCopyInto ¶ added in v0.1.1
func (in *CrossplaneProviders) DeepCopyInto(out *CrossplaneProviders)
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 CrossplaneVersion ¶ added in v0.1.1
type CrossplaneVersion struct {
// Version of Crossplane.
// +kubebuilder:validation:Required
Version string `json:"version"`
// Chart holds the Helm chart information for this Crossplane version.
// +kubebuilder:validation:Required
Chart ChartSpec `json:"chart"`
// Image holds the Crossplane controller image information for this Crossplane version.
// +kubebuilder:validation:Required
Image ImageSpec `json:"image"`
}
CrossplaneVersion defines a specific version of Crossplane along with its chart and image information.
func (*CrossplaneVersion) DeepCopy ¶ added in v0.1.1
func (in *CrossplaneVersion) DeepCopy() *CrossplaneVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CrossplaneVersion.
func (*CrossplaneVersion) DeepCopyInto ¶ added in v0.1.1
func (in *CrossplaneVersion) DeepCopyInto(out *CrossplaneVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶ added in v0.1.1
type ImageSpec struct {
// URL is a reference to the container image location.
// +kubebuilder:validation:Required
URL string `json:"url"`
// SecretRef references a secret containing credentials to access the container image repository.
// +kubebuilder:validation:Optional
SecretRef commonapi.LocalObjectReference `json:"secretRef,omitempty"`
}
ImageSpec defines the location and access a container image.
func (*ImageSpec) DeepCopy ¶ added in v0.1.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶ added in v0.1.1
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 {
CrossplaneVersions []CrossplaneVersion `json:"versions"`
// Providers holds the configuration for Crossplane providers that can be installed via the Service Provider Crossplane.
// +kubebuilder:validation:Optional
Providers CrossplaneProviders `json:"providers,omitempty"`
}
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.