mock_computes

package
v1.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_computes is a generated GoMock package.

Package mock_computes is a generated GoMock package.

Package mock_computes is a generated GoMock package.

Package mock_computes is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDropletsService

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

MockDropletsService is a mock of DropletsService interface.

func NewMockDropletsService

func NewMockDropletsService(ctrl *gomock.Controller) *MockDropletsService

NewMockDropletsService creates a new mock instance.

func (*MockDropletsService) Actions

func (m *MockDropletsService) Actions(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Action, *godo.Response, error)

Actions mocks base method.

func (*MockDropletsService) Backups

func (m *MockDropletsService) Backups(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Image, *godo.Response, error)

Backups mocks base method.

func (*MockDropletsService) Create

Create mocks base method.

func (*MockDropletsService) CreateMultiple

CreateMultiple mocks base method.

func (*MockDropletsService) Delete

func (m *MockDropletsService) Delete(arg0 context.Context, arg1 int) (*godo.Response, error)

Delete mocks base method.

func (*MockDropletsService) DeleteByTag

func (m *MockDropletsService) DeleteByTag(arg0 context.Context, arg1 string) (*godo.Response, error)

DeleteByTag mocks base method.

func (*MockDropletsService) EXPECT

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

func (*MockDropletsService) Get

Get mocks base method.

func (*MockDropletsService) Kernels

func (m *MockDropletsService) Kernels(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Kernel, *godo.Response, error)

Kernels mocks base method.

func (*MockDropletsService) List

List mocks base method.

func (*MockDropletsService) ListByName

func (m *MockDropletsService) ListByName(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)

ListByName mocks base method.

func (*MockDropletsService) ListByTag

func (m *MockDropletsService) ListByTag(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)

ListByTag mocks base method.

func (*MockDropletsService) Neighbors

func (m *MockDropletsService) Neighbors(arg0 context.Context, arg1 int) ([]godo.Droplet, *godo.Response, error)

Neighbors mocks base method.

func (*MockDropletsService) Snapshots

func (m *MockDropletsService) Snapshots(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Image, *godo.Response, error)

Snapshots mocks base method.

type MockDropletsServiceMockRecorder

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

MockDropletsServiceMockRecorder is the mock recorder for MockDropletsService.

func (*MockDropletsServiceMockRecorder) Actions

func (mr *MockDropletsServiceMockRecorder) Actions(arg0, arg1, arg2 interface{}) *gomock.Call

Actions indicates an expected call of Actions.

func (*MockDropletsServiceMockRecorder) Backups

func (mr *MockDropletsServiceMockRecorder) Backups(arg0, arg1, arg2 interface{}) *gomock.Call

Backups indicates an expected call of Backups.

func (*MockDropletsServiceMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockDropletsServiceMockRecorder) CreateMultiple

func (mr *MockDropletsServiceMockRecorder) CreateMultiple(arg0, arg1 interface{}) *gomock.Call

CreateMultiple indicates an expected call of CreateMultiple.

func (*MockDropletsServiceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockDropletsServiceMockRecorder) DeleteByTag

func (mr *MockDropletsServiceMockRecorder) DeleteByTag(arg0, arg1 interface{}) *gomock.Call

DeleteByTag indicates an expected call of DeleteByTag.

func (*MockDropletsServiceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockDropletsServiceMockRecorder) Kernels

func (mr *MockDropletsServiceMockRecorder) Kernels(arg0, arg1, arg2 interface{}) *gomock.Call

Kernels indicates an expected call of Kernels.

func (*MockDropletsServiceMockRecorder) List

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

List indicates an expected call of List.

func (*MockDropletsServiceMockRecorder) ListByName

func (mr *MockDropletsServiceMockRecorder) ListByName(arg0, arg1, arg2 interface{}) *gomock.Call

ListByName indicates an expected call of ListByName.

func (*MockDropletsServiceMockRecorder) ListByTag

func (mr *MockDropletsServiceMockRecorder) ListByTag(arg0, arg1, arg2 interface{}) *gomock.Call

ListByTag indicates an expected call of ListByTag.

func (*MockDropletsServiceMockRecorder) Neighbors

func (mr *MockDropletsServiceMockRecorder) Neighbors(arg0, arg1 interface{}) *gomock.Call

