jobtemplate

package
v1.11.21 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the jobtemplate type in the database.
	Label = "job_template"
	// 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"
	// FieldInternalNotes holds the string denoting the internal_notes field in the database.
	FieldInternalNotes = "internal_notes"
	// FieldSystemInternalID holds the string denoting the system_internal_id field in the database.
	FieldSystemInternalID = "system_internal_id"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldPlatform holds the string denoting the platform field in the database.
	FieldPlatform = "platform"
	// FieldWindmillPath holds the string denoting the windmill_path field in the database.
	FieldWindmillPath = "windmill_path"
	// FieldDownloadURL holds the string denoting the download_url field in the database.
	FieldDownloadURL = "download_url"
	// FieldConfiguration holds the string denoting the configuration field in the database.
	FieldConfiguration = "configuration"
	// FieldCron holds the string denoting the cron field in the database.
	FieldCron = "cron"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeScheduledJobs holds the string denoting the scheduled_jobs edge name in mutations.
	EdgeScheduledJobs = "scheduled_jobs"
	// Table holds the table name of the jobtemplate in the database.
	Table = "job_templates"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "job_templates"
	// 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"
	// ScheduledJobsTable is the table that holds the scheduled_jobs relation/edge.
	ScheduledJobsTable = "scheduled_jobs"
	// ScheduledJobsInverseTable is the table name for the ScheduledJob entity.
	// It exists in this package in order to avoid circular dependency with the "scheduledjob" package.
	ScheduledJobsInverseTable = "scheduled_jobs"
	// ScheduledJobsColumn is the table column denoting the scheduled_jobs relation/edge.
	ScheduledJobsColumn = "job_id"
)

Variables

View Source
var (
	Hooks        [9]ent.Hook
	Interceptors [2]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
	// TitleValidator is a validator for the "title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// WindmillPathValidator is a validator for the "windmill_path" field. It is called by the builders before save.
	WindmillPathValidator func(string) error
	// CronValidator is a validator for the "cron" field. It is called by the builders before save.
	CronValidator func(string) error
	// 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 jobtemplate fields.

Functions

func And

func And(predicates ...predicate.JobTemplate) predicate.JobTemplate

And groups predicates with the AND operator between them.

func ConfigurationIsNil

func ConfigurationIsNil() predicate.JobTemplate

ConfigurationIsNil applies the IsNil predicate on the "configuration" field.

func ConfigurationNotNil

func ConfigurationNotNil() predicate.JobTemplate

ConfigurationNotNil applies the NotNil predicate on the "configuration" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.JobTemplate

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.JobTemplate

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.JobTemplate

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.JobTemplate

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.JobTemplate

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.JobTemplate

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.JobTemplate

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.JobTemplate

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.JobTemplate

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

func CreatedBy

func CreatedBy(v string) predicate.JobTemplate

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

func CreatedByContains

func CreatedByContains(v string) predicate.JobTemplate

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.JobTemplate

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.JobTemplate

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.JobTemplate

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

func CreatedByGT

func CreatedByGT(v string) predicate.JobTemplate

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.JobTemplate

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.JobTemplate

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.JobTemplate

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.JobTemplate

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

func CreatedByLT

func CreatedByLT(v string) predicate.JobTemplate

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.JobTemplate

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.JobTemplate

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.JobTemplate

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

func Cron

Cron applies equality check predicate on the "cron" field. It's identical to CronEQ.

func CronContains

func CronContains(v models.Cron) predicate.JobTemplate

CronContains applies the Contains predicate on the "cron" field.

func CronContainsFold

func CronContainsFold(v models.Cron) predicate.JobTemplate

CronContainsFold applies the ContainsFold predicate on the "cron" field.

func CronEQ

func CronEQ(v models.Cron) predicate.JobTemplate

CronEQ applies the EQ predicate on the "cron" field.

func CronEqualFold

func CronEqualFold(v models.Cron) predicate.JobTemplate

CronEqualFold applies the EqualFold predicate on the "cron" field.

func CronGT

func CronGT(v models.Cron) predicate.JobTemplate

CronGT applies the GT predicate on the "cron" field.

func CronGTE

func CronGTE(v models.Cron) predicate.JobTemplate

CronGTE applies the GTE predicate on the "cron" field.

func CronHasPrefix

func CronHasPrefix(v models.Cron) predicate.JobTemplate

CronHasPrefix applies the HasPrefix predicate on the "cron" field.

func CronHasSuffix

func CronHasSuffix(v models.Cron) predicate.JobTemplate

CronHasSuffix applies the HasSuffix predicate on the "cron" field.

func CronIn

func CronIn(vs ...models.Cron) predicate.JobTemplate

CronIn applies the In predicate on the "cron" field.

func CronIsNil

func CronIsNil() predicate.JobTemplate

CronIsNil applies the IsNil predicate on the "cron" field.

func CronLT

func CronLT(v models.Cron) predicate.JobTemplate

CronLT applies the LT predicate on the "cron" field.

func CronLTE

func CronLTE(v models.Cron) predicate.JobTemplate

CronLTE applies the LTE predicate on the "cron" field.

func CronNEQ

func CronNEQ(v models.Cron) predicate.JobTemplate

CronNEQ applies the NEQ predicate on the "cron" field.

func CronNotIn

func CronNotIn(vs ...models.Cron) predicate.JobTemplate

CronNotIn applies the NotIn predicate on the "cron" field.

func CronNotNil

func CronNotNil() predicate.JobTemplate

CronNotNil applies the NotNil predicate on the "cron" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.JobTemplate

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.JobTemplate

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.JobTemplate

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.JobTemplate

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.JobTemplate

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.JobTemplate

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.JobTemplate

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.JobTemplate

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.JobTemplate

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

func DeletedBy

func DeletedBy(v string) predicate.JobTemplate

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

func DeletedByContains

func DeletedByContains(v string) predicate.JobTemplate

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.JobTemplate

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.JobTemplate

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.JobTemplate

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

func DeletedByGT

func DeletedByGT(v string) predicate.JobTemplate

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.JobTemplate

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.JobTemplate

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.JobTemplate

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.JobTemplate

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

func DeletedByLT

func DeletedByLT(v string) predicate.JobTemplate

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.JobTemplate

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.JobTemplate

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.JobTemplate

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

func Description

func Description(v string) predicate.JobTemplate

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.JobTemplate

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.JobTemplate

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.JobTemplate

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.JobTemplate

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.JobTemplate

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.JobTemplate

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.JobTemplate

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.JobTemplate

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.JobTemplate

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.JobTemplate

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.JobTemplate

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.JobTemplate

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.JobTemplate

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.JobTemplate

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.JobTemplate

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DisplayID

func DisplayID(v string) predicate.JobTemplate

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

func DisplayIDContains

func DisplayIDContains(v string) predicate.JobTemplate

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

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.JobTemplate

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

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.JobTemplate

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

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.JobTemplate

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

func DisplayIDGT

func DisplayIDGT(v string) predicate.JobTemplate

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

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.JobTemplate

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

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.JobTemplate

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

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.JobTemplate

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

func DisplayIDIn

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

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

func DisplayIDLT

func DisplayIDLT(v string) predicate.JobTemplate

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

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.JobTemplate

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

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.JobTemplate

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

func DisplayIDNotIn

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

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

func DownloadURL

func DownloadURL(v string) predicate.JobTemplate

DownloadURL applies equality check predicate on the "download_url" field. It's identical to DownloadURLEQ.

func DownloadURLContains

func DownloadURLContains(v string) predicate.JobTemplate

DownloadURLContains applies the Contains predicate on the "download_url" field.

func DownloadURLContainsFold

func DownloadURLContainsFold(v string) predicate.JobTemplate

DownloadURLContainsFold applies the ContainsFold predicate on the "download_url" field.

func DownloadURLEQ

func DownloadURLEQ(v string) predicate.JobTemplate

DownloadURLEQ applies the EQ predicate on the "download_url" field.

func DownloadURLEqualFold

func DownloadURLEqualFold(v string) predicate.JobTemplate

DownloadURLEqualFold applies the EqualFold predicate on the "download_url" field.

func DownloadURLGT

func DownloadURLGT(v string) predicate.JobTemplate

DownloadURLGT applies the GT predicate on the "download_url" field.

func DownloadURLGTE

func DownloadURLGTE(v string) predicate.JobTemplate

DownloadURLGTE applies the GTE predicate on the "download_url" field.

func DownloadURLHasPrefix

func DownloadURLHasPrefix(v string) predicate.JobTemplate

DownloadURLHasPrefix applies the HasPrefix predicate on the "download_url" field.

func DownloadURLHasSuffix

func DownloadURLHasSuffix(v string) predicate.JobTemplate

DownloadURLHasSuffix applies the HasSuffix predicate on the "download_url" field.

func DownloadURLIn

func DownloadURLIn(vs ...string) predicate.JobTemplate

DownloadURLIn applies the In predicate on the "download_url" field.

func DownloadURLLT

func DownloadURLLT(v string) predicate.JobTemplate

DownloadURLLT applies the LT predicate on the "download_url" field.

func DownloadURLLTE

func DownloadURLLTE(v string) predicate.JobTemplate

DownloadURLLTE applies the LTE predicate on the "download_url" field.

func DownloadURLNEQ

func DownloadURLNEQ(v string) predicate.JobTemplate

DownloadURLNEQ applies the NEQ predicate on the "download_url" field.

func DownloadURLNotIn

func DownloadURLNotIn(vs ...string) predicate.JobTemplate

DownloadURLNotIn applies the NotIn predicate on the "download_url" field.

func HasOwner

func HasOwner() predicate.JobTemplate

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

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Organization) predicate.JobTemplate

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func HasScheduledJobs

