Documentation ¶
Overview ¶
Package apimock is a generated GoMock package.
Index ¶
- type MockAPI
- func (m *MockAPI) Create(arg0 context.Context, arg1 types.Object, arg2 ...types.CreateOption) error
- func (m *MockAPI) Destroy(arg0 context.Context, arg1 types.IdentifiedObject, arg2 ...types.DestroyOption) error
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) Get(arg0 context.Context, arg1 types.IdentifiedObject, arg2 ...types.GetOption) error
- func (m *MockAPI) List(arg0 context.Context, arg1 types.FilterObject, arg2 ...types.ListOption) error
- func (m *MockAPI) Update(arg0 context.Context, arg1 types.IdentifiedObject, arg2 ...types.UpdateOption) error
- type MockAPIMockRecorder
- func (mr *MockAPIMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Destroy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockAPIMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface.
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance.
func (*MockAPI) Destroy ¶
func (m *MockAPI) Destroy(arg0 context.Context, arg1 types.IdentifiedObject, arg2 ...types.DestroyOption) error
Destroy mocks base method.
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPI) Get ¶
func (m *MockAPI) Get(arg0 context.Context, arg1 types.IdentifiedObject, arg2 ...types.GetOption) error
Get mocks base method.
func (*MockAPI) List ¶
func (m *MockAPI) List(arg0 context.Context, arg1 types.FilterObject, arg2 ...types.ListOption) error
List mocks base method.
func (*MockAPI) Update ¶
func (m *MockAPI) Update(arg0 context.Context, arg1 types.IdentifiedObject, arg2 ...types.UpdateOption) error
Update mocks base method.
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI.
func (*MockAPIMockRecorder) Create ¶
func (mr *MockAPIMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockAPIMockRecorder) Destroy ¶
func (mr *MockAPIMockRecorder) Destroy(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockAPIMockRecorder) Get ¶
func (mr *MockAPIMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAPIMockRecorder) List ¶
func (mr *MockAPIMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockAPIMockRecorder) Update ¶
func (mr *MockAPIMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.