commands

package
v0.0.0-...-2646865 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:          "applications-load-gen",
	Short:        "Load Generator for Chef Automate Applications Service",
	SilenceUsage: true,
}

RootCmd is the command runner.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type LoadGenCommonOpts

type LoadGenCommonOpts struct {
	// contains filtered or unexported fields
}

func (LoadGenCommonOpts) LoadProfileCfg

func (l LoadGenCommonOpts) LoadProfileCfg() (*generator.LoadProfileCfg, error)

func (LoadGenCommonOpts) ProfileSpecified

func (l LoadGenCommonOpts) ProfileSpecified() bool

func (LoadGenCommonOpts) SelectedProfile

func (l LoadGenCommonOpts) SelectedProfile() string

func (LoadGenCommonOpts) TooManyProfilesSpecified

func (l LoadGenCommonOpts) TooManyProfilesSpecified() bool

func (LoadGenCommonOpts) ValidateProfileOpts

func (l LoadGenCommonOpts) ValidateProfileOpts() error

Jump to

Keyboard shortcuts

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