Documentation ¶
Overview ¶
Package serviceVersionList implements a client library for accessing service version endpoints This can be used to understand what versions of particular services are running
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindEndpointVersion ¶
func FindEndpointVersion(serviceURL string, tokenID string, r requester.SendRequestFunction, version string) (string, error)
FindEndpointVersion will get the version endpoint and seach for a current or supported version of the service.
Types ¶
type Version ¶
type Version struct { Status string `json:"status"` ID string `json:"id"` Links []Link `json:"links"` }
Version is a structure for one image version
func Endpoints ¶
func Endpoints(serviceURL string, tokenID string, r requester.SendRequestFunction) ([]Version, error)
Endpoints gets the service versions from the specified endpoint.
func FilterVersion ¶
FilterVersion will locate the version of the service
func (Version) GetSelfLink ¶
GetSelfLink returns the self link for the Version. this Link contains the url of the service itself.
Directories ¶
Path | Synopsis |
---|---|
blockstorage
|
|
compute
|
|
v2
Package compute is used to manage hypervisors, virtual machines, and SSH key pairs
|
Package compute is used to manage hypervisors, virtual machines, and SSH key pairs |
database
|
|
identity
|
|
common
Package common provides interfaces and ability to allow getting tokens and service urls independent of the auth version.
|
Package common provides interfaces and ability to allow getting tokens and service urls independent of the auth version. |
v2
Package identity provides functions for client-side access to OpenStack IdentityService.
|
Package identity provides functions for client-side access to OpenStack IdentityService. |
image
|
|
v1
Package image implements a client library for accessing OpenStack Image V1 service Images and ImageDetails can be retrieved using the api.
|
Package image implements a client library for accessing OpenStack Image V1 service Images and ImageDetails can be retrieved using the api. |
machine_metadata
|
|
network
|
|
v2
Package network is used to create, delete, and query, networks, ports and subnets Package network is used to create, delete, and query, networks, ports and subnets
|
Package network is used to create, delete, and query, networks, ports and subnets Package network is used to create, delete, and query, networks, ports and subnets |
objectstorage
|
|
Package testUtil has helpers to be used with unit tests
|
Package testUtil has helpers to be used with unit tests |
Click to show internal directories.
Click to hide internal directories.