v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Overview

+groupName=ros.alicloud.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: ros.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 ChangeSet

type ChangeSet struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ChangeSetSpec   `json:"spec,omitempty"`
	Status            ChangeSetStatus `json:"status,omitempty"`
}

func (*ChangeSet) DeepCopy

func (in *ChangeSet) DeepCopy() *ChangeSet

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

func (*ChangeSet) DeepCopyInto

func (in *ChangeSet) DeepCopyInto(out *ChangeSet)

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

func (*ChangeSet) DeepCopyObject

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

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

func (*ChangeSet) SetupWebhookWithManager

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

func (*ChangeSet) ValidateCreate

func (r *ChangeSet) ValidateCreate() error

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

func (*ChangeSet) ValidateDelete

func (r *ChangeSet) ValidateDelete() error

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

func (*ChangeSet) ValidateUpdate

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

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

type ChangeSetList

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

ChangeSetList is a list of ChangeSets

func (*ChangeSetList) DeepCopy

func (in *ChangeSetList) DeepCopy() *ChangeSetList

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

func (*ChangeSetList) DeepCopyInto

func (in *ChangeSetList) DeepCopyInto(out *ChangeSetList)

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

func (*ChangeSetList) DeepCopyObject

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

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

type ChangeSetSpec

type ChangeSetSpec struct {
	State *ChangeSetSpecResource `json:"state,omitempty" tf:"-"`

	Resource ChangeSetSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ChangeSetSpec) DeepCopy

func (in *ChangeSetSpec) DeepCopy() *ChangeSetSpec

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

func (*ChangeSetSpec) DeepCopyInto

func (in *ChangeSetSpec) DeepCopyInto(out *ChangeSetSpec)

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

type ChangeSetSpecParameters

type ChangeSetSpecParameters struct {
	ParameterKey   *string `json:"parameterKey" tf:"parameter_key"`
	ParameterValue *string `json:"parameterValue" tf:"parameter_value"`
}

func (*ChangeSetSpecParameters) DeepCopy

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

func (*ChangeSetSpecParameters) DeepCopyInto

func (in *ChangeSetSpecParameters) DeepCopyInto(out *ChangeSetSpecParameters)

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

type ChangeSetSpecResource

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

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

	ChangeSetName *string `json:"changeSetName" tf:"change_set_name"`
	// +optional
	ChangeSetType *string `json:"changeSetType,omitempty" tf:"change_set_type"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DisableRollback *bool `json:"disableRollback,omitempty" tf:"disable_rollback"`
	// +optional
	NotificationUrls []string `json:"notificationUrls,omitempty" tf:"notification_urls"`
	// +optional
	Parameters []ChangeSetSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	RamRoleName *string `json:"ramRoleName,omitempty" tf:"ram_role_name"`
	// +optional
	ReplacementOption *string `json:"replacementOption,omitempty" tf:"replacement_option"`
	// +optional
	StackID *string `json:"stackID,omitempty" tf:"stack_id"`
	// +optional
	StackName *string `json:"stackName,omitempty" tf:"stack_name"`
	// +optional
	StackPolicyBody *string `json:"stackPolicyBody,omitempty" tf:"stack_policy_body"`
	// +optional
	StackPolicyDuringUpdateBody *string `json:"stackPolicyDuringUpdateBody,omitempty" tf:"stack_policy_during_update_body"`
	// +optional
	StackPolicyDuringUpdateURL *string `json:"stackPolicyDuringUpdateURL,omitempty" tf:"stack_policy_during_update_url"`
	// +optional
	StackPolicyURL *string `json:"stackPolicyURL,omitempty" tf:"stack_policy_url"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body"`
	// +optional
	TemplateURL *string `json:"templateURL,omitempty" tf:"template_url"`
	// +optional
	TimeoutInMinutes *int64 `json:"timeoutInMinutes,omitempty" tf:"timeout_in_minutes"`
	// +optional
	UsePreviousParameters *bool `json:"usePreviousParameters,omitempty" tf:"use_previous_parameters"`
}

func (*ChangeSetSpecResource) DeepCopy

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

func (*ChangeSetSpecResource) DeepCopyInto

func (in *ChangeSetSpecResource) DeepCopyInto(out *ChangeSetSpecResource)

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

type ChangeSetStatus

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

func (in *ChangeSetStatus) DeepCopy() *ChangeSetStatus

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

func (*ChangeSetStatus) DeepCopyInto

func (in *ChangeSetStatus) DeepCopyInto(out *ChangeSetStatus)

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

type Stack

type Stack struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackSpec   `json:"spec,omitempty"`
	Status            StackStatus `json:"status,omitempty"`
}

func (*Stack) DeepCopy

func (in *Stack) DeepCopy() *Stack

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

func (*Stack) DeepCopyInto

