proxytask

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxytask type in the database.
	Label = "proxy_task"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldScope holds the string denoting the scope field in the database.
	FieldScope = "scope"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldErrors holds the string denoting the errors field in the database.
	FieldErrors = "errors"
	// FieldTotal holds the string denoting the total field in the database.
	FieldTotal = "total"
	// FieldCurrent holds the string denoting the current field in the database.
	FieldCurrent = "current"
	// 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"
	// Table holds the table name of the proxytask in the database.
	Table = "task"
)

Variables

View Source
var (
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus int8
	// DefaultTotal holds the default value on creation for the "total" field.
	DefaultTotal uint32
	// DefaultCurrent holds the default value on creation for the "current" field.
	DefaultCurrent uint32
	// 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
)

Columns holds all SQL columns for proxytask fields.

Functions

func And

func And(predicates ...predicate.ProxyTask) predicate.ProxyTask

And groups predicates with the AND operator between them.

func Content

func Content(v string) predicate.ProxyTask

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.ProxyTask

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.ProxyTask

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.ProxyTask

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.ProxyTask

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.ProxyTask

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.ProxyTask

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.ProxyTask

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.ProxyTask

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.ProxyTask

ContentIn applies the In predicate on the "content" field.

func ContentIsNil

func ContentIsNil() predicate.ProxyTask

ContentIsNil applies the IsNil predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.ProxyTask

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.ProxyTask

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.ProxyTask

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.ProxyTask

ContentNotIn applies the NotIn predicate on the "content" field.

func ContentNotNil

func ContentNotNil() predicate.ProxyTask

ContentNotNil applies the NotNil predicate on the "content" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProxyTask

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProxyTask

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProxyTask

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProxyTask

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProxyTask

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProxyTask

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProxyTask

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

func CreatedAtNotIn

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

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

func Current

func Current(v uint32) predicate.ProxyTask

Current applies equality check predicate on the "current" field. It's identical to CurrentEQ.

func CurrentEQ

func CurrentEQ(v uint32) predicate.ProxyTask

CurrentEQ applies the EQ predicate on the "current" field.

func CurrentGT

func CurrentGT(v uint32) predicate.ProxyTask

CurrentGT applies the GT predicate on the "current" field.

func CurrentGTE

func CurrentGTE(v uint32) predicate.ProxyTask

CurrentGTE applies the GTE predicate on the "current" field.

func CurrentIn

func CurrentIn(vs ...uint32) predicate.ProxyTask

CurrentIn applies the In predicate on the "current" field.

func CurrentLT

func CurrentLT(v uint32) predicate.ProxyTask

CurrentLT applies the LT predicate on the "current" field.

func CurrentLTE

func CurrentLTE(v uint32) predicate.ProxyTask

CurrentLTE applies the LTE predicate on the "current" field.

func CurrentNEQ

func CurrentNEQ(v uint32) predicate.ProxyTask

CurrentNEQ applies the NEQ predicate on the "current" field.

func CurrentNotIn

func CurrentNotIn(vs ...uint32) predicate.ProxyTask

CurrentNotIn applies the NotIn predicate on the "current" field.

func Errors

func Errors(v string) predicate.ProxyTask

Errors applies equality check predicate on the "errors" field. It's identical to ErrorsEQ.

func ErrorsContains

func ErrorsContains(v string) predicate.ProxyTask

ErrorsContains applies the Contains predicate on the "errors" field.

func ErrorsContainsFold

func ErrorsContainsFold(v string) predicate.ProxyTask

ErrorsContainsFold applies the ContainsFold predicate on the "errors" field.

func ErrorsEQ

func ErrorsEQ(v string) predicate.ProxyTask

ErrorsEQ applies the EQ predicate on the "errors" field.

func ErrorsEqualFold

func ErrorsEqualFold(v string) predicate.ProxyTask

ErrorsEqualFold applies the EqualFold predicate on the "errors" field.

func ErrorsGT

func ErrorsGT(v string) predicate.ProxyTask

ErrorsGT applies the GT predicate on the "errors" field.

func ErrorsGTE

func ErrorsGTE(v string) predicate.ProxyTask

ErrorsGTE applies the GTE predicate on the "errors" field.

func ErrorsHasPrefix

func ErrorsHasPrefix(v string) predicate.ProxyTask

ErrorsHasPrefix applies the HasPrefix predicate on the "errors" field.

func ErrorsHasSuffix

func ErrorsHasSuffix(v string) predicate.ProxyTask

ErrorsHasSuffix applies the HasSuffix predicate on the "errors" field.

func ErrorsIn

func ErrorsIn(vs ...string) predicate.ProxyTask

ErrorsIn applies the In predicate on the "errors" field.

func ErrorsIsNil

func ErrorsIsNil() predicate.ProxyTask

ErrorsIsNil applies the IsNil predicate on the "errors" field.

func ErrorsLT

func ErrorsLT(v string) predicate.ProxyTask

ErrorsLT applies the LT predicate on the "errors" field.

func ErrorsLTE

func ErrorsLTE(v string) predicate.ProxyTask

ErrorsLTE applies the LTE predicate on the "errors" field.

func ErrorsNEQ

func ErrorsNEQ(v string) predicate.ProxyTask

ErrorsNEQ applies the NEQ predicate on the "errors" field.

func ErrorsNotIn

func ErrorsNotIn(vs ...string) predicate.ProxyTask

ErrorsNotIn applies the NotIn predicate on the "errors" field.

func ErrorsNotNil

func ErrorsNotNil() predicate.ProxyTask

ErrorsNotNil applies the NotNil predicate on the "errors" field.

