fakes

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotService

type SnapshotService struct {
	CheckSnapshotTagStub func(string, string, string, *zap.Logger) error

	CreateSnapshotStub func(string, *models.Snapshot, *zap.Logger) (*models.Snapshot, error)

	DeleteSnapshotStub func(string, string, *zap.Logger) error

	DeleteSnapshotTagStub func(string, string, string, *zap.Logger) error

	GetSnapshotStub func(string, string, *zap.Logger) (*models.Snapshot, error)

	ListSnapshotTagsStub func(string, string, *zap.Logger) (*[]string, error)

	ListSnapshotsStub func(string, *zap.Logger) (*models.SnapshotList, error)

	SetSnapshotTagStub func(string, string, string, *zap.Logger) error
	// contains filtered or unexported fields
}

func (*SnapshotService) CheckSnapshotTag

func (fake *SnapshotService) CheckSnapshotTag(arg1 string, arg2 string, arg3 string, arg4 *zap.Logger) error

func (*SnapshotService) CheckSnapshotTagArgsForCall

func (fake *SnapshotService) CheckSnapshotTagArgsForCall(i int) (string, string, string, *zap.Logger)

func (*SnapshotService) CheckSnapshotTagCallCount

func (fake *SnapshotService) CheckSnapshotTagCallCount() int

func (*SnapshotService) CheckSnapshotTagCalls

func (fake *SnapshotService) CheckSnapshotTagCalls(stub func(string, string, string, *zap.Logger) error)

func (*SnapshotService) CheckSnapshotTagReturns

func (fake *SnapshotService) CheckSnapshotTagReturns(result1 error)

func (*SnapshotService) CheckSnapshotTagReturnsOnCall

func (fake *SnapshotService) CheckSnapshotTagReturnsOnCall(i int, result1 error)

func (*SnapshotService) CreateSnapshot

func (fake *SnapshotService) CreateSnapshot(arg1 string, arg2 *models.Snapshot, arg3 *zap.Logger) (*models.Snapshot, error)

func (*SnapshotService) CreateSnapshotArgsForCall

func (fake *SnapshotService) CreateSnapshotArgsForCall(i int) (string, *models.Snapshot, *zap.Logger)

func (*SnapshotService) CreateSnapshotCallCount

func (fake *SnapshotService) CreateSnapshotCallCount() int

func (*SnapshotService) CreateSnapshotCalls

func (fake *SnapshotService) CreateSnapshotCalls(stub func(string, *models.Snapshot, *zap.Logger) (*models.Snapshot, error))

func (*SnapshotService) CreateSnapshotReturns

func (fake *SnapshotService) CreateSnapshotReturns(result1 *models.Snapshot, result2 error)

func (*SnapshotService) CreateSnapshotReturnsOnCall

func (fake *SnapshotService) CreateSnapshotReturnsOnCall(i int, result1 *models.Snapshot, result2 error)

func (*SnapshotService) DeleteSnapshot

func (fake *SnapshotService) DeleteSnapshot(arg1 string, arg2 string, arg3 *zap.Logger) error

func (*SnapshotService) DeleteSnapshotArgsForCall

func (fake *SnapshotService) DeleteSnapshotArgsForCall(i int) (string, string, *zap.Logger)

func (*SnapshotService) DeleteSnapshotCallCount

func (fake *SnapshotService) DeleteSnapshotCallCount() int

func (*SnapshotService) DeleteSnapshotCalls

func (fake *SnapshotService) DeleteSnapshotCalls(stub func(string, string, *zap.Logger) error)

func (*SnapshotService) DeleteSnapshotReturns

func (fake *SnapshotService) DeleteSnapshotReturns(result1 error)

func (*SnapshotService) DeleteSnapshotReturnsOnCall

func (fake *SnapshotService) DeleteSnapshotReturnsOnCall(i int, result1 error)

func (*SnapshotService) DeleteSnapshotTag

func (fake *SnapshotService) DeleteSnapshotTag(arg1 string, arg2 string, arg3 string, arg4 *zap.Logger) error

func (*SnapshotService) DeleteSnapshotTagArgsForCall

func (fake *SnapshotService) DeleteSnapshotTagArgsForCall(i int) (string, string, string, *zap.Logger)

func (*SnapshotService) DeleteSnapshotTagCallCount

func (fake *SnapshotService) DeleteSnapshotTagCallCount() int

func (*SnapshotService) DeleteSnapshotTagCalls

func (fake *SnapshotService) DeleteSnapshotTagCalls(stub func(string, string, string, *zap.Logger) error)

func (*SnapshotService) DeleteSnapshotTagReturns

