fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

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 FakeSession

type FakeSession struct {
	AttachVolumeStub func(provider.VolumeAttachmentRequest) (*provider.VolumeAttachmentResponse, error)

	AuthorizeVolumeStub func(provider.VolumeAuthorization) error

	CloseStub func()

	CreateSnapshotStub func(*provider.Volume, map[string]string) (*provider.Snapshot, error)

	CreateVolumeStub func(provider.Volume) (*provider.Volume, error)

	CreateVolumeFromSnapshotStub func(provider.Snapshot, map[string]string) (*provider.Volume, error)

	DeleteSnapshotStub func(*provider.Snapshot) error

	DeleteVolumeStub func(*provider.Volume) error

	DetachVolumeStub func(provider.VolumeAttachmentRequest) (*http.Response, error)

	GetProviderDisplayNameStub func() provider.VolumeProvider

	GetSnapshotStub func(string) (*provider.Snapshot, error)

	GetSnapshotWithVolumeIDStub func(string, string) (*provider.Snapshot, error)

	GetVolumeStub func(string) (*provider.Volume, error)

	GetVolumeAttachmentStub func(provider.VolumeAttachmentRequest) (*provider.VolumeAttachmentResponse, error)

	GetVolumeByNameStub func(string) (*provider.Volume, error)

	GetVolumeByRequestIDStub func(string) (*provider.Volume, error)

	ListAllSnapshotsStub func(string) ([]*provider.Snapshot, error)

	ListSnapshotsStub func() ([]*provider.Snapshot, error)

	ListVolumesStub func(int, string, map[string]string) (*provider.VolumeList, error)

	OrderSnapshotStub func(provider.Volume) error

	ProviderNameStub func() provider.VolumeProvider

	TypeStub func() provider.VolumeType

	UpdateVolumeStub func(provider.Volume) error

	WaitForAttachVolumeStub func(provider.VolumeAttachmentRequest) (*provider.VolumeAttachmentResponse, error)

	WaitForDetachVolumeStub func(provider.VolumeAttachmentRequest) error
	// contains filtered or unexported fields
}

func (*FakeSession) AttachVolume

func (*FakeSession) AttachVolumeArgsForCall

func (fake *FakeSession) AttachVolumeArgsForCall(i int) provider.VolumeAttachmentRequest

func (*FakeSession) AttachVolumeCallCount

func (fake *FakeSession) AttachVolumeCallCount() int

func (*FakeSession) AttachVolumeCalls

func (fake *FakeSession) AttachVolumeCalls(stub func(provider.VolumeAttachmentRequest) (*provider.VolumeAttachmentResponse, error))

func (*FakeSession) AttachVolumeReturns

func (fake *FakeSession) AttachVolumeReturns(result1 *provider.VolumeAttachmentResponse, result2 error)

func (*FakeSession) AttachVolumeReturnsOnCall

func (fake *FakeSession) AttachVolumeReturnsOnCall(i int, result1 *provider.VolumeAttachmentResponse, result2 error)

func (*FakeSession) AuthorizeVolume

func (fake *FakeSession) AuthorizeVolume(arg1 provider.VolumeAuthorization) error

func (*FakeSession) AuthorizeVolumeArgsForCall

func (fake *FakeSession) AuthorizeVolumeArgsForCall(i int) provider.VolumeAuthorization

func (*FakeSession) AuthorizeVolumeCallCount

func (fake *FakeSession) AuthorizeVolumeCallCount() int

func (*FakeSession) AuthorizeVolumeCalls

func (fake *FakeSession) AuthorizeVolumeCalls(stub func(provider.VolumeAuthorization) error)

func (*FakeSession) AuthorizeVolumeReturns

func (fake *FakeSession) AuthorizeVolumeReturns(result1 error)

func (*FakeSession) AuthorizeVolumeReturnsOnCall

func (fake *FakeSession) AuthorizeVolumeReturnsOnCall(i int, result1 error)

func (*FakeSession) Close

func (fake *FakeSession) Close()

