v1alpha1

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 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 CnsFileAccessConfig

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

	Spec   CnsFileAccessConfigSpec   `json:"spec,omitempty"`
	Status CnsFileAccessConfigStatus `json:"status,omitempty"`
}

CnsFileAccessConfig is the Schema for the CnsFileAccessConfig API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*CnsFileAccessConfig) DeepCopy

func (in *CnsFileAccessConfig) DeepCopy() *CnsFileAccessConfig

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

func (*CnsFileAccessConfig) DeepCopyInto

func (in *CnsFileAccessConfig) DeepCopyInto(out *CnsFileAccessConfig)

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

func (*CnsFileAccessConfig) DeepCopyObject

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

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

type CnsFileAccessConfigList

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

CnsFileAccessConfigList contains a list of CnsFileAccessConfig

func (*CnsFileAccessConfigList) DeepCopy

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

func (*CnsFileAccessConfigList) DeepCopyInto

func (in *CnsFileAccessConfigList) DeepCopyInto(out *CnsFileAccessConfigList)

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

func (*CnsFileAccessConfigList) DeepCopyObject

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

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

type CnsFileAccessConfigSpec

type CnsFileAccessConfigSpec struct {
	// PvcName indicates the name of the PVC on the supervisor Cluster.
	// This is guaranteed to be unique in Supervisor cluster.
	PvcName string `json:"pvcName"`

	// VmName is the name of VirtualMachine instance on SV cluster
	// Support for PodVm will be added in the near future and
	// either VMName or PodVMName needs to be set.
	VMName string `json:"vmName,omitempty"`
}

CnsFileAccessConfigSpec defines the desired state of CnsFileAccessConfig +k8s:openapi-gen=true

func (*CnsFileAccessConfigSpec) DeepCopy

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

func (*CnsFileAccessConfigSpec) DeepCopyInto

func (in *CnsFileAccessConfigSpec) DeepCopyInto(out *CnsFileAccessConfigSpec)

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

type CnsFileAccessConfigStatus

type CnsFileAccessConfigStatus struct {
	// Done indicates whether the ACL has been
	// configured on file volume. This field must only be set by
	// the entity completing the register operation, i.e. the CNS Operator.
	Done bool `json:"done,omitempty"`

	// Access points per protocol supported by the volume.
	// This field must only be set by the entity completing the config
	// operation, i.e. the CNS Operator.
	// AccessPoints field will only be set when the CnsFileAccessConfig.Status.Done
	// field is set to true.
	AccessPoints map[string]string `json:"accessPoints,omitempty"`

	// The last error encountered during file volume config operation, if any
	// This field must only be set by the entity completing the config
	// operation, i.e. the CNS Operator.
	Error string `json:"error,omitempty"`
}

CnsFileAccessConfigStatus defines the observed state of CnsFileAccessConfig +k8s:openapi-gen=true

func (*CnsFileAccessConfigStatus) DeepCopy

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

func (*CnsFileAccessConfigStatus) DeepCopyInto

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