func (fake *SnapshotService) DeleteSnapshotTagReturns(result1 error)

func (*SnapshotService) DeleteSnapshotTagReturnsOnCall

func (fake *SnapshotService) DeleteSnapshotTagReturnsOnCall(i int, result1 error)

func (*SnapshotService) GetSnapshot

func (fake *SnapshotService) GetSnapshot(arg1 string, arg2 string, arg3 *zap.Logger) (*models.Snapshot, error)

func (*SnapshotService) GetSnapshotArgsForCall

func (fake *SnapshotService) GetSnapshotArgsForCall(i int) (string, string, *zap.Logger)

func (*SnapshotService) GetSnapshotCallCount

func (fake *SnapshotService) GetSnapshotCallCount() int

func (*SnapshotService) GetSnapshotCalls

func (fake *SnapshotService) GetSnapshotCalls(stub func(string, string, *zap.Logger) (*models.Snapshot, error))

func (*SnapshotService) GetSnapshotReturns

func (fake *SnapshotService) GetSnapshotReturns(result1 *models.Snapshot, result2 error)

func (*SnapshotService) GetSnapshotReturnsOnCall

func (fake *SnapshotService) GetSnapshotReturnsOnCall(i int, result1 *models.Snapshot, result2 error)

func (*SnapshotService) Invocations

func (fake *SnapshotService) Invocations() map[string][][]interface{}

func (*SnapshotService) ListSnapshotTags

func (fake *SnapshotService) ListSnapshotTags(arg1 string, arg2 string, arg3 *zap.Logger) (*[]string, error)

func (*SnapshotService) ListSnapshotTagsArgsForCall

func (fake *SnapshotService) ListSnapshotTagsArgsForCall(i int) (string, string, *zap.Logger)

func (*SnapshotService) ListSnapshotTagsCallCount

func (fake *SnapshotService) ListSnapshotTagsCallCount() int

func (*SnapshotService) ListSnapshotTagsCalls

func (fake *SnapshotService) ListSnapshotTagsCalls(stub func(string, string, *zap.Logger) (*[]string, error))

func (*SnapshotService) ListSnapshotTagsReturns

func (fake *SnapshotService) ListSnapshotTagsReturns(result1 *[]string, result2 error)

func (*SnapshotService) ListSnapshotTagsReturnsOnCall

func (fake *SnapshotService) ListSnapshotTagsReturnsOnCall(i int, result1 *[]string, result2 error)

func (*SnapshotService) ListSnapshots

func (fake *SnapshotService) ListSnapshots(arg1 string, arg2 *zap.Logger) (*models.SnapshotList, error)

func (*SnapshotService) ListSnapshotsArgsForCall

func (fake *SnapshotService) ListSnapshotsArgsForCall(i int) (string, *zap.Logger)

func (*SnapshotService) ListSnapshotsCallCount

func (fake *SnapshotService) ListSnapshotsCallCount() int

func (*SnapshotService) ListSnapshotsCalls

func (fake *SnapshotService) ListSnapshotsCalls(stub func(string, *zap.Logger) (*models.SnapshotList, error))

func (*SnapshotService) ListSnapshotsReturns

func (fake *SnapshotService) ListSnapshotsReturns(result1 *models.SnapshotList, result2 error)

func (*SnapshotService) ListSnapshotsReturnsOnCall

func (fake *SnapshotService) ListSnapshotsReturnsOnCall(i int, result1 *models.SnapshotList, result2 error)

func (*SnapshotService) SetSnapshotTag

func (fake *SnapshotService) SetSnapshotTag(arg1 string, arg2 string, arg3 string, arg4 *zap.Logger) error

func (*SnapshotService) SetSnapshotTagArgsForCall

func (fake *SnapshotService) SetSnapshotTagArgsForCall(i int) (string, string, string, *zap.Logger)

func (*SnapshotService) SetSnapshotTagCallCount

func (fake *SnapshotService) SetSnapshotTagCallCount() int

func (*SnapshotService) SetSnapshotTagCalls

func (fake *SnapshotService) SetSnapshotTagCalls(stub func(string, string, string, *zap.Logger) error)

func (*SnapshotService) SetSnapshotTagReturns

func (fake *SnapshotService) SetSnapshotTagReturns(result1 error)

func (*SnapshotService) SetSnapshotTagReturnsOnCall

func (fake *SnapshotService) SetSnapshotTagReturnsOnCall(i int, result1 error)

type VolumeService

