apimock

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package apimock 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) AddEndpoint

func (m *MockClient) AddEndpoint(arg0 context.Context, arg1 api.AddEndpointParams) (api.Endpoint, error)

AddEndpoint 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) Failover

func (m *MockClient) Failover(arg0 context.Context, arg1 string) error

Failover mocks base method.

func (*MockClient) GetEndpoint

func (m *MockClient) GetEndpoint(arg0 context.Context, arg1 string) (api.Endpoint, error)

GetEndpoint mocks base method.

func (*MockClient) GetEndpointHosts

func (m *MockClient) GetEndpointHosts(arg0 context.Context, arg1 string) ([]api.Host, error)

GetEndpointHosts mocks base method.

func (*MockClient) ListEndpoints

func (m *MockClient) ListEndpoints(arg0 context.Context) ([]api.Endpoint, error)

ListEndpoints mocks base method.

func (*MockClient) RemoveEndpoint

func (m *MockClient) RemoveEndpoint(arg0 context.Context, arg1 string) error

RemoveEndpoint mocks base method.

func (*MockClient) RotateEncryptionKey added in v3.1.0

func (m *MockClient) RotateEncryptionKey(arg0 context.Context) error

RotateEncryptionKey mocks base method.

func (*MockClient) UpdateEndpoint

func (m *MockClient) UpdateEndpoint(arg0 context.Context, arg1 string, arg2 api.UpdateEndpointParams) (api.Endpoint, error)

UpdateEndpoint mocks base method.

func (*MockClient) Version

func (m *MockClient) Version(arg0 context.Context) (string, error)

Version mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AddEndpoint

func (mr *MockClientMockRecorder) AddEndpoint(arg0, arg1 interface{}) *gomock.Call

AddEndpoint indicates an expected call of AddEndpoint.

func (*MockClientMockRecorder) Failover

func (mr *MockClientMockRecorder) Failover(arg0, arg1 interface{}) *gomock.Call

Failover indicates an expected call of Failover.

func (*MockClientMockRecorder) GetEndpoint

func (mr *MockClientMockRecorder) GetEndpoint(arg0, arg1 interface{}) *gomock.Call

GetEndpoint indicates an expected call of GetEndpoint.

func (*MockClientMockRecorder) GetEndpointHosts

func (mr *MockClientMockRecorder) GetEndpointHosts(arg0, arg1 interface{}) *gomock.Call

GetEndpointHosts indicates an expected call of GetEndpointHosts.

func (*MockClientMockRecorder) ListEndpoints

func (mr *MockClientMockRecorder) ListEndpoints(arg0 interface{}) *gomock.Call

ListEndpoints indicates an expected call of ListEndpoints.

func (*MockClientMockRecorder) RemoveEndpoint

func (mr *MockClientMockRecorder) RemoveEndpoint(arg0, arg1 interface{}) *gomock.Call

RemoveEndpoint indicates an expected call of RemoveEndpoint.

func (*MockClientMockRecorder) RotateEncryptionKey added in v3.1.0

func (mr *MockClientMockRecorder) RotateEncryptionKey(arg0 interface{}) *gomock.Call

RotateEncryptionKey indicates an expected call of RotateEncryptionKey.

func (*MockClientMockRecorder) UpdateEndpoint

func (mr *MockClientMockRecorder) UpdateEndpoint(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateEndpoint indicates an expected call of UpdateEndpoint.

func (*MockClientMockRecorder) Version

func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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