vagrant

package
v0.0.0-...-4ef6c67 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVagrantMachines

func NewVagrantMachines(logger log.Logger, vagrantDir string, verbose bool) machine.MachineCURDFactory

Types

type VagrantFolder

type VagrantFolder struct {
	// contains filtered or unexported fields
}

func NewVagrantFolder

func NewVagrantFolder(folderpath string) *VagrantFolder

func (*VagrantFolder) GenerateVagrantFiles

func (v *VagrantFolder) GenerateVagrantFiles(tmplConfig *vagranttemplates.VagrantTemplateConfig) error

type VagrantMachine

type VagrantMachine struct {
	// contains filtered or unexported fields
}

func (*VagrantMachine) Destroy

func (v *VagrantMachine) Destroy() error

func (*VagrantMachine) ExportKubeConfig

func (v *VagrantMachine) ExportKubeConfig(path string, force bool) error

func (*VagrantMachine) GetKubeCli

func (v *VagrantMachine) GetKubeCli() *kubectl.CLI

func (*VagrantMachine) GetKubeConfig

func (v *VagrantMachine) GetKubeConfig() string

func (*VagrantMachine) HostDir

func (v *VagrantMachine) HostDir() string

func (*VagrantMachine) Info

func (v *VagrantMachine) Info() (*machine.MachineInfo, error)

func (*VagrantMachine) Name

func (v *VagrantMachine) Name() string

func (*VagrantMachine) NewVagrantCli

func (v *VagrantMachine) NewVagrantCli() (*vagrantclient.VagrantCli, error)

func (*VagrantMachine) Type

func (*VagrantMachine) Up

func (v *VagrantMachine) Up() error

type VagrantMachines

type VagrantMachines struct {
	// contains filtered or unexported fields
}

func (*VagrantMachines) EnsureRuntime

func (vm *VagrantMachines) EnsureRuntime() error

func (*VagrantMachines) ListMachines

func (vm *VagrantMachines) ListMachines() ([]machine.MachineCURD, error)

func (*VagrantMachines) NewMachine

func (vm *VagrantMachines) NewMachine(name string, options machine.MachineConfiger) (machine.MachineCURD, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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