alert

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the alert type in the database.
	Label = "alert"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUUID holds the string denoting the uuid field in the database.
	FieldUUID = "uuid"
	// FieldIncidentID holds the string denoting the incidentid field in the database.
	FieldIncidentID = "incident_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTime holds the string denoting the time field in the database.
	FieldTime = "time"
	// FieldIntLevel holds the string denoting the intlevel field in the database.
	FieldIntLevel = "level"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldRegion holds the string denoting the region field in the database.
	FieldRegion = "region"
	// FieldProbeOS holds the string denoting the probeos field in the database.
	FieldProbeOS = "probe_os"
	// FieldProbeHost holds the string denoting the probehost field in the database.
	FieldProbeHost = "probe_host"
	// FieldError holds the string denoting the error field in the database.
	FieldError = "error"
	// EdgeCounters holds the string denoting the counters edge name in mutations.
	EdgeCounters = "Counters"
	// EdgeStati holds the string denoting the stati edge name in mutations.
	EdgeStati = "Stati"
	// EdgeFailures holds the string denoting the failures edge name in mutations.
	EdgeFailures = "Failures"
	// EdgeFiles holds the string denoting the files edge name in mutations.
	EdgeFiles = "Files"
	// Table holds the table name of the alert in the database.
	Table = "alerts"
	// CountersTable is the table that holds the Counters relation/edge.
	CountersTable = "counters"
	// CountersInverseTable is the table name for the Counter entity.
	// It exists in this package in order to avoid circular dependency with the "counter" package.
	CountersInverseTable = "counters"
	// CountersColumn is the table column denoting the Counters relation/edge.
	CountersColumn = "alert_counters"
	// StatiTable is the table that holds the Stati relation/edge.
	StatiTable = "status"
	// StatiInverseTable is the table name for the Status entity.
	// It exists in this package in order to avoid circular dependency with the "status" package.
	StatiInverseTable = "status"
	// StatiColumn is the table column denoting the Stati relation/edge.
	StatiColumn = "alert_stati"
	// FailuresTable is the table that holds the Failures relation/edge.
	FailuresTable = "failures"
	// FailuresInverseTable is the table name for the Failure entity.
	// It exists in this package in order to avoid circular dependency with the "failure" package.
	FailuresInverseTable = "failures"
	// FailuresColumn is the table column denoting the Failures relation/edge.
	FailuresColumn = "alert_failures"
	// FilesTable is the table that holds the Files relation/edge.
	FilesTable = "files"
	// FilesInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	FilesInverseTable = "files"
	// FilesColumn is the table column denoting the Files relation/edge.
	FilesColumn = "alert_files"
)

Variables

Columns holds all SQL columns for alert fields.

Functions

func And

func And(predicates ...predicate.Alert) predicate.Alert

And groups predicates with the AND operator between them.

func Error

func Error(v string) predicate.Alert

Error applies equality check predicate on the "Error" field. It's identical to ErrorEQ.

func ErrorContains

func ErrorContains(v string) predicate.Alert

ErrorContains applies the Contains predicate on the "Error" field.

func ErrorContainsFold

func ErrorContainsFold(v string) predicate.Alert

ErrorContainsFold applies the ContainsFold predicate on the "Error" field.

func ErrorEQ

func ErrorEQ(v string) predicate.Alert

ErrorEQ applies the EQ predicate on the "Error" field.

func ErrorEqualFold

func ErrorEqualFold(v string) predicate.Alert

ErrorEqualFold applies the EqualFold predicate on the "Error" field.

func ErrorGT

func ErrorGT(v string) predicate.Alert

ErrorGT applies the GT predicate on the "Error" field.

func ErrorGTE

func ErrorGTE(v string) predicate.Alert

ErrorGTE applies the GTE predicate on the "Error" field.

func ErrorHasPrefix

func ErrorHasPrefix(v string) predicate.Alert

ErrorHasPrefix applies the HasPrefix predicate on the "Error" field.

func ErrorHasSuffix

func ErrorHasSuffix(v string) predicate.Alert

