Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:openapi-gen=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new State.
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" )
Click to show internal directories.
Click to hide internal directories.