Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an interface representing the ability to retreve the information of a OpenStack instance.
type DefaultClient ¶
type DefaultClient struct {
// contains filtered or unexported fields
}
DefaultClient is a default imlementation of the Client interface.
func NewClient ¶
func NewClient() (*DefaultClient, error)
NewClient returns a DefaultClient. When creating DefaultClient, OpenStack's authentication information is requested.
func (*DefaultClient) GetInstance ¶
func (c *DefaultClient) GetInstance(instanceID string) (*Instance, error)
GetInstance returns the instance information with specified instance ID.
Click to show internal directories.
Click to hide internal directories.