containerstorefakes

package
v0.1442.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 10 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.

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 FakeContainerInfoProvider

type FakeContainerInfoProvider struct {
	InfoStub func() executor.Container
	// contains filtered or unexported fields
}

func (*FakeContainerInfoProvider) Info

func (*FakeContainerInfoProvider) InfoCallCount

func (fake *FakeContainerInfoProvider) InfoCallCount() int

func (*FakeContainerInfoProvider) InfoCalls

func (fake *FakeContainerInfoProvider) InfoCalls(stub func() executor.Container)

func (*FakeContainerInfoProvider) InfoReturns

func (fake *FakeContainerInfoProvider) InfoReturns(result1 executor.Container)

func (*FakeContainerInfoProvider) InfoReturnsOnCall

func (fake *FakeContainerInfoProvider) InfoReturnsOnCall(i int, result1 executor.Container)

func (*FakeContainerInfoProvider) Invocations

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

type FakeContainerStore

type FakeContainerStore struct {
	CleanupStub func(lager.Logger)

	CreateStub func(lager.Logger, string, string) (executor.Container, error)

	DestroyStub func(lager.Logger, string, string) error

	GetStub func(lager.Logger, string) (executor.Container, error)

	GetFilesStub func(lager.Logger, string, string) (io.ReadCloser, error)

	InitializeStub func(lager.Logger, *executor.RunRequest) error

	ListStub func(lager.Logger) []executor.Container

	MetricsStub func(lager.Logger) (map[string]executor.ContainerMetrics, error)

	NewContainerReaperStub func(lager.Logger) ifrit.Runner

	NewRegistryPrunerStub func(lager.Logger) ifrit.Runner

	RemainingResourcesStub func(lager.Logger) executor.ExecutorResources

	ReserveStub func(lager.Logger, string, *executor.AllocationRequest) (executor.Container, error)

	RunStub func(lager.Logger, string, string) error

	StopStub func(lager.Logger, string, string) error

	UpdateStub func(lager.Logger, *executor.UpdateRequest) error
	// contains filtered or unexported fields
}

func (*FakeContainerStore) Cleanup

func (fake *FakeContainerStore) Cleanup(arg1 lager.Logger)

func (*FakeContainerStore) CleanupArgsForCall

func (fake *FakeContainerStore) CleanupArgsForCall(i int) lager.Logger

func (*FakeContainerStore) CleanupCallCount

func (fake *FakeContainerStore) CleanupCallCount() int

func (*FakeContainerStore) CleanupCalls

func (fake *FakeContainerStore) CleanupCalls(stub func(lager.Logger))

func (*FakeContainerStore) Create

func (fake *FakeContainerStore) Create(arg1 lager.Logger, arg2 string, arg3 string) (executor.Container, error)

func (*FakeContainerStore) CreateArgsForCall

func (fake *FakeContainerStore) CreateArgsForCall(i int) (lager.Logger, string, string)

func (*FakeContainerStore) CreateCallCount

func (fake *FakeContainerStore) CreateCallCount() int

func (*FakeContainerStore) CreateCalls

func (fake *FakeContainerStore) CreateCalls(stub func(lager.Logger, string, string) (executor.Container, error))

func (*FakeContainerStore) CreateReturns

func (fake *FakeContainerStore) CreateReturns(result1 executor.Container, result2 error)

func (*FakeContainerStore) CreateReturnsOnCall

func (fake *FakeContainerStore) CreateReturnsOnCall(i int, result1 executor.Container, result2 error)

func (*FakeContainerStore) Destroy

func (fake *FakeContainerStore) Destroy(arg1 lager.Logger, arg2 string, arg3 string) error

func (*FakeContainerStore) DestroyArgsForCall

func (fake *FakeContainerStore) DestroyArgsForCall(i int) (lager.Logger, string, string)

func (*FakeContainerStore) DestroyCallCount

func (fake *FakeContainerStore) DestroyCallCount() int

func (*FakeContainerStore) DestroyCalls

func (fake *FakeContainerStore) DestroyCalls(stub func(lager.Logger, string, string) error)

func (*FakeContainerStore) DestroyReturns

func (fake *FakeContainerStore) DestroyReturns(result1 error)

func (*FakeContainerStore) DestroyReturnsOnCall

func (fake *FakeContainerStore) DestroyReturnsOnCall(i int, result1 error)

func (*FakeContainerStore) Get

func (fake *FakeContainerStore) Get(arg1 lager.Logger, arg2 string) (executor.Container, error)

func (*FakeContainerStore) GetArgsForCall

func (fake *FakeContainerStore) GetArgsForCall(i int) (lager.Logger, string)

func (*FakeContainerStore) GetCallCount

func (fake *FakeContainerStore) GetCallCount() int

func (*FakeContainerStore) GetCalls

func (fake *FakeContainerStore) GetCalls(stub func(lager.Logger, string) (executor.Container, error))

func (*FakeContainerStore) GetFiles

func (fake *FakeContainerStore) GetFiles(arg1 lager.Logger, arg2 string, arg3 string) (io.ReadCloser, error)

func (*FakeContainerStore) GetFilesArgsForCall

func (fake *FakeContainerStore) GetFilesArgsForCall(i int) (lager.Logger, string, string)

func (*FakeContainerStore) GetFilesCallCount

func (fake *FakeContainerStore) GetFilesCallCount() int

func (*FakeContainerStore) GetFilesCalls

func (fake *FakeContainerStore) GetFilesCalls(stub func(lager.Logger, string, string) (io.ReadCloser, error))

func (*FakeContainerStore) GetFilesReturns

func (fake *FakeContainerStore) GetFilesReturns(result1 io.ReadCloser, result2 error)

func (*FakeContainerStore) GetFilesReturnsOnCall

func (fake *FakeContainerStore) GetFilesReturnsOnCall(i int, result1 io.ReadCloser, result2 error)

func (*FakeContainerStore) GetReturns

func (fake *FakeContainerStore) GetReturns(result1 executor.Container, result2 error)

func (*FakeContainerStore) GetReturnsOnCall

func (fake *FakeContainerStore) GetReturnsOnCall(i int, result1 executor.Container, result2 error)

func (*FakeContainerStore) Initialize

func (fake *FakeContainerStore) Initialize(arg1 lager.Logger, arg2 *executor.RunRequest) error

func (*FakeContainerStore) InitializeArgsForCall

func (fake *FakeContainerStore) InitializeArgsForCall(i int) (lager.Logger, *executor.RunRequest)

func (*FakeContainerStore) InitializeCallCount

func (fake *FakeContainerStore) InitializeCallCount() int

func (*FakeContainerStore) InitializeCalls

func (fake *FakeContainerStore) InitializeCalls(stub func(lager.Logger, *executor.RunRequest) error)

func (*FakeContainerStore) InitializeReturns

func (fake *FakeContainerStore) InitializeReturns(result1 error)

func (*FakeContainerStore) InitializeReturnsOnCall

func (fake *FakeContainerStore) InitializeReturnsOnCall(i int, result1 error)

func (*FakeContainerStore) Invocations

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

func (*FakeContainerStore) List

func (fake *FakeContainerStore) List(arg1 lager.Logger) []executor.Container

func (*FakeContainerStore) ListArgsForCall

func (fake *FakeContainerStore) ListArgsForCall(i int) lager.Logger

func (*FakeContainerStore) ListCallCount

func (fake *FakeContainerStore) ListCallCount() int

func (*FakeContainerStore) ListCalls

func (fake *FakeContainerStore) ListCalls(stub func(lager.Logger) []executor.Container)

func (*FakeContainerStore) ListReturns

func (fake *FakeContainerStore) ListReturns(result1 []executor.Container)

func (*FakeContainerStore) ListReturnsOnCall

func (fake *FakeContainerStore) ListReturnsOnCall(i int, result1 []executor.Container)

func (*FakeContainerStore) Metrics

func (*FakeContainerStore) MetricsArgsForCall

func (fake *FakeContainerStore) MetricsArgsForCall(i int) lager.Logger

func (*FakeContainerStore) MetricsCallCount

func (fake *FakeContainerStore) MetricsCallCount() int

func (*FakeContainerStore) MetricsCalls

func (fake *FakeContainerStore) MetricsCalls(stub func(lager.Logger) (map[string]executor.ContainerMetrics, error))

func (*FakeContainerStore) MetricsReturns

func (fake *FakeContainerStore) MetricsReturns(result1 map[string]executor.ContainerMetrics, result2 error)

func (*FakeContainerStore) MetricsReturnsOnCall

func (fake *FakeContainerStore) MetricsReturnsOnCall(i int, result1 map[string]executor.ContainerMetrics, result2 error)

func (*FakeContainerStore) NewContainerReaper

func (fake *FakeContainerStore) NewContainerReaper(arg1 lager.Logger) ifrit.Runner

func (*FakeContainerStore) NewContainerReaperArgsForCall

func (fake *FakeContainerStore) NewContainerReaperArgsForCall(i int) lager.Logger

func (*FakeContainerStore) NewContainerReaperCallCount

func (fake *FakeContainerStore) NewContainerReaperCallCount() int

func (*FakeContainerStore) NewContainerReaperCalls

func (fake *FakeContainerStore) NewContainerReaperCalls(stub func(lager.Logger) ifrit.Runner)

func (*FakeContainerStore) NewContainerReaperReturns

func (fake *FakeContainerStore) NewContainerReaperReturns(result1 ifrit.Runner)

func (*FakeContainerStore) NewContainerReaperReturnsOnCall

func (fake *FakeContainerStore) NewContainerReaperReturnsOnCall(i int, result1 ifrit.Runner)

func (*FakeContainerStore) NewRegistryPruner

func (fake *FakeContainerStore) NewRegistryPruner(arg1 lager.Logger) ifrit.Runner

func (*FakeContainerStore) NewRegistryPrunerArgsForCall

func (fake *FakeContainerStore) NewRegistryPrunerArgsForCall(i int) lager.Logger

func (*FakeContainerStore) NewRegistryPrunerCallCount

func (fake *FakeContainerStore) NewRegistryPrunerCallCount() int

func (*FakeContainerStore) NewRegistryPrunerCalls

func (fake *FakeContainerStore) NewRegistryPrunerCalls(stub func(lager.Logger) ifrit.Runner)

func (*FakeContainerStore) NewRegistryPrunerReturns

func (fake *FakeContainerStore) NewRegistryPrunerReturns(result1 ifrit.Runner)

func (*FakeContainerStore) NewRegistryPrunerReturnsOnCall

func (fake *FakeContainerStore) NewRegistryPrunerReturnsOnCall(i int, result1 ifrit.Runner)

func (*FakeContainerStore) RemainingResources

func (fake *FakeContainerStore) RemainingResources(arg1 lager.Logger) executor.ExecutorResources

func (*FakeContainerStore) RemainingResourcesArgsForCall

func (fake *FakeContainerStore) RemainingResourcesArgsForCall(i int) lager.Logger

func (*FakeContainerStore) RemainingResourcesCallCount

func (fake *FakeContainerStore) RemainingResourcesCallCount() int

func (*FakeContainerStore) RemainingResourcesCalls

func (fake *FakeContainerStore) RemainingResourcesCalls(stub func(lager.Logger) executor.ExecutorResources)

func (*FakeContainerStore) RemainingResourcesReturns

func (fake *FakeContainerStore) RemainingResourcesReturns(result1 executor.ExecutorResources)

func (*FakeContainerStore) RemainingResourcesReturnsOnCall

func (fake *FakeContainerStore) RemainingResourcesReturnsOnCall(i int, result1 executor.ExecutorResources)

func (*FakeContainerStore) Reserve

func (*FakeContainerStore) ReserveArgsForCall

func (fake *FakeContainerStore) ReserveArgsForCall(i int) (lager.Logger, string, *executor.AllocationRequest)

func (*FakeContainerStore) ReserveCallCount

func (fake *FakeContainerStore) ReserveCallCount() int

func (*FakeContainerStore) ReserveCalls

func (*FakeContainerStore) ReserveReturns

func (fake *FakeContainerStore) ReserveReturns(result1 executor.Container, result2 error)

func (*FakeContainerStore) ReserveReturnsOnCall

func (fake *FakeContainerStore) ReserveReturnsOnCall(i int, result1 executor.Container, result2 error)

func (*FakeContainerStore) Run

func (fake *FakeContainerStore) Run(arg1 lager.Logger, arg2 string, arg3 string) error

func (*FakeContainerStore) RunArgsForCall

func (fake *FakeContainerStore) RunArgsForCall(i int) (lager.Logger, string, string)

func (*FakeContainerStore) RunCallCount

func (fake *FakeContainerStore) RunCallCount() int

func (*FakeContainerStore) RunCalls

func (fake *FakeContainerStore) RunCalls(stub func(lager.Logger, string, string) error)

func (*FakeContainerStore) RunReturns

func (fake *FakeContainerStore) RunReturns(result1 error)

func (*FakeContainerStore) RunReturnsOnCall

func (fake *FakeContainerStore) RunReturnsOnCall(i int, result1 error)

func (*FakeContainerStore) Stop

func (fake *FakeContainerStore) Stop(arg1 lager.Logger, arg2 string, arg3 string) error

func (*FakeContainerStore) StopArgsForCall

func (fake *FakeContainerStore) StopArgsForCall(i int) (lager.Logger, string, string)

func (*FakeContainerStore) StopCallCount

func (fake *FakeContainerStore) StopCallCount() int

func (*FakeContainerStore) StopCalls

func (fake *FakeContainerStore) StopCalls(stub func(lager.Logger, string, string) error)

func (*FakeContainerStore) StopReturns

func (fake *FakeContainerStore) StopReturns(result1 error)

func (*FakeContainerStore) StopReturnsOnCall

func (fake *FakeContainerStore) StopReturnsOnCall(i int, result1 error)

func (*FakeContainerStore) Update

func (fake *FakeContainerStore) Update(arg1 lager.Logger, arg2 *executor.UpdateRequest) error

func (*FakeContainerStore) UpdateArgsForCall

func (fake *FakeContainerStore) UpdateArgsForCall(i int) (lager.Logger, *executor.UpdateRequest)

func (*FakeContainerStore) UpdateCallCount

func (fake *FakeContainerStore) UpdateCallCount() int

func (*FakeContainerStore) UpdateCalls

func (fake *FakeContainerStore) UpdateCalls(stub func(lager.Logger, *executor.UpdateRequest) error)

func (*FakeContainerStore) UpdateReturns

func (fake *FakeContainerStore) UpdateReturns(result1 error)

func (*FakeContainerStore) UpdateReturnsOnCall

func (fake *FakeContainerStore) UpdateReturnsOnCall(i int, result1 error)

type FakeCredManager

type FakeCredManager struct {
	CreateCredDirStub func(lager.Logger, executor.Container) ([]garden.BindMount, []executor.EnvironmentVariable, error)

	RemoveCredDirStub func(lager.Logger, executor.Container) error

	RunnerStub func(lager.Logger, containerstore.ContainerInfoProvider, <-chan struct{}) ifrit.Runner
	// contains filtered or unexported fields
}

func (*FakeCredManager) CreateCredDir

func (*FakeCredManager) CreateCredDirArgsForCall

func (fake *FakeCredManager) CreateCredDirArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeCredManager) CreateCredDirCallCount

func (fake *FakeCredManager) CreateCredDirCallCount() int

func (*FakeCredManager) CreateCredDirCalls

func (fake *FakeCredManager) CreateCredDirCalls(stub func(lager.Logger, executor.Container) ([]garden.BindMount, []executor.EnvironmentVariable, error))

func (*FakeCredManager) CreateCredDirReturns

func (fake *FakeCredManager) CreateCredDirReturns(result1 []garden.BindMount, result2 []executor.EnvironmentVariable, result3 error)

func (*FakeCredManager) CreateCredDirReturnsOnCall

func (fake *FakeCredManager) CreateCredDirReturnsOnCall(i int, result1 []garden.BindMount, result2 []executor.EnvironmentVariable, result3 error)

func (*FakeCredManager) Invocations

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

func (*FakeCredManager) RemoveCredDir

func (fake *FakeCredManager) RemoveCredDir(arg1 lager.Logger, arg2 executor.Container) error

func (*FakeCredManager) RemoveCredDirArgsForCall

func (fake *FakeCredManager) RemoveCredDirArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeCredManager) RemoveCredDirCallCount

func (fake *FakeCredManager) RemoveCredDirCallCount() int

func (*FakeCredManager) RemoveCredDirCalls

func (fake *FakeCredManager) RemoveCredDirCalls(stub func(lager.Logger, executor.Container) error)

func (*FakeCredManager) RemoveCredDirReturns

func (fake *FakeCredManager) RemoveCredDirReturns(result1 error)

func (*FakeCredManager) RemoveCredDirReturnsOnCall

func (fake *FakeCredManager) RemoveCredDirReturnsOnCall(i int, result1 error)

func (*FakeCredManager) Runner

func (fake *FakeCredManager) Runner(arg1 lager.Logger, arg2 containerstore.ContainerInfoProvider, arg3 <-chan struct{}) ifrit.Runner

func (*FakeCredManager) RunnerArgsForCall

func (fake *FakeCredManager) RunnerArgsForCall(i int) (lager.Logger, containerstore.ContainerInfoProvider, <-chan struct{})

func (*FakeCredManager) RunnerCallCount

func (fake *FakeCredManager) RunnerCallCount() int

func (*FakeCredManager) RunnerCalls

func (fake *FakeCredManager) RunnerCalls(stub func(lager.Logger, containerstore.ContainerInfoProvider, <-chan struct{}) ifrit.Runner)

func (*FakeCredManager) RunnerReturns

func (fake *FakeCredManager) RunnerReturns(result1 ifrit.Runner)

func (*FakeCredManager) RunnerReturnsOnCall

func (fake *FakeCredManager) RunnerReturnsOnCall(i int, result1 ifrit.Runner)

type FakeCredentialHandler

type FakeCredentialHandler struct {
	CloseStub func(containerstore.Credentials, executor.Container) error

	CreateDirStub func(lager.Logger, executor.Container) ([]garden.BindMount, []executor.EnvironmentVariable, error)

	RemoveDirStub func(lager.Logger, executor.Container) error

	UpdateStub func(containerstore.Credentials, executor.Container) error
	// contains filtered or unexported fields
}

func (*FakeCredentialHandler) Close

func (*FakeCredentialHandler) CloseArgsForCall

func (*FakeCredentialHandler) CloseCallCount

func (fake *FakeCredentialHandler) CloseCallCount() int

func (*FakeCredentialHandler) CloseCalls

func (*FakeCredentialHandler) CloseReturns

func (fake *FakeCredentialHandler) CloseReturns(result1 error)

func (*FakeCredentialHandler) CloseReturnsOnCall

func (fake *FakeCredentialHandler) CloseReturnsOnCall(i int, result1 error)

func (*FakeCredentialHandler) CreateDir

func (*FakeCredentialHandler) CreateDirArgsForCall

func (fake *FakeCredentialHandler) CreateDirArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeCredentialHandler) CreateDirCallCount

func (fake *FakeCredentialHandler) CreateDirCallCount() int

func (*FakeCredentialHandler) CreateDirCalls

func (*FakeCredentialHandler) CreateDirReturns

func (fake *FakeCredentialHandler) CreateDirReturns(result1 []garden.BindMount, result2 []executor.EnvironmentVariable, result3 error)

func (*FakeCredentialHandler) CreateDirReturnsOnCall

