Documentation
¶
Index ¶
- func DumpToJsonString(data interface{}) (string, error)
- func DumpToYamlString(data interface{}) (string, error)
- func JsonCommandOutput[R any](query *CmdCall) (R, error)
- func LoadJSONFromString[R any](jsonStr string) (R, error)
- func LoadYamlFromString[R any](yamlStr string) (R, error)
- func OsExec(query *CmdCall) error
- func OsExecAndTailToLog(query *CmdCall) ([]byte, error)
- func OsExecWithExitCode(query *CmdCall) (int, error)
- func OsStartAndTailToLog(query *CmdCall) (*exec.Cmd, error)
- func RawCommandOutput(query *CmdCall) (string, error)
- func UnTemplateWithGoTemplate(tpl string, data any) (string, error)
- type CmdCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpToJsonString ¶
func DumpToYamlString ¶
func JsonCommandOutput ¶
func LoadJSONFromString ¶
func LoadYamlFromString ¶
func OsExecAndTailToLog ¶
func OsExecWithExitCode ¶
func RawCommandOutput ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.