mocks

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: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	// contains filtered or unexported fields
}

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetActiveBundle

func (m *MockClient) GetActiveBundle(ctx context.Context) (*v1alpha1.PackageBundle, error)

GetActiveBundle mocks base method.

func (*MockClient) GetActiveBundleNamespacedName

func (m *MockClient) GetActiveBundleNamespacedName(ctx context.Context) (types.NamespacedName, error)

GetActiveBundleNamespacedName mocks base method.

func (*MockClient) IsActive

func (m *MockClient) IsActive(ctx context.Context, packageBundle *v1alpha1.PackageBundle) (bool, error)

IsActive mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) GetActiveBundle

func (mr *MockClientMockRecorder) GetActiveBundle(ctx interface{}) *gomock.Call

GetActiveBundle indicates an expected call of GetActiveBundle.

func (*MockClientMockRecorder) GetActiveBundleNamespacedName

func (mr *MockClientMockRecorder) GetActiveBundleNamespacedName(ctx interface{}) *gomock.Call

GetActiveBundleNamespacedName indicates an expected call of GetActiveBundleNamespacedName.

func (*MockClientMockRecorder) IsActive

func (mr *MockClientMockRecorder) IsActive(ctx, packageBundle interface{}) *gomock.Call

IsActive indicates an expected call of IsActive.

Jump to

Keyboard shortcuts

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