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=recovery.azurerm.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: recovery.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 ServicesVault

type ServicesVault struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServicesVaultSpec   `json:"spec,omitempty"`
	Status            ServicesVaultStatus `json:"status,omitempty"`
}

func (*ServicesVault) DeepCopy

func (in *ServicesVault) DeepCopy() *ServicesVault

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

func (*ServicesVault) DeepCopyInto

func (in *ServicesVault) DeepCopyInto(out *ServicesVault)

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

func (*ServicesVault) DeepCopyObject

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

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

func (*ServicesVault) SetupWebhookWithManager

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

func (*ServicesVault) ValidateCreate

func (r *ServicesVault) ValidateCreate() error

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

func (*ServicesVault) ValidateDelete

func (r *ServicesVault) ValidateDelete() error

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

func (*ServicesVault) ValidateUpdate

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

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

type ServicesVaultList

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

ServicesVaultList is a list of ServicesVaults

func (*ServicesVaultList) DeepCopy

func (in *ServicesVaultList) DeepCopy() *ServicesVaultList

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

func (*ServicesVaultList) DeepCopyInto

func (in *ServicesVaultList) DeepCopyInto(out *ServicesVaultList)

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

func (*ServicesVaultList) DeepCopyObject

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

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

type ServicesVaultSpec

type ServicesVaultSpec struct {
	State *ServicesVaultSpecResource `json:"state,omitempty" tf:"-"`

	Resource ServicesVaultSpecResource `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 (*ServicesVaultSpec) DeepCopy

func (in *ServicesVaultSpec) DeepCopy() *ServicesVaultSpec

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

func (*ServicesVaultSpec) DeepCopyInto

func (in *ServicesVaultSpec) DeepCopyInto(out *ServicesVaultSpec)

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

type ServicesVaultSpecEncryption added in v0.5.0

type ServicesVaultSpecEncryption struct {
	InfrastructureEncryptionEnabled *bool   `json:"infrastructureEncryptionEnabled" tf:"infrastructure_encryption_enabled"`
	KeyID                           *string `json:"keyID" tf:"key_id"`
	// +optional
	UseSystemAssignedIdentity *bool `json:"useSystemAssignedIdentity,omitempty" tf:"use_system_assigned_identity"`
}

func (*ServicesVaultSpecEncryption) DeepCopy added in v0.5.0

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

func (*ServicesVaultSpecEncryption) DeepCopyInto added in v0.5.0

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

type ServicesVaultSpecEncryptionCodec added in v0.5.0

type ServicesVaultSpecEncryptionCodec struct {
}

+k8s:deepcopy-gen=false

func (ServicesVaultSpecEncryptionCodec) Decode added in v0.5.0

func (ServicesVaultSpecEncryptionCodec) Encode added in v0.5.0

func (ServicesVaultSpecEncryptionCodec) IsEmpty added in v0.5.0

type ServicesVaultSpecIdentity

type ServicesVaultSpecIdentity struct {
	// +optional
	PrincipalID *string `json:"principalID,omitempty" tf:"principal_id"`
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	Type     *string `json:"type" tf:"type"`
}

func (*ServicesVaultSpecIdentity) DeepCopy

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

func (*ServicesVaultSpecIdentity) DeepCopyInto

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

type ServicesVaultSpecIdentityCodec

type ServicesVaultSpecIdentityCodec struct {
}

+k8s:deepcopy-gen=false

func (ServicesVaultSpecIdentityCodec) Decode

func (ServicesVaultSpecIdentityCodec) Encode

func (ServicesVaultSpecIdentityCodec) IsEmpty

type ServicesVaultSpecResource

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

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

	// +optional
	Encryption *ServicesVaultSpecEncryption `json:"encryption,omitempty" tf:"encryption"`
	// +optional
	Identity          *ServicesVaultSpecIdentity `json:"identity,omitempty" tf:"identity"`
	Location          *string                    `json:"location" tf:"location"`
	Name              *string                    `json:"name" tf:"name"`
	ResourceGroupName *string                    `json:"resourceGroupName" tf:"resource_group_name"`
	Sku               *string                    `json:"sku" tf:"sku"`
	// +optional
	SoftDeleteEnabled *bool `json:"softDeleteEnabled,omitempty" tf:"soft_delete_enabled"`
	// +optional
	StorageModeType *string `json:"storageModeType,omitempty" tf:"storage_mode_type"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
}

func (*ServicesVaultSpecResource) DeepCopy

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

func (*ServicesVaultSpecResource) DeepCopyInto

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

type ServicesVaultStatus

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

func (in *ServicesVaultStatus) DeepCopy() *ServicesVaultStatus

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

func (*ServicesVaultStatus) DeepCopyInto

func (in *ServicesVaultStatus) DeepCopyInto(out *ServicesVaultStatus)

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

Source Files

  • codec.go
  • doc.go
  • register.go
  • services_vault_types.go
  • services_vault_webhook.go
  • zz_generated.deepcopy.go

Jump to

Keyboard shortcuts

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