func (*FakeSession) CloseCallCount

func (fake *FakeSession) CloseCallCount() int

func (*FakeSession) CloseCalls

func (fake *FakeSession) CloseCalls(stub func())

func (*FakeSession) CreateSnapshot

func (fake *FakeSession) CreateSnapshot(arg1 *provider.Volume, arg2 map[string]string) (*provider.Snapshot, error)

func (*FakeSession) CreateSnapshotArgsForCall

func (fake *FakeSession) CreateSnapshotArgsForCall(i int) (*provider.Volume, map[string]string)

func (*FakeSession) CreateSnapshotCallCount

func (fake *FakeSession) CreateSnapshotCallCount() int

func (*FakeSession) CreateSnapshotCalls

func (fake *FakeSession) CreateSnapshotCalls(stub func(*provider.Volume, map[string]string) (*provider.Snapshot, error))

func (*FakeSession) CreateSnapshotReturns

func (fake *FakeSession) CreateSnapshotReturns(result1 *provider.Snapshot, result2 error)

func (*FakeSession) CreateSnapshotReturnsOnCall

func (fake *FakeSession) CreateSnapshotReturnsOnCall(i int, result1 *provider.Snapshot, result2 error)

func (*FakeSession) CreateVolume

func (fake *FakeSession) CreateVolume(arg1 provider.Volume) (*provider.Volume, error)

func (*FakeSession) CreateVolumeArgsForCall

func (fake *FakeSession) CreateVolumeArgsForCall(i int) provider.Volume

func (*FakeSession) CreateVolumeCallCount

func (fake *FakeSession) CreateVolumeCallCount() int

func (*FakeSession) CreateVolumeCalls

func (fake *FakeSession) CreateVolumeCalls(stub func(provider.Volume) (*provider.Volume, error))

func (*FakeSession) CreateVolumeFromSnapshot

func (fake *FakeSession) CreateVolumeFromSnapshot(arg1 provider.Snapshot, arg2 map[string]string) (*provider.Volume, error)

func (*FakeSession) CreateVolumeFromSnapshotArgsForCall

func (fake *FakeSession) CreateVolumeFromSnapshotArgsForCall(i int) (provider.Snapshot, map[string]string)

func (*FakeSession) CreateVolumeFromSnapshotCallCount

func (fake *FakeSession) CreateVolumeFromSnapshotCallCount() int

func (*FakeSession) CreateVolumeFromSnapshotCalls

func (fake *FakeSession) CreateVolumeFromSnapshotCalls(stub func(provider.Snapshot, map[string]string) (*provider.Volume, error))

func (*FakeSession) CreateVolumeFromSnapshotReturns

func (fake *FakeSession) CreateVolumeFromSnapshotReturns(result1 *provider.Volume, result2 error)

func (*FakeSession) CreateVolumeFromSnapshotReturnsOnCall

func (fake *FakeSession) CreateVolumeFromSnapshotReturnsOnCall(i int, result1 *provider.Volume, result2 error)

func (*FakeSession) CreateVolumeReturns

func (fake *FakeSession) CreateVolumeReturns(result1 *provider.Volume, result2 error)

func (*FakeSession) CreateVolumeReturnsOnCall

func (fake *FakeSession) CreateVolumeReturnsOnCall(i int, result1 *provider.Volume, result2 error)

func (*FakeSession) DeleteSnapshot

func (fake *FakeSession) DeleteSnapshot(arg1 *provider.Snapshot) error

func (*FakeSession) DeleteSnapshotArgsForCall

func (fake *FakeSession) DeleteSnapshotArgsForCall(i int) *provider.Snapshot

func (*FakeSession) DeleteSnapshotCallCount

func (fake *FakeSession) DeleteSnapshotCallCount() int

func (*FakeSession) DeleteSnapshotCalls

func (fake *FakeSession) DeleteSnapshotCalls(stub func(*provider.Snapshot) error)

func (*FakeSession) DeleteSnapshotReturns

