models

package
v1.0.41 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 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 Event

type Event struct {
	Id         string    `json:"id"` //mongodb id (auto magical)
	Created    time.Time `json:"created,omitempty"`
	Updated    time.Time `json:"updated,omitempty"`
	Type       string    `json:"type"`  //, sos, alert, security
	Scope      string    `json:"scope"` //(cluster, namespace, ingress, data center, etc)
	Resolved   bool      `json:"resolved"`
	ResolvedBy string    `json:"resolvedBy"`
	ClusterId  string    `json:"clusterId"`
	Status     string    `json:"status,omitempty"`
	Topic      string    `json:"topic,omitempty"`
	Message    string    `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

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