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: 0

Documentation

Overview

+groupName=qldb.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: qldb.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 Ledger

type Ledger struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LedgerSpec   `json:"spec,omitempty"`
	Status            LedgerStatus `json:"status,omitempty"`
}

func (*Ledger) DeepCopy

func (in *Ledger) DeepCopy() *Ledger

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

func (*Ledger) DeepCopyInto

func (in *Ledger) DeepCopyInto(out *Ledger)

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

func (*Ledger) DeepCopyObject

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

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

func (*Ledger) SetupWebhookWithManager

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

func (*Ledger) ValidateCreate

func (r *Ledger) ValidateCreate() error

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

func (*Ledger) ValidateDelete

func (r *Ledger) ValidateDelete() error

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

func (*Ledger) ValidateUpdate

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

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

type LedgerList

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

LedgerList is a list of Ledgers

func (*LedgerList) DeepCopy

func (in *LedgerList) DeepCopy() *LedgerList

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

func (*LedgerList) DeepCopyInto

func (in *LedgerList) DeepCopyInto(out *LedgerList)

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

func (*LedgerList) DeepCopyObject

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

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

type LedgerSpec

type LedgerSpec struct {
	State *LedgerSpecResource `json:"state,omitempty" tf:"-"`

	Resource LedgerSpecResource `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 (*LedgerSpec) DeepCopy

func (in *LedgerSpec) DeepCopy() *LedgerSpec

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

func (*LedgerSpec) DeepCopyInto

func (in *LedgerSpec) DeepCopyInto(out *LedgerSpec)

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

type LedgerSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	DeletionProtection *bool `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	Name            *string `json:"name,omitempty" tf:"name"`
	PermissionsMode *string `json:"permissionsMode" tf:"permissions_mode"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*LedgerSpecResource) DeepCopy

func (in *LedgerSpecResource) DeepCopy() *LedgerSpecResource

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

func (*LedgerSpecResource) DeepCopyInto

func (in *LedgerSpecResource) DeepCopyInto(out *LedgerSpecResource)

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

type LedgerStatus

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

func (in *LedgerStatus) DeepCopy() *LedgerStatus

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

func (*LedgerStatus) DeepCopyInto

func (in *LedgerStatus) DeepCopyInto(out *LedgerStatus)

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