ErrorHasSuffix applies the HasSuffix predicate on the "Error" field.

func ErrorIn

func ErrorIn(vs ...string) predicate.Alert

ErrorIn applies the In predicate on the "Error" field.

func ErrorIsNil

func ErrorIsNil() predicate.Alert

ErrorIsNil applies the IsNil predicate on the "Error" field.

func ErrorLT

func ErrorLT(v string) predicate.Alert

ErrorLT applies the LT predicate on the "Error" field.

func ErrorLTE

func ErrorLTE(v string) predicate.Alert

ErrorLTE applies the LTE predicate on the "Error" field.

func ErrorNEQ

func ErrorNEQ(v string) predicate.Alert

ErrorNEQ applies the NEQ predicate on the "Error" field.

func ErrorNotIn

func ErrorNotIn(vs ...string) predicate.Alert

ErrorNotIn applies the NotIn predicate on the "Error" field.

func ErrorNotNil

func ErrorNotNil() predicate.Alert

ErrorNotNil applies the NotNil predicate on the "Error" field.

func HasCounters

func HasCounters() predicate.Alert

HasCounters applies the HasEdge predicate on the "Counters" edge.

func HasCountersWith

func HasCountersWith(preds ...predicate.Counter) predicate.Alert

HasCountersWith applies the HasEdge predicate on the "Counters" edge with a given conditions (other predicates).

func HasFailures

func HasFailures() predicate.Alert

HasFailures applies the HasEdge predicate on the "Failures" edge.

func HasFailuresWith

func HasFailuresWith(preds ...predicate.Failure) predicate.Alert

HasFailuresWith applies the HasEdge predicate on the "Failures" edge with a given conditions (other predicates).

func HasFiles

func HasFiles() predicate.Alert

HasFiles applies the HasEdge predicate on the "Files" edge.

func HasFilesWith

func HasFilesWith(preds ...predicate.File) predicate.Alert

HasFilesWith applies the HasEdge predicate on the "Files" edge with a given conditions (other predicates).

func HasStati

func HasStati() predicate.Alert

HasStati applies the HasEdge predicate on the "Stati" edge.

func HasStatiWith

func HasStatiWith(preds ...predicate.Status) predicate.Alert

HasStatiWith applies the HasEdge predicate on the "Stati" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.Alert

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Alert

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Alert

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Alert

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Alert

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Alert

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Alert

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Alert

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Alert

IDNotIn applies the NotIn predicate on the ID field.

func IncidentID

func IncidentID(v uuid.UUID) predicate.Alert

IncidentID applies equality check predicate on the "IncidentID" field. It's identical to IncidentIDEQ.

func IncidentIDEQ

func IncidentIDEQ(v uuid.UUID) predicate.Alert

IncidentIDEQ applies the EQ predicate on the "IncidentID" field.

func IncidentIDGT

func IncidentIDGT(v uuid.UUID) predicate.Alert

IncidentIDGT applies the GT predicate on the "IncidentID" field.

func IncidentIDGTE

func IncidentIDGTE(v uuid.UUID) predicate.Alert

IncidentIDGTE applies the GTE predicate on the "IncidentID" field.

func IncidentIDIn

func IncidentIDIn(vs ...uuid.UUID) predicate.Alert

IncidentIDIn applies the In predicate on the "IncidentID" field.

func IncidentIDIsNil

func IncidentIDIsNil() predicate.Alert

IncidentIDIsNil applies the IsNil predicate on the "IncidentID" field.

func IncidentIDLT

func IncidentIDLT(v uuid.UUID) predicate.Alert

IncidentIDLT applies the LT predicate on the "IncidentID" field.

func IncidentIDLTE

func IncidentIDLTE(v uuid.UUID) predicate.Alert

IncidentIDLTE applies the LTE predicate on the "IncidentID" field.

func IncidentIDNEQ

func IncidentIDNEQ(v uuid.UUID) predicate.Alert

IncidentIDNEQ applies the NEQ predicate on the "IncidentID" field.

func IncidentIDNotIn

func IncidentIDNotIn(vs ...uuid.UUID) predicate.Alert

IncidentIDNotIn applies the NotIn predicate on the "IncidentID" field.

func IncidentIDNotNil

func IncidentIDNotNil() predicate.Alert

IncidentIDNotNil applies the NotNil predicate on the "IncidentID" field.

func IntLevel

func IntLevel(v int) predicate.Alert

IntLevel applies equality check predicate on the "IntLevel" field. It's identical to IntLevelEQ.

func IntLevelEQ

func IntLevelEQ(v int) predicate.Alert

IntLevelEQ applies the EQ predicate on the "IntLevel" field.

func IntLevelGT

func IntLevelGT(v int) predicate.Alert

IntLevelGT applies the GT predicate on the "IntLevel" field.

func IntLevelGTE

func IntLevelGTE(v int) predicate.Alert

IntLevelGTE applies the GTE predicate on the "IntLevel" field.

func IntLevelIn

func IntLevelIn(vs ...int) predicate.Alert

IntLevelIn applies the In predicate on the "IntLevel" field.

func IntLevelLT

func IntLevelLT(v int) predicate.Alert

IntLevelLT applies the LT predicate on the "IntLevel" field.

func IntLevelLTE

func IntLevelLTE(v int) predicate.Alert

IntLevelLTE applies the LTE predicate on the "IntLevel" field.

func IntLevelNEQ

func IntLevelNEQ(v int) predicate.Alert

IntLevelNEQ applies the NEQ predicate on the "IntLevel" field.

func IntLevelNotIn

func IntLevelNotIn(vs ...int) predicate.Alert

IntLevelNotIn applies the NotIn predicate on the "IntLevel" field.

func Name

func Name(v string) predicate.Alert

Name applies equality check predicate on the "Name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Alert

NameContains applies the Contains predicate on the "Name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Alert

NameContainsFold applies the ContainsFold predicate on the "Name" field.

func NameEQ

func NameEQ(v string) predicate.Alert

NameEQ applies the EQ predicate on the "Name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Alert

NameEqualFold applies the EqualFold predicate on the "Name" field.

func NameGT

func NameGT(v string) predicate.Alert

NameGT applies the GT predicate on the "Name" field.

func NameGTE

func NameGTE(v string) predicate.Alert

NameGTE applies the GTE predicate on the "Name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Alert

NameHasPrefix applies the HasPrefix predicate on the "Name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Alert

NameHasSuffix applies the HasSuffix predicate on the "Name" field.

func NameIn

func NameIn(vs ...string) predicate.Alert

NameIn applies the In predicate on the "Name" field.

func NameLT

func NameLT(v string) predicate.Alert

NameLT applies the LT predicate on the "Name" field.

func NameLTE

func NameLTE(v string) predicate.Alert

NameLTE applies the LTE predicate on the "Name" field.

func NameNEQ

func NameNEQ(v string) predicate.Alert

NameNEQ applies the NEQ predicate on the "Name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Alert

NameNotIn applies the NotIn predicate on the "Name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Alert) predicate.Alert

Or groups predicates with the OR operator between them.

func ProbeHost

func ProbeHost(v string) predicate.Alert

ProbeHost applies equality check predicate on the "ProbeHost" field. It's identical to ProbeHostEQ.

func ProbeHostContains

func ProbeHostContains(v string) predicate.Alert

ProbeHostContains applies the Contains predicate on the "ProbeHost" field.

func ProbeHostContainsFold

func ProbeHostContainsFold(v string) predicate.Alert

ProbeHostContainsFold applies the ContainsFold predicate on the "ProbeHost" field.

func ProbeHostEQ

func ProbeHostEQ(v string) predicate.Alert

ProbeHostEQ applies the EQ predicate on the "ProbeHost" field.

func ProbeHostEqualFold

func ProbeHostEqualFold(v string) predicate.Alert

ProbeHostEqualFold applies the EqualFold predicate on the "ProbeHost" field.

func ProbeHostGT

func ProbeHostGT(v string) predicate.Alert

ProbeHostGT applies the GT predicate on the "ProbeHost" field.

func ProbeHostGTE

func ProbeHostGTE(v string) predicate.Alert

ProbeHostGTE applies the GTE predicate on the "ProbeHost" field.

func ProbeHostHasPrefix

func ProbeHostHasPrefix(v string) predicate.Alert

ProbeHostHasPrefix applies the HasPrefix predicate on the "ProbeHost" field.

func ProbeHostHasSuffix

func ProbeHostHasSuffix(v string) predicate.Alert

ProbeHostHasSuffix applies the HasSuffix predicate on the "ProbeHost" field.

func ProbeHostIn

func ProbeHostIn(vs ...string) predicate.Alert

ProbeHostIn applies the In predicate on the "ProbeHost" field.

func ProbeHostLT

func ProbeHostLT(v string) predicate.Alert

ProbeHostLT applies the LT predicate on the "ProbeHost" field.

func ProbeHostLTE

func ProbeHostLTE(v string) predicate.Alert

ProbeHostLTE applies the LTE predicate on the "ProbeHost" field.

func ProbeHostNEQ

func ProbeHostNEQ(v string) predicate.Alert

ProbeHostNEQ applies the NEQ predicate on the "ProbeHost" field.

func ProbeHostNotIn

func ProbeHostNotIn(vs ...string) predicate.Alert

ProbeHostNotIn applies the NotIn predicate on the "ProbeHost" field.

func ProbeOS

func ProbeOS(v string) predicate.Alert

ProbeOS applies equality check predicate on the "ProbeOS" field. It's identical to ProbeOSEQ.

func ProbeOSContains

func ProbeOSContains(v string) predicate.Alert

ProbeOSContains applies the Contains predicate on the "ProbeOS" field.

func ProbeOSContainsFold

func ProbeOSContainsFold(v string) predicate.Alert

ProbeOSContainsFold applies the ContainsFold predicate on the "ProbeOS" field.

func ProbeOSEQ

func ProbeOSEQ(v string) predicate.Alert

ProbeOSEQ applies the EQ predicate on the "ProbeOS" field.

func ProbeOSEqualFold

func ProbeOSEqualFold(v string) predicate.Alert

ProbeOSEqualFold applies the EqualFold predicate on the "ProbeOS" field.

func ProbeOSGT

func ProbeOSGT(v string) predicate.Alert

ProbeOSGT applies the GT predicate on the "ProbeOS" field.

func ProbeOSGTE

func ProbeOSGTE(v string) predicate.Alert

ProbeOSGTE applies the GTE predicate on the "ProbeOS" field.

func ProbeOSHasPrefix

func ProbeOSHasPrefix(v string) predicate.Alert

ProbeOSHasPrefix applies the HasPrefix predicate on the "ProbeOS" field.

func ProbeOSHasSuffix

func ProbeOSHasSuffix(v string) predicate.Alert

ProbeOSHasSuffix applies the HasSuffix predicate on the "ProbeOS" field.

func ProbeOSIn

func ProbeOSIn(vs ...string) predicate.Alert

ProbeOSIn applies the In predicate on the "ProbeOS" field.

func ProbeOSLT

func ProbeOSLT(v string) predicate.Alert

ProbeOSLT applies the LT predicate on the "ProbeOS" field.

func ProbeOSLTE

func ProbeOSLTE(v string) predicate.Alert

ProbeOSLTE applies the LTE predicate on the "ProbeOS" field.

func ProbeOSNEQ

func ProbeOSNEQ(v string) predicate.Alert

ProbeOSNEQ applies the NEQ predicate on the "ProbeOS" field.

func ProbeOSNotIn

func ProbeOSNotIn(vs ...string) predicate.Alert

ProbeOSNotIn applies the NotIn predicate on the "ProbeOS" field.

func Region

func Region(v string) predicate.Alert

Region applies equality check predicate on the "Region" field. It's identical to RegionEQ.

func RegionContains

func RegionContains(v string) predicate.Alert