func HasScheduledJobs() predicate.JobTemplate

HasScheduledJobs applies the HasEdge predicate on the "scheduled_jobs" edge.

func HasScheduledJobsWith

func HasScheduledJobsWith(preds ...predicate.ScheduledJob) predicate.JobTemplate

HasScheduledJobsWith applies the HasEdge predicate on the "scheduled_jobs" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.JobTemplate

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.JobTemplate

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.JobTemplate

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.JobTemplate

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.JobTemplate

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.JobTemplate

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.JobTemplate

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.JobTemplate

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InternalNotes added in v0.34.0

func InternalNotes(v string) predicate.JobTemplate

InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.

func InternalNotesContains added in v0.34.0

func InternalNotesContains(v string) predicate.JobTemplate

InternalNotesContains applies the Contains predicate on the "internal_notes" field.

func InternalNotesContainsFold added in v0.34.0

func InternalNotesContainsFold(v string) predicate.JobTemplate

InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.

func InternalNotesEQ added in v0.34.0

func InternalNotesEQ(v string) predicate.JobTemplate

InternalNotesEQ applies the EQ predicate on the "internal_notes" field.

func InternalNotesEqualFold added in v0.34.0

func InternalNotesEqualFold(v string) predicate.JobTemplate

InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.

func InternalNotesGT added in v0.34.0

func InternalNotesGT(v string) predicate.JobTemplate

InternalNotesGT applies the GT predicate on the "internal_notes" field.

func InternalNotesGTE added in v0.34.0

func InternalNotesGTE(v string) predicate.JobTemplate

InternalNotesGTE applies the GTE predicate on the "internal_notes" field.

func InternalNotesHasPrefix added in v0.34.0

func InternalNotesHasPrefix(v string) predicate.JobTemplate

InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.

func InternalNotesHasSuffix added in v0.34.0

func InternalNotesHasSuffix(v string) predicate.JobTemplate

InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.

func InternalNotesIn added in v0.34.0

func InternalNotesIn(vs ...string) predicate.JobTemplate

InternalNotesIn applies the In predicate on the "internal_notes" field.

func InternalNotesIsNil added in v0.34.0

func InternalNotesIsNil() predicate.JobTemplate

InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.

func InternalNotesLT added in v0.34.0

func InternalNotesLT(v string) predicate.JobTemplate

InternalNotesLT applies the LT predicate on the "internal_notes" field.

func InternalNotesLTE added in v0.34.0

func InternalNotesLTE(v string) predicate.JobTemplate

InternalNotesLTE applies the LTE predicate on the "internal_notes" field.

func InternalNotesNEQ added in v0.34.0

func InternalNotesNEQ(v string) predicate.JobTemplate

InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.

func InternalNotesNotIn added in v0.34.0

func InternalNotesNotIn(vs ...string) predicate.JobTemplate

InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.

func InternalNotesNotNil added in v0.34.0

func InternalNotesNotNil() predicate.JobTemplate

InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.JobTemplate) predicate.JobTemplate

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.JobTemplate

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.JobTemplate

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.JobTemplate

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.JobTemplate

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.JobTemplate

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.JobTemplate

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.JobTemplate

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.JobTemplate

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.JobTemplate

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.JobTemplate

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.JobTemplate

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.JobTemplate

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.JobTemplate

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.JobTemplate

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

