Documentation ¶
Index ¶
- func FindTemplate(ctx context.Context, managementClient kube.Interface, ...) (*managementv1.DevPodWorkspaceTemplate, error)
- func GetLatestMatchedVersion(versions storagev1.VersionsAccessor, versionPattern string) (latestVersion storagev1.VersionAccessor, ...)
- func GetLatestVersion(versions storagev1.VersionsAccessor) storagev1.VersionAccessor
- func GetTemplateParameters(template *managementv1.DevPodWorkspaceTemplate, templateVersion string) ([]storagev1.AppParameter, error)
- func NewListCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewProjectsCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewTemplateOptionsCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewTemplateOptionsVersionCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewTemplatesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func VariableToEnvironmentVariable(variable string) string
- type OptionsFormat
- type ProjectsCmd
- type TemplateOptionsCmd
- type TemplateOptionsVersionCmd
- type TemplatesCmd
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 GetLatestVersion ¶
func GetLatestVersion(versions storagev1.VersionsAccessor) storagev1.VersionAccessor
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
Types ¶
type OptionsFormat ¶
type ProjectsCmd ¶
type ProjectsCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
ProjectsCmd holds the cmd flags
type TemplateOptionsCmd ¶
type TemplateOptionsCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
TemplateOptionsCmd holds the cmd flags
type TemplateOptionsVersionCmd ¶
type TemplateOptionsVersionCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
TemplateOptionsVersionCmd holds the cmd flags
type TemplatesCmd ¶
type TemplatesCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
TemplatesCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.