internal

package
v0.0.0-...-33f0263 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogger

func GetLogger() log.Logger

func NewOpenStackCollector

func NewOpenStackCollector(volumeLimit float64) *openStackCollector

func SetLogger

func SetLogger(l log.Logger)

Types

type AbsoluteComputeLimits

type AbsoluteComputeLimits struct {
	MaxTotalCores      int `json:"maxTotalCores"`
	MaxTotalInstances  int `json:"maxTotalInstances"`
	MaxTotalRAMSize    int `json:"maxTotalRAMSize"`
	TotalCoresUsed     int `json:"totalCoresUsed"`
	TotalInstancesUsed int `json:"totalInstancesUsed"`
	TotalRAMUsed       int `json:"totalRAMUsed"`
}

type AbsoluteVolumeLimits

type AbsoluteVolumeLimits struct {
	MaxTotalVolumes         int `json:"maxTotalVolumes"`
	MaxTotalVolumeGigabytes int `json:"maxTotalVolumeGigabytes"`
	TotalVolumesUsed        int `json:"totalVolumesUsed"`
	TotalGigabytesUsed      int `json:"totalGigabytesUsed"`
}

type Container

type Container struct {
	Bytes int64  `json:"bytes"`
	Count int    `json:"count"`
	Name  string `json:"name"`
}

type Server

type Server struct {
	ID     string                 `json:"ID"`
	Flavor map[string]interface{} `json:"Flavor"`
	Status string                 `json:"Status"`
}

type Volume

type Volume struct {
	ID     string `json:"id"`
	Status string `json:"status"`
}

Jump to

Keyboard shortcuts

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