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