block_devices

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetResult

type GetResult struct {
	golangsdk.Result
}

func Get

func Get(c *golangsdk.ServiceClient, server_id string, volume_id string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*VolumeAttachment, error)

func (GetResult) ExtractInto

func (r GetResult) ExtractInto(v interface{}) error

type VolumeAttachment

type VolumeAttachment struct {
	PciAddress string `json:"pciAddress"`
	Size       int    `json:"size"`
	BootIndex  int    `json:"bootIndex"`
}

Jump to

Keyboard shortcuts

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