func (fake *FakeSession) DeleteSnapshotReturns(result1 error)

func (*FakeSession) DeleteSnapshotReturnsOnCall

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

func (*FakeSession) DeleteVolume

func (fake *FakeSession) DeleteVolume(arg1 *provider.Volume) error

func (*FakeSession) DeleteVolumeArgsForCall

func (fake *FakeSession) DeleteVolumeArgsForCall(i int) *provider.Volume

func (*FakeSession) DeleteVolumeCallCount

func (fake *FakeSession) DeleteVolumeCallCount() int

func (*FakeSession) DeleteVolumeCalls

func (fake *FakeSession) DeleteVolumeCalls(stub func(*provider.Volume) error)

func (*FakeSession) DeleteVolumeReturns

func (fake *FakeSession) DeleteVolumeReturns(result1 error)

func (*FakeSession) DeleteVolumeReturnsOnCall

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

func (*FakeSession) DetachVolume

func (fake *FakeSession) DetachVolume(arg1 provider.VolumeAttachmentRequest) (*http.Response, error)

func (*FakeSession) DetachVolumeArgsForCall

func (fake *FakeSession) DetachVolumeArgsForCall(i int) provider.VolumeAttachmentRequest

func (*FakeSession) DetachVolumeCallCount

func (fake *FakeSession) DetachVolumeCallCount() int

func (*FakeSession) DetachVolumeCalls

func (fake *FakeSession) DetachVolumeCalls(stub func(provider.VolumeAttachmentRequest) (*http.Response, error))

func (*FakeSession) DetachVolumeReturns

func (fake *FakeSession) DetachVolumeReturns(result1 *http.Response, result2 error)

func (*FakeSession) DetachVolumeReturnsOnCall

func (fake *FakeSession) DetachVolumeReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*FakeSession) GetProviderDisplayName

func (fake *FakeSession) GetProviderDisplayName() provider.VolumeProvider

func (*FakeSession) GetProviderDisplayNameCallCount

func (fake *FakeSession) GetProviderDisplayNameCallCount() int

func (*FakeSession) GetProviderDisplayNameCalls

func (fake *FakeSession) GetProviderDisplayNameCalls(stub func() provider.VolumeProvider)

func (*FakeSession) GetProviderDisplayNameReturns

func (fake *FakeSession) GetProviderDisplayNameReturns(result1 provider.VolumeProvider)

func (*FakeSession) GetProviderDisplayNameReturnsOnCall

func (fake *FakeSession) GetProviderDisplayNameReturnsOnCall(i int, result1 provider.VolumeProvider)

func (*FakeSession) GetSnapshot

func (fake *FakeSession) GetSnapshot(arg1 string) (*provider.Snapshot, error)

func (*FakeSession) GetSnapshotArgsForCall

func (fake *FakeSession) GetSnapshotArgsForCall(i int) string

func (*FakeSession) GetSnapshotCallCount

func (fake *FakeSession) GetSnapshotCallCount() int

func (*FakeSession) GetSnapshotCalls

func (fake *FakeSession) GetSnapshotCalls(stub func(string) (*provider.Snapshot, error))

func (*FakeSession) GetSnapshotReturns

func (fake *FakeSession) GetSnapshotReturns(result1 *provider.Snapshot, result2 error)

func (*FakeSession) GetSnapshotReturnsOnCall

func (fake *FakeSession) GetSnapshotReturnsOnCall(i int, result1 *provider.Snapshot, result2 error)

func (*FakeSession) GetSnapshotWithVolumeID

func (fake *FakeSession) GetSnapshotWithVolumeID(arg1 string, arg2 string) (*provider.Snapshot, error)

func (*FakeSession) GetSnapshotWithVolumeIDArgsForCall

func (fake *FakeSession) GetSnapshotWithVolumeIDArgsForCall(i int) (string, string)

func (*FakeSession) GetSnapshotWithVolumeIDCallCount

func (fake *FakeSession) GetSnapshotWithVolumeIDCallCount() int

