Documentation ¶
Overview ¶
Package context implements a 'devenv context' command that allows developers to change which devenv they're currently using.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdContext ¶
func NewCmdContext(log logrus.FieldLogger) *cli.Command
Types ¶
type Options ¶
type Options struct { // DesiredContext is the context string that the should be set. It // takes the format of <runtime>:<clusterName>. DesiredContext string // contains filtered or unexported fields }
Options contains the arguments and required dependencies of the context command.
func NewOptions ¶
func NewOptions(log logrus.FieldLogger, b *box.Config) *Options
NewOptions creates a new Options struct with all of the required dependencies.
Click to show internal directories.
Click to hide internal directories.