v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

+groupName=dfs.alicloud.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: dfs.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AccessGroup

type AccessGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessGroupSpec   `json:"spec,omitempty"`
	Status            AccessGroupStatus `json:"status,omitempty"`
}

func (*AccessGroup) DeepCopy

func (in *AccessGroup) DeepCopy() *AccessGroup

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

func (*AccessGroup) DeepCopyInto

func (in *AccessGroup) DeepCopyInto(out *AccessGroup)

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

func (*AccessGroup) DeepCopyObject

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

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

func (*AccessGroup) SetupWebhookWithManager

func (r *AccessGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AccessGroup) ValidateCreate

func (r *AccessGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AccessGroup) ValidateDelete

func (r *AccessGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AccessGroup) ValidateUpdate

func (r *AccessGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AccessGroupList

type AccessGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AccessGroup CRD objects
	Items []AccessGroup `json:"items,omitempty"`
}

AccessGroupList is a list of AccessGroups

func (*AccessGroupList) DeepCopy

func (in *AccessGroupList) DeepCopy() *AccessGroupList

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

func (*AccessGroupList) DeepCopyInto

func (in *AccessGroupList) DeepCopyInto(out *AccessGroupList)

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

func (*AccessGroupList) DeepCopyObject

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

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

type AccessGroupSpec

type AccessGroupSpec struct {
	State *AccessGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccessGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AccessGroupSpec) DeepCopy

func (in *AccessGroupSpec) DeepCopy() *AccessGroupSpec

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

func (*AccessGroupSpec) DeepCopyInto

func (in *AccessGroupSpec) DeepCopyInto(out *AccessGroupSpec)

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

type AccessGroupSpecResource

type AccessGroupSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AccessGroupName *string `json:"accessGroupName" tf:"access_group_name"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	NetworkType *string `json:"networkType" tf:"network_type"`
}

func (*AccessGroupSpecResource) DeepCopy

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

func (*AccessGroupSpecResource) DeepCopyInto

func (in *AccessGroupSpecResource) DeepCopyInto(out *AccessGroupSpecResource)

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

type AccessGroupStatus

type AccessGroupStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AccessGroupStatus) DeepCopy

func (in *AccessGroupStatus) DeepCopy() *AccessGroupStatus

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

func (*AccessGroupStatus) DeepCopyInto

func (in *AccessGroupStatus) DeepCopyInto(out *AccessGroupStatus)

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

type AccessRule

type AccessRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccessRuleSpec   `json:"spec,omitempty"`
	Status            AccessRuleStatus `json:"status,omitempty"`
}

func (*AccessRule) DeepCopy

func (in *AccessRule) DeepCopy() *AccessRule

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

func (*AccessRule) DeepCopyInto

func (in *AccessRule) DeepCopyInto(out *AccessRule)

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

func (*AccessRule) DeepCopyObject

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

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

func (*AccessRule) SetupWebhookWithManager

func (r *AccessRule) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AccessRule) ValidateCreate

func (r *AccessRule) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AccessRule) ValidateDelete

func (r *AccessRule) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AccessRule) ValidateUpdate

func (r *AccessRule) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AccessRuleList

type AccessRuleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of AccessRule CRD objects
	Items []AccessRule `json:"items,omitempty"`
}

AccessRuleList is a list of AccessRules

func (*AccessRuleList) DeepCopy

func (in *AccessRuleList) DeepCopy() *AccessRuleList

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

func (*AccessRuleList) DeepCopyInto

func (in *AccessRuleList) DeepCopyInto(out *AccessRuleList)

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

func (*AccessRuleList) DeepCopyObject

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

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

type AccessRuleSpec

type AccessRuleSpec struct {
	State *AccessRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource AccessRuleSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*AccessRuleSpec) DeepCopy

func (in *AccessRuleSpec) DeepCopy() *AccessRuleSpec

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

func (*AccessRuleSpec) DeepCopyInto

func (in *AccessRuleSpec) DeepCopyInto(out *AccessRuleSpec)

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

type AccessRuleSpecResource

type AccessRuleSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AccessGroupID *string `json:"accessGroupID" tf:"access_group_id"`
	// +optional
	AccessRuleID *string `json:"accessRuleID,omitempty" tf:"access_rule_id"`
	// +optional
	Description    *string `json:"description,omitempty" tf:"description"`
	NetworkSegment *string `json:"networkSegment" tf:"network_segment"`
	Priority       *int64  `json:"priority" tf:"priority"`
	RwAccessType   *string `json:"rwAccessType" tf:"rw_access_type"`
}

func (*AccessRuleSpecResource) DeepCopy

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

func (*AccessRuleSpecResource) DeepCopyInto

func (in *AccessRuleSpecResource) DeepCopyInto(out *AccessRuleSpecResource)

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

type AccessRuleStatus

type AccessRuleStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*AccessRuleStatus) DeepCopy

func (in *AccessRuleStatus) DeepCopy() *AccessRuleStatus

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

func (*AccessRuleStatus) DeepCopyInto

func (in *AccessRuleStatus) DeepCopyInto(out *AccessRuleStatus)

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

type FileSystem

type FileSystem struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FileSystemSpec   `json:"spec,omitempty"`
	Status            FileSystemStatus `json:"status,omitempty"`
}

func (*FileSystem) DeepCopy

func (in *FileSystem) DeepCopy() *FileSystem

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

func (*FileSystem) DeepCopyInto

func (in *FileSystem) DeepCopyInto(out *FileSystem)

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

func (*FileSystem) DeepCopyObject

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

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

func (*FileSystem) SetupWebhookWithManager

func (r *FileSystem) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*FileSystem) ValidateCreate

func (r *FileSystem) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*FileSystem) ValidateDelete

func (r *FileSystem) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*FileSystem) ValidateUpdate

func (r *FileSystem) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type FileSystemList

type FileSystemList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of FileSystem CRD objects
	Items []FileSystem `json:"items,omitempty"`
}

FileSystemList is a list of FileSystems

func (*FileSystemList) DeepCopy

func (in *FileSystemList) DeepCopy() *FileSystemList

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

func (*FileSystemList) DeepCopyInto

func (in *FileSystemList) DeepCopyInto(out *FileSystemList)

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

func (*FileSystemList) DeepCopyObject

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

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

type FileSystemSpec

type FileSystemSpec struct {
	State *FileSystemSpecResource `json:"state,omitempty" tf:"-"`

	Resource FileSystemSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*FileSystemSpec) DeepCopy

func (in *FileSystemSpec) DeepCopy() *FileSystemSpec

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

func (*FileSystemSpec) DeepCopyInto

func (in *FileSystemSpec) DeepCopyInto(out *FileSystemSpec)

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

type FileSystemSpecResource

type FileSystemSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Description    *string `json:"description,omitempty" tf:"description"`
	FileSystemName *string `json:"fileSystemName" tf:"file_system_name"`
	ProtocolType   *string `json:"protocolType" tf:"protocol_type"`
	// +optional
	ProvisionedThroughputInMiBps *int64  `json:"provisionedThroughputInMiBps,omitempty" tf:"provisioned_throughput_in_mi_bps"`
	SpaceCapacity                *int64  `json:"spaceCapacity" tf:"space_capacity"`
	StorageType                  *string `json:"storageType" tf:"storage_type"`
	// +optional
	ThroughputMode *string `json:"-" sensitive:"true" tf:"throughput_mode"`
	ZoneID         *string `json:"zoneID" tf:"zone_id"`
}

func (*FileSystemSpecResource) DeepCopy

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

func (*FileSystemSpecResource) DeepCopyInto

func (in *FileSystemSpecResource) DeepCopyInto(out *FileSystemSpecResource)

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

type FileSystemStatus

type FileSystemStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*FileSystemStatus) DeepCopy

func (in *FileSystemStatus) DeepCopy() *FileSystemStatus

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

func (*FileSystemStatus) DeepCopyInto

func (in *FileSystemStatus) DeepCopyInto(out *FileSystemStatus)

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

type MountPoint

type MountPoint struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MountPointSpec   `json:"spec,omitempty"`
	Status            MountPointStatus `json:"status,omitempty"`
}

func (*MountPoint) DeepCopy

func (in *MountPoint) DeepCopy() *MountPoint

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

func (*MountPoint) DeepCopyInto

func (in *MountPoint) DeepCopyInto(out *MountPoint)

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

func (*MountPoint) DeepCopyObject

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

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

func (*MountPoint) SetupWebhookWithManager

func (r *MountPoint) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*MountPoint) ValidateCreate

func (r *MountPoint) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*MountPoint) ValidateDelete

func (r *MountPoint) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*MountPoint) ValidateUpdate

func (r *MountPoint) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type MountPointList

type MountPointList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of MountPoint CRD objects
	Items []MountPoint `json:"items,omitempty"`
}

MountPointList is a list of MountPoints

func (*MountPointList) DeepCopy

func (in *MountPointList) DeepCopy() *MountPointList

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

func (*MountPointList) DeepCopyInto

func (in *MountPointList) DeepCopyInto(out *MountPointList)

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

func (*MountPointList) DeepCopyObject

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

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

type MountPointSpec

type MountPointSpec struct {
	State *MountPointSpecResource `json:"state,omitempty" tf:"-"`

	Resource MountPointSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*MountPointSpec) DeepCopy

func (in *MountPointSpec) DeepCopy() *MountPointSpec

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

func (*MountPointSpec) DeepCopyInto

func (in *MountPointSpec) DeepCopyInto(out *MountPointSpec)

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

type MountPointSpecResource

type MountPointSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	AccessGroupID *string `json:"accessGroupID" tf:"access_group_id"`
	// +optional
	Description  *string `json:"description,omitempty" tf:"description"`
	FileSystemID *string `json:"fileSystemID" tf:"file_system_id"`
	// +optional
	MountPointID *string `json:"mountPointID,omitempty" tf:"mount_point_id"`
	NetworkType  *string `json:"networkType" tf:"network_type"`
	// +optional
	Status    *string `json:"status,omitempty" tf:"status"`
	VpcID     *string `json:"vpcID" tf:"vpc_id"`
	VswitchID *string `json:"vswitchID" tf:"vswitch_id"`
}

func (*MountPointSpecResource) DeepCopy

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

func (*MountPointSpecResource) DeepCopyInto

func (in *MountPointSpecResource) DeepCopyInto(out *MountPointSpecResource)

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

type MountPointStatus

type MountPointStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*MountPointStatus) DeepCopy

func (in *MountPointStatus) DeepCopy() *MountPointStatus

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

func (*MountPointStatus) DeepCopyInto

func (in *MountPointStatus) DeepCopyInto(out *MountPointStatus)

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