Documentation
¶
Index ¶
- func CloudCompletionFunc(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
- func OpenstackComputeAvailabilityZoneCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
- func OpenstackExternalNetworkCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
- func OpenstackFlavorCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
- func OpenstackImageCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
- func OpenstackSSHKeyCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
- func OpenstackVolumeAvailabilityZoneCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloudCompletionFunc ¶
func CloudCompletionFunc(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
CloudCompletionFunc parses clouds.yaml and supplies matching cloud names.
func OpenstackComputeAvailabilityZoneCompletionFunc ¶
func OpenstackComputeAvailabilityZoneCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
OpenstackComputeAvailabilityZoneCompletionFunc lists any matching availability zones by name.
func OpenstackExternalNetworkCompletionFunc ¶
func OpenstackExternalNetworkCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
OpenstackExternalNetworkCompletionFunc lists any matching external networks by ID. Yes this isn't particularly human friendly, but the ID is the only unique identifier. Names can alias which makes mapping from name to ID practically useless.
func OpenstackFlavorCompletionFunc ¶
func OpenstackFlavorCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
OpenstackFlavorCompletionFunc lists any matching flavors by name.
func OpenstackImageCompletionFunc ¶
func OpenstackImageCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
OpenstackImageCompletionFunc lists any matching images by name.
func OpenstackSSHKeyCompletionFunc ¶
func OpenstackSSHKeyCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
OpenstackSSHKeyCompletionFunc lists any matching ssh key pairs by name.
func OpenstackVolumeAvailabilityZoneCompletionFunc ¶
func OpenstackVolumeAvailabilityZoneCompletionFunc(cloud *string) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective)
OpenstackVolumeAvailabilityZoneCompletionFunc lists any matching availability zones by name.
Types ¶
This section is empty.