Versions in this module Expand all Collapse all v1 v1.0.21 Mar 12, 2020 v1.0.12 Apr 7, 2019 Changes in this version + func List(client *gophercloud.ServiceClient) pagination.Pager + type CreateOpts struct + Name string + PublicKey string + func (opts CreateOpts) ToKeyPairCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToKeyPairCreateMap func() (map[string]interface{}, error) + type CreateOptsExt struct + KeyName string + func (opts CreateOptsExt) ToServerCreateMap() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*KeyPair, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, name string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, name string) (r GetResult) + func (r GetResult) Extract() (*KeyPair, error) + type KeyPair struct + Fingerprint string + Name string + PrivateKey string + PublicKey string + UserID string + func ExtractKeyPairs(r pagination.Page) ([]KeyPair, error) + type KeyPairPage struct + func (page KeyPairPage) IsEmpty() (bool, error)