provisioners

package
v0.130.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ansible

type Ansible struct{}

func (Ansible) Accept

func (Ansible) Accept(ptype string) bool

func (Ansible) Exec

func (Ansible) Exec(vmName string, script string) error

type Func

type Func func(vmName string, script string) error

func Load

func Load(pType string) (Func, error)

type Provisioner

type Provisioner interface {
	Accept(ptype string) bool
	Exec(vmName string, script string) error
}

type Shell

type Shell struct{}

func (Shell) Accept

func (Shell) Accept(ptype string) bool

func (Shell) Exec

func (Shell) Exec(vmName string, script string) error

Jump to

Keyboard shortcuts

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