Versions in this module Expand all Collapse all v1 v1.3.0 Feb 14, 2023 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Name string + PublicKey string + Type string + UserID 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 DeleteOpts struct + UserID string + func (opts DeleteOpts) ToKeyPairDeleteQuery() (string, error) + type DeleteOptsBuilder interface + ToKeyPairDeleteQuery func() (string, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, name string, opts DeleteOptsBuilder) (r DeleteResult) + type GetOpts struct + UserID string + func (opts GetOpts) ToKeyPairGetQuery() (string, error) + type GetOptsBuilder interface + ToKeyPairGetQuery func() (string, error) + type GetResult struct + func Get(client *gophercloud.ServiceClient, name string, opts GetOptsBuilder) (r GetResult) + func (r GetResult) Extract() (*KeyPair, error) + type KeyPair struct + Fingerprint string + Name string + PrivateKey string + PublicKey string + Type string + UserID string + func ExtractKeyPairs(r pagination.Page) ([]KeyPair, error) + type KeyPairPage struct + func (page KeyPairPage) IsEmpty() (bool, error) + type ListOpts struct + UserID string + func (opts ListOpts) ToKeyPairListQuery() (string, error) + type ListOptsBuilder interface + ToKeyPairListQuery func() (string, error)