Documentation
¶
Overview ¶
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Package v1alpha1 contains API Schema definitions for the stok v1alpha1 API group +kubebuilder:object:generate=true +groupName=stok.goalspike.com
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Code generated by go generate; DO NOT EDIT.
Index ¶
- Constants
- Variables
- func BackendConfig(cfg map[string]string) string
- func BackendConfigMapName(workspace string) string
- func BackendEmptyConfig(backendType string) string
- type Apply
- type ApplyList
- type BackendSpec
- type CommandPhase
- type CommandSpec
- func (in *CommandSpec) DeepCopy() *CommandSpec
- func (in *CommandSpec) DeepCopyInto(out *CommandSpec)
- func (c *CommandSpec) GetArgs() []string
- func (c *CommandSpec) GetConfigMap() string
- func (c *CommandSpec) GetConfigMapKey() string
- func (c *CommandSpec) GetDebug() bool
- func (c *CommandSpec) GetTimeoutClient() string
- func (c *CommandSpec) GetTimeoutQueue() string
- func (c *CommandSpec) GetWorkspace() string
- func (c *CommandSpec) SetArgs(args []string)
- func (c *CommandSpec) SetConfigMap(name string)
- func (c *CommandSpec) SetConfigMapKey(key string)
- func (c *CommandSpec) SetDebug(debug bool)
- func (c *CommandSpec) SetTimeoutClient(timeout string)
- func (c *CommandSpec) SetTimeoutQueue(timeout string)
- func (c *CommandSpec) SetWorkspace(ws string)
- type CommandStatus
- func (in *CommandStatus) DeepCopy() *CommandStatus
- func (in *CommandStatus) DeepCopyInto(out *CommandStatus)
- func (c *CommandStatus) GetConditions() *status.Conditions
- func (c *CommandStatus) GetPhase() CommandPhase
- func (c *CommandStatus) SetConditions(conditions status.Conditions)
- func (c *CommandStatus) SetPhase(phase CommandPhase)
- type Destroy
- type DestroyList
- type ForceUnlock
- type ForceUnlockList
- type Get
- type GetList
- type Import
- type ImportList
- type Init
- type InitList
- type Output
- type OutputList
- type Plan
- type PlanList
- type Refresh
- type RefreshList
- type Shell
- type ShellList
- type Show
- type ShowList
- type State
- type StateList
- type Taint
- type TaintList
- type Untaint
- type UntaintList
- type Validate
- type ValidateList
- type Workspace
- func (in *Workspace) DeepCopy() *Workspace
- func (in *Workspace) DeepCopyInto(out *Workspace)
- func (in *Workspace) DeepCopyObject() runtime.Object
- func (ws *Workspace) GetDebug() bool
- func (ws *Workspace) GetTimeoutClient() string
- func (ws *Workspace) PodName() string
- func (ws *Workspace) SetDebug(debug bool)
- func (ws *Workspace) SetTimeoutClient(timeout string)
- type WorkspaceCacheSpec
- type WorkspaceList
- type WorkspaceSpec
- type WorkspaceStatus
Constants ¶
const ( CommandPhasePending CommandPhase = "pending" CommandPhaseQueued CommandPhase = "queued" CommandPhaseProvisioning CommandPhase = "provisioning" CommandPhaseSync CommandPhase = "synchronising" CommandPhaseRunning CommandPhase = "running" CommandPhaseCompleted CommandPhase = "completed" ConditionCompleted status.ConditionType = "Completed" ReasonPodCompleted status.ConditionReason = "PodCompleted" WaitAnnotationKey = "stok.goalspike.com/wait" CommandDefaultConfigMapKey = "config.tar.gz" )
const ( ConditionHealthy status.ConditionType = "Healthy" ReasonAllResourcesFound status.ConditionReason = "AllResourcesFound" ReasonMissingResource status.ConditionReason = "MissingResource" WorkspaceDefaultCacheSize = "1Gi" WorkspaceDefaultSecretName = "stok" WorkspaceDefaultServiceAccountName = "stok" BackendTypeFilename = "backend.tf" BackendConfigFilename = "backend.ini" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "stok.goalspike.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func BackendConfig ¶ added in v0.2.6
Return a terraform backend configuration file (similar to an INI file)
func BackendConfigMapName ¶ added in v0.2.6
func BackendEmptyConfig ¶ added in v0.2.6
Types ¶
type Apply ¶
type Apply struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Apply is the Schema for the applys API
func (*Apply) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Apply.
func (*Apply) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Apply) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplyList ¶
type ApplyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Apply `json:"items"`
}
ApplyList contains a list of Apply
func (*ApplyList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyList.
func (*ApplyList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplyList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackendSpec ¶ added in v0.2.6
type BackendSpec struct {
// +kubebuilder:validation:Enum=local;remote;artifactory;azurerm;consul;cos;etcd;etcdv3;gcs;http;manta;oss;pg;s3;swift
Type string `json:"type,omitempty"`
Config map[string]string `json:"config,omitempty"`
}
func (*BackendSpec) DeepCopy ¶ added in v0.2.6
func (in *BackendSpec) DeepCopy() *BackendSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendSpec.
func (*BackendSpec) DeepCopyInto ¶ added in v0.2.6
func (in *BackendSpec) DeepCopyInto(out *BackendSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommandPhase ¶ added in v0.2.9
type CommandPhase string
type CommandSpec ¶
type CommandSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
// +genclient
Args []string `json:"args,omitempty"`
TimeoutClient string `json:"timeoutClient"`
TimeoutQueue string `json:"timeoutQueue"`
Debug bool `json:"debug,omitempty"`
ConfigMap string `json:"configMap"`
ConfigMapKey string `json:"configMapKey"`
Workspace string `json:"workspace"`
}
CommandSpec defines the desired state of Command
func (*CommandSpec) DeepCopy ¶
func (in *CommandSpec) DeepCopy() *CommandSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandSpec.
func (*CommandSpec) DeepCopyInto ¶
func (in *CommandSpec) DeepCopyInto(out *CommandSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandSpec) GetConfigMap ¶
func (c *CommandSpec) GetConfigMap() string
Get/Set ConfigMap functions
func (*CommandSpec) GetConfigMapKey ¶
func (c *CommandSpec) GetConfigMapKey() string
Get/Set ConfigMapKey functions
func (*CommandSpec) GetTimeoutClient ¶
func (c *CommandSpec) GetTimeoutClient() string
Get/Set TimeoutClient functions
func (*CommandSpec) GetTimeoutQueue ¶
func (c *CommandSpec) GetTimeoutQueue() string
Get/Set TimeoutQueue functions
func (*CommandSpec) GetWorkspace ¶ added in v0.2.7
func (c *CommandSpec) GetWorkspace() string
Get/Set Workspace functions
func (*CommandSpec) SetArgs ¶
func (c *CommandSpec) SetArgs(args []string)
func (*CommandSpec) SetConfigMap ¶
func (c *CommandSpec) SetConfigMap(name string)
func (*CommandSpec) SetConfigMapKey ¶
func (c *CommandSpec) SetConfigMapKey(key string)
func (*CommandSpec) SetDebug ¶
func (c *CommandSpec) SetDebug(debug bool)
func (*CommandSpec) SetTimeoutClient ¶
func (c *CommandSpec) SetTimeoutClient(timeout string)
func (*CommandSpec) SetTimeoutQueue ¶
func (c *CommandSpec) SetTimeoutQueue(timeout string)
func (*CommandSpec) SetWorkspace ¶ added in v0.2.7
func (c *CommandSpec) SetWorkspace(ws string)
type CommandStatus ¶
type CommandStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
// +genclient
Conditions status.Conditions `json:"conditions,omitempty"`
Phase CommandPhase `json:"phase"`
}
CommandStatus defines the observed state of Command
func (*CommandStatus) DeepCopy ¶
func (in *CommandStatus) DeepCopy() *CommandStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandStatus.
func (*CommandStatus) DeepCopyInto ¶
func (in *CommandStatus) DeepCopyInto(out *CommandStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandStatus) GetConditions ¶
func (c *CommandStatus) GetConditions() *status.Conditions
func (*CommandStatus) GetPhase ¶ added in v0.2.9
func (c *CommandStatus) GetPhase() CommandPhase
Get/Set Phase functions
func (*CommandStatus) SetConditions ¶
func (c *CommandStatus) SetConditions(conditions status.Conditions)
func (*CommandStatus) SetPhase ¶ added in v0.2.9
func (c *CommandStatus) SetPhase(phase CommandPhase)
type Destroy ¶
type Destroy struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Destroy is the Schema for the destroys API
func (*Destroy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destroy.
func (*Destroy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Destroy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DestroyList ¶
type DestroyList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Destroy `json:"items"`
}
DestroyList contains a list of Destroy
func (*DestroyList) DeepCopy ¶
func (in *DestroyList) DeepCopy() *DestroyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestroyList.
func (*DestroyList) DeepCopyInto ¶
func (in *DestroyList) DeepCopyInto(out *DestroyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DestroyList) DeepCopyObject ¶
func (in *DestroyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ForceUnlock ¶
type ForceUnlock struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
ForceUnlock is the Schema for the forceunlocks API
func (*ForceUnlock) DeepCopy ¶
func (in *ForceUnlock) DeepCopy() *ForceUnlock
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForceUnlock.
func (*ForceUnlock) DeepCopyInto ¶
func (in *ForceUnlock) DeepCopyInto(out *ForceUnlock)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ForceUnlock) DeepCopyObject ¶
func (in *ForceUnlock) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ForceUnlockList ¶
type ForceUnlockList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ForceUnlock `json:"items"`
}
ForceUnlockList contains a list of ForceUnlock
func (*ForceUnlockList) DeepCopy ¶
func (in *ForceUnlockList) DeepCopy() *ForceUnlockList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForceUnlockList.
func (*ForceUnlockList) DeepCopyInto ¶
func (in *ForceUnlockList) DeepCopyInto(out *ForceUnlockList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ForceUnlockList) DeepCopyObject ¶
func (in *ForceUnlockList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Get ¶
type Get struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Get is the Schema for the gets API
func (*Get) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Get.
func (*Get) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Get) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GetList ¶
type GetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Get `json:"items"`
}
GetList contains a list of Get
func (*GetList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetList.
func (*GetList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GetList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Import ¶
type Import struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Import is the Schema for the imports API
func (*Import) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Import.
func (*Import) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Import) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImportList ¶
type ImportList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Import `json:"items"`
}
ImportList contains a list of Import
func (*ImportList) DeepCopy ¶
func (in *ImportList) DeepCopy() *ImportList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportList.
func (*ImportList) DeepCopyInto ¶
func (in *ImportList) DeepCopyInto(out *ImportList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImportList) DeepCopyObject ¶
func (in *ImportList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Init ¶
type Init struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Init is the Schema for the inits API
func (*Init) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Init.
func (*Init) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Init) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InitList ¶
type InitList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Init `json:"items"`
}
InitList contains a list of Init
func (*InitList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitList.
func (*InitList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InitList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Output ¶
type Output struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Output is the Schema for the outputs API
func (*Output) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Output.
func (*Output) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Output) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OutputList ¶
type OutputList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Output `json:"items"`
}
OutputList contains a list of Output
func (*OutputList) DeepCopy ¶
func (in *OutputList) DeepCopy() *OutputList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputList.
func (*OutputList) DeepCopyInto ¶
func (in *OutputList) DeepCopyInto(out *OutputList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OutputList) DeepCopyObject ¶
func (in *OutputList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Plan ¶
type Plan struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Plan is the Schema for the plans API
func (*Plan) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plan.
func (*Plan) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plan) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlanList ¶
type PlanList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Plan `json:"items"`
}
PlanList contains a list of Plan
func (*PlanList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlanList.
func (*PlanList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlanList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Refresh ¶
type Refresh struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Refresh is the Schema for the refreshs API
func (*Refresh) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Refresh.
func (*Refresh) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Refresh) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RefreshList ¶
type RefreshList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Refresh `json:"items"`
}
RefreshList contains a list of Refresh
func (*RefreshList) DeepCopy ¶
func (in *RefreshList) DeepCopy() *RefreshList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RefreshList.
func (*RefreshList) DeepCopyInto ¶
func (in *RefreshList) DeepCopyInto(out *RefreshList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RefreshList) DeepCopyObject ¶
func (in *RefreshList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Shell ¶
type Shell struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Shell is the Schema for the shells API
func (*Shell) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Shell.
func (*Shell) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Shell) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShellList ¶
type ShellList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Shell `json:"items"`
}
ShellList contains a list of Shell
func (*ShellList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShellList.
func (*ShellList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShellList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Show ¶
type Show struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Show is the Schema for the shows API
func (*Show) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Show.
func (*Show) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Show) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShowList ¶
type ShowList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Show `json:"items"`
}
ShowList contains a list of Show
func (*ShowList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShowList.
func (*ShowList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShowList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type State ¶
type State struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
State is the Schema for the states API
func (*State) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new State.
func (*State) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*State) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StateList ¶
type StateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []State `json:"items"`
}
StateList contains a list of State
func (*StateList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StateList.
func (*StateList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StateList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Taint ¶
type Taint struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Taint is the Schema for the taints API
func (*Taint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Taint.
func (*Taint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Taint) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaintList ¶
type TaintList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Taint `json:"items"`
}
TaintList contains a list of Taint
func (*TaintList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaintList.
func (*TaintList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaintList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Untaint ¶
type Untaint struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Untaint is the Schema for the untaints API
func (*Untaint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Untaint.
func (*Untaint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Untaint) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UntaintList ¶
type UntaintList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Untaint `json:"items"`
}
UntaintList contains a list of Untaint
func (*UntaintList) DeepCopy ¶
func (in *UntaintList) DeepCopy() *UntaintList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UntaintList.
func (*UntaintList) DeepCopyInto ¶
func (in *UntaintList) DeepCopyInto(out *UntaintList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UntaintList) DeepCopyObject ¶
func (in *UntaintList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Validate ¶
type Validate struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
CommandSpec `json:"spec,omitempty"`
CommandStatus `json:"status,omitempty"`
}
Validate is the Schema for the validates API
func (*Validate) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validate.
func (*Validate) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Validate) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ValidateList ¶
type ValidateList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Validate `json:"items"`
}
ValidateList contains a list of Validate
func (*ValidateList) DeepCopy ¶
func (in *ValidateList) DeepCopy() *ValidateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidateList.
func (*ValidateList) DeepCopyInto ¶
func (in *ValidateList) DeepCopyInto(out *ValidateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValidateList) DeepCopyObject ¶
func (in *ValidateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Workspace ¶
type Workspace struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WorkspaceSpec `json:"spec,omitempty"`
Status WorkspaceStatus `json:"status,omitempty"`
}
Workspace is the Schema for the workspaces API +kubebuilder:subresource:status +kubebuilder:resource:path=workspaces,scope=Namespaced +kubebuilder:printcolumn:name="Queue",type="string",JSONPath=".status.queue",description="The workspace command queue" +genclient
func (*Workspace) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workspace.
func (*Workspace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Workspace) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Workspace) GetTimeoutClient ¶ added in v0.2.6
Get/Set TimeoutQueue functions
func (*Workspace) SetTimeoutClient ¶ added in v0.2.6
type WorkspaceCacheSpec ¶
type WorkspaceCacheSpec struct {
StorageClass string `json:"storageClass,omitempty"`
Size string `json:"size,omitempty"`
}
WorkspaceSpec defines the desired state of Workspace's cache storage
func (*WorkspaceCacheSpec) DeepCopy ¶
func (in *WorkspaceCacheSpec) DeepCopy() *WorkspaceCacheSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceCacheSpec.
func (*WorkspaceCacheSpec) DeepCopyInto ¶
func (in *WorkspaceCacheSpec) DeepCopyInto(out *WorkspaceCacheSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceList ¶
type WorkspaceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Workspace `json:"items"`
}
WorkspaceList contains a list of Workspace
func (*WorkspaceList) DeepCopy ¶
func (in *WorkspaceList) DeepCopy() *WorkspaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceList.
func (*WorkspaceList) DeepCopyInto ¶
func (in *WorkspaceList) DeepCopyInto(out *WorkspaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WorkspaceList) DeepCopyObject ¶
func (in *WorkspaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WorkspaceSpec ¶
type WorkspaceSpec struct {
SecretName string `json:"secretName,omitempty"`
ServiceAccountName string `json:"serviceAccountName,omitempty"`
Cache WorkspaceCacheSpec `json:"cache,omitempty"`
Backend BackendSpec `json:"backend"`
TimeoutClient string `json:"timeoutClient"`
Debug bool `json:"debug,omitempty"`
}
WorkspaceSpec defines the desired state of Workspace
func (*WorkspaceSpec) DeepCopy ¶
func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceSpec.
func (*WorkspaceSpec) DeepCopyInto ¶
func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceStatus ¶
type WorkspaceStatus struct {
Queue []string `json:"queue"`
Conditions status.Conditions `json:"conditions,omitempty"`
}
WorkspaceStatus defines the observed state of Workspace
func (*WorkspaceStatus) DeepCopy ¶
func (in *WorkspaceStatus) DeepCopy() *WorkspaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStatus.
func (*WorkspaceStatus) DeepCopyInto ¶
func (in *WorkspaceStatus) DeepCopyInto(out *WorkspaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- apply_types.go
- command_types.go
- destroy_types.go
- force_unlock_types.go
- get_types.go
- groupversion_info.go
- import_types.go
- init_types.go
- output_types.go
- plan_types.go
- refresh_types.go
- shell_types.go
- show_types.go
- state_types.go
- taint_types.go
- untaint_types.go
- validate_types.go
- workspace_types.go
- zz_generated.deepcopy.go