list

package
v0.5.20-alpha.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 NewListCmd

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

NewListCmd creates a new cobra command

func NewProjectsCmd

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

NewProjectsCmd creates a new command

func NewTemplateOptionsCmd

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

NewTemplateOptionsCmd creates a new command

func NewTemplateOptionsVersionCmd

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

NewTemplateOptionsVersionCmd creates a new command

func NewTemplatesCmd

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

NewTemplatesCmd creates a new command

func VariableToEnvironmentVariable

func VariableToEnvironmentVariable(variable string) string

Types

type OptionsFormat

type OptionsFormat struct {
	// Options holds the provider options
	Options map[string]*types.Option `json:"options,omitempty"`
}

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 TemplateOptionsCmd

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

TemplateOptionsCmd holds the cmd flags

func (*TemplateOptionsCmd) Run

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

type TemplateOptionsVersionCmd

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

TemplateOptionsVersionCmd holds the cmd flags

func (*TemplateOptionsVersionCmd) Run

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

Jump to

Keyboard shortcuts

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