list

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clusters added in v0.6.0

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.DevPodWorkspaceTemplate, error)

func GetLatestMatchedVersion

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

func GetTemplateParameters

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

func NewClustersCmd added in v0.6.0

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

NewClustersCmd creates a new command

func NewCmd added in v0.6.0

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 added in v0.6.0

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

NewWorkspacesCmd creates a new command

func Projects added in v0.6.0

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

func Templates added in v0.6.0

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

func VariableToEnvironmentVariable

func VariableToEnvironmentVariable(variable string) string

Types

type ClustersCmd added in v0.6.0

type ClustersCmd struct {
	*flags.GlobalFlags
	// contains filtered or unexported fields
}

ClustersCmd holds the cmd flags

func (*ClustersCmd) Run added in v0.6.0

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

type ProjectsCmd

type ProjectsCmd struct {
	*flags.GlobalFlags
	// contains filtered or unexported fields
}

ProjectsCmd holds the cmd flags

func (*ProjectsCmd) Run

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

type TemplatesCmd

type TemplatesCmd struct {
	*flags.GlobalFlags
	// contains filtered or unexported fields
}

TemplatesCmd holds the cmd flags

func (*TemplatesCmd) Run

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

type WorkspacesCmd added in v0.6.0

type WorkspacesCmd struct {
	*flags.GlobalFlags
	// contains filtered or unexported fields
}

WorkspacesCmd holds the cmd flags

func (*WorkspacesCmd) Run added in v0.6.0

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