Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WorkspaceCmd ¶
func WorkspaceCmd(opts *cmdutil.Options) *cobra.Command
Types ¶
type NewOptions ¶
type NewOptions struct {
*cmdutil.Options
*client.Client
Path string
Namespace string
Workspace string
KubeContext string
// Stok Workspace's WorkspaceSpec
WorkspaceSpec v1alpha1.WorkspaceSpec
// Create a service acccount if it does not exist
DisableCreateServiceAccount bool
// Create a secret if it does not exist
DisableCreateSecret bool
// Timeout for workspace to be healthy
TimeoutWorkspace time.Duration
// Timeout for workspace pod to be running and ready
TimeoutWorkspacePod time.Duration
// Timeout for wait for handshake
HandshakeTimeout time.Duration
// Disable default behaviour of deleting resources upon error
DisableResourceCleanup bool
// Disable TTY detection
DisableTTY bool
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.