mock_client

package
v0.0.0-...-21498a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL