fake

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 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 FakeBundleManager

type FakeBundleManager struct {
	bundle.Manager
	FakeActiveBundleError             error
	FakeActiveBundle                  *api.PackageBundle
	FakeDownloadBundle                *api.PackageBundle
	FakeUpdate                        bool
	FakeGetActiveBundleNamespacedName types.NamespacedName
}

func NewBundleManager

func NewBundleManager() *FakeBundleManager

func (*FakeBundleManager) DownloadBundle added in v0.1.7

func (bm *FakeBundleManager) DownloadBundle(ctx context.Context, ref string) (
	*api.PackageBundle, error)

func (*FakeBundleManager) Update

func (bm *FakeBundleManager) Update(ctx context.Context, bundle *api.PackageBundle,
	allBundles []api.PackageBundle) (bool, error)

Jump to

Keyboard shortcuts

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