Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerConfig ¶
type DockerConfig struct {
// ContainerID is the ID of the container to run
ContainerID string `yaml:"containerID"`
}
type ProxyConfig ¶
type ProxyConfig struct {
// ListenAddress is the address to listen on (the proxy)
ListenAddress string `yaml:"listenAddress"`
// The Cloud this instance is in
Cloud Cloud `yaml:"cloud"`
Server *ServerConfig `yaml:"server"`
CloudConfig struct {
GCP *GCPConfig `yaml:"gcp"`
Docker *DockerConfig `yaml:"docker"`
} `yaml:"cloudConfig"`
}
ProxyConfig is a configuration file for the proxy
func LoadProxyConfig ¶
func LoadProxyConfig(path string) (*ProxyConfig, error)
LoadProxyConfig loads a proxy configuration file
type ServerConfig ¶
type ServerConfig struct {
// Hostname of the remote server
Hostname string `yaml:"hostname"`
// Port of the remote server
Port uint `yaml:"port"`
// ProtocolVersion of the server
ProtocolVersion uint `yaml:"protocolVersion"`
// Version of the server
Version string `yaml:"textVersion"`
}
Server configuration block
Click to show internal directories.
Click to hide internal directories.