fake

package
v0.0.402 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 6 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
	FailJobs  sets.String
}

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