Documentation ¶
Index ¶
- type FakeRelease
- func (r *FakeRelease) Delete() error
- func (r *FakeRelease) Exists() bool
- func (r *FakeRelease) FindJobByName(jobName string) (bireljob.Job, bool)
- func (r *FakeRelease) IsCompiled() bool
- func (r *FakeRelease) Jobs() []bireljob.Job
- func (r *FakeRelease) Name() string
- func (r *FakeRelease) Packages() []*birelpkg.Package
- func (r *FakeRelease) Version() string
- type FakeValidator
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
Click to show internal directories.
Click to hide internal directories.