Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandBuilder ¶
type CommandBuilder struct {
// contains filtered or unexported fields
}
func NewCommandBuilder ¶
func NewCommandBuilder( options ...CommandBuilderOption, ) (*CommandBuilder, error)
func (*CommandBuilder) ApplyOptions ¶
func (o *CommandBuilder) ApplyOptions( options ...CommandBuilderOption, ) *CommandBuilder
type CommandBuilderOption ¶
type CommandBuilderOption interface {
// contains filtered or unexported methods
}
type CommandBuilderOptionFunc ¶
type CommandBuilderOptionFunc func(*CommandBuilder)
CopyDirOptionFunc wraps a function that modifies CopyDir into an implementation of the CopyDirOption interface.
type EmptyCommandBuilderOption ¶
type EmptyCommandBuilderOption struct{}
EmptyCommandBuilderOption does not alter the configuration. It can be embedded in another structure to build custom options.
This API is EXPERIMENTAL.
Click to show internal directories.
Click to hide internal directories.