Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Incident) predicate.Incident
- func End(v time.Time) predicate.Incident
- func EndEQ(v time.Time) predicate.Incident
- func EndGT(v time.Time) predicate.Incident
- func EndGTE(v time.Time) predicate.Incident
- func EndIn(vs ...time.Time) predicate.Incident
- func EndIsNil() predicate.Incident
- func EndLT(v time.Time) predicate.Incident
- func EndLTE(v time.Time) predicate.Incident
- func EndNEQ(v time.Time) predicate.Incident
- func EndNotIn(vs ...time.Time) predicate.Incident
- func EndNotNil() predicate.Incident
- func Error(v string) predicate.Incident
- func ErrorContains(v string) predicate.Incident
- func ErrorContainsFold(v string) predicate.Incident
- func ErrorEQ(v string) predicate.Incident
- func ErrorEqualFold(v string) predicate.Incident
- func ErrorGT(v string) predicate.Incident
- func ErrorGTE(v string) predicate.Incident
- func ErrorHasPrefix(v string) predicate.Incident
- func ErrorHasSuffix(v string) predicate.Incident
- func ErrorIn(vs ...string) predicate.Incident
- func ErrorIsNil() predicate.Incident
- func ErrorLT(v string) predicate.Incident
- func ErrorLTE(v string) predicate.Incident
- func ErrorNEQ(v string) predicate.Incident
- func ErrorNotIn(vs ...string) predicate.Incident
- func ErrorNotNil() predicate.Incident
- func HasCounters() predicate.Incident
- func HasCountersWith(preds ...predicate.Counter) predicate.Incident
- func HasFailures() predicate.Incident
- func HasFailuresWith(preds ...predicate.Failure) predicate.Incident
- func HasFiles() predicate.Incident
- func HasFilesWith(preds ...predicate.File) predicate.Incident
- func HasStati() predicate.Incident
- func HasStatiWith(preds ...predicate.Status) predicate.Incident
- func ID(id int) predicate.Incident
- func IDEQ(id int) predicate.Incident
- func IDGT(id int) predicate.Incident
- func IDGTE(id int) predicate.Incident
- func IDIn(ids ...int) predicate.Incident
- func IDLT(id int) predicate.Incident
- func IDLTE(id int) predicate.Incident
- func IDNEQ(id int) predicate.Incident
- func IDNotIn(ids ...int) predicate.Incident
- func IncidentID(v uuid.UUID) predicate.Incident
- func IncidentIDEQ(v uuid.UUID) predicate.Incident
- func IncidentIDGT(v uuid.UUID) predicate.Incident
- func IncidentIDGTE(v uuid.UUID) predicate.Incident
- func IncidentIDIn(vs ...uuid.UUID) predicate.Incident
- func IncidentIDIsNil() predicate.Incident
- func IncidentIDLT(v uuid.UUID) predicate.Incident
- func IncidentIDLTE(v uuid.UUID) predicate.Incident
- func IncidentIDNEQ(v uuid.UUID) predicate.Incident
- func IncidentIDNotIn(vs ...uuid.UUID) predicate.Incident
- func IncidentIDNotNil() predicate.Incident
- func IntLevel(v int) predicate.Incident
- func IntLevelEQ(v int) predicate.Incident
- func IntLevelGT(v int) predicate.Incident
- func IntLevelGTE(v int) predicate.Incident
- func IntLevelIn(vs ...int) predicate.Incident
- func IntLevelLT(v int) predicate.Incident
- func IntLevelLTE(v int) predicate.Incident
- func IntLevelNEQ(v int) predicate.Incident
- func IntLevelNotIn(vs ...int) predicate.Incident
- func Name(v string) predicate.Incident
- func NameContains(v string) predicate.Incident
- func NameContainsFold(v string) predicate.Incident
- func NameEQ(v string) predicate.Incident
- func NameEqualFold(v string) predicate.Incident
- func NameGT(v string) predicate.Incident
- func NameGTE(v string) predicate.Incident
- func NameHasPrefix(v string) predicate.Incident
- func NameHasSuffix(v string) predicate.Incident
- func NameIn(vs ...string) predicate.Incident
- func NameLT(v string) predicate.Incident
- func NameLTE(v string) predicate.Incident
- func NameNEQ(v string) predicate.Incident
- func NameNotIn(vs ...string) predicate.Incident
- func Not(p predicate.Incident) predicate.Incident
- func Or(predicates ...predicate.Incident) predicate.Incident
- func ProbeHost(v string) predicate.Incident
- func ProbeHostContains(v string) predicate.Incident
- func ProbeHostContainsFold(v string) predicate.Incident
- func ProbeHostEQ(v string) predicate.Incident
- func ProbeHostEqualFold(v string) predicate.Incident
- func ProbeHostGT(v string) predicate.Incident
- func ProbeHostGTE(v string) predicate.Incident
- func ProbeHostHasPrefix(v string) predicate.Incident
- func ProbeHostHasSuffix(v string) predicate.Incident
- func ProbeHostIn(vs ...string) predicate.Incident
- func ProbeHostLT(v string) predicate.Incident
- func ProbeHostLTE(v string) predicate.Incident
- func ProbeHostNEQ(v string) predicate.Incident
- func ProbeHostNotIn(vs ...string) predicate.Incident
- func ProbeOS(v string) predicate.Incident
- func ProbeOSContains(v string) predicate.Incident
- func ProbeOSContainsFold(v string) predicate.Incident
- func ProbeOSEQ(v string) predicate.Incident
- func ProbeOSEqualFold(v string) predicate.Incident
- func ProbeOSGT(v string) predicate.Incident
- func ProbeOSGTE(v string) predicate.Incident
- func ProbeOSHasPrefix(v string) predicate.Incident
- func ProbeOSHasSuffix(v string) predicate.Incident
- func ProbeOSIn(vs ...string) predicate.Incident
- func ProbeOSLT(v string) predicate.Incident
- func ProbeOSLTE(v string) predicate.Incident
- func ProbeOSNEQ(v string) predicate.Incident
- func ProbeOSNotIn(vs ...string) predicate.Incident
- func Region(v string) predicate.Incident
- func RegionContains(v string) predicate.Incident
- func RegionContainsFold(v string) predicate.Incident
- func RegionEQ(v string) predicate.Incident
- func RegionEqualFold(v string) predicate.Incident
- func RegionGT(v string) predicate.Incident
- func RegionGTE(v string) predicate.Incident
- func RegionHasPrefix(v string) predicate.Incident
- func RegionHasSuffix(v string) predicate.Incident
- func RegionIn(vs ...string) predicate.Incident
- func RegionLT(v string) predicate.Incident
- func RegionLTE(v string) predicate.Incident
- func RegionNEQ(v string) predicate.Incident
- func RegionNotIn(vs ...string) predicate.Incident
- func Start(v time.Time) predicate.Incident
- func StartEQ(v time.Time) predicate.Incident
- func StartGT(v time.Time) predicate.Incident
- func StartGTE(v time.Time) predicate.Incident
- func StartIn(vs ...time.Time) predicate.Incident
- func StartLT(v time.Time) predicate.Incident
- func StartLTE(v time.Time) predicate.Incident
- func StartNEQ(v time.Time) predicate.Incident
- func StartNotIn(vs ...time.Time) predicate.Incident
- func State(v []byte) predicate.Incident
- func StateEQ(v []byte) predicate.Incident
- func StateGT(v []byte) predicate.Incident
- func StateGTE(v []byte) predicate.Incident
- func StateIn(vs ...[]byte) predicate.Incident
- func StateLT(v []byte) predicate.Incident
- func StateLTE(v []byte) predicate.Incident
- func StateNEQ(v []byte) predicate.Incident
- func StateNotIn(vs ...[]byte) predicate.Incident
- func Time(v time.Time) predicate.Incident
- func TimeEQ(v time.Time) predicate.Incident
- func TimeGT(v time.Time) predicate.Incident
- func TimeGTE(v time.Time) predicate.Incident
- func TimeIn(vs ...time.Time) predicate.Incident
- func TimeLT(v time.Time) predicate.Incident
- func TimeLTE(v time.Time) predicate.Incident
- func TimeNEQ(v time.Time) predicate.Incident
- func TimeNotIn(vs ...time.Time) predicate.Incident
- func UUID(v uuid.UUID) predicate.Incident
- func UUIDEQ(v uuid.UUID) predicate.Incident
- func UUIDGT(v uuid.UUID) predicate.Incident
- func UUIDGTE(v uuid.UUID) predicate.Incident
- func UUIDIn(vs ...uuid.UUID) predicate.Incident
- func UUIDLT(v uuid.UUID) predicate.Incident
- func UUIDLTE(v uuid.UUID) predicate.Incident
- func UUIDNEQ(v uuid.UUID) predicate.Incident
- func UUIDNotIn(vs ...uuid.UUID) predicate.Incident
- func Username(v string) predicate.Incident
- func UsernameContains(v string) predicate.Incident
- func UsernameContainsFold(v string) predicate.Incident
- func UsernameEQ(v string) predicate.Incident
- func UsernameEqualFold(v string) predicate.Incident
- func UsernameGT(v string) predicate.Incident
- func UsernameGTE(v string) predicate.Incident
- func UsernameHasPrefix(v string) predicate.Incident
- func UsernameHasSuffix(v string) predicate.Incident
- func UsernameIn(vs ...string) predicate.Incident
- func UsernameLT(v string) predicate.Incident
- func UsernameLTE(v string) predicate.Incident
- func UsernameNEQ(v string) predicate.Incident
- func UsernameNotIn(vs ...string) predicate.Incident
- func ValidColumn(column string) bool
- type OrderOption
- func ByCounters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCountersCount(opts ...sql.OrderTermOption) OrderOption
- func ByEnd(opts ...sql.OrderTermOption) OrderOption
- func ByError(opts ...sql.OrderTermOption) OrderOption
- func ByFailures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFailuresCount(opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIncidentID(opts ...sql.OrderTermOption) OrderOption
- func ByIntLevel(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByProbeHost(opts ...sql.OrderTermOption) OrderOption
- func ByProbeOS(opts ...sql.OrderTermOption) OrderOption
- func ByRegion(opts ...sql.OrderTermOption) OrderOption
- func ByStart(opts ...sql.OrderTermOption) OrderOption
- func ByStati(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByStatiCount(opts ...sql.OrderTermOption) OrderOption
- func ByTime(opts ...sql.OrderTermOption) OrderOption
- func ByUUID(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the incident type in the database. Label = "incident" // 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" // FieldStart holds the string denoting the start field in the database. FieldStart = "start" // FieldEnd holds the string denoting the end field in the database. FieldEnd = "end" // FieldState holds the string denoting the state field in the database. FieldState = "state" // 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 incident in the database. Table = "incidents" // 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 = "incident_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 = "incident_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 = "incident_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 = "incident_files" )
Variables ¶
var Columns = []string{ FieldID, FieldUUID, FieldIncidentID, FieldName, FieldTime, FieldIntLevel, FieldUsername, FieldRegion, FieldProbeOS, FieldProbeHost, FieldError, FieldStart, FieldEnd, FieldState, }
Columns holds all SQL columns for incident fields.
Functions ¶
func Error ¶
Error applies equality check predicate on the "Error" field. It's identical to ErrorEQ.
func ErrorContains ¶
ErrorContains applies the Contains predicate on the "Error" field.
func ErrorContainsFold ¶
ErrorContainsFold applies the ContainsFold predicate on the "Error" field.
func ErrorEqualFold ¶
ErrorEqualFold applies the EqualFold predicate on the "Error" field.
func ErrorHasPrefix ¶
ErrorHasPrefix applies the HasPrefix predicate on the "Error" field.
func ErrorHasSuffix ¶
ErrorHasSuffix applies the HasSuffix predicate on the "Error" field.
func ErrorIsNil ¶
ErrorIsNil applies the IsNil predicate on the "Error" field.
func ErrorNotIn ¶
ErrorNotIn applies the NotIn predicate on the "Error" field.
func ErrorNotNil ¶
ErrorNotNil applies the NotNil predicate on the "Error" field.
func HasCounters ¶
HasCounters applies the HasEdge predicate on the "Counters" edge.
func HasCountersWith ¶
HasCountersWith applies the HasEdge predicate on the "Counters" edge with a given conditions (other predicates).
func HasFailures ¶
HasFailures applies the HasEdge predicate on the "Failures" edge.
func HasFailuresWith ¶
HasFailuresWith applies the HasEdge predicate on the "Failures" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "Files" edge with a given conditions (other predicates).
func HasStatiWith ¶
HasStatiWith applies the HasEdge predicate on the "Stati" edge with a given conditions (other predicates).
func IncidentID ¶
IncidentID applies equality check predicate on the "IncidentID" field. It's identical to IncidentIDEQ.
func IncidentIDEQ ¶
IncidentIDEQ applies the EQ predicate on the "IncidentID" field.
func IncidentIDGT ¶
IncidentIDGT applies the GT predicate on the "IncidentID" field.
func IncidentIDGTE ¶
IncidentIDGTE applies the GTE predicate on the "IncidentID" field.
func IncidentIDIn ¶
IncidentIDIn applies the In predicate on the "IncidentID" field.
func IncidentIDIsNil ¶
IncidentIDIsNil applies the IsNil predicate on the "IncidentID" field.
func IncidentIDLT ¶
IncidentIDLT applies the LT predicate on the "IncidentID" field.
func IncidentIDLTE ¶
IncidentIDLTE applies the LTE predicate on the "IncidentID" field.
func IncidentIDNEQ ¶
IncidentIDNEQ applies the NEQ predicate on the "IncidentID" field.
func IncidentIDNotIn ¶
IncidentIDNotIn applies the NotIn predicate on the "IncidentID" field.
func IncidentIDNotNil ¶
IncidentIDNotNil applies the NotNil predicate on the "IncidentID" field.
func IntLevel ¶
IntLevel applies equality check predicate on the "IntLevel" field. It's identical to IntLevelEQ.
func IntLevelEQ ¶
IntLevelEQ applies the EQ predicate on the "IntLevel" field.
func IntLevelGT ¶
IntLevelGT applies the GT predicate on the "IntLevel" field.
func IntLevelGTE ¶
IntLevelGTE applies the GTE predicate on the "IntLevel" field.
func IntLevelIn ¶
IntLevelIn applies the In predicate on the "IntLevel" field.
func IntLevelLT ¶
IntLevelLT applies the LT predicate on the "IntLevel" field.
func IntLevelLTE ¶
IntLevelLTE applies the LTE predicate on the "IntLevel" field.
func IntLevelNEQ ¶
IntLevelNEQ applies the NEQ predicate on the "IntLevel" field.
func IntLevelNotIn ¶
IntLevelNotIn applies the NotIn predicate on the "IntLevel" field.
func NameContains ¶
NameContains applies the Contains predicate on the "Name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "Name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "Name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "Name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "Name" field.
func ProbeHost ¶
ProbeHost applies equality check predicate on the "ProbeHost" field. It's identical to ProbeHostEQ.
func ProbeHostContains ¶
ProbeHostContains applies the Contains predicate on the "ProbeHost" field.
func ProbeHostContainsFold ¶
ProbeHostContainsFold applies the ContainsFold predicate on the "ProbeHost" field.
func ProbeHostEQ ¶
ProbeHostEQ applies the EQ predicate on the "ProbeHost" field.
func ProbeHostEqualFold ¶
ProbeHostEqualFold applies the EqualFold predicate on the "ProbeHost" field.
func ProbeHostGT ¶
ProbeHostGT applies the GT predicate on the "ProbeHost" field.
func ProbeHostGTE ¶
ProbeHostGTE applies the GTE predicate on the "ProbeHost" field.
func ProbeHostHasPrefix ¶
ProbeHostHasPrefix applies the HasPrefix predicate on the "ProbeHost" field.
func ProbeHostHasSuffix ¶
ProbeHostHasSuffix applies the HasSuffix predicate on the "ProbeHost" field.
func ProbeHostIn ¶
ProbeHostIn applies the In predicate on the "ProbeHost" field.
func ProbeHostLT ¶
ProbeHostLT applies the LT predicate on the "ProbeHost" field.
func ProbeHostLTE ¶
ProbeHostLTE applies the LTE predicate on the "ProbeHost" field.
func ProbeHostNEQ ¶
ProbeHostNEQ applies the NEQ predicate on the "ProbeHost" field.
func ProbeHostNotIn ¶
ProbeHostNotIn applies the NotIn predicate on the "ProbeHost" field.
func ProbeOS ¶
ProbeOS applies equality check predicate on the "ProbeOS" field. It's identical to ProbeOSEQ.
func ProbeOSContains ¶
ProbeOSContains applies the Contains predicate on the "ProbeOS" field.
func ProbeOSContainsFold ¶
ProbeOSContainsFold applies the ContainsFold predicate on the "ProbeOS" field.
func ProbeOSEqualFold ¶
ProbeOSEqualFold applies the EqualFold predicate on the "ProbeOS" field.
func ProbeOSGTE ¶
ProbeOSGTE applies the GTE predicate on the "ProbeOS" field.
func ProbeOSHasPrefix ¶
ProbeOSHasPrefix applies the HasPrefix predicate on the "ProbeOS" field.
func ProbeOSHasSuffix ¶
ProbeOSHasSuffix applies the HasSuffix predicate on the "ProbeOS" field.
func ProbeOSLTE ¶
ProbeOSLTE applies the LTE predicate on the "ProbeOS" field.
func ProbeOSNEQ ¶
ProbeOSNEQ applies the NEQ predicate on the "ProbeOS" field.
func ProbeOSNotIn ¶
ProbeOSNotIn applies the NotIn predicate on the "ProbeOS" field.
func Region ¶
Region applies equality check predicate on the "Region" field. It's identical to RegionEQ.
func RegionContains ¶
RegionContains applies the Contains predicate on the "Region" field.
func RegionContainsFold ¶
RegionContainsFold applies the ContainsFold predicate on the "Region" field.
func RegionEqualFold ¶
RegionEqualFold applies the EqualFold predicate on the "Region" field.
func RegionHasPrefix ¶
RegionHasPrefix applies the HasPrefix predicate on the "Region" field.
func RegionHasSuffix ¶
RegionHasSuffix applies the HasSuffix predicate on the "Region" field.
func RegionNotIn ¶
RegionNotIn applies the NotIn predicate on the "Region" field.
func Start ¶
Start applies equality check predicate on the "Start" field. It's identical to StartEQ.
func StartNotIn ¶
StartNotIn applies the NotIn predicate on the "Start" field.
func State ¶
State applies equality check predicate on the "State" field. It's identical to StateEQ.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "State" field.
func Username ¶
Username applies equality check predicate on the "Username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "Username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "Username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "Username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "Username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "Username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "Username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "Username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "Username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "Username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "Username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "Username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "Username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "Username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶ added in v0.14.0
OrderOption defines the ordering options for the Incident 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 ByEnd ¶ added in v0.14.0
func ByEnd(opts ...sql.OrderTermOption) OrderOption
ByEnd orders the results by the End field.
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 ByStart ¶ added in v0.14.0
func ByStart(opts ...sql.OrderTermOption) OrderOption
ByStart orders the results by the Start 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.