fixture

package
v0.0.0-...-2028a87 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHostConfigData

func NewHostConfigData(userData string, networkData string, metaData string) provisioner.HostConfigData

NewHostConfigData creates new host configuration data

Types

type Fixture

type Fixture struct {
	// counter to set the provisioner as ready
	BecomeReadyCounter int
	// state to manage deletion
	Deleted bool
	// contains filtered or unexported fields
}

Fixture contains persistent state for a particular host

func (*Fixture) NewProvisioner

func (f *Fixture) NewProvisioner(hostData provisioner.HostData, publisher provisioner.EventPublisher) (provisioner.Provisioner, error)

New returns a new Fixture Provisioner

func (*Fixture) SetValidateError

func (f *Fixture) SetValidateError(message string)

Jump to

Keyboard shortcuts

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