mock_net

package
v0.0.0-...-83af607 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_net is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDNSIClient

type MockDNSIClient struct {
	// contains filtered or unexported fields
}

MockDNSIClient is a mock of DNSIClient interface.

func NewMockDNSIClient

func NewMockDNSIClient(ctrl *gomock.Controller) *MockDNSIClient

NewMockDNSIClient creates a new mock instance.

func (*MockDNSIClient) Apply

Apply mocks base method.

func (*MockDNSIClient) ApplyStatus

func (m *MockDNSIClient) ApplyStatus(ctx context.Context, dNS *v10.DNSApplyConfiguration, opts v11.ApplyOptions) (*v1.DNS, error)

ApplyStatus mocks base method.

func (*MockDNSIClient) Create

func (m *MockDNSIClient) Create(ctx context.Context, dNS *v1.DNS, opts v11.CreateOptions) (*v1.DNS, error)

Create mocks base method.

func (*MockDNSIClient) Delete

func (m *MockDNSIClient) Delete(ctx context.Context, name string, opts v11.DeleteOptions) error

Delete mocks base method.

func (*MockDNSIClient) DeleteCollection

func (m *MockDNSIClient) DeleteCollection(ctx context.Context, opts v11.DeleteOptions, listOpts v11.ListOptions) error

DeleteCollection mocks base method.

func (*MockDNSIClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDNSIClient) Get

func (m *MockDNSIClient) Get(ctx context.Context, name string, opts v11.GetOptions) (*v1.DNS, error)

Get mocks base method.

func (*MockDNSIClient) List

func (m *MockDNSIClient) List(ctx context.Context, opts v11.ListOptions) (*v1.DNSList, error)

List mocks base method.

func (*MockDNSIClient) Patch

func (m *MockDNSIClient) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v11.PatchOptions, subresources ...string) (*v1.DNS, error)

Patch mocks base method.

func (*MockDNSIClient) Update

func (m *MockDNSIClient) Update(ctx context.Context, dNS *v1.DNS, opts v11.UpdateOptions) (*v1.DNS, error)

Update mocks base method.

func (*MockDNSIClient) UpdateStatus

func (m *MockDNSIClient) UpdateStatus(ctx context.Context, dNS *v1.DNS, opts v11.UpdateOptions) (*v1.DNS, error)

UpdateStatus mocks base method.

func (*MockDNSIClient) Watch

Watch mocks base method.

type MockDNSIClientMockRecorder

type MockDNSIClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDNSIClientMockRecorder is the mock recorder for MockDNSIClient.

func (*MockDNSIClientMockRecorder) Apply

func (mr *MockDNSIClientMockRecorder) Apply(ctx, dNS, opts any) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockDNSIClientMockRecorder) ApplyStatus

func (mr *MockDNSIClientMockRecorder) ApplyStatus(ctx, dNS, opts any) *gomock.Call

ApplyStatus indicates an expected call of ApplyStatus.

func (*MockDNSIClientMockRecorder) Create

func (mr *MockDNSIClientMockRecorder) Create(ctx, dNS, opts any) *gomock.Call

Create indicates an expected call of Create.

func (*MockDNSIClientMockRecorder) Delete

func (mr *MockDNSIClientMockRecorder) Delete(ctx, name, opts any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDNSIClientMockRecorder) DeleteCollection

func (mr *MockDNSIClientMockRecorder) DeleteCollection(ctx, opts, listOpts any) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockDNSIClientMockRecorder) Get

func (mr *MockDNSIClientMockRecorder) Get(ctx, name, opts any) *gomock.Call

Get indicates an expected call of Get.

func (*MockDNSIClientMockRecorder) List

func (mr *MockDNSIClientMockRecorder) List(ctx, opts any) *gomock.Call

List indicates an expected call of List.

func (*MockDNSIClientMockRecorder) Patch

func (mr *MockDNSIClientMockRecorder) Patch(ctx, name, pt, data, opts any, subresources ...any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockDNSIClientMockRecorder) Update

func (mr *MockDNSIClientMockRecorder) Update(ctx, dNS, opts any) *gomock.Call

Update indicates an expected call of Update.

func (*MockDNSIClientMockRecorder) UpdateStatus

func (mr *MockDNSIClientMockRecorder) UpdateStatus(ctx, dNS, opts any) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockDNSIClientMockRecorder) Watch

func (mr *MockDNSIClientMockRecorder) Watch(ctx, opts any) *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