Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockClient) Delete(ctx context.Context, name string, options v1.DeleteOptions, ...) error
- func (m *MockClient) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ctx context.Context, name string, options v1.GetOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockClient) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
- func (m *MockClient) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, ...) (*unstructured.Unstructured, error)
- func (m *MockClient) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
- func (m *MockClient) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(ctx, opts interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Watch(ctx, opts interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Create ¶
func (m *MockClient) Create(ctx context.Context, obj *unstructured.Unstructured, options v1.CreateOptions, subresources ...string) (*unstructured.Unstructured, error)
Create mocks base method
func (*MockClient) Delete ¶
func (m *MockClient) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error
Delete mocks base method
func (*MockClient) DeleteCollection ¶
func (m *MockClient) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶
func (m *MockClient) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)
Get mocks base method
func (*MockClient) List ¶
func (m *MockClient) List(ctx context.Context, opts v1.ListOptions) (*unstructured.UnstructuredList, error)
List mocks base method
func (*MockClient) Update ¶
func (m *MockClient) Update(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions, subresources ...string) (*unstructured.Unstructured, error)
Update mocks base method
func (*MockClient) UpdateStatus ¶
func (m *MockClient) UpdateStatus(ctx context.Context, obj *unstructured.Unstructured, options v1.UpdateOptions) (*unstructured.Unstructured, error)
UpdateStatus mocks base method
func (*MockClient) Watch ¶
func (m *MockClient) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Create ¶
func (mr *MockClientMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockClientMockRecorder) DeleteCollection ¶
func (mr *MockClientMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(ctx, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClientMockRecorder) Update ¶
func (mr *MockClientMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockClientMockRecorder) UpdateStatus ¶
func (mr *MockClientMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call
UpdateStatus indicates an expected call of UpdateStatus
func (*MockClientMockRecorder) Watch ¶
func (mr *MockClientMockRecorder) Watch(ctx, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch