v1beta3

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1beta3 contains API Schema definitions for the ssp v1beta3 API group +kubebuilder:object:generate=true +groupName=ssp.kubevirt.io

Index

Constants

View Source
const (
	OperatorPausedAnnotation = "kubevirt.io/operator.paused"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ssp.kubevirt.io", Version: "v1beta3"}

	// 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 CommonTemplates

type CommonTemplates struct {
	// Namespace is the k8s namespace where CommonTemplates should be installed
	//+kubebuilder:validation:MaxLength=63
	//+kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
	Namespace string `json:"namespace"`

	// DataImportCronTemplates defines a list of DataImportCrons managed by the SSP Operator.
	DataImportCronTemplates []DataImportCronTemplate `json:"dataImportCronTemplates,omitempty"`
}

func (*CommonTemplates) DeepCopy

func (in *CommonTemplates) DeepCopy() *CommonTemplates

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

func (*CommonTemplates) DeepCopyInto

func (in *CommonTemplates) DeepCopyInto(out *CommonTemplates)

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

type DataImportCronTemplate

type DataImportCronTemplate struct {
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec cdiv1beta1.DataImportCronSpec `json:"spec"`
}

DataImportCronTemplate defines the template type for DataImportCrons. It requires metadata.name to be specified while leaving namespace as optional.

func (*DataImportCronTemplate) AsDataImportCron

func (t *DataImportCronTemplate) AsDataImportCron() cdiv1beta1.DataImportCron

AsDataImportCron converts the DataImportCronTemplate to a cdiv1beta1.DataImportCron

func (*DataImportCronTemplate) DeepCopy

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

func (*DataImportCronTemplate) DeepCopyInto

func (in *DataImportCronTemplate) DeepCopyInto(out *DataImportCronTemplate)

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

type SSP

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

	Spec   SSPSpec   `json:"spec,omitempty"`
	Status SSPStatus `json:"status,omitempty"`
}

SSP is the Schema for the ssps API

func (*SSP) DeepCopy

func (in *SSP) DeepCopy() *SSP

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

func (*SSP) DeepCopyInto

func (in *SSP) DeepCopyInto(out *SSP)

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

func (*SSP) DeepCopyObject

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

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

type SSPList

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

SSPList contains a list of SSP

func (*SSPList) DeepCopy

func (in *SSPList) DeepCopy() *SSPList

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

func (*SSPList) DeepCopyInto

func (in *SSPList) DeepCopyInto(out *SSPList)

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

func (*SSPList) DeepCopyObject

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

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

type SSPSpec

type SSPSpec struct {
	// TemplateValidator is configuration of the template validator operand
	TemplateValidator *TemplateValidator `json:"templateValidator,omitempty"`

	// CommonTemplates is the configuration of the common templates operand
	CommonTemplates CommonTemplates `json:"commonTemplates"`

	// TLSSecurityProfile is a configuration for the TLS.
	TLSSecurityProfile *ocpv1.TLSSecurityProfile `json:"tlsSecurityProfile,omitempty"`

	// TokenGenerationService configures the service for generating tokens to access VNC for a VM.
	TokenGenerationService *TokenGenerationService `json:"tokenGenerationService,omitempty"`
}

SSPSpec defines the desired state of SSP

func (*SSPSpec) DeepCopy

func (in *SSPSpec) DeepCopy() *SSPSpec

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

func (*SSPSpec) DeepCopyInto

func (in *SSPSpec) DeepCopyInto(out *SSPSpec)

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

type SSPStatus

type SSPStatus struct {
	lifecycleapi.Status `json:",inline"`

	// Paused is true when the operator notices paused annotation.
	Paused bool `json:"paused,omitempty"`

	// ObservedGeneration is the latest generation observed by the operator.
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

SSPStatus defines the observed state of SSP

func (*SSPStatus) DeepCopy

func (in *SSPStatus) DeepCopy() *SSPStatus

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

func (*SSPStatus) DeepCopyInto

func (in *SSPStatus) DeepCopyInto(out *SSPStatus)

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

type TemplateValidator

type TemplateValidator struct {
	// Replicas is the number of replicas of the template validator pod
	//+kubebuilder:validation:Minimum=0
	//+kubebuilder:default=2
	Replicas *int32 `json:"replicas,omitempty"`

	// Placement describes the node scheduling configuration
	Placement *lifecycleapi.NodePlacement `json:"placement,omitempty"`
}

func (*TemplateValidator) DeepCopy

func (in *TemplateValidator) DeepCopy() *TemplateValidator

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

func (*TemplateValidator) DeepCopyInto

func (in *TemplateValidator) DeepCopyInto(out *TemplateValidator)

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

type TokenGenerationService

type TokenGenerationService struct {
	Enabled bool `json:"enabled,omitempty"`
}

TokenGenerationService configures the service for generating tokens to access VNC for a VM.

func (*TokenGenerationService) DeepCopy

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

func (*TokenGenerationService) DeepCopyInto

func (in *TokenGenerationService) DeepCopyInto(out *TokenGenerationService)

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