Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrGeneric = errors.New("something went wrong, check that the data in the config.yaml is correct") ErrInvalidProvider = errors.New("invalid provider") ErrInvalidToken = errors.New("invalid token") ErrInvalidImage = errors.New("invalid image") ErrInvalidRegion = errors.New("invalid region") ErrInvalidSize = errors.New("invalid size") ErrInvalidPort = errors.New("invalid port") ErrInvalidSshFile = errors.New("invalid SSH file") ErrBoxNotFound = errors.New("box not found") ErrNotAvailableCustomVps = errors.New("command not available with custom vps") )
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { Token string `json:"token,omitempty"` Region string `json:"region,omitempty"` Size string `json:"size,omitempty"` Image string `json:"image,omitempty"` Port int `json:"port,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Tags []string `json:"tags,omitempty"` }
Click to show internal directories.
Click to hide internal directories.