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)
Click to show internal directories.
Click to hide internal directories.