pop

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDatabaseNotExist = errors.New(" database.yml does not exist")
)

Err..

Functions

This section is empty.

Types

type Fixer

type Fixer struct{}

Fixer type ...

func (Fixer) Fix

func (f Fixer) Fix(ctx context.Context, root string, args []string) error

Fix moves the file "database.yml" to "/config/database.yml". If the file already exists it ignores the oparation

func (Fixer) Name

func (f Fixer) Name() string

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func (Plugin) HelpText

func (b Plugin) HelpText() string

HelpText resturns the help Text of build function

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) ParentName

func (p *Plugin) ParentName() string

func (*Plugin) Receive

func (b *Plugin) Receive(plugins []plugins.Plugin)

func (*Plugin) Run

func (b *Plugin) Run(ctx context.Context, root string, args []string) error

func (*Plugin) RunAfterBuild

func (p *Plugin) RunAfterBuild(root string, args []string) error

func (*Plugin) RunBeforeBuild

func (p *Plugin) RunBeforeBuild(ctx context.Context, root string, args []string) error

func (*Plugin) RunBeforeTest

func (p *Plugin) RunBeforeTest(ctx context.Context, root string, args []string) error

func (*Plugin) Subcommands

func (b *Plugin) Subcommands() []plugins.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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