Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.JobRunner) predicate.JobRunner
- func CreatedAt(v time.Time) predicate.JobRunner
- func CreatedAtEQ(v time.Time) predicate.JobRunner
- func CreatedAtGT(v time.Time) predicate.JobRunner
- func CreatedAtGTE(v time.Time) predicate.JobRunner
- func CreatedAtIn(vs ...time.Time) predicate.JobRunner
- func CreatedAtIsNil() predicate.JobRunner
- func CreatedAtLT(v time.Time) predicate.JobRunner
- func CreatedAtLTE(v time.Time) predicate.JobRunner
- func CreatedAtNEQ(v time.Time) predicate.JobRunner
- func CreatedAtNotIn(vs ...time.Time) predicate.JobRunner
- func CreatedAtNotNil() predicate.JobRunner
- func CreatedBy(v string) predicate.JobRunner
- func CreatedByContains(v string) predicate.JobRunner
- func CreatedByContainsFold(v string) predicate.JobRunner
- func CreatedByEQ(v string) predicate.JobRunner
- func CreatedByEqualFold(v string) predicate.JobRunner
- func CreatedByGT(v string) predicate.JobRunner
- func CreatedByGTE(v string) predicate.JobRunner
- func CreatedByHasPrefix(v string) predicate.JobRunner
- func CreatedByHasSuffix(v string) predicate.JobRunner
- func CreatedByIn(vs ...string) predicate.JobRunner
- func CreatedByIsNil() predicate.JobRunner
- func CreatedByLT(v string) predicate.JobRunner
- func CreatedByLTE(v string) predicate.JobRunner
- func CreatedByNEQ(v string) predicate.JobRunner
- func CreatedByNotIn(vs ...string) predicate.JobRunner
- func CreatedByNotNil() predicate.JobRunner
- func DeletedAt(v time.Time) predicate.JobRunner
- func DeletedAtEQ(v time.Time) predicate.JobRunner
- func DeletedAtGT(v time.Time) predicate.JobRunner
- func DeletedAtGTE(v time.Time) predicate.JobRunner
- func DeletedAtIn(vs ...time.Time) predicate.JobRunner
- func DeletedAtIsNil() predicate.JobRunner
- func DeletedAtLT(v time.Time) predicate.JobRunner
- func DeletedAtLTE(v time.Time) predicate.JobRunner
- func DeletedAtNEQ(v time.Time) predicate.JobRunner
- func DeletedAtNotIn(vs ...time.Time) predicate.JobRunner
- func DeletedAtNotNil() predicate.JobRunner
- func DeletedBy(v string) predicate.JobRunner
- func DeletedByContains(v string) predicate.JobRunner
- func DeletedByContainsFold(v string) predicate.JobRunner
- func DeletedByEQ(v string) predicate.JobRunner
- func DeletedByEqualFold(v string) predicate.JobRunner
- func DeletedByGT(v string) predicate.JobRunner
- func DeletedByGTE(v string) predicate.JobRunner
- func DeletedByHasPrefix(v string) predicate.JobRunner
- func DeletedByHasSuffix(v string) predicate.JobRunner
- func DeletedByIn(vs ...string) predicate.JobRunner
- func DeletedByIsNil() predicate.JobRunner
- func DeletedByLT(v string) predicate.JobRunner
- func DeletedByLTE(v string) predicate.JobRunner
- func DeletedByNEQ(v string) predicate.JobRunner
- func DeletedByNotIn(vs ...string) predicate.JobRunner
- func DeletedByNotNil() predicate.JobRunner
- func DisplayID(v string) predicate.JobRunner
- func DisplayIDContains(v string) predicate.JobRunner
- func DisplayIDContainsFold(v string) predicate.JobRunner
- func DisplayIDEQ(v string) predicate.JobRunner
- func DisplayIDEqualFold(v string) predicate.JobRunner
- func DisplayIDGT(v string) predicate.JobRunner
- func DisplayIDGTE(v string) predicate.JobRunner
- func DisplayIDHasPrefix(v string) predicate.JobRunner
- func DisplayIDHasSuffix(v string) predicate.JobRunner
- func DisplayIDIn(vs ...string) predicate.JobRunner
- func DisplayIDLT(v string) predicate.JobRunner
- func DisplayIDLTE(v string) predicate.JobRunner
- func DisplayIDNEQ(v string) predicate.JobRunner
- func DisplayIDNotIn(vs ...string) predicate.JobRunner
- func HasJobRunnerTokens() predicate.JobRunner
- func HasJobRunnerTokensWith(preds ...predicate.JobRunnerToken) predicate.JobRunner
- func HasOwner() predicate.JobRunner
- func HasOwnerWith(preds ...predicate.Organization) predicate.JobRunner
- func ID(id string) predicate.JobRunner
- func IDContainsFold(id string) predicate.JobRunner
- func IDEQ(id string) predicate.JobRunner
- func IDEqualFold(id string) predicate.JobRunner
- func IDGT(id string) predicate.JobRunner
- func IDGTE(id string) predicate.JobRunner
- func IDIn(ids ...string) predicate.JobRunner
- func IDLT(id string) predicate.JobRunner
- func IDLTE(id string) predicate.JobRunner
- func IDNEQ(id string) predicate.JobRunner
- func IDNotIn(ids ...string) predicate.JobRunner
- func IPAddress(v string) predicate.JobRunner
- func IPAddressContains(v string) predicate.JobRunner
- func IPAddressContainsFold(v string) predicate.JobRunner
- func IPAddressEQ(v string) predicate.JobRunner
- func IPAddressEqualFold(v string) predicate.JobRunner
- func IPAddressGT(v string) predicate.JobRunner
- func IPAddressGTE(v string) predicate.JobRunner
- func IPAddressHasPrefix(v string) predicate.JobRunner
- func IPAddressHasSuffix(v string) predicate.JobRunner
- func IPAddressIn(vs ...string) predicate.JobRunner
- func IPAddressIsNil() predicate.JobRunner
- func IPAddressLT(v string) predicate.JobRunner
- func IPAddressLTE(v string) predicate.JobRunner
- func IPAddressNEQ(v string) predicate.JobRunner
- func IPAddressNotIn(vs ...string) predicate.JobRunner
- func IPAddressNotNil() predicate.JobRunner
- func LastSeen(v time.Time) predicate.JobRunner
- func LastSeenEQ(v time.Time) predicate.JobRunner
- func LastSeenGT(v time.Time) predicate.JobRunner
- func LastSeenGTE(v time.Time) predicate.JobRunner
- func LastSeenIn(vs ...time.Time) predicate.JobRunner
- func LastSeenIsNil() predicate.JobRunner
- func LastSeenLT(v time.Time) predicate.JobRunner
- func LastSeenLTE(v time.Time) predicate.JobRunner
- func LastSeenNEQ(v time.Time) predicate.JobRunner
- func LastSeenNotIn(vs ...time.Time) predicate.JobRunner
- func LastSeenNotNil() predicate.JobRunner
- func Name(v string) predicate.JobRunner
- func NameContains(v string) predicate.JobRunner
- func NameContainsFold(v string) predicate.JobRunner
- func NameEQ(v string) predicate.JobRunner
- func NameEqualFold(v string) predicate.JobRunner
- func NameGT(v string) predicate.JobRunner
- func NameGTE(v string) predicate.JobRunner
- func NameHasPrefix(v string) predicate.JobRunner
- func NameHasSuffix(v string) predicate.JobRunner
- func NameIn(vs ...string) predicate.JobRunner
- func NameLT(v string) predicate.JobRunner
- func NameLTE(v string) predicate.JobRunner
- func NameNEQ(v string) predicate.JobRunner
- func NameNotIn(vs ...string) predicate.JobRunner
- func Not(p predicate.JobRunner) predicate.JobRunner
- func Or(predicates ...predicate.JobRunner) predicate.JobRunner
- func Os(v string) predicate.JobRunner
- func OsContains(v string) predicate.JobRunner
- func OsContainsFold(v string) predicate.JobRunner
- func OsEQ(v string) predicate.JobRunner
- func OsEqualFold(v string) predicate.JobRunner
- func OsGT(v string) predicate.JobRunner
- func OsGTE(v string) predicate.JobRunner
- func OsHasPrefix(v string) predicate.JobRunner
- func OsHasSuffix(v string) predicate.JobRunner
- func OsIn(vs ...string) predicate.JobRunner
- func OsIsNil() predicate.JobRunner
- func OsLT(v string) predicate.JobRunner
- func OsLTE(v string) predicate.JobRunner
- func OsNEQ(v string) predicate.JobRunner
- func OsNotIn(vs ...string) predicate.JobRunner
- func OsNotNil() predicate.JobRunner
- func OwnerID(v string) predicate.JobRunner
- func OwnerIDContains(v string) predicate.JobRunner
- func OwnerIDContainsFold(v string) predicate.JobRunner
- func OwnerIDEQ(v string) predicate.JobRunner
- func OwnerIDEqualFold(v string) predicate.JobRunner
- func OwnerIDGT(v string) predicate.JobRunner
- func OwnerIDGTE(v string) predicate.JobRunner
- func OwnerIDHasPrefix(v string) predicate.JobRunner
- func OwnerIDHasSuffix(v string) predicate.JobRunner
- func OwnerIDIn(vs ...string) predicate.JobRunner
- func OwnerIDIsNil() predicate.JobRunner
- func OwnerIDLT(v string) predicate.JobRunner
- func OwnerIDLTE(v string) predicate.JobRunner
- func OwnerIDNEQ(v string) predicate.JobRunner
- func OwnerIDNotIn(vs ...string) predicate.JobRunner
- func OwnerIDNotNil() predicate.JobRunner
- func StatusEQ(v enums.JobRunnerStatus) predicate.JobRunner
- func StatusIn(vs ...enums.JobRunnerStatus) predicate.JobRunner
- func StatusNEQ(v enums.JobRunnerStatus) predicate.JobRunner
- func StatusNotIn(vs ...enums.JobRunnerStatus) predicate.JobRunner
- func StatusValidator(s enums.JobRunnerStatus) error
- func SystemOwned(v bool) predicate.JobRunner
- func SystemOwnedEQ(v bool) predicate.JobRunner
- func SystemOwnedIsNil() predicate.JobRunner
- func SystemOwnedNEQ(v bool) predicate.JobRunner
- func SystemOwnedNotNil() predicate.JobRunner
- func TagsIsNil() predicate.JobRunner
- func TagsNotNil() predicate.JobRunner
- func UpdatedAt(v time.Time) predicate.JobRunner
- func UpdatedAtEQ(v time.Time) predicate.JobRunner
- func UpdatedAtGT(v time.Time) predicate.JobRunner
- func UpdatedAtGTE(v time.Time) predicate.JobRunner
- func UpdatedAtIn(vs ...time.Time) predicate.JobRunner
- func UpdatedAtIsNil() predicate.JobRunner
- func UpdatedAtLT(v time.Time) predicate.JobRunner
- func UpdatedAtLTE(v time.Time) predicate.JobRunner
- func UpdatedAtNEQ(v time.Time) predicate.JobRunner
- func UpdatedAtNotIn(vs ...time.Time) predicate.JobRunner
- func UpdatedAtNotNil() predicate.JobRunner
- func UpdatedBy(v string) predicate.JobRunner
- func UpdatedByContains(v string) predicate.JobRunner
- func UpdatedByContainsFold(v string) predicate.JobRunner
- func UpdatedByEQ(v string) predicate.JobRunner
- func UpdatedByEqualFold(v string) predicate.JobRunner
- func UpdatedByGT(v string) predicate.JobRunner
- func UpdatedByGTE(v string) predicate.JobRunner
- func UpdatedByHasPrefix(v string) predicate.JobRunner
- func UpdatedByHasSuffix(v string) predicate.JobRunner
- func UpdatedByIn(vs ...string) predicate.JobRunner
- func UpdatedByIsNil() predicate.JobRunner
- func UpdatedByLT(v string) predicate.JobRunner
- func UpdatedByLTE(v string) predicate.JobRunner
- func UpdatedByNEQ(v string) predicate.JobRunner
- func UpdatedByNotIn(vs ...string) predicate.JobRunner
- func UpdatedByNotNil() predicate.JobRunner
- func ValidColumn(column string) bool
- func Version(v string) predicate.JobRunner
- func VersionContains(v string) predicate.JobRunner
- func VersionContainsFold(v string) predicate.JobRunner
- func VersionEQ(v string) predicate.JobRunner
- func VersionEqualFold(v string) predicate.JobRunner
- func VersionGT(v string) predicate.JobRunner
- func VersionGTE(v string) predicate.JobRunner
- func VersionHasPrefix(v string) predicate.JobRunner
- func VersionHasSuffix(v string) predicate.JobRunner
- func VersionIn(vs ...string) predicate.JobRunner
- func VersionIsNil() predicate.JobRunner
- func VersionLT(v string) predicate.JobRunner
- func VersionLTE(v string) predicate.JobRunner
- func VersionNEQ(v string) predicate.JobRunner
- func VersionNotIn(vs ...string) predicate.JobRunner
- func VersionNotNil() predicate.JobRunner
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIPAddress(opts ...sql.OrderTermOption) OrderOption
- func ByJobRunnerTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByJobRunnerTokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByLastSeen(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOs(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the jobrunner type in the database. Label = "job_runner" // 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" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldSystemOwned holds the string denoting the system_owned field in the database. FieldSystemOwned = "system_owned" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldIPAddress holds the string denoting the ip_address field in the database. FieldIPAddress = "ip_address" // FieldLastSeen holds the string denoting the last_seen field in the database. FieldLastSeen = "last_seen" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldOs holds the string denoting the os field in the database. FieldOs = "os" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeJobRunnerTokens holds the string denoting the job_runner_tokens edge name in mutations. EdgeJobRunnerTokens = "job_runner_tokens" // Table holds the table name of the jobrunner in the database. Table = "job_runners" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "job_runners" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // JobRunnerTokensTable is the table that holds the job_runner_tokens relation/edge. The primary key declared below. JobRunnerTokensTable = "job_runner_job_runner_tokens" // JobRunnerTokensInverseTable is the table name for the JobRunnerToken entity. // It exists in this package in order to avoid circular dependency with the "jobrunnertoken" package. JobRunnerTokensInverseTable = "job_runner_tokens" )
const DefaultStatus enums.JobRunnerStatus = "OFFLINE"
Variables ¶
var ( Hooks [9]ent.Hook Interceptors [4]ent.Interceptor Policy ent.Policy // 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 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultSystemOwned holds the default value on creation for the "system_owned" field. DefaultSystemOwned bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
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 _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldOwnerID, FieldSystemOwned, FieldName, FieldStatus, FieldIPAddress, FieldLastSeen, FieldVersion, FieldOs, }
Columns holds all SQL columns for jobrunner fields.
var ( // JobRunnerTokensPrimaryKey and JobRunnerTokensColumn2 are the table columns denoting the // primary key for the job_runner_tokens relation (M2M). JobRunnerTokensPrimaryKey = []string{"job_runner_id", "job_runner_token_id"} )
Functions ¶
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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func DisplayID ¶
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func HasJobRunnerTokens ¶
HasJobRunnerTokens applies the HasEdge predicate on the "job_runner_tokens" edge.
func HasJobRunnerTokensWith ¶
func HasJobRunnerTokensWith(preds ...predicate.JobRunnerToken) predicate.JobRunner
HasJobRunnerTokensWith applies the HasEdge predicate on the "job_runner_tokens" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.JobRunner
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IPAddress ¶
IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.
func IPAddressContains ¶
IPAddressContains applies the Contains predicate on the "ip_address" field.
func IPAddressContainsFold ¶
IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.
func IPAddressEQ ¶
IPAddressEQ applies the EQ predicate on the "ip_address" field.
func IPAddressEqualFold ¶
IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.
func IPAddressGT ¶
IPAddressGT applies the GT predicate on the "ip_address" field.
func IPAddressGTE ¶
IPAddressGTE applies the GTE predicate on the "ip_address" field.
func IPAddressHasPrefix ¶
IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.
func IPAddressHasSuffix ¶
IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.
func IPAddressIn ¶
IPAddressIn applies the In predicate on the "ip_address" field.
func IPAddressIsNil ¶ added in v0.26.4
IPAddressIsNil applies the IsNil predicate on the "ip_address" field.
func IPAddressLT ¶
IPAddressLT applies the LT predicate on the "ip_address" field.
func IPAddressLTE ¶
IPAddressLTE applies the LTE predicate on the "ip_address" field.
func IPAddressNEQ ¶
IPAddressNEQ applies the NEQ predicate on the "ip_address" field.
func IPAddressNotIn ¶
IPAddressNotIn applies the NotIn predicate on the "ip_address" field.
func IPAddressNotNil ¶ added in v0.26.4
IPAddressNotNil applies the NotNil predicate on the "ip_address" field.
func LastSeen ¶ added in v0.26.4
LastSeen applies equality check predicate on the "last_seen" field. It's identical to LastSeenEQ.
func LastSeenEQ ¶ added in v0.26.4
LastSeenEQ applies the EQ predicate on the "last_seen" field.
func LastSeenGT ¶ added in v0.26.4
LastSeenGT applies the GT predicate on the "last_seen" field.
func LastSeenGTE ¶ added in v0.26.4
LastSeenGTE applies the GTE predicate on the "last_seen" field.
func LastSeenIn ¶ added in v0.26.4
LastSeenIn applies the In predicate on the "last_seen" field.
func LastSeenIsNil ¶ added in v0.26.4
LastSeenIsNil applies the IsNil predicate on the "last_seen" field.
func LastSeenLT ¶ added in v0.26.4
LastSeenLT applies the LT predicate on the "last_seen" field.
func LastSeenLTE ¶ added in v0.26.4
LastSeenLTE applies the LTE predicate on the "last_seen" field.
func LastSeenNEQ ¶ added in v0.26.4
LastSeenNEQ applies the NEQ predicate on the "last_seen" field.
func LastSeenNotIn ¶ added in v0.26.4
LastSeenNotIn applies the NotIn predicate on the "last_seen" field.
func LastSeenNotNil ¶ added in v0.26.4
LastSeenNotNil applies the NotNil predicate on the "last_seen" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Os ¶ added in v0.26.4
Os applies equality check predicate on the "os" field. It's identical to OsEQ.
func OsContains ¶ added in v0.26.4
OsContains applies the Contains predicate on the "os" field.
func OsContainsFold ¶ added in v0.26.4
OsContainsFold applies the ContainsFold predicate on the "os" field.
func OsEqualFold ¶ added in v0.26.4
OsEqualFold applies the EqualFold predicate on the "os" field.
func OsHasPrefix ¶ added in v0.26.4
OsHasPrefix applies the HasPrefix predicate on the "os" field.
func OsHasSuffix ¶ added in v0.26.4
OsHasSuffix applies the HasSuffix predicate on the "os" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func StatusEQ ¶
func StatusEQ(v enums.JobRunnerStatus) predicate.JobRunner
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.JobRunnerStatus) predicate.JobRunner
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.JobRunnerStatus) predicate.JobRunner
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.JobRunnerStatus) predicate.JobRunner
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.JobRunnerStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func SystemOwned ¶
SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.
func SystemOwnedEQ ¶
SystemOwnedEQ applies the EQ predicate on the "system_owned" field.
func SystemOwnedIsNil ¶
SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.
func SystemOwnedNEQ ¶
SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.
func SystemOwnedNotNil ¶
SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶ added in v0.26.4
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶ added in v0.26.4
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶ added in v0.26.4
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶ added in v0.26.4
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶ added in v0.26.4
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶ added in v0.26.4
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶ added in v0.26.4
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIsNil ¶ added in v0.26.4
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLTE ¶ added in v0.26.4
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶ added in v0.26.4
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶ added in v0.26.4
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶ added in v0.26.4
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the JobRunner queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDisplayID ¶
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIPAddress ¶
func ByIPAddress(opts ...sql.OrderTermOption) OrderOption
ByIPAddress orders the results by the ip_address field.
func ByJobRunnerTokens ¶
func ByJobRunnerTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByJobRunnerTokens orders the results by job_runner_tokens terms.
func ByJobRunnerTokensCount ¶
func ByJobRunnerTokensCount(opts ...sql.OrderTermOption) OrderOption
ByJobRunnerTokensCount orders the results by job_runner_tokens count.
func ByLastSeen ¶ added in v0.26.4
func ByLastSeen(opts ...sql.OrderTermOption) OrderOption
ByLastSeen orders the results by the last_seen field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOs ¶ added in v0.26.4
func ByOs(opts ...sql.OrderTermOption) OrderOption
ByOs orders the results by the os field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySystemOwned ¶
func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
BySystemOwned orders the results by the system_owned field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByVersion ¶ added in v0.26.4
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.