Documentation ¶
Overview ¶
Package mockv1alpha is a generated GoMock package.
Index ¶
- type Mockruntime
- func (m *Mockruntime) Create(ctx context.Context, resource *kev1alpha.Cluster) (*kev1alpha.Cluster, error)
- func (m *Mockruntime) Delete(ctx context.Context, name string) (*empty.Empty, error)
- func (m *Mockruntime) EXPECT() *MockruntimeMockRecorder
- func (m *Mockruntime) Get(ctx context.Context, name string) (*kev1alpha.Cluster, error)
- func (m *Mockruntime) List(ctx context.Context, pageSize int32, page *v1.Pagination) ([]*kev1alpha.Cluster, *v1.Pagination, error)
- func (m *Mockruntime) Update(ctx context.Context, resource *kev1alpha.Cluster, mask *fieldmaskpb.FieldMask) (*kev1alpha.Cluster, error)
- type MockruntimeMockRecorder
- func (mr *MockruntimeMockRecorder) Create(ctx, resource interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) Delete(ctx, name interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) Get(ctx, name interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) List(ctx, pageSize, page interface{}) *gomock.Call
- func (mr *MockruntimeMockRecorder) Update(ctx, resource, mask 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(ctx context.Context, resource *kev1alpha.Cluster) (*kev1alpha.Cluster, error)
Create 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(ctx context.Context, pageSize int32, page *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(ctx, resource interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockruntimeMockRecorder) Delete ¶
func (mr *MockruntimeMockRecorder) Delete(ctx, name interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockruntimeMockRecorder) Get ¶
func (mr *MockruntimeMockRecorder) Get(ctx, name interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockruntimeMockRecorder) List ¶
func (mr *MockruntimeMockRecorder) List(ctx, pageSize, page interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockruntimeMockRecorder) Update ¶
func (mr *MockruntimeMockRecorder) Update(ctx, resource, mask interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.