Documentation ¶
Overview ¶
Package mockke is a generated GoMock package.
Index ¶
- type Mockruntime
- func (m *Mockruntime) Create(arg0 context.Context, arg1 *kev1alpha.Cluster) (*kev1alpha.Cluster, error)
- func (m *Mockruntime) Delete(arg0 context.Context, arg1 string) error
- func (m *Mockruntime) EXPECT() *MockruntimeMockRecorder
- func (m *Mockruntime) Get(arg0 context.Context, arg1 string) (*kev1alpha.Cluster, error)
- func (m *Mockruntime) List(arg0 context.Context, arg1 int32, arg2 *v1.Pagination) ([]*kev1alpha.Cluster, *v1.Pagination, error)
- func (m *Mockruntime) NewID() string
- func (m *Mockruntime) Update(arg0 context.Context, arg1 *kev1alpha.Cluster, arg2 *fieldmaskpb.FieldMask) (*kev1alpha.Cluster, error)
- type MockruntimeMockRecorder
- func (mr *MockruntimeMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) NewID() *gomock.Call
- func (mr *MockruntimeMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockruntime ¶
type Mockruntime struct {
// contains filtered or unexported fields
}
Mockruntime is a mock of runtime interface.
func NewMockruntime ¶
func NewMockruntime(ctrl *gomock.Controller) *Mockruntime
NewMockruntime creates a new mock instance.
func (*Mockruntime) Create ¶
func (m *Mockruntime) Create(arg0 context.Context, arg1 *kev1alpha.Cluster) (*kev1alpha.Cluster, error)
Create mocks base method.
func (*Mockruntime) Delete ¶
func (m *Mockruntime) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*Mockruntime) EXPECT ¶
func (m *Mockruntime) EXPECT() *MockruntimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mockruntime) List ¶
func (m *Mockruntime) List(arg0 context.Context, arg1 int32, arg2 *v1.Pagination) ([]*kev1alpha.Cluster, *v1.Pagination, error)
List mocks base method.
type MockruntimeMockRecorder ¶
type MockruntimeMockRecorder struct {
// contains filtered or unexported fields
}
MockruntimeMockRecorder is the mock recorder for Mockruntime.
func (*MockruntimeMockRecorder) Create ¶
func (mr *MockruntimeMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockruntimeMockRecorder) Delete ¶
func (mr *MockruntimeMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockruntimeMockRecorder) Get ¶
func (mr *MockruntimeMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockruntimeMockRecorder) List ¶
func (mr *MockruntimeMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockruntimeMockRecorder) NewID ¶
func (mr *MockruntimeMockRecorder) NewID() *gomock.Call
NewID indicates an expected call of NewID.
func (*MockruntimeMockRecorder) Update ¶
func (mr *MockruntimeMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.