func (*FakeSession) GetSnapshotWithVolumeIDCalls

func (fake *FakeSession) GetSnapshotWithVolumeIDCalls(stub func(string, string) (*provider.Snapshot, error))

func (*FakeSession) GetSnapshotWithVolumeIDReturns

func (fake *FakeSession) GetSnapshotWithVolumeIDReturns(result1 *provider.Snapshot, result2 error)

func (*FakeSession) GetSnapshotWithVolumeIDReturnsOnCall

func (fake *FakeSession) GetSnapshotWithVolumeIDReturnsOnCall(i int, result1 *provider.Snapshot, result2 error)

func (*FakeSession) GetVolume

func (fake *FakeSession) GetVolume(arg1 string) (*provider.Volume, error)

func (*FakeSession) GetVolumeArgsForCall

func (fake *FakeSession) GetVolumeArgsForCall(i int) string

func (*FakeSession) GetVolumeAttachment

func (*FakeSession) GetVolumeAttachmentArgsForCall

func (fake *FakeSession) GetVolumeAttachmentArgsForCall(i int) provider.VolumeAttachmentRequest

func (*FakeSession) GetVolumeAttachmentCallCount

func (fake *FakeSession) GetVolumeAttachmentCallCount() int

func (*FakeSession) GetVolumeAttachmentCalls

func (fake *FakeSession) GetVolumeAttachmentCalls(stub func(provider.VolumeAttachmentRequest) (*provider.VolumeAttachmentResponse, error))

func (*FakeSession) GetVolumeAttachmentReturns

func (fake *FakeSession) GetVolumeAttachmentReturns(result1 *provider.VolumeAttachmentResponse, result2 error)

func (*FakeSession) GetVolumeAttachmentReturnsOnCall

func (fake *FakeSession) GetVolumeAttachmentReturnsOnCall(i int, result1 *provider.VolumeAttachmentResponse, result2 error)

func (*FakeSession) GetVolumeByName

func (fake *FakeSession) GetVolumeByName(arg1 string) (*provider.Volume, error)

func (*FakeSession) GetVolumeByNameArgsForCall

func (fake *FakeSession) GetVolumeByNameArgsForCall(i int) string

func (*FakeSession) GetVolumeByNameCallCount

func (fake *FakeSession) GetVolumeByNameCallCount() int

func (*FakeSession) GetVolumeByNameCalls

func (fake *FakeSession) GetVolumeByNameCalls(stub func(string) (*provider.Volume, error))

func (*FakeSession) GetVolumeByNameReturns

func (fake *FakeSession) GetVolumeByNameReturns(result1 *provider.Volume, result2 error)

func (*FakeSession) GetVolumeByNameReturnsOnCall

func (fake *FakeSession) GetVolumeByNameReturnsOnCall(i int, result1 *provider.Volume, result2 error)

func (*FakeSession) GetVolumeByRequestID

func (fake *FakeSession) GetVolumeByRequestID(arg1 string) (*provider.Volume, error)

func (*FakeSession) GetVolumeByRequestIDArgsForCall

func (fake *FakeSession) GetVolumeByRequestIDArgsForCall(i int) string

func (*FakeSession) GetVolumeByRequestIDCallCount

func (fake *FakeSession) GetVolumeByRequestIDCallCount() int

func (*FakeSession) GetVolumeByRequestIDCalls

func (fake *FakeSession) GetVolumeByRequestIDCalls(stub func(string) (*provider.Volume, error))

func (*FakeSession) GetVolumeByRequestIDReturns

func (fake *FakeSession) GetVolumeByRequestIDReturns(result1 *provider.Volume, result2 error)

func (*FakeSession) GetVolumeByRequestIDReturnsOnCall

func (fake *FakeSession) GetVolumeByRequestIDReturnsOnCall(i int, result1 *provider.Volume, result2 error)

func (*FakeSession) GetVolumeCallCount

func (fake *FakeSession) GetVolumeCallCount() int

func (*FakeSession) GetVolumeCalls

