block_devices

package
v0.0.0-...-d823fe1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

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:"-"`
}

func (*VolumeAttachment) UnmarshalJSON

func (r *VolumeAttachment) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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