func (in *Stack) DeepCopyInto(out *Stack)

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

func (*Stack) DeepCopyObject

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

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

func (*Stack) SetupWebhookWithManager

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

func (*Stack) ValidateCreate

func (r *Stack) ValidateCreate() error

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

func (*Stack) ValidateDelete

func (r *Stack) ValidateDelete() error

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

func (*Stack) ValidateUpdate

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

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

type StackGroup

type StackGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackGroupSpec   `json:"spec,omitempty"`
	Status            StackGroupStatus `json:"status,omitempty"`
}

func (*StackGroup) DeepCopy

func (in *StackGroup) DeepCopy() *StackGroup

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

func (*StackGroup) DeepCopyInto

func (in *StackGroup) DeepCopyInto(out *StackGroup)

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

func (*StackGroup) DeepCopyObject

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

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

func (*StackGroup) SetupWebhookWithManager

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

func (*StackGroup) ValidateCreate

func (r *StackGroup) ValidateCreate() error

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

func (*StackGroup) ValidateDelete

func (r *StackGroup) ValidateDelete() error

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

func (*StackGroup) ValidateUpdate

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

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

type StackGroupList

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

StackGroupList is a list of StackGroups

func (*StackGroupList) DeepCopy

func (in *StackGroupList) DeepCopy() *StackGroupList

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

func (*StackGroupList) DeepCopyInto

func (in *StackGroupList) DeepCopyInto(out *StackGroupList)

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

func (*StackGroupList) DeepCopyObject

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

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

type StackGroupSpec

type StackGroupSpec struct {
	State *StackGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource StackGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*StackGroupSpec) DeepCopy

func (in *StackGroupSpec) DeepCopy() *StackGroupSpec

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

func (*StackGroupSpec) DeepCopyInto

func (in *StackGroupSpec) DeepCopyInto(out *StackGroupSpec)

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

type StackGroupSpecParameters

type StackGroupSpecParameters struct {
	// +optional
	ParameterKey *string `json:"parameterKey,omitempty" tf:"parameter_key"`
	// +optional
	ParameterValue *string `json:"parameterValue,omitempty" tf:"parameter_value"`
}

func (*StackGroupSpecParameters) DeepCopy

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

func (*StackGroupSpecParameters) DeepCopyInto

func (in *StackGroupSpecParameters) DeepCopyInto(out *StackGroupSpecParameters)

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

type StackGroupSpecResource

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

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

	// +optional
	AccountIDS *string `json:"accountIDS,omitempty" tf:"account_ids"`
	// +optional
	AdministrationRoleName *string `json:"administrationRoleName,omitempty" tf:"administration_role_name"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	ExecutionRoleName *string `json:"executionRoleName,omitempty" tf:"execution_role_name"`
	// +optional
	OperationDescription *string `json:"operationDescription,omitempty" tf:"operation_description"`
	// +optional
	OperationPreferences *string `json:"operationPreferences,omitempty" tf:"operation_preferences"`
	// +optional
	Parameters []StackGroupSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	RegionIDS *string `json:"regionIDS,omitempty" tf:"region_ids"`
	// +optional
	StackGroupID   *string `json:"stackGroupID,omitempty" tf:"stack_group_id"`
	StackGroupName *string `json:"stackGroupName" tf:"stack_group_name"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body"`
	// +optional
	TemplateURL *string `json:"templateURL,omitempty" tf:"template_url"`
	// +optional
	TemplateVersion *string `json:"templateVersion,omitempty" tf:"template_version"`
}

func (*StackGroupSpecResource) DeepCopy

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

func (*StackGroupSpecResource) DeepCopyInto

func (in *StackGroupSpecResource) DeepCopyInto(out *StackGroupSpecResource)

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

type StackGroupStatus

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

func (in *StackGroupStatus) DeepCopy() *StackGroupStatus

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

func (*StackGroupStatus) DeepCopyInto

func (in *StackGroupStatus) DeepCopyInto(out *StackGroupStatus)

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

type StackList

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

StackList is a list of Stacks

func (*StackList) DeepCopy

func (in *StackList) DeepCopy() *StackList

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

func (*StackList) DeepCopyInto

func (in *StackList) DeepCopyInto(out *StackList)

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

func (*StackList) DeepCopyObject

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

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

type StackSpec

type StackSpec struct {
	State *StackSpecResource `json:"state,omitempty" tf:"-"`

	Resource StackSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*StackSpec) DeepCopy

func (in *StackSpec) DeepCopy() *StackSpec

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

func (*StackSpec) DeepCopyInto

func (in *StackSpec) DeepCopyInto(out *StackSpec)

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

type StackSpecParameters

type StackSpecParameters struct {
	// +optional
	ParameterKey   *string `json:"parameterKey,omitempty" tf:"parameter_key"`
	ParameterValue *string `json:"parameterValue" tf:"parameter_value"`
}