func PlatformEQ

PlatformEQ applies the EQ predicate on the "platform" field.

func PlatformIn

func PlatformIn(vs ...enums.JobPlatformType) predicate.JobTemplate

PlatformIn applies the In predicate on the "platform" field.

func PlatformNEQ

PlatformNEQ applies the NEQ predicate on the "platform" field.

func PlatformNotIn

func PlatformNotIn(vs ...enums.JobPlatformType) predicate.JobTemplate

PlatformNotIn applies the NotIn predicate on the "platform" field.

func PlatformValidator

func PlatformValidator(pl enums.JobPlatformType) error

PlatformValidator is a validator for the "platform" field enum values. It is called by the builders before save.

func SystemInternalID added in v0.34.0

func SystemInternalID(v string) predicate.JobTemplate

SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.

func SystemInternalIDContains added in v0.34.0

func SystemInternalIDContains(v string) predicate.JobTemplate

SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.

func SystemInternalIDContainsFold added in v0.34.0

func SystemInternalIDContainsFold(v string) predicate.JobTemplate

SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.

func SystemInternalIDEQ added in v0.34.0

func SystemInternalIDEQ(v string) predicate.JobTemplate

SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.

func SystemInternalIDEqualFold added in v0.34.0

func SystemInternalIDEqualFold(v string) predicate.JobTemplate

SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.

func SystemInternalIDGT added in v0.34.0

func SystemInternalIDGT(v string) predicate.JobTemplate

SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.

func SystemInternalIDGTE added in v0.34.0

func SystemInternalIDGTE(v string) predicate.JobTemplate

SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.

func SystemInternalIDHasPrefix added in v0.34.0

func SystemInternalIDHasPrefix(v string) predicate.JobTemplate

SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.

func SystemInternalIDHasSuffix added in v0.34.0

func SystemInternalIDHasSuffix(v string) predicate.JobTemplate

SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.

func SystemInternalIDIn added in v0.34.0

func SystemInternalIDIn(vs ...string) predicate.JobTemplate

SystemInternalIDIn applies the In predicate on the "system_internal_id" field.

func SystemInternalIDIsNil added in v0.34.0

func SystemInternalIDIsNil() predicate.JobTemplate

SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.

func SystemInternalIDLT added in v0.34.0

func SystemInternalIDLT(v string) predicate.JobTemplate

SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.

func SystemInternalIDLTE added in v0.34.0

func SystemInternalIDLTE(v string) predicate.JobTemplate

SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.

func SystemInternalIDNEQ added in v0.34.0

func SystemInternalIDNEQ(v string) predicate.JobTemplate

SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.

func SystemInternalIDNotIn added in v0.34.0

func SystemInternalIDNotIn(vs ...string) predicate.JobTemplate

SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.

func SystemInternalIDNotNil added in v0.34.0

func SystemInternalIDNotNil() predicate.JobTemplate

SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.

func SystemOwned

func SystemOwned(v bool) predicate.JobTemplate

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

func SystemOwnedEQ

func SystemOwnedEQ(v bool) predicate.JobTemplate

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

func SystemOwnedIsNil

func SystemOwnedIsNil() predicate.JobTemplate

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

func SystemOwnedNEQ

func SystemOwnedNEQ(v bool) predicate.JobTemplate

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

func SystemOwnedNotNil

func SystemOwnedNotNil() predicate.JobTemplate

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

func TagsIsNil

func TagsIsNil() predicate.JobTemplate

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

func TagsNotNil

func TagsNotNil() predicate.JobTemplate

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

func Title

func Title(v string) predicate.JobTemplate

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.JobTemplate

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.JobTemplate

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.JobTemplate

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.JobTemplate

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.JobTemplate

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.JobTemplate

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.JobTemplate

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.JobTemplate

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.JobTemplate

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.JobTemplate

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.JobTemplate

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.JobTemplate

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.JobTemplate

TitleNotIn applies the NotIn predicate on the "title" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.JobTemplate

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.JobTemplate

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.JobTemplate

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.JobTemplate

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.JobTemplate

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.JobTemplate

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.JobTemplate

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.JobTemplate

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.JobTemplate

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

func UpdatedBy

