command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name      string = "NAME"
	Image     string = "IMAGE"
	Tag       string = "TAG"
	Parameter string = "PARAMETER"
	Commands  string = "COMMAND"
)

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(id string, globalConfig *config.Values) error

func Exists

func Exists(id string, globalConfig *config.Values) bool

func GenerateRandomCommandIdString

func GenerateRandomCommandIdString() string

func GetConfigPath

func GetConfigPath(id string, config *config.Values) string

func List

func List() ([]string, error)

func ReadConfig

func ReadConfig(id string, globalConfig *config.Values) *map[string]string

func WriteConfig

func WriteConfig(commandConfig map[string]string, id string, globalConfig *config.Values) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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