Documentation
¶
Index ¶
- func CheckProxy() error
- func ConfigureHostname(name string) error
- func ConfigureNetwork(network Network) (string, error)
- func ConfigureSSHKeys(config *Config) error
- func EncodeConfig(config *Config) ([]byte, error)
- func EncodeResult(result *ProvisionResult) ([]byte, error)
- func InstallProxyService(config *ProxyConfig) error
- type Config
- type Network
- type ProvisionResult
- type ProxyConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckProxy ¶
func CheckProxy() error
func ConfigureHostname ¶
func ConfigureNetwork ¶
func ConfigureSSHKeys ¶
func EncodeConfig ¶
func EncodeResult ¶
func EncodeResult(result *ProvisionResult) ([]byte, error)
func InstallProxyService ¶
func InstallProxyService(config *ProxyConfig) error
Types ¶
type Config ¶
type Config struct {
Hostname string
Environment []string
DockerArgs []string
DefaultUser string
AuthorizedSSHKeys []string
Script []string
}
func DecodeConfig ¶
type ProvisionResult ¶
func DecodeResult ¶
func DecodeResult(input []byte) (*ProvisionResult, error)
func Provision ¶
func Provision(config *Config) (*ProvisionResult, error)
Click to show internal directories.
Click to hide internal directories.