mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 3 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 MockDeviceService

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

MockDeviceService is a mock of DeviceService interface.

func NewMockDeviceService

func NewMockDeviceService(ctrl *gomock.Controller) *MockDeviceService

NewMockDeviceService creates a new mock instance.

func (*MockDeviceService) Create

Create mocks base method.

func (*MockDeviceService) Delete

func (m *MockDeviceService) Delete(arg0 string, arg1 bool) (*packngo.Response, error)

Delete mocks base method.

func (*MockDeviceService) EXPECT

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

func (*MockDeviceService) Get

Get mocks base method.

func (*MockDeviceService) GetBandwidth

GetBandwidth mocks base method.

func (*MockDeviceService) List

List mocks base method.

func (*MockDeviceService) ListBGPNeighbors

func (m *MockDeviceService) ListBGPNeighbors(arg0 string, arg1 *packngo.GetOptions) ([]packngo.BGPNeighbor, *packngo.Response, error)

ListBGPNeighbors mocks base method.

func (*MockDeviceService) ListBGPSessions

func (m *MockDeviceService) ListBGPSessions(arg0 string, arg1 *packngo.GetOptions) ([]packngo.BGPSession, *packngo.Response, error)

ListBGPSessions mocks base method.

func (*MockDeviceService) ListEvents

func (m *MockDeviceService) ListEvents(arg0 string, arg1 *packngo.GetOptions) ([]packngo.Event, *packngo.Response, error)

ListEvents mocks base method.

func (*MockDeviceService) Lock

func (m *MockDeviceService) Lock(arg0 string) (*packngo.Response, error)

Lock mocks base method.

func (*MockDeviceService) PowerOff

func (m *MockDeviceService) PowerOff(arg0 string) (*packngo.Response, error)

PowerOff mocks base method.

func (*MockDeviceService) PowerOn

func (m *MockDeviceService) PowerOn(arg0 string) (*packngo.Response, error)

PowerOn mocks base method.

func (*MockDeviceService) Reboot

func (m *MockDeviceService) Reboot(arg0 string) (*packngo.Response, error)

Reboot mocks base method.

func (*MockDeviceService) Reinstall

Reinstall mocks base method.

func (*MockDeviceService) Unlock

func (m *MockDeviceService) Unlock(arg0 string) (*packngo.Response, error)

Unlock mocks base method.

func (*MockDeviceService) Update

Update mocks base method.

type MockDeviceServiceMockRecorder

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

MockDeviceServiceMockRecorder is the mock recorder for MockDeviceService.

func (*MockDeviceServiceMockRecorder) Create

func (mr *MockDeviceServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockDeviceServiceMockRecorder) Delete

func (mr *MockDeviceServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDeviceServiceMockRecorder) Get

func (mr *MockDeviceServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockDeviceServiceMockRecorder) GetBandwidth

func (mr *MockDeviceServiceMockRecorder) GetBandwidth(arg0, arg1 interface{}) *gomock.Call

GetBandwidth indicates an expected call of GetBandwidth.

func (*MockDeviceServiceMockRecorder) List

func (mr *MockDeviceServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockDeviceServiceMockRecorder) ListBGPNeighbors

func (mr *MockDeviceServiceMockRecorder) ListBGPNeighbors(arg0, arg1 interface{}) *gomock.Call

ListBGPNeighbors indicates an expected call of ListBGPNeighbors.

func (*MockDeviceServiceMockRecorder) ListBGPSessions

func (mr *MockDeviceServiceMockRecorder) ListBGPSessions(arg0, arg1 interface{}) *gomock.Call

ListBGPSessions indicates an expected call of ListBGPSessions.

func (*MockDeviceServiceMockRecorder) ListEvents

func (mr *MockDeviceServiceMockRecorder) ListEvents(arg0, arg1 interface{}) *gomock.Call

ListEvents indicates an expected call of ListEvents.

func (*MockDeviceServiceMockRecorder) Lock

func (mr *MockDeviceServiceMockRecorder) Lock(arg0 interface{}) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockDeviceServiceMockRecorder) PowerOff

func (mr *MockDeviceServiceMockRecorder) PowerOff(arg0 interface{}) *gomock.Call

PowerOff indicates an expected call of PowerOff.

func (*MockDeviceServiceMockRecorder) PowerOn

func (mr *MockDeviceServiceMockRecorder) PowerOn(arg0 interface{}) *gomock.Call

PowerOn indicates an expected call of PowerOn.

