Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetAllDHCPServers ¶
func (s *Client) GetAllDHCPServers() (models.DHCPServers, error)
GetAllDHCPServers returns all the DHCP servers in the Power VS service instance.
func (*Client) GetAllInstance ¶
func (s *Client) GetAllInstance() (*models.PVMInstances, error)
GetAllInstance returns all the virtual machine in the Power VS service instance.
func (*Client) GetDHCPServer ¶
func (s *Client) GetDHCPServer(id string) (*models.DHCPServerDetail, error)
GetDHCPServer returns the details for DHCP server associated with id.
func (*Client) GetInstance ¶ added in v0.1.2
func (s *Client) GetInstance(id string) (*models.PVMInstance, error)
type PowerVS ¶
type PowerVS interface {
GetAllInstance() (*models.PVMInstances, error)
GetAllDHCPServers() (models.DHCPServers, error)
GetDHCPServer(id string) (*models.DHCPServerDetail, error)
}
Click to show internal directories.
Click to hide internal directories.