mocks

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocateResourceCall

type AllocateResourceCall struct {
	*mock.Call
}

func (*AllocateResourceCall) Return

type ExecutionLooksideBuffer

type ExecutionLooksideBuffer struct {
	mock.Mock
}

ExecutionLooksideBuffer is an autogenerated mock type for the ExecutionLooksideBuffer type

func (*ExecutionLooksideBuffer) ConfirmExecution

func (_m *ExecutionLooksideBuffer) ConfirmExecution(ctx context.Context, executionKey string, executionValue string) error

ConfirmExecution provides a mock function with given fields: ctx, executionKey, executionValue

func (*ExecutionLooksideBuffer) RetrieveExecution

func (_m *ExecutionLooksideBuffer) RetrieveExecution(ctx context.Context, executionKey string) (string, error)

RetrieveExecution provides a mock function with given fields: ctx, executionKey

type ReleaseResourceCall

type ReleaseResourceCall struct {
	*mock.Call
}

func (*ReleaseResourceCall) Return

type ResourceManager

type ResourceManager struct {
	mock.Mock
}

ResourceManager is an autogenerated mock type for the ResourceManager type

func (*ResourceManager) AllocateResource

func (_m *ResourceManager) AllocateResource(ctx context.Context, namespace string, allocationToken string) (resourcemanager.AllocationStatus, error)

AllocateResource provides a mock function with given fields: ctx, namespace, allocationToken

func (*ResourceManager) OnAllocateResource

func (_m *ResourceManager) OnAllocateResource(ctx context.Context, namespace string, allocationToken string) *AllocateResourceCall

func (*ResourceManager) OnAllocateResourceWithMatchers

func (_m *ResourceManager) OnAllocateResourceWithMatchers(matchers []interface{}) *AllocateResourceCall

func (*ResourceManager) OnReleaseResource

func (_m *ResourceManager) OnReleaseResource(ctx context.Context, namespace string, allocationToken string) *ReleaseResourceCall

func (*ResourceManager) OnReleaseResourceWithMatchers

func (_m *ResourceManager) OnReleaseResourceWithMatchers(matchers []interface{}) *ReleaseResourceCall

func (*ResourceManager) ReleaseResource

func (_m *ResourceManager) ReleaseResource(ctx context.Context, namespace string, allocationToken string) error

ReleaseResource provides a mock function with given fields: ctx, namespace, allocationToken

Jump to

Keyboard shortcuts

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