RegionContains applies the Contains predicate on the "Region" field.

func RegionContainsFold

func RegionContainsFold(v string) predicate.Alert

RegionContainsFold applies the ContainsFold predicate on the "Region" field.

func RegionEQ

func RegionEQ(v string) predicate.Alert

RegionEQ applies the EQ predicate on the "Region" field.

func RegionEqualFold

func RegionEqualFold(v string) predicate.Alert

RegionEqualFold applies the EqualFold predicate on the "Region" field.

func RegionGT

func RegionGT(v string) predicate.Alert

RegionGT applies the GT predicate on the "Region" field.

func RegionGTE

func RegionGTE(v string) predicate.Alert

RegionGTE applies the GTE predicate on the "Region" field.

func RegionHasPrefix

func RegionHasPrefix(v string) predicate.Alert

RegionHasPrefix applies the HasPrefix predicate on the "Region" field.

func RegionHasSuffix

func RegionHasSuffix(v string) predicate.Alert

RegionHasSuffix applies the HasSuffix predicate on the "Region" field.

func RegionIn

func RegionIn(vs ...string) predicate.Alert

RegionIn applies the In predicate on the "Region" field.

func RegionLT

func RegionLT(v string) predicate.Alert

RegionLT applies the LT predicate on the "Region" field.

func RegionLTE

func RegionLTE(v string) predicate.Alert

RegionLTE applies the LTE predicate on the "Region" field.

func RegionNEQ

func RegionNEQ(v string) predicate.Alert

RegionNEQ applies the NEQ predicate on the "Region" field.

func RegionNotIn

func RegionNotIn(vs ...string) predicate.Alert

RegionNotIn applies the NotIn predicate on the "Region" field.

func Time

func Time(v time.Time) predicate.Alert

Time applies equality check predicate on the "Time" field. It's identical to TimeEQ.

func TimeEQ

func TimeEQ(v time.Time) predicate.Alert

TimeEQ applies the EQ predicate on the "Time" field.

func TimeGT

func TimeGT(v time.Time) predicate.Alert

TimeGT applies the GT predicate on the "Time" field.

func TimeGTE

func TimeGTE(v time.Time) predicate.Alert

TimeGTE applies the GTE predicate on the "Time" field.

func TimeIn

func TimeIn(vs ...time.Time) predicate.Alert

TimeIn applies the In predicate on the "Time" field.

func TimeLT

func TimeLT(v time.Time) predicate.Alert

TimeLT applies the LT predicate on the "Time" field.

func TimeLTE

func TimeLTE(v time.Time) predicate.Alert

TimeLTE applies the LTE predicate on the "Time" field.

func TimeNEQ

func TimeNEQ(v time.Time) predicate.Alert

TimeNEQ applies the NEQ predicate on the "Time" field.

func TimeNotIn

func TimeNotIn(vs ...time.Time) predicate.Alert

TimeNotIn applies the NotIn predicate on the "Time" field.

func UUID

func UUID(v uuid.UUID) predicate.Alert

UUID applies equality check predicate on the "UUID" field. It's identical to UUIDEQ.

func UUIDEQ

func UUIDEQ(v uuid.UUID) predicate.Alert

UUIDEQ applies the EQ predicate on the "UUID" field.

func UUIDGT

func UUIDGT(v uuid.UUID) predicate.Alert

UUIDGT applies the GT predicate on the "UUID" field.

func UUIDGTE

func UUIDGTE(v uuid.UUID) predicate.Alert

UUIDGTE applies the GTE predicate on the "UUID" field.

func UUIDIn

func UUIDIn(vs ...uuid.UUID) predicate.Alert

UUIDIn applies the In predicate on the "UUID" field.

func UUIDLT

func UUIDLT(v uuid.UUID) predicate.Alert

UUIDLT applies the LT predicate on the "UUID" field.

func UUIDLTE

func UUIDLTE(v uuid.UUID) predicate.Alert

UUIDLTE applies the LTE predicate on the "UUID" field.

func UUIDNEQ

func UUIDNEQ(v uuid.UUID) predicate.Alert

