mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAccountService

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

MockAccountService is a mock of AccountService interface.

func NewMockAccountService

func NewMockAccountService(ctrl *gomock.Controller) *MockAccountService

NewMockAccountService creates a new mock instance.

func (*MockAccountService) EXPECT

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

func (*MockAccountService) Get

func (m *MockAccountService) Get() (*bl.Account, error)

Get mocks base method.

func (*MockAccountService) RateLimit

func (m *MockAccountService) RateLimit() (*bl.RateLimit, error)

RateLimit mocks base method.

type MockAccountServiceMockRecorder

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

MockAccountServiceMockRecorder is the mock recorder for MockAccountService.

func (*MockAccountServiceMockRecorder) Get

Get indicates an expected call of Get.

func (*MockAccountServiceMockRecorder) RateLimit

func (mr *MockAccountServiceMockRecorder) RateLimit() *gomock.Call

RateLimit indicates an expected call of RateLimit.

type MockActionsService

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

MockActionsService is a mock of ActionsService interface.

func NewMockActionsService

func NewMockActionsService(ctrl *gomock.Controller) *MockActionsService

NewMockActionsService creates a new mock instance.

func (*MockActionsService) EXPECT

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

func (*MockActionsService) Get

func (m *MockActionsService) Get(arg0 int) (*bl.Action, error)

Get mocks base method.

func (*MockActionsService) List

func (m *MockActionsService) List() (bl.Actions, error)

List mocks base method.

type MockActionsServiceMockRecorder

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

MockActionsServiceMockRecorder is the mock recorder for MockActionsService.

func (*MockActionsServiceMockRecorder) Get

func (mr *MockActionsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockActionsServiceMockRecorder) List

List indicates an expected call of List.

type MockBalanceService

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

MockBalanceService is a mock of BalanceService interface.

func NewMockBalanceService

func NewMockBalanceService(ctrl *gomock.Controller) *MockBalanceService

NewMockBalanceService creates a new mock instance.

func (*MockBalanceService) EXPECT

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

func (*MockBalanceService) Get

func (m *MockBalanceService) Get() (*bl.Balance, error)

Get mocks base method.

type MockBalanceServiceMockRecorder

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

MockBalanceServiceMockRecorder is the mock recorder for MockBalanceService.

func (*MockBalanceServiceMockRecorder) Get

Get indicates an expected call of Get.

type MockBillingHistoryService

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

MockBillingHistoryService is a mock of BillingHistoryService interface.

func NewMockBillingHistoryService

func NewMockBillingHistoryService(ctrl *gomock.Controller) *MockBillingHistoryService

NewMockBillingHistoryService creates a new mock instance.

func (*MockBillingHistoryService) EXPECT

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

func (*MockBillingHistoryService) List

List mocks base method.

type MockBillingHistoryServiceMockRecorder

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

MockBillingHistoryServiceMockRecorder is the mock recorder for MockBillingHistoryService.

func (*MockBillingHistoryServiceMockRecorder) List

List indicates an expected call of List.

type MockDomainsService

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

MockDomainsService is a mock of DomainsService interface.

func NewMockDomainsService

func NewMockDomainsService(ctrl *gomock.Controller) *MockDomainsService

NewMockDomainsService creates a new mock instance.

func (*MockDomainsService) Create

Create mocks base method.

func (*MockDomainsService) CreateRecord

func (m *MockDomainsService) CreateRecord(arg0 string, arg1 *bl.DomainRecordEditRequest) (*bl.DomainRecord, error)

CreateRecord mocks base method.

func (*MockDomainsService) Delete

func (m *MockDomainsService) Delete(arg0 string) error

Delete mocks base method.

func (*MockDomainsService) DeleteRecord

func (m *MockDomainsService) DeleteRecord(arg0 string, arg1 int) error

DeleteRecord mocks base method.

func (*MockDomainsService) EXPECT

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

func (*MockDomainsService) EditRecord

func (m *MockDomainsService) EditRecord(arg0 string, arg1 int, arg2 *bl.DomainRecordEditRequest) (*bl.DomainRecord, error)

EditRecord mocks base method.

func (*MockDomainsService) Get

func (m *MockDomainsService) Get(arg0 string) (*bl.Domain, error)

Get mocks base method.

func (*MockDomainsService) List

func (m *MockDomainsService) List() (bl.Domains, error)

List mocks base method.

func (*MockDomainsService) Record

func (m *MockDomainsService) Record(arg0 string, arg1 int) (*bl.DomainRecord, error)

Record mocks base method.

func (*MockDomainsService) Records

func (m *MockDomainsService) Records(arg0 string) (bl.DomainRecords, error)

Records mocks base method.

type MockDomainsServiceMockRecorder

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

MockDomainsServiceMockRecorder is the mock recorder for MockDomainsService.

func (*MockDomainsServiceMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockDomainsServiceMockRecorder) CreateRecord

func (mr *MockDomainsServiceMockRecorder) CreateRecord(arg0, arg1 interface{}) *gomock.Call

CreateRecord indicates an expected call of CreateRecord.

func (*MockDomainsServiceMockRecorder) Delete

func (mr *MockDomainsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDomainsServiceMockRecorder) DeleteRecord

func (mr *MockDomainsServiceMockRecorder) DeleteRecord(arg0, arg1 interface{}) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockDomainsServiceMockRecorder) EditRecord

func (mr *MockDomainsServiceMockRecorder) EditRecord(arg0, arg1, arg2 interface{}) *gomock.Call

EditRecord indicates an expected call of EditRecord.

func (*MockDomainsServiceMockRecorder) Get

func (mr *MockDomainsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockDomainsServiceMockRecorder) List

List indicates an expected call of List.

func (*MockDomainsServiceMockRecorder) Record

func (mr *MockDomainsServiceMockRecorder) Record(arg0, arg1 interface{}) *gomock.Call

Record indicates an expected call of Record.

func (*MockDomainsServiceMockRecorder) Records

func (mr *MockDomainsServiceMockRecorder) Records(arg0 interface{}) *gomock.Call

Records indicates an expected call of Records.

type MockFirewallsService

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

MockFirewallsService is a mock of FirewallsService interface.

func NewMockFirewallsService

func NewMockFirewallsService(ctrl *gomock.Controller) *MockFirewallsService

NewMockFirewallsService creates a new mock instance.

func (*MockFirewallsService) AddRules

AddRules mocks base method.

func (*MockFirewallsService) AddServers

func (m *MockFirewallsService) AddServers(fID string, sIDs ...int) error

AddServers mocks base method.

func (*MockFirewallsService) AddTags

func (m *MockFirewallsService) AddTags(fID string, tags ...string) error

AddTags mocks base method.

func (*MockFirewallsService) Create

Create mocks base method.

func (*MockFirewallsService) Delete

func (m *MockFirewallsService) Delete(fID string) error

Delete mocks base method.

func (*MockFirewallsService) EXPECT

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

func (*MockFirewallsService) Get

func (m *MockFirewallsService) Get(fID string) (*bl.Firewall, error)

Get mocks base method.

func (*MockFirewallsService) List

func (m *MockFirewallsService) List() (bl.Firewalls, error)

List mocks base method.

func (*MockFirewallsService) ListByServer

func (m *MockFirewallsService) ListByServer(sID int) (bl.Firewalls, error)

ListByServer mocks base method.

func (*MockFirewallsService) RemoveRules

RemoveRules mocks base method.

func (*MockFirewallsService) RemoveServers

func (m *MockFirewallsService) RemoveServers(fID string, sIDs ...int) error

RemoveServers mocks base method.

func (*MockFirewallsService) RemoveTags

func (m *MockFirewallsService) RemoveTags(fID string, tags ...string) error

RemoveTags mocks base method.

func (*MockFirewallsService) Update

Update mocks base method.

type MockFirewallsServiceMockRecorder

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

MockFirewallsServiceMockRecorder is the mock recorder for MockFirewallsService.

func (*MockFirewallsServiceMockRecorder) AddRules

func (mr *MockFirewallsServiceMockRecorder) AddRules(fID, rr interface{}) *gomock.Call

AddRules indicates an expected call of AddRules.

func (*MockFirewallsServiceMockRecorder) AddServers

func (mr *MockFirewallsServiceMockRecorder) AddServers(fID interface{}, sIDs ...interface{}) *gomock.Call

AddServers indicates an expected call of AddServers.

func (*MockFirewallsServiceMockRecorder) AddTags

func (mr *MockFirewallsServiceMockRecorder) AddTags(fID interface{}, tags ...interface{}) *gomock.Call

AddTags indicates an expected call of AddTags.

func (*MockFirewallsServiceMockRecorder) Create

func (mr *MockFirewallsServiceMockRecorder) Create(fr interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFirewallsServiceMockRecorder) Delete

func (mr *MockFirewallsServiceMockRecorder) Delete(fID interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFirewallsServiceMockRecorder) Get

func (mr *MockFirewallsServiceMockRecorder) Get(fID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFirewallsServiceMockRecorder) List

List indicates an expected call of List.

func (*MockFirewallsServiceMockRecorder) ListByServer

func (mr *MockFirewallsServiceMockRecorder) ListByServer(sID interface{}) *gomock.Call

ListByServer indicates an expected call of ListByServer.

func (*MockFirewallsServiceMockRecorder) RemoveRules

func (mr *MockFirewallsServiceMockRecorder) RemoveRules(fID, rr interface{}) *gomock.Call

RemoveRules indicates an expected call of RemoveRules.

func (*MockFirewallsServiceMockRecorder) RemoveServers

func (mr *MockFirewallsServiceMockRecorder) RemoveServers(fID interface{}, sIDs ...interface{}) *gomock.Call

RemoveServers indicates an expected call of RemoveServers.

func (*MockFirewallsServiceMockRecorder) RemoveTags

func (mr *MockFirewallsServiceMockRecorder) RemoveTags(fID interface{}, tags ...interface{}) *gomock.Call

RemoveTags indicates an expected call of RemoveTags.

func (*MockFirewallsServiceMockRecorder) Update

