mocks

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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) CreateBundle added in v0.1.12

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

CreateBundle mocks base method.

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) GetBundleList added in v0.1.12

func (m *MockClient) GetBundleList(ctx context.Context, bundles *v1alpha1.PackageBundleList) error

GetBundleList mocks base method.

func (*MockClient) GetPackageBundleController added in v0.2.0

func (m *MockClient) GetPackageBundleController(ctx context.Context) (*v1alpha1.PackageBundleController, error)

GetPackageBundleController mocks base method.

func (*MockClient) Save added in v0.2.0

func (m *MockClient) Save(ctx context.Context, object client.Object) error

Save mocks base method.

func (*MockClient) SaveStatus added in v0.2.0

func (m *MockClient) SaveStatus(ctx context.Context, object client.Object) error

SaveStatus mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateBundle added in v0.1.12

func (mr *MockClientMockRecorder) CreateBundle(ctx, bundle interface{}) *gomock.Call

CreateBundle indicates an expected call of CreateBundle.

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) GetBundleList added in v0.1.12

func (mr *MockClientMockRecorder) GetBundleList(ctx, bundles interface{}) *gomock.Call

GetBundleList indicates an expected call of GetBundleList.

func (*MockClientMockRecorder) GetPackageBundleController added in v0.2.0

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

GetPackageBundleController indicates an expected call of GetPackageBundleController.

func (*MockClientMockRecorder) Save added in v0.2.0

func (mr *MockClientMockRecorder) Save(ctx, object interface{}) *gomock.Call

Save indicates an expected call of Save.

func (*MockClientMockRecorder) SaveStatus added in v0.2.0

func (mr *MockClientMockRecorder) SaveStatus(ctx, object interface{}) *gomock.Call

SaveStatus indicates an expected call of SaveStatus.

type MockManager added in v0.1.12

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

MockManager is a mock of Manager interface.

func NewMockManager added in v0.1.12

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) EXPECT added in v0.1.12

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) ProcessBundle added in v0.1.14

func (m *MockManager) ProcessBundle(ctx context.Context, newBundle *v1alpha1.PackageBundle) (bool, error)

ProcessBundle mocks base method.

func (*MockManager) ProcessBundleController added in v0.2.0

func (m *MockManager) ProcessBundleController(ctx context.Context, pbc *v1alpha1.PackageBundleController) error

ProcessBundleController mocks base method.

func (*MockManager) SortBundlesDescending added in v0.1.12

func (m *MockManager) SortBundlesDescending(bundles []v1alpha1.PackageBundle)

SortBundlesDescending mocks base method.

type MockManagerMockRecorder added in v0.1.12

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) ProcessBundle added in v0.1.14

func (mr *MockManagerMockRecorder) ProcessBundle(ctx, newBundle interface{}) *gomock.Call

ProcessBundle indicates an expected call of ProcessBundle.

func (*MockManagerMockRecorder) ProcessBundleController added in v0.2.0

func (mr *MockManagerMockRecorder) ProcessBundleController(ctx, pbc interface{}) *gomock.Call

ProcessBundleController indicates an expected call of ProcessBundleController.

func (*MockManagerMockRecorder) SortBundlesDescending added in v0.1.12

func (mr *MockManagerMockRecorder) SortBundlesDescending(bundles interface{}) *gomock.Call

SortBundlesDescending indicates an expected call of SortBundlesDescending.

type MockRegistryClient added in v0.2.0

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

MockRegistryClient is a mock of RegistryClient interface.

func NewMockRegistryClient added in v0.2.0

func NewMockRegistryClient(ctrl *gomock.Controller) *MockRegistryClient

NewMockRegistryClient creates a new mock instance.

func (*MockRegistryClient) DownloadBundle added in v0.2.0

func (m *MockRegistryClient) DownloadBundle(ctx context.Context, ref string) (*v1alpha1.PackageBundle, error)

DownloadBundle mocks base method.

func (*MockRegistryClient) EXPECT added in v0.2.0

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

func (*MockRegistryClient) LatestBundle added in v0.2.0

func (m *MockRegistryClient) LatestBundle(ctx context.Context, baseRef, kubeVersion string) (*v1alpha1.PackageBundle, error)

LatestBundle mocks base method.

type MockRegistryClientMockRecorder added in v0.2.0

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

MockRegistryClientMockRecorder is the mock recorder for MockRegistryClient.

func (*MockRegistryClientMockRecorder) DownloadBundle added in v0.2.0

func (mr *MockRegistryClientMockRecorder) DownloadBundle(ctx, ref interface{}) *gomock.Call

DownloadBundle indicates an expected call of DownloadBundle.

func (*MockRegistryClientMockRecorder) LatestBundle added in v0.2.0

func (mr *MockRegistryClientMockRecorder) LatestBundle(ctx, baseRef, kubeVersion interface{}) *gomock.Call

LatestBundle indicates an expected call of LatestBundle.

Jump to

Keyboard shortcuts

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