install

package
v0.0.0-...-9451de5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2019 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHost

func AddHost(h *Host) error

Types

type ErrHostAlreadyExists

type ErrHostAlreadyExists struct {
	Name string
}

func (*ErrHostAlreadyExists) Error

func (e *ErrHostAlreadyExists) Error() string

type ErrHostNotFound

type ErrHostNotFound struct {
	Name string
}

func (*ErrHostNotFound) Error

func (e *ErrHostNotFound) Error() string

type Host

type Host struct {
	Name          string
	Driver        map[string]interface{}
	DriverName    string
	SSHPrivateKey string
	CaCert        string
	CaPrivateKey  string
}

func GetHostByName

func GetHostByName(name string) (*Host, error)

func ListHosts

func ListHosts() ([]*Host, error)

Jump to

Keyboard shortcuts

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