fake

package
v0.0.339 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plumber

type Plumber struct {
	Pipelines []*plumber.PipelineOptions
}

Plumber a fake Plumber

func NewPlumber

func NewPlumber() *Plumber

NewPlumber creates a fake plumber

func (*Plumber) Create

func (p *Plumber) Create(po *plumber.PipelineOptions, metapipelineClient metapipeline.Client, repo scm.Repository) (*plumber.PipelineOptions, error)

Create creates a plumber job

func (*Plumber) List

List lists the pipelines and ttheir options

func (*Plumber) PrependReactor

func (p *Plumber) PrependReactor(s string, s2 string, i func(plumberJob *plumber.PipelineOptions) (handled bool, ret *plumber.PipelineOptions, err error))

PrependReactor prepends a reactor

Jump to

Keyboard shortcuts

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