func (*StackSpecParameters) DeepCopy

func (in *StackSpecParameters) DeepCopy() *StackSpecParameters

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

func (*StackSpecParameters) DeepCopyInto

func (in *StackSpecParameters) DeepCopyInto(out *StackSpecParameters)

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

type StackSpecResource

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

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

	// +optional
	CreateOption *string `json:"createOption,omitempty" tf:"create_option"`
	// +optional
	DeletionProtection *string `json:"deletionProtection,omitempty" tf:"deletion_protection"`
	// +optional
	DisableRollback *bool `json:"disableRollback,omitempty" tf:"disable_rollback"`
	// +optional
	NotificationUrls []string `json:"notificationUrls,omitempty" tf:"notification_urls"`
	// +optional
	Parameters []StackSpecParameters `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	RamRoleName *string `json:"ramRoleName,omitempty" tf:"ram_role_name"`
	// +optional
	ReplacementOption *string `json:"replacementOption,omitempty" tf:"replacement_option"`
	// +optional
	RetainAllResources *bool `json:"retainAllResources,omitempty" tf:"retain_all_resources"`
	// +optional
	RetainResources []string `json:"retainResources,omitempty" tf:"retain_resources"`
	StackName       *string  `json:"stackName" tf:"stack_name"`
	// +optional
	StackPolicyBody *string `json:"stackPolicyBody,omitempty" tf:"stack_policy_body"`
	// +optional
	StackPolicyDuringUpdateBody *string `json:"stackPolicyDuringUpdateBody,omitempty" tf:"stack_policy_during_update_body"`
	// +optional
	StackPolicyDuringUpdateURL *string `json:"stackPolicyDuringUpdateURL,omitempty" tf:"stack_policy_during_update_url"`
	// +optional
	StackPolicyURL *string `json:"stackPolicyURL,omitempty" tf:"stack_policy_url"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body"`
	// +optional
	TemplateURL *string `json:"templateURL,omitempty" tf:"template_url"`
	// +optional
	TemplateVersion *string `json:"templateVersion,omitempty" tf:"template_version"`
	// +optional
	TimeoutInMinutes *int64 `json:"timeoutInMinutes,omitempty" tf:"timeout_in_minutes"`
	// +optional
	UsePreviousParameters *bool `json:"usePreviousParameters,omitempty" tf:"use_previous_parameters"`
}

func (*StackSpecResource) DeepCopy

func (in *StackSpecResource) DeepCopy() *StackSpecResource

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

func (*StackSpecResource) DeepCopyInto

func (in *StackSpecResource) DeepCopyInto(out *StackSpecResource)

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

type StackStatus

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

func (in *StackStatus) DeepCopy() *StackStatus

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

func (*StackStatus) DeepCopyInto

func (in *StackStatus) DeepCopyInto(out *StackStatus)

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

type Template

type Template struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TemplateSpec   `json:"spec,omitempty"`
	Status            TemplateStatus `json:"status,omitempty"`
}

func (*Template) DeepCopy

func (in *Template) DeepCopy() *Template

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

func (*Template) DeepCopyInto

func (in *Template) DeepCopyInto(out *Template)

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

func (*Template) DeepCopyObject

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

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

func (*Template) SetupWebhookWithManager

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

func (*Template) ValidateCreate

func (r *Template) ValidateCreate() error

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

func (*Template) ValidateDelete

func (r *Template) ValidateDelete() error

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

func (*Template) ValidateUpdate

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

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

type TemplateList

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

TemplateList is a list of Templates

func (*TemplateList) DeepCopy

func (in *TemplateList) DeepCopy() *TemplateList

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

func (*TemplateList) DeepCopyInto

func (in *TemplateList) DeepCopyInto(out *TemplateList)

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

func (*TemplateList) DeepCopyObject

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

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

type TemplateSpec

type TemplateSpec struct {
	State *TemplateSpecResource `json:"state,omitempty" tf:"-"`

	Resource TemplateSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

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

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

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

type TemplateSpecResource

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

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TemplateBody *string `json:"templateBody,omitempty" tf:"template_body"`
	TemplateName *string `json:"templateName" tf:"template_name"`
	// +optional
	TemplateURL *string `json:"templateURL,omitempty" tf:"template_url"`
}

func (*TemplateSpecResource) DeepCopy

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

func (*TemplateSpecResource) DeepCopyInto

func (in *TemplateSpecResource) DeepCopyInto(out *TemplateSpecResource)

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

type TemplateStatus

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

func (in *TemplateStatus) DeepCopy() *TemplateStatus

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

func (*TemplateStatus) DeepCopyInto

func (in *TemplateStatus) DeepCopyInto(out *TemplateStatus)

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