setupworkspace

package
v0.6.298 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "setupworkspace"

Variables

This section is empty.

Functions

func NewCmdSetupWorkspace

func NewCmdSetupWorkspace(store SetupWorkspaceStore) *cobra.Command

Internal command for setting up workspace // v1 similar to k8s post-start script

Types

type SetupWorkspaceStore

type SetupWorkspaceStore interface {
	GetSetupParams() (*store.SetupParamsV0, error)
	WriteSetupScript(script string) error
	GetSetupScriptPath() string
	GetCurrentUser() (*entity.User, error)
	GetCurrentWorkspaceID() (string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL