mock_api

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApi

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

MockApi is a mock of Api interface.

func NewMockApi

func NewMockApi(ctrl *gomock.Controller) *MockApi

NewMockApi creates a new mock instance.

func (*MockApi) EXPECT

func (m *MockApi) EXPECT() *MockApiMockRecorder

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

func (*MockApi) Listen

func (m *MockApi) Listen(port string) error

Listen mocks base method.

func (*MockApi) Test

func (m *MockApi) Test(req *http.Request, msTimeout ...int) (*http.Response, error)

Test mocks base method.

type MockApiMockRecorder

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

MockApiMockRecorder is the mock recorder for MockApi.

func (*MockApiMockRecorder) Listen

func (mr *MockApiMockRecorder) Listen(port interface{}) *gomock.Call

Listen indicates an expected call of Listen.

func (*MockApiMockRecorder) Test

func (mr *MockApiMockRecorder) Test(req interface{}, msTimeout ...interface{}) *gomock.Call

Test indicates an expected call of Test.

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) AdjustEndpoints

func (m *MockProvider) AdjustEndpoints(endpoints []*endpoint.Endpoint) []*endpoint.Endpoint

AdjustEndpoints mocks base method.

func (*MockProvider) ApplyChanges

func (m *MockProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error

ApplyChanges mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) GetDomainFilter

func (m *MockProvider) GetDomainFilter() endpoint.DomainFilter

GetDomainFilter mocks base method.

func (*MockProvider) Records

func (m *MockProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)

Records mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) AdjustEndpoints

func (mr *MockProviderMockRecorder) AdjustEndpoints(endpoints interface{}) *gomock.Call

AdjustEndpoints indicates an expected call of AdjustEndpoints.

func (*MockProviderMockRecorder) ApplyChanges

func (mr *MockProviderMockRecorder) ApplyChanges(ctx, changes interface{}) *gomock.Call

ApplyChanges indicates an expected call of ApplyChanges.

func (*MockProviderMockRecorder) GetDomainFilter

func (mr *MockProviderMockRecorder) GetDomainFilter() *gomock.Call

GetDomainFilter indicates an expected call of GetDomainFilter.

func (*MockProviderMockRecorder) Records

func (mr *MockProviderMockRecorder) Records(ctx interface{}) *gomock.Call

Records indicates an expected call of Records.

Jump to

Keyboard shortcuts

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