Help us shape the future of Go! Take the 2026 Go Developer Survey

list

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clusters

func Clusters(
	ctx context.Context,
	client client.Client,
	projectName string,
) (*managementv1.ProjectClusters, error)

func FindTemplate

func FindTemplate(
	ctx context.Context,
	managementClient kube.Interface,
	projectName, templateName string,
) (*managementv1.DevsyWorkspaceTemplate, error)

func GetLatestMatchedVersion

func GetLatestMatchedVersion(
	versions storagev1.VersionsAccessor,
	versionPattern string,
) (latestVersion storagev1.VersionAccessor, latestMatchedVersion storagev1.VersionAccessor, err error)

func GetTemplateParameters

func GetTemplateParameters(
	template *managementv1.DevsyWorkspaceTemplate,
	templateVersion string,
) ([]storagev1.AppParameter, error)

func NewClustersCmd

func NewClustersCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewClustersCmd creates a new command.

func NewCmd

func NewCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewCmd creates a new cobra command.

func NewProjectsCmd

func NewProjectsCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewProjectsCmd creates a new command.

func NewTemplatesCmd

func NewTemplatesCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewTemplatesCmd creates a new command.

func NewWorkspacesCmd

func NewWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewWorkspacesCmd creates a new command.

func Projects

func Projects(ctx context.Context, client client.Client) (*managementv1.ProjectList, error)

func Templates

func Templates(
	ctx context.Context,
	client client.Client,
	projectName string,
) (*managementv1.ProjectTemplates, error)

func VariableToEnvironmentVariable

func VariableToEnvironmentVariable(variable string) string

Types

type ClustersCmd

type ClustersCmd struct {
	*flags.GlobalFlags
}

ClustersCmd holds the cmd flags.

func (*ClustersCmd) Run

func (cmd *ClustersCmd) Run(ctx context.Context) error

type ProjectsCmd

type ProjectsCmd struct {
	*flags.GlobalFlags
}

ProjectsCmd holds the cmd flags.

func (*ProjectsCmd) Run

func (cmd *ProjectsCmd) Run(ctx context.Context) error

type TemplatesCmd

type TemplatesCmd struct {
	*flags.GlobalFlags
}

TemplatesCmd holds the cmd flags.

func (*TemplatesCmd) Run

func (cmd *TemplatesCmd) Run(ctx context.Context) error

type WorkspacesCmd

type WorkspacesCmd struct {
	*flags.GlobalFlags
}

WorkspacesCmd holds the cmd flags.

func (*WorkspacesCmd) Run

func (cmd *WorkspacesCmd) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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