v1alpha1

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

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

View Source
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
)
View Source
const (
	ConditionHealthy status.ConditionType = "Healthy"

	ReasonAllResourcesFound status.ConditionReason = "AllResourcesFound"
	ReasonMissingResource   status.ConditionReason = "MissingResource"

	WorkspaceDefaultCacheSize = "1Gi"

	WorkspaceDefaultSecretName         = "stok"
	WorkspaceDefaultServiceAccountName = "stok"
)

Variables

View Source
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

func (in *Apply) DeepCopy() *Apply

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

func (*Apply) DeepCopyInto

func (in *Apply) DeepCopyInto(out *Apply)

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

func (*Apply) DeepCopyObject

func (in *Apply) DeepCopyObject() runtime.Object

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

func (in *ApplyList) DeepCopy() *ApplyList

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

func (*ApplyList) DeepCopyInto

func (in *ApplyList) DeepCopyInto(out *ApplyList)

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

func (*ApplyList) DeepCopyObject

func (in *ApplyList) DeepCopyObject() runtime.Object

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) GetArgs

func (c *CommandSpec) GetArgs() []string

Get/Set Args functions

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) GetDebug

func (c *CommandSpec) GetDebug() bool

Get/Set Debug 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

func (in *Destroy) DeepCopy() *Destroy

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

func (*Destroy) DeepCopyInto

func (in *Destroy) DeepCopyInto(out *Destroy)

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

func (*Destroy) DeepCopyObject

func (in *Destroy) DeepCopyObject() runtime.Object

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

func (in *Get) DeepCopy() *Get

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

func (*Get) DeepCopyInto

func (in *Get) DeepCopyInto(out *Get)

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

func (*Get) DeepCopyObject

func (in *Get) DeepCopyObject() runtime.Object

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

func (in *GetList) DeepCopy() *GetList

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

func (*GetList) DeepCopyInto

func (in *GetList) DeepCopyInto(out *GetList)

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

func (*GetList) DeepCopyObject

func (in *GetList) DeepCopyObject() runtime.Object

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

func (in *Import) DeepCopy() *Import

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

func (*Import) DeepCopyInto

func (in *Import) DeepCopyInto(out *Import)

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

func (*Import) DeepCopyObject

func (in *Import) DeepCopyObject() runtime.Object

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

func (in *Init) DeepCopy() *Init

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

func (*Init) DeepCopyInto

func (in *Init) DeepCopyInto(out *Init)

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

func (*Init) DeepCopyObject

func (in *Init) DeepCopyObject() runtime.Object

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

func (in *InitList) DeepCopy() *InitList

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

func (*InitList) DeepCopyInto

func (in *InitList) DeepCopyInto(out *InitList)

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

func (*InitList) DeepCopyObject

func (in *InitList) DeepCopyObject() runtime.Object

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

func (in *Output) DeepCopy() *Output

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

func (*Output) DeepCopyInto

func (in *Output) DeepCopyInto(out *Output)

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

func (*Output) DeepCopyObject

func (in *Output) DeepCopyObject() runtime.Object

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

func (in *Plan) DeepCopy() *Plan

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

func (*Plan) DeepCopyInto

func (in *Plan) DeepCopyInto(out *Plan)

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

func (*Plan) DeepCopyObject

func (in *Plan) DeepCopyObject() runtime.Object

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

func (in *PlanList) DeepCopy() *PlanList

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

func (*PlanList) DeepCopyInto

func (in *PlanList) DeepCopyInto(out *PlanList)

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

func (*PlanList) DeepCopyObject

func (in *PlanList) DeepCopyObject() runtime.Object

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

func (in *Refresh) DeepCopy() *Refresh

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

func (*Refresh) DeepCopyInto

func (in *Refresh) DeepCopyInto(out *Refresh)

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

func (*Refresh) DeepCopyObject

func (in *Refresh) DeepCopyObject() runtime.Object

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

func (in *Shell) DeepCopy() *Shell

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

func (*Shell) DeepCopyInto

func (in *Shell) DeepCopyInto(out *Shell)

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

func (*Shell) DeepCopyObject

func (in *Shell) DeepCopyObject() runtime.Object

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

func (in *ShellList) DeepCopy() *ShellList

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

func (*ShellList) DeepCopyInto

func (in *ShellList) DeepCopyInto(out *ShellList)

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

func (*ShellList) DeepCopyObject

func (in *ShellList) DeepCopyObject() runtime.Object

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

func (in *Show) DeepCopy() *Show

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

func (*Show) DeepCopyInto

func (in *Show) DeepCopyInto(out *Show)

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

func (*Show) DeepCopyObject

func (in *Show) DeepCopyObject() runtime.Object

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

func (in *ShowList) DeepCopy() *ShowList

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

func (*ShowList) DeepCopyInto

func (in *ShowList) DeepCopyInto(out *ShowList)

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

func (*ShowList) DeepCopyObject

func (in *ShowList) DeepCopyObject() runtime.Object

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

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.

func (*State) DeepCopyObject

func (in *State) DeepCopyObject() runtime.Object

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

func (in *StateList) DeepCopy() *StateList

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

func (*StateList) DeepCopyInto

func (in *StateList) DeepCopyInto(out *StateList)

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

func (*StateList) DeepCopyObject

func (in *StateList) DeepCopyObject() runtime.Object

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

func (in *Taint) DeepCopy() *Taint

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

func (*Taint) DeepCopyInto

func (in *Taint) DeepCopyInto(out *Taint)

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

func (*Taint) DeepCopyObject

func (in *Taint) DeepCopyObject() runtime.Object

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

func (in *TaintList) DeepCopy() *TaintList

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

func (*TaintList) DeepCopyInto

func (in *TaintList) DeepCopyInto(out *TaintList)

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

func (*TaintList) DeepCopyObject

func (in *TaintList) DeepCopyObject() runtime.Object

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

func (in *Untaint) DeepCopy() *Untaint

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

func (*Untaint) DeepCopyInto

func (in *Untaint) DeepCopyInto(out *Untaint)

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

func (*Untaint) DeepCopyObject

func (in *Untaint) DeepCopyObject() runtime.Object

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

func (in *Validate) DeepCopy() *Validate

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

func (*Validate) DeepCopyInto

func (in *Validate) DeepCopyInto(out *Validate)

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

func (*Validate) DeepCopyObject

func (in *Validate) DeepCopyObject() runtime.Object

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

func (in *Workspace) DeepCopy() *Workspace

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

func (*Workspace) DeepCopyInto

func (in *Workspace) DeepCopyInto(out *Workspace)

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

func (*Workspace) DeepCopyObject

func (in *Workspace) DeepCopyObject() runtime.Object

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