gophercloud: Index | Files

package keypairs

import ""

Package keypairs provides information and interaction with the keypair API resource for the Rackspace Cloud Servers service.


Package Files

delegate.go doc.go

func Create Uses

func Create(client *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult

Create requests the creation of a new keypair on the server, or to import a pre-existing keypair.

func Delete Uses

func Delete(client *gophercloud.ServiceClient, name string) os.DeleteResult

Delete requests the deletion of a previous stored KeyPair from the server.

func ExtractKeyPairs Uses

func ExtractKeyPairs(page pagination.Page) ([]os.KeyPair, error)

ExtractKeyPairs interprets a page of results as a slice of KeyPairs.

func Get Uses

func Get(client *gophercloud.ServiceClient, name string) os.GetResult

Get returns public data about a previously uploaded KeyPair.

func List Uses

func List(client *gophercloud.ServiceClient) pagination.Pager

List returns a Pager that allows you to iterate over a collection of KeyPairs.

Package keypairs imports 3 packages (graph) and is imported by 1 packages. Updated 2016-07-23. Refresh now. Tools for package owners.