Documentation ¶
Index ¶
- type FakeCompiledPackageRepo
- func (cpr *FakeCompiledPackageRepo) Find(pkg bmrel.Package) (bmpkgs.CompiledPackageRecord, bool, error)
- func (cpr *FakeCompiledPackageRepo) Save(pkg bmrel.Package, record bmpkgs.CompiledPackageRecord) error
- func (cpr *FakeCompiledPackageRepo) SetFindBehavior(pkg bmrel.Package, record bmpkgs.CompiledPackageRecord, found bool, err error) error
- func (cpr *FakeCompiledPackageRepo) SetSaveBehavior(pkg bmrel.Package, record bmpkgs.CompiledPackageRecord, err error) error
- type FakePackageCompiler
- type FakePackageInstaller
- type FakeReleaseCompiler
- type FakeReleasePackagesCompiler
- type FindInput
- type InstallInput
- type SaveInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCompiledPackageRepo ¶
type FakeCompiledPackageRepo struct { SaveInputs []SaveInput FindInputs []FindInput // contains filtered or unexported fields }
func NewFakeCompiledPackageRepo ¶
func NewFakeCompiledPackageRepo() *FakeCompiledPackageRepo
func (*FakeCompiledPackageRepo) Find ¶
func (cpr *FakeCompiledPackageRepo) Find(pkg bmrel.Package) (bmpkgs.CompiledPackageRecord, bool, error)
func (*FakeCompiledPackageRepo) Save ¶
func (cpr *FakeCompiledPackageRepo) Save(pkg bmrel.Package, record bmpkgs.CompiledPackageRecord) error
func (*FakeCompiledPackageRepo) SetFindBehavior ¶
func (cpr *FakeCompiledPackageRepo) SetFindBehavior(pkg bmrel.Package, record bmpkgs.CompiledPackageRecord, found bool, err error) error
func (*FakeCompiledPackageRepo) SetSaveBehavior ¶
func (cpr *FakeCompiledPackageRepo) SetSaveBehavior(pkg bmrel.Package, record bmpkgs.CompiledPackageRecord, err error) error
type FakePackageCompiler ¶
func NewFakePackageCompiler ¶
func NewFakePackageCompiler() *FakePackageCompiler
type FakePackageInstaller ¶
type FakePackageInstaller struct { InstallInputs []InstallInput // contains filtered or unexported fields }
func NewFakePackageInstaller ¶
func NewFakePackageInstaller() *FakePackageInstaller
func (*FakePackageInstaller) Install ¶
func (f *FakePackageInstaller) Install(pkg *bmrel.Package, targetDir string) error
func (*FakePackageInstaller) SetInstallBehavior ¶
func (f *FakePackageInstaller) SetInstallBehavior(pkg *bmrel.Package, targetDir string, err error)
type FakeReleaseCompiler ¶
type FakeReleaseCompiler struct { CompileInputs []compileInput // contains filtered or unexported fields }
func NewFakeReleaseCompiler ¶
func NewFakeReleaseCompiler() *FakeReleaseCompiler
func (*FakeReleaseCompiler) Compile ¶
func (f *FakeReleaseCompiler) Compile(release bmrel.Release, deployment bminstallmanifest.Manifest) error
func (*FakeReleaseCompiler) SetCompileBehavior ¶
func (f *FakeReleaseCompiler) SetCompileBehavior(release bmrel.Release, deployment bminstallmanifest.Manifest, err error) error
type FakeReleasePackagesCompiler ¶
func NewFakeReleasePackagesCompiler ¶
func NewFakeReleasePackagesCompiler() *FakeReleasePackagesCompiler
type InstallInput ¶
Click to show internal directories.
Click to hide internal directories.