Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotFoundError error = errors.New("resource not found")
View Source
var NotImplementedError error = errors.New("resource method not implemented")
Functions ¶
func NormalizeIdentifier ¶
NormalizeIdentifier normalizes user-provided identifiers by adapting them to the most strict cloud provider naming requisites.
Types ¶
type Environment ¶
type Environment struct { Image string Script string Variables map[string]*string Timeout time.Duration Directory string }
func (*Environment) GenerateMachineScript ¶
func (e *Environment) GenerateMachineScript() string
type FirewallRule ¶
Firewall rule: not specified fields mean "allow any"; sepcified but empty mean "allow none"; ports are both TCP and UDP; when ports is not specified, it will allow ingress to every port and every protocol, not only TCP&UDP
Click to show internal directories.
Click to hide internal directories.