manage

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTags

func CreateTags(ctx context.Context, params TagsParams) error

func DeleteTags

func DeleteTags(ctx context.Context, params TagsParams) error

func ModifyComputeSettings

func ModifyComputeSettings(ctx context.Context, params ComputeSettingsParams) error

func ModifyDeletionProtection

func ModifyDeletionProtection(ctx context.Context, params DeletionProtectionParams) error

func ModifyWorkspaceSettings

func ModifyWorkspaceSettings(ctx context.Context, params WorkspaceSettingsParams) error

func RenameWorkspace

func RenameWorkspace(ctx context.Context, params RenameParams) error

Types

type ComputeSettingsParams

type ComputeSettingsParams struct {
	WorkspaceID           string
	AutoScalingLimitMinCU float64
	AutoScalingLimitMaxCU float64
	SuspendTimeoutSeconds *int
	ServiceType           string
}

type DeletionProtectionParams

type DeletionProtectionParams struct {
	WorkspaceID string
	Enabled     bool
}

type RenameParams

type RenameParams struct {
	WorkspaceID   string
	WorkspaceName string
}

type TagsParams

type TagsParams struct {
	WorkspaceID string
	Tags        []volcengine.WorkspaceTag
	TagKeys     []string
}

type WorkspaceSettingsParams

type WorkspaceSettingsParams struct {
	WorkspaceID           string
	HistoryRetentionHours int
}

Jump to

Keyboard shortcuts

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