v1alpha1

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the rcs.dana.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=rcs.dana.io

Index

Constants

This section is empty.

Variables

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

type RCSConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RCSConfigSpec   `json:"spec,omitempty"`
	Status RCSConfigStatus `json:"status,omitempty"`
}

RCSConfig is the Schema for the rcsconfigs API

func (*RCSConfig) DeepCopy

func (in *RCSConfig) DeepCopy() *RCSConfig

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

func (*RCSConfig) DeepCopyInto

func (in *RCSConfig) DeepCopyInto(out *RCSConfig)

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

func (*RCSConfig) DeepCopyObject

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

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

type RCSConfigList

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

RCSConfigList contains a list of RCSConfig

func (*RCSConfigList) DeepCopy

func (in *RCSConfigList) DeepCopy() *RCSConfigList

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

func (*RCSConfigList) DeepCopyInto

func (in *RCSConfigList) DeepCopyInto(out *RCSConfigList)

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

func (*RCSConfigList) DeepCopyObject

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

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

type RCSConfigSpec

type RCSConfigSpec struct {
	// PlacementsNamespace defines the namespace where the Placement CRs exist
	// +kubebuilder:default:="placements"
	PlacementsNamespace string `json:"placementsNamespace"`

	// Placements is an array of Placement names that the operator should use
	Placements []string `json:"placements"`

	// DefaultResources is the default resources to be assigned to Capp.
	// If other resources are specified then they override the default values.
	DefaultResources corev1.ResourceRequirements `json:"defaultResources"`

	// InvalidHostnamePatterns is an optional slice of regex patterns to be used to validate the hostname of the Capp.
	// If the Capp hostname matches a pattern, it is blocked from being created.
	// +kubebuilder:default:={}
	InvalidHostnamePatterns []string `json:"invalidHostnamePatterns"`
}

RCSConfigSpec defines the desired state of RCSConfig

func (*RCSConfigSpec) DeepCopy

func (in *RCSConfigSpec) DeepCopy() *RCSConfigSpec

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

func (*RCSConfigSpec) DeepCopyInto

func (in *RCSConfigSpec) DeepCopyInto(out *RCSConfigSpec)

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

type RCSConfigStatus

type RCSConfigStatus struct{}

RCSConfigStatus defines the observed state of RCSConfig

func (*RCSConfigStatus) DeepCopy

func (in *RCSConfigStatus) DeepCopy() *RCSConfigStatus

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

func (*RCSConfigStatus) DeepCopyInto

func (in *RCSConfigStatus) DeepCopyInto(out *RCSConfigStatus)

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