alerts

package
v0.0.0-...-8ba9361 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 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 Alerts

type Alerts struct {
	AlertsMeta   map[string]interface{} `json:"alerts_meta"`
	AlertsStatus string                 `json:"alerts_status"`
	LevelInfo    map[string]int         `json:"level_info"`
	Total        int                    `json:"total"`
	TypeInfo     map[string]int         `json:"type_info"`
}

Alerts represents a alerts.

type GetResult

type GetResult struct {
	// contains filtered or unexported fields
}

GetResult is the response from a Get operation. Call its Extract method to

func Get

func Get(client *gophercloud.ServiceClient) (r GetResult)

Get returns emla alerts data.

func (GetResult) Extract

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

Extract interprets any alertsResult as a alerts metrics.

Jump to

Keyboard shortcuts

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