func (mr *MockFirewallsServiceMockRecorder) Update(fID, fr interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockFloatingIPActionsService

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

MockFloatingIPActionsService is a mock of FloatingIPActionsService interface.

func NewMockFloatingIPActionsService

func NewMockFloatingIPActionsService(ctrl *gomock.Controller) *MockFloatingIPActionsService

NewMockFloatingIPActionsService creates a new mock instance.

func (*MockFloatingIPActionsService) Assign

func (m *MockFloatingIPActionsService) Assign(ip string, serverID int) (*bl.Action, error)

Assign mocks base method.

func (*MockFloatingIPActionsService) EXPECT

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

func (*MockFloatingIPActionsService) Get

func (m *MockFloatingIPActionsService) Get(ip string, actionID int) (*bl.Action, error)

Get mocks base method.

func (*MockFloatingIPActionsService) List

List mocks base method.

func (*MockFloatingIPActionsService) Unassign

func (m *MockFloatingIPActionsService) Unassign(ip string) (*bl.Action, error)

Unassign mocks base method.

type MockFloatingIPActionsServiceMockRecorder

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

MockFloatingIPActionsServiceMockRecorder is the mock recorder for MockFloatingIPActionsService.

func (*MockFloatingIPActionsServiceMockRecorder) Assign

func (mr *MockFloatingIPActionsServiceMockRecorder) Assign(ip, serverID interface{}) *gomock.Call

Assign indicates an expected call of Assign.

func (*MockFloatingIPActionsServiceMockRecorder) Get

func (mr *MockFloatingIPActionsServiceMockRecorder) Get(ip, actionID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFloatingIPActionsServiceMockRecorder) List

func (mr *MockFloatingIPActionsServiceMockRecorder) List(ip, opt interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockFloatingIPActionsServiceMockRecorder) Unassign

func (mr *MockFloatingIPActionsServiceMockRecorder) Unassign(ip interface{}) *gomock.Call

Unassign indicates an expected call of Unassign.

type MockFloatingIPsService

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

MockFloatingIPsService is a mock of FloatingIPsService interface.

func NewMockFloatingIPsService

func NewMockFloatingIPsService(ctrl *gomock.Controller) *MockFloatingIPsService

NewMockFloatingIPsService creates a new mock instance.

func (*MockFloatingIPsService) Create

Create mocks base method.

func (*MockFloatingIPsService) Delete

func (m *MockFloatingIPsService) Delete(ip string) error

Delete mocks base method.

func (*MockFloatingIPsService) EXPECT

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

func (*MockFloatingIPsService) Get

Get mocks base method.

func (*MockFloatingIPsService) List

List mocks base method.

type MockFloatingIPsServiceMockRecorder

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

MockFloatingIPsServiceMockRecorder is the mock recorder for MockFloatingIPsService.

func (*MockFloatingIPsServiceMockRecorder) Create

func (mr *MockFloatingIPsServiceMockRecorder) Create(ficr interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFloatingIPsServiceMockRecorder) Delete

func (mr *MockFloatingIPsServiceMockRecorder) Delete(ip interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFloatingIPsServiceMockRecorder) Get

func (mr *MockFloatingIPsServiceMockRecorder) Get(ip interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFloatingIPsServiceMockRecorder) List

List indicates an expected call of List.

type MockImageActionsService

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

MockImageActionsService is a mock of ImageActionsService interface.

func NewMockImageActionsService

func NewMockImageActionsService(ctrl *gomock.Controller) *MockImageActionsService

NewMockImageActionsService creates a new mock instance.

func (*MockImageActionsService) Convert

func (m *MockImageActionsService) Convert(arg0 int) (*bl.Action, error)

Convert mocks base method.

func (*MockImageActionsService) EXPECT

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

func (*MockImageActionsService) Get

func (m *MockImageActionsService) Get(arg0, arg1 int) (*bl.Action, error)

Get mocks base method.

func (*MockImageActionsService) Transfer

func (m *MockImageActionsService) Transfer(arg0 int, arg1 *binarylane.ActionRequest) (*bl.Action, error)

Transfer mocks base method.

type MockImageActionsServiceMockRecorder

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

MockImageActionsServiceMockRecorder is the mock recorder for MockImageActionsService.

func (*MockImageActionsServiceMockRecorder) Convert

func (mr *MockImageActionsServiceMockRecorder) Convert(arg0 interface{}) *gomock.Call

Convert indicates an expected call of Convert.

func (*MockImageActionsServiceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockImageActionsServiceMockRecorder) Transfer

func (mr *MockImageActionsServiceMockRecorder) Transfer(arg0, arg1 interface{}) *gomock.Call

Transfer indicates an expected call of Transfer.

type MockImagesService

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

MockImagesService is a mock of ImagesService interface.

func NewMockImagesService

func NewMockImagesService(ctrl *gomock.Controller) *MockImagesService

NewMockImagesService creates a new mock instance.

func (*MockImagesService) Create

Create mocks base method.

func (*MockImagesService) Delete

func (m *MockImagesService) Delete(id int) error

Delete mocks base method.

func (*MockImagesService) EXPECT

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

func (*MockImagesService) GetByID

func (m *MockImagesService) GetByID(id int) (*bl.Image, error)

GetByID mocks base method.

func (*MockImagesService) GetBySlug

func (m *MockImagesService) GetBySlug(slug string) (*bl.Image, error)

GetBySlug mocks base method.

func (*MockImagesService) List

func (m *MockImagesService) List(public bool) (bl.Images, error)

List mocks base method.

func (*MockImagesService) ListApplication

func (m *MockImagesService) ListApplication(public bool) (bl.Images, error)

ListApplication mocks base method.

func (*MockImagesService) ListDistribution

func (m *MockImagesService) ListDistribution(public bool) (bl.Images, error)

ListDistribution mocks base method.

func (*MockImagesService) ListUser

func (m *MockImagesService) ListUser(public bool) (bl.Images, error)

ListUser mocks base method.

func (*MockImagesService) Update

Update mocks base method.

type MockImagesServiceMockRecorder

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

MockImagesServiceMockRecorder is the mock recorder for MockImagesService.

func (*MockImagesServiceMockRecorder) Create

func (mr *MockImagesServiceMockRecorder) Create(icr interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockImagesServiceMockRecorder) Delete

func (mr *MockImagesServiceMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockImagesServiceMockRecorder) GetByID

func (mr *MockImagesServiceMockRecorder) GetByID(id interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockImagesServiceMockRecorder) GetBySlug

func (mr *MockImagesServiceMockRecorder) GetBySlug(slug interface{}) *gomock.Call

GetBySlug indicates an expected call of GetBySlug.

func (*MockImagesServiceMockRecorder) List

func (mr *MockImagesServiceMockRecorder) List(public interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockImagesServiceMockRecorder) ListApplication

func (mr *MockImagesServiceMockRecorder) ListApplication(public interface{}) *gomock.Call

ListApplication indicates an expected call of ListApplication.

func (*MockImagesServiceMockRecorder) ListDistribution

func (mr *MockImagesServiceMockRecorder) ListDistribution(public interface{}) *gomock.Call

ListDistribution indicates an expected call of ListDistribution.

func (*MockImagesServiceMockRecorder) ListUser

func (mr *MockImagesServiceMockRecorder) ListUser(public interface{}) *gomock.Call

ListUser indicates an expected call of ListUser.

func (*MockImagesServiceMockRecorder) Update

func (mr *MockImagesServiceMockRecorder) Update(id, iur interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockInvoicesService

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

MockInvoicesService is a mock of InvoicesService interface.

func NewMockInvoicesService

func NewMockInvoicesService(ctrl *gomock.Controller) *MockInvoicesService

NewMockInvoicesService creates a new mock instance.

func (*MockInvoicesService) EXPECT

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

func (*MockInvoicesService) Get

func (m *MockInvoicesService) Get(arg0 string) (*bl.Invoice, error)

Get mocks base method.

func (*MockInvoicesService) GetCSV

func (m *MockInvoicesService) GetCSV(arg0 string) ([]byte, error)

GetCSV mocks base method.

func (*MockInvoicesService) GetPDF

func (m *MockInvoicesService) GetPDF(arg0 string) ([]byte, error)

GetPDF mocks base method.

func (*MockInvoicesService) GetSummary

func (m *MockInvoicesService) GetSummary(arg0 string) (*bl.InvoiceSummary, error)

GetSummary mocks base method.

func (*MockInvoicesService) List

func (m *MockInvoicesService) List() (*bl.InvoiceList, error)

List mocks base method.

type MockInvoicesServiceMockRecorder

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

MockInvoicesServiceMockRecorder is the mock recorder for MockInvoicesService.

func (*MockInvoicesServiceMockRecorder) Get

func (mr *MockInvoicesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockInvoicesServiceMockRecorder) GetCSV

func (mr *MockInvoicesServiceMockRecorder) GetCSV(arg0 interface{}) *gomock.Call

GetCSV indicates an expected call of GetCSV.

func (*MockInvoicesServiceMockRecorder) GetPDF

func (mr *MockInvoicesServiceMockRecorder) GetPDF(arg0 interface{}) *gomock.Call

GetPDF indicates an expected call of GetPDF.

func (*MockInvoicesServiceMockRecorder) GetSummary

func (mr *MockInvoicesServiceMockRecorder) GetSummary(arg0 interface{}) *gomock.Call

GetSummary indicates an expected call of GetSummary.

func (*MockInvoicesServiceMockRecorder) List

List indicates an expected call of List.

type MockKeysService

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

MockKeysService is a mock of KeysService interface.

func NewMockKeysService

func NewMockKeysService(ctrl *gomock.Controller) *MockKeysService

NewMockKeysService creates a new mock instance.

func (*MockKeysService) Create

Create mocks base method.

func (*MockKeysService) Delete

func (m *MockKeysService) Delete(id string) error

Delete mocks base method.

func (*MockKeysService) EXPECT

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

func (*MockKeysService) Get

func (m *MockKeysService) Get(id string) (*bl.SSHKey, error)

Get mocks base method.

func (*MockKeysService) List

func (m *MockKeysService) List() (bl.SSHKeys, error)

List mocks base method.

func (*MockKeysService) Update

Update mocks base method.

type MockKeysServiceMockRecorder

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

MockKeysServiceMockRecorder is the mock recorder for MockKeysService.

func (*MockKeysServiceMockRecorder) Create

func (mr *MockKeysServiceMockRecorder) Create(kcr interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockKeysServiceMockRecorder) Delete

func (mr *MockKeysServiceMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockKeysServiceMockRecorder) Get

func (mr *MockKeysServiceMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockKeysServiceMockRecorder) List

List indicates an expected call of List.

func (*MockKeysServiceMockRecorder) Update

func (mr *MockKeysServiceMockRecorder) Update(id, kur interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockLoadBalancersService

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

MockLoadBalancersService is a mock of LoadBalancersService interface.

func NewMockLoadBalancersService

func NewMockLoadBalancersService(ctrl *gomock.Controller) *MockLoadBalancersService

NewMockLoadBalancersService creates a new mock instance.

func (*MockLoadBalancersService) AddForwardingRules

func (m *MockLoadBalancersService) AddForwardingRules(lbID int, rules ...binarylane.ForwardingRule) error

AddForwardingRules mocks base method.

func (*MockLoadBalancersService) AddServers

func (m *MockLoadBalancersService) AddServers(lbID int, sIDs ...int) error

AddServers mocks base method.

func (*MockLoadBalancersService) Create

Create mocks base method.

func (*MockLoadBalancersService) Delete

func (m *MockLoadBalancersService) Delete(lbID int) error

Delete mocks base method.

func (*MockLoadBalancersService) EXPECT

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

func (*MockLoadBalancersService) Get

Get mocks base method.

func (*MockLoadBalancersService) List

List mocks base method.

func (*MockLoadBalancersService) RemoveForwardingRules

func (m *MockLoadBalancersService) RemoveForwardingRules(lbID int, rules ...binarylane.ForwardingRule) error

RemoveForwardingRules mocks base method.

func (*MockLoadBalancersService) RemoveServers

func (m *MockLoadBalancersService) RemoveServers(lbID int, sIDs ...int) error

RemoveServers mocks base method.

func (*MockLoadBalancersService) Update

Update mocks base method.

type MockLoadBalancersServiceMockRecorder

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

MockLoadBalancersServiceMockRecorder is the mock recorder for MockLoadBalancersService.

func (*MockLoadBalancersServiceMockRecorder) AddForwardingRules

func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(lbID interface{}, rules ...interface{}) *gomock.Call

AddForwardingRules indicates an expected call of AddForwardingRules.

func (*MockLoadBalancersServiceMockRecorder) AddServers

func (mr *MockLoadBalancersServiceMockRecorder) AddServers(lbID interface{}, sIDs ...interface{}) *gomock.Call

AddServers indicates an expected call of AddServers.

func (*MockLoadBalancersServiceMockRecorder) Create

func (mr *MockLoadBalancersServiceMockRecorder) Create(lbr interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockLoadBalancersServiceMockRecorder) Delete

func (mr *MockLoadBalancersServiceMockRecorder) Delete(lbID interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLoadBalancersServiceMockRecorder) Get

func (mr *MockLoadBalancersServiceMockRecorder) Get(lbID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLoadBalancersServiceMockRecorder) List

List indicates an expected call of List.

func (*MockLoadBalancersServiceMockRecorder) RemoveForwardingRules

func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(lbID interface{}, rules ...interface{}) *gomock.Call

RemoveForwardingRules indicates an expected call of RemoveForwardingRules.

func (*MockLoadBalancersServiceMockRecorder) RemoveServers

func (mr *MockLoadBalancersServiceMockRecorder) RemoveServers(lbID interface{}, sIDs ...interface{}) *gomock.Call

RemoveServers indicates an expected call of RemoveServers.

func (*MockLoadBalancersServiceMockRecorder) Update

func (mr *MockLoadBalancersServiceMockRecorder) Update(lbID, lbr interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockProjectsService

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

MockProjectsService is a mock of ProjectsService interface.

func NewMockProjectsService

func NewMockProjectsService(ctrl *gomock.Controller) *MockProjectsService

NewMockProjectsService creates a new mock instance.

func (*MockProjectsService) AssignResources

func (m *MockProjectsService) AssignResources(projectUUID string, resources []string) (bl.ProjectResources, error)

AssignResources mocks base method.

func (*MockProjectsService) Create

Create mocks base method.

func (*MockProjectsService) Delete

func (m *MockProjectsService) Delete(projectUUID string) error

Delete mocks base method.

func (*MockProjectsService) EXPECT

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

func (*MockProjectsService) Get

func (m *MockProjectsService) Get(projectUUID string) (*bl.Project, error)

Get mocks base method.

func (*MockProjectsService) GetDefault

func (m *MockProjectsService) GetDefault() (*bl.Project, error)

GetDefault mocks base method.

func (*MockProjectsService) List

func (m *MockProjectsService) List() (bl.Projects, error)

List mocks base method.

func (*MockProjectsService) ListResources

func (m *MockProjectsService) ListResources(projectUUID string) (bl.ProjectResources, error)

ListResources mocks base method.

func (*MockProjectsService) Update

func (m *MockProjectsService) Update(projectUUID string, req *binarylane.UpdateProjectRequest) (*bl.Project, error)

Update mocks base method.

type MockProjectsServiceMockRecorder

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

MockProjectsServiceMockRecorder is the mock recorder for MockProjectsService.

func (*MockProjectsServiceMockRecorder) AssignResources

func (mr *MockProjectsServiceMockRecorder) AssignResources(projectUUID, resources interface{}) *gomock.Call

AssignResources indicates an expected call of AssignResources.

func (*MockProjectsServiceMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockProjectsServiceMockRecorder) Delete

func (mr *MockProjectsServiceMockRecorder) Delete(projectUUID interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockProjectsServiceMockRecorder) Get

func (mr *MockProjectsServiceMockRecorder) Get(projectUUID interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockProjectsServiceMockRecorder) GetDefault

func (mr *MockProjectsServiceMockRecorder) GetDefault() *gomock.Call

GetDefault indicates an expected call of GetDefault.

func (*MockProjectsServiceMockRecorder) List

List indicates an expected call of List.

func (*MockProjectsServiceMockRecorder) ListResources

func (mr *MockProjectsServiceMockRecorder) ListResources(projectUUID interface{}) *gomock.Call

ListResources indicates an expected call of ListResources.

func (*MockProjectsServiceMockRecorder) Update

func (mr *MockProjectsServiceMockRecorder) Update(projectUUID, req interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockRegionsService

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

MockRegionsService is a mock of RegionsService interface.

func NewMockRegionsService

func NewMockRegionsService(ctrl *gomock.Controller) *MockRegionsService

NewMockRegionsService creates a new mock instance.

func (*MockRegionsService) EXPECT

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

func (*MockRegionsService) List

func (m *MockRegionsService) List() (bl.Regions, error)

List mocks base method.

type MockRegionsServiceMockRecorder

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

MockRegionsServiceMockRecorder is the mock recorder for MockRegionsService.

func (*MockRegionsServiceMockRecorder) List

List indicates an expected call of List.

type MockRunner

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

MockRunner is a mock of Runner interface.

func NewMockRunner

func NewMockRunner(ctrl *gomock.Controller) *MockRunner

NewMockRunner creates a new mock instance.

func (*MockRunner) EXPECT

func (m *MockRunner) EXPECT() *MockRunnerMockRecorder

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

func (*MockRunner) Run

func (m *MockRunner) Run() error

Run mocks base method.

type MockRunnerMockRecorder

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

MockRunnerMockRecorder is the mock recorder for MockRunner.

func (*MockRunnerMockRecorder) Run

func (mr *MockRunnerMockRecorder) Run() *gomock.Call

Run indicates an expected call of Run.

type MockServerActionsService

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

MockServerActionsService is a mock of ServerActionsService interface.

func NewMockServerActionsService

func NewMockServerActionsService(ctrl *gomock.Controller) *MockServerActionsService

NewMockServerActionsService creates a new mock instance.

func (*MockServerActionsService) ChangeKernel

func (m *MockServerActionsService) ChangeKernel(arg0, arg1 int) (*bl.Action, error)

ChangeKernel mocks base method.

func (*MockServerActionsService) DisableBackups

func (m *MockServerActionsService) DisableBackups(arg0 int) (*bl.Action, error)

DisableBackups mocks base method.

func (*MockServerActionsService) DisableBackupsByTag

func (m *MockServerActionsService) DisableBackupsByTag(arg0 string) (bl.Actions, error)

DisableBackupsByTag mocks base method.

func (*MockServerActionsService) EXPECT

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

func (*MockServerActionsService) EnableBackups

func (m *MockServerActionsService) EnableBackups(arg0 int) (*bl.Action, error)

EnableBackups mocks base method.

func (*MockServerActionsService) EnableBackupsByTag

func (m *MockServerActionsService) EnableBackupsByTag(arg0 string) (bl.Actions, error)

EnableBackupsByTag mocks base method.

func (*MockServerActionsService) EnableIPv6

func (m *MockServerActionsService) EnableIPv6(arg0 int) (*bl.Action, error)

EnableIPv6 mocks base method.

func (*MockServerActionsService) EnableIPv6ByTag

func (m *MockServerActionsService) EnableIPv6ByTag(arg0 string) (bl.Actions, error)

EnableIPv6ByTag mocks base method.

func (*MockServerActionsService) EnablePrivateNetworking

func (m *MockServerActionsService) EnablePrivateNetworking(arg0 int) (*bl.Action, error)

EnablePrivateNetworking mocks base method.

func (*MockServerActionsService) EnablePrivateNetworkingByTag

func (m *MockServerActionsService) EnablePrivateNetworkingByTag(arg0 string) (bl.Actions, error)

EnablePrivateNetworkingByTag mocks base method.

func (*MockServerActionsService) Get

func (m *MockServerActionsService) Get(arg0, arg1 int) (*bl.Action, error)

Get mocks base method.

func (*MockServerActionsService) GetByURI

func (m *MockServerActionsService) GetByURI(arg0 string) (*bl.Action, error)

GetByURI mocks base method.

func (*MockServerActionsService) PasswordReset

func (m *MockServerActionsService) PasswordReset(arg0 int) (*bl.Action, error)

PasswordReset mocks base method.

func (*MockServerActionsService) PowerCycle

func (m *MockServerActionsService) PowerCycle(arg0 int) (*bl.Action, error)

PowerCycle mocks base method.

func (*MockServerActionsService) PowerCycleByTag

func (m *MockServerActionsService) PowerCycleByTag(arg0 string) (bl.Actions, error)

PowerCycleByTag mocks base method.

func (*MockServerActionsService) PowerOff

func (m *MockServerActionsService) PowerOff(arg0 int) (*bl.Action, error)

PowerOff mocks base method.

func (*MockServerActionsService) PowerOffByTag

func (m *MockServerActionsService) PowerOffByTag(arg0 string) (bl.Actions, error)

PowerOffByTag mocks base method.

func (*MockServerActionsService) PowerOn

func (m *MockServerActionsService) PowerOn(arg0 int) (*bl.Action, error)

PowerOn mocks base method.

func (*MockServerActionsService) PowerOnByTag

func (m *MockServerActionsService) PowerOnByTag(arg0 string) (bl.Actions, error)

PowerOnByTag mocks base method.

func (*MockServerActionsService) Reboot

func (m *MockServerActionsService) Reboot(arg0 int) (*bl.Action, error)

Reboot mocks base method.

func (*MockServerActionsService) RebuildByImageID

func (m *MockServerActionsService) RebuildByImageID(arg0, arg1 int) (*bl.Action, error)

RebuildByImageID mocks base method.

func (*MockServerActionsService) RebuildByImageSlug

func (m *MockServerActionsService) RebuildByImageSlug(arg0 int, arg1 string) (*bl.Action, error)

RebuildByImageSlug mocks base method.

func (*MockServerActionsService) Rename

func (m *MockServerActionsService) Rename(arg0 int, arg1 string) (*bl.Action, error)

Rename mocks base method.

func (*MockServerActionsService) Resize

func (m *MockServerActionsService) Resize(arg0 int, arg1 string, arg2 bool) (*bl.Action, error)

Resize mocks base method.

func (*MockServerActionsService) Restore

func (m *MockServerActionsService) Restore(arg0, arg1 int) (*bl.Action, error)

Restore mocks base method.

func (*MockServerActionsService) Shutdown

func (m *MockServerActionsService) Shutdown(arg0 int) (*bl.Action, error)

Shutdown mocks base method.

func (*MockServerActionsService) ShutdownByTag

func (m *MockServerActionsService) ShutdownByTag(arg0 string) (bl.Actions, error)

ShutdownByTag mocks base method.

func (*MockServerActionsService) Snapshot

func (m *MockServerActionsService) Snapshot(arg0 int, arg1 string) (*bl.Action, error)

Snapshot mocks base method.

func (*MockServerActionsService) SnapshotByTag

func (m *MockServerActionsService) SnapshotByTag(arg0, arg1 string) (bl.Actions, error)

SnapshotByTag mocks base method.

type MockServerActionsServiceMockRecorder

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

MockServerActionsServiceMockRecorder is the mock recorder for MockServerActionsService.

func (*MockServerActionsServiceMockRecorder) ChangeKernel

func (mr *MockServerActionsServiceMockRecorder) ChangeKernel(arg0, arg1 interface{}) *gomock.Call

ChangeKernel indicates an expected call of ChangeKernel.

func (*MockServerActionsServiceMockRecorder) DisableBackups

func (mr *MockServerActionsServiceMockRecorder) DisableBackups(arg0 interface{}) *gomock.Call

DisableBackups indicates an expected call of DisableBackups.

func (*MockServerActionsServiceMockRecorder) DisableBackupsByTag

func (mr *MockServerActionsServiceMockRecorder) DisableBackupsByTag(arg0 interface{}) *gomock.Call

DisableBackupsByTag indicates an expected call of DisableBackupsByTag.

func (*MockServerActionsServiceMockRecorder) EnableBackups

func (mr *MockServerActionsServiceMockRecorder) EnableBackups(arg0 interface{}) *gomock.Call

EnableBackups indicates an expected call of EnableBackups.

func (*MockServerActionsServiceMockRecorder) EnableBackupsByTag

func (mr *MockServerActionsServiceMockRecorder) EnableBackupsByTag(arg0 interface{}) *gomock.Call

EnableBackupsByTag indicates an expected call of EnableBackupsByTag.

func (*MockServerActionsServiceMockRecorder) EnableIPv6

func (mr *MockServerActionsServiceMockRecorder) EnableIPv6(arg0 interface{}) *gomock.Call

EnableIPv6 indicates an expected call of EnableIPv6.

func (*MockServerActionsServiceMockRecorder) EnableIPv6ByTag

func (mr *MockServerActionsServiceMockRecorder) EnableIPv6ByTag(arg0 interface{}) *gomock.Call

EnableIPv6ByTag indicates an expected call of EnableIPv6ByTag.

func (*MockServerActionsServiceMockRecorder) EnablePrivateNetworking

func (mr *MockServerActionsServiceMockRecorder) EnablePrivateNetworking(arg0 interface{}) *gomock.Call

EnablePrivateNetworking indicates an expected call of EnablePrivateNetworking.

func (*MockServerActionsServiceMockRecorder) EnablePrivateNetworkingByTag

func (mr *MockServerActionsServiceMockRecorder) EnablePrivateNetworkingByTag(arg0 interface{}) *gomock.Call

EnablePrivateNetworkingByTag indicates an expected call of EnablePrivateNetworkingByTag.

func (*MockServerActionsServiceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockServerActionsServiceMockRecorder) GetByURI

func (mr *MockServerActionsServiceMockRecorder) GetByURI(arg0 interface{}) *gomock.Call

GetByURI indicates an expected call of GetByURI.

func (*MockServerActionsServiceMockRecorder) PasswordReset

func (mr *MockServerActionsServiceMockRecorder) PasswordReset(arg0 interface{}) *gomock.Call

PasswordReset indicates an expected call of PasswordReset.

func (*MockServerActionsServiceMockRecorder) PowerCycle

func (mr *MockServerActionsServiceMockRecorder) PowerCycle(arg0 interface{}) *gomock.Call

PowerCycle indicates an expected call of PowerCycle.

func (*MockServerActionsServiceMockRecorder) PowerCycleByTag

func (mr *MockServerActionsServiceMockRecorder) PowerCycleByTag(arg0 interface{}) *gomock.Call

PowerCycleByTag indicates an expected call of PowerCycleByTag.

func (*MockServerActionsServiceMockRecorder) PowerOff

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

PowerOff indicates an expected call of PowerOff.

func (*MockServerActionsServiceMockRecorder) PowerOffByTag

func (mr *MockServerActionsServiceMockRecorder) PowerOffByTag(arg0 interface{}) *gomock.Call

PowerOffByTag indicates an expected call of PowerOffByTag.

func (*MockServerActionsServiceMockRecorder) PowerOn

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

PowerOn indicates an expected call of PowerOn.

func (*MockServerActionsServiceMockRecorder) PowerOnByTag

func (mr *MockServerActionsServiceMockRecorder) PowerOnByTag(arg0 interface{}) *gomock.Call

PowerOnByTag indicates an expected call of PowerOnByTag.

func (*MockServerActionsServiceMockRecorder) Reboot

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

Reboot indicates an expected call of Reboot.

func (*MockServerActionsServiceMockRecorder) RebuildByImageID

func (mr *MockServerActionsServiceMockRecorder) RebuildByImageID(arg0, arg1 interface{}) *gomock.Call

RebuildByImageID indicates an expected call of RebuildByImageID.

func (*MockServerActionsServiceMockRecorder) RebuildByImageSlug

func (mr *MockServerActionsServiceMockRecorder) RebuildByImageSlug(arg0, arg1 interface{}) *gomock.Call

RebuildByImageSlug indicates an expected call of RebuildByImageSlug.

func (*MockServerActionsServiceMockRecorder) Rename

func (mr *MockServerActionsServiceMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call

Rename indicates an expected call of Rename.

func (*MockServerActionsServiceMockRecorder) Resize

func (mr *MockServerActionsServiceMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call

Resize indicates an expected call of Resize.

func (*MockServerActionsServiceMockRecorder) Restore

func (mr *MockServerActionsServiceMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call

Restore indicates an expected call of Restore.

func (*MockServerActionsServiceMockRecorder) Shutdown

func (mr *MockServerActionsServiceMockRecorder) Shutdown(arg0 interface{}) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockServerActionsServiceMockRecorder) ShutdownByTag

func (mr *MockServerActionsServiceMockRecorder) ShutdownByTag(arg0 interface{}) *gomock.Call

ShutdownByTag indicates an expected call of ShutdownByTag.

func (*MockServerActionsServiceMockRecorder) Snapshot

func (mr *MockServerActionsServiceMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call

Snapshot indicates an expected call of Snapshot.

func (*MockServerActionsServiceMockRecorder) SnapshotByTag

func (mr *MockServerActionsServiceMockRecorder) SnapshotByTag(arg0, arg1 interface{}) *gomock.Call

SnapshotByTag indicates an expected call of SnapshotByTag.

type MockServersService

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

MockServersService is a mock of ServersService interface.

func NewMockServersService

func NewMockServersService(ctrl *gomock.Controller) *MockServersService

NewMockServersService creates a new mock instance.

func (*MockServersService) Actions

func (m *MockServersService) Actions(arg0 int) (bl.Actions, error)

Actions mocks base method.

func (*MockServersService) Backups

func (m *MockServersService) Backups(arg0 int) (bl.Images, error)

Backups mocks base method.

func (*MockServersService) Create

Create mocks base method.

func (*MockServersService) CreateMultiple

CreateMultiple mocks base method.

func (*MockServersService) Delete

func (m *MockServersService) Delete(arg0 int) error

Delete mocks base method.

func (*MockServersService) DeleteByTag

func (m *MockServersService) DeleteByTag(arg0 string) error

DeleteByTag mocks base method.

func (*MockServersService) EXPECT

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

func (*MockServersService) Get

func (m *MockServersService) Get(arg0 int) (*bl.Server, error)

Get mocks base method.

func (*MockServersService) Kernels

func (m *MockServersService) Kernels(arg0 int) (bl.Kernels, error)

Kernels mocks base method.

func (*MockServersService) List

func (m *MockServersService) List() (bl.Servers, error)

List mocks base method.

func (*MockServersService) ListByTag

func (m *MockServersService) ListByTag(arg0 string) (bl.Servers, error)

ListByTag mocks base method.

func (*MockServersService) Neighbors

func (m *MockServersService) Neighbors(arg0 int) (bl.Servers, error)

Neighbors mocks base method.

func (*MockServersService) Snapshots

func (m *MockServersService) Snapshots(arg0 int) (bl.Images, error)

Snapshots mocks base method.

type MockServersServiceMockRecorder

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

MockServersServiceMockRecorder is the mock recorder for MockServersService.

func (*MockServersServiceMockRecorder) Actions

func (mr *MockServersServiceMockRecorder) Actions(arg0 interface{}) *gomock.Call

Actions indicates an expected call of Actions.

func (*MockServersServiceMockRecorder) Backups

func (mr *MockServersServiceMockRecorder) Backups(arg0 interface{}) *gomock.Call

Backups indicates an expected call of Backups.

func (*MockServersServiceMockRecorder) Create

func (mr *MockServersServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockServersServiceMockRecorder) CreateMultiple

func (mr *MockServersServiceMockRecorder) CreateMultiple(arg0 interface{}) *gomock.Call

CreateMultiple indicates an expected call of CreateMultiple.

func (*MockServersServiceMockRecorder) Delete

func (mr *MockServersServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockServersServiceMockRecorder) DeleteByTag

func (mr *MockServersServiceMockRecorder) DeleteByTag(arg0 interface{}) *gomock.Call

DeleteByTag indicates an expected call of DeleteByTag.

func (*MockServersServiceMockRecorder) Get

func (mr *MockServersServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockServersServiceMockRecorder) Kernels

func (mr *MockServersServiceMockRecorder) Kernels(arg0 interface{}) *gomock.Call

Kernels indicates an expected call of Kernels.

func (*MockServersServiceMockRecorder) List

List indicates an expected call of List.

func (*MockServersServiceMockRecorder) ListByTag

func (mr *MockServersServiceMockRecorder) ListByTag(arg0 interface{}) *gomock.Call

ListByTag indicates an expected call of ListByTag.

func (*MockServersServiceMockRecorder) Neighbors

func (mr *MockServersServiceMockRecorder) Neighbors(arg0 interface{}) *gomock.Call

Neighbors indicates an expected call of Neighbors.

func (*MockServersServiceMockRecorder) Snapshots

func (mr *MockServersServiceMockRecorder) Snapshots(arg0 interface{}) *gomock.Call

Snapshots indicates an expected call of Snapshots.

type MockSizesService

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

MockSizesService is a mock of SizesService interface.

func NewMockSizesService

func NewMockSizesService(ctrl *gomock.Controller) *MockSizesService

NewMockSizesService creates a new mock instance.

func (*MockSizesService) EXPECT

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

func (*MockSizesService) List

func (m *MockSizesService) List() (bl.Sizes, error)

List mocks base method.

type MockSizesServiceMockRecorder

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

MockSizesServiceMockRecorder is the mock recorder for MockSizesService.

func (*MockSizesServiceMockRecorder) List

List indicates an expected call of List.

type MockSnapshotsService

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

MockSnapshotsService is a mock of SnapshotsService interface.

func NewMockSnapshotsService

func NewMockSnapshotsService(ctrl *gomock.Controller) *MockSnapshotsService

NewMockSnapshotsService creates a new mock instance.

func (*MockSnapshotsService) Delete

func (m *MockSnapshotsService) Delete(arg0 string) error

Delete mocks base method.

func (*MockSnapshotsService) EXPECT

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

func (*MockSnapshotsService) Get

func (m *MockSnapshotsService) Get(arg0 string) (*bl.Snapshot, error)

Get mocks base method.

func (*MockSnapshotsService) List

func (m *MockSnapshotsService) List() (bl.Snapshots, error)

List mocks base method.

func (*MockSnapshotsService) ListServer

func (m *MockSnapshotsService) ListServer() (bl.Snapshots, error)

ListServer mocks base method.

func (*MockSnapshotsService) ListVolume

func (m *MockSnapshotsService) ListVolume() (bl.Snapshots, error)

ListVolume mocks base method.

type MockSnapshotsServiceMockRecorder

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

MockSnapshotsServiceMockRecorder is the mock recorder for MockSnapshotsService.

func (*MockSnapshotsServiceMockRecorder) Delete

func (mr *MockSnapshotsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSnapshotsServiceMockRecorder) Get

func (mr *MockSnapshotsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockSnapshotsServiceMockRecorder) List

List indicates an expected call of List.

func (*MockSnapshotsServiceMockRecorder) ListServer

func (mr *MockSnapshotsServiceMockRecorder) ListServer() *gomock.Call

ListServer indicates an expected call of ListServer.

func (*MockSnapshotsServiceMockRecorder) ListVolume

func (mr *MockSnapshotsServiceMockRecorder) ListVolume() *gomock.Call

ListVolume indicates an expected call of ListVolume.

type MockTagsService

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

MockTagsService is a mock of TagsService interface.

func NewMockTagsService

func NewMockTagsService(ctrl *gomock.Controller) *MockTagsService

NewMockTagsService creates a new mock instance.

func (*MockTagsService) Create

func (m *MockTagsService) Create(arg0 *binarylane.TagCreateRequest) (*bl.Tag, error)

Create mocks base method.

func (*MockTagsService) Delete

func (m *MockTagsService) Delete(arg0 string) error

Delete mocks base method.

func (*MockTagsService) EXPECT

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

func (*MockTagsService) Get

func (m *MockTagsService) Get(arg0 string) (*bl.Tag, error)

Get mocks base method.

func (*MockTagsService) List

func (m *MockTagsService) List() (bl.Tags, error)

List mocks base method.

func (*MockTagsService) TagResources

func (m *MockTagsService) TagResources(arg0 string, arg1 *binarylane.TagResourcesRequest) error

TagResources mocks base method.

func (*MockTagsService) UntagResources

func (m *MockTagsService) UntagResources(arg0 string, arg1 *binarylane.UntagResourcesRequest) error

UntagResources mocks base method.

type MockTagsServiceMockRecorder

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

MockTagsServiceMockRecorder is the mock recorder for MockTagsService.

func (*MockTagsServiceMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockTagsServiceMockRecorder) Delete

func (mr *MockTagsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockTagsServiceMockRecorder) Get

func (mr *MockTagsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockTagsServiceMockRecorder) List

List indicates an expected call of List.

func (*MockTagsServiceMockRecorder) TagResources

func (mr *MockTagsServiceMockRecorder) TagResources(arg0, arg1 interface{}) *gomock.Call

TagResources indicates an expected call of TagResources.

func (*MockTagsServiceMockRecorder) UntagResources

func (mr *MockTagsServiceMockRecorder) UntagResources(arg0, arg1 interface{}) *gomock.Call

UntagResources indicates an expected call of UntagResources.

type MockVPCsService

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

MockVPCsService is a mock of VPCsService interface.

func NewMockVPCsService

func NewMockVPCsService(ctrl *gomock.Controller) *MockVPCsService

NewMockVPCsService creates a new mock instance.

func (*MockVPCsService) Create

func (m *MockVPCsService) Create(vpcr *binarylane.VPCCreateRequest) (*bl.VPC, error)

Create mocks base method.

func (*MockVPCsService) Delete

func (m *MockVPCsService) Delete(id int) error

Delete mocks base method.

func (*MockVPCsService) EXPECT

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

func (*MockVPCsService) Get

func (m *MockVPCsService) Get(id int) (*bl.VPC, error)

Get mocks base method.

func (*MockVPCsService) List

func (m *MockVPCsService) List() (bl.VPCs, error)

List mocks base method.

func (*MockVPCsService) Update

func (m *MockVPCsService) Update(id int, vpcr *binarylane.VPCUpdateRequest) (*bl.VPC, error)

Update mocks base method.

type MockVPCsServiceMockRecorder

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

MockVPCsServiceMockRecorder is the mock recorder for MockVPCsService.

func (*MockVPCsServiceMockRecorder) Create

func (mr *MockVPCsServiceMockRecorder) Create(vpcr interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockVPCsServiceMockRecorder) Delete

func (mr *MockVPCsServiceMockRecorder) Delete(id interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVPCsServiceMockRecorder) Get

func (mr *MockVPCsServiceMockRecorder) Get(id interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockVPCsServiceMockRecorder) List

List indicates an expected call of List.

func (*MockVPCsServiceMockRecorder) Update

func (mr *MockVPCsServiceMockRecorder) Update(id, vpcr interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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