func UpdatedBy(v string) predicate.JobTemplate

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.JobTemplate

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.JobTemplate

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.JobTemplate

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.JobTemplate

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.JobTemplate

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.JobTemplate

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.JobTemplate

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.JobTemplate

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.JobTemplate

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.JobTemplate

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.JobTemplate

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.JobTemplate

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.JobTemplate

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 WindmillPath

func WindmillPath(v string) predicate.JobTemplate

WindmillPath applies equality check predicate on the "windmill_path" field. It's identical to WindmillPathEQ.

func WindmillPathContains

func WindmillPathContains(v string) predicate.JobTemplate

WindmillPathContains applies the Contains predicate on the "windmill_path" field.

func WindmillPathContainsFold

func WindmillPathContainsFold(v string) predicate.JobTemplate

WindmillPathContainsFold applies the ContainsFold predicate on the "windmill_path" field.

func WindmillPathEQ

func WindmillPathEQ(v string) predicate.JobTemplate

WindmillPathEQ applies the EQ predicate on the "windmill_path" field.

func WindmillPathEqualFold

func WindmillPathEqualFold(v string) predicate.JobTemplate

WindmillPathEqualFold applies the EqualFold predicate on the "windmill_path" field.

func WindmillPathGT

func WindmillPathGT(v string) predicate.JobTemplate

WindmillPathGT applies the GT predicate on the "windmill_path" field.

func WindmillPathGTE

func WindmillPathGTE(v string) predicate.JobTemplate

WindmillPathGTE applies the GTE predicate on the "windmill_path" field.

func WindmillPathHasPrefix

func WindmillPathHasPrefix(v string) predicate.JobTemplate

WindmillPathHasPrefix applies the HasPrefix predicate on the "windmill_path" field.

func WindmillPathHasSuffix

func WindmillPathHasSuffix(v string) predicate.JobTemplate

WindmillPathHasSuffix applies the HasSuffix predicate on the "windmill_path" field.

func WindmillPathIn

func WindmillPathIn(vs ...string) predicate.JobTemplate

WindmillPathIn applies the In predicate on the "windmill_path" field.

func WindmillPathIsNil

func WindmillPathIsNil() predicate.JobTemplate

WindmillPathIsNil applies the IsNil predicate on the "windmill_path" field.

func WindmillPathLT

func WindmillPathLT(v string) predicate.JobTemplate

WindmillPathLT applies the LT predicate on the "windmill_path" field.

func WindmillPathLTE

func WindmillPathLTE(v string) predicate.JobTemplate

WindmillPathLTE applies the LTE predicate on the "windmill_path" field.

func WindmillPathNEQ

func WindmillPathNEQ(v string) predicate.JobTemplate

WindmillPathNEQ applies the NEQ predicate on the "windmill_path" field.

func WindmillPathNotIn

func WindmillPathNotIn(vs ...string) predicate.JobTemplate

WindmillPathNotIn applies the NotIn predicate on the "windmill_path" field.

func WindmillPathNotNil

func WindmillPathNotNil() predicate.JobTemplate

WindmillPathNotNil applies the NotNil predicate on the "windmill_path" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the JobTemplate 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 ByCron

func ByCron(opts ...sql.OrderTermOption) OrderOption

ByCron orders the results by the cron 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 ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByDisplayID

func ByDisplayID(opts ...sql.OrderTermOption) OrderOption

ByDisplayID orders the results by the display_id field.

func ByDownloadURL

func ByDownloadURL(opts ...sql.OrderTermOption) OrderOption

ByDownloadURL orders the results by the download_url field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInternalNotes added in v0.34.0

func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption

ByInternalNotes orders the results by the internal_notes 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 ByPlatform

func ByPlatform(opts ...sql.OrderTermOption) OrderOption

ByPlatform orders the results by the platform field.

func ByScheduledJobs

func ByScheduledJobs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByScheduledJobs orders the results by scheduled_jobs terms.

func ByScheduledJobsCount

func ByScheduledJobsCount(opts ...sql.OrderTermOption) OrderOption

ByScheduledJobsCount orders the results by scheduled_jobs count.

func BySystemInternalID added in v0.34.0

func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned

func BySystemOwned(opts ...sql.OrderTermOption) OrderOption

BySystemOwned orders the results by the system_owned field.

func ByTitle

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the title 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 ByWindmillPath

func ByWindmillPath(opts ...sql.OrderTermOption) OrderOption

ByWindmillPath orders the results by the windmill_path field.

Jump to

Keyboard shortcuts

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