refine

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	ID             types.RefineGroupID `json:"id" firestore:"ID"`
	PrimaryAlertID types.AlertID       `json:"primary_alert_id" firestore:"PrimaryAlertID"`
	AlertIDs       []types.AlertID     `json:"alert_ids" firestore:"AlertIDs"`
	Reason         string              `json:"reason" firestore:"Reason"`
	CreatedAt      time.Time           `json:"created_at" firestore:"CreatedAt"`
	Status         GroupStatus         `json:"status" firestore:"Status"`
}

Group represents a consolidation candidate group of unbound alerts

type GroupStatus

type GroupStatus string

GroupStatus represents the status of a refine group

const (
	GroupStatusPending  GroupStatus = "pending"
	GroupStatusAccepted GroupStatus = "accepted"
	GroupStatusExpired  GroupStatus = "expired"
)

func (GroupStatus) String

func (s GroupStatus) String() string

Jump to

Keyboard shortcuts

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