jobrunner

package
v0.30.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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"
)
View Source
const DefaultStatus enums.JobRunnerStatus = "OFFLINE"

Variables

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

Columns holds all SQL columns for jobrunner fields.

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

func And(predicates ...predicate.JobRunner) predicate.JobRunner

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.JobRunner

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.JobRunner

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.JobRunner

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.JobRunner

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.JobRunner

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.JobRunner

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.JobRunner

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.JobRunner

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.JobRunner

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.JobRunner

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.JobRunner

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.JobRunner

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.JobRunner

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.JobRunner

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.JobRunner

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.JobRunner

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.JobRunner

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.JobRunner

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.JobRunner

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.JobRunner

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.JobRunner

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.JobRunner

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.JobRunner

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.JobRunner

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.JobRunner

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.JobRunner

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.JobRunner

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.JobRunner

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.JobRunner

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.JobRunner

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.JobRunner

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.JobRunner

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.JobRunner

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.JobRunner

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.JobRunner

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.JobRunner

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.JobRunner

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.JobRunner

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.JobRunner

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.JobRunner

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.JobRunner

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.JobRunner

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.JobRunner

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.JobRunner

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.JobRunner

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.JobRunner

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.JobRunner

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.JobRunner

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.JobRunner

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.JobRunner

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.JobRunner

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.JobRunner

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.JobRunner

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.JobRunner

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func DisplayID

func DisplayID(v string) predicate.JobRunner

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains

func DisplayIDContains(v string) predicate.JobRunner

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.JobRunner

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.JobRunner

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.JobRunner

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT

func DisplayIDGT(v string) predicate.JobRunner

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.JobRunner

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.JobRunner

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.JobRunner

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn

func DisplayIDIn(vs ...string) predicate.JobRunner

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT

func DisplayIDLT(v string) predicate.JobRunner

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.JobRunner

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.JobRunner

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn

func DisplayIDNotIn(vs ...string) predicate.JobRunner

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func HasJobRunnerTokens

func HasJobRunnerTokens() predicate.JobRunner

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 HasOwner

func HasOwner() predicate.JobRunner

HasOwner applies the HasEdge predicate on the "owner" edge.

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 ID

func ID(id string) predicate.JobRunner

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.JobRunner

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.JobRunner

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.JobRunner

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.JobRunner

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.JobRunner

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.JobRunner

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.JobRunner

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.JobRunner

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.JobRunner

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.JobRunner

IDNotIn applies the NotIn predicate on the ID field.

func IPAddress

func IPAddress(v string) predicate.JobRunner

IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.

func IPAddressContains

func IPAddressContains(v string) predicate.JobRunner

IPAddressContains applies the Contains predicate on the "ip_address" field.

func IPAddressContainsFold

func IPAddressContainsFold(v string) predicate.JobRunner

IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.

func IPAddressEQ

func IPAddressEQ(v string) predicate.JobRunner

IPAddressEQ applies the EQ predicate on the "ip_address" field.

func IPAddressEqualFold

func IPAddressEqualFold(v string) predicate.JobRunner

IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.

func IPAddressGT

func IPAddressGT(v string) predicate.JobRunner

IPAddressGT applies the GT predicate on the "ip_address" field.

func IPAddressGTE

func IPAddressGTE(v string) predicate.JobRunner

IPAddressGTE applies the GTE predicate on the "ip_address" field.

func IPAddressHasPrefix

func IPAddressHasPrefix(v string) predicate.JobRunner

IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.

func IPAddressHasSuffix

func IPAddressHasSuffix(v string) predicate.JobRunner

IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.

func IPAddressIn

func IPAddressIn(vs ...string) predicate.JobRunner

IPAddressIn applies the In predicate on the "ip_address" field.

func IPAddressIsNil added in v0.26.4

func IPAddressIsNil() predicate.JobRunner

IPAddressIsNil applies the IsNil predicate on the "ip_address" field.

func IPAddressLT

func IPAddressLT(v string) predicate.JobRunner

IPAddressLT applies the LT predicate on the "ip_address" field.

func IPAddressLTE

func IPAddressLTE(v string) predicate.JobRunner

IPAddressLTE applies the LTE predicate on the "ip_address" field.

func IPAddressNEQ

func IPAddressNEQ(v string) predicate.JobRunner

IPAddressNEQ applies the NEQ predicate on the "ip_address" field.

func IPAddressNotIn

func IPAddressNotIn(vs ...string) predicate.JobRunner

IPAddressNotIn applies the NotIn predicate on the "ip_address" field.

func IPAddressNotNil added in v0.26.4

func IPAddressNotNil() predicate.JobRunner

IPAddressNotNil applies the NotNil predicate on the "ip_address" field.

func LastSeen added in v0.26.4

func LastSeen(v time.Time) predicate.JobRunner

LastSeen applies equality check predicate on the "last_seen" field. It's identical to LastSeenEQ.

func LastSeenEQ added in v0.26.4

func LastSeenEQ(v time.Time) predicate.JobRunner

LastSeenEQ applies the EQ predicate on the "last_seen" field.

func LastSeenGT added in v0.26.4

func LastSeenGT(v time.Time) predicate.JobRunner

LastSeenGT applies the GT predicate on the "last_seen" field.

func LastSeenGTE added in v0.26.4

func LastSeenGTE(v time.Time) predicate.JobRunner

LastSeenGTE applies the GTE predicate on the "last_seen" field.

func LastSeenIn added in v0.26.4

func LastSeenIn(vs ...time.Time) predicate.JobRunner

LastSeenIn applies the In predicate on the "last_seen" field.

func LastSeenIsNil added in v0.26.4

func LastSeenIsNil() predicate.JobRunner

LastSeenIsNil applies the IsNil predicate on the "last_seen" field.

func LastSeenLT added in v0.26.4

func LastSeenLT(v time.Time) predicate.JobRunner

LastSeenLT applies the LT predicate on the "last_seen" field.

func LastSeenLTE added in v0.26.4

func LastSeenLTE(v time.Time) predicate.JobRunner

LastSeenLTE applies the LTE predicate on the "last_seen" field.

func LastSeenNEQ added in v0.26.4

func LastSeenNEQ(v time.Time) predicate.JobRunner

LastSeenNEQ applies the NEQ predicate on the "last_seen" field.

func LastSeenNotIn added in v0.26.4

func LastSeenNotIn(vs ...time.Time) predicate.JobRunner

LastSeenNotIn applies the NotIn predicate on the "last_seen" field.

func LastSeenNotNil added in v0.26.4

func LastSeenNotNil() predicate.JobRunner

LastSeenNotNil applies the NotNil predicate on the "last_seen" field.

func Name

func Name(v string) predicate.JobRunner

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.JobRunner

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.JobRunner

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.JobRunner

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.JobRunner

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.JobRunner

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.JobRunner

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.JobRunner

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.JobRunner

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.JobRunner

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.JobRunner

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.JobRunner

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.JobRunner

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.JobRunner

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.JobRunner) predicate.JobRunner

Or groups predicates with the OR operator between them.

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

func OsContains(v string) predicate.JobRunner

OsContains applies the Contains predicate on the "os" field.

func OsContainsFold added in v0.26.4

func OsContainsFold(v string) predicate.JobRunner

OsContainsFold applies the ContainsFold predicate on the "os" field.

func OsEQ added in v0.26.4

func OsEQ(v string) predicate.JobRunner

OsEQ applies the EQ predicate on the "os" field.

func OsEqualFold added in v0.26.4

func OsEqualFold(v string) predicate.JobRunner

OsEqualFold applies the EqualFold predicate on the "os" field.

func OsGT added in v0.26.4

func OsGT(v string) predicate.JobRunner

OsGT applies the GT predicate on the "os" field.

func OsGTE added in v0.26.4

func OsGTE(v string) predicate.JobRunner

OsGTE applies the GTE predicate on the "os" field.

func OsHasPrefix added in v0.26.4

func OsHasPrefix(v string) predicate.JobRunner

OsHasPrefix applies the HasPrefix predicate on the "os" field.

func OsHasSuffix added in v0.26.4

func OsHasSuffix(v string) predicate.JobRunner

OsHasSuffix applies the HasSuffix predicate on the "os" field.

func OsIn added in v0.26.4

func OsIn(vs ...string) predicate.JobRunner

OsIn applies the In predicate on the "os" field.

func OsIsNil added in v0.26.4

func OsIsNil() predicate.JobRunner

OsIsNil applies the IsNil predicate on the "os" field.

func OsLT added in v0.26.4

func OsLT(v string) predicate.JobRunner

OsLT applies the LT predicate on the "os" field.

func OsLTE added in v0.26.4

func OsLTE(v string) predicate.JobRunner

OsLTE applies the LTE predicate on the "os" field.

func OsNEQ added in v0.26.4

func OsNEQ(v string) predicate.JobRunner

OsNEQ applies the NEQ predicate on the "os" field.

func OsNotIn added in v0.26.4

func OsNotIn(vs ...string) predicate.JobRunner

OsNotIn applies the NotIn predicate on the "os" field.

func OsNotNil added in v0.26.4

func OsNotNil() predicate.JobRunner

OsNotNil applies the NotNil predicate on the "os" field.

func OwnerID

func OwnerID(v string) predicate.JobRunner

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.JobRunner

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.JobRunner

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.JobRunner

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.JobRunner

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.JobRunner

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.JobRunner

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.JobRunner

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.JobRunner

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.JobRunner

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.JobRunner

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.JobRunner

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.JobRunner

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.JobRunner

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.JobRunner

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.JobRunner

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func StatusEQ

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

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

func SystemOwned(v bool) predicate.JobRunner

SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.

func SystemOwnedEQ

func SystemOwnedEQ(v bool) predicate.JobRunner

SystemOwnedEQ applies the EQ predicate on the "system_owned" field.

func SystemOwnedIsNil

func SystemOwnedIsNil() predicate.JobRunner

SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.

func SystemOwnedNEQ

func SystemOwnedNEQ(v bool) predicate.JobRunner

SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.

func SystemOwnedNotNil

func SystemOwnedNotNil() predicate.JobRunner

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.

func TagsIsNil

func TagsIsNil() predicate.JobRunner

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.JobRunner

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.JobRunner

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.JobRunner

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.JobRunner

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.JobRunner

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.JobRunner

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.JobRunner

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.JobRunner

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.JobRunner

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.JobRunner

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.JobRunner

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.JobRunner

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.JobRunner

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.JobRunner

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.JobRunner

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.JobRunner

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.JobRunner

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.JobRunner

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.JobRunner

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.JobRunner

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.JobRunner

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.JobRunner

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.JobRunner

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.JobRunner

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.JobRunner

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.JobRunner

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.JobRunner

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.JobRunner

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Version added in v0.26.4

func Version(v string) predicate.JobRunner

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains added in v0.26.4

func VersionContains(v string) predicate.JobRunner

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold added in v0.26.4

func VersionContainsFold(v string) predicate.JobRunner

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ added in v0.26.4

func VersionEQ(v string) predicate.JobRunner

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold added in v0.26.4

func VersionEqualFold(v string) predicate.JobRunner

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT added in v0.26.4

func VersionGT(v string) predicate.JobRunner

VersionGT applies the GT predicate on the "version" field.

func VersionGTE added in v0.26.4

func VersionGTE(v string) predicate.JobRunner

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix added in v0.26.4

func VersionHasPrefix(v string) predicate.JobRunner

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix added in v0.26.4

func VersionHasSuffix(v string) predicate.JobRunner

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn added in v0.26.4

func VersionIn(vs ...string) predicate.JobRunner

VersionIn applies the In predicate on the "version" field.

func VersionIsNil added in v0.26.4

func VersionIsNil() predicate.JobRunner

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT added in v0.26.4

func VersionLT(v string) predicate.JobRunner

VersionLT applies the LT predicate on the "version" field.

func VersionLTE added in v0.26.4

func VersionLTE(v string) predicate.JobRunner

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ added in v0.26.4

func VersionNEQ(v string) predicate.JobRunner

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn added in v0.26.4

func VersionNotIn(vs ...string) predicate.JobRunner

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil added in v0.26.4

func VersionNotNil() predicate.JobRunner

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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