Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=terraformcontroller.cattle.io
+k8s:deepcopy-gen=package +groupName=terraformcontroller.cattle.io
+k8s:deepcopy-gen=package +groupName=terraformcontroller.cattle.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Execution
- type ExecutionList
- type ExecutionRun
- type ExecutionRunList
- type ExecutionRunSpec
- type ExecutionRunStatus
- type ExecutionSpec
- type ExecutionStatus
- type GitLocation
- type Module
- type ModuleContent
- type ModuleList
- type ModuleSpec
- type ModuleStatus
- type Variables
Constants ¶
This section is empty.
Variables ¶
var ( ModuleConditionGitUpdated = condition.Cond("GitUpdated") ExecutionConditionDestroyJobDeployed = condition.Cond("DestroyJobDeployed") ExecutionConditionJobDeployed = condition.Cond("JobDeployed") ExecutionConditionMissingInfo = condition.Cond("MissingInfo") ExecutionConditionWatchRunning = condition.Cond("WatchRunning") ExecutionRunConditionPlanned = condition.Cond("Planned") ExecutionRunConditionApplied = condition.Cond("Applied") )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: terraformcontroller.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExecutionSpec `json:"spec"` Status ExecutionStatus `json:"status"` }
func NewExecution ¶
func (*Execution) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Execution.
func (*Execution) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Execution) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExecutionList ¶
type ExecutionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Execution `json:"items"` }
ExecutionList is a list of Execution resources
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 ExecutionRun ¶
type ExecutionRun struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ExecutionRunSpec `json:"spec"` Status ExecutionRunStatus `json:"status"` }
func NewExecutionRun ¶
func NewExecutionRun(namespace, name string, obj ExecutionRun) *ExecutionRun
func (*ExecutionRun) DeepCopy ¶
func (in *ExecutionRun) DeepCopy() *ExecutionRun
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionRun.
func (*ExecutionRun) DeepCopyInto ¶
func (in *ExecutionRun) DeepCopyInto(out *ExecutionRun)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExecutionRun) DeepCopyObject ¶
func (in *ExecutionRun) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExecutionRunList ¶
type ExecutionRunList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ExecutionRun `json:"items"` }
ExecutionRunList is a list of ExecutionRun resources
func (*ExecutionRunList) DeepCopy ¶
func (in *ExecutionRunList) DeepCopy() *ExecutionRunList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionRunList.
func (*ExecutionRunList) DeepCopyInto ¶
func (in *ExecutionRunList) DeepCopyInto(out *ExecutionRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExecutionRunList) DeepCopyObject ¶
func (in *ExecutionRunList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ExecutionRunSpec ¶
type ExecutionRunSpec struct { AutoConfirm bool `json:"autoConfirm,omitempty"` Content ModuleContent `json:"content,omitempty"` ContentHash string `json:"contentHash,omitempty"` Data map[string]string `json:"data,omitempty"` ExecutionName string `json:"executionName,omitempty"` ExecutionVersion int32 `json:"executionVersion,omitempty"` // Secrets and config maps referenced in the Execution spec will be combined into this secret SecretName string `json:"secretName,omitempty"` }
func (*ExecutionRunSpec) DeepCopy ¶
func (in *ExecutionRunSpec) DeepCopy() *ExecutionRunSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionRunSpec.
func (*ExecutionRunSpec) DeepCopyInto ¶
func (in *ExecutionRunSpec) DeepCopyInto(out *ExecutionRunSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutionRunStatus ¶
type ExecutionRunStatus struct { Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` JobName string `json:"jobName,omitempty"` PlanOutput string `json:"planOutput,omitempty"` PlanConfirmed bool `json:"planConfirmed,omitempty"` ApplyOutput string `json:"applyOutput,omitempty"` Outputs string `json:"outputs,omitempty"` }
func (*ExecutionRunStatus) DeepCopy ¶
func (in *ExecutionRunStatus) DeepCopy() *ExecutionRunStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecutionRunStatus.
func (*ExecutionRunStatus) DeepCopyInto ¶
func (in *ExecutionRunStatus) DeepCopyInto(out *ExecutionRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExecutionSpec ¶
type ExecutionSpec struct { Image string `json:"image,omitempty"` Variables Variables `json:"variables,omitempty"` ModuleName string `json:"moduleName,omitempty"` // Data is dataName mapped to another executionRun name // so terraform variable name that should be an output from the run Data map[string]string `json:"data,omitempty"` AutoConfirm bool `json:"autoConfirm,omitempty"` DestroyOnDelete bool `json:"destroyOnDelete,omitempty"` Version int32 `json:"version,omitempty"` }
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 ExecutionStatus ¶
type ExecutionStatus struct { Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` ExecutionRunName string `json:"executionRunName,omitempty"` ExecutionPlanName string `json:"executionPlanName,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 GitLocation ¶
type GitLocation struct { URL string `json:"url,omitempty"` Branch string `json:"branch,omitempty"` Tag string `json:"tag,omitempty"` Commit string `json:"commit,omitempty"` SecretName string `json:"secretName,omitempty"` IntervalSeconds int `json:"intervalSeconds,omitempty"` }
func (*GitLocation) DeepCopy ¶
func (in *GitLocation) DeepCopy() *GitLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLocation.
func (*GitLocation) DeepCopyInto ¶
func (in *GitLocation) DeepCopyInto(out *GitLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Module ¶
type Module struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ModuleSpec `json:"spec"` Status ModuleStatus `json:"status"` }
func (*Module) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Module) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleContent ¶
type ModuleContent struct { Content map[string]string `json:"content,omitempty"` Git GitLocation `json:"git,omitempty"` }
func (*ModuleContent) DeepCopy ¶
func (in *ModuleContent) DeepCopy() *ModuleContent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleContent.
func (*ModuleContent) DeepCopyInto ¶
func (in *ModuleContent) DeepCopyInto(out *ModuleContent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleList ¶
type ModuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Module `json:"items"` }
ModuleList is a list of Module resources
func (*ModuleList) DeepCopy ¶
func (in *ModuleList) DeepCopy() *ModuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleList.
func (*ModuleList) DeepCopyInto ¶
func (in *ModuleList) DeepCopyInto(out *ModuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleList) DeepCopyObject ¶
func (in *ModuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleSpec ¶
type ModuleSpec struct {
ModuleContent
}
func (*ModuleSpec) DeepCopy ¶
func (in *ModuleSpec) DeepCopy() *ModuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleSpec.
func (*ModuleSpec) DeepCopyInto ¶
func (in *ModuleSpec) DeepCopyInto(out *ModuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleStatus ¶
type ModuleStatus struct { CheckTime metav1.Time `json:"time,omitempty"` GitChecked *GitLocation `json:"gitChecked,omitempty"` Content ModuleContent `json:"content,omitempty"` ContentHash string `json:"contentHash,omitempty"` Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` }
func (*ModuleStatus) DeepCopy ¶
func (in *ModuleStatus) DeepCopy() *ModuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleStatus.
func (*ModuleStatus) DeepCopyInto ¶
func (in *ModuleStatus) DeepCopyInto(out *ModuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Variables ¶
type Variables struct { EnvConfigName []string `json:"envConfigNames,omitempty"` EnvSecretNames []string `json:"envSecretNames,omitempty"` ConfigNames []string `json:"configNames,omitempty"` SecretNames []string `json:"secretNames,omitempty"` }
func (*Variables) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variables.
func (*Variables) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.