fakes

package
v0.0.103 Latest Latest
Warning

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

Go to latest
Published: May 23, 2017 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRelease

type FakeRelease struct {
	ReleaseName       string
	ReleaseVersion    string
	ReleaseJobs       []bireljob.Job
	ReleasePackages   []*birelpkg.Package
	ReleaseIsCompiled bool
	DeleteCalled      bool
	DeleteErr         error
}

func New

func New(name, version string) *FakeRelease

func NewFakeRelease

func NewFakeRelease() *FakeRelease

func (*FakeRelease) Delete

func (r *FakeRelease) Delete() error

func (*FakeRelease) Exists

func (r *FakeRelease) Exists() bool

func (*FakeRelease) FindJobByName

func (r *FakeRelease) FindJobByName(jobName string) (bireljob.Job, bool)

func (*FakeRelease) IsCompiled added in v0.0.81

func (r *FakeRelease) IsCompiled() bool

func (*FakeRelease) Jobs

func (r *FakeRelease) Jobs() []bireljob.Job

func (*FakeRelease) Name

func (r *FakeRelease) Name() string

func (*FakeRelease) Packages

func (r *FakeRelease) Packages() []*birelpkg.Package

func (*FakeRelease) Version

func (r *FakeRelease) Version() string

type FakeValidator

type FakeValidator struct {
	ValidateError error
}

func NewFakeValidator

func NewFakeValidator() *FakeValidator

func (*FakeValidator) Validate

func (f *FakeValidator) Validate(release birel.Release) error

Jump to

Keyboard shortcuts

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