volmanfakes

package
v0.0.0-...-3b243c5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeDiscoverer

type FakeDiscoverer struct {
	DiscoverStub func(lager.Logger) (map[string]volman.Plugin, error)
	// contains filtered or unexported fields
}

func (*FakeDiscoverer) Discover

func (fake *FakeDiscoverer) Discover(arg1 lager.Logger) (map[string]volman.Plugin, error)

func (*FakeDiscoverer) DiscoverArgsForCall

func (fake *FakeDiscoverer) DiscoverArgsForCall(i int) lager.Logger

func (*FakeDiscoverer) DiscoverCallCount

func (fake *FakeDiscoverer) DiscoverCallCount() int

func (*FakeDiscoverer) DiscoverCalls

func (fake *FakeDiscoverer) DiscoverCalls(stub func(lager.Logger) (map[string]volman.Plugin, error))

func (*FakeDiscoverer) DiscoverReturns

func (fake *FakeDiscoverer) DiscoverReturns(result1 map[string]volman.Plugin, result2 error)

func (*FakeDiscoverer) DiscoverReturnsOnCall

func (fake *FakeDiscoverer) DiscoverReturnsOnCall(i int, result1 map[string]volman.Plugin, result2 error)

func (*FakeDiscoverer) Invocations

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

type FakeDockerDriverFactory

type FakeDockerDriverFactory struct {
	DockerDriverStub func(lager.Logger, string, string, string) (dockerdriver.Driver, error)
	// contains filtered or unexported fields
}

func (*FakeDockerDriverFactory) DockerDriver

func (fake *FakeDockerDriverFactory) DockerDriver(arg1 lager.Logger, arg2 string, arg3 string, arg4 string) (dockerdriver.Driver, error)

func (*FakeDockerDriverFactory) DockerDriverArgsForCall

func (fake *FakeDockerDriverFactory) DockerDriverArgsForCall(i int) (lager.Logger, string, string, string)

func (*FakeDockerDriverFactory) DockerDriverCallCount

func (fake *FakeDockerDriverFactory) DockerDriverCallCount() int

func (*FakeDockerDriverFactory) DockerDriverCalls

func (fake *FakeDockerDriverFactory) DockerDriverCalls(stub func(lager.Logger, string, string, string) (dockerdriver.Driver, error))

func (*FakeDockerDriverFactory) DockerDriverReturns

func (fake *FakeDockerDriverFactory) DockerDriverReturns(result1 dockerdriver.Driver, result2 error)

func (*FakeDockerDriverFactory) DockerDriverReturnsOnCall

func (fake *FakeDockerDriverFactory) DockerDriverReturnsOnCall(i int, result1 dockerdriver.Driver, result2 error)

func (*FakeDockerDriverFactory) Invocations

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

type FakeManager

type FakeManager struct {
	ListDriversStub func(lager.Logger) (volman.ListDriversResponse, error)

	MountStub func(lager.Logger, string, string, string, map[string]interface{}) (volman.MountResponse, error)

	UnmountStub func(lager.Logger, string, string, string) error
	// contains filtered or unexported fields
}

func (*FakeManager) Invocations

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

func (*FakeManager) ListDrivers

func (fake *FakeManager) ListDrivers(arg1 lager.Logger) (volman.ListDriversResponse, error)

func (*FakeManager) ListDriversArgsForCall

func (fake *FakeManager) ListDriversArgsForCall(i int) lager.Logger

func (*FakeManager) ListDriversCallCount

func (fake *FakeManager) ListDriversCallCount() int

func (*FakeManager) ListDriversCalls

func (fake *FakeManager) ListDriversCalls(stub func(lager.Logger) (volman.ListDriversResponse, error))

func (*FakeManager) ListDriversReturns

func (fake *FakeManager) ListDriversReturns(result1 volman.ListDriversResponse, result2 error)

func (*FakeManager) ListDriversReturnsOnCall

func (fake *FakeManager) ListDriversReturnsOnCall(i int, result1 volman.ListDriversResponse, result2 error)

func (*FakeManager) Mount

func (fake *FakeManager) Mount(arg1 lager.Logger, arg2 string, arg3 string, arg4 string, arg5 map[string]interface{}) (volman.MountResponse, error)

func (*FakeManager) MountArgsForCall

func (fake *FakeManager) MountArgsForCall(i int) (lager.Logger, string, string, string, map[string]interface{})

func (*FakeManager) MountCallCount

func (fake *FakeManager) MountCallCount() int

func (*FakeManager) MountCalls

func (fake *FakeManager) MountCalls(stub func(lager.Logger, string, string, string, map[string]interface{}) (volman.MountResponse, error))

func (*FakeManager) MountReturns

func (fake *FakeManager) MountReturns(result1 volman.MountResponse, result2 error)

func (*FakeManager) MountReturnsOnCall

func (fake *FakeManager) MountReturnsOnCall(i int, result1 volman.MountResponse, result2 error)

func (*FakeManager) Unmount

func (fake *FakeManager) Unmount(arg1 lager.Logger, arg2 string, arg3 string, arg4 string) error

