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=cloudformationtype.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: cloudformationtype.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 CloudformationType

type CloudformationType struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CloudformationTypeSpec   `json:"spec,omitempty"`
	Status            CloudformationTypeStatus `json:"status,omitempty"`
}

func (*CloudformationType) DeepCopy

func (in *CloudformationType) DeepCopy() *CloudformationType

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

func (*CloudformationType) DeepCopyInto

func (in *CloudformationType) DeepCopyInto(out *CloudformationType)

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

func (*CloudformationType) DeepCopyObject

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

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

func (*CloudformationType) SetupWebhookWithManager

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

func (*CloudformationType) ValidateCreate

func (r *CloudformationType) ValidateCreate() error

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

func (*CloudformationType) ValidateDelete

func (r *CloudformationType) ValidateDelete() error

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

func (*CloudformationType) ValidateUpdate

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

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

type CloudformationTypeList

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

CloudformationTypeList is a list of CloudformationTypes

func (*CloudformationTypeList) DeepCopy

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

func (*CloudformationTypeList) DeepCopyInto

func (in *CloudformationTypeList) DeepCopyInto(out *CloudformationTypeList)

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

func (*CloudformationTypeList) DeepCopyObject

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

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

type CloudformationTypeSpec

type CloudformationTypeSpec struct {
	State *CloudformationTypeSpecResource `json:"state,omitempty" tf:"-"`

	Resource CloudformationTypeSpecResource `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 (*CloudformationTypeSpec) DeepCopy

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

func (*CloudformationTypeSpec) DeepCopyInto

func (in *CloudformationTypeSpec) DeepCopyInto(out *CloudformationTypeSpec)

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

type CloudformationTypeSpecLoggingConfig

type CloudformationTypeSpecLoggingConfig struct {
	LogGroupName *string `json:"logGroupName" tf:"log_group_name"`
	LogRoleArn   *string `json:"logRoleArn" tf:"log_role_arn"`
}

func (*CloudformationTypeSpecLoggingConfig) DeepCopy

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

func (*CloudformationTypeSpecLoggingConfig) DeepCopyInto

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

type CloudformationTypeSpecLoggingConfigCodec

type CloudformationTypeSpecLoggingConfigCodec struct {
}

+k8s:deepcopy-gen=false

func (CloudformationTypeSpecLoggingConfigCodec) Decode

func (CloudformationTypeSpecLoggingConfigCodec) Encode

func (CloudformationTypeSpecLoggingConfigCodec) IsEmpty

type CloudformationTypeSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	DefaultVersionID *string `json:"defaultVersionID,omitempty" tf:"default_version_id"`
	// +optional
	DeprecatedStatus *string `json:"deprecatedStatus,omitempty" tf:"deprecated_status"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DocumentationURL *string `json:"documentationURL,omitempty" tf:"documentation_url"`
	// +optional
	ExecutionRoleArn *string `json:"executionRoleArn,omitempty" tf:"execution_role_arn"`
	// +optional
	IsDefaultVersion *bool `json:"isDefaultVersion,omitempty" tf:"is_default_version"`
	// +optional
	LoggingConfig *CloudformationTypeSpecLoggingConfig `json:"loggingConfig,omitempty" tf:"logging_config"`
	// +optional
	ProvisioningType *string `json:"provisioningType,omitempty" tf:"provisioning_type"`
	// +optional
	Schema               *string `json:"schema,omitempty" tf:"schema"`
	SchemaHandlerPackage *string `json:"schemaHandlerPackage" tf:"schema_handler_package"`
	// +optional
	SourceURL *string `json:"sourceURL,omitempty" tf:"source_url"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
	// +optional
	TypeArn  *string `json:"typeArn,omitempty" tf:"type_arn"`
	TypeName *string `json:"typeName" tf:"type_name"`
	// +optional
	VersionID *string `json:"versionID,omitempty" tf:"version_id"`
	// +optional
	Visibility *string `json:"visibility,omitempty" tf:"visibility"`
}

func (*CloudformationTypeSpecResource) DeepCopy

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

func (*CloudformationTypeSpecResource) DeepCopyInto

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

type CloudformationTypeStatus

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

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

func (*CloudformationTypeStatus) DeepCopyInto

func (in *CloudformationTypeStatus) DeepCopyInto(out *CloudformationTypeStatus)

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