Documentation
¶
Overview ¶
Package v1beta2 contains API Schema definitions for the ssp v1beta2 API group +kubebuilder:object:generate=true +groupName=ssp.kubevirt.io
Index ¶
Constants ¶
const (
OperatorPausedAnnotation = "kubevirt.io/operator.paused"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ssp.kubevirt.io", Version: "v1beta2"} // 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 ¶
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 ¶
func (in *CommonInstancetypes) DeepCopy() *CommonInstancetypes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonInstancetypes.
func (*CommonInstancetypes) DeepCopyInto ¶
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 ¶
func (in *DataImportCronTemplate) DeepCopy() *DataImportCronTemplate
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 ¶
type FeatureGates struct { // +kubebuilder:deprecatedversion:warning="tekton task resources are no longer deployed by SSP" // Deprecated: This field is ignored. DeployTektonTaskResources bool `json:"deployTektonTaskResources,omitempty"` // +kubebuilder:deprecatedversion:warning="use the .spec.tokenGenerationService to enable vm-console-proxy" // Deprecated: This field is ignored. DeployVmConsoleProxy bool `json:"deployVmConsoleProxy,omitempty"` // +kubebuilder:deprecatedversion:warning="instance types and preferences are no longer deployed by SSP" // Deprecated: This field is ignored. DeployCommonInstancetypes *bool `json:"deployCommonInstancetypes,omitempty"` }
FeatureGates for SSP
func (*FeatureGates) DeepCopy ¶
func (in *FeatureGates) DeepCopy() *FeatureGates
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGates.
func (*FeatureGates) DeepCopyInto ¶
func (in *FeatureGates) DeepCopyInto(out *FeatureGates)
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:storageversion SSP is the Schema for the ssps API +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=".status.phase"
func (*SSP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSP.
func (*SSP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSP) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSPList.
func (*SSPList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SSPList) DeepCopyObject ¶
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"` // CommonInstancetypes is ignored. // +kubebuilder:deprecatedversion:warning="commonInstancetypes filed is ignored" // Deprecated: This field is ignored. CommonInstancetypes *CommonInstancetypes `json:"commonInstancetypes,omitempty"` // TektonPipelines is the configuration of the tekton-pipelines operand // +kubebuilder:deprecatedversion:warning="tektonPipelines filed is ignored" // Deprecated: This field is ignored. TektonPipelines *TektonPipelines `json:"tektonPipelines,omitempty"` // TektonTasks is the configuration of the tekton-tasks operand // +kubebuilder:deprecatedversion:warning="tektonTasks filed is ignored" // Deprecated: This field is ignored. TektonTasks *TektonTasks `json:"tektonTasks,omitempty"` // FeatureGates for SSP FeatureGates *FeatureGates `json:"featureGates,omitempty"` }
SSPSpec defines the desired state of SSP
func (*SSPSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSPSpec.
func (*SSPSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSPStatus.
func (*SSPStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TektonPipelines ¶
type TektonPipelines struct {
Namespace string `json:"namespace,omitempty"`
}
TektonPipelines defines the desired state of pipelines
func (*TektonPipelines) DeepCopy ¶
func (in *TektonPipelines) DeepCopy() *TektonPipelines
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonPipelines.
func (*TektonPipelines) DeepCopyInto ¶
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 ¶
type TektonTasks struct {
Namespace string `json:"namespace,omitempty"`
}
TektonTasks defines variables for configuration of tasks
func (*TektonTasks) DeepCopy ¶
func (in *TektonTasks) DeepCopy() *TektonTasks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TektonTasks.
func (*TektonTasks) DeepCopyInto ¶
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.
type TokenGenerationService ¶ added in v0.21.0
type TokenGenerationService struct {
Enabled bool `json:"enabled,omitempty"`
}
TokenGenerationService configures the service for generating tokens to access VNC for a VM.
func (*TokenGenerationService) DeepCopy ¶ added in v0.21.0
func (in *TokenGenerationService) DeepCopy() *TokenGenerationService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenGenerationService.
func (*TokenGenerationService) DeepCopyInto ¶ added in v0.21.0
func (in *TokenGenerationService) DeepCopyInto(out *TokenGenerationService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.