Documentation ¶
Index ¶
Constants ¶
View Source
const ( Waiting int = iota Ready Succeeded Failed Interrupted )
Variables ¶
View Source
var CommandTypes = []string{"sh", "psql"}
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Name string `yaml:"name"` URI string `yaml:"uri"` Host string `yaml:"host"` Port int `yaml:"port"` Dbname string `yaml:"dbname"` User string `yaml:"user"` Password string `yaml:"password"` }
func (Connection) CombinedURI ¶
func (c Connection) CombinedURI() string
type Connections ¶
type Connections []Connection
func (Connections) GetURIByName ¶
func (c Connections) GetURIByName(name string) (string, error)
Click to show internal directories.
Click to hide internal directories.