v1alpha1

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group. +kubebuilder:object:generate=true +groupName=openmcp.cloud

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "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

func ClusterProviderGKV

func ClusterProviderGKV() schema.GroupVersionKind

func PlatformServiceGKV

func PlatformServiceGKV() schema.GroupVersionKind

func ServiceProviderGKV

func ServiceProviderGKV() schema.GroupVersionKind

Types

type ClusterProvider

type ClusterProvider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterProviderSpec   `json:"spec,omitempty"`
	Status            ClusterProviderStatus `json:"status,omitempty"`
}

ClusterProvider is the Schema for the clusterproviders API.

func (*ClusterProvider) DeepCopy

func (in *ClusterProvider) DeepCopy() *ClusterProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProvider.

func (*ClusterProvider) DeepCopyInto

func (in *ClusterProvider) DeepCopyInto(out *ClusterProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterProvider) DeepCopyObject

func (in *ClusterProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterProviderList

type ClusterProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ClusterProvider `json:"items"`
}

ClusterProviderList contains a list of ClusterProvider.

func (*ClusterProviderList) DeepCopy

func (in *ClusterProviderList) DeepCopy() *ClusterProviderList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderList.

func (*ClusterProviderList) DeepCopyInto

func (in *ClusterProviderList) DeepCopyInto(out *ClusterProviderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterProviderList) DeepCopyObject

