Documentation ¶
Index ¶
- func Clusters(ctx context.Context, client client.Client, projectName string) (*managementv1.ProjectClusters, error)
- 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 NewClustersCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewProjectsCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewTemplatesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func NewWorkspacesCmd(globalFlags *flags.GlobalFlags) *cobra.Command
- func Projects(ctx context.Context, client client.Client) (*managementv1.ProjectList, error)
- func Templates(ctx context.Context, client client.Client, projectName string) (*managementv1.ProjectTemplates, error)
- func VariableToEnvironmentVariable(variable string) string
- type ClustersCmd
- type ProjectsCmd
- type TemplatesCmd
- type WorkspacesCmd
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 GetLatestVersion ¶
func GetLatestVersion(versions storagev1.VersionsAccessor) storagev1.VersionAccessor
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)
Types ¶
type ClustersCmd ¶ added in v0.6.0
type ClustersCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
ClustersCmd holds the cmd flags
type ProjectsCmd ¶
type ProjectsCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
ProjectsCmd holds the cmd flags
type TemplatesCmd ¶
type TemplatesCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
TemplatesCmd holds the cmd flags
type WorkspacesCmd ¶ added in v0.6.0
type WorkspacesCmd struct { *flags.GlobalFlags // contains filtered or unexported fields }
WorkspacesCmd holds the cmd flags
Click to show internal directories.
Click to hide internal directories.