Documentation ¶
Index ¶
- func StringSetAppend(set []string, vals ...string) []string
- func ToSafeGoVariableName(name string) string
- func ValidateStrArg(arg string, allowed []string) error
- type AtomicBool
- type CommandBuilder
- func (c *CommandBuilder) DisableStderr() *CommandBuilder
- func (c *CommandBuilder) DisableStdout() *CommandBuilder
- func (c *CommandBuilder) Run() (CommandResult, error)
- func (c *CommandBuilder) StderrToString() *CommandBuilder
- func (c *CommandBuilder) StdinFromString(input string) *CommandBuilder
- func (c *CommandBuilder) StdoutToString() *CommandBuilder
- type CommandResult
- type YAMLData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringSetAppend ¶
func ToSafeGoVariableName ¶
func ValidateStrArg ¶
Types ¶
type AtomicBool ¶
type AtomicBool struct {
// contains filtered or unexported fields
}
func (*AtomicBool) Load ¶
func (b *AtomicBool) Load() bool
func (*AtomicBool) Store ¶
func (b *AtomicBool) Store(value bool)
type CommandBuilder ¶ added in v0.1.7
type CommandBuilder struct {
// contains filtered or unexported fields
}
func NewCommand ¶ added in v0.1.7
func NewCommand(ctx context.Context, cmdname string, args ...string) *CommandBuilder
func (*CommandBuilder) DisableStderr ¶ added in v0.1.7
func (c *CommandBuilder) DisableStderr() *CommandBuilder
func (*CommandBuilder) DisableStdout ¶ added in v0.1.7
func (c *CommandBuilder) DisableStdout() *CommandBuilder
func (*CommandBuilder) Run ¶ added in v0.1.7
func (c *CommandBuilder) Run() (CommandResult, error)
func (*CommandBuilder) StderrToString ¶ added in v0.1.7
func (c *CommandBuilder) StderrToString() *CommandBuilder
func (*CommandBuilder) StdinFromString ¶ added in v0.1.7
func (c *CommandBuilder) StdinFromString(input string) *CommandBuilder
func (*CommandBuilder) StdoutToString ¶ added in v0.1.7
func (c *CommandBuilder) StdoutToString() *CommandBuilder
type CommandResult ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.