Documentation ¶
Overview ¶
Package mock_controller_api is a generated GoMock package.
Index ¶
- type MockTridentController
- func (m *MockTridentController) CreateNode(arg0 context.Context, arg1 *utils.Node) (controllerAPI.CreateNodeResponse, error)
- func (m *MockTridentController) DeleteNode(arg0 context.Context, arg1 string) error
- func (m *MockTridentController) EXPECT() *MockTridentControllerMockRecorder
- func (m *MockTridentController) GetChap(arg0 context.Context, arg1, arg2 string) (*utils.IscsiChapInfo, error)
- func (m *MockTridentController) GetNodes(arg0 context.Context) ([]string, error)
- func (m *MockTridentController) InvokeAPI(arg0 context.Context, arg1 []byte, arg2, arg3 string, arg4, arg5 bool) (*http.Response, []byte, error)
- type MockTridentControllerMockRecorder
- func (mr *MockTridentControllerMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTridentControllerMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTridentControllerMockRecorder) GetChap(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTridentControllerMockRecorder) GetNodes(arg0 interface{}) *gomock.Call
- func (mr *MockTridentControllerMockRecorder) InvokeAPI(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTridentController ¶
type MockTridentController struct {
// contains filtered or unexported fields
}
MockTridentController is a mock of TridentController interface.
func NewMockTridentController ¶
func NewMockTridentController(ctrl *gomock.Controller) *MockTridentController
NewMockTridentController creates a new mock instance.
func (*MockTridentController) CreateNode ¶
func (m *MockTridentController) CreateNode(arg0 context.Context, arg1 *utils.Node) (controllerAPI.CreateNodeResponse, error)
CreateNode mocks base method.
func (*MockTridentController) DeleteNode ¶
func (m *MockTridentController) DeleteNode(arg0 context.Context, arg1 string) error
DeleteNode mocks base method.
func (*MockTridentController) EXPECT ¶
func (m *MockTridentController) EXPECT() *MockTridentControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTridentController) GetChap ¶
func (m *MockTridentController) GetChap(arg0 context.Context, arg1, arg2 string) (*utils.IscsiChapInfo, error)
GetChap mocks base method.
type MockTridentControllerMockRecorder ¶
type MockTridentControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockTridentControllerMockRecorder is the mock recorder for MockTridentController.
func (*MockTridentControllerMockRecorder) CreateNode ¶
func (mr *MockTridentControllerMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
CreateNode indicates an expected call of CreateNode.
func (*MockTridentControllerMockRecorder) DeleteNode ¶
func (mr *MockTridentControllerMockRecorder) DeleteNode(arg0, arg1 interface{}) *gomock.Call
DeleteNode indicates an expected call of DeleteNode.
func (*MockTridentControllerMockRecorder) GetChap ¶
func (mr *MockTridentControllerMockRecorder) GetChap(arg0, arg1, arg2 interface{}) *gomock.Call
GetChap indicates an expected call of GetChap.
func (*MockTridentControllerMockRecorder) GetNodes ¶
func (mr *MockTridentControllerMockRecorder) GetNodes(arg0 interface{}) *gomock.Call
GetNodes indicates an expected call of GetNodes.
func (*MockTridentControllerMockRecorder) InvokeAPI ¶
func (mr *MockTridentControllerMockRecorder) InvokeAPI(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
InvokeAPI indicates an expected call of InvokeAPI.