v1alpha1

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	In    Operator = "In"
	NotIn Operator = "NotIn"

	Name   Field = "Name"
	Status Field = "Status"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "storage.kubesphere.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 Accessor

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

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

Accessor is the Schema for the accessors API +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="StorageClass",type=string,JSONPath=`.spec.storageClassName` +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`

func (*Accessor) DeepCopy

func (in *Accessor) DeepCopy() *Accessor

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

func (*Accessor) DeepCopyInto

func (in *Accessor) DeepCopyInto(out *Accessor)

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

func (*Accessor) DeepCopyObject

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

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

type AccessorList

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

AccessorList contains a list of Accessor

func (*AccessorList) DeepCopy

func (in *AccessorList) DeepCopy() *AccessorList

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

func (*AccessorList) DeepCopyInto

func (in *AccessorList) DeepCopyInto(out *AccessorList)

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

func (*AccessorList) DeepCopyObject

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

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

type AccessorSpec

type AccessorSpec struct {
	StorageClassName  string        `json:"storageClassName"`
	NameSpaceSelector NameSpaceList `json:"namespaceSelector"`
	WorkSpaceSelector WorkSpaceList `json:"workspaceSelector"`
}

AccessorSpec defines the desired state of Accessor

func (*AccessorSpec) DeepCopy

func (in *AccessorSpec) DeepCopy() *AccessorSpec

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

func (*AccessorSpec) DeepCopyInto

func (in *AccessorSpec) DeepCopyInto(out *AccessorSpec)

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

type Field

type Field string

type FieldExpression

type FieldExpression struct {
	Field    Field    `json:"field"`
	Operator Operator `json:"operator"`
	Values   []string `json:"values"`
}

func (*FieldExpression) DeepCopy

func (in *FieldExpression) DeepCopy() *FieldExpression

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

func (*FieldExpression) DeepCopyInto

func (in *FieldExpression) DeepCopyInto(out *FieldExpression)

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

type FieldExpressions

type FieldExpressions struct {
	FieldExpressions []FieldExpression `json:"fieldExpressions"`
}

func (*FieldExpressions) DeepCopy

func (in *FieldExpressions) DeepCopy() *FieldExpressions

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

func (*FieldExpressions) DeepCopyInto

func (in *FieldExpressions) DeepCopyInto(out *FieldExpressions)

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

type MatchExpression

type MatchExpression struct {
	Key      string   `json:"key"`
	Operator Operator `json:"operator"`
	Values   []string `json:"values"`
}

func (*MatchExpression) DeepCopy

func (in *MatchExpression) DeepCopy() *MatchExpression

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

func (*MatchExpression) DeepCopyInto

func (in *MatchExpression) DeepCopyInto(out *MatchExpression)

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

type MatchExpressions

type MatchExpressions struct {
	MatchExpressions []MatchExpression `json:"matchExpressions"`
}

func (*MatchExpressions) DeepCopy

func (in *MatchExpressions) DeepCopy() *MatchExpressions

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

func (*MatchExpressions) DeepCopyInto

func (in *MatchExpressions) DeepCopyInto(out *MatchExpressions)

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

type NameSpaceList

type NameSpaceList struct {
	LabelSelector []MatchExpressions `json:"labelSelector"`
	FieldSelector []FieldExpressions `json:"fieldSelector"`
}

func (*NameSpaceList) DeepCopy

func (in *NameSpaceList) DeepCopy() *NameSpaceList

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

func (*NameSpaceList) DeepCopyInto

func (in *NameSpaceList) DeepCopyInto(out *NameSpaceList)

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

type Operator

type Operator string

type WorkSpaceList

type WorkSpaceList struct {
	LabelSelector []MatchExpressions `json:"labelSelector"`
	FieldSelector []FieldExpressions `json:"fieldSelector"`
}

Jump to

Keyboard shortcuts

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