func (*MockDeviceServiceMockRecorder) Reboot

func (mr *MockDeviceServiceMockRecorder) Reboot(arg0 interface{}) *gomock.Call

Reboot indicates an expected call of Reboot.

func (*MockDeviceServiceMockRecorder) Reinstall

func (mr *MockDeviceServiceMockRecorder) Reinstall(arg0, arg1 interface{}) *gomock.Call

Reinstall indicates an expected call of Reinstall.

func (*MockDeviceServiceMockRecorder) Unlock

func (mr *MockDeviceServiceMockRecorder) Unlock(arg0 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock.

func (*MockDeviceServiceMockRecorder) Update

func (mr *MockDeviceServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockOSService

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

MockOSService is a mock of OSService interface.

func NewMockOSService

func NewMockOSService(ctrl *gomock.Controller) *MockOSService

NewMockOSService creates a new mock instance.

func (*MockOSService) EXPECT

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

func (*MockOSService) List

func (m *MockOSService) List() ([]packngo.OS, *packngo.Response, error)

List mocks base method.

type MockOSServiceMockRecorder

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

MockOSServiceMockRecorder is the mock recorder for MockOSService.

func (*MockOSServiceMockRecorder) List

List indicates an expected call of List.

type MockPlanService

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

MockPlanService is a mock of PlanService interface.

func NewMockPlanService

func NewMockPlanService(ctrl *gomock.Controller) *MockPlanService

NewMockPlanService creates a new mock instance.

func (*MockPlanService) EXPECT

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

func (*MockPlanService) List

List mocks base method.

func (*MockPlanService) OrganizationList

func (m *MockPlanService) OrganizationList(arg0 string, arg1 *packngo.GetOptions) ([]packngo.Plan, *packngo.Response, error)

OrganizationList mocks base method.

func (*MockPlanService) ProjectList

func (m *MockPlanService) ProjectList(arg0 string, arg1 *packngo.GetOptions) ([]packngo.Plan, *packngo.Response, error)

ProjectList mocks base method.

type MockPlanServiceMockRecorder

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

MockPlanServiceMockRecorder is the mock recorder for MockPlanService.

func (*MockPlanServiceMockRecorder) List

func (mr *MockPlanServiceMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockPlanServiceMockRecorder) OrganizationList

func (mr *MockPlanServiceMockRecorder) OrganizationList(arg0, arg1 interface{}) *gomock.Call

OrganizationList indicates an expected call of OrganizationList.

func (*MockPlanServiceMockRecorder) ProjectList

func (mr *MockPlanServiceMockRecorder) ProjectList(arg0, arg1 interface{}) *gomock.Call

ProjectList indicates an expected call of ProjectList.

type MockProjectIPService

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

MockProjectIPService is a mock of ProjectIPService interface.

func NewMockProjectIPService

func NewMockProjectIPService(ctrl *gomock.Controller) *MockProjectIPService

NewMockProjectIPService creates a new mock instance.

func (*MockProjectIPService) AvailableAddresses

func (m *MockProjectIPService) AvailableAddresses(arg0 string, arg1 *packngo.AvailableRequest) ([]string, *packngo.Response, error)

AvailableAddresses mocks base method.

func (*MockProjectIPService) EXPECT

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

func (*MockProjectIPService) Get

Get mocks base method.

func (*MockProjectIPService) List

List mocks base method.

func (*MockProjectIPService) Remove

func (m *MockProjectIPService) Remove(arg0 string) (*packngo.Response, error)

Remove mocks base method.

func (*MockProjectIPService) Request

Request mocks base method.

type MockProjectIPServiceMockRecorder

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

MockProjectIPServiceMockRecorder is the mock recorder for MockProjectIPService.

func (*MockProjectIPServiceMockRecorder) AvailableAddresses

func (mr *MockProjectIPServiceMockRecorder) AvailableAddresses(arg0, arg1 interface{}) *gomock.Call

AvailableAddresses indicates an expected call of AvailableAddresses.

func (*MockProjectIPServiceMockRecorder) Get

func (mr *MockProjectIPServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockProjectIPServiceMockRecorder) List

func (mr *MockProjectIPServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockProjectIPServiceMockRecorder) Remove

func (mr *MockProjectIPServiceMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockProjectIPServiceMockRecorder) Request

func (mr *MockProjectIPServiceMockRecorder) Request(arg0, arg1 interface{}) *gomock.Call

Request indicates an expected call of Request.

Jump to

Keyboard shortcuts

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