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=image.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: image.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 Copy

type Copy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CopySpec   `json:"spec,omitempty"`
	Status            CopyStatus `json:"status,omitempty"`
}

func (*Copy) DeepCopy

func (in *Copy) DeepCopy() *Copy

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

func (*Copy) DeepCopyInto

func (in *Copy) DeepCopyInto(out *Copy)

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

func (*Copy) DeepCopyObject

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

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

func (*Copy) SetupWebhookWithManager

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

func (*Copy) ValidateCreate

func (r *Copy) ValidateCreate() error

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

func (*Copy) ValidateDelete

func (r *Copy) ValidateDelete() error

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

func (*Copy) ValidateUpdate

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

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

type CopyList

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

CopyList is a list of Copys

func (*CopyList) DeepCopy

func (in *CopyList) DeepCopy() *CopyList

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

func (*CopyList) DeepCopyInto

func (in *CopyList) DeepCopyInto(out *CopyList)

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

func (*CopyList) DeepCopyObject

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

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

type CopySpec

type CopySpec struct {
	State *CopySpecResource `json:"state,omitempty" tf:"-"`

	Resource CopySpecResource `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 (*CopySpec) DeepCopy

func (in *CopySpec) DeepCopy() *CopySpec

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

func (*CopySpec) DeepCopyInto

func (in *CopySpec) DeepCopyInto(out *CopySpec)

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

type CopySpecResource

type CopySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	DeleteAutoSnapshot *bool `json:"deleteAutoSnapshot,omitempty" tf:"delete_auto_snapshot"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Encrypted *bool `json:"encrypted,omitempty" tf:"encrypted"`
	// +optional
	Force *bool `json:"force,omitempty" tf:"force"`
	// +optional
	ImageName *string `json:"imageName,omitempty" tf:"image_name"`
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	// Deprecated
	Name           *string `json:"name,omitempty" tf:"name"`
	SourceImageID  *string `json:"sourceImageID" tf:"source_image_id"`
	SourceRegionID *string `json:"sourceRegionID" tf:"source_region_id"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*CopySpecResource) DeepCopy

func (in *CopySpecResource) DeepCopy() *CopySpecResource

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

func (*CopySpecResource) DeepCopyInto

func (in *CopySpecResource) DeepCopyInto(out *CopySpecResource)

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

type CopyStatus

type CopyStatus 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 (*CopyStatus) DeepCopy

func (in *CopyStatus) DeepCopy() *CopyStatus

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

func (*CopyStatus) DeepCopyInto

func (in *CopyStatus) DeepCopyInto(out *CopyStatus)

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

type Export

type Export struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ExportSpec   `json:"spec,omitempty"`
	Status            ExportStatus `json:"status,omitempty"`
}

func (*Export) DeepCopy

func (in *Export) DeepCopy() *Export

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

func (*Export) DeepCopyInto

func (in *Export) DeepCopyInto(out *Export)

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

func (*Export) DeepCopyObject

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

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

func (*Export) SetupWebhookWithManager

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

func (*Export) ValidateCreate

func (r *Export) ValidateCreate() error

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

func (*Export) ValidateDelete

func (r *Export) ValidateDelete() error

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

func (*Export) ValidateUpdate

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

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

type ExportList

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

ExportList is a list of Exports

func (*ExportList) DeepCopy

func (in *ExportList) DeepCopy() *ExportList

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

func (*ExportList) DeepCopyInto

func (in *ExportList) DeepCopyInto(out *ExportList)

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

func (*ExportList) DeepCopyObject

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

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

type ExportSpec

type ExportSpec struct {
	State *ExportSpecResource `json:"state,omitempty" tf:"-"`

	Resource ExportSpecResource `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 (*ExportSpec) DeepCopy

func (in *ExportSpec) DeepCopy() *ExportSpec

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

func (*ExportSpec) DeepCopyInto

func (in *ExportSpec) DeepCopyInto(out *ExportSpec)

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

type ExportSpecResource

type ExportSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	ImageID   *string `json:"imageID" tf:"image_id"`
	OssBucket *string `json:"ossBucket" tf:"oss_bucket"`
	// +optional
	OssPrefix *string `json:"ossPrefix,omitempty" tf:"oss_prefix"`
}

func (*ExportSpecResource) DeepCopy

func (in *ExportSpecResource) DeepCopy() *ExportSpecResource

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

func (*ExportSpecResource) DeepCopyInto

