Documentation ¶
Index ¶
- type Image
- type Images
- type Server
- func (s *Server) Id() string
- func (s *Server) Image() string
- func (s *Server) Ips(t string) []string
- func (s *Server) Map() compute.Map
- func (s *Server) MarshalJSON() ([]byte, error)
- func (s *Server) Name() string
- func (s *Server) Size() string
- func (s *Server) State() string
- func (s *Server) String() string
- type Servers
- func (s *Servers) Create(server compute.Server) (compute.Server, error)
- func (s *Servers) Destroy(server compute.Server) (bool, error)
- func (s *Servers) List() ([]compute.Server, error)
- func (s *Servers) New(m compute.Map) compute.Server
- func (s *Servers) Reboot(server compute.Server) (bool, error)
- func (s *Servers) Show(server compute.Server) (compute.Server, error)
- func (s *Servers) Start(server compute.Server) (bool, error)
- func (s *Servers) Stop(server compute.Server) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
func (*Image) MarshalJSON ¶
type Images ¶
type Images struct {
// contains filtered or unexported fields
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) MarshalJSON ¶
type Servers ¶
type Servers struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.