completion

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountIDCompletion added in v0.20.0

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

AccountIDCompletion returns a ValidArgsFunction that completes account IDs.

func AccountMemberIDCompletion added in v0.20.0

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

AccountMemberIDCompletion returns a ValidArgsFunction that completes account member user IDs.

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

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

ManagementKeyIDCompletion returns a ValidArgsFunction that completes management key IDs.

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

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

PermissionCompletion returns a completion function for the --permission 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 RoleCompletion added in v0.20.0

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

RoleCompletion returns a completion function that completes IAM role names with their ID as description.

func RoleIDCompletion added in v0.20.0

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

RoleIDCompletion returns a ValidArgsFunction that completes role IDs.

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