v1beta1

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Overview

Package v1beta1 contains API Schema definitions for the ssp v1beta1 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: "v1beta1"}

	// 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 CommonInstancetypes added in v0.17.0

type CommonInstancetypes struct {
	// URL of a remote Kustomize target from which to generate and deploy resources.
	//
	// The following caveats apply to the provided URL:
	//
	// * Only 'https://' and 'git://' URLs are supported.
	//
	// * The URL must include '?ref=$ref' or '?version=$ref' pinning it to a specific
	//   reference. It is recommended that the reference be a specific commit or tag
	//   to ensure the generated contents does not change over time. As such it is
	//   recommended not to use branches as the ref for the time being.
	//
	// * Only VirtualMachineClusterPreference and VirtualMachineClusterInstancetype
	//   resources generated from the URL are deployed by the operand.
	//
	// See the following Kustomize documentation for more details:
	//
	// remote targets
	// https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md
	URL *string `json:"url,omitempty"`
}

func (*CommonInstancetypes) DeepCopy added in v0.17.0

func (in *CommonInstancetypes) DeepCopy() *CommonInstancetypes

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

func (*CommonInstancetypes) DeepCopyInto added in v0.17.0

func (in *CommonInstancetypes) DeepCopyInto(out *CommonInstancetypes)

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

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. This is intended for images used by CommonTemplates.
	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 FeatureGates added in v0.18.0

type FeatureGates struct {
	DeployTektonTaskResources bool `json:"deployTektonTaskResources,omitempty"`
}

FeatureGates defines feature gate for tto operator

func (*FeatureGates) DeepCopy added in v0.18.0

func (in *FeatureGates) DeepCopy() *FeatureGates

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

func (*FeatureGates) DeepCopyInto added in v0.18.0

func (in *FeatureGates) DeepCopyInto(out *FeatureGates)

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

type NodeLabeller

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

func (*NodeLabeller) DeepCopy

func (in *NodeLabeller) DeepCopy() *NodeLabeller

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

func (*NodeLabeller) DeepCopyInto

func (in *NodeLabeller) DeepCopyInto(out *NodeLabeller)

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"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:deprecatedversion:warning="ssp.kubevirt.io/v1beta1 ssp is deprecated" SSP is the Schema for the ssps API +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"

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"`

	// NodeLabeller is configuration of the node-labeller operand
	NodeLabeller *NodeLabeller `json:"nodeLabeller,omitempty"`

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

	// CommonInstancetypes is the configuration of the common-instancetypes operand
	CommonInstancetypes *CommonInstancetypes `json:"commonInstancetypes,omitempty"`

	// TektonPipelines is the configuration of the tekton-pipelines operand
	TektonPipelines *TektonPipelines `json:"tektonPipelines,omitempty"`

	// TektonTasks is the configuration of the tekton-tasks operand
	TektonTasks *TektonTasks `json:"tektonTasks,omitempty"`

	// FeatureGates is the configuration of the tekton operands
	FeatureGates *FeatureGates `json:"featureGates,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 TektonPipelines added in v0.18.0

type TektonPipelines struct {
	Namespace string `json:"namespace,omitempty"`
}

TektonPipelines defines the desired state of pipelines

func (*TektonPipelines) DeepCopy added in v0.18.0

func (in *TektonPipelines) DeepCopy() *TektonPipelines

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

func (*TektonPipelines) DeepCopyInto added in v0.18.0

func (in *TektonPipelines) DeepCopyInto(out *TektonPipelines)

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

type TektonTasks added in v0.18.0

type TektonTasks struct {
	Namespace string `json:"namespace,omitempty"`
}

TektonTasks defines variables for configuration of tasks

func (*TektonTasks) DeepCopy added in v0.18.0

func (in *TektonTasks) DeepCopy() *TektonTasks

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

func (*TektonTasks) DeepCopyInto added in v0.18.0

func (in *TektonTasks) DeepCopyInto(out *TektonTasks)

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.

Jump to

Keyboard shortcuts

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