type VolumeService struct {
	CheckVolumeTagStub func(string, string, *zap.Logger) error

	CreateVolumeStub func(*models.Volume, *zap.Logger) (*models.Volume, error)

	DeleteVolumeStub func(string, *zap.Logger) error

	DeleteVolumeTagStub func(string, string, *zap.Logger) error

	GetVolumeStub func(string, *zap.Logger) (*models.Volume, error)

	GetVolumeByNameStub func(string, *zap.Logger) (*models.Volume, error)

	ListVolumeTagsStub func(string, *zap.Logger) (*[]string, error)

	ListVolumesStub func(int, *models.ListVolumeFilters, *zap.Logger) (*models.VolumeList, error)

	SetVolumeTagStub func(string, string, *zap.Logger) error
	// contains filtered or unexported fields
}

func (*VolumeService) CheckVolumeTag

func (fake *VolumeService) CheckVolumeTag(arg1 string, arg2 string, arg3 *zap.Logger) error

func (*VolumeService) CheckVolumeTagArgsForCall

func (fake *VolumeService) CheckVolumeTagArgsForCall(i int) (string, string, *zap.Logger)

func (*VolumeService) CheckVolumeTagCallCount

func (fake *VolumeService) CheckVolumeTagCallCount() int

func (*VolumeService) CheckVolumeTagCalls

func (fake *VolumeService) CheckVolumeTagCalls(stub func(string, string, *zap.Logger) error)

func (*VolumeService) CheckVolumeTagReturns

func (fake *VolumeService) CheckVolumeTagReturns(result1 error)

func (*VolumeService) CheckVolumeTagReturnsOnCall

func (fake *VolumeService) CheckVolumeTagReturnsOnCall(i int, result1 error)

func (*VolumeService) CreateVolume

func (fake *VolumeService) CreateVolume(arg1 *models.Volume, arg2 *zap.Logger) (*models.Volume, error)

func (*VolumeService) CreateVolumeArgsForCall

func (fake *VolumeService) CreateVolumeArgsForCall(i int) (*models.Volume, *zap.Logger)

func (*VolumeService) CreateVolumeCallCount

func (fake *VolumeService) CreateVolumeCallCount() int

func (*VolumeService) CreateVolumeCalls

func (fake *VolumeService) CreateVolumeCalls(stub func(*models.Volume, *zap.Logger) (*models.Volume, error))

func (*VolumeService) CreateVolumeReturns

func (fake *VolumeService) CreateVolumeReturns(result1 *models.Volume, result2 error)

func (*VolumeService) CreateVolumeReturnsOnCall

func (fake *VolumeService) CreateVolumeReturnsOnCall(i int, result1 *models.Volume, result2 error)

func (*VolumeService) DeleteVolume

func (fake *VolumeService) DeleteVolume(arg1 string, arg2 *zap.Logger) error

func (*VolumeService) DeleteVolumeArgsForCall

func (fake *VolumeService) DeleteVolumeArgsForCall(i int) (string, *zap.Logger)

func (*VolumeService) DeleteVolumeCallCount

func (fake *VolumeService) DeleteVolumeCallCount() int

func (*VolumeService) DeleteVolumeCalls

func (fake *VolumeService) DeleteVolumeCalls(stub func(string, *zap.Logger) error)

func (*VolumeService) DeleteVolumeReturns

func (fake *VolumeService) DeleteVolumeReturns(result1 error)

func (*VolumeService) DeleteVolumeReturnsOnCall

func (fake *VolumeService) DeleteVolumeReturnsOnCall(i int, result1 error)

func (*VolumeService) DeleteVolumeTag

func (fake *VolumeService) DeleteVolumeTag(arg1 string, arg2 string, arg3 *zap.Logger) error

func (*VolumeService) DeleteVolumeTagArgsForCall

func (fake *VolumeService) DeleteVolumeTagArgsForCall(i int) (string, string, *zap.Logger)

func (*VolumeService) DeleteVolumeTagCallCount

func (fake *VolumeService) DeleteVolumeTagCallCount() int

func (*VolumeService) DeleteVolumeTagCalls

func (fake *VolumeService) DeleteVolumeTagCalls(stub func(string, string, *zap.Logger) error)

func (*VolumeService) DeleteVolumeTagReturns

func (fake *VolumeService) DeleteVolumeTagReturns(result1 error)

func (*VolumeService) DeleteVolumeTagReturnsOnCall

func (fake *VolumeService) DeleteVolumeTagReturnsOnCall(i int, result1 error)

func (*VolumeService) GetVolume

func (fake *VolumeService) GetVolume(arg1 string, arg2 *zap.Logger) (*models.Volume, error)

func (*VolumeService) GetVolumeArgsForCall

func (fake *VolumeService) GetVolumeArgsForCall(i int) (string, *zap.Logger)

func (*VolumeService) GetVolumeByName

func (fake *VolumeService) GetVolumeByName(arg1 string, arg2 *zap.Logger) (*models.Volume, error)

func (*VolumeService) GetVolumeByNameArgsForCall

func (fake *VolumeService) GetVolumeByNameArgsForCall(i int) (string, *zap.Logger)

func (*VolumeService) GetVolumeByNameCallCount

func (fake *VolumeService) GetVolumeByNameCallCount() int

func (*VolumeService) GetVolumeByNameCalls

func (fake *VolumeService) GetVolumeByNameCalls(stub func(string, *zap.Logger) (*models.Volume, error))

func (*VolumeService) GetVolumeByNameReturns

func (fake *VolumeService) GetVolumeByNameReturns(result1 *models.Volume, result2 error)

func (*VolumeService) GetVolumeByNameReturnsOnCall

func (fake *VolumeService) GetVolumeByNameReturnsOnCall(i int, result1 *models.Volume, result2 error)

func (*VolumeService) GetVolumeCallCount

func (fake *VolumeService) GetVolumeCallCount() int

func (*VolumeService) GetVolumeCalls

func (fake *VolumeService) GetVolumeCalls(stub func(string, *zap.Logger) (*models.Volume, error))

func (*VolumeService) GetVolumeReturns

func (fake *VolumeService) GetVolumeReturns(result1 *models.Volume, result2 error)

func (*VolumeService) GetVolumeReturnsOnCall

func (fake *VolumeService) GetVolumeReturnsOnCall(i int, result1 *models.Volume, result2 error)

func (*VolumeService) Invocations

func (fake *VolumeService) Invocations() map[string][][]interface{}

func (*VolumeService) ListVolumeTags

func (fake *VolumeService) ListVolumeTags(arg1 string, arg2 *zap.Logger) (*[]string, error)

func (*VolumeService) ListVolumeTagsArgsForCall

func (fake *VolumeService) ListVolumeTagsArgsForCall(i int) (string, *zap.Logger)

func (*VolumeService) ListVolumeTagsCallCount

func (fake *VolumeService) ListVolumeTagsCallCount() int

func (*VolumeService) ListVolumeTagsCalls

func (fake *VolumeService) ListVolumeTagsCalls(stub func(string, *zap.Logger) (*[]string, error))

func (*VolumeService) ListVolumeTagsReturns

func (fake *VolumeService) ListVolumeTagsReturns(result1 *[]string, result2 error)

func (*VolumeService) ListVolumeTagsReturnsOnCall

func (fake *VolumeService) ListVolumeTagsReturnsOnCall(i int, result1 *[]string, result2 error)

func (*VolumeService) ListVolumes

func (fake *VolumeService) ListVolumes(arg1 int, arg2 *models.ListVolumeFilters, arg3 *zap.Logger) (*models.VolumeList, error)

func (*VolumeService) ListVolumesArgsForCall

func (fake *VolumeService) ListVolumesArgsForCall(i int) (int, *models.ListVolumeFilters, *zap.Logger)

func (*VolumeService) ListVolumesCallCount

func (fake *VolumeService) ListVolumesCallCount() int

func (*VolumeService) ListVolumesCalls

func (fake *VolumeService) ListVolumesCalls(stub func(int, *models.ListVolumeFilters, *zap.Logger) (*models.VolumeList, error))

func (*VolumeService) ListVolumesReturns

func (fake *VolumeService) ListVolumesReturns(result1 *models.VolumeList, result2 error)

func (*VolumeService) ListVolumesReturnsOnCall

func (fake *VolumeService) ListVolumesReturnsOnCall(i int, result1 *models.VolumeList, result2 error)

func (*VolumeService) SetVolumeTag

func (fake *VolumeService) SetVolumeTag(arg1 string, arg2 string, arg3 *zap.Logger) error

func (*VolumeService) SetVolumeTagArgsForCall

func (fake *VolumeService) SetVolumeTagArgsForCall(i int) (string, string, *zap.Logger)

func (*VolumeService) SetVolumeTagCallCount

func (fake *VolumeService) SetVolumeTagCallCount() int

func (*VolumeService) SetVolumeTagCalls

func (fake *VolumeService) SetVolumeTagCalls(stub func(string, string, *zap.Logger) error)

func (*VolumeService) SetVolumeTagReturns

func (fake *VolumeService) SetVolumeTagReturns(result1 error)

func (*VolumeService) SetVolumeTagReturnsOnCall

func (fake *VolumeService) SetVolumeTagReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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