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=ram.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: ram.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 PrincipalAssociation

type PrincipalAssociation struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PrincipalAssociationSpec   `json:"spec,omitempty"`
	Status            PrincipalAssociationStatus `json:"status,omitempty"`
}

func (*PrincipalAssociation) DeepCopy

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

func (*PrincipalAssociation) DeepCopyInto

func (in *PrincipalAssociation) DeepCopyInto(out *PrincipalAssociation)

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

func (*PrincipalAssociation) DeepCopyObject

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

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

func (*PrincipalAssociation) SetupWebhookWithManager

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

func (*PrincipalAssociation) ValidateCreate

func (r *PrincipalAssociation) ValidateCreate() error

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

func (*PrincipalAssociation) ValidateDelete

func (r *PrincipalAssociation) ValidateDelete() error

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

func (*PrincipalAssociation) ValidateUpdate

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

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

type PrincipalAssociationList

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

PrincipalAssociationList is a list of PrincipalAssociations

func (*PrincipalAssociationList) DeepCopy

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

func (*PrincipalAssociationList) DeepCopyInto

func (in *PrincipalAssociationList) DeepCopyInto(out *PrincipalAssociationList)

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

func (*PrincipalAssociationList) DeepCopyObject

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

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

type PrincipalAssociationSpec

type PrincipalAssociationSpec struct {
	State *PrincipalAssociationSpecResource `json:"state,omitempty" tf:"-"`

	Resource PrincipalAssociationSpecResource `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 (*PrincipalAssociationSpec) DeepCopy

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

func (*PrincipalAssociationSpec) DeepCopyInto

func (in *PrincipalAssociationSpec) DeepCopyInto(out *PrincipalAssociationSpec)

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

type PrincipalAssociationSpecResource

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

	Principal        *string `json:"principal" tf:"principal"`
	ResourceShareArn *string `json:"resourceShareArn" tf:"resource_share_arn"`
}

func (*PrincipalAssociationSpecResource) DeepCopy

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

func (*PrincipalAssociationSpecResource) DeepCopyInto

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

type PrincipalAssociationStatus

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

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

func (*PrincipalAssociationStatus) DeepCopyInto

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

type ResourceAssociation

type ResourceAssociation struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceAssociationSpec   `json:"spec,omitempty"`
	Status            ResourceAssociationStatus `json:"status,omitempty"`
}

func (*ResourceAssociation) DeepCopy

func (in *ResourceAssociation) DeepCopy() *ResourceAssociation

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

func (*ResourceAssociation) DeepCopyInto

func (in *ResourceAssociation) DeepCopyInto(out *ResourceAssociation)

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

func (*ResourceAssociation) DeepCopyObject

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

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

func (*ResourceAssociation) SetupWebhookWithManager

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

func (*ResourceAssociation) ValidateCreate

func (r *ResourceAssociation) ValidateCreate() error

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

func (*ResourceAssociation) ValidateDelete

func (r *ResourceAssociation) ValidateDelete() error

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

func (*ResourceAssociation) ValidateUpdate

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

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

type ResourceAssociationList

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

ResourceAssociationList is a list of ResourceAssociations

func (*ResourceAssociationList) DeepCopy

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

func (*ResourceAssociationList) DeepCopyInto

func (in *ResourceAssociationList) DeepCopyInto(out *ResourceAssociationList)

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

func (*ResourceAssociationList) DeepCopyObject

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

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

type ResourceAssociationSpec

type ResourceAssociationSpec struct {
	State *ResourceAssociationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ResourceAssociationSpecResource `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 (*ResourceAssociationSpec) DeepCopy

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

func (*ResourceAssociationSpec) DeepCopyInto

func (in *ResourceAssociationSpec) DeepCopyInto(out *ResourceAssociationSpec)

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

type ResourceAssociationSpecResource

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

	ResourceArn      *string `json:"resourceArn" tf:"resource_arn"`
	ResourceShareArn *string `json:"resourceShareArn" tf:"resource_share_arn"`
}

func (*ResourceAssociationSpecResource) DeepCopy

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

func (*ResourceAssociationSpecResource) DeepCopyInto

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

type ResourceAssociationStatus

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

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

func (*ResourceAssociationStatus) DeepCopyInto

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

type ResourceShare

type ResourceShare struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceShareSpec   `json:"spec,omitempty"`
	Status            ResourceShareStatus `json:"status,omitempty"`
}

func (*ResourceShare) DeepCopy

func (in *ResourceShare) DeepCopy() *ResourceShare

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