UUIDNEQ applies the NEQ predicate on the "UUID" field.

func UUIDNotIn

func UUIDNotIn(vs ...uuid.UUID) predicate.Alert

UUIDNotIn applies the NotIn predicate on the "UUID" field.

func Username

func Username(v string) predicate.Alert

Username applies equality check predicate on the "Username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.Alert

UsernameContains applies the Contains predicate on the "Username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.Alert

UsernameContainsFold applies the ContainsFold predicate on the "Username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.Alert

UsernameEQ applies the EQ predicate on the "Username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.Alert

UsernameEqualFold applies the EqualFold predicate on the "Username" field.

func UsernameGT

func UsernameGT(v string) predicate.Alert

UsernameGT applies the GT predicate on the "Username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.Alert

UsernameGTE applies the GTE predicate on the "Username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.Alert

UsernameHasPrefix applies the HasPrefix predicate on the "Username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.Alert

UsernameHasSuffix applies the HasSuffix predicate on the "Username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.Alert

UsernameIn applies the In predicate on the "Username" field.

func UsernameLT

func UsernameLT(v string) predicate.Alert

UsernameLT applies the LT predicate on the "Username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.Alert

UsernameLTE applies the LTE predicate on the "Username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.Alert

UsernameNEQ applies the NEQ predicate on the "Username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.Alert

UsernameNotIn applies the NotIn predicate on the "Username" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption added in v0.14.0

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Alert queries.

func ByCounters added in v0.14.0

func ByCounters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCounters orders the results by Counters terms.

func ByCountersCount added in v0.14.0

func ByCountersCount(opts ...sql.OrderTermOption) OrderOption

ByCountersCount orders the results by Counters count.

func ByError added in v0.14.0

func ByError(opts ...sql.OrderTermOption) OrderOption

ByError orders the results by the Error field.

func ByFailures added in v0.14.0

func ByFailures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByFailures orders the results by Failures terms.

func ByFailuresCount added in v0.14.0

func ByFailuresCount(opts ...sql.OrderTermOption) OrderOption

ByFailuresCount orders the results by Failures count.

func ByFiles added in v0.14.0

func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByFiles orders the results by Files terms.

func ByFilesCount added in v0.14.0

func ByFilesCount(opts ...sql.OrderTermOption) OrderOption

ByFilesCount orders the results by Files count.

func ByID added in v0.14.0

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIncidentID added in v0.14.0

func ByIncidentID(opts ...sql.OrderTermOption) OrderOption

ByIncidentID orders the results by the IncidentID field.

func ByIntLevel added in v0.14.0

func ByIntLevel(opts ...sql.OrderTermOption) OrderOption

ByIntLevel orders the results by the IntLevel field.

func ByName added in v0.14.0

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the Name field.

func ByProbeHost added in v0.14.0

func ByProbeHost(opts ...sql.OrderTermOption) OrderOption

ByProbeHost orders the results by the ProbeHost field.

func ByProbeOS added in v0.14.0

func ByProbeOS(opts ...sql.OrderTermOption) OrderOption

ByProbeOS orders the results by the ProbeOS field.

func ByRegion added in v0.14.0

func ByRegion(opts ...sql.OrderTermOption) OrderOption

ByRegion orders the results by the Region field.

func ByStati added in v0.14.0

func ByStati(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByStati orders the results by Stati terms.

func ByStatiCount added in v0.14.0

func ByStatiCount(opts ...sql.OrderTermOption) OrderOption

ByStatiCount orders the results by Stati count.

func ByTime added in v0.14.0

func ByTime(opts ...sql.OrderTermOption) OrderOption

ByTime orders the results by the Time field.

func ByUUID added in v0.14.0

func ByUUID(opts ...sql.OrderTermOption) OrderOption

ByUUID orders the results by the UUID field.

func ByUsername added in v0.14.0

func ByUsername(opts ...sql.OrderTermOption) OrderOption

ByUsername orders the results by the Username field.

Jump to

Keyboard shortcuts

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