Documentation
¶
Overview ¶
Package mock_k8s is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Create(ctx context.Context, cfg k8s.CreationConfig) (*model.LoadGenerator, error)
- func (m *MockManager) Delete(ctx context.Context, name string) error
- func (m *MockManager) DeleteAll(ctx context.Context) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) List(ctx context.Context) ([]model.LoadGenerator, error)
- type MockManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Create ¶
func (m *MockManager) Create(ctx context.Context, cfg k8s.CreationConfig) (*model.LoadGenerator, error)
Create mocks base method.
func (*MockManager) Delete ¶
func (m *MockManager) Delete(ctx context.Context, name string) error
Delete mocks base method.
func (*MockManager) DeleteAll ¶
func (m *MockManager) DeleteAll(ctx context.Context) error
DeleteAll mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) List ¶
func (m *MockManager) List(ctx context.Context) ([]model.LoadGenerator, error)
List mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) Create ¶
func (mr *MockManagerMockRecorder) Create(ctx, cfg interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockManagerMockRecorder) Delete ¶
func (mr *MockManagerMockRecorder) Delete(ctx, name interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockManagerMockRecorder) DeleteAll ¶
func (mr *MockManagerMockRecorder) DeleteAll(ctx interface{}) *gomock.Call
DeleteAll indicates an expected call of DeleteAll.
func (*MockManagerMockRecorder) List ¶
func (mr *MockManagerMockRecorder) List(ctx interface{}) *gomock.Call
List indicates an expected call of List.
Click to show internal directories.
Click to hide internal directories.