apiversions

package
v0.0.0-...-474c82f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIVersion

type APIVersion struct {
	ID     string              `json:"id" mapstructure:"id"`
	Status string              `json:"status" mapstructure:"status"`
	Links  []map[string]string `json:"links" mapstructure:"links"`
}

APIVersion represents an API version for Glance.

type GetResult

type GetResult struct {
	gophercloud.Result
}

GetResult represents the result of a get operation.

func Get

func Get(client *gophercloud.ServiceClient) GetResult

Get will retrieve the image type with the provided ID. To extract the image type from the result, call the Extract method on the GetResult.

func (GetResult) Extract

func (r GetResult) Extract() ([]APIVersion, error)

Extract will get the Volume object out of the commonResult object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL