Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWorkspaceNotFound = errors.New("workspace not found")
)
Functions ¶
func GetWorkspaceEnvVars ¶ added in v0.15.0
func GetWorkspaceEnvVars(workspace *Workspace, params WorkspaceEnvVarParams, telemetryEnabled bool) map[string]string
func IsWorkspaceNotFound ¶ added in v0.18.0
Types ¶
type Workspace ¶
type Workspace struct { Id string `json:"id" validate:"required"` Name string `json:"name" validate:"required"` Projects []*project.Project `json:"projects" validate:"required"` Target string `json:"target" validate:"required"` ApiKey string `json:"-"` EnvVars map[string]string `json:"-"` } // @name Workspace
type WorkspaceEnvVarParams ¶ added in v0.15.0
type WorkspaceInfo ¶
type WorkspaceInfo struct { Name string `json:"name" validate:"required"` Projects []*project.ProjectInfo `json:"projects" validate:"required"` ProviderMetadata string `json:"providerMetadata,omitempty" validate:"optional"` } // @name WorkspaceInfo
Click to show internal directories.
Click to hide internal directories.