handlers

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateHandler

type CreateHandler interface {
	Run(ctx context.Context, dryrun bool, p *CreateParams) (err error)
}

func New

func New(fs afero.Fs) CreateHandler

type CreateHandlerFunc

type CreateHandlerFunc func(ctx context.Context, dryrun bool, p *CreateParams) error

func (CreateHandlerFunc) Run added in v0.0.20

func (f CreateHandlerFunc) Run(ctx context.Context, dryrun bool, p *CreateParams) error

type CreateParams

type CreateParams struct {
	Path       string
	Permission os.FileMode
	Cwd        string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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