v1alpha1

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=cloud9.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: cloud9.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 EnvironmentEc2

type EnvironmentEc2 struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EnvironmentEc2Spec   `json:"spec,omitempty"`
	Status            EnvironmentEc2Status `json:"status,omitempty"`
}

func (*EnvironmentEc2) DeepCopy

func (in *EnvironmentEc2) DeepCopy() *EnvironmentEc2

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

func (*EnvironmentEc2) DeepCopyInto

func (in *EnvironmentEc2) DeepCopyInto(out *EnvironmentEc2)

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

func (*EnvironmentEc2) DeepCopyObject

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

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

func (*EnvironmentEc2) SetupWebhookWithManager

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

func (*EnvironmentEc2) ValidateCreate

func (r *EnvironmentEc2) ValidateCreate() error

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

func (*EnvironmentEc2) ValidateDelete

func (r *EnvironmentEc2) ValidateDelete() error

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

func (*EnvironmentEc2) ValidateUpdate

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

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

type EnvironmentEc2List

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

EnvironmentEc2List is a list of EnvironmentEc2s

func (*EnvironmentEc2List) DeepCopy

func (in *EnvironmentEc2List) DeepCopy() *EnvironmentEc2List

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

func (*EnvironmentEc2List) DeepCopyInto

func (in *EnvironmentEc2List) DeepCopyInto(out *EnvironmentEc2List)

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

func (*EnvironmentEc2List) DeepCopyObject

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

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

type EnvironmentEc2Spec

type EnvironmentEc2Spec struct {
	State *EnvironmentEc2SpecResource `json:"state,omitempty" tf:"-"`

	Resource EnvironmentEc2SpecResource `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 (*EnvironmentEc2Spec) DeepCopy

func (in *EnvironmentEc2Spec) DeepCopy() *EnvironmentEc2Spec

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

func (*EnvironmentEc2Spec) DeepCopyInto

func (in *EnvironmentEc2Spec) DeepCopyInto(out *EnvironmentEc2Spec)

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

type EnvironmentEc2SpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	AutomaticStopTimeMinutes *int64 `json:"automaticStopTimeMinutes,omitempty" tf:"automatic_stop_time_minutes"`
	// +optional
	Description  *string `json:"description,omitempty" tf:"description"`
	InstanceType *string `json:"instanceType" tf:"instance_type"`
	Name         *string `json:"name" tf:"name"`
	// +optional
	OwnerArn *string `json:"ownerArn,omitempty" tf:"owner_arn"`
	// +optional
	SubnetID *string `json:"subnetID,omitempty" tf:"subnet_id"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*EnvironmentEc2SpecResource) DeepCopy

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

func (*EnvironmentEc2SpecResource) DeepCopyInto

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

type EnvironmentEc2Status

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

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

func (*EnvironmentEc2Status) DeepCopyInto

func (in *EnvironmentEc2Status) DeepCopyInto(out *EnvironmentEc2Status)

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