instance

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name     string   `mapstructure:"name"`
	Image    string   `mapstructure:"image"`
	Volumes  []string `mapstructure:"volumes"`
	Arch     string   `mapstructure:"arch"`
	Args     []string `mapstructure:"args"`
	Playbook string   `mapstructure:"playbook"`
	TestFile string   `mapstructure:"testfile"`
	SkipTags []string `mapstructure:"skip_tags"`
	Tags     []string `mapstructure:"tags"`
}

type Instance

type Instance struct {
	Name       string
	Image      string
	Arch       string
	Args       []string
	Playbook   string
	TestFile   string
	SkipTags   []string
	Tags       []string
	WorkDir    string
	RoleName   string
	RoleDir    string
	RoleMounts map[string]string
	Volumes    []string
	container.Engine
	Provisioner provisioner.Provisioner
	Verifier    verifier.Verifier
}

func (*Instance) Converge

func (i *Instance) Converge() error

func (*Instance) Create

func (i *Instance) Create() (string, error)

func (*Instance) Destroy

func (i *Instance) Destroy() error

func (*Instance) Exists

func (i *Instance) Exists() bool

func (*Instance) Prepare added in v0.2.0

func (i *Instance) Prepare() error

func (*Instance) Shell

func (i *Instance) Shell() error

func (*Instance) Verify

func (i *Instance) Verify() error

type Instances

type Instances []Instance

Jump to

Keyboard shortcuts

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