Documentation ¶
Index ¶
- func GetToken(cmd *cobra.Command, tokenArg string) (string, error)
- func IssueCommand(site, env, cmd, args, token string) error
- func LoadEnvironment(cmd *cobra.Command) (string, string, error)
- func WaitUntilOnline(site, env, token string) error
- func WakeEnvironment(site, env, token string) error
- type ConnectionInfo
- type Credentials
- type TcpService
- type TlsService
- type Yml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IssueCommand ¶
func WaitUntilOnline ¶
func WakeEnvironment ¶
Types ¶
type ConnectionInfo ¶
type ConnectionInfo struct { Blazegraph *TlsService `json:"blazegraph,omitempty"` Database *TcpService `json:"database"` Drupal *TlsService `json:"drupal,omitempty"` Fcrepo *TlsService `json:"fcrepo,omitempty"` Iiif *TlsService `json:"iiif,omitempty"` Matomo *TlsService `json:"matomo,omitempty"` Solr *TlsService `json:"solr,omitempty"` Ssh *TcpService `json:"ssh,omitempty"` }
type Credentials ¶
type TcpService ¶
type TcpService struct { Host string `json:"host"` Name string `json:"name,omitempty"` Port int `json:"port"` Credentials *Credentials `json:"credentials"` }
type TlsService ¶
type TlsService struct { Url string `json:"url"` Credentials *Credentials `json:"credentials,omitempty"` }
type Yml ¶ added in v0.4.3
type Yml struct { Version float32 `yaml:"version"` Php float32 `yaml:"php"` HttpsFirewall []string `yaml:"https-firewall"` SshFirewall []string `yaml:"ssh-firewall"` BlockedIps []string `yaml:"blocked-ips"` Developers map[string][]string `yaml:"developers"` MariaDB string `yaml:"mariadb,omitempty"` Solr int `yaml:"solr,omitempty"` DomainMapping map[string][]string `yaml:"domain-mappings,omitempty"` }
Click to show internal directories.
Click to hide internal directories.