hostprocess

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for hostprocess fields.

View Source
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

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

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

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 ID

func ID(id int) predicate.HostProcess

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.HostProcess

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.HostProcess

IDGT applies the GT predicate on the ID field.

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 IDLT

func IDLT(id int) predicate.HostProcess

IDLT applies the LT 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

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

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

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

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

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

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

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

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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