Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func ClaimedAt(v time.Time) predicate.Task
- func ClaimedAtEQ(v time.Time) predicate.Task
- func ClaimedAtGT(v time.Time) predicate.Task
- func ClaimedAtGTE(v time.Time) predicate.Task
- func ClaimedAtIn(vs ...time.Time) predicate.Task
- func ClaimedAtIsNil() predicate.Task
- func ClaimedAtLT(v time.Time) predicate.Task
- func ClaimedAtLTE(v time.Time) predicate.Task
- func ClaimedAtNEQ(v time.Time) predicate.Task
- func ClaimedAtNotIn(vs ...time.Time) predicate.Task
- func ClaimedAtNotNil() predicate.Task
- func CreatedAt(v time.Time) predicate.Task
- func CreatedAtEQ(v time.Time) predicate.Task
- func CreatedAtGT(v time.Time) predicate.Task
- func CreatedAtGTE(v time.Time) predicate.Task
- func CreatedAtIn(vs ...time.Time) predicate.Task
- func CreatedAtLT(v time.Time) predicate.Task
- func CreatedAtLTE(v time.Time) predicate.Task
- func CreatedAtNEQ(v time.Time) predicate.Task
- func CreatedAtNotIn(vs ...time.Time) predicate.Task
- func Error(v string) predicate.Task
- func ErrorContains(v string) predicate.Task
- func ErrorContainsFold(v string) predicate.Task
- func ErrorEQ(v string) predicate.Task
- func ErrorEqualFold(v string) predicate.Task
- func ErrorGT(v string) predicate.Task
- func ErrorGTE(v string) predicate.Task
- func ErrorHasPrefix(v string) predicate.Task
- func ErrorHasSuffix(v string) predicate.Task
- func ErrorIn(vs ...string) predicate.Task
- func ErrorIsNil() predicate.Task
- func ErrorLT(v string) predicate.Task
- func ErrorLTE(v string) predicate.Task
- func ErrorNEQ(v string) predicate.Task
- func ErrorNotIn(vs ...string) predicate.Task
- func ErrorNotNil() predicate.Task
- func ExecFinishedAt(v time.Time) predicate.Task
- func ExecFinishedAtEQ(v time.Time) predicate.Task
- func ExecFinishedAtGT(v time.Time) predicate.Task
- func ExecFinishedAtGTE(v time.Time) predicate.Task
- func ExecFinishedAtIn(vs ...time.Time) predicate.Task
- func ExecFinishedAtIsNil() predicate.Task
- func ExecFinishedAtLT(v time.Time) predicate.Task
- func ExecFinishedAtLTE(v time.Time) predicate.Task
- func ExecFinishedAtNEQ(v time.Time) predicate.Task
- func ExecFinishedAtNotIn(vs ...time.Time) predicate.Task
- func ExecFinishedAtNotNil() predicate.Task
- func ExecStartedAt(v time.Time) predicate.Task
- func ExecStartedAtEQ(v time.Time) predicate.Task
- func ExecStartedAtGT(v time.Time) predicate.Task
- func ExecStartedAtGTE(v time.Time) predicate.Task
- func ExecStartedAtIn(vs ...time.Time) predicate.Task
- func ExecStartedAtIsNil() predicate.Task
- func ExecStartedAtLT(v time.Time) predicate.Task
- func ExecStartedAtLTE(v time.Time) predicate.Task
- func ExecStartedAtNEQ(v time.Time) predicate.Task
- func ExecStartedAtNotIn(vs ...time.Time) predicate.Task
- func ExecStartedAtNotNil() predicate.Task
- func HasBeacon() predicate.Task
- func HasBeaconWith(preds ...predicate.Beacon) predicate.Task
- func HasQuest() predicate.Task
- func HasQuestWith(preds ...predicate.Quest) predicate.Task
- func HasReportedCredentials() predicate.Task
- func HasReportedCredentialsWith(preds ...predicate.HostCredential) predicate.Task
- func HasReportedFiles() predicate.Task
- func HasReportedFilesWith(preds ...predicate.HostFile) predicate.Task
- func HasReportedProcesses() predicate.Task
- func HasReportedProcessesWith(preds ...predicate.HostProcess) predicate.Task
- func ID(id int) predicate.Task
- func IDEQ(id int) predicate.Task
- func IDGT(id int) predicate.Task
- func IDGTE(id int) predicate.Task
- func IDIn(ids ...int) predicate.Task
- func IDLT(id int) predicate.Task
- func IDLTE(id int) predicate.Task
- func IDNEQ(id int) predicate.Task
- func IDNotIn(ids ...int) predicate.Task
- func LastModifiedAt(v time.Time) predicate.Task
- func LastModifiedAtEQ(v time.Time) predicate.Task
- func LastModifiedAtGT(v time.Time) predicate.Task
- func LastModifiedAtGTE(v time.Time) predicate.Task
- func LastModifiedAtIn(vs ...time.Time) predicate.Task
- func LastModifiedAtLT(v time.Time) predicate.Task
- func LastModifiedAtLTE(v time.Time) predicate.Task
- func LastModifiedAtNEQ(v time.Time) predicate.Task
- func LastModifiedAtNotIn(vs ...time.Time) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func Output(v string) predicate.Task
- func OutputContains(v string) predicate.Task
- func OutputContainsFold(v string) predicate.Task
- func OutputEQ(v string) predicate.Task
- func OutputEqualFold(v string) predicate.Task
- func OutputGT(v string) predicate.Task
- func OutputGTE(v string) predicate.Task
- func OutputHasPrefix(v string) predicate.Task
- func OutputHasSuffix(v string) predicate.Task
- func OutputIn(vs ...string) predicate.Task
- func OutputIsNil() predicate.Task
- func OutputLT(v string) predicate.Task
- func OutputLTE(v string) predicate.Task
- func OutputNEQ(v string) predicate.Task
- func OutputNotIn(vs ...string) predicate.Task
- func OutputNotNil() predicate.Task
- func OutputSize(v int) predicate.Task
- func OutputSizeEQ(v int) predicate.Task
- func OutputSizeGT(v int) predicate.Task
- func OutputSizeGTE(v int) predicate.Task
- func OutputSizeIn(vs ...int) predicate.Task
- func OutputSizeLT(v int) predicate.Task
- func OutputSizeLTE(v int) predicate.Task
- func OutputSizeNEQ(v int) predicate.Task
- func OutputSizeNotIn(vs ...int) predicate.Task
- func ValidColumn(column string) bool
- type OrderOption
- func ByBeaconField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByClaimedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByError(opts ...sql.OrderTermOption) OrderOption
- func ByExecFinishedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExecStartedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastModifiedAt(opts ...sql.OrderTermOption) OrderOption
- func ByOutput(opts ...sql.OrderTermOption) OrderOption
- func ByOutputSize(opts ...sql.OrderTermOption) OrderOption
- func ByQuestField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByReportedCredentials(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByReportedCredentialsCount(opts ...sql.OrderTermOption) OrderOption
- func ByReportedFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByReportedFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByReportedProcesses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByReportedProcessesCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the task type in the database. Label = "task" // 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" // FieldClaimedAt holds the string denoting the claimed_at field in the database. FieldClaimedAt = "claimed_at" // FieldExecStartedAt holds the string denoting the exec_started_at field in the database. FieldExecStartedAt = "exec_started_at" // FieldExecFinishedAt holds the string denoting the exec_finished_at field in the database. FieldExecFinishedAt = "exec_finished_at" // FieldOutput holds the string denoting the output field in the database. FieldOutput = "output" // FieldOutputSize holds the string denoting the output_size field in the database. FieldOutputSize = "output_size" // FieldError holds the string denoting the error field in the database. FieldError = "error" // EdgeQuest holds the string denoting the quest edge name in mutations. EdgeQuest = "quest" // EdgeBeacon holds the string denoting the beacon edge name in mutations. EdgeBeacon = "beacon" // EdgeReportedFiles holds the string denoting the reported_files edge name in mutations. EdgeReportedFiles = "reported_files" // EdgeReportedProcesses holds the string denoting the reported_processes edge name in mutations. EdgeReportedProcesses = "reported_processes" // EdgeReportedCredentials holds the string denoting the reported_credentials edge name in mutations. EdgeReportedCredentials = "reported_credentials" // Table holds the table name of the task in the database. Table = "tasks" // QuestTable is the table that holds the quest relation/edge. QuestTable = "tasks" // QuestInverseTable is the table name for the Quest entity. // It exists in this package in order to avoid circular dependency with the "quest" package. QuestInverseTable = "quests" // QuestColumn is the table column denoting the quest relation/edge. QuestColumn = "quest_tasks" // BeaconTable is the table that holds the beacon relation/edge. BeaconTable = "tasks" // BeaconInverseTable is the table name for the Beacon entity. // It exists in this package in order to avoid circular dependency with the "beacon" package. BeaconInverseTable = "beacons" // BeaconColumn is the table column denoting the beacon relation/edge. BeaconColumn = "task_beacon" // ReportedFilesTable is the table that holds the reported_files relation/edge. ReportedFilesTable = "host_files" // ReportedFilesInverseTable is the table name for the HostFile entity. // It exists in this package in order to avoid circular dependency with the "hostfile" package. ReportedFilesInverseTable = "host_files" // ReportedFilesColumn is the table column denoting the reported_files relation/edge. ReportedFilesColumn = "task_reported_files" // ReportedProcessesTable is the table that holds the reported_processes relation/edge. ReportedProcessesTable = "host_processes" // ReportedProcessesInverseTable is the table name for the HostProcess entity. // It exists in this package in order to avoid circular dependency with the "hostprocess" package. ReportedProcessesInverseTable = "host_processes" // ReportedProcessesColumn is the table column denoting the reported_processes relation/edge. ReportedProcessesColumn = "task_reported_processes" // ReportedCredentialsTable is the table that holds the reported_credentials relation/edge. ReportedCredentialsTable = "host_credentials" // ReportedCredentialsInverseTable is the table name for the HostCredential entity. // It exists in this package in order to avoid circular dependency with the "hostcredential" package. ReportedCredentialsInverseTable = "host_credentials" // ReportedCredentialsColumn is the table column denoting the reported_credentials relation/edge. ReportedCredentialsColumn = "task_reported_credentials" )
Variables ¶
var ( Hooks [1]ent.Hook // 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 // DefaultOutputSize holds the default value on creation for the "output_size" field. DefaultOutputSize int // OutputSizeValidator is a validator for the "output_size" field. It is called by the builders before save. OutputSizeValidator func(int) error )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "realm.pub/tavern/internal/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldLastModifiedAt, FieldClaimedAt, FieldExecStartedAt, FieldExecFinishedAt, FieldOutput, FieldOutputSize, FieldError, }
Columns holds all SQL columns for task fields.
var ForeignKeys = []string{
"quest_tasks",
"task_beacon",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "tasks" table and are not defined as standalone fields in the schema.
Functions ¶
func ClaimedAt ¶
ClaimedAt applies equality check predicate on the "claimed_at" field. It's identical to ClaimedAtEQ.
func ClaimedAtEQ ¶
ClaimedAtEQ applies the EQ predicate on the "claimed_at" field.
func ClaimedAtGT ¶
ClaimedAtGT applies the GT predicate on the "claimed_at" field.
func ClaimedAtGTE ¶
ClaimedAtGTE applies the GTE predicate on the "claimed_at" field.
func ClaimedAtIn ¶
ClaimedAtIn applies the In predicate on the "claimed_at" field.
func ClaimedAtIsNil ¶
ClaimedAtIsNil applies the IsNil predicate on the "claimed_at" field.
func ClaimedAtLT ¶
ClaimedAtLT applies the LT predicate on the "claimed_at" field.
func ClaimedAtLTE ¶
ClaimedAtLTE applies the LTE predicate on the "claimed_at" field.
func ClaimedAtNEQ ¶
ClaimedAtNEQ applies the NEQ predicate on the "claimed_at" field.
func ClaimedAtNotIn ¶
ClaimedAtNotIn applies the NotIn predicate on the "claimed_at" field.
func ClaimedAtNotNil ¶
ClaimedAtNotNil applies the NotNil predicate on the "claimed_at" 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 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 ExecFinishedAt ¶
ExecFinishedAt applies equality check predicate on the "exec_finished_at" field. It's identical to ExecFinishedAtEQ.
func ExecFinishedAtEQ ¶
ExecFinishedAtEQ applies the EQ predicate on the "exec_finished_at" field.
func ExecFinishedAtGT ¶
ExecFinishedAtGT applies the GT predicate on the "exec_finished_at" field.
func ExecFinishedAtGTE ¶
ExecFinishedAtGTE applies the GTE predicate on the "exec_finished_at" field.
func ExecFinishedAtIn ¶
ExecFinishedAtIn applies the In predicate on the "exec_finished_at" field.
func ExecFinishedAtIsNil ¶
ExecFinishedAtIsNil applies the IsNil predicate on the "exec_finished_at" field.
func ExecFinishedAtLT ¶
ExecFinishedAtLT applies the LT predicate on the "exec_finished_at" field.
func ExecFinishedAtLTE ¶
ExecFinishedAtLTE applies the LTE predicate on the "exec_finished_at" field.
func ExecFinishedAtNEQ ¶
ExecFinishedAtNEQ applies the NEQ predicate on the "exec_finished_at" field.
func ExecFinishedAtNotIn ¶
ExecFinishedAtNotIn applies the NotIn predicate on the "exec_finished_at" field.
func ExecFinishedAtNotNil ¶
ExecFinishedAtNotNil applies the NotNil predicate on the "exec_finished_at" field.
func ExecStartedAt ¶
ExecStartedAt applies equality check predicate on the "exec_started_at" field. It's identical to ExecStartedAtEQ.
func ExecStartedAtEQ ¶
ExecStartedAtEQ applies the EQ predicate on the "exec_started_at" field.
func ExecStartedAtGT ¶
ExecStartedAtGT applies the GT predicate on the "exec_started_at" field.
func ExecStartedAtGTE ¶
ExecStartedAtGTE applies the GTE predicate on the "exec_started_at" field.
func ExecStartedAtIn ¶
ExecStartedAtIn applies the In predicate on the "exec_started_at" field.
func ExecStartedAtIsNil ¶
ExecStartedAtIsNil applies the IsNil predicate on the "exec_started_at" field.
func ExecStartedAtLT ¶
ExecStartedAtLT applies the LT predicate on the "exec_started_at" field.
func ExecStartedAtLTE ¶
ExecStartedAtLTE applies the LTE predicate on the "exec_started_at" field.
func ExecStartedAtNEQ ¶
ExecStartedAtNEQ applies the NEQ predicate on the "exec_started_at" field.
func ExecStartedAtNotIn ¶
ExecStartedAtNotIn applies the NotIn predicate on the "exec_started_at" field.
func ExecStartedAtNotNil ¶
ExecStartedAtNotNil applies the NotNil predicate on the "exec_started_at" field.
func HasBeaconWith ¶
HasBeaconWith applies the HasEdge predicate on the "beacon" edge with a given conditions (other predicates).
func HasQuestWith ¶
HasQuestWith applies the HasEdge predicate on the "quest" edge with a given conditions (other predicates).
func HasReportedCredentials ¶ added in v0.0.7
HasReportedCredentials applies the HasEdge predicate on the "reported_credentials" edge.
func HasReportedCredentialsWith ¶ added in v0.0.7
func HasReportedCredentialsWith(preds ...predicate.HostCredential) predicate.Task
HasReportedCredentialsWith applies the HasEdge predicate on the "reported_credentials" edge with a given conditions (other predicates).
func HasReportedFiles ¶ added in v0.0.5
HasReportedFiles applies the HasEdge predicate on the "reported_files" edge.
func HasReportedFilesWith ¶ added in v0.0.5
HasReportedFilesWith applies the HasEdge predicate on the "reported_files" edge with a given conditions (other predicates).
func HasReportedProcesses ¶ added in v0.0.5
HasReportedProcesses applies the HasEdge predicate on the "reported_processes" edge.
func HasReportedProcessesWith ¶ added in v0.0.5
func HasReportedProcessesWith(preds ...predicate.HostProcess) predicate.Task
HasReportedProcessesWith applies the HasEdge predicate on the "reported_processes" edge with a given conditions (other predicates).
func LastModifiedAt ¶
LastModifiedAt applies equality check predicate on the "last_modified_at" field. It's identical to LastModifiedAtEQ.
func LastModifiedAtEQ ¶
LastModifiedAtEQ applies the EQ predicate on the "last_modified_at" field.
func LastModifiedAtGT ¶
LastModifiedAtGT applies the GT predicate on the "last_modified_at" field.
func LastModifiedAtGTE ¶
LastModifiedAtGTE applies the GTE predicate on the "last_modified_at" field.
func LastModifiedAtIn ¶
LastModifiedAtIn applies the In predicate on the "last_modified_at" field.
func LastModifiedAtLT ¶
LastModifiedAtLT applies the LT predicate on the "last_modified_at" field.
func LastModifiedAtLTE ¶
LastModifiedAtLTE applies the LTE predicate on the "last_modified_at" field.
func LastModifiedAtNEQ ¶
LastModifiedAtNEQ applies the NEQ predicate on the "last_modified_at" field.
func LastModifiedAtNotIn ¶
LastModifiedAtNotIn applies the NotIn predicate on the "last_modified_at" field.
func Output ¶
Output applies equality check predicate on the "output" field. It's identical to OutputEQ.
func OutputContains ¶
OutputContains applies the Contains predicate on the "output" field.
func OutputContainsFold ¶
OutputContainsFold applies the ContainsFold predicate on the "output" field.
func OutputEqualFold ¶
OutputEqualFold applies the EqualFold predicate on the "output" field.
func OutputHasPrefix ¶
OutputHasPrefix applies the HasPrefix predicate on the "output" field.
func OutputHasSuffix ¶
OutputHasSuffix applies the HasSuffix predicate on the "output" field.
func OutputIsNil ¶
OutputIsNil applies the IsNil predicate on the "output" field.
func OutputNotIn ¶
OutputNotIn applies the NotIn predicate on the "output" field.
func OutputNotNil ¶
OutputNotNil applies the NotNil predicate on the "output" field.
func OutputSize ¶ added in v0.0.5
OutputSize applies equality check predicate on the "output_size" field. It's identical to OutputSizeEQ.
func OutputSizeEQ ¶ added in v0.0.5
OutputSizeEQ applies the EQ predicate on the "output_size" field.
func OutputSizeGT ¶ added in v0.0.5
OutputSizeGT applies the GT predicate on the "output_size" field.
func OutputSizeGTE ¶ added in v0.0.5
OutputSizeGTE applies the GTE predicate on the "output_size" field.
func OutputSizeIn ¶ added in v0.0.5
OutputSizeIn applies the In predicate on the "output_size" field.
func OutputSizeLT ¶ added in v0.0.5
OutputSizeLT applies the LT predicate on the "output_size" field.
func OutputSizeLTE ¶ added in v0.0.5
OutputSizeLTE applies the LTE predicate on the "output_size" field.
func OutputSizeNEQ ¶ added in v0.0.5
OutputSizeNEQ applies the NEQ predicate on the "output_size" field.
func OutputSizeNotIn ¶ added in v0.0.5
OutputSizeNotIn applies the NotIn predicate on the "output_size" field.
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 Task queries.
func ByBeaconField ¶
func ByBeaconField(field string, opts ...sql.OrderTermOption) OrderOption
ByBeaconField orders the results by beacon field.
func ByClaimedAt ¶
func ByClaimedAt(opts ...sql.OrderTermOption) OrderOption
ByClaimedAt orders the results by the claimed_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByError ¶
func ByError(opts ...sql.OrderTermOption) OrderOption
ByError orders the results by the error field.
func ByExecFinishedAt ¶
func ByExecFinishedAt(opts ...sql.OrderTermOption) OrderOption
ByExecFinishedAt orders the results by the exec_finished_at field.
func ByExecStartedAt ¶
func ByExecStartedAt(opts ...sql.OrderTermOption) OrderOption
ByExecStartedAt orders the results by the exec_started_at 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 ByOutput ¶
func ByOutput(opts ...sql.OrderTermOption) OrderOption
ByOutput orders the results by the output field.
func ByOutputSize ¶ added in v0.0.5
func ByOutputSize(opts ...sql.OrderTermOption) OrderOption
ByOutputSize orders the results by the output_size field.
func ByQuestField ¶
func ByQuestField(field string, opts ...sql.OrderTermOption) OrderOption
ByQuestField orders the results by quest field.
func ByReportedCredentials ¶ added in v0.0.7
func ByReportedCredentials(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByReportedCredentials orders the results by reported_credentials terms.
func ByReportedCredentialsCount ¶ added in v0.0.7
func ByReportedCredentialsCount(opts ...sql.OrderTermOption) OrderOption
ByReportedCredentialsCount orders the results by reported_credentials count.
func ByReportedFiles ¶ added in v0.0.5
func ByReportedFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByReportedFiles orders the results by reported_files terms.
func ByReportedFilesCount ¶ added in v0.0.5
func ByReportedFilesCount(opts ...sql.OrderTermOption) OrderOption
ByReportedFilesCount orders the results by reported_files count.
func ByReportedProcesses ¶ added in v0.0.5
func ByReportedProcesses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByReportedProcesses orders the results by reported_processes terms.
func ByReportedProcessesCount ¶ added in v0.0.5
func ByReportedProcessesCount(opts ...sql.OrderTermOption) OrderOption
ByReportedProcessesCount orders the results by reported_processes count.