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 ¶
- type MockDropletsService
- func (m *MockDropletsService) Actions(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Action, *godo.Response, error)
- func (m *MockDropletsService) Backups(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- func (m *MockDropletsService) Create(arg0 context.Context, arg1 *godo.DropletCreateRequest) (*godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) CreateMultiple(arg0 context.Context, arg1 *godo.DropletMultiCreateRequest) ([]godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) Delete(arg0 context.Context, arg1 int) (*godo.Response, error)
- func (m *MockDropletsService) DeleteByTag(arg0 context.Context, arg1 string) (*godo.Response, error)
- func (m *MockDropletsService) EXPECT() *MockDropletsServiceMockRecorder
- func (m *MockDropletsService) Get(arg0 context.Context, arg1 int) (*godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) Kernels(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Kernel, *godo.Response, error)
- func (m *MockDropletsService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) ListByName(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) ListByTag(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) Neighbors(arg0 context.Context, arg1 int) ([]godo.Droplet, *godo.Response, error)
- func (m *MockDropletsService) Snapshots(arg0 context.Context, arg1 int, arg2 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- type MockDropletsServiceMockRecorder
- func (mr *MockDropletsServiceMockRecorder) Actions(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Backups(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) CreateMultiple(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) DeleteByTag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Kernels(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListByName(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListByTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Neighbors(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Snapshots(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockImagesService
- func (m *MockImagesService) Create(arg0 context.Context, arg1 *godo.CustomImageCreateRequest) (*godo.Image, *godo.Response, error)
- func (m *MockImagesService) Delete(arg0 context.Context, arg1 int) (*godo.Response, error)
- func (m *MockImagesService) EXPECT() *MockImagesServiceMockRecorder
- func (m *MockImagesService) GetByID(arg0 context.Context, arg1 int) (*godo.Image, *godo.Response, error)
- func (m *MockImagesService) GetBySlug(arg0 context.Context, arg1 string) (*godo.Image, *godo.Response, error)
- func (m *MockImagesService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- func (m *MockImagesService) ListApplication(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- func (m *MockImagesService) ListByTag(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- func (m *MockImagesService) ListDistribution(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- func (m *MockImagesService) ListUser(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
- func (m *MockImagesService) Update(arg0 context.Context, arg1 int, arg2 *godo.ImageUpdateRequest) (*godo.Image, *godo.Response, error)
- type MockImagesServiceMockRecorder
- func (mr *MockImagesServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) GetBySlug(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListByTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListDistribution(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockKeysService
- func (m *MockKeysService) Create(arg0 context.Context, arg1 *godo.KeyCreateRequest) (*godo.Key, *godo.Response, error)
- func (m *MockKeysService) DeleteByFingerprint(arg0 context.Context, arg1 string) (*godo.Response, error)
- func (m *MockKeysService) DeleteByID(arg0 context.Context, arg1 int) (*godo.Response, error)
- func (m *MockKeysService) EXPECT() *MockKeysServiceMockRecorder
- func (m *MockKeysService) GetByFingerprint(arg0 context.Context, arg1 string) (*godo.Key, *godo.Response, error)
- func (m *MockKeysService) GetByID(arg0 context.Context, arg1 int) (*godo.Key, *godo.Response, error)
- func (m *MockKeysService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Key, *godo.Response, error)
- func (m *MockKeysService) UpdateByFingerprint(arg0 context.Context, arg1 string, arg2 *godo.KeyUpdateRequest) (*godo.Key, *godo.Response, error)
- func (m *MockKeysService) UpdateByID(arg0 context.Context, arg1 int, arg2 *godo.KeyUpdateRequest) (*godo.Key, *godo.Response, error)
- type MockKeysServiceMockRecorder
- func (mr *MockKeysServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) DeleteByFingerprint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) DeleteByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) GetByFingerprint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) UpdateByFingerprint(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) UpdateByID(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockStorageService
- func (m *MockStorageService) CreateSnapshot(arg0 context.Context, arg1 *godo.SnapshotCreateRequest) (*godo.Snapshot, *godo.Response, error)
- func (m *MockStorageService) CreateVolume(arg0 context.Context, arg1 *godo.VolumeCreateRequest) (*godo.Volume, *godo.Response, error)
- func (m *MockStorageService) DeleteSnapshot(arg0 context.Context, arg1 string) (*godo.Response, error)
- func (m *MockStorageService) DeleteVolume(arg0 context.Context, arg1 string) (*godo.Response, error)
- func (m *MockStorageService) EXPECT() *MockStorageServiceMockRecorder
- func (m *MockStorageService) GetSnapshot(arg0 context.Context, arg1 string) (*godo.Snapshot, *godo.Response, error)
- func (m *MockStorageService) GetVolume(arg0 context.Context, arg1 string) (*godo.Volume, *godo.Response, error)
- func (m *MockStorageService) ListSnapshots(arg0 context.Context, arg1 string, arg2 *godo.ListOptions) ([]godo.Snapshot, *godo.Response, error)
- func (m *MockStorageService) ListVolumes(arg0 context.Context, arg1 *godo.ListVolumeParams) ([]godo.Volume, *godo.Response, error)
- type MockStorageServiceMockRecorder
- func (mr *MockStorageServiceMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) GetSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) GetVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) ListSnapshots(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStorageServiceMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockDropletsService) Create(arg0 context.Context, arg1 *godo.DropletCreateRequest) (*godo.Droplet, *godo.Response, error)
Create mocks base method.
func (*MockDropletsService) CreateMultiple ¶
func (m *MockDropletsService) CreateMultiple(arg0 context.Context, arg1 *godo.DropletMultiCreateRequest) ([]godo.Droplet, *godo.Response, error)
CreateMultiple 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 ¶
func (m *MockDropletsService) EXPECT() *MockDropletsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDropletsService) Get ¶
func (m *MockDropletsService) Get(arg0 context.Context, arg1 int) (*godo.Droplet, *godo.Response, error)
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 ¶
func (m *MockDropletsService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Droplet, *godo.Response, error)
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.
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 ¶
func (m *MockImagesService) Create(arg0 context.Context, arg1 *godo.CustomImageCreateRequest) (*godo.Image, *godo.Response, error)
Create mocks base method.
func (*MockImagesService) EXPECT ¶
func (m *MockImagesService) EXPECT() *MockImagesServiceMockRecorder
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 ¶
func (m *MockImagesService) List(arg0 context.Context, arg1 *godo.ListOptions) ([]godo.Image, *godo.Response, error)
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.
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 ¶
func (m *MockKeysService) Create(arg0 context.Context, arg1 *godo.KeyCreateRequest) (*godo.Key, *godo.Response, error)
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 ¶
DeleteByID mocks base method.
func (*MockKeysService) EXPECT ¶
func (m *MockKeysService) EXPECT() *MockKeysServiceMockRecorder
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 ¶
func (m *MockStorageService) CreateSnapshot(arg0 context.Context, arg1 *godo.SnapshotCreateRequest) (*godo.Snapshot, *godo.Response, error)
CreateSnapshot mocks base method.
func (*MockStorageService) CreateVolume ¶
func (m *MockStorageService) CreateVolume(arg0 context.Context, arg1 *godo.VolumeCreateRequest) (*godo.Volume, *godo.Response, error)
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 ¶
func (m *MockStorageService) EXPECT() *MockStorageServiceMockRecorder
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.