mocks

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsMock

func AsMock(obj interface{}) *mock.Mock

AsMock performs a typeconversion to *Mock.

Types

type MockGetter

type MockGetter interface {
	AsMock() *mock.Mock
}

type Provisioner

type Provisioner interface {
	provisioner.API
	MockGetter
}

func NewProvisioner

func NewProvisioner(nodeName string, available, capacity int64) Provisioner

NewProvisioner returns a new mocked provisioner

Jump to

Keyboard shortcuts

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