v1alpha1

package
v3.2.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CnsCsiSvFeatureStates

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

	Spec CnsCsiSvFeatureStatesSpec `json:"spec,omitempty"`
}

CnsCsiSvFeatureStates is the Schema for the cnscsisvfeaturestates API +kubebuilder:subresource:status +kubebuilder:resource:path=cnscsisvfeaturestates,scope=Namespaced

func (*CnsCsiSvFeatureStates) DeepCopy

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

func (*CnsCsiSvFeatureStates) DeepCopyInto

func (in *CnsCsiSvFeatureStates) DeepCopyInto(out *CnsCsiSvFeatureStates)

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

func (*CnsCsiSvFeatureStates) DeepCopyObject

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

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

type CnsCsiSvFeatureStatesList

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

CnsCsiSvFeatureStatesList contains a list of CnsCsiSvFeatureStates

func (*CnsCsiSvFeatureStatesList) DeepCopy

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

func (*CnsCsiSvFeatureStatesList) DeepCopyInto

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

func (*CnsCsiSvFeatureStatesList) DeepCopyObject

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

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

type CnsCsiSvFeatureStatesSpec

type CnsCsiSvFeatureStatesSpec struct {
	FeatureStates []FeatureState `json:"featureStates,omitempty"`
}

CnsCsiSvFeatureStatesSpec defines the desired state of CnsCsiSvFeatureStates

func (*CnsCsiSvFeatureStatesSpec) DeepCopy

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

func (*CnsCsiSvFeatureStatesSpec) DeepCopyInto

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

type FeatureState

type FeatureState struct {
	// Name is the unique identifier of the feature, this must be unique
	Name string `json:"name"`
	// Enabled is set to true when feature is enabled, else it is set to false
	Enabled bool `json:"enabled"`
}

FeatureState defines the feature name and its state

func (*FeatureState) DeepCopy

func (in *FeatureState) DeepCopy() *FeatureState

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

func (*FeatureState) DeepCopyInto

func (in *FeatureState) DeepCopyInto(out *FeatureState)

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