handlers

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: MIT Imports: 9 Imported by: 0

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
)

Directories

Path Synopsis
Package mock_handlers is a generated GoMock package.
Package mock_handlers is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL