Documentation ¶
Index ¶
- type AllocateResourceCall
- type ExecutionLooksideBuffer
- type ReleaseResourceCall
- type ResourceManager
- func (_m *ResourceManager) AllocateResource(ctx context.Context, namespace string, allocationToken string) (resourcemanager.AllocationStatus, error)
- func (_m *ResourceManager) OnAllocateResource(ctx context.Context, namespace string, allocationToken string) *AllocateResourceCall
- func (_m *ResourceManager) OnAllocateResourceWithMatchers(matchers []interface{}) *AllocateResourceCall
- func (_m *ResourceManager) OnReleaseResource(ctx context.Context, namespace string, allocationToken string) *ReleaseResourceCall
- func (_m *ResourceManager) OnReleaseResourceWithMatchers(matchers []interface{}) *ReleaseResourceCall
- func (_m *ResourceManager) ReleaseResource(ctx context.Context, namespace string, allocationToken string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocateResourceCall ¶
func (*AllocateResourceCall) Return ¶
func (_a *AllocateResourceCall) Return(status resourcemanager.AllocationStatus, err error) *AllocateResourceCall
type ExecutionLooksideBuffer ¶
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 ¶
func (*ReleaseResourceCall) Return ¶
func (_a *ReleaseResourceCall) Return(err error) *ReleaseResourceCall
type ResourceManager ¶
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
Click to show internal directories.
Click to hide internal directories.