cinder

package
v0.0.0-...-eebe1bb 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: 6 Imported by: 0

Documentation

Overview

Cinder package contains wrapper functions designed to collect required metrics All functions are dependant on OpenStack BlockStorage API Version 1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceV1

type ServiceV1 struct{}

ServiceV1 serves as dispatcher for Cinder API version 1.0

func (ServiceV1) GetLimits

func (s ServiceV1) GetLimits(provider *gophercloud.ProviderClient) (types.Limits, error)

GetLimits collects tenant limits by sending REST call to cinderhost:8776/v1/tenant_id/limits

func (ServiceV1) GetSnapshots

func (s ServiceV1) GetSnapshots(provider *gophercloud.ProviderClient) (map[string]types.Snapshots, error)

GetSnapshots collects snapshot data by sending REST call to cinderhost:8776/v1/tenant_id/snapshots

func (ServiceV1) GetVolumes

func (s ServiceV1) GetVolumes(provider *gophercloud.ProviderClient) (map[string]types.Volumes, error)

GetVolumes collects volumes data by sending REST call to cinderhost:8776/v1/tenant_id/volumes

Jump to

Keyboard shortcuts

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