Documentation
¶
Index ¶
- type FakeBundleManager
- func (bm *FakeBundleManager) DownloadBundle(ctx context.Context, ref string) (*api.PackageBundle, error)
- func (bm *FakeBundleManager) IsActive(ctx context.Context, client client.Client, name types.NamespacedName) (bool, error)
- func (bm *FakeBundleManager) Update(bundle *api.PackageBundle, active bool, allBundles []api.PackageBundle) bool
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
FakeIsActive bool
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) IsActive ¶
func (bm *FakeBundleManager) IsActive(ctx context.Context, client client.Client, name types.NamespacedName) (bool, error)
func (*FakeBundleManager) Update ¶
func (bm *FakeBundleManager) Update(bundle *api.PackageBundle, active bool, allBundles []api.PackageBundle) bool
Click to show internal directories.
Click to hide internal directories.