model

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 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 AlertIndexAttribute

type AlertIndexAttribute struct {
	AlertID   int64  `json:"alertId"`
	AlertName string `json:"alertName"`
	GroupID   int64  `json:"groupId"`
}

type BaseModel

type BaseModel struct {
	ID        int64     `json:"id" gorm:"primary_key"`
	CreatedAt time.Time `json:"createdAt" gorm:"created_at"`
	UpdatedAt time.Time `json:"updatedAt" gorm:"updated_at"`
}

type FilterStatusRequest

type FilterStatusRequest struct {
	OrgId     int
	ScopeType string
	ScopeId   string
	StartTime string
	EndTime   string
}

type FilterStatusResult

type FilterStatusResult struct {
	Status string
	Count  int64
}

type NotifySourceData

type NotifySourceData struct {
	Params SourceDataParam `json:"params"`
}

type NotifyValue

type NotifyValue struct {
	Field     string    `json:"field"`
	Count     int64     `json:"count"`
	RoundTime time.Time `json:"round_time"`
}

type QueryAlertNotifyIndexRequest

type QueryAlertNotifyIndexRequest struct {
	ScopeType  string   `json:"scopeType"`
	ScopeID    string   `json:"scopeID"`
	NotifyName string   `json:"notifyName"`
	Status     string   `json:"status"`
	Channel    string   `json:"channel"`
	AlertID    int64    `json:"alertID"`
	SendTime   []string `json:"sendTime"`
	OrgID      int64    `json:"orgID"`
	PageNo     int64    `json:"pageNo"`
	PageSize   int64    `json:"pageSize"`
	TimeOrder  bool     `json:"timeOrder"`
}

type QueryNotifyHistoriesRequest

type QueryNotifyHistoriesRequest struct {
	PageNo      int64  `json:"pageNo"`
	PageSize    int64  `json:"pageSize"`
	Channel     string `json:"channel"`
	NotifyName  string `json:"notifyName"`
	StartTime   string `json:"startTime"`
	EndTime     string `json:"endTime"`
	Label       string `json:"label"`
	ClusterName string `json:"clusterName"`
	OrgID       int64  `json:"orgID"`
}

type SourceDataParam

type SourceDataParam struct {
	Content string `json:"content"`
	Message string `json:"message"`
	Title   string `json:"title"`
}

Jump to

Keyboard shortcuts

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