func (in *ExportSpecResource) DeepCopyInto(out *ExportSpecResource)

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

type ExportStatus

type ExportStatus 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 (*ExportStatus) DeepCopy

func (in *ExportStatus) DeepCopy() *ExportStatus

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

func (*ExportStatus) DeepCopyInto

func (in *ExportStatus) DeepCopyInto(out *ExportStatus)

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

type Image

type Image struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ImageSpec   `json:"spec,omitempty"`
	Status            ImageStatus `json:"status,omitempty"`
}

func (*Image) DeepCopy

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

func (*Image) DeepCopyObject

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

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

func (*Image) SetupWebhookWithManager

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

func (*Image) ValidateCreate

func (r *Image) ValidateCreate() error

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

func (*Image) ValidateDelete

func (r *Image) ValidateDelete() error

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

func (*Image) ValidateUpdate

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

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

type ImageList

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

ImageList is a list of Images

func (*ImageList) DeepCopy

func (in *ImageList) DeepCopy() *ImageList

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

func (*ImageList) DeepCopyInto

func (in *ImageList) DeepCopyInto(out *ImageList)

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

func (*ImageList) DeepCopyObject

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

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

type ImageSpec

type ImageSpec struct {
	State *ImageSpecResource `json:"state,omitempty" tf:"-"`

	Resource ImageSpecResource `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 (*ImageSpec) DeepCopy

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

type ImageSpecDiskDeviceMapping

type ImageSpecDiskDeviceMapping struct {
	// +optional
	Device *string `json:"device,omitempty" tf:"device"`
	// +optional
	DiskType *string `json:"diskType,omitempty" tf:"disk_type"`
	// +optional
	Size *int64 `json:"size,omitempty" tf:"size"`
	// +optional
	SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"`
}

func (*ImageSpecDiskDeviceMapping) DeepCopy

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

func (*ImageSpecDiskDeviceMapping) DeepCopyInto

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

type ImageSpecResource

type ImageSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Architecture *string `json:"architecture,omitempty" tf:"architecture"`
	// +optional
	DeleteAutoSnapshot *bool `json:"deleteAutoSnapshot,omitempty" tf:"delete_auto_snapshot"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DiskDeviceMapping []ImageSpecDiskDeviceMapping `json:"diskDeviceMapping,omitempty" tf:"disk_device_mapping"`
	// +optional
	Force *bool `json:"force,omitempty" tf:"force"`
	// +optional
	ImageName *string `json:"imageName,omitempty" tf:"image_name"`
	// +optional
	InstanceID *string `json:"instanceID,omitempty" tf:"instance_id"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	Platform *string `json:"platform,omitempty" tf:"platform"`
	// +optional
	ResourceGroupID *string `json:"resourceGroupID,omitempty" tf:"resource_group_id"`
	// +optional
	SnapshotID *string `json:"snapshotID,omitempty" tf:"snapshot_id"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*ImageSpecResource) DeepCopy

func (in *ImageSpecResource) DeepCopy() *ImageSpecResource

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

func (*ImageSpecResource) DeepCopyInto

func (in *ImageSpecResource) DeepCopyInto(out *ImageSpecResource)

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

type ImageStatus

type ImageStatus 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 (*ImageStatus) DeepCopy

func (in *ImageStatus) DeepCopy() *ImageStatus

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

func (*ImageStatus) DeepCopyInto

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

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

type Import

type Import struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ImportSpec   `json:"spec,omitempty"`
	Status            ImportStatus `json:"status,omitempty"`
}

func (*Import) DeepCopy

func (in *Import) DeepCopy() *Import

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

func (*Import) DeepCopyInto

func (in *Import) DeepCopyInto(out *Import)

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

func (*Import) DeepCopyObject

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

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

func (*Import) SetupWebhookWithManager

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

func (*Import) ValidateCreate

func (r *Import) ValidateCreate() error

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

func (*Import) ValidateDelete

func (r *Import) ValidateDelete() error

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

func (*Import) ValidateUpdate

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

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

type ImportList

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

ImportList is a list of Imports

func (*ImportList) DeepCopy

func (in *ImportList) DeepCopy() *ImportList

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

func (*ImportList) DeepCopyInto

func (in *ImportList) DeepCopyInto(out *ImportList)

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

func (*ImportList) DeepCopyObject

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

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

type ImportSpec

type ImportSpec struct {
	State *ImportSpecResource `json:"state,omitempty" tf:"-"`

	Resource ImportSpecResource `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 (*ImportSpec) DeepCopy

