server

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	Status string `json:"Status,omitempty"`
}

type Server

type Server struct {
	Availability    string   `json:"Availability,omitempty"`
	CreatedAt       string   `json:"CreatedAt,omitempty"`
	Description     string   `json:"Description,omitempty"`
	ID              string   `json:"ID,omitempty"`
	Instance        Instance `json:"Instance,omitempty"`
	InterfaceDriver string   `json:"InterfaceDriver,omitempty"`
	ModifiedAt      string   `json:"ModifiedAt,omitempty"`
	Name            string   `json:"Name,omitempty"`
	ServiceClass    string   `json:"ServiceClass,omitempty"`
	Tags            []string `json:"Tags,omitempty"`
	Zone            Zone     `json:"Zone,omitempty"`
}

func New

func New() *Server

func (*Server) String

func (s *Server) String(unanonymize bool) string

type ServerCollection

type ServerCollection struct {
	Count   int      `json:"Count,omitempty"`
	Servers []Server `json:"Servers,omitempty"`
}

func NewCollection

func NewCollection(zone string) *ServerCollection

type Zone

type Zone struct {
	Name string `json:"Name,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL