parser

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(commandName string, pipeValue interface{}, args ...string) (interface{}, error)

func GetJSONValue

func GetJSONValue(cmd string, variables interface{}) (interface{}, error)

func ParseCmd

func ParseCmd(key string) (keys []string)

func RemoveDoubleQuotes added in v1.2.1

func RemoveDoubleQuotes(s string) string

func ReplaceSystemVariables

func ReplaceSystemVariables(config []byte, systemVariables interface{}) ([]byte, error)

func ReplaceVariables

func ReplaceVariables(config []byte, variables interface{}) ([]byte, error)

func SetJSONValue

func SetJSONValue(cmd string, value, variables interface{}) (interface{}, error)

func TaskArrayToMap

func TaskArrayToMap(tasks []*model.Task) map[string]*model.Task

Types

This section is empty.

Jump to

Keyboard shortcuts

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