set_context_entry

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigSetContextEntry = func(ctx common.Context, o *setContextEntryOrchestrator) 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,
	setContextEntryFunc ConfigSetContextEntryFunc) *setContextValueCmd

func NewOrchestrator

func NewOrchestrator(cfgManager config.ConfigManager, cfgCtxName string, setAsCurrCfgCtx bool, changes map[string]string) *setContextEntryOrchestrator

Types

type ConfigSetContextEntryFunc

type ConfigSetContextEntryFunc func(ctx common.Context, o *setContextEntryOrchestrator) error

type NewCommandFunc

type NewCommandFunc func(
	ctx common.Context,
	cfgManager config.ConfigManager,
	setContextEntryFunc ConfigSetContextEntryFunc) *setContextValueCmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL