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=oos.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: oos.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 Execution

type Execution struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ExecutionSpec   `json:"spec,omitempty"`
	Status            ExecutionStatus `json:"status,omitempty"`
}

func (*Execution) DeepCopy

func (in *Execution) DeepCopy() *Execution

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

func (*Execution) DeepCopyInto

func (in *Execution) DeepCopyInto(out *Execution)

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

func (*Execution) DeepCopyObject

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

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

func (*Execution) SetupWebhookWithManager

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

func (*Execution) ValidateCreate

func (r *Execution) ValidateCreate() error

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

func (*Execution) ValidateDelete

func (r *Execution) ValidateDelete() error

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

func (*Execution) ValidateUpdate

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

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

type ExecutionList

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

ExecutionList is a list of Executions

func (*ExecutionList) DeepCopy

func (in *ExecutionList) DeepCopy() *ExecutionList

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

func (*ExecutionList) DeepCopyInto

func (in *ExecutionList) DeepCopyInto(out *ExecutionList)

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

func (*ExecutionList) DeepCopyObject

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

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

type ExecutionSpec

type ExecutionSpec struct {
	State *ExecutionSpecResource `json:"state,omitempty" tf:"-"`

	Resource ExecutionSpecResource `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 (*ExecutionSpec) DeepCopy

func (in *ExecutionSpec) DeepCopy() *ExecutionSpec

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

func (*ExecutionSpec) DeepCopyInto

func (in *ExecutionSpec) DeepCopyInto(out *ExecutionSpec)

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

type ExecutionSpecResource

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

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

	// +optional
	Counters *string `json:"counters,omitempty" tf:"counters"`
	// +optional
	CreateDate *string `json:"createDate,omitempty" tf:"create_date"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	EndDate *string `json:"endDate,omitempty" tf:"end_date"`
	// +optional
	ExecutedBy *string `json:"executedBy,omitempty" tf:"executed_by"`
	// +optional
	IsParent *bool `json:"isParent,omitempty" tf:"is_parent"`
	// +optional
	LoopMode *string `json:"loopMode,omitempty" tf:"loop_mode"`
	// +optional
	Mode *string `json:"mode,omitempty" tf:"mode"`
	// +optional
	Outputs *string `json:"outputs,omitempty" tf:"outputs"`
	// +optional
	Parameters *string `json:"parameters,omitempty" tf:"parameters"`
	// +optional
	ParentExecutionID *string `json:"parentExecutionID,omitempty" tf:"parent_execution_id"`
	// +optional
	RamRole *string `json:"ramRole,omitempty" tf:"ram_role"`
	// +optional
	SafetyCheck *string `json:"safetyCheck,omitempty" tf:"safety_check"`
	// +optional
	StartDate *string `json:"startDate,omitempty" tf:"start_date"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	StatusMessage *string `json:"statusMessage,omitempty" tf:"status_message"`
	// +optional
	TemplateContent *string `json:"templateContent,omitempty" tf:"template_content"`
	// +optional
	TemplateID   *string `json:"templateID,omitempty" tf:"template_id"`
	TemplateName *string `json:"templateName" tf:"template_name"`
	// +optional
	TemplateVersion *string `json:"templateVersion,omitempty" tf:"template_version"`
	// +optional
	UpdateDate *string `json:"updateDate,omitempty" tf:"update_date"`
}

func (*ExecutionSpecResource) DeepCopy

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

func (*ExecutionSpecResource) DeepCopyInto

func (in *ExecutionSpecResource) DeepCopyInto(out *ExecutionSpecResource)

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

type ExecutionStatus

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

func (in *ExecutionStatus) DeepCopy() *ExecutionStatus

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

func (*ExecutionStatus) DeepCopyInto

func (in *ExecutionStatus) DeepCopyInto(out *ExecutionStatus)

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
	AutoDeleteExecutions *bool   `json:"autoDeleteExecutions,omitempty" tf:"auto_delete_executions"`
	Content              *string `json:"content" tf:"content"`
	// +optional
	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"`
	// +optional
	CreatedDate *string `json:"createdDate,omitempty" tf:"created_date"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	HasTrigger *bool `json:"hasTrigger,omitempty" tf:"has_trigger"`
	// +optional
	ShareType *string `json:"shareType,omitempty" tf:"share_type"`
	// +optional
	Tags map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TemplateFormat *string `json:"templateFormat,omitempty" tf:"template_format"`
	// +optional
	TemplateID   *string `json:"templateID,omitempty" tf:"template_id"`
	TemplateName *string `json:"templateName" tf:"template_name"`
	// +optional
	TemplateType *string `json:"templateType,omitempty" tf:"template_type"`
	// +optional
	TemplateVersion *string `json:"templateVersion,omitempty" tf:"template_version"`
	// +optional
	UpdatedBy *string `json:"updatedBy,omitempty" tf:"updated_by"`
	// +optional
	UpdatedDate *string `json:"updatedDate,omitempty" tf:"updated_date"`
	// +optional
	VersionName *string `json:"versionName,omitempty" tf:"version_name"`
}

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