mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks 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) SetRecord

func (m *MockAPI) SetRecord(arg0 context.Context, arg1 provider.DNSRecord) error

SetRecord mocks base method

type MockAPIMockRecorder

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

MockAPIMockRecorder is the mock recorder for MockAPI

func (*MockAPIMockRecorder) SetRecord

func (mr *MockAPIMockRecorder) SetRecord(arg0, arg1 interface{}) *gomock.Call

SetRecord indicates an expected call of SetRecord

type MockCloudflareAPIInterface

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

MockCloudflareAPIInterface is a mock of CloudflareAPIInterface interface

func NewMockCloudflareAPIInterface

func NewMockCloudflareAPIInterface(ctrl *gomock.Controller) *MockCloudflareAPIInterface

NewMockCloudflareAPIInterface creates a new mock instance

func (*MockCloudflareAPIInterface) CreateDNSRecord

CreateDNSRecord mocks base method

func (*MockCloudflareAPIInterface) DNSRecords

DNSRecords mocks base method

func (*MockCloudflareAPIInterface) EXPECT

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

func (*MockCloudflareAPIInterface) UpdateDNSRecord

func (m *MockCloudflareAPIInterface) UpdateDNSRecord(arg0 context.Context, arg1, arg2 string, arg3 cloudflare.DNSRecord) error

UpdateDNSRecord mocks base method

func (*MockCloudflareAPIInterface) ZoneIDByName

func (m *MockCloudflareAPIInterface) ZoneIDByName(arg0 string) (string, error)

ZoneIDByName mocks base method

type MockCloudflareAPIInterfaceMockRecorder

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

MockCloudflareAPIInterfaceMockRecorder is the mock recorder for MockCloudflareAPIInterface

func (*MockCloudflareAPIInterfaceMockRecorder) CreateDNSRecord

func (mr *MockCloudflareAPIInterfaceMockRecorder) CreateDNSRecord(arg0, arg1, arg2 interface{}) *gomock.Call

CreateDNSRecord indicates an expected call of CreateDNSRecord

func (*MockCloudflareAPIInterfaceMockRecorder) DNSRecords

func (mr *MockCloudflareAPIInterfaceMockRecorder) DNSRecords(arg0, arg1, arg2 interface{}) *gomock.Call

DNSRecords indicates an expected call of DNSRecords

func (*MockCloudflareAPIInterfaceMockRecorder) UpdateDNSRecord

func (mr *MockCloudflareAPIInterfaceMockRecorder) UpdateDNSRecord(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateDNSRecord indicates an expected call of UpdateDNSRecord

func (*MockCloudflareAPIInterfaceMockRecorder) ZoneIDByName

func (mr *MockCloudflareAPIInterfaceMockRecorder) ZoneIDByName(arg0 interface{}) *gomock.Call

ZoneIDByName indicates an expected call of ZoneIDByName

Jump to

Keyboard shortcuts

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