Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Message) predicate.Message
- func Data(v []byte) predicate.Message
- func DataEQ(v []byte) predicate.Message
- func DataGT(v []byte) predicate.Message
- func DataGTE(v []byte) predicate.Message
- func DataIn(vs ...[]byte) predicate.Message
- func DataIsNil() predicate.Message
- func DataLT(v []byte) predicate.Message
- func DataLTE(v []byte) predicate.Message
- func DataNEQ(v []byte) predicate.Message
- func DataNotIn(vs ...[]byte) predicate.Message
- func DataNotNil() predicate.Message
- func DestinationAddress(v string) predicate.Message
- func DestinationAddressContains(v string) predicate.Message
- func DestinationAddressContainsFold(v string) predicate.Message
- func DestinationAddressEQ(v string) predicate.Message
- func DestinationAddressEqualFold(v string) predicate.Message
- func DestinationAddressGT(v string) predicate.Message
- func DestinationAddressGTE(v string) predicate.Message
- func DestinationAddressHasPrefix(v string) predicate.Message
- func DestinationAddressHasSuffix(v string) predicate.Message
- func DestinationAddressIn(vs ...string) predicate.Message
- func DestinationAddressLT(v string) predicate.Message
- func DestinationAddressLTE(v string) predicate.Message
- func DestinationAddressNEQ(v string) predicate.Message
- func DestinationAddressNotIn(vs ...string) predicate.Message
- func DestinationPort(v int) predicate.Message
- func DestinationPortEQ(v int) predicate.Message
- func DestinationPortGT(v int) predicate.Message
- func DestinationPortGTE(v int) predicate.Message
- func DestinationPortIn(vs ...int) predicate.Message
- func DestinationPortLT(v int) predicate.Message
- func DestinationPortLTE(v int) predicate.Message
- func DestinationPortNEQ(v int) predicate.Message
- func DestinationPortNotIn(vs ...int) predicate.Message
- func ID(id int) predicate.Message
- func IDEQ(id int) predicate.Message
- func IDGT(id int) predicate.Message
- func IDGTE(id int) predicate.Message
- func IDIn(ids ...int) predicate.Message
- func IDLT(id int) predicate.Message
- func IDLTE(id int) predicate.Message
- func IDNEQ(id int) predicate.Message
- func IDNotIn(ids ...int) predicate.Message
- func Not(p predicate.Message) predicate.Message
- func Opcode(v int) predicate.Message
- func OpcodeEQ(v int) predicate.Message
- func OpcodeGT(v int) predicate.Message
- func OpcodeGTE(v int) predicate.Message
- func OpcodeIn(vs ...int) predicate.Message
- func OpcodeIsNil() predicate.Message
- func OpcodeLT(v int) predicate.Message
- func OpcodeLTE(v int) predicate.Message
- func OpcodeNEQ(v int) predicate.Message
- func OpcodeNotIn(vs ...int) predicate.Message
- func OpcodeNotNil() predicate.Message
- func Or(predicates ...predicate.Message) predicate.Message
- func SegmentType(v int) predicate.Message
- func SegmentTypeEQ(v int) predicate.Message
- func SegmentTypeGT(v int) predicate.Message
- func SegmentTypeGTE(v int) predicate.Message
- func SegmentTypeIn(vs ...int) predicate.Message
- func SegmentTypeLT(v int) predicate.Message
- func SegmentTypeLTE(v int) predicate.Message
- func SegmentTypeNEQ(v int) predicate.Message
- func SegmentTypeNotIn(vs ...int) predicate.Message
- func Server(v int) predicate.Message
- func ServerEQ(v int) predicate.Message
- func ServerGT(v int) predicate.Message
- func ServerGTE(v int) predicate.Message
- func ServerIn(vs ...int) predicate.Message
- func ServerIsNil() predicate.Message
- func ServerLT(v int) predicate.Message
- func ServerLTE(v int) predicate.Message
- func ServerNEQ(v int) predicate.Message
- func ServerNotIn(vs ...int) predicate.Message
- func ServerNotNil() predicate.Message
- func Size(v uint32) predicate.Message
- func SizeEQ(v uint32) predicate.Message
- func SizeGT(v uint32) predicate.Message
- func SizeGTE(v uint32) predicate.Message
- func SizeIn(vs ...uint32) predicate.Message
- func SizeLT(v uint32) predicate.Message
- func SizeLTE(v uint32) predicate.Message
- func SizeNEQ(v uint32) predicate.Message
- func SizeNotIn(vs ...uint32) predicate.Message
- func SourceActor(v uint32) predicate.Message
- func SourceActorEQ(v uint32) predicate.Message
- func SourceActorGT(v uint32) predicate.Message
- func SourceActorGTE(v uint32) predicate.Message
- func SourceActorIn(vs ...uint32) predicate.Message
- func SourceActorLT(v uint32) predicate.Message
- func SourceActorLTE(v uint32) predicate.Message
- func SourceActorNEQ(v uint32) predicate.Message
- func SourceActorNotIn(vs ...uint32) predicate.Message
- func SourceAddress(v string) predicate.Message
- func SourceAddressContains(v string) predicate.Message
- func SourceAddressContainsFold(v string) predicate.Message
- func SourceAddressEQ(v string) predicate.Message
- func SourceAddressEqualFold(v string) predicate.Message
- func SourceAddressGT(v string) predicate.Message
- func SourceAddressGTE(v string) predicate.Message
- func SourceAddressHasPrefix(v string) predicate.Message
- func SourceAddressHasSuffix(v string) predicate.Message
- func SourceAddressIn(vs ...string) predicate.Message
- func SourceAddressLT(v string) predicate.Message
- func SourceAddressLTE(v string) predicate.Message
- func SourceAddressNEQ(v string) predicate.Message
- func SourceAddressNotIn(vs ...string) predicate.Message
- func SourcePort(v int) predicate.Message
- func SourcePortEQ(v int) predicate.Message
- func SourcePortGT(v int) predicate.Message
- func SourcePortGTE(v int) predicate.Message
- func SourcePortIn(vs ...int) predicate.Message
- func SourcePortLT(v int) predicate.Message
- func SourcePortLTE(v int) predicate.Message
- func SourcePortNEQ(v int) predicate.Message
- func SourcePortNotIn(vs ...int) predicate.Message
- func TargetActor(v uint32) predicate.Message
- func TargetActorEQ(v uint32) predicate.Message
- func TargetActorGT(v uint32) predicate.Message
- func TargetActorGTE(v uint32) predicate.Message
- func TargetActorIn(vs ...uint32) predicate.Message
- func TargetActorLT(v uint32) predicate.Message
- func TargetActorLTE(v uint32) predicate.Message
- func TargetActorNEQ(v uint32) predicate.Message
- func TargetActorNotIn(vs ...uint32) predicate.Message
- func Timestamp(v time.Time) predicate.Message
- func TimestampEQ(v time.Time) predicate.Message
- func TimestampGT(v time.Time) predicate.Message
- func TimestampGTE(v time.Time) predicate.Message
- func TimestampIn(vs ...time.Time) predicate.Message
- func TimestampLT(v time.Time) predicate.Message
- func TimestampLTE(v time.Time) predicate.Message
- func TimestampNEQ(v time.Time) predicate.Message
- func TimestampNotIn(vs ...time.Time) predicate.Message
- func TimestampRaw(v uint32) predicate.Message
- func TimestampRawEQ(v uint32) predicate.Message
- func TimestampRawGT(v uint32) predicate.Message
- func TimestampRawGTE(v uint32) predicate.Message
- func TimestampRawIn(vs ...uint32) predicate.Message
- func TimestampRawIsNil() predicate.Message
- func TimestampRawLT(v uint32) predicate.Message
- func TimestampRawLTE(v uint32) predicate.Message
- func TimestampRawNEQ(v uint32) predicate.Message
- func TimestampRawNotIn(vs ...uint32) predicate.Message
- func TimestampRawNotNil() predicate.Message
- func ValidColumn(column string) bool
- func Version(v int) predicate.Message
- func VersionEQ(v int) predicate.Message
- func VersionGT(v int) predicate.Message
- func VersionGTE(v int) predicate.Message
- func VersionIn(vs ...int) predicate.Message
- func VersionLT(v int) predicate.Message
- func VersionLTE(v int) predicate.Message
- func VersionNEQ(v int) predicate.Message
- func VersionNotIn(vs ...int) predicate.Message
Constants ¶
const ( // Label holds the string label denoting the message type in the database. Label = "message" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTimestamp holds the string denoting the timestamp field in the database. FieldTimestamp = "timestamp" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldSourceAddress holds the string denoting the source_address field in the database. FieldSourceAddress = "source_address" // FieldSourcePort holds the string denoting the source_port field in the database. FieldSourcePort = "source_port" // FieldDestinationAddress holds the string denoting the destination_address field in the database. FieldDestinationAddress = "destination_address" // FieldDestinationPort holds the string denoting the destination_port field in the database. FieldDestinationPort = "destination_port" // FieldSize holds the string denoting the size field in the database. FieldSize = "size" // FieldSourceActor holds the string denoting the source_actor field in the database. FieldSourceActor = "source_actor" // FieldTargetActor holds the string denoting the target_actor field in the database. FieldTargetActor = "target_actor" // FieldSegmentType holds the string denoting the segment_type field in the database. FieldSegmentType = "segment_type" // FieldOpcode holds the string denoting the opcode field in the database. FieldOpcode = "opcode" // FieldServer holds the string denoting the server field in the database. FieldServer = "server" // FieldTimestampRaw holds the string denoting the timestamp_raw field in the database. FieldTimestampRaw = "timestamp_raw" // FieldData holds the string denoting the data field in the database. FieldData = "data" // Table holds the table name of the message in the database. Table = "messages" )
Variables ¶
var Columns = []string{ FieldID, FieldTimestamp, FieldVersion, FieldSourceAddress, FieldSourcePort, FieldDestinationAddress, FieldDestinationPort, FieldSize, FieldSourceActor, FieldTargetActor, FieldSegmentType, FieldOpcode, FieldServer, FieldTimestampRaw, FieldData, }
Columns holds all SQL columns for message fields.
Functions ¶
func DataNotNil ¶ added in v0.3.0
DataNotNil applies the NotNil predicate on the "data" field.
func DestinationAddress ¶
DestinationAddress applies equality check predicate on the "destination_address" field. It's identical to DestinationAddressEQ.
func DestinationAddressContains ¶
DestinationAddressContains applies the Contains predicate on the "destination_address" field.
func DestinationAddressContainsFold ¶
DestinationAddressContainsFold applies the ContainsFold predicate on the "destination_address" field.
func DestinationAddressEQ ¶
DestinationAddressEQ applies the EQ predicate on the "destination_address" field.
func DestinationAddressEqualFold ¶
DestinationAddressEqualFold applies the EqualFold predicate on the "destination_address" field.
func DestinationAddressGT ¶
DestinationAddressGT applies the GT predicate on the "destination_address" field.
func DestinationAddressGTE ¶
DestinationAddressGTE applies the GTE predicate on the "destination_address" field.
func DestinationAddressHasPrefix ¶
DestinationAddressHasPrefix applies the HasPrefix predicate on the "destination_address" field.
func DestinationAddressHasSuffix ¶
DestinationAddressHasSuffix applies the HasSuffix predicate on the "destination_address" field.
func DestinationAddressIn ¶
DestinationAddressIn applies the In predicate on the "destination_address" field.
func DestinationAddressLT ¶
DestinationAddressLT applies the LT predicate on the "destination_address" field.
func DestinationAddressLTE ¶
DestinationAddressLTE applies the LTE predicate on the "destination_address" field.
func DestinationAddressNEQ ¶
DestinationAddressNEQ applies the NEQ predicate on the "destination_address" field.
func DestinationAddressNotIn ¶
DestinationAddressNotIn applies the NotIn predicate on the "destination_address" field.
func DestinationPort ¶
DestinationPort applies equality check predicate on the "destination_port" field. It's identical to DestinationPortEQ.
func DestinationPortEQ ¶
DestinationPortEQ applies the EQ predicate on the "destination_port" field.
func DestinationPortGT ¶
DestinationPortGT applies the GT predicate on the "destination_port" field.
func DestinationPortGTE ¶
DestinationPortGTE applies the GTE predicate on the "destination_port" field.
func DestinationPortIn ¶
DestinationPortIn applies the In predicate on the "destination_port" field.
func DestinationPortLT ¶
DestinationPortLT applies the LT predicate on the "destination_port" field.
func DestinationPortLTE ¶
DestinationPortLTE applies the LTE predicate on the "destination_port" field.
func DestinationPortNEQ ¶
DestinationPortNEQ applies the NEQ predicate on the "destination_port" field.
func DestinationPortNotIn ¶
DestinationPortNotIn applies the NotIn predicate on the "destination_port" field.
func Opcode ¶ added in v0.1.1
Opcode applies equality check predicate on the "opcode" field. It's identical to OpcodeEQ.
func OpcodeIsNil ¶ added in v0.1.1
OpcodeIsNil applies the IsNil predicate on the "opcode" field.
func OpcodeNotIn ¶ added in v0.1.1
OpcodeNotIn applies the NotIn predicate on the "opcode" field.
func OpcodeNotNil ¶ added in v0.1.1
OpcodeNotNil applies the NotNil predicate on the "opcode" field.
func SegmentType ¶ added in v0.3.0
SegmentType applies equality check predicate on the "segment_type" field. It's identical to SegmentTypeEQ.
func SegmentTypeEQ ¶ added in v0.3.0
SegmentTypeEQ applies the EQ predicate on the "segment_type" field.
func SegmentTypeGT ¶ added in v0.3.0
SegmentTypeGT applies the GT predicate on the "segment_type" field.
func SegmentTypeGTE ¶ added in v0.3.0
SegmentTypeGTE applies the GTE predicate on the "segment_type" field.
func SegmentTypeIn ¶ added in v0.3.0
SegmentTypeIn applies the In predicate on the "segment_type" field.
func SegmentTypeLT ¶ added in v0.3.0
SegmentTypeLT applies the LT predicate on the "segment_type" field.
func SegmentTypeLTE ¶ added in v0.3.0
SegmentTypeLTE applies the LTE predicate on the "segment_type" field.
func SegmentTypeNEQ ¶ added in v0.3.0
SegmentTypeNEQ applies the NEQ predicate on the "segment_type" field.
func SegmentTypeNotIn ¶ added in v0.3.0
SegmentTypeNotIn applies the NotIn predicate on the "segment_type" field.
func Server ¶ added in v0.3.0
Server applies equality check predicate on the "server" field. It's identical to ServerEQ.
func ServerIsNil ¶ added in v0.3.0
ServerIsNil applies the IsNil predicate on the "server" field.
func ServerNotIn ¶ added in v0.3.0
ServerNotIn applies the NotIn predicate on the "server" field.
func ServerNotNil ¶ added in v0.3.0
ServerNotNil applies the NotNil predicate on the "server" field.
func Size ¶ added in v0.3.0
Size applies equality check predicate on the "size" field. It's identical to SizeEQ.
func SourceActor ¶ added in v0.3.0
SourceActor applies equality check predicate on the "source_actor" field. It's identical to SourceActorEQ.
func SourceActorEQ ¶ added in v0.3.0
SourceActorEQ applies the EQ predicate on the "source_actor" field.
func SourceActorGT ¶ added in v0.3.0
SourceActorGT applies the GT predicate on the "source_actor" field.
func SourceActorGTE ¶ added in v0.3.0
SourceActorGTE applies the GTE predicate on the "source_actor" field.
func SourceActorIn ¶ added in v0.3.0
SourceActorIn applies the In predicate on the "source_actor" field.
func SourceActorLT ¶ added in v0.3.0
SourceActorLT applies the LT predicate on the "source_actor" field.
func SourceActorLTE ¶ added in v0.3.0
SourceActorLTE applies the LTE predicate on the "source_actor" field.
func SourceActorNEQ ¶ added in v0.3.0
SourceActorNEQ applies the NEQ predicate on the "source_actor" field.
func SourceActorNotIn ¶ added in v0.3.0
SourceActorNotIn applies the NotIn predicate on the "source_actor" field.
func SourceAddress ¶
SourceAddress applies equality check predicate on the "source_address" field. It's identical to SourceAddressEQ.
func SourceAddressContains ¶
SourceAddressContains applies the Contains predicate on the "source_address" field.
func SourceAddressContainsFold ¶
SourceAddressContainsFold applies the ContainsFold predicate on the "source_address" field.
func SourceAddressEQ ¶
SourceAddressEQ applies the EQ predicate on the "source_address" field.
func SourceAddressEqualFold ¶
SourceAddressEqualFold applies the EqualFold predicate on the "source_address" field.
func SourceAddressGT ¶
SourceAddressGT applies the GT predicate on the "source_address" field.
func SourceAddressGTE ¶
SourceAddressGTE applies the GTE predicate on the "source_address" field.
func SourceAddressHasPrefix ¶
SourceAddressHasPrefix applies the HasPrefix predicate on the "source_address" field.
func SourceAddressHasSuffix ¶
SourceAddressHasSuffix applies the HasSuffix predicate on the "source_address" field.
func SourceAddressIn ¶
SourceAddressIn applies the In predicate on the "source_address" field.
func SourceAddressLT ¶
SourceAddressLT applies the LT predicate on the "source_address" field.
func SourceAddressLTE ¶
SourceAddressLTE applies the LTE predicate on the "source_address" field.
func SourceAddressNEQ ¶
SourceAddressNEQ applies the NEQ predicate on the "source_address" field.
func SourceAddressNotIn ¶
SourceAddressNotIn applies the NotIn predicate on the "source_address" field.
func SourcePort ¶
SourcePort applies equality check predicate on the "source_port" field. It's identical to SourcePortEQ.
func SourcePortEQ ¶
SourcePortEQ applies the EQ predicate on the "source_port" field.
func SourcePortGT ¶
SourcePortGT applies the GT predicate on the "source_port" field.
func SourcePortGTE ¶
SourcePortGTE applies the GTE predicate on the "source_port" field.
func SourcePortIn ¶
SourcePortIn applies the In predicate on the "source_port" field.
func SourcePortLT ¶
SourcePortLT applies the LT predicate on the "source_port" field.
func SourcePortLTE ¶
SourcePortLTE applies the LTE predicate on the "source_port" field.
func SourcePortNEQ ¶
SourcePortNEQ applies the NEQ predicate on the "source_port" field.
func SourcePortNotIn ¶
SourcePortNotIn applies the NotIn predicate on the "source_port" field.
func TargetActor ¶ added in v0.3.0
TargetActor applies equality check predicate on the "target_actor" field. It's identical to TargetActorEQ.
func TargetActorEQ ¶ added in v0.3.0
TargetActorEQ applies the EQ predicate on the "target_actor" field.
func TargetActorGT ¶ added in v0.3.0
TargetActorGT applies the GT predicate on the "target_actor" field.
func TargetActorGTE ¶ added in v0.3.0
TargetActorGTE applies the GTE predicate on the "target_actor" field.
func TargetActorIn ¶ added in v0.3.0
TargetActorIn applies the In predicate on the "target_actor" field.
func TargetActorLT ¶ added in v0.3.0
TargetActorLT applies the LT predicate on the "target_actor" field.
func TargetActorLTE ¶ added in v0.3.0
TargetActorLTE applies the LTE predicate on the "target_actor" field.
func TargetActorNEQ ¶ added in v0.3.0
TargetActorNEQ applies the NEQ predicate on the "target_actor" field.
func TargetActorNotIn ¶ added in v0.3.0
TargetActorNotIn applies the NotIn predicate on the "target_actor" field.
func Timestamp ¶
Timestamp applies equality check predicate on the "timestamp" field. It's identical to TimestampEQ.
func TimestampEQ ¶
TimestampEQ applies the EQ predicate on the "timestamp" field.
func TimestampGT ¶
TimestampGT applies the GT predicate on the "timestamp" field.
func TimestampGTE ¶
TimestampGTE applies the GTE predicate on the "timestamp" field.
func TimestampIn ¶
TimestampIn applies the In predicate on the "timestamp" field.
func TimestampLT ¶
TimestampLT applies the LT predicate on the "timestamp" field.
func TimestampLTE ¶
TimestampLTE applies the LTE predicate on the "timestamp" field.
func TimestampNEQ ¶
TimestampNEQ applies the NEQ predicate on the "timestamp" field.
func TimestampNotIn ¶
TimestampNotIn applies the NotIn predicate on the "timestamp" field.
func TimestampRaw ¶ added in v0.3.0
TimestampRaw applies equality check predicate on the "timestamp_raw" field. It's identical to TimestampRawEQ.
func TimestampRawEQ ¶ added in v0.3.0
TimestampRawEQ applies the EQ predicate on the "timestamp_raw" field.
func TimestampRawGT ¶ added in v0.3.0
TimestampRawGT applies the GT predicate on the "timestamp_raw" field.
func TimestampRawGTE ¶ added in v0.3.0
TimestampRawGTE applies the GTE predicate on the "timestamp_raw" field.
func TimestampRawIn ¶ added in v0.3.0
TimestampRawIn applies the In predicate on the "timestamp_raw" field.
func TimestampRawIsNil ¶ added in v0.3.0
TimestampRawIsNil applies the IsNil predicate on the "timestamp_raw" field.
func TimestampRawLT ¶ added in v0.3.0
TimestampRawLT applies the LT predicate on the "timestamp_raw" field.
func TimestampRawLTE ¶ added in v0.3.0
TimestampRawLTE applies the LTE predicate on the "timestamp_raw" field.
func TimestampRawNEQ ¶ added in v0.3.0
TimestampRawNEQ applies the NEQ predicate on the "timestamp_raw" field.
func TimestampRawNotIn ¶ added in v0.3.0
TimestampRawNotIn applies the NotIn predicate on the "timestamp_raw" field.
func TimestampRawNotNil ¶ added in v0.3.0
TimestampRawNotNil applies the NotNil predicate on the "timestamp_raw" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
This section is empty.