Versions in this module Expand all Collapse all v1 v1.0.0 Jan 26, 2017 Changes in this version + type AvailableIPsParams struct + DataCenter string + Platform string + Version int + type Client struct + IPs *IPService + Servers *ServerService + Version string + func NewClient(project, apiKey string) *Client + type CreateServerParams struct + Bandwidth int + CPU int + CampaignCode string + DataCenter string + Description string + Hostname string + IPv4 string + IPv6 string + Memory int + Password string + Platform string + PublicKey string + Storage int + Template string + func (p CreateServerParams) WithDefaults() CreateServerParams + type DestroyServerParams struct + KeepIP bool + type IP struct + Address string + type IPService struct + func (s *IPService) Available(context context.Context, params AvailableIPsParams) (*[]IP, error) + func (s *IPService) Release(context context.Context, ipAddress string) error + func (s *IPService) Reserve(context context.Context, ipAddress string) (*IP, error) + func (s *IPService) Reserved(context context.Context) (*[]IP, error) + type Server struct + DataCenter string + Hostname string + ID string + Platform string + type ServerDetails struct + CPU int + DataCenter string + Hostname string + ID string + IPList []IP + Memory int + Platform string + State string + Storage int + func (sd *ServerDetails) IsLocked() bool + func (sd *ServerDetails) IsRunning() bool + type ServerService struct + func (s *ServerService) Create(context context.Context, params CreateServerParams) (*ServerDetails, error) + func (s *ServerService) Destroy(context context.Context, serverID string, params DestroyServerParams) error + func (s *ServerService) Details(context context.Context, serverID string) (*ServerDetails, error) + func (s *ServerService) List(context context.Context) (*[]Server, error) + func (s *ServerService) Start(context context.Context, serverID string) error + func (s *ServerService) Stop(context context.Context, serverID string, params StopServerParams) error + type StopServerParams struct + Type string Incompatible versions in this module v2.0.0+incompatible Feb 13, 2017