Documentation
¶
Overview ¶
Package agentpackage provides the create agentpackage command for opampctl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNameRequired = errors.New("--name is required (or use --file)")
ErrNameRequired is returned when --name is missing and --file is not used.
Functions ¶
func NewCommand ¶
func NewCommand(options CommandOptions) *cobra.Command
NewCommand creates a new create agentpackage command.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
*config.GlobalConfig
// contains filtered or unexported fields
}
CommandOptions contains the options for the create agentpackage command.
Click to show internal directories.
Click to hide internal directories.