mocks

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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) AccountMembers

AccountMembers mocks base method.

func (*MockApi) Accounts

Accounts mocks base method.

func (*MockApi) DNSRecords

func (m *MockApi) DNSRecords(arg0 context.Context, arg1 string, arg2 cloudflare.DNSRecord) ([]cloudflare.DNSRecord, error)

DNSRecords mocks base method.

func (*MockApi) EXPECT

func (m *MockApi) EXPECT() *MockApiMockRecorder

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

func (*MockApi) ListCertificatePacks added in v0.1.2

func (m *MockApi) ListCertificatePacks(arg0 context.Context, arg1 string) ([]cloudflare.CertificatePack, error)

ListCertificatePacks mocks base method.

func (*MockApi) ListImages added in v0.1.3

func (m *MockApi) ListImages(arg0 context.Context, arg1 string, arg2 cloudflare.PaginationOptions) ([]cloudflare.Image, error)

ListImages mocks base method.

func (*MockApi) ListWAFGroups added in v0.1.2

func (m *MockApi) ListWAFGroups(arg0 context.Context, arg1, arg2 string) ([]cloudflare.WAFGroup, error)

ListWAFGroups mocks base method.

func (*MockApi) ListWAFOverrides added in v0.1.3

func (m *MockApi) ListWAFOverrides(arg0 context.Context, arg1 string) ([]cloudflare.WAFOverride, error)

ListWAFOverrides mocks base method.

func (*MockApi) ListWAFPackages added in v0.1.2

func (m *MockApi) ListWAFPackages(arg0 context.Context, arg1 string) ([]cloudflare.WAFPackage, error)

ListWAFPackages mocks base method.

func (*MockApi) ListWAFRules added in v0.1.2

func (m *MockApi) ListWAFRules(arg0 context.Context, arg1, arg2 string) ([]cloudflare.WAFRule, error)

ListWAFRules mocks base method.

func (*MockApi) ListWorkerCronTriggers added in v0.1.2

func (m *MockApi) ListWorkerCronTriggers(arg0 context.Context, arg1, arg2 string) ([]cloudflare.WorkerCronTrigger, error)

ListWorkerCronTriggers mocks base method.

func (*MockApi) ListWorkerRoutes added in v0.1.2

func (m *MockApi) ListWorkerRoutes(arg0 context.Context, arg1 string) (cloudflare.WorkerRoutesResponse, error)

ListWorkerRoutes mocks base method.

func (*MockApi) ListWorkerScripts added in v0.1.2

func (m *MockApi) ListWorkerScripts(arg0 context.Context) (cloudflare.WorkerListResponse, error)

ListWorkerScripts mocks base method.

func (*MockApi) ListWorkersSecrets added in v0.1.2

func (m *MockApi) ListWorkersSecrets(arg0 context.Context, arg1 string) (cloudflare.WorkersListSecretsResponse, error)

ListWorkersSecrets mocks base method.

func (*MockApi) ListZonesContext

func (m *MockApi) ListZonesContext(arg0 context.Context, arg1 ...cloudflare.ReqOption) (cloudflare.ZonesResponse, error)

ListZonesContext mocks base method.

func (*MockApi) ZoneLevelAccessGroups added in v0.1.2

func (m *MockApi) ZoneLevelAccessGroups(arg0 context.Context, arg1 string, arg2 cloudflare.PaginationOptions) ([]cloudflare.AccessGroup, cloudflare.ResultInfo, error)

ZoneLevelAccessGroups mocks base method.

type MockApiMockRecorder

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

MockApiMockRecorder is the mock recorder for MockApi.

func (*MockApiMockRecorder) AccountMembers

func (mr *MockApiMockRecorder) AccountMembers(arg0, arg1, arg2 interface{}) *gomock.Call

AccountMembers indicates an expected call of AccountMembers.

func (*MockApiMockRecorder) Accounts

func (mr *MockApiMockRecorder) Accounts(arg0, arg1 interface{}) *gomock.Call

Accounts indicates an expected call of Accounts.

func (*MockApiMockRecorder) DNSRecords

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

DNSRecords indicates an expected call of DNSRecords.

func (*MockApiMockRecorder) ListCertificatePacks added in v0.1.2

func (mr *MockApiMockRecorder) ListCertificatePacks(arg0, arg1 interface{}) *gomock.Call

ListCertificatePacks indicates an expected call of ListCertificatePacks.

func (*MockApiMockRecorder) ListImages added in v0.1.3

func (mr *MockApiMockRecorder) ListImages(arg0, arg1, arg2 interface{}) *gomock.Call

ListImages indicates an expected call of ListImages.

func (*MockApiMockRecorder) ListWAFGroups added in v0.1.2

func (mr *MockApiMockRecorder) ListWAFGroups(arg0, arg1, arg2 interface{}) *gomock.Call

ListWAFGroups indicates an expected call of ListWAFGroups.

func (*MockApiMockRecorder) ListWAFOverrides added in v0.1.3

func (mr *MockApiMockRecorder) ListWAFOverrides(arg0, arg1 interface{}) *gomock.Call

ListWAFOverrides indicates an expected call of ListWAFOverrides.

func (*MockApiMockRecorder) ListWAFPackages added in v0.1.2

func (mr *MockApiMockRecorder) ListWAFPackages(arg0, arg1 interface{}) *gomock.Call

ListWAFPackages indicates an expected call of ListWAFPackages.

func (*MockApiMockRecorder) ListWAFRules added in v0.1.2

func (mr *MockApiMockRecorder) ListWAFRules(arg0, arg1, arg2 interface{}) *gomock.Call

ListWAFRules indicates an expected call of ListWAFRules.

func (*MockApiMockRecorder) ListWorkerCronTriggers added in v0.1.2

func (mr *MockApiMockRecorder) ListWorkerCronTriggers(arg0, arg1, arg2 interface{}) *gomock.Call

ListWorkerCronTriggers indicates an expected call of ListWorkerCronTriggers.

func (*MockApiMockRecorder) ListWorkerRoutes added in v0.1.2

func (mr *MockApiMockRecorder) ListWorkerRoutes(arg0, arg1 interface{}) *gomock.Call

ListWorkerRoutes indicates an expected call of ListWorkerRoutes.

func (*MockApiMockRecorder) ListWorkerScripts added in v0.1.2

func (mr *MockApiMockRecorder) ListWorkerScripts(arg0 interface{}) *gomock.Call

ListWorkerScripts indicates an expected call of ListWorkerScripts.

func (*MockApiMockRecorder) ListWorkersSecrets added in v0.1.2

func (mr *MockApiMockRecorder) ListWorkersSecrets(arg0, arg1 interface{}) *gomock.Call

ListWorkersSecrets indicates an expected call of ListWorkersSecrets.

func (*MockApiMockRecorder) ListZonesContext

func (mr *MockApiMockRecorder) ListZonesContext(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListZonesContext indicates an expected call of ListZonesContext.

func (*MockApiMockRecorder) ZoneLevelAccessGroups added in v0.1.2

func (mr *MockApiMockRecorder) ZoneLevelAccessGroups(arg0, arg1, arg2 interface{}) *gomock.Call

ZoneLevelAccessGroups indicates an expected call of ZoneLevelAccessGroups.

Jump to

Keyboard shortcuts

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