Neighbors indicates an expected call of Neighbors.

func (*MockDropletsServiceMockRecorder) Snapshots

func (mr *MockDropletsServiceMockRecorder) Snapshots(arg0, arg1, arg2 interface{}) *gomock.Call

Snapshots indicates an expected call of Snapshots.

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(arg0 context.Context, arg1 int) (*godo.Response, 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(arg0 context.Context, arg1 int) (*godo.Image, *godo.Response, error)

GetByID mocks base method.

func (*MockImagesService) GetBySlug

func (m *MockImagesService) GetBySlug(arg0 context.Context, arg1 string) (*godo.Image, *godo.Response, error)

GetBySlug mocks base method.

func (*MockImagesService) List

List mocks base method.

func (*MockImagesService) ListApplication

func (m *MockImagesService) ListApplication(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)

ListApplication mocks base method.

func (*MockImagesService) ListByTag

func (m *MockImagesService) ListByTag(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Image, *godo.Response, error)

ListByTag mocks base method.

func (*MockImagesService) ListDistribution

func (m *MockImagesService) ListDistribution(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)

ListDistribution mocks base method.

func (*MockImagesService) ListUser

func (m *MockImagesService) ListUser(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, 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(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockImagesServiceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockImagesServiceMockRecorder) GetByID

func (mr *MockImagesServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockImagesServiceMockRecorder) GetBySlug

func (mr *MockImagesServiceMockRecorder) GetBySlug(arg0, arg1 interface{}) *gomock.Call

GetBySlug indicates an expected call of GetBySlug.

func (*MockImagesServiceMockRecorder) List

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

List indicates an expected call of List.

func (*MockImagesServiceMockRecorder) ListApplication

func (mr *MockImagesServiceMockRecorder) ListApplication(arg0, arg1 interface{}) *gomock.Call

ListApplication indicates an expected call of ListApplication.

func (*MockImagesServiceMockRecorder) ListByTag

func (mr *MockImagesServiceMockRecorder) ListByTag(arg0, arg1, arg2 interface{}) *gomock.Call

ListByTag indicates an expected call of ListByTag.

func (*MockImagesServiceMockRecorder) ListDistribution

func (mr *MockImagesServiceMockRecorder) ListDistribution(arg0, arg1 interface{}) *gomock.Call

ListDistribution indicates an expected call of ListDistribution.

func (*MockImagesServiceMockRecorder) ListUser

func (mr *MockImagesServiceMockRecorder) ListUser(arg0, arg1 interface{}) *gomock.Call

ListUser indicates an expected call of ListUser.

func (*MockImagesServiceMockRecorder) Update

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

Update indicates an expected call of Update.

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

func (m *MockKeysService) DeleteByFingerprint(arg0 context.Context, arg1 string) (*godo.Response, error)

DeleteByFingerprint mocks base method.

func (*MockKeysService) DeleteByID

func (m *MockKeysService) DeleteByID(arg0 context.Context, arg1 int) (*godo.Response, error)

DeleteByID mocks base method.

func (*MockKeysService) EXPECT

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

func (*MockKeysService) GetByFingerprint

func (m *MockKeysService) GetByFingerprint(arg0 context.Context, arg1 string) (*godo.Key, *godo.Response, error)

GetByFingerprint mocks base method.

func (*MockKeysService) GetByID

func (m *MockKeysService) GetByID(arg0 context.Context, arg1 int) (*godo.Key, *godo.Response, error)

GetByID mocks base method.

func (*MockKeysService) List

func (m *MockKeysService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Key, *godo.Response, error)

List mocks base method.

func (*MockKeysService) UpdateByFingerprint

func (m *MockKeysService) UpdateByFingerprint(arg0 context.Context, arg1 string, arg2 *godo.KeyUpdateRequest) (*godo.Key, *godo.Response, error)

UpdateByFingerprint mocks base method.

func (*MockKeysService) UpdateByID

func (m *MockKeysService) UpdateByID(arg0 context.Context, arg1 int, arg2 *godo.KeyUpdateRequest) (*godo.Key, *godo.Response, error)

UpdateByID 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(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockKeysServiceMockRecorder) DeleteByFingerprint

func (mr *MockKeysServiceMockRecorder) DeleteByFingerprint(arg0, arg1 interface{}) *gomock.Call

DeleteByFingerprint indicates an expected call of DeleteByFingerprint.

func (*MockKeysServiceMockRecorder) DeleteByID

func (mr *MockKeysServiceMockRecorder) DeleteByID(arg0, arg1 interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID.

func (*MockKeysServiceMockRecorder) GetByFingerprint

func (mr *MockKeysServiceMockRecorder) GetByFingerprint(arg0, arg1 interface{}) *gomock.Call

GetByFingerprint indicates an expected call of GetByFingerprint.

func (*MockKeysServiceMockRecorder) GetByID

func (mr *MockKeysServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockKeysServiceMockRecorder) List

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

List indicates an expected call of List.

func (*MockKeysServiceMockRecorder) UpdateByFingerprint

func (mr *MockKeysServiceMockRecorder) UpdateByFingerprint(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateByFingerprint indicates an expected call of UpdateByFingerprint.

func (*MockKeysServiceMockRecorder) UpdateByID

func (mr *MockKeysServiceMockRecorder) UpdateByID(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateByID indicates an expected call of UpdateByID.

type MockStorageService

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

MockStorageService is a mock of StorageService interface.

func NewMockStorageService

func NewMockStorageService(ctrl *gomock.Controller) *MockStorageService

NewMockStorageService creates a new mock instance.

func (*MockStorageService) CreateSnapshot

CreateSnapshot mocks base method.

func (*MockStorageService) CreateVolume

CreateVolume mocks base method.

func (*MockStorageService) DeleteSnapshot

func (m *MockStorageService) DeleteSnapshot(arg0 context.Context, arg1 string) (*godo.Response, error)

DeleteSnapshot mocks base method.

func (*MockStorageService) DeleteVolume

func (m *MockStorageService) DeleteVolume(arg0 context.Context, arg1 string) (*godo.Response, error)

DeleteVolume mocks base method.

func (*MockStorageService) EXPECT

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

func (*MockStorageService) GetSnapshot

func (m *MockStorageService) GetSnapshot(arg0 context.Context, arg1 string) (*godo.Snapshot, *godo.Response, error)

GetSnapshot mocks base method.

func (*MockStorageService) GetVolume

func (m *MockStorageService) GetVolume(arg0 context.Context, arg1 string) (*godo.Volume, *godo.Response, error)

GetVolume mocks base method.

func (*MockStorageService) ListSnapshots

func (m *MockStorageService) ListSnapshots(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Snapshot, *godo.Response, error)

ListSnapshots mocks base method.

func (*MockStorageService) ListVolumes

func (m *MockStorageService) ListVolumes(arg0 context.Context, arg1 *godo.ListVolumeParams) ([]godo.Volume, *godo.Response, error)

ListVolumes mocks base method.

type MockStorageServiceMockRecorder

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

MockStorageServiceMockRecorder is the mock recorder for MockStorageService.

func (*MockStorageServiceMockRecorder) CreateSnapshot

func (mr *MockStorageServiceMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call

CreateSnapshot indicates an expected call of CreateSnapshot.

func (*MockStorageServiceMockRecorder) CreateVolume

func (mr *MockStorageServiceMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call

CreateVolume indicates an expected call of CreateVolume.

func (*MockStorageServiceMockRecorder) DeleteSnapshot

func (mr *MockStorageServiceMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot.

func (*MockStorageServiceMockRecorder) DeleteVolume

func (mr *MockStorageServiceMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockStorageServiceMockRecorder) GetSnapshot

func (mr *MockStorageServiceMockRecorder) GetSnapshot(arg0, arg1 interface{}) *gomock.Call

GetSnapshot indicates an expected call of GetSnapshot.

func (*MockStorageServiceMockRecorder) GetVolume

func (mr *MockStorageServiceMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call

GetVolume indicates an expected call of GetVolume.

func (*MockStorageServiceMockRecorder) ListSnapshots

func (mr *MockStorageServiceMockRecorder) ListSnapshots(arg0, arg1, arg2 interface{}) *gomock.Call

ListSnapshots indicates an expected call of ListSnapshots.

func (*MockStorageServiceMockRecorder) ListVolumes

func (mr *MockStorageServiceMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call

ListVolumes indicates an expected call of ListVolumes.

Jump to

Keyboard shortcuts

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