Documentation
¶
Index ¶
- type Client
- func (c *Client) Base() *gophercloud.ServiceClient
- func (c *Client) CreateServer(createOpts servers.CreateOpts, createWithBootVolume bool) (*_servers.Server, error)
- func (c *Client) DeleteServer(serverID string) error
- func (c *Client) GetServer(serverID string) (*_servers.Server, error)
- func (c *Client) ListServers(listOpts servers.ListOpts) ([]_servers.Server, error)
- func (c *Client) RestartServer(serverID string) error
- func (c *Client) RestoreServer(createOpts servers.CreateOpts, bootVolumeId string) (string, error)
- func (c *Client) SetMicroVersion(microVersion string)
- func (c *Client) StartServer(serverID string) error
- func (c *Client) StopServer(serverID string) error
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 NewClient ¶
func NewClient(provider *gophercloud.ProviderClient, endpointOpts gophercloud.EndpointOpts, cfg *config.OpenStack) (*Client, error)
func (*Client) Base ¶
func (c *Client) Base() *gophercloud.ServiceClient
func (*Client) CreateServer ¶
func (*Client) DeleteServer ¶
func (*Client) ListServers ¶
func (*Client) RestartServer ¶
func (*Client) RestoreServer ¶
func (*Client) SetMicroVersion ¶
func (*Client) StartServer ¶
func (*Client) StopServer ¶
Click to show internal directories.
Click to hide internal directories.