Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetActiveBundle(ctx context.Context) (*v1alpha1.PackageBundle, error)
- func (m *MockClient) GetActiveBundleNamespacedName(ctx context.Context) (types.NamespacedName, error)
- func (m *MockClient) IsActive(ctx context.Context, namespacedName types.NamespacedName) (bool, error)
- type MockClientMockRecorder
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, namespacedName types.NamespacedName) (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, namespacedName interface{}) *gomock.Call
IsActive indicates an expected call of IsActive.
Click to show internal directories.
Click to hide internal directories.