func (*ResourceShare) DeepCopyInto

func (in *ResourceShare) DeepCopyInto(out *ResourceShare)

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

func (*ResourceShare) DeepCopyObject

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

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

func (*ResourceShare) SetupWebhookWithManager

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

func (*ResourceShare) ValidateCreate

func (r *ResourceShare) ValidateCreate() error

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

func (*ResourceShare) ValidateDelete

func (r *ResourceShare) ValidateDelete() error

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

func (*ResourceShare) ValidateUpdate

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

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

type ResourceShareAccepter

type ResourceShareAccepter struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceShareAccepterSpec   `json:"spec,omitempty"`
	Status            ResourceShareAccepterStatus `json:"status,omitempty"`
}

func (*ResourceShareAccepter) DeepCopy

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

func (*ResourceShareAccepter) DeepCopyInto

func (in *ResourceShareAccepter) DeepCopyInto(out *ResourceShareAccepter)

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

func (*ResourceShareAccepter) DeepCopyObject

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

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

func (*ResourceShareAccepter) SetupWebhookWithManager

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

func (*ResourceShareAccepter) ValidateCreate

func (r *ResourceShareAccepter) ValidateCreate() error

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

func (*ResourceShareAccepter) ValidateDelete

func (r *ResourceShareAccepter) ValidateDelete() error

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

func (*ResourceShareAccepter) ValidateUpdate

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

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

type ResourceShareAccepterList

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

ResourceShareAccepterList is a list of ResourceShareAccepters

func (*ResourceShareAccepterList) DeepCopy

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

func (*ResourceShareAccepterList) DeepCopyInto

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

func (*ResourceShareAccepterList) DeepCopyObject

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

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

type ResourceShareAccepterSpec

type ResourceShareAccepterSpec struct {
	State *ResourceShareAccepterSpecResource `json:"state,omitempty" tf:"-"`

	Resource ResourceShareAccepterSpecResource `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 (*ResourceShareAccepterSpec) DeepCopy

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

func (*ResourceShareAccepterSpec) DeepCopyInto

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

type ResourceShareAccepterSpecResource

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

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

	// +optional
	InvitationArn *string `json:"invitationArn,omitempty" tf:"invitation_arn"`
	// +optional
	ReceiverAccountID *string `json:"receiverAccountID,omitempty" tf:"receiver_account_id"`
	// +optional
	Resources []string `json:"resources,omitempty" tf:"resources"`
	// +optional
	SenderAccountID *string `json:"senderAccountID,omitempty" tf:"sender_account_id"`
	ShareArn        *string `json:"shareArn" tf:"share_arn"`
	// +optional
	ShareID *string `json:"shareID,omitempty" tf:"share_id"`
	// +optional
	ShareName *string `json:"shareName,omitempty" tf:"share_name"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*ResourceShareAccepterSpecResource) DeepCopy

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

func (*ResourceShareAccepterSpecResource) DeepCopyInto

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

type ResourceShareAccepterStatus

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

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

func (*ResourceShareAccepterStatus) DeepCopyInto

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

type ResourceShareList

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

ResourceShareList is a list of ResourceShares

func (*ResourceShareList) DeepCopy

func (in *ResourceShareList) DeepCopy() *ResourceShareList

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

func (*ResourceShareList) DeepCopyInto

func (in *ResourceShareList) DeepCopyInto(out *ResourceShareList)

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

func (*ResourceShareList) DeepCopyObject

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

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

type ResourceShareSpec

type ResourceShareSpec struct {
	State *ResourceShareSpecResource `json:"state,omitempty" tf:"-"`

	Resource ResourceShareSpecResource `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 (*ResourceShareSpec) DeepCopy

func (in *ResourceShareSpec) DeepCopy() *ResourceShareSpec

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

func (*ResourceShareSpec) DeepCopyInto

func (in *ResourceShareSpec) DeepCopyInto(out *ResourceShareSpec)

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

type ResourceShareSpecResource

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

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

	// +optional
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty" tf:"allow_external_principals"`
	// +optional
	Arn  *string `json:"arn,omitempty" tf:"arn"`
	Name *string `json:"name" tf:"name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*ResourceShareSpecResource) DeepCopy

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

func (*ResourceShareSpecResource) DeepCopyInto

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

type ResourceShareStatus

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

func (in *ResourceShareStatus) DeepCopy() *ResourceShareStatus

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

func (*ResourceShareStatus) DeepCopyInto

func (in *ResourceShareStatus) DeepCopyInto(out *ResourceShareStatus)

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