v1alpha1

package
v0.0.0-...-69a2d5e Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 843

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:openapi-gen=true

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Phase

type Phase string
const (
	// used for Kubeform Resources that are currently running
	PhaseRunning Phase = "Running"
	// used for Kubeform Resources that are currently applying
	PhaseApplying Phase = "Applying"
	// used for Kubeform Resources that are currently initializing
	PhaseInitializing Phase = "Initializing"
	// used for Kubeform Resources that are Failed
	PhaseFailed Phase = "Failed"
	// used for Kubeform Resources that are Deleting
	PhaseDeleting Phase = "Deleting"
)

type ResourceTimeout

type ResourceTimeout struct {
	Create  *time.Duration `json:"create,omitempty" tf:"create"`
	Read    *time.Duration `json:"read,omitempty" tf:"read"`
	Update  *time.Duration `json:"update,omitempty" tf:"update"`
	Delete  *time.Duration `json:"delete,omitempty" tf:"delete"`
	Default *time.Duration `json:"default,omitempty" tf:"default"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces

func (*ResourceTimeout) DeepCopy

func (in *ResourceTimeout) DeepCopy() *ResourceTimeout

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

func (*ResourceTimeout) DeepCopyInto

func (in *ResourceTimeout) DeepCopyInto(out *ResourceTimeout)

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

type State

type State struct {
	Version          int64  `json:"version"`
	TerraformVersion string `json:"terraform_version"`
	Serial           uint64 `json:"serial"`
	Lineage          string `json:"lineage"`
}

+k8s:openapi-gen=true +k8s:deepcopy-gen:interfaces

func (*State) DeepCopy

func (in *State) DeepCopy() *State

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

func (*State) DeepCopyInto

func (in *State) DeepCopyInto(out *State)

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

type TerminationPolicy

type TerminationPolicy string

+kubebuilder:validation:Enum=Delete;DoNotTerminate

const (
	TerminationPolicyDelete         TerminationPolicy = "Delete"
	TerminationPolicyDoNotTerminate TerminationPolicy = "DoNotTerminate"
)

type UpdatePolicy

type UpdatePolicy string

+kubebuilder:validation:Enum=Destroy;DoNotDestroy

const (
	UpdatePolicyDestroy      UpdatePolicy = "Destroy"
	UpdatePolicyDoNotDestroy UpdatePolicy = "DoNotDestroy"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL