Versions in this module Expand all Collapse all v0 v0.17.0 Apr 30, 2024 v0.16.0 Nov 9, 2023 Changes in this version + type API struct + func New(opts *Options) (*API, error) + func (a *API) AddKey(name, key string) error + func (a *API) CreateServer(name, sshKeyID, userdata string) (*Server, error) + func (a *API) DeleteImage(imageID string, force bool) error + func (a *API) DeleteKey(name string) error + func (a *API) DeleteServer(id string) error + func (a *API) GC(gracePeriod time.Duration) error + func (a *API) GetConsoleOutput(id string) (string, error) + func (a *API) PreflightCheck() error + func (a *API) ResolveImage(img string) (string, error) + func (a *API) UploadImage(name, path, arch, visibility string, protected bool) (string, error) + type Options struct + ConfigPath string + Domain string + Flavor string + FloatingIPNetwork string + Image string + Network string + Profile string + Region string + func (opts Options) LoadCloudsYAML() (map[string]clientconfig.Cloud, error) + func (opts Options) LoadPublicCloudsYAML() (map[string]clientconfig.Cloud, error) + func (opts Options) LoadSecureCloudsYAML() (map[string]clientconfig.Cloud, error) + type Server struct + FloatingIP *networkFloatingIPs.FloatingIP + Server *servers.Server