handlers

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 8 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 {
	Create(ctx context.Context, dryrun bool, p *CreateParams) error
}

func New

func New(fs afero.Fs) CreateHandler

type CreateHandlerFunc

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

func (CreateHandlerFunc) Create

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

type CreateParams

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

func (*CreateParams) String

func (p *CreateParams) String() string

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