Documentation
¶
Overview ¶
Package agentremoteconfig provides the create agentremoteconfig command for opampctl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrValueOrFileRequired is returned when neither --value nor --file is specified. ErrValueOrFileRequired = errors.New("either --value or --file must be specified") // ErrContentTypeRequired is returned when --content-type is required but not specified. ErrContentTypeRequired = errors.New("--content-type is required when using --value") // ErrContentTypeRequiredForExt is returned when --content-type is required for unknown file extension. ErrContentTypeRequiredForExt = errors.New("--content-type is required for unknown file extension") )
Functions ¶
func NewCommand ¶
func NewCommand(options CommandOptions) *cobra.Command
NewCommand creates a new create agentremoteconfig command.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
*config.GlobalConfig
// contains filtered or unexported fields
}
CommandOptions contains the options for the create agentremoteconfig command.
Click to show internal directories.
Click to hide internal directories.