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