func ID

func ID(id int64) predicate.ProxyTask

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.ProxyTask

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.ProxyTask

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.ProxyTask

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.ProxyTask

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.ProxyTask

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.ProxyTask

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.ProxyTask

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.ProxyTask

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ProxyTask) predicate.ProxyTask

Or groups predicates with the OR operator between them.

func Scope

func Scope(v string) predicate.ProxyTask

Scope applies equality check predicate on the "scope" field. It's identical to ScopeEQ.

func ScopeContains

func ScopeContains(v string) predicate.ProxyTask

ScopeContains applies the Contains predicate on the "scope" field.

func ScopeContainsFold

func ScopeContainsFold(v string) predicate.ProxyTask

ScopeContainsFold applies the ContainsFold predicate on the "scope" field.

func ScopeEQ

func ScopeEQ(v string) predicate.ProxyTask

ScopeEQ applies the EQ predicate on the "scope" field.

func ScopeEqualFold

func ScopeEqualFold(v string) predicate.ProxyTask

ScopeEqualFold applies the EqualFold predicate on the "scope" field.

func ScopeGT

func ScopeGT(v string) predicate.ProxyTask

ScopeGT applies the GT predicate on the "scope" field.

func ScopeGTE

func ScopeGTE(v string) predicate.ProxyTask

ScopeGTE applies the GTE predicate on the "scope" field.

func ScopeHasPrefix

func ScopeHasPrefix(v string) predicate.ProxyTask

ScopeHasPrefix applies the HasPrefix predicate on the "scope" field.

func ScopeHasSuffix

func ScopeHasSuffix(v string) predicate.ProxyTask

ScopeHasSuffix applies the HasSuffix predicate on the "scope" field.

func ScopeIn

func ScopeIn(vs ...string) predicate.ProxyTask

ScopeIn applies the In predicate on the "scope" field.

func ScopeIsNil

func ScopeIsNil() predicate.ProxyTask

ScopeIsNil applies the IsNil predicate on the "scope" field.

func ScopeLT

func ScopeLT(v string) predicate.ProxyTask

ScopeLT applies the LT predicate on the "scope" field.

func ScopeLTE

func ScopeLTE(v string) predicate.ProxyTask

ScopeLTE applies the LTE predicate on the "scope" field.

func ScopeNEQ

func ScopeNEQ(v string) predicate.ProxyTask

ScopeNEQ applies the NEQ predicate on the "scope" field.

func ScopeNotIn

func ScopeNotIn(vs ...string) predicate.ProxyTask

ScopeNotIn applies the NotIn predicate on the "scope" field.

func ScopeNotNil

func ScopeNotNil() predicate.ProxyTask

ScopeNotNil applies the NotNil predicate on the "scope" field.

func Status

func Status(v int8) predicate.ProxyTask

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int8) predicate.ProxyTask

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int8) predicate.ProxyTask

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int8) predicate.ProxyTask

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int8) predicate.ProxyTask

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v int8) predicate.ProxyTask

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int8) predicate.ProxyTask

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int8) predicate.ProxyTask

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int8) predicate.ProxyTask

StatusNotIn applies the NotIn predicate on the "status" field.

func Total

func Total(v uint32) predicate.ProxyTask

Total applies equality check predicate on the "total" field. It's identical to TotalEQ.

func TotalEQ

func TotalEQ(v uint32) predicate.ProxyTask

TotalEQ applies the EQ predicate on the "total" field.

func TotalGT

func TotalGT(v uint32) predicate.ProxyTask

TotalGT applies the GT predicate on the "total" field.

func TotalGTE

func TotalGTE(v uint32) predicate.ProxyTask

TotalGTE applies the GTE predicate on the "total" field.

func TotalIn

func TotalIn(vs ...uint32) predicate.ProxyTask

TotalIn applies the In predicate on the "total" field.

func TotalLT

func TotalLT(v uint32) predicate.ProxyTask

TotalLT applies the LT predicate on the "total" field.

func TotalLTE

func TotalLTE(v uint32) predicate.ProxyTask

TotalLTE applies the LTE predicate on the "total" field.

func TotalNEQ

func TotalNEQ(v uint32) predicate.ProxyTask

TotalNEQ applies the NEQ predicate on the "total" field.

func TotalNotIn

func TotalNotIn(vs ...uint32) predicate.ProxyTask

TotalNotIn applies the NotIn predicate on the "total" field.

func Type

func Type(v int8) predicate.ProxyTask

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeEQ

func TypeEQ(v int8) predicate.ProxyTask

TypeEQ applies the EQ predicate on the "type" field.

func TypeGT

func TypeGT(v int8) predicate.ProxyTask

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v int8) predicate.ProxyTask

TypeGTE applies the GTE predicate on the "type" field.

func TypeIn

func TypeIn(vs ...int8) predicate.ProxyTask

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v int8) predicate.ProxyTask

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v int8) predicate.ProxyTask

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v int8) predicate.ProxyTask

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...int8) predicate.ProxyTask

TypeNotIn applies the NotIn predicate on the "type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProxyTask

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProxyTask

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProxyTask

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProxyTask

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProxyTask

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProxyTask

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProxyTask

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ProxyTask queries.

func ByContent

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

ByContent orders the results by the content field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCurrent

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

ByCurrent orders the results by the current field.

func ByErrors

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

ByErrors orders the results by the errors field.

func ByID

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

ByID orders the results by the id field.

func ByScope

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

ByScope orders the results by the scope field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTotal

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

ByTotal orders the results by the total field.

func ByType

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

ByType orders the results by the type field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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