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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeContainerManager

type FakeContainerManager struct {
	HandlesStub func() ([]string, error)

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

func (*FakeContainerManager) Handles

func (fake *FakeContainerManager) Handles() ([]string, error)

func (*FakeContainerManager) HandlesCallCount

func (fake *FakeContainerManager) HandlesCallCount() int

func (*FakeContainerManager) HandlesCalls

func (fake *FakeContainerManager) HandlesCalls(stub func() ([]string, error))

func (*FakeContainerManager) HandlesReturns

func (fake *FakeContainerManager) HandlesReturns(result1 []string, result2 error)

func (*FakeContainerManager) HandlesReturnsOnCall

func (fake *FakeContainerManager) HandlesReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeContainerManager) Invocations

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

func (*FakeContainerManager) Metrics

func (*FakeContainerManager) MetricsArgsForCall

func (fake *FakeContainerManager) MetricsArgsForCall(i int) (lager.Logger, string)

func (*FakeContainerManager) MetricsCallCount

func (fake *FakeContainerManager) MetricsCallCount() int

func (*FakeContainerManager) MetricsCalls

func (fake *FakeContainerManager) MetricsCalls(stub func(lager.Logger, string) (gardener.ActualContainerMetrics, error))

func (*FakeContainerManager) MetricsReturns

func (fake *FakeContainerManager) MetricsReturns(result1 gardener.ActualContainerMetrics, result2 error)

func (*FakeContainerManager) MetricsReturnsOnCall

func (fake *FakeContainerManager) MetricsReturnsOnCall(i int, result1 gardener.ActualContainerMetrics, result2 error)

type FakeEnforcer

type FakeEnforcer struct {
	PunishStub func(lager.Logger, string) error

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

func (*FakeEnforcer) Invocations

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

func (*FakeEnforcer) Punish

func (fake *FakeEnforcer) Punish(arg1 lager.Logger, arg2 string) error

func (*FakeEnforcer) PunishArgsForCall

func (fake *FakeEnforcer) PunishArgsForCall(i int) (lager.Logger, string)

func (*FakeEnforcer) PunishCallCount

func (fake *FakeEnforcer) PunishCallCount() int

func (*FakeEnforcer) PunishCalls

func (fake *FakeEnforcer) PunishCalls(stub func(lager.Logger, string) error)

func (*FakeEnforcer) PunishReturns

func (fake *FakeEnforcer) PunishReturns(result1 error)

func (*FakeEnforcer) PunishReturnsOnCall

func (fake *FakeEnforcer) PunishReturnsOnCall(i int, result1 error)

func (*FakeEnforcer) Release

func (fake *FakeEnforcer) Release(arg1 lager.Logger, arg2 string) error

func (*FakeEnforcer) ReleaseArgsForCall

func (fake *FakeEnforcer) ReleaseArgsForCall(i int) (lager.Logger, string)

func (*FakeEnforcer) ReleaseCallCount

func (fake *FakeEnforcer) ReleaseCallCount() int

func (*FakeEnforcer) ReleaseCalls

func (fake *FakeEnforcer) ReleaseCalls(stub func(lager.Logger, string) error)

func (*FakeEnforcer) ReleaseReturns

func (fake *FakeEnforcer) ReleaseReturns(result1 error)

func (*FakeEnforcer) ReleaseReturnsOnCall

func (fake *FakeEnforcer) ReleaseReturnsOnCall(i int, result1 error)

type FakeMemoryProvider

type FakeMemoryProvider struct {
	TotalMemoryStub func() (uint64, error)
	// contains filtered or unexported fields
}

func (*FakeMemoryProvider) Invocations

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

func (*FakeMemoryProvider) TotalMemory

func (fake *FakeMemoryProvider) TotalMemory() (uint64, error)

func (*FakeMemoryProvider) TotalMemoryCallCount

func (fake *FakeMemoryProvider) TotalMemoryCallCount() int

func (*FakeMemoryProvider) TotalMemoryCalls

func (fake *FakeMemoryProvider) TotalMemoryCalls(stub func() (uint64, error))

func (*FakeMemoryProvider) TotalMemoryReturns

func (fake *FakeMemoryProvider) TotalMemoryReturns(result1 uint64, result2 error)

func (*FakeMemoryProvider) TotalMemoryReturnsOnCall

func (fake *FakeMemoryProvider) TotalMemoryReturnsOnCall(i int, result1 uint64, result2 error)

type FakeMetricsSource

type FakeMetricsSource struct {
	CollectMetricsStub func(lager.Logger) (map[string]gardener.ActualContainerMetrics, error)
	// contains filtered or unexported fields
}

func (*FakeMetricsSource) CollectMetrics

func (fake *FakeMetricsSource) CollectMetrics(arg1 lager.Logger) (map[string]gardener.ActualContainerMetrics, error)

func (*FakeMetricsSource) CollectMetricsArgsForCall

func (fake *FakeMetricsSource) CollectMetricsArgsForCall(i int) lager.Logger

func (*FakeMetricsSource) CollectMetricsCallCount

func (fake *FakeMetricsSource) CollectMetricsCallCount() int

func (*FakeMetricsSource) CollectMetricsCalls

func (fake *FakeMetricsSource) CollectMetricsCalls(stub func(lager.Logger) (map[string]gardener.ActualContainerMetrics, error))

func (*FakeMetricsSource) CollectMetricsReturns

func (fake *FakeMetricsSource) CollectMetricsReturns(result1 map[string]gardener.ActualContainerMetrics, result2 error)

func (*FakeMetricsSource) CollectMetricsReturnsOnCall

func (fake *FakeMetricsSource) CollectMetricsReturnsOnCall(i int, result1 map[string]gardener.ActualContainerMetrics, result2 error)

func (*FakeMetricsSource) Invocations

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

type FakeRunnable

type FakeRunnable struct {
	RunStub func(lager.Logger) error
	// contains filtered or unexported fields
}

func (*FakeRunnable) Invocations

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

func (*FakeRunnable) Run

func (fake *FakeRunnable) Run(arg1 lager.Logger) error

func (*FakeRunnable) RunArgsForCall

func (fake *FakeRunnable) RunArgsForCall(i int) lager.Logger

func (*FakeRunnable) RunCallCount

func (fake *FakeRunnable) RunCallCount() int

func (*FakeRunnable) RunCalls

func (fake *FakeRunnable) RunCalls(stub func(lager.Logger) error)

func (*FakeRunnable) RunReturns

func (fake *FakeRunnable) RunReturns(result1 error)

func (*FakeRunnable) RunReturnsOnCall

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