Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigUseContext = func(ctx common.Context, o *UseContextOrchestrator) error {
return o.RunFunc(o, ctx)
}
Functions ¶
func AddCommand ¶
func AddCommand( parent cmd.AnchorCommand, cfgManager config.ConfigManager, createCmd NewCommandFunc) error
func NewCommand ¶
func NewCommand( ctx common.Context, cfgManager config.ConfigManager, useContextFunc ConfigUseContextFunc) *setContextCmd
Types ¶
type ConfigUseContextFunc ¶
type ConfigUseContextFunc func(ctx common.Context, o *UseContextOrchestrator) error
type NewCommandFunc ¶
type NewCommandFunc func( ctx common.Context, cfgManager config.ConfigManager, useContextFunc ConfigUseContextFunc) *setContextCmd
type UseContextOrchestrator ¶ added in v0.3.0
type UseContextOrchestrator struct { RunFunc func(o *UseContextOrchestrator, ctx common.Context) error // contains filtered or unexported fields }
func NewOrchestrator ¶
func NewOrchestrator(cfgManager config.ConfigManager, cfgCtxName string) *UseContextOrchestrator
Click to show internal directories.
Click to hide internal directories.