func (in *ImportSpec) DeepCopy() *ImportSpec

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

func (*ImportSpec) DeepCopyInto

func (in *ImportSpec) DeepCopyInto(out *ImportSpec)

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

type ImportSpecDiskDeviceMapping

type ImportSpecDiskDeviceMapping struct {
	// +optional
	Device *string `json:"device,omitempty" tf:"device"`
	// +optional
	DiskImageSize *int64 `json:"diskImageSize,omitempty" tf:"disk_image_size"`
	// +optional
	Format *string `json:"format,omitempty" tf:"format"`
	// +optional
	OssBucket *string `json:"ossBucket,omitempty" tf:"oss_bucket"`
	// +optional
	OssObject *string `json:"ossObject,omitempty" tf:"oss_object"`
}

func (*ImportSpecDiskDeviceMapping) DeepCopy

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

func (*ImportSpecDiskDeviceMapping) DeepCopyInto

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

type ImportSpecResource

type ImportSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Architecture *string `json:"architecture,omitempty" tf:"architecture"`
	// +optional
	Description       *string                       `json:"description,omitempty" tf:"description"`
	DiskDeviceMapping []ImportSpecDiskDeviceMapping `json:"diskDeviceMapping" tf:"disk_device_mapping"`
	// +optional
	ImageName *string `json:"imageName,omitempty" tf:"image_name"`
	// +optional
	LicenseType *string `json:"licenseType,omitempty" tf:"license_type"`
	// +optional
	OsType *string `json:"osType,omitempty" tf:"os_type"`
	// +optional
	Platform *string `json:"platform,omitempty" tf:"platform"`
}

func (*ImportSpecResource) DeepCopy

func (in *ImportSpecResource) DeepCopy() *ImportSpecResource

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

func (*ImportSpecResource) DeepCopyInto

func (in *ImportSpecResource) DeepCopyInto(out *ImportSpecResource)

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

type ImportStatus

type ImportStatus 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 (*ImportStatus) DeepCopy

func (in *ImportStatus) DeepCopy() *ImportStatus

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

func (*ImportStatus) DeepCopyInto

func (in *ImportStatus) DeepCopyInto(out *ImportStatus)

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

type SharePermission

type SharePermission struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SharePermissionSpec   `json:"spec,omitempty"`
	Status            SharePermissionStatus `json:"status,omitempty"`
}

func (*SharePermission) DeepCopy

func (in *SharePermission) DeepCopy() *SharePermission

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

func (*SharePermission) DeepCopyInto

func (in *SharePermission) DeepCopyInto(out *SharePermission)

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

func (*SharePermission) DeepCopyObject

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

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

func (*SharePermission) SetupWebhookWithManager

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

func (*SharePermission) ValidateCreate

func (r *SharePermission) ValidateCreate() error

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

func (*SharePermission) ValidateDelete

func (r *SharePermission) ValidateDelete() error

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

func (*SharePermission) ValidateUpdate

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

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

type SharePermissionList

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

SharePermissionList is a list of SharePermissions

func (*SharePermissionList) DeepCopy

func (in *SharePermissionList) DeepCopy() *SharePermissionList

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

func (*SharePermissionList) DeepCopyInto

func (in *SharePermissionList) DeepCopyInto(out *SharePermissionList)

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

func (*SharePermissionList) DeepCopyObject

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

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

type SharePermissionSpec

type SharePermissionSpec struct {
	State *SharePermissionSpecResource `json:"state,omitempty" tf:"-"`

	Resource SharePermissionSpecResource `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 (*SharePermissionSpec) DeepCopy

func (in *SharePermissionSpec) DeepCopy() *SharePermissionSpec

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

func (*SharePermissionSpec) DeepCopyInto

func (in *SharePermissionSpec) DeepCopyInto(out *SharePermissionSpec)

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

type SharePermissionSpecResource

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

	AccountID *string `json:"accountID" tf:"account_id"`
	ImageID   *string `json:"imageID" tf:"image_id"`
}

func (*SharePermissionSpecResource) DeepCopy

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

func (*SharePermissionSpecResource) DeepCopyInto

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

type SharePermissionStatus

type SharePermissionStatus 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 (*SharePermissionStatus) DeepCopy

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

func (*SharePermissionStatus) DeepCopyInto

func (in *SharePermissionStatus) DeepCopyInto(out *SharePermissionStatus)

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