Versions in this module Expand all Collapse all v3 v3.1.0 Jun 4, 2024 v3.0.0 May 25, 2022 Changes in this version + func List(client *eclcloud.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 *eclcloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*KeyPair, error) + type DeleteResult struct + func Delete(client *eclcloud.ServiceClient, name string) (r DeleteResult) + type GetResult struct + func Get(client *eclcloud.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) Other modules containing this package github.com/nttcom/eclcloud github.com/nttcom/eclcloud/v2 github.com/nttcom/eclcloud/v4