func (fake *FakeSession) GetVolumeCalls(stub func(string) (*provider.Volume, error))

func (*FakeSession) GetVolumeReturns

func (fake *FakeSession) GetVolumeReturns(result1 *provider.Volume, result2 error)

func (*FakeSession) GetVolumeReturnsOnCall

func (fake *FakeSession) GetVolumeReturnsOnCall(i int, result1 *provider.Volume, result2 error)

func (*FakeSession) Invocations

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

func (*FakeSession) ListAllSnapshots

func (fake *FakeSession) ListAllSnapshots(arg1 string) ([]*provider.Snapshot, error)

func (*FakeSession) ListAllSnapshotsArgsForCall

func (fake *FakeSession) ListAllSnapshotsArgsForCall(i int) string

func (*FakeSession) ListAllSnapshotsCallCount

func (fake *FakeSession) ListAllSnapshotsCallCount() int

func (*FakeSession) ListAllSnapshotsCalls

func (fake *FakeSession) ListAllSnapshotsCalls(stub func(string) ([]*provider.Snapshot, error))

func (*FakeSession) ListAllSnapshotsReturns

func (fake *FakeSession) ListAllSnapshotsReturns(result1 []*provider.Snapshot, result2 error)

func (*FakeSession) ListAllSnapshotsReturnsOnCall

func (fake *FakeSession) ListAllSnapshotsReturnsOnCall(i int, result1 []*provider.Snapshot, result2 error)

func (*FakeSession) ListSnapshots

func (fake *FakeSession) ListSnapshots() ([]*provider.Snapshot, error)

func (*FakeSession) ListSnapshotsCallCount

func (fake *FakeSession) ListSnapshotsCallCount() int

func (*FakeSession) ListSnapshotsCalls

func (fake *FakeSession) ListSnapshotsCalls(stub func() ([]*provider.Snapshot, error))

func (*FakeSession) ListSnapshotsReturns

func (fake *FakeSession) ListSnapshotsReturns(result1 []*provider.Snapshot, result2 error)

func (*FakeSession) ListSnapshotsReturnsOnCall

func (fake *FakeSession) ListSnapshotsReturnsOnCall(i int, result1 []*provider.Snapshot, result2 error)

func (*FakeSession) ListVolumes

func (fake *FakeSession) ListVolumes(arg1 int, arg2 string, arg3 map[string]string) (*provider.VolumeList, error)

func (*FakeSession) ListVolumesArgsForCall

func (fake *FakeSession) ListVolumesArgsForCall(i int) (int, string, map[string]string)

func (*FakeSession) ListVolumesCallCount

func (fake *FakeSession) ListVolumesCallCount() int

func (*FakeSession) ListVolumesCalls

func (fake *FakeSession) ListVolumesCalls(stub func(int, string, map[string]string) (*provider.VolumeList, error))

func (*FakeSession) ListVolumesReturns

func (fake *FakeSession) ListVolumesReturns(result1 *provider.VolumeList, result2 error)

func (*FakeSession) ListVolumesReturnsOnCall

func (fake *FakeSession) ListVolumesReturnsOnCall(i int, result1 *provider.VolumeList, result2 error)

func (*FakeSession) OrderSnapshot

func (fake *FakeSession) OrderSnapshot(arg1 provider.Volume) error

func (*FakeSession) OrderSnapshotArgsForCall

func (fake *FakeSession) OrderSnapshotArgsForCall(i int) provider.Volume

func (*FakeSession) OrderSnapshotCallCount

func (fake *FakeSession) OrderSnapshotCallCount() int

func (*FakeSession) OrderSnapshotCalls

func (fake *FakeSession) OrderSnapshotCalls(stub func(provider.Volume) error)

func (*FakeSession) OrderSnapshotReturns

func (fake *FakeSession) OrderSnapshotReturns(result1 error)

func (*FakeSession) OrderSnapshotReturnsOnCall

func (fake *FakeSession) OrderSnapshotReturnsOnCall(i int, result1 error)

