Documentation
¶
Index ¶
- Constants
- Variables
- func Addr(v string) predicate.Netstat
- func AddrContains(v string) predicate.Netstat
- func AddrContainsFold(v string) predicate.Netstat
- func AddrEQ(v string) predicate.Netstat
- func AddrEqualFold(v string) predicate.Netstat
- func AddrGT(v string) predicate.Netstat
- func AddrGTE(v string) predicate.Netstat
- func AddrHasPrefix(v string) predicate.Netstat
- func AddrHasSuffix(v string) predicate.Netstat
- func AddrIn(vs ...string) predicate.Netstat
- func AddrLT(v string) predicate.Netstat
- func AddrLTE(v string) predicate.Netstat
- func AddrNEQ(v string) predicate.Netstat
- func AddrNotIn(vs ...string) predicate.Netstat
- func And(predicates ...predicate.Netstat) predicate.Netstat
- func CreatedAt(v time.Time) predicate.Netstat
- func CreatedAtEQ(v time.Time) predicate.Netstat
- func CreatedAtGT(v time.Time) predicate.Netstat
- func CreatedAtGTE(v time.Time) predicate.Netstat
- func CreatedAtIn(vs ...time.Time) predicate.Netstat
- func CreatedAtLT(v time.Time) predicate.Netstat
- func CreatedAtLTE(v time.Time) predicate.Netstat
- func CreatedAtNEQ(v time.Time) predicate.Netstat
- func CreatedAtNotIn(vs ...time.Time) predicate.Netstat
- func HasHostID() predicate.Netstat
- func HasHostIDWith(preds ...predicate.Host) predicate.Netstat
- func ID(id int) predicate.Netstat
- func IDEQ(id int) predicate.Netstat
- func IDGT(id int) predicate.Netstat
- func IDGTE(id int) predicate.Netstat
- func IDIn(ids ...int) predicate.Netstat
- func IDLT(id int) predicate.Netstat
- func IDLTE(id int) predicate.Netstat
- func IDNEQ(id int) predicate.Netstat
- func IDNotIn(ids ...int) predicate.Netstat
- func Not(p predicate.Netstat) predicate.Netstat
- func Or(predicates ...predicate.Netstat) predicate.Netstat
- func Port(v uint64) predicate.Netstat
- func PortEQ(v uint64) predicate.Netstat
- func PortGT(v uint64) predicate.Netstat
- func PortGTE(v uint64) predicate.Netstat
- func PortIn(vs ...uint64) predicate.Netstat
- func PortLT(v uint64) predicate.Netstat
- func PortLTE(v uint64) predicate.Netstat
- func PortNEQ(v uint64) predicate.Netstat
- func PortNotIn(vs ...uint64) predicate.Netstat
- func Process(v string) predicate.Netstat
- func ProcessContains(v string) predicate.Netstat
- func ProcessContainsFold(v string) predicate.Netstat
- func ProcessEQ(v string) predicate.Netstat
- func ProcessEqualFold(v string) predicate.Netstat
- func ProcessGT(v string) predicate.Netstat
- func ProcessGTE(v string) predicate.Netstat
- func ProcessHasPrefix(v string) predicate.Netstat
- func ProcessHasSuffix(v string) predicate.Netstat
- func ProcessIn(vs ...string) predicate.Netstat
- func ProcessLT(v string) predicate.Netstat
- func ProcessLTE(v string) predicate.Netstat
- func ProcessNEQ(v string) predicate.Netstat
- func ProcessNotIn(vs ...string) predicate.Netstat
- func Proto(v string) predicate.Netstat
- func ProtoContains(v string) predicate.Netstat
- func ProtoContainsFold(v string) predicate.Netstat
- func ProtoEQ(v string) predicate.Netstat
- func ProtoEqualFold(v string) predicate.Netstat
- func ProtoGT(v string) predicate.Netstat
- func ProtoGTE(v string) predicate.Netstat
- func ProtoHasPrefix(v string) predicate.Netstat
- func ProtoHasSuffix(v string) predicate.Netstat
- func ProtoIn(vs ...string) predicate.Netstat
- func ProtoLT(v string) predicate.Netstat
- func ProtoLTE(v string) predicate.Netstat
- func ProtoNEQ(v string) predicate.Netstat
- func ProtoNotIn(vs ...string) predicate.Netstat
- func UpdatedAt(v time.Time) predicate.Netstat
- func UpdatedAtEQ(v time.Time) predicate.Netstat
- func UpdatedAtGT(v time.Time) predicate.Netstat
- func UpdatedAtGTE(v time.Time) predicate.Netstat
- func UpdatedAtIn(vs ...time.Time) predicate.Netstat
- func UpdatedAtLT(v time.Time) predicate.Netstat
- func UpdatedAtLTE(v time.Time) predicate.Netstat
- func UpdatedAtNEQ(v time.Time) predicate.Netstat
- func UpdatedAtNotIn(vs ...time.Time) predicate.Netstat
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the netstat type in the database. Label = "netstat" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAddr holds the string denoting the addr field in the database. FieldAddr = "addr" // FieldPort holds the string denoting the port field in the database. FieldPort = "port" // FieldProto holds the string denoting the proto field in the database. FieldProto = "proto" // FieldProcess holds the string denoting the process field in the database. FieldProcess = "process" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeHostID holds the string denoting the host_id edge name in mutations. EdgeHostID = "host_id" // Table holds the table name of the netstat in the database. Table = "netstats" // HostIDTable is the table that holds the host_id relation/edge. HostIDTable = "netstats" // HostIDInverseTable is the table name for the Host entity. // It exists in this package in order to avoid circular dependency with the "host" package. HostIDInverseTable = "hosts" // HostIDColumn is the table column denoting the host_id relation/edge. HostIDColumn = "host_netstat" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldAddr, FieldPort, FieldProto, FieldProcess, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for netstat fields.
var ForeignKeys = []string{
"host_netstat",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "netstats" table and are not defined as standalone fields in the schema.
Functions ¶
func AddrContains ¶
AddrContains applies the Contains predicate on the "addr" field.
func AddrContainsFold ¶
AddrContainsFold applies the ContainsFold predicate on the "addr" field.
func AddrEqualFold ¶
AddrEqualFold applies the EqualFold predicate on the "addr" field.
func AddrHasPrefix ¶
AddrHasPrefix applies the HasPrefix predicate on the "addr" field.
func AddrHasSuffix ¶
AddrHasSuffix applies the HasSuffix predicate on the "addr" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasHostIDWith ¶
HasHostIDWith applies the HasEdge predicate on the "host_id" edge with a given conditions (other predicates).
func Process ¶
Process applies equality check predicate on the "process" field. It's identical to ProcessEQ.
func ProcessContains ¶
ProcessContains applies the Contains predicate on the "process" field.
func ProcessContainsFold ¶
ProcessContainsFold applies the ContainsFold predicate on the "process" field.
func ProcessEqualFold ¶
ProcessEqualFold applies the EqualFold predicate on the "process" field.
func ProcessGTE ¶
ProcessGTE applies the GTE predicate on the "process" field.
func ProcessHasPrefix ¶
ProcessHasPrefix applies the HasPrefix predicate on the "process" field.
func ProcessHasSuffix ¶
ProcessHasSuffix applies the HasSuffix predicate on the "process" field.
func ProcessLTE ¶
ProcessLTE applies the LTE predicate on the "process" field.
func ProcessNEQ ¶
ProcessNEQ applies the NEQ predicate on the "process" field.
func ProcessNotIn ¶
ProcessNotIn applies the NotIn predicate on the "process" field.
func Proto ¶
Proto applies equality check predicate on the "proto" field. It's identical to ProtoEQ.
func ProtoContains ¶
ProtoContains applies the Contains predicate on the "proto" field.
func ProtoContainsFold ¶
ProtoContainsFold applies the ContainsFold predicate on the "proto" field.
func ProtoEqualFold ¶
ProtoEqualFold applies the EqualFold predicate on the "proto" field.
func ProtoHasPrefix ¶
ProtoHasPrefix applies the HasPrefix predicate on the "proto" field.
func ProtoHasSuffix ¶
ProtoHasSuffix applies the HasSuffix predicate on the "proto" field.
func ProtoNotIn ¶
ProtoNotIn applies the NotIn predicate on the "proto" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.