Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions pkg/entity/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,17 +546,3 @@ func (u User) GetOnboardingData() (*OnboardingData, error) {
}
return x, nil
}

type ModifyWorkspaceRequest struct {
WorkspaceClass string `json:"workspaceClassId"`
IsStoppable *bool `json:"isStoppable"`
StartupScriptPath string `json:"startupScriptPath"`
Name string `json:"name"`
Description string `json:"description"`
IDEConfig IDEConfig `json:"ideConfig"`
Repos ReposV0 `json:"repos"`
Execs ExecsV0 `json:"execs"`
ReposV1 *ReposV1 `json:"reposV1"`
ExecsV1 *ExecsV1 `json:"execsV1"`
InstanceType string `json:"instanceType"`
}
13 changes: 0 additions & 13 deletions pkg/store/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@ var (
workspaceOrgPath = fmt.Sprintf(workspaceOrgPathPattern, fmt.Sprintf("{%s}", orgIDParamName))
)

type ModifyWorkspaceRequest struct {
WorkspaceClassID string `json:"workspaceClassId,omitempty"`
IsStoppable *bool `json:"isStoppable,omitempty"`
StartupScriptPath string `json:"startupScriptPath,omitempty"`
Name string `json:"name,omitempty"`
IDEConfig *entity.IDEConfig `json:"ideConfig,omitempty"`
Repos entity.ReposV0 `json:"repos,omitempty"`
Execs entity.ExecsV0 `json:"execs,omitempty"`
ReposV1 *entity.ReposV1 `json:"reposV1,omitempty"`
ExecsV1 *entity.ExecsV1 `json:"execsV1,omitempty"`
InstanceType string `json:"instanceType,omitempty"`
}

// LifeCycleScriptAttr holds the lifecycle script configuration
type LifeCycleScriptAttr struct {
Script string `json:"script,omitempty"`
Expand Down
Loading