func (*FakeManager) UnmountArgsForCall

func (fake *FakeManager) UnmountArgsForCall(i int) (lager.Logger, string, string, string)

func (*FakeManager) UnmountCallCount

func (fake *FakeManager) UnmountCallCount() int

func (*FakeManager) UnmountCalls

func (fake *FakeManager) UnmountCalls(stub func(lager.Logger, string, string, string) error)

func (*FakeManager) UnmountReturns

func (fake *FakeManager) UnmountReturns(result1 error)

func (*FakeManager) UnmountReturnsOnCall

func (fake *FakeManager) UnmountReturnsOnCall(i int, result1 error)

type FakePlugin

type FakePlugin struct {
	GetPluginSpecStub func() volman.PluginSpec

	ListVolumesStub func(lager.Logger) ([]string, error)

	MatchesStub func(lager.Logger, volman.PluginSpec) bool

	MountStub func(lager.Logger, string, map[string]interface{}) (volman.MountResponse, error)

	UnmountStub func(lager.Logger, string) error
	// contains filtered or unexported fields
}

func (*FakePlugin) GetPluginSpec

func (fake *FakePlugin) GetPluginSpec() volman.PluginSpec

func (*FakePlugin) GetPluginSpecCallCount

func (fake *FakePlugin) GetPluginSpecCallCount() int

func (*FakePlugin) GetPluginSpecCalls

func (fake *FakePlugin) GetPluginSpecCalls(stub func() volman.PluginSpec)

func (*FakePlugin) GetPluginSpecReturns

func (fake *FakePlugin) GetPluginSpecReturns(result1 volman.PluginSpec)

func (*FakePlugin) GetPluginSpecReturnsOnCall

func (fake *FakePlugin) GetPluginSpecReturnsOnCall(i int, result1 volman.PluginSpec)

func (*FakePlugin) Invocations

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

func (*FakePlugin) ListVolumes

func (fake *FakePlugin) ListVolumes(arg1 lager.Logger) ([]string, error)

func (*FakePlugin) ListVolumesArgsForCall

func (fake *FakePlugin) ListVolumesArgsForCall(i int) lager.Logger

func (*FakePlugin) ListVolumesCallCount

func (fake *FakePlugin) ListVolumesCallCount() int

func (*FakePlugin) ListVolumesCalls

func (fake *FakePlugin) ListVolumesCalls(stub func(lager.Logger) ([]string, error))

func (*FakePlugin) ListVolumesReturns

func (fake *FakePlugin) ListVolumesReturns(result1 []string, result2 error)

func (*FakePlugin) ListVolumesReturnsOnCall

func (fake *FakePlugin) ListVolumesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakePlugin) Matches

func (fake *FakePlugin) Matches(arg1 lager.Logger, arg2 volman.PluginSpec) bool

func (*FakePlugin) MatchesArgsForCall

func (fake *FakePlugin) MatchesArgsForCall(i int) (lager.Logger, volman.PluginSpec)

func (*FakePlugin) MatchesCallCount

func (fake *FakePlugin) MatchesCallCount() int

func (*FakePlugin) MatchesCalls

func (fake *FakePlugin) MatchesCalls(stub func(lager.Logger, volman.PluginSpec) bool)

func (*FakePlugin) MatchesReturns

func (fake *FakePlugin) MatchesReturns(result1 bool)

func (*FakePlugin) MatchesReturnsOnCall

func (fake *FakePlugin) MatchesReturnsOnCall(i int, result1 bool)

func (*FakePlugin) Mount

func (fake *FakePlugin) Mount(arg1 lager.Logger, arg2 string, arg3 map[string]interface{}) (volman.MountResponse, error)

func (*FakePlugin) MountArgsForCall

func (fake *FakePlugin) MountArgsForCall(i int) (lager.Logger, string, map[string]interface{})

func (*FakePlugin) MountCallCount

func (fake *FakePlugin) MountCallCount() int

func (*FakePlugin) MountCalls

func (fake *FakePlugin) MountCalls(stub func(lager.Logger, string, map[string]interface{}) (volman.MountResponse, error))

func (*FakePlugin) MountReturns

func (fake *FakePlugin) MountReturns(result1 volman.MountResponse, result2 error)

func (*FakePlugin) MountReturnsOnCall

func (fake *FakePlugin) MountReturnsOnCall(i int, result1 volman.MountResponse, result2 error)

func (*FakePlugin) Unmount

func (fake *FakePlugin) Unmount(arg1 lager.Logger, arg2 string) error

func (*FakePlugin) UnmountArgsForCall

func (fake *FakePlugin) UnmountArgsForCall(i int) (lager.Logger, string)

func (*FakePlugin) UnmountCallCount

func (fake *FakePlugin) UnmountCallCount() int

func (*FakePlugin) UnmountCalls

func (fake *FakePlugin) UnmountCalls(stub func(lager.Logger, string) error)

func (*FakePlugin) UnmountReturns

func (fake *FakePlugin) UnmountReturns(result1 error)

func (*FakePlugin) UnmountReturnsOnCall

func (fake *FakePlugin) UnmountReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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