stage

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNetworkCollisions

func CheckNetworkCollisions(target *net.IPNet) error

func CleanupDHCPServers

func CleanupDHCPServers() error

Types

type Options

type Options struct {
	Modify    []string
	Provision []string
}

type Stage

type Stage struct{}

func New

func New() *Stage

func (*Stage) Available

func (vbox *Stage) Available(name string) (bool, error)

func (*Stage) CreateStage

func (vbox *Stage) CreateStage(conf *api.Stage) error

func (*Stage) DeleteStage

func (vbox *Stage) DeleteStage(name string, force bool, volumes bool) error

func (*Stage) Exist

func (vbox *Stage) Exist(name string) (bool, error)

func (*Stage) GetContainerRuntime

func (vbox *Stage) GetContainerRuntime(name string) (runtime.ContainerRuntime, error)

func (*Stage) GetImageBuilder

func (vbox *Stage) GetImageBuilder(name string) (builder.ImageBuilder, error)

func (*Stage) GetSSHOptions

func (vbox *Stage) GetSSHOptions(name string) (*api.SSHOptions, error)

func (*Stage) GetStage

func (vbox *Stage) GetStage(name string) (*api.GetStageResponse, error)

func (*Stage) GetURL

func (vbox *Stage) GetURL(name string) (string, error)

func (*Stage) Init

func (vbox *Stage) Init() (plugin.PluginConfig, error)

func (*Stage) PluginInfo

func (vbox *Stage) PluginInfo() *coreapi.PluginInfo

func (*Stage) SetupHostOnlyNetwork

func (vbox *Stage) SetupHostOnlyNetwork(name string, cidr string) error

func (*Stage) StartStage

func (vbox *Stage) StartStage(name string) error

func (*Stage) StopStage

func (vbox *Stage) StopStage(name string) error

func (*Stage) Type

func (vbox *Stage) Type() plugin.Type

type State

type State struct {
	IPAddress      string
	Username       string
	PrivateKeyFile string
}

Jump to

Keyboard shortcuts

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