completion

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BackupIDCompletion added in v0.3.0

func BackupIDCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

BackupIDCompletion returns a ValidArgsFunction that completes backup IDs.

func CPUCompletion added in v0.16.0

func CPUCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

CPUCompletion returns a completion function for a --cpu flag.

func CloudProviderCompletion added in v0.7.0

func CloudProviderCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

CloudProviderCompletion returns a completion function for the --cloud-provider flag. It skips the 'hybrid' cloud, as this flag is meant to be used for cloud clusters, not hybrid ones.

func CloudRegionCompletion added in v0.7.0

func CloudRegionCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

CloudRegionCompletion returns a completion function for the --cloud-region flag.

func ClusterIDCompletion

func ClusterIDCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

ClusterIDCompletion returns a ValidArgsFunction that completes cluster IDs.

func DiskCompletion added in v0.16.0

func DiskCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

DiskCompletion returns a completion function for a --disk flag.

func GPUCompletion added in v0.16.0

func GPUCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

GPUCompletion returns a completion function for a --gpu flag.

func PackageNameCompletion added in v0.16.0

func PackageNameCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

PackageNameCompletion returns a completion function for a --package flag.

func RAMCompletion added in v0.16.0

func RAMCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

RAMCompletion returns a completion function for a --ram flag.

func VersionCompletion added in v0.15.0

func VersionCompletion(s *state.State) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)

VersionCompletion returns a completion function for the --version flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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