data

package
v0.0.0-...-d32565a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Critical = 0
View Source
const Failure = "failure"
View Source
const Important = 500
View Source
const Informational = 1000
View Source
const Other = "other"
View Source
const Restart = "restart"
View Source
const Transaction = "transaction"
View Source
const Warning = "warning"

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemEventV1

type SystemEventV1 struct {
	Id            string               `json:"id" bson:"_id"`
	Time          time.Time            `json:"time" bson:"time"`
	CorrelationId string               `json:"correlation_id" bson:"correlation_id"`
	Source        string               `json:"source" bson:"source"`
	Type          string               `json:"type" bson:"type"`
	Severity      int64                `json:"severity" bson:"severity"`
	Message       string               `json:"message" bson:"message"`
	Details       cdata.StringValueMap `json:"details" bson:"details"`
}

type SystemEventV1DataPage

type SystemEventV1DataPage struct {
	Total *int64           `json:"total" bson:"total"`
	Data  []*SystemEventV1 `json:"data" bson:"data"`
}

func NewEmptySystemEventV1DataPage

func NewEmptySystemEventV1DataPage() *SystemEventV1DataPage

func NewSystemEventV1DataPage

func NewSystemEventV1DataPage(total *int64, data []*SystemEventV1) *SystemEventV1DataPage

type SystemEventV1Schema

type SystemEventV1Schema struct {
	cvalid.ObjectSchema
}

func NewSystemEventV1Schema

func NewSystemEventV1Schema() *SystemEventV1Schema

Jump to

Keyboard shortcuts

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