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: 16 Imported by: 0

Documentation

Overview

+groupName=glaciervault.aws.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: glaciervault.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 GlacierVault

type GlacierVault struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GlacierVaultSpec   `json:"spec,omitempty"`
	Status            GlacierVaultStatus `json:"status,omitempty"`
}

func (*GlacierVault) DeepCopy

func (in *GlacierVault) DeepCopy() *GlacierVault

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

func (*GlacierVault) DeepCopyInto

func (in *GlacierVault) DeepCopyInto(out *GlacierVault)

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

func (*GlacierVault) DeepCopyObject

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

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

func (*GlacierVault) SetupWebhookWithManager

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

func (*GlacierVault) ValidateCreate

func (r *GlacierVault) ValidateCreate() error

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

func (*GlacierVault) ValidateDelete

func (r *GlacierVault) ValidateDelete() error

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

func (*GlacierVault) ValidateUpdate

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

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

type GlacierVaultList

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

GlacierVaultList is a list of GlacierVaults

func (*GlacierVaultList) DeepCopy

func (in *GlacierVaultList) DeepCopy() *GlacierVaultList

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

func (*GlacierVaultList) DeepCopyInto

func (in *GlacierVaultList) DeepCopyInto(out *GlacierVaultList)

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

func (*GlacierVaultList) DeepCopyObject

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

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

type GlacierVaultSpec

type GlacierVaultSpec struct {
	State *GlacierVaultSpecResource `json:"state,omitempty" tf:"-"`

	Resource GlacierVaultSpecResource `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 (*GlacierVaultSpec) DeepCopy

func (in *GlacierVaultSpec) DeepCopy() *GlacierVaultSpec

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

func (*GlacierVaultSpec) DeepCopyInto

func (in *GlacierVaultSpec) DeepCopyInto(out *GlacierVaultSpec)

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

type GlacierVaultSpecNotification

type GlacierVaultSpecNotification struct {
	Events   []string `json:"events" tf:"events"`
	SnsTopic *string  `json:"snsTopic" tf:"sns_topic"`
}

func (*GlacierVaultSpecNotification) DeepCopy

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

func (*GlacierVaultSpecNotification) DeepCopyInto

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

type GlacierVaultSpecNotificationCodec

type GlacierVaultSpecNotificationCodec struct {
}

+k8s:deepcopy-gen=false

func (GlacierVaultSpecNotificationCodec) Decode

func (GlacierVaultSpecNotificationCodec) Encode

func (GlacierVaultSpecNotificationCodec) IsEmpty

type GlacierVaultSpecResource

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

	// +optional
	AccessPolicy *string `json:"accessPolicy,omitempty" tf:"access_policy"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	Name     *string `json:"name" tf:"name"`
	// +optional
	Notification *GlacierVaultSpecNotification `json:"notification,omitempty" tf:"notification"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*GlacierVaultSpecResource) DeepCopy

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

func (*GlacierVaultSpecResource) DeepCopyInto

func (in *GlacierVaultSpecResource) DeepCopyInto(out *GlacierVaultSpecResource)

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

type GlacierVaultStatus

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

func (in *GlacierVaultStatus) DeepCopy() *GlacierVaultStatus

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

func (*GlacierVaultStatus) DeepCopyInto

func (in *GlacierVaultStatus) DeepCopyInto(out *GlacierVaultStatus)

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

type Lock

type Lock struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LockSpec   `json:"spec,omitempty"`
	Status            LockStatus `json:"status,omitempty"`
}

func (*Lock) DeepCopy

func (in *Lock) DeepCopy() *Lock

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

func (*Lock) DeepCopyInto

func (in *Lock) DeepCopyInto(out *Lock)

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

func (*Lock) DeepCopyObject

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

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

func (*Lock) SetupWebhookWithManager

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

func (*Lock) ValidateCreate

func (r *Lock) ValidateCreate() error

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

func (*Lock) ValidateDelete

func (r *Lock) ValidateDelete() error

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

func (*Lock) ValidateUpdate

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

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

type LockList

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

LockList is a list of Locks

func (*LockList) DeepCopy

func (in *LockList) DeepCopy() *LockList

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

func (*LockList) DeepCopyInto

func (in *LockList) DeepCopyInto(out *LockList)

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

func (*LockList) DeepCopyObject

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

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

type LockSpec

type LockSpec struct {
	State *LockSpecResource `json:"state,omitempty" tf:"-"`

	Resource LockSpecResource `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 (*LockSpec) DeepCopy

func (in *LockSpec) DeepCopy() *LockSpec

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

func (*LockSpec) DeepCopyInto

func (in *LockSpec) DeepCopyInto(out *LockSpec)

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

type LockSpecResource

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

	CompleteLock *bool `json:"completeLock" tf:"complete_lock"`
	// +optional
	IgnoreDeletionError *bool   `json:"ignoreDeletionError,omitempty" tf:"ignore_deletion_error"`
	Policy              *string `json:"policy" tf:"policy"`
	VaultName           *string `json:"vaultName" tf:"vault_name"`
}

func (*LockSpecResource) DeepCopy

func (in *LockSpecResource) DeepCopy() *LockSpecResource

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

func (*LockSpecResource) DeepCopyInto

func (in *LockSpecResource) DeepCopyInto(out *LockSpecResource)

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

type LockStatus

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

func (in *LockStatus) DeepCopy() *LockStatus

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

func (*LockStatus) DeepCopyInto

func (in *LockStatus) DeepCopyInto(out *LockStatus)

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