func (fake *FakeCredentialHandler) CreateDirReturnsOnCall(i int, result1 []garden.BindMount, result2 []executor.EnvironmentVariable, result3 error)

func (*FakeCredentialHandler) Invocations

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

func (*FakeCredentialHandler) RemoveDir

func (fake *FakeCredentialHandler) RemoveDir(arg1 lager.Logger, arg2 executor.Container) error

func (*FakeCredentialHandler) RemoveDirArgsForCall

func (fake *FakeCredentialHandler) RemoveDirArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeCredentialHandler) RemoveDirCallCount

func (fake *FakeCredentialHandler) RemoveDirCallCount() int

func (*FakeCredentialHandler) RemoveDirCalls

func (fake *FakeCredentialHandler) RemoveDirCalls(stub func(lager.Logger, executor.Container) error)

func (*FakeCredentialHandler) RemoveDirReturns

func (fake *FakeCredentialHandler) RemoveDirReturns(result1 error)

func (*FakeCredentialHandler) RemoveDirReturnsOnCall

func (fake *FakeCredentialHandler) RemoveDirReturnsOnCall(i int, result1 error)

func (*FakeCredentialHandler) Update

func (*FakeCredentialHandler) UpdateArgsForCall

func (fake *FakeCredentialHandler) UpdateArgsForCall(i int) (containerstore.Credentials, executor.Container)

func (*FakeCredentialHandler) UpdateCallCount

func (fake *FakeCredentialHandler) UpdateCallCount() int

func (*FakeCredentialHandler) UpdateCalls

func (*FakeCredentialHandler) UpdateReturns

func (fake *FakeCredentialHandler) UpdateReturns(result1 error)

func (*FakeCredentialHandler) UpdateReturnsOnCall

func (fake *FakeCredentialHandler) UpdateReturnsOnCall(i int, result1 error)

type FakeDependencyManager

type FakeDependencyManager struct {
	DownloadCachedDependenciesStub func(lager.Logger, []executor.CachedDependency, executor.LogConfig, diego_logging_client.IngressClient) (containerstore.BindMounts, error)

	ReleaseCachedDependenciesStub func(lager.Logger, []containerstore.BindMountCacheKey) error

	StopStub func(lager.Logger)
	// contains filtered or unexported fields
}

func (*FakeDependencyManager) DownloadCachedDependencies

func (*FakeDependencyManager) DownloadCachedDependenciesArgsForCall

func (*FakeDependencyManager) DownloadCachedDependenciesCallCount

func (fake *FakeDependencyManager) DownloadCachedDependenciesCallCount() int

func (*FakeDependencyManager) DownloadCachedDependenciesReturns

func (fake *FakeDependencyManager) DownloadCachedDependenciesReturns(result1 containerstore.BindMounts, result2 error)

func (*FakeDependencyManager) DownloadCachedDependenciesReturnsOnCall

func (fake *FakeDependencyManager) DownloadCachedDependenciesReturnsOnCall(i int, result1 containerstore.BindMounts, result2 error)

func (*FakeDependencyManager) Invocations

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

func (*FakeDependencyManager) ReleaseCachedDependencies

func (fake *FakeDependencyManager) ReleaseCachedDependencies(arg1 lager.Logger, arg2 []containerstore.BindMountCacheKey) error

func (*FakeDependencyManager) ReleaseCachedDependenciesArgsForCall

func (fake *FakeDependencyManager) ReleaseCachedDependenciesArgsForCall(i int) (lager.Logger, []containerstore.BindMountCacheKey)

func (*FakeDependencyManager) ReleaseCachedDependenciesCallCount

func (fake *FakeDependencyManager) ReleaseCachedDependenciesCallCount() int

func (*FakeDependencyManager) ReleaseCachedDependenciesCalls

func (fake *FakeDependencyManager) ReleaseCachedDependenciesCalls(stub func(lager.Logger, []containerstore.BindMountCacheKey) error)

func (*FakeDependencyManager) ReleaseCachedDependenciesReturns

func (fake *FakeDependencyManager) ReleaseCachedDependenciesReturns(result1 error)

func (*FakeDependencyManager) ReleaseCachedDependenciesReturnsOnCall

func (fake *FakeDependencyManager) ReleaseCachedDependenciesReturnsOnCall(i int, result1 error)

func (*FakeDependencyManager) Stop

func (fake *FakeDependencyManager) Stop(arg1 lager.Logger)

func (*FakeDependencyManager) StopArgsForCall

func (fake *FakeDependencyManager) StopArgsForCall(i int) lager.Logger

func (*FakeDependencyManager) StopCallCount

func (fake *FakeDependencyManager) StopCallCount() int

func (*FakeDependencyManager) StopCalls

func (fake *FakeDependencyManager) StopCalls(stub func(lager.Logger))

type FakeGardenClientFactory

type FakeGardenClientFactory struct {
	NewGardenClientStub func(lager.Logger, string) garden.Client
	// contains filtered or unexported fields
}

func (*FakeGardenClientFactory) Invocations

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

func (*FakeGardenClientFactory) NewGardenClient

func (fake *FakeGardenClientFactory) NewGardenClient(arg1 lager.Logger, arg2 string) garden.Client

func (*FakeGardenClientFactory) NewGardenClientArgsForCall

func (fake *FakeGardenClientFactory) NewGardenClientArgsForCall(i int) (lager.Logger, string)

func (*FakeGardenClientFactory) NewGardenClientCallCount

func (fake *FakeGardenClientFactory) NewGardenClientCallCount() int

func (*FakeGardenClientFactory) NewGardenClientCalls

func (fake *FakeGardenClientFactory) NewGardenClientCalls(stub func(lager.Logger, string) garden.Client)

func (*FakeGardenClientFactory) NewGardenClientReturns

func (fake *FakeGardenClientFactory) NewGardenClientReturns(result1 garden.Client)

func (*FakeGardenClientFactory) NewGardenClientReturnsOnCall

func (fake *FakeGardenClientFactory) NewGardenClientReturnsOnCall(i int, result1 garden.Client)

type FakeLogManager

type FakeLogManager struct {
	NewLogStreamerStub func(executor.LogConfig, diego_logging_client.IngressClient, int, int64, time.Duration) log_streamer.LogStreamer
	// contains filtered or unexported fields
}

func (*FakeLogManager) Invocations

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

func (*FakeLogManager) NewLogStreamer

func (*FakeLogManager) NewLogStreamerArgsForCall

func (fake *FakeLogManager) NewLogStreamerArgsForCall(i int) (executor.LogConfig, diego_logging_client.IngressClient, int, int64, time.Duration)

func (*FakeLogManager) NewLogStreamerCallCount

func (fake *FakeLogManager) NewLogStreamerCallCount() int

func (*FakeLogManager) NewLogStreamerCalls

func (*FakeLogManager) NewLogStreamerReturns

func (fake *FakeLogManager) NewLogStreamerReturns(result1 log_streamer.LogStreamer)

func (*FakeLogManager) NewLogStreamerReturnsOnCall

func (fake *FakeLogManager) NewLogStreamerReturnsOnCall(i int, result1 log_streamer.LogStreamer)

type FakeProxyManager

type FakeProxyManager struct {
	CloseStub func(containerstore.Credentials, executor.Container) error

	CreateDirStub func(lager.Logger, executor.Container) ([]garden.BindMount, []executor.EnvironmentVariable, error)

	ProxyPortsStub func(lager.Logger, *executor.Container) ([]executor.ProxyPortMapping, []uint16, error)

	RemoveDirStub func(lager.Logger, executor.Container) error

	UpdateStub func(containerstore.Credentials, executor.Container) error
	// contains filtered or unexported fields
}

func (*FakeProxyManager) Close

func (*FakeProxyManager) CloseArgsForCall

func (fake *FakeProxyManager) CloseArgsForCall(i int) (containerstore.Credentials, executor.Container)

func (*FakeProxyManager) CloseCallCount

func (fake *FakeProxyManager) CloseCallCount() int

func (*FakeProxyManager) CloseCalls

func (fake *FakeProxyManager) CloseCalls(stub func(containerstore.Credentials, executor.Container) error)

func (*FakeProxyManager) CloseReturns

func (fake *FakeProxyManager) CloseReturns(result1 error)

func (*FakeProxyManager) CloseReturnsOnCall

func (fake *FakeProxyManager) CloseReturnsOnCall(i int, result1 error)

func (*FakeProxyManager) CreateDir

func (*FakeProxyManager) CreateDirArgsForCall

func (fake *FakeProxyManager) CreateDirArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeProxyManager) CreateDirCallCount

func (fake *FakeProxyManager) CreateDirCallCount() int

func (*FakeProxyManager) CreateDirCalls

func (*FakeProxyManager) CreateDirReturns

func (fake *FakeProxyManager) CreateDirReturns(result1 []garden.BindMount, result2 []executor.EnvironmentVariable, result3 error)

func (*FakeProxyManager) CreateDirReturnsOnCall

func (fake *FakeProxyManager) CreateDirReturnsOnCall(i int, result1 []garden.BindMount, result2 []executor.EnvironmentVariable, result3 error)

func (*FakeProxyManager) Invocations

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

func (*FakeProxyManager) ProxyPorts

func (fake *FakeProxyManager) ProxyPorts(arg1 lager.Logger, arg2 *executor.Container) ([]executor.ProxyPortMapping, []uint16, error)

func (*FakeProxyManager) ProxyPortsArgsForCall

func (fake *FakeProxyManager) ProxyPortsArgsForCall(i int) (lager.Logger, *executor.Container)

func (*FakeProxyManager) ProxyPortsCallCount

func (fake *FakeProxyManager) ProxyPortsCallCount() int

func (*FakeProxyManager) ProxyPortsCalls

func (fake *FakeProxyManager) ProxyPortsCalls(stub func(lager.Logger, *executor.Container) ([]executor.ProxyPortMapping, []uint16, error))

func (*FakeProxyManager) ProxyPortsReturns

func (fake *FakeProxyManager) ProxyPortsReturns(result1 []executor.ProxyPortMapping, result2 []uint16, result3 error)

func (*FakeProxyManager) ProxyPortsReturnsOnCall

func (fake *FakeProxyManager) ProxyPortsReturnsOnCall(i int, result1 []executor.ProxyPortMapping, result2 []uint16, result3 error)

func (*FakeProxyManager) RemoveDir

func (fake *FakeProxyManager) RemoveDir(arg1 lager.Logger, arg2 executor.Container) error

func (*FakeProxyManager) RemoveDirArgsForCall

func (fake *FakeProxyManager) RemoveDirArgsForCall(i int) (lager.Logger, executor.Container)

func (*FakeProxyManager) RemoveDirCallCount

func (fake *FakeProxyManager) RemoveDirCallCount() int

func (*FakeProxyManager) RemoveDirCalls

func (fake *FakeProxyManager) RemoveDirCalls(stub func(lager.Logger, executor.Container) error)

func (*FakeProxyManager) RemoveDirReturns

func (fake *FakeProxyManager) RemoveDirReturns(result1 error)

func (*FakeProxyManager) RemoveDirReturnsOnCall

func (fake *FakeProxyManager) RemoveDirReturnsOnCall(i int, result1 error)

func (*FakeProxyManager) Update

func (*FakeProxyManager) UpdateArgsForCall

func (fake *FakeProxyManager) UpdateArgsForCall(i int) (containerstore.Credentials, executor.Container)

func (*FakeProxyManager) UpdateCallCount

func (fake *FakeProxyManager) UpdateCallCount() int

func (*FakeProxyManager) UpdateCalls

func (fake *FakeProxyManager) UpdateCalls(stub func(containerstore.Credentials, executor.Container) error)

func (*FakeProxyManager) UpdateReturns

func (fake *FakeProxyManager) UpdateReturns(result1 error)

func (*FakeProxyManager) UpdateReturnsOnCall

func (fake *FakeProxyManager) UpdateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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