Documentation
¶
Overview ¶
Package certificate provides the create certificate 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 certificate command.
Types ¶
type CommandOptions ¶
type CommandOptions struct {
*config.GlobalConfig
// contains filtered or unexported fields
}
CommandOptions contains the options for the create certificate command.
Click to show internal directories.
Click to hide internal directories.