func (in *ClusterProviderList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterProviderSpec

type ClusterProviderSpec struct {
	DeploymentSpec `json:",inline"`
}

ClusterProviderSpec defines the desired state of ClusterProvider.

func (*ClusterProviderSpec) DeepCopy

func (in *ClusterProviderSpec) DeepCopy() *ClusterProviderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderSpec.

func (*ClusterProviderSpec) DeepCopyInto

func (in *ClusterProviderSpec) DeepCopyInto(out *ClusterProviderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterProviderStatus

type ClusterProviderStatus struct {
	DeploymentStatus `json:",inline"`
}

ClusterProviderStatus defines the observed state of ClusterProvider.

func (*ClusterProviderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProviderStatus.

func (*ClusterProviderStatus) DeepCopyInto

func (in *ClusterProviderStatus) DeepCopyInto(out *ClusterProviderStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentSpec

type DeploymentSpec struct {
	// Image is the name of the image of a provider.
	// +kubebuilder:validation:MinLength=1
	Image string `json:"image"`

	// ImagePullSecrets are secrets in the same namespace.
	// They can be used to fetch provider images from private registries.
	ImagePullSecrets []ObjectReference `json:"imagePullSecrets,omitempty"`

	// Env is a list of environment variables to set in the containers of the init job and deployment of the provider.
	// +optional
	// +patchMergeKey=name
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=name
	Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name"`

	// Verbosity is the verbosity level of the provider.
	// +kubebuilder:validation:Enum=DEBUG;INFO;ERROR
	// +kubebuilder:default=INFO
	Verbosity string `json:"verbosity,omitempty"`
}

DeploymentSpec defines the desired state of a provider.

func (*DeploymentSpec) DeepCopy

func (in *DeploymentSpec) DeepCopy() *DeploymentSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.

func (*DeploymentSpec) DeepCopyInto

func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentStatus

type DeploymentStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// ObservedGeneration is the last observed generation.
	ObservedGeneration int64 `json:"observedGeneration"`

	Phase string `json:"phase,omitempty"`
}

DeploymentStatus defines the observed state of a provider.

func (*DeploymentStatus) DeepCopy

func (in *DeploymentStatus) DeepCopy() *DeploymentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.

func (*DeploymentStatus) DeepCopyInto

func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvVar added in v0.7.0

type EnvVar struct {
	// Name is the name of the environment variable.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
	// Value is the value of the environment variable.
	// +optional
	Value string `json:"value,omitempty"`
}

EnvVar represents an environment variable present in a Container.

func (*EnvVar) DeepCopy added in v0.7.0

func (in *EnvVar) DeepCopy() *EnvVar

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.

func (*EnvVar) DeepCopyInto added in v0.7.0

func (in *EnvVar) DeepCopyInto(out *EnvVar)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ObjectReference

type ObjectReference struct {
	// Name is the name of the referenced resource.
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name"`
}

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlatformService

type PlatformService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PlatformServiceSpec   `json:"spec,omitempty"`
	Status            PlatformServiceStatus `json:"status,omitempty"`
}

PlatformService is the Schema for the platformservices API.

func (*PlatformService) DeepCopy

func (in *PlatformService) DeepCopy() *PlatformService

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformService.

func (*PlatformService) DeepCopyInto

func (in *PlatformService) DeepCopyInto(out *PlatformService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlatformService) DeepCopyObject

func (in *PlatformService) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlatformServiceList

type PlatformServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PlatformService `json:"items"`
}

PlatformServiceList contains a list of PlatformService.

func (*PlatformServiceList) DeepCopy

func (in *PlatformServiceList) DeepCopy() *PlatformServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformServiceList.

func (*PlatformServiceList) DeepCopyInto

func (in *PlatformServiceList) DeepCopyInto(out *PlatformServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlatformServiceList) DeepCopyObject

func (in *PlatformServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlatformServiceSpec

type PlatformServiceSpec struct {
	DeploymentSpec `json:",inline"`
}

PlatformServiceSpec defines the desired state of PlatformService.

func (*PlatformServiceSpec) DeepCopy

func (in *PlatformServiceSpec) DeepCopy() *PlatformServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformServiceSpec.

func (*PlatformServiceSpec) DeepCopyInto

func (in *PlatformServiceSpec) DeepCopyInto(out *PlatformServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlatformServiceStatus

type PlatformServiceStatus struct {
	DeploymentStatus `json:",inline"`
}

PlatformServiceStatus defines the observed state of PlatformService.

func (*PlatformServiceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformServiceStatus.

func (*PlatformServiceStatus) DeepCopyInto

func (in *PlatformServiceStatus) DeepCopyInto(out *PlatformServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceProvider

type ServiceProvider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceProviderSpec   `json:"spec,omitempty"`
	Status            ServiceProviderStatus `json:"status,omitempty"`
}

ServiceProvider is the Schema for the serviceproviders API.

func (*ServiceProvider) DeepCopy

func (in *ServiceProvider) DeepCopy() *ServiceProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProvider.

func (*ServiceProvider) DeepCopyInto

func (in *ServiceProvider) DeepCopyInto(out *ServiceProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceProvider) DeepCopyObject

func (in *ServiceProvider) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServiceProviderList

type ServiceProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ServiceProvider `json:"items"`
}

ServiceProviderList contains a list of ServiceProvider.

func (*ServiceProviderList) DeepCopy

func (in *ServiceProviderList) DeepCopy() *ServiceProviderList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProviderList.

func (*ServiceProviderList) DeepCopyInto

func (in *ServiceProviderList) DeepCopyInto(out *ServiceProviderList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceProviderList) DeepCopyObject

func (in *ServiceProviderList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServiceProviderSpec

type ServiceProviderSpec struct {
	DeploymentSpec `json:",inline"`
}

ServiceProviderSpec defines the desired state of ServiceProvider.

func (*ServiceProviderSpec) DeepCopy

func (in *ServiceProviderSpec) DeepCopy() *ServiceProviderSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProviderSpec.

func (*ServiceProviderSpec) DeepCopyInto

func (in *ServiceProviderSpec) DeepCopyInto(out *ServiceProviderSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceProviderStatus

type ServiceProviderStatus struct {
	DeploymentStatus `json:",inline"`
}

ServiceProviderStatus defines the observed state of ServiceProvider.

func (*ServiceProviderStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceProviderStatus.

func (*ServiceProviderStatus) DeepCopyInto

func (in *ServiceProviderStatus) DeepCopyInto(out *ServiceProviderStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL