drivers

package
v0.0.0-...-433fd04 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 75 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInstanceIsStopped error = fmt.Errorf("The instance is already stopped")

ErrInstanceIsStopped indicates that the instance is stopped.

Functions

func PrepareEqualTest

func PrepareEqualTest(insts ...instance.Instance)

PrepareEqualTest modifies any unexported variables required for reflect.DeepEqual to complete safely. This is used for tests to avoid infinite recursion loops.

func SupportedInstanceTypes

func SupportedInstanceTypes() map[instancetype.Type]instance.Info

SupportedInstanceTypes returns a map of Info structs for all operational instance type drivers. The first time this function is called each of the instance drivers will be probed for support and the result will be cached internally to make subsequent calls faster.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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