Documentation ¶
Overview ¶
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 ¶ added in v0.2.12
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶ added in v0.2.12
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) CreatePackage ¶ added in v0.2.12
CreatePackage mocks base method.
func (*MockClient) EXPECT ¶ added in v0.2.12
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetPackageList ¶ added in v0.2.12
func (m *MockClient) GetPackageList(ctx context.Context, namespace string) (v1alpha1.PackageList, error)
GetPackageList mocks base method.
type MockClientMockRecorder ¶ added in v0.2.12
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) CreatePackage ¶ added in v0.2.12
func (mr *MockClientMockRecorder) CreatePackage(ctx, pkg interface{}) *gomock.Call
CreatePackage indicates an expected call of CreatePackage.
func (*MockClientMockRecorder) GetPackageList ¶ added in v0.2.12
func (mr *MockClientMockRecorder) GetPackageList(ctx, namespace interface{}) *gomock.Call
GetPackageList indicates an expected call of GetPackageList.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) Process ¶
func (m *MockManager) Process(mc *packages.ManagerContext) bool
Process mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Process ¶
func (mr *MockManagerMockRecorder) Process(mc interface{}) *gomock.Call
Process indicates an expected call of Process.