func (*FakeSession) ProviderName

func (fake *FakeSession) ProviderName() provider.VolumeProvider

func (*FakeSession) ProviderNameCallCount

func (fake *FakeSession) ProviderNameCallCount() int

func (*FakeSession) ProviderNameCalls

func (fake *FakeSession) ProviderNameCalls(stub func() provider.VolumeProvider)

func (*FakeSession) ProviderNameReturns

func (fake *FakeSession) ProviderNameReturns(result1 provider.VolumeProvider)

func (*FakeSession) ProviderNameReturnsOnCall

func (fake *FakeSession) ProviderNameReturnsOnCall(i int, result1 provider.VolumeProvider)

func (*FakeSession) Type

func (fake *FakeSession) Type() provider.VolumeType

func (*FakeSession) TypeCallCount

func (fake *FakeSession) TypeCallCount() int

func (*FakeSession) TypeCalls

func (fake *FakeSession) TypeCalls(stub func() provider.VolumeType)

func (*FakeSession) TypeReturns

func (fake *FakeSession) TypeReturns(result1 provider.VolumeType)

func (*FakeSession) TypeReturnsOnCall

func (fake *FakeSession) TypeReturnsOnCall(i int, result1 provider.VolumeType)

func (*FakeSession) UpdateVolume

func (fake *FakeSession) UpdateVolume(arg1 provider.Volume) error

func (*FakeSession) UpdateVolumeArgsForCall

func (fake *FakeSession) UpdateVolumeArgsForCall(i int) provider.Volume

func (*FakeSession) UpdateVolumeCallCount

func (fake *FakeSession) UpdateVolumeCallCount() int

func (*FakeSession) UpdateVolumeCalls

func (fake *FakeSession) UpdateVolumeCalls(stub func(provider.Volume) error)

func (*FakeSession) UpdateVolumeReturns

func (fake *FakeSession) UpdateVolumeReturns(result1 error)

func (*FakeSession) UpdateVolumeReturnsOnCall

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

func (*FakeSession) WaitForAttachVolume

func (*FakeSession) WaitForAttachVolumeArgsForCall

func (fake *FakeSession) WaitForAttachVolumeArgsForCall(i int) provider.VolumeAttachmentRequest

func (*FakeSession) WaitForAttachVolumeCallCount

func (fake *FakeSession) WaitForAttachVolumeCallCount() int

func (*FakeSession) WaitForAttachVolumeCalls

func (fake *FakeSession) WaitForAttachVolumeCalls(stub func(provider.VolumeAttachmentRequest) (*provider.VolumeAttachmentResponse, error))

func (*FakeSession) WaitForAttachVolumeReturns

func (fake *FakeSession) WaitForAttachVolumeReturns(result1 *provider.VolumeAttachmentResponse, result2 error)

func (*FakeSession) WaitForAttachVolumeReturnsOnCall

func (fake *FakeSession) WaitForAttachVolumeReturnsOnCall(i int, result1 *provider.VolumeAttachmentResponse, result2 error)

func (*FakeSession) WaitForDetachVolume

func (fake *FakeSession) WaitForDetachVolume(arg1 provider.VolumeAttachmentRequest) error

func (*FakeSession) WaitForDetachVolumeArgsForCall

func (fake *FakeSession) WaitForDetachVolumeArgsForCall(i int) provider.VolumeAttachmentRequest

func (*FakeSession) WaitForDetachVolumeCallCount

func (fake *FakeSession) WaitForDetachVolumeCallCount() int

func (*FakeSession) WaitForDetachVolumeCalls

func (fake *FakeSession) WaitForDetachVolumeCalls(stub func(provider.VolumeAttachmentRequest) error)

func (*FakeSession) WaitForDetachVolumeReturns

func (fake *FakeSession) WaitForDetachVolumeReturns(result1 error)

func (*FakeSession) WaitForDetachVolumeReturnsOnCall

func (fake *FakeSession) WaitForDetachVolumeReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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