Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.HostProcess) predicate.HostProcess
- func Cmd(v string) predicate.HostProcess
- func CmdContains(v string) predicate.HostProcess
- func CmdContainsFold(v string) predicate.HostProcess
- func CmdEQ(v string) predicate.HostProcess
- func CmdEqualFold(v string) predicate.HostProcess
- func CmdGT(v string) predicate.HostProcess
- func CmdGTE(v string) predicate.HostProcess
- func CmdHasPrefix(v string) predicate.HostProcess
- func CmdHasSuffix(v string) predicate.HostProcess
- func CmdIn(vs ...string) predicate.HostProcess
- func CmdIsNil() predicate.HostProcess
- func CmdLT(v string) predicate.HostProcess
- func CmdLTE(v string) predicate.HostProcess
- func CmdNEQ(v string) predicate.HostProcess
- func CmdNotIn(vs ...string) predicate.HostProcess
- func CmdNotNil() predicate.HostProcess
- func CreatedAt(v time.Time) predicate.HostProcess
- func CreatedAtEQ(v time.Time) predicate.HostProcess
- func CreatedAtGT(v time.Time) predicate.HostProcess
- func CreatedAtGTE(v time.Time) predicate.HostProcess
- func CreatedAtIn(vs ...time.Time) predicate.HostProcess
- func CreatedAtLT(v time.Time) predicate.HostProcess
- func CreatedAtLTE(v time.Time) predicate.HostProcess
- func CreatedAtNEQ(v time.Time) predicate.HostProcess
- func CreatedAtNotIn(vs ...time.Time) predicate.HostProcess
- func Cwd(v string) predicate.HostProcess
- func CwdContains(v string) predicate.HostProcess
- func CwdContainsFold(v string) predicate.HostProcess
- func CwdEQ(v string) predicate.HostProcess
- func CwdEqualFold(v string) predicate.HostProcess
- func CwdGT(v string) predicate.HostProcess
- func CwdGTE(v string) predicate.HostProcess
- func CwdHasPrefix(v string) predicate.HostProcess
- func CwdHasSuffix(v string) predicate.HostProcess
- func CwdIn(vs ...string) predicate.HostProcess
- func CwdIsNil() predicate.HostProcess
- func CwdLT(v string) predicate.HostProcess
- func CwdLTE(v string) predicate.HostProcess
- func CwdNEQ(v string) predicate.HostProcess
- func CwdNotIn(vs ...string) predicate.HostProcess
- func CwdNotNil() predicate.HostProcess
- func Env(v string) predicate.HostProcess
- func EnvContains(v string) predicate.HostProcess
- func EnvContainsFold(v string) predicate.HostProcess
- func EnvEQ(v string) predicate.HostProcess
- func EnvEqualFold(v string) predicate.HostProcess
- func EnvGT(v string) predicate.HostProcess
- func EnvGTE(v string) predicate.HostProcess
- func EnvHasPrefix(v string) predicate.HostProcess
- func EnvHasSuffix(v string) predicate.HostProcess
- func EnvIn(vs ...string) predicate.HostProcess
- func EnvIsNil() predicate.HostProcess
- func EnvLT(v string) predicate.HostProcess
- func EnvLTE(v string) predicate.HostProcess
- func EnvNEQ(v string) predicate.HostProcess
- func EnvNotIn(vs ...string) predicate.HostProcess
- func EnvNotNil() predicate.HostProcess
- func HasHost() predicate.HostProcess
- func HasHostWith(preds ...predicate.Host) predicate.HostProcess
- func HasTask() predicate.HostProcess
- func HasTaskWith(preds ...predicate.Task) predicate.HostProcess
- func ID(id int) predicate.HostProcess
- func IDEQ(id int) predicate.HostProcess
- func IDGT(id int) predicate.HostProcess
- func IDGTE(id int) predicate.HostProcess
- func IDIn(ids ...int) predicate.HostProcess
- func IDLT(id int) predicate.HostProcess
- func IDLTE(id int) predicate.HostProcess
- func IDNEQ(id int) predicate.HostProcess
- func IDNotIn(ids ...int) predicate.HostProcess
- func LastModifiedAt(v time.Time) predicate.HostProcess
- func LastModifiedAtEQ(v time.Time) predicate.HostProcess
- func LastModifiedAtGT(v time.Time) predicate.HostProcess
- func LastModifiedAtGTE(v time.Time) predicate.HostProcess
- func LastModifiedAtIn(vs ...time.Time) predicate.HostProcess
- func LastModifiedAtLT(v time.Time) predicate.HostProcess
- func LastModifiedAtLTE(v time.Time) predicate.HostProcess
- func LastModifiedAtNEQ(v time.Time) predicate.HostProcess
- func LastModifiedAtNotIn(vs ...time.Time) predicate.HostProcess
- func Name(v string) predicate.HostProcess
- func NameContains(v string) predicate.HostProcess
- func NameContainsFold(v string) predicate.HostProcess
- func NameEQ(v string) predicate.HostProcess
- func NameEqualFold(v string) predicate.HostProcess
- func NameGT(v string) predicate.HostProcess
- func NameGTE(v string) predicate.HostProcess
- func NameHasPrefix(v string) predicate.HostProcess
- func NameHasSuffix(v string) predicate.HostProcess
- func NameIn(vs ...string) predicate.HostProcess
- func NameLT(v string) predicate.HostProcess
- func NameLTE(v string) predicate.HostProcess
- func NameNEQ(v string) predicate.HostProcess
- func NameNotIn(vs ...string) predicate.HostProcess
- func Not(p predicate.HostProcess) predicate.HostProcess
- func Or(predicates ...predicate.HostProcess) predicate.HostProcess
- func Path(v string) predicate.HostProcess
- func PathContains(v string) predicate.HostProcess
- func PathContainsFold(v string) predicate.HostProcess
- func PathEQ(v string) predicate.HostProcess
- func PathEqualFold(v string) predicate.HostProcess
- func PathGT(v string) predicate.HostProcess
- func PathGTE(v string) predicate.HostProcess
- func PathHasPrefix(v string) predicate.HostProcess
- func PathHasSuffix(v string) predicate.HostProcess
- func PathIn(vs ...string) predicate.HostProcess
- func PathIsNil() predicate.HostProcess
- func PathLT(v string) predicate.HostProcess
- func PathLTE(v string) predicate.HostProcess
- func PathNEQ(v string) predicate.HostProcess
- func PathNotIn(vs ...string) predicate.HostProcess
- func PathNotNil() predicate.HostProcess
- func Pid(v uint64) predicate.HostProcess
- func PidEQ(v uint64) predicate.HostProcess
- func PidGT(v uint64) predicate.HostProcess
- func PidGTE(v uint64) predicate.HostProcess
- func PidIn(vs ...uint64) predicate.HostProcess
- func PidLT(v uint64) predicate.HostProcess
- func PidLTE(v uint64) predicate.HostProcess
- func PidNEQ(v uint64) predicate.HostProcess
- func PidNotIn(vs ...uint64) predicate.HostProcess
- func Ppid(v uint64) predicate.HostProcess
- func PpidEQ(v uint64) predicate.HostProcess
- func PpidGT(v uint64) predicate.HostProcess
- func PpidGTE(v uint64) predicate.HostProcess
- func PpidIn(vs ...uint64) predicate.HostProcess
- func PpidLT(v uint64) predicate.HostProcess
- func PpidLTE(v uint64) predicate.HostProcess
- func PpidNEQ(v uint64) predicate.HostProcess
- func PpidNotIn(vs ...uint64) predicate.HostProcess
- func Principal(v string) predicate.HostProcess
- func PrincipalContains(v string) predicate.HostProcess
- func PrincipalContainsFold(v string) predicate.HostProcess
- func PrincipalEQ(v string) predicate.HostProcess
- func PrincipalEqualFold(v string) predicate.HostProcess
- func PrincipalGT(v string) predicate.HostProcess
- func PrincipalGTE(v string) predicate.HostProcess
- func PrincipalHasPrefix(v string) predicate.HostProcess
- func PrincipalHasSuffix(v string) predicate.HostProcess
- func PrincipalIn(vs ...string) predicate.HostProcess
- func PrincipalLT(v string) predicate.HostProcess
- func PrincipalLTE(v string) predicate.HostProcess
- func PrincipalNEQ(v string) predicate.HostProcess
- func PrincipalNotIn(vs ...string) predicate.HostProcess
- func StatusEQ(v epb.Process_Status) predicate.HostProcess
- func StatusIn(vs ...epb.Process_Status) predicate.HostProcess
- func StatusNEQ(v epb.Process_Status) predicate.HostProcess
- func StatusNotIn(vs ...epb.Process_Status) predicate.HostProcess
- func StatusValidator(s epb.Process_Status) error
- func ValidColumn(column string) bool
- type OrderOption
- func ByCmd(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCwd(opts ...sql.OrderTermOption) OrderOption
- func ByEnv(opts ...sql.OrderTermOption) OrderOption
- func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastModifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func ByPid(opts ...sql.OrderTermOption) OrderOption
- func ByPpid(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipal(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the hostprocess type in the database. Label = "host_process" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldLastModifiedAt holds the string denoting the last_modified_at field in the database. FieldLastModifiedAt = "last_modified_at" // FieldPid holds the string denoting the pid field in the database. FieldPid = "pid" // FieldPpid holds the string denoting the ppid field in the database. FieldPpid = "ppid" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldPrincipal holds the string denoting the principal field in the database. FieldPrincipal = "principal" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldCmd holds the string denoting the cmd field in the database. FieldCmd = "cmd" // FieldEnv holds the string denoting the env field in the database. FieldEnv = "env" // FieldCwd holds the string denoting the cwd field in the database. FieldCwd = "cwd" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeHost holds the string denoting the host edge name in mutations. EdgeHost = "host" // EdgeTask holds the string denoting the task edge name in mutations. EdgeTask = "task" // Table holds the table name of the hostprocess in the database. Table = "host_processes" // HostTable is the table that holds the host relation/edge. HostTable = "host_processes" // HostInverseTable is the table name for the Host entity. // It exists in this package in order to avoid circular dependency with the "host" package. HostInverseTable = "hosts" // HostColumn is the table column denoting the host relation/edge. HostColumn = "host_process_host" // TaskTable is the table that holds the task relation/edge. TaskTable = "host_processes" // TaskInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TaskInverseTable = "tasks" // TaskColumn is the table column denoting the task relation/edge. TaskColumn = "task_reported_processes" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultLastModifiedAt holds the default value on creation for the "last_modified_at" field. DefaultLastModifiedAt func() time.Time // UpdateDefaultLastModifiedAt holds the default value on update for the "last_modified_at" field. UpdateDefaultLastModifiedAt func() time.Time // PrincipalValidator is a validator for the "principal" field. It is called by the builders before save. PrincipalValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldLastModifiedAt, FieldPid, FieldPpid, FieldName, FieldPrincipal, FieldPath, FieldCmd, FieldEnv, FieldCwd, FieldStatus, }
Columns holds all SQL columns for hostprocess fields.
var ForeignKeys = []string{
"host_processes",
"host_process_host",
"task_reported_processes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "host_processes" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.HostProcess) predicate.HostProcess
And groups predicates with the AND operator between them.
func Cmd ¶
func Cmd(v string) predicate.HostProcess
Cmd applies equality check predicate on the "cmd" field. It's identical to CmdEQ.
func CmdContains ¶
func CmdContains(v string) predicate.HostProcess
CmdContains applies the Contains predicate on the "cmd" field.
func CmdContainsFold ¶
func CmdContainsFold(v string) predicate.HostProcess
CmdContainsFold applies the ContainsFold predicate on the "cmd" field.
func CmdEQ ¶
func CmdEQ(v string) predicate.HostProcess
CmdEQ applies the EQ predicate on the "cmd" field.
func CmdEqualFold ¶
func CmdEqualFold(v string) predicate.HostProcess
CmdEqualFold applies the EqualFold predicate on the "cmd" field.
func CmdGT ¶
func CmdGT(v string) predicate.HostProcess
CmdGT applies the GT predicate on the "cmd" field.
func CmdGTE ¶
func CmdGTE(v string) predicate.HostProcess
CmdGTE applies the GTE predicate on the "cmd" field.
func CmdHasPrefix ¶
func CmdHasPrefix(v string) predicate.HostProcess
CmdHasPrefix applies the HasPrefix predicate on the "cmd" field.
func CmdHasSuffix ¶
func CmdHasSuffix(v string) predicate.HostProcess
CmdHasSuffix applies the HasSuffix predicate on the "cmd" field.
func CmdIn ¶
func CmdIn(vs ...string) predicate.HostProcess
CmdIn applies the In predicate on the "cmd" field.
func CmdIsNil ¶
func CmdIsNil() predicate.HostProcess
CmdIsNil applies the IsNil predicate on the "cmd" field.
func CmdLT ¶
func CmdLT(v string) predicate.HostProcess
CmdLT applies the LT predicate on the "cmd" field.
func CmdLTE ¶
func CmdLTE(v string) predicate.HostProcess
CmdLTE applies the LTE predicate on the "cmd" field.
func CmdNEQ ¶
func CmdNEQ(v string) predicate.HostProcess
CmdNEQ applies the NEQ predicate on the "cmd" field.
func CmdNotIn ¶
func CmdNotIn(vs ...string) predicate.HostProcess
CmdNotIn applies the NotIn predicate on the "cmd" field.
func CmdNotNil ¶
func CmdNotNil() predicate.HostProcess
CmdNotNil applies the NotNil predicate on the "cmd" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.HostProcess
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.HostProcess
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.HostProcess
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.HostProcess
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.HostProcess
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.HostProcess
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.HostProcess
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.HostProcess
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.HostProcess
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Cwd ¶
func Cwd(v string) predicate.HostProcess
Cwd applies equality check predicate on the "cwd" field. It's identical to CwdEQ.
func CwdContains ¶
func CwdContains(v string) predicate.HostProcess
CwdContains applies the Contains predicate on the "cwd" field.
func CwdContainsFold ¶
func CwdContainsFold(v string) predicate.HostProcess
CwdContainsFold applies the ContainsFold predicate on the "cwd" field.
func CwdEQ ¶
func CwdEQ(v string) predicate.HostProcess
CwdEQ applies the EQ predicate on the "cwd" field.
func CwdEqualFold ¶
func CwdEqualFold(v string) predicate.HostProcess
CwdEqualFold applies the EqualFold predicate on the "cwd" field.
func CwdGT ¶
func CwdGT(v string) predicate.HostProcess
CwdGT applies the GT predicate on the "cwd" field.
func CwdGTE ¶
func CwdGTE(v string) predicate.HostProcess
CwdGTE applies the GTE predicate on the "cwd" field.
func CwdHasPrefix ¶
func CwdHasPrefix(v string) predicate.HostProcess
CwdHasPrefix applies the HasPrefix predicate on the "cwd" field.
func CwdHasSuffix ¶
func CwdHasSuffix(v string) predicate.HostProcess
CwdHasSuffix applies the HasSuffix predicate on the "cwd" field.
func CwdIn ¶
func CwdIn(vs ...string) predicate.HostProcess
CwdIn applies the In predicate on the "cwd" field.
func CwdIsNil ¶
func CwdIsNil() predicate.HostProcess
CwdIsNil applies the IsNil predicate on the "cwd" field.
func CwdLT ¶
func CwdLT(v string) predicate.HostProcess
CwdLT applies the LT predicate on the "cwd" field.
func CwdLTE ¶
func CwdLTE(v string) predicate.HostProcess
CwdLTE applies the LTE predicate on the "cwd" field.
func CwdNEQ ¶
func CwdNEQ(v string) predicate.HostProcess
CwdNEQ applies the NEQ predicate on the "cwd" field.
func CwdNotIn ¶
func CwdNotIn(vs ...string) predicate.HostProcess
CwdNotIn applies the NotIn predicate on the "cwd" field.
func CwdNotNil ¶
func CwdNotNil() predicate.HostProcess
CwdNotNil applies the NotNil predicate on the "cwd" field.
func Env ¶
func Env(v string) predicate.HostProcess
Env applies equality check predicate on the "env" field. It's identical to EnvEQ.
func EnvContains ¶
func EnvContains(v string) predicate.HostProcess
EnvContains applies the Contains predicate on the "env" field.
func EnvContainsFold ¶
func EnvContainsFold(v string) predicate.HostProcess
EnvContainsFold applies the ContainsFold predicate on the "env" field.
func EnvEQ ¶
func EnvEQ(v string) predicate.HostProcess
EnvEQ applies the EQ predicate on the "env" field.
func EnvEqualFold ¶
func EnvEqualFold(v string) predicate.HostProcess
EnvEqualFold applies the EqualFold predicate on the "env" field.
func EnvGT ¶
func EnvGT(v string) predicate.HostProcess
EnvGT applies the GT predicate on the "env" field.
func EnvGTE ¶
func EnvGTE(v string) predicate.HostProcess
EnvGTE applies the GTE predicate on the "env" field.
func EnvHasPrefix ¶
func EnvHasPrefix(v string) predicate.HostProcess
EnvHasPrefix applies the HasPrefix predicate on the "env" field.
func EnvHasSuffix ¶
func EnvHasSuffix(v string) predicate.HostProcess
EnvHasSuffix applies the HasSuffix predicate on the "env" field.
func EnvIn ¶
func EnvIn(vs ...string) predicate.HostProcess
EnvIn applies the In predicate on the "env" field.
func EnvIsNil ¶
func EnvIsNil() predicate.HostProcess
EnvIsNil applies the IsNil predicate on the "env" field.
func EnvLT ¶
func EnvLT(v string) predicate.HostProcess
EnvLT applies the LT predicate on the "env" field.
func EnvLTE ¶
func EnvLTE(v string) predicate.HostProcess
EnvLTE applies the LTE predicate on the "env" field.
func EnvNEQ ¶
func EnvNEQ(v string) predicate.HostProcess
EnvNEQ applies the NEQ predicate on the "env" field.
func EnvNotIn ¶
func EnvNotIn(vs ...string) predicate.HostProcess
EnvNotIn applies the NotIn predicate on the "env" field.
func EnvNotNil ¶
func EnvNotNil() predicate.HostProcess
EnvNotNil applies the NotNil predicate on the "env" field.
func HasHost ¶
func HasHost() predicate.HostProcess
HasHost applies the HasEdge predicate on the "host" edge.
func HasHostWith ¶
func HasHostWith(preds ...predicate.Host) predicate.HostProcess
HasHostWith applies the HasEdge predicate on the "host" edge with a given conditions (other predicates).
func HasTask ¶
func HasTask() predicate.HostProcess
HasTask applies the HasEdge predicate on the "task" edge.
func HasTaskWith ¶
func HasTaskWith(preds ...predicate.Task) predicate.HostProcess
HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.HostProcess
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.HostProcess
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.HostProcess
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.HostProcess
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.HostProcess
IDNotIn applies the NotIn predicate on the ID field.
func LastModifiedAt ¶
func LastModifiedAt(v time.Time) predicate.HostProcess
LastModifiedAt applies equality check predicate on the "last_modified_at" field. It's identical to LastModifiedAtEQ.
func LastModifiedAtEQ ¶
func LastModifiedAtEQ(v time.Time) predicate.HostProcess
LastModifiedAtEQ applies the EQ predicate on the "last_modified_at" field.
func LastModifiedAtGT ¶
func LastModifiedAtGT(v time.Time) predicate.HostProcess
LastModifiedAtGT applies the GT predicate on the "last_modified_at" field.
func LastModifiedAtGTE ¶
func LastModifiedAtGTE(v time.Time) predicate.HostProcess
LastModifiedAtGTE applies the GTE predicate on the "last_modified_at" field.
func LastModifiedAtIn ¶
func LastModifiedAtIn(vs ...time.Time) predicate.HostProcess
LastModifiedAtIn applies the In predicate on the "last_modified_at" field.
func LastModifiedAtLT ¶
func LastModifiedAtLT(v time.Time) predicate.HostProcess
LastModifiedAtLT applies the LT predicate on the "last_modified_at" field.
func LastModifiedAtLTE ¶
func LastModifiedAtLTE(v time.Time) predicate.HostProcess
LastModifiedAtLTE applies the LTE predicate on the "last_modified_at" field.
func LastModifiedAtNEQ ¶
func LastModifiedAtNEQ(v time.Time) predicate.HostProcess
LastModifiedAtNEQ applies the NEQ predicate on the "last_modified_at" field.
func LastModifiedAtNotIn ¶
func LastModifiedAtNotIn(vs ...time.Time) predicate.HostProcess
LastModifiedAtNotIn applies the NotIn predicate on the "last_modified_at" field.
func Name ¶
func Name(v string) predicate.HostProcess
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.HostProcess
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.HostProcess
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.HostProcess
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.HostProcess
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.HostProcess
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.HostProcess
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.HostProcess
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.HostProcess
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.HostProcess
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.HostProcess
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.HostProcess
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.HostProcess
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.HostProcess
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.HostProcess) predicate.HostProcess
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.HostProcess) predicate.HostProcess
Or groups predicates with the OR operator between them.
func Path ¶
func Path(v string) predicate.HostProcess
Path applies equality check predicate on the "path" field. It's identical to PathEQ.
func PathContains ¶
func PathContains(v string) predicate.HostProcess
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
func PathContainsFold(v string) predicate.HostProcess
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEQ ¶
func PathEQ(v string) predicate.HostProcess
PathEQ applies the EQ predicate on the "path" field.
func PathEqualFold ¶
func PathEqualFold(v string) predicate.HostProcess
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathGT ¶
func PathGT(v string) predicate.HostProcess
PathGT applies the GT predicate on the "path" field.
func PathGTE ¶
func PathGTE(v string) predicate.HostProcess
PathGTE applies the GTE predicate on the "path" field.
func PathHasPrefix ¶
func PathHasPrefix(v string) predicate.HostProcess
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
func PathHasSuffix(v string) predicate.HostProcess
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PathIn ¶
func PathIn(vs ...string) predicate.HostProcess
PathIn applies the In predicate on the "path" field.
func PathIsNil ¶
func PathIsNil() predicate.HostProcess
PathIsNil applies the IsNil predicate on the "path" field.
func PathLT ¶
func PathLT(v string) predicate.HostProcess
PathLT applies the LT predicate on the "path" field.
func PathLTE ¶
func PathLTE(v string) predicate.HostProcess
PathLTE applies the LTE predicate on the "path" field.
func PathNEQ ¶
func PathNEQ(v string) predicate.HostProcess
PathNEQ applies the NEQ predicate on the "path" field.
func PathNotIn ¶
func PathNotIn(vs ...string) predicate.HostProcess
PathNotIn applies the NotIn predicate on the "path" field.
func PathNotNil ¶
func PathNotNil() predicate.HostProcess
PathNotNil applies the NotNil predicate on the "path" field.
func Pid ¶
func Pid(v uint64) predicate.HostProcess
Pid applies equality check predicate on the "pid" field. It's identical to PidEQ.
func PidEQ ¶
func PidEQ(v uint64) predicate.HostProcess
PidEQ applies the EQ predicate on the "pid" field.
func PidGT ¶
func PidGT(v uint64) predicate.HostProcess
PidGT applies the GT predicate on the "pid" field.
func PidGTE ¶
func PidGTE(v uint64) predicate.HostProcess
PidGTE applies the GTE predicate on the "pid" field.
func PidIn ¶
func PidIn(vs ...uint64) predicate.HostProcess
PidIn applies the In predicate on the "pid" field.
func PidLT ¶
func PidLT(v uint64) predicate.HostProcess
PidLT applies the LT predicate on the "pid" field.
func PidLTE ¶
func PidLTE(v uint64) predicate.HostProcess
PidLTE applies the LTE predicate on the "pid" field.
func PidNEQ ¶
func PidNEQ(v uint64) predicate.HostProcess
PidNEQ applies the NEQ predicate on the "pid" field.
func PidNotIn ¶
func PidNotIn(vs ...uint64) predicate.HostProcess
PidNotIn applies the NotIn predicate on the "pid" field.
func Ppid ¶
func Ppid(v uint64) predicate.HostProcess
Ppid applies equality check predicate on the "ppid" field. It's identical to PpidEQ.
func PpidEQ ¶
func PpidEQ(v uint64) predicate.HostProcess
PpidEQ applies the EQ predicate on the "ppid" field.
func PpidGT ¶
func PpidGT(v uint64) predicate.HostProcess
PpidGT applies the GT predicate on the "ppid" field.
func PpidGTE ¶
func PpidGTE(v uint64) predicate.HostProcess
PpidGTE applies the GTE predicate on the "ppid" field.
func PpidIn ¶
func PpidIn(vs ...uint64) predicate.HostProcess
PpidIn applies the In predicate on the "ppid" field.
func PpidLT ¶
func PpidLT(v uint64) predicate.HostProcess
PpidLT applies the LT predicate on the "ppid" field.
func PpidLTE ¶
func PpidLTE(v uint64) predicate.HostProcess
PpidLTE applies the LTE predicate on the "ppid" field.
func PpidNEQ ¶
func PpidNEQ(v uint64) predicate.HostProcess
PpidNEQ applies the NEQ predicate on the "ppid" field.
func PpidNotIn ¶
func PpidNotIn(vs ...uint64) predicate.HostProcess
PpidNotIn applies the NotIn predicate on the "ppid" field.
func Principal ¶
func Principal(v string) predicate.HostProcess
Principal applies equality check predicate on the "principal" field. It's identical to PrincipalEQ.
func PrincipalContains ¶
func PrincipalContains(v string) predicate.HostProcess
PrincipalContains applies the Contains predicate on the "principal" field.
func PrincipalContainsFold ¶
func PrincipalContainsFold(v string) predicate.HostProcess
PrincipalContainsFold applies the ContainsFold predicate on the "principal" field.
func PrincipalEQ ¶
func PrincipalEQ(v string) predicate.HostProcess
PrincipalEQ applies the EQ predicate on the "principal" field.
func PrincipalEqualFold ¶
func PrincipalEqualFold(v string) predicate.HostProcess
PrincipalEqualFold applies the EqualFold predicate on the "principal" field.
func PrincipalGT ¶
func PrincipalGT(v string) predicate.HostProcess
PrincipalGT applies the GT predicate on the "principal" field.
func PrincipalGTE ¶
func PrincipalGTE(v string) predicate.HostProcess
PrincipalGTE applies the GTE predicate on the "principal" field.
func PrincipalHasPrefix ¶
func PrincipalHasPrefix(v string) predicate.HostProcess
PrincipalHasPrefix applies the HasPrefix predicate on the "principal" field.
func PrincipalHasSuffix ¶
func PrincipalHasSuffix(v string) predicate.HostProcess
PrincipalHasSuffix applies the HasSuffix predicate on the "principal" field.
func PrincipalIn ¶
func PrincipalIn(vs ...string) predicate.HostProcess
PrincipalIn applies the In predicate on the "principal" field.
func PrincipalLT ¶
func PrincipalLT(v string) predicate.HostProcess
PrincipalLT applies the LT predicate on the "principal" field.
func PrincipalLTE ¶
func PrincipalLTE(v string) predicate.HostProcess
PrincipalLTE applies the LTE predicate on the "principal" field.
func PrincipalNEQ ¶
func PrincipalNEQ(v string) predicate.HostProcess
PrincipalNEQ applies the NEQ predicate on the "principal" field.
func PrincipalNotIn ¶
func PrincipalNotIn(vs ...string) predicate.HostProcess
PrincipalNotIn applies the NotIn predicate on the "principal" field.
func StatusEQ ¶
func StatusEQ(v epb.Process_Status) predicate.HostProcess
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...epb.Process_Status) predicate.HostProcess
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v epb.Process_Status) predicate.HostProcess
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...epb.Process_Status) predicate.HostProcess
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s epb.Process_Status) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the HostProcess queries.
func ByCmd ¶
func ByCmd(opts ...sql.OrderTermOption) OrderOption
ByCmd orders the results by the cmd field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCwd ¶
func ByCwd(opts ...sql.OrderTermOption) OrderOption
ByCwd orders the results by the cwd field.
func ByEnv ¶
func ByEnv(opts ...sql.OrderTermOption) OrderOption
ByEnv orders the results by the env field.
func ByHostField ¶
func ByHostField(field string, opts ...sql.OrderTermOption) OrderOption
ByHostField orders the results by host field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastModifiedAt ¶
func ByLastModifiedAt(opts ...sql.OrderTermOption) OrderOption
ByLastModifiedAt orders the results by the last_modified_at field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func ByPid ¶
func ByPid(opts ...sql.OrderTermOption) OrderOption
ByPid orders the results by the pid field.
func ByPpid ¶
func ByPpid(opts ...sql.OrderTermOption) OrderOption
ByPpid orders the results by the ppid field.
func ByPrincipal ¶
func ByPrincipal(opts ...sql.OrderTermOption) OrderOption
ByPrincipal orders the results by the principal field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTaskField ¶
func ByTaskField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaskField orders the results by task field.