Documentation ¶
Index ¶
- type FakeBundleManager
- func (bm *FakeBundleManager) ActiveBundle(ctx context.Context, client client.Client) (*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 FakeIsActive bool FakeUpdate bool }
func NewBundleManager ¶
func NewBundleManager() *FakeBundleManager
func (*FakeBundleManager) ActiveBundle ¶
func (bm *FakeBundleManager) ActiveBundle(ctx context.Context, client client.Client) (*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.