fakes

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2023 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 SnapshotManager

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

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

	DeleteSnapshotStub func(string, *zap.Logger) error

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

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

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

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

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

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

func (*SnapshotManager) CheckSnapshotTag

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

func (*SnapshotManager) CheckSnapshotTagArgsForCall

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

func (*SnapshotManager) CheckSnapshotTagCallCount

func (fake *SnapshotManager) CheckSnapshotTagCallCount() int

func (*SnapshotManager) CheckSnapshotTagCalls

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

func (*SnapshotManager) CheckSnapshotTagReturns

func (fake *SnapshotManager) CheckSnapshotTagReturns(result1 error)

func (*SnapshotManager) CheckSnapshotTagReturnsOnCall

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

func (*SnapshotManager) CreateSnapshot

func (fake *SnapshotManager) CreateSnapshot(arg1 *models.Snapshot, arg2 *zap.Logger) (*models.Snapshot, error)

func (*SnapshotManager) CreateSnapshotArgsForCall

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

func (*SnapshotManager) CreateSnapshotCallCount

func (fake *SnapshotManager) CreateSnapshotCallCount() int

func (*SnapshotManager) CreateSnapshotCalls

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

func (*SnapshotManager) CreateSnapshotReturns

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

func (*SnapshotManager) CreateSnapshotReturnsOnCall

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

func (*SnapshotManager) DeleteSnapshot

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

func (*SnapshotManager) DeleteSnapshotArgsForCall

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

func (*SnapshotManager) DeleteSnapshotCallCount

func (fake *SnapshotManager) DeleteSnapshotCallCount() int

func (*SnapshotManager) DeleteSnapshotCalls

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

func (*SnapshotManager) DeleteSnapshotReturns

func (fake *SnapshotManager) DeleteSnapshotReturns(result1 error)

func (*SnapshotManager) DeleteSnapshotReturnsOnCall

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

func (*SnapshotManager) DeleteSnapshotTag

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

func (*SnapshotManager) DeleteSnapshotTagArgsForCall

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

func (*SnapshotManager) DeleteSnapshotTagCallCount

func (fake *SnapshotManager) DeleteSnapshotTagCallCount() int

func (*SnapshotManager) DeleteSnapshotTagCalls

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

func (*SnapshotManager) DeleteSnapshotTagReturns

func (fake *SnapshotManager) DeleteSnapshotTagReturns(result1 error)

func (*SnapshotManager) DeleteSnapshotTagReturnsOnCall

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

func (*SnapshotManager) GetSnapshot

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

func (*SnapshotManager) GetSnapshotArgsForCall

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

func (*SnapshotManager) GetSnapshotByName

func (fake *SnapshotManager) GetSnapshotByName(arg1 string, arg2 *zap.Logger) (*models.Snapshot, error)

func (*SnapshotManager) GetSnapshotByNameArgsForCall

func (fake *SnapshotManager) GetSnapshotByNameArgsForCall(i int) (string, *zap.Logger)

func (*SnapshotManager) GetSnapshotByNameCallCount

func (fake *SnapshotManager) GetSnapshotByNameCallCount() int

func (*SnapshotManager) GetSnapshotByNameCalls

func (fake *SnapshotManager) GetSnapshotByNameCalls(stub func(string, *zap.Logger) (*models.Snapshot, error))

func (*SnapshotManager) GetSnapshotByNameReturns

func (fake *SnapshotManager) GetSnapshotByNameReturns(result1 *models.Snapshot, result2 error)

func (*SnapshotManager) GetSnapshotByNameReturnsOnCall

func (fake *SnapshotManager) GetSnapshotByNameReturnsOnCall(i int, result1 *models.Snapshot, result2 error)

func (*SnapshotManager) GetSnapshotCallCount

func (fake *SnapshotManager) GetSnapshotCallCount() int

func (*SnapshotManager) GetSnapshotCalls

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

func (*SnapshotManager) GetSnapshotReturns

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

func (*SnapshotManager) GetSnapshotReturnsOnCall

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

func (*SnapshotManager) Invocations

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

func (*SnapshotManager) ListSnapshotTags

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

func (*SnapshotManager) ListSnapshotTagsArgsForCall

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

func (*SnapshotManager) ListSnapshotTagsCallCount

func (fake *SnapshotManager) ListSnapshotTagsCallCount() int

func (*SnapshotManager) ListSnapshotTagsCalls

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

func (*SnapshotManager) ListSnapshotTagsReturns

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

func (*SnapshotManager) ListSnapshotTagsReturnsOnCall

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

func (*SnapshotManager) ListSnapshots

func (fake *SnapshotManager) ListSnapshots(arg1 int, arg2 string, arg3 *models.LisSnapshotFilters, arg4 *zap.Logger) (*models.SnapshotList, error)

func (*SnapshotManager) ListSnapshotsArgsForCall

func (fake *SnapshotManager) ListSnapshotsArgsForCall(i int) (int, string, *models.LisSnapshotFilters, *zap.Logger)

func (*SnapshotManager) ListSnapshotsCallCount

func (fake *SnapshotManager) ListSnapshotsCallCount() int

func (*SnapshotManager) ListSnapshotsCalls

func (fake *SnapshotManager) ListSnapshotsCalls(stub func(int, string, *models.LisSnapshotFilters, *zap.Logger) (*models.SnapshotList, error))

func (*SnapshotManager) ListSnapshotsReturns

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

func (*SnapshotManager) ListSnapshotsReturnsOnCall

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

func (*SnapshotManager) SetSnapshotTag

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

func (*SnapshotManager) SetSnapshotTagArgsForCall

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

func (*SnapshotManager) SetSnapshotTagCallCount

func (fake *SnapshotManager) SetSnapshotTagCallCount() int

func (*SnapshotManager) SetSnapshotTagCalls

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

func (*SnapshotManager) SetSnapshotTagReturns

func (fake *SnapshotManager) SetSnapshotTagReturns(result1 error)

func (*SnapshotManager) SetSnapshotTagReturnsOnCall

func (fake *SnapshotManager) 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

	ExpandVolumeStub func(string, *models.Volume, *zap.Logger) (*models.Volume, 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, string, *models.ListVolumeFilters, *zap.Logger) (*models.VolumeList, error)

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

	UpdateVolumeStub func(*models.Volume, *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) ExpandVolume

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

func (*VolumeService) ExpandVolumeArgsForCall

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

func (*VolumeService) ExpandVolumeCallCount

func (fake *VolumeService) ExpandVolumeCallCount() int

func (*VolumeService) ExpandVolumeCalls

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

func (*VolumeService) ExpandVolumeReturns

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

func (*VolumeService) ExpandVolumeReturnsOnCall

func (fake *VolumeService) ExpandVolumeReturnsOnCall(i int, result1 *models.Volume, result2 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 string, arg3 *models.ListVolumeFilters, arg4 *zap.Logger) (*models.VolumeList, error)

func (*VolumeService) ListVolumesArgsForCall

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

func (*VolumeService) ListVolumesCallCount

func (fake *VolumeService) ListVolumesCallCount() int

func (*VolumeService) ListVolumesCalls

func (fake *VolumeService) ListVolumesCalls(stub func(int, string, *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)

func (*VolumeService) UpdateVolume

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

func (*VolumeService) UpdateVolumeArgsForCall

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

func (*VolumeService) UpdateVolumeCallCount

func (fake *VolumeService) UpdateVolumeCallCount() int

func (*VolumeService) UpdateVolumeCalls

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

func (*VolumeService) UpdateVolumeReturns

func (fake *VolumeService) UpdateVolumeReturns(result1 error)

func (*VolumeService) UpdateVolumeReturnsOnCall

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

Jump to

Keyboard shortcuts

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