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
- type Apply
- type ApplyList
- 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) 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)
- type CommandStatus
- 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
- type WorkspaceCacheSpec
- type WorkspaceList
- type WorkspaceSpec
- type WorkspaceStatus
Constants ¶
const ( ConditionCompleted status.ConditionType = "Completed" ConditionClientReady status.ConditionType = "ClientReady" ConditionAttachable status.ConditionType = "PodAttachable" ReasonWorkspaceUnspecified status.ConditionReason = "WorkspaceUnspecified" ReasonWorkspaceNotFound status.ConditionReason = "WorkspaceNotFound" ReasonUnscheduled status.ConditionReason = "Unscheduled" ReasonQueued status.ConditionReason = "InWorkspaceQueue" ReasonPodRunningAndReady status.ConditionReason = "PodRunningAndReady" ReasonClientAttached status.ConditionReason = "ClientAttached" ReasonPodCompleted status.ConditionReason = "PodCompleted" CommandWaitAnnotationKey = "stok.goalspike.com/wait" CommandDefaultConfigMapKey = "config.tar.gz" // ConfigMap/etcd only supports data payload of up to 1MB, which limits the size of // tf config that can be uploaded (after compression). // thttps://github.com/kubernetes/kubernetes/issues/19781 MaxConfigSize = 1024 * 1024 )
const ( ConditionHealthy status.ConditionType = "Healthy" ReasonAllResourcesFound status.ConditionReason = "AllResourcesFound" ReasonMissingResource status.ConditionReason = "MissingResource" WorkspaceDefaultCacheSize = "1Gi" )
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 ¶
This section is empty.
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 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"`
}
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) 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)
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"`
}
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) SetConditions ¶
func (c *CommandStatus) SetConditions(conditions status.Conditions)
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.
type WorkspaceCacheSpec ¶
type WorkspaceCacheSpec struct {
// 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
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 {
// 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
SecretName string `json:"secretName,omitempty"`
ServiceAccountName string `json:"serviceAccountName,omitempty"`
Cache WorkspaceCacheSpec `json:"cache,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 {
// 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
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