Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetPathHandler ¶
type SetPathHandler interface {
SetPath(ctx context.Context, dryrun bool, p *SetPathParams) error
}
func NewSetPath ¶
func NewSetPath(execIF exec.Interface) SetPathHandler
type SetPathHandlerFunc ¶
type SetPathHandlerFunc func(ctx context.Context, dryrun bool, p *SetPathParams) error
func (SetPathHandlerFunc) SetPath ¶
func (f SetPathHandlerFunc) SetPath(ctx context.Context, dryrun bool, p *SetPathParams) error
type SetPathParams ¶
type SetPathParams struct {
Values []string
}
func (*SetPathParams) String ¶
func (p *SetPathParams) String() string
type SetVariableHandler ¶
type SetVariableHandler interface {
SetVariable(ctx context.Context, dryrun bool, p *SetVariableParams) error
}
func NewSetVariable ¶
func NewSetVariable(execIF exec.Interface) SetVariableHandler
type SetVariableHandlerFunc ¶
type SetVariableHandlerFunc func(ctx context.Context, dryrun bool, p *SetVariableParams) error
func (SetVariableHandlerFunc) SetVariable ¶
func (f SetVariableHandlerFunc) SetVariable(ctx context.Context, dryrun bool, p *SetVariableParams) error
type SetVariableParams ¶
type SetVariableParams struct { Name string Value string Scope VariableScope Export bool }
func (*SetVariableParams) String ¶
func (p *SetVariableParams) String() string
type VariableScope ¶
type VariableScope int
const ( UniversalScope VariableScope = iota + 1 GlobalScope LocalScope )
Click to show internal directories.
Click to hide internal directories.