agent

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agent type in the database.
	Label = "agent"
	// 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"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldComment holds the string denoting the comment field in the database.
	FieldComment = "comment"
	// FieldOs holds the string denoting the os field in the database.
	FieldOs = "os"
	// FieldArch holds the string denoting the arch field in the database.
	FieldArch = "arch"
	// FieldServers holds the string denoting the servers field in the database.
	FieldServers = "servers"
	// FieldShared holds the string denoting the shared field in the database.
	FieldShared = "shared"
	// FieldPie holds the string denoting the pie field in the database.
	FieldPie = "pie"
	// FieldGarble holds the string denoting the garble field in the database.
	FieldGarble = "garble"
	// FieldSubsystems holds the string denoting the subsystems field in the database.
	FieldSubsystems = "subsystems"
	// FieldXxhash holds the string denoting the xxhash field in the database.
	FieldXxhash = "xxhash"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldHosted holds the string denoting the hosted field in the database.
	FieldHosted = "hosted"
	// FieldCallbacks holds the string denoting the callbacks field in the database.
	FieldCallbacks = "callbacks"
	// FieldDownloads holds the string denoting the downloads field in the database.
	FieldDownloads = "downloads"
	// FieldPublicKey holds the string denoting the public_key field in the database.
	FieldPublicKey = "public_key"
	// Table holds the table name of the agent in the database.
	Table = "agents"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// OsValidator is a validator for the "os" field. It is called by the builders before save.
	OsValidator func(string) error
	// ArchValidator is a validator for the "arch" field. It is called by the builders before save.
	ArchValidator func(string) error
	// DefaultShared holds the default value on creation for the "shared" field.
	DefaultShared bool
	// DefaultPie holds the default value on creation for the "pie" field.
	DefaultPie bool
	// DefaultGarble holds the default value on creation for the "garble" field.
	DefaultGarble bool
	// DefaultSubsystems holds the default value on creation for the "subsystems" field.
	DefaultSubsystems []string
	// XxhashValidator is a validator for the "xxhash" field. It is called by the builders before save.
	XxhashValidator func(string) error
	// PathValidator is a validator for the "path" field. It is called by the builders before save.
	PathValidator func(string) error
	// DefaultHosted holds the default value on creation for the "hosted" field.
	DefaultHosted bool
	// DefaultCallbacks holds the default value on creation for the "callbacks" field.
	DefaultCallbacks int
	// DefaultDownloads holds the default value on creation for the "downloads" field.
	DefaultDownloads int
	// PublicKeyValidator is a validator for the "public_key" field. It is called by the builders before save.
	PublicKeyValidator func([]byte) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for agent fields.

Functions

func And

func And(predicates ...predicate.Agent) predicate.Agent

And groups predicates with the AND operator between them.

func Arch

func Arch(v string) predicate.Agent

Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.

func ArchContains

func ArchContains(v string) predicate.Agent

ArchContains applies the Contains predicate on the "arch" field.

func ArchContainsFold

func ArchContainsFold(v string) predicate.Agent

ArchContainsFold applies the ContainsFold predicate on the "arch" field.

func ArchEQ

func ArchEQ(v string) predicate.Agent

ArchEQ applies the EQ predicate on the "arch" field.

func ArchEqualFold

func ArchEqualFold(v string) predicate.Agent

ArchEqualFold applies the EqualFold predicate on the "arch" field.

func ArchGT

func ArchGT(v string) predicate.Agent

ArchGT applies the GT predicate on the "arch" field.

func ArchGTE

func ArchGTE(v string) predicate.Agent

ArchGTE applies the GTE predicate on the "arch" field.

func ArchHasPrefix

func ArchHasPrefix(v string) predicate.Agent

ArchHasPrefix applies the HasPrefix predicate on the "arch" field.

func ArchHasSuffix

func ArchHasSuffix(v string) predicate.Agent

ArchHasSuffix applies the HasSuffix predicate on the "arch" field.

func ArchIn

func ArchIn(vs ...string) predicate.Agent

ArchIn applies the In predicate on the "arch" field.

func ArchLT

func ArchLT(v string) predicate.Agent

ArchLT applies the LT predicate on the "arch" field.

func ArchLTE

func ArchLTE(v string) predicate.Agent

ArchLTE applies the LTE predicate on the "arch" field.

func ArchNEQ

func ArchNEQ(v string) predicate.Agent

ArchNEQ applies the NEQ predicate on the "arch" field.

func ArchNotIn

func ArchNotIn(vs ...string) predicate.Agent

ArchNotIn applies the NotIn predicate on the "arch" field.

func Callbacks

func Callbacks(v int) predicate.Agent

Callbacks applies equality check predicate on the "callbacks" field. It's identical to CallbacksEQ.

func CallbacksEQ

func CallbacksEQ(v int) predicate.Agent

CallbacksEQ applies the EQ predicate on the "callbacks" field.

func CallbacksGT

func CallbacksGT(v int) predicate.Agent

CallbacksGT applies the GT predicate on the "callbacks" field.

func CallbacksGTE

func CallbacksGTE(v int) predicate.Agent

CallbacksGTE applies the GTE predicate on the "callbacks" field.

func CallbacksIn

func CallbacksIn(vs ...int) predicate.Agent

CallbacksIn applies the In predicate on the "callbacks" field.

func CallbacksLT

func CallbacksLT(v int) predicate.Agent

CallbacksLT applies the LT predicate on the "callbacks" field.

func CallbacksLTE

func CallbacksLTE(v int) predicate.Agent

CallbacksLTE applies the LTE predicate on the "callbacks" field.

func CallbacksNEQ

func CallbacksNEQ(v int) predicate.Agent

CallbacksNEQ applies the NEQ predicate on the "callbacks" field.

func CallbacksNotIn

func CallbacksNotIn(vs ...int) predicate.Agent

CallbacksNotIn applies the NotIn predicate on the "callbacks" field.

func Comment

func Comment(v string) predicate.Agent

Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.

func CommentContains

func CommentContains(v string) predicate.Agent

CommentContains applies the Contains predicate on the "comment" field.

func CommentContainsFold

func CommentContainsFold(v string) predicate.Agent

CommentContainsFold applies the ContainsFold predicate on the "comment" field.

func CommentEQ

func CommentEQ(v string) predicate.Agent

CommentEQ applies the EQ predicate on the "comment" field.

func CommentEqualFold

func CommentEqualFold(v string) predicate.Agent

CommentEqualFold applies the EqualFold predicate on the "comment" field.

func CommentGT

func CommentGT(v string) predicate.Agent

CommentGT applies the GT predicate on the "comment" field.

func CommentGTE

func CommentGTE(v string) predicate.Agent

CommentGTE applies the GTE predicate on the "comment" field.

func CommentHasPrefix

func CommentHasPrefix(v string) predicate.Agent

CommentHasPrefix applies the HasPrefix predicate on the "comment" field.

func CommentHasSuffix

func CommentHasSuffix(v string) predicate.Agent

CommentHasSuffix applies the HasSuffix predicate on the "comment" field.

func CommentIn

func CommentIn(vs ...string) predicate.Agent

CommentIn applies the In predicate on the "comment" field.

func CommentIsNil

func CommentIsNil() predicate.Agent

CommentIsNil applies the IsNil predicate on the "comment" field.

func CommentLT

func CommentLT(v string) predicate.Agent

CommentLT applies the LT predicate on the "comment" field.

func CommentLTE

func CommentLTE(v string) predicate.Agent

CommentLTE applies the LTE predicate on the "comment" field.

func CommentNEQ

func CommentNEQ(v string) predicate.Agent

CommentNEQ applies the NEQ predicate on the "comment" field.

func CommentNotIn

func CommentNotIn(vs ...string) predicate.Agent

CommentNotIn applies the NotIn predicate on the "comment" field.

func CommentNotNil

func CommentNotNil() predicate.Agent

CommentNotNil applies the NotNil predicate on the "comment" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Agent

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Agent

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Agent

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Agent

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Agent

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Agent

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Agent

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

func CreatedAtNotIn

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

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

func Downloads

func Downloads(v int) predicate.Agent

Downloads applies equality check predicate on the "downloads" field. It's identical to DownloadsEQ.

func DownloadsEQ

func DownloadsEQ(v int) predicate.Agent

DownloadsEQ applies the EQ predicate on the "downloads" field.

func DownloadsGT

func DownloadsGT(v int) predicate.Agent

DownloadsGT applies the GT predicate on the "downloads" field.

func DownloadsGTE

func DownloadsGTE(v int) predicate.Agent

DownloadsGTE applies the GTE predicate on the "downloads" field.

func DownloadsIn

func DownloadsIn(vs ...int) predicate.Agent

DownloadsIn applies the In predicate on the "downloads" field.

func DownloadsLT

func DownloadsLT(v int) predicate.Agent

DownloadsLT applies the LT predicate on the "downloads" field.

func DownloadsLTE

func DownloadsLTE(v int) predicate.Agent

DownloadsLTE applies the LTE predicate on the "downloads" field.

func DownloadsNEQ

func DownloadsNEQ(v int) predicate.Agent

DownloadsNEQ applies the NEQ predicate on the "downloads" field.

func DownloadsNotIn

func DownloadsNotIn(vs ...int) predicate.Agent

DownloadsNotIn applies the NotIn predicate on the "downloads" field.

func Garble

func Garble(v bool) predicate.Agent

Garble applies equality check predicate on the "garble" field. It's identical to GarbleEQ.

func GarbleEQ

func GarbleEQ(v bool) predicate.Agent

GarbleEQ applies the EQ predicate on the "garble" field.

func GarbleNEQ

func GarbleNEQ(v bool) predicate.Agent

GarbleNEQ applies the NEQ predicate on the "garble" field.

func Hosted

func Hosted(v bool) predicate.Agent

Hosted applies equality check predicate on the "hosted" field. It's identical to HostedEQ.

func HostedEQ

func HostedEQ(v bool) predicate.Agent

HostedEQ applies the EQ predicate on the "hosted" field.

func HostedNEQ

func HostedNEQ(v bool) predicate.Agent

HostedNEQ applies the NEQ predicate on the "hosted" field.

func ID

func ID(id string) predicate.Agent

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Agent

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Agent

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Agent

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Agent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Agent

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Agent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Agent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Agent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Agent

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

func NameContains

func NameContains(v string) predicate.Agent

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

func NameContainsFold

func NameContainsFold(v string) predicate.Agent

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

func NameEQ

func NameEQ(v string) predicate.Agent

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

func NameEqualFold

func NameEqualFold(v string) predicate.Agent

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

func NameGT

func NameGT(v string) predicate.Agent

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

func NameGTE

func NameGTE(v string) predicate.Agent

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Agent

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Agent

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Agent

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

func NameLTE

func NameLTE(v string) predicate.Agent

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

func NameNEQ

func NameNEQ(v string) predicate.Agent

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

func NameNotIn

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

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

Or groups predicates with the OR operator between them.

func Os

func Os(v string) predicate.Agent

Os applies equality check predicate on the "os" field. It's identical to OsEQ.

func OsContains

func OsContains(v string) predicate.Agent

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

func OsContainsFold

func OsContainsFold(v string) predicate.Agent

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

func OsEQ

func OsEQ(v string) predicate.Agent

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

func OsEqualFold

func OsEqualFold(v string) predicate.Agent

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

func OsGT

func OsGT(v string) predicate.Agent

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

func OsGTE

func OsGTE(v string) predicate.Agent

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

func OsHasPrefix

func OsHasPrefix(v string) predicate.Agent

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

func OsHasSuffix

func OsHasSuffix(v string) predicate.Agent

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

func OsIn

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

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

func OsLT

func OsLT(v string) predicate.Agent

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

func OsLTE

func OsLTE(v string) predicate.Agent

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

func OsNEQ

func OsNEQ(v string) predicate.Agent

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

func OsNotIn

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

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

func Path

func Path(v string) predicate.Agent

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.Agent

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.Agent

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.Agent

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.Agent

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.Agent

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.Agent

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.Agent

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.Agent

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.Agent

PathIn applies the In predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.Agent

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.Agent

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.Agent

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.Agent

PathNotIn applies the NotIn predicate on the "path" field.

func Pie

func Pie(v bool) predicate.Agent

Pie applies equality check predicate on the "pie" field. It's identical to PieEQ.

func PieEQ

func PieEQ(v bool) predicate.Agent

PieEQ applies the EQ predicate on the "pie" field.

func PieNEQ

func PieNEQ(v bool) predicate.Agent

PieNEQ applies the NEQ predicate on the "pie" field.

func PublicKey

func PublicKey(v []byte) predicate.Agent

PublicKey applies equality check predicate on the "public_key" field. It's identical to PublicKeyEQ.

func PublicKeyEQ

func PublicKeyEQ(v []byte) predicate.Agent

PublicKeyEQ applies the EQ predicate on the "public_key" field.

func PublicKeyGT

func PublicKeyGT(v []byte) predicate.Agent

PublicKeyGT applies the GT predicate on the "public_key" field.

func PublicKeyGTE

func PublicKeyGTE(v []byte) predicate.Agent

PublicKeyGTE applies the GTE predicate on the "public_key" field.

func PublicKeyIn

func PublicKeyIn(vs ...[]byte) predicate.Agent

PublicKeyIn applies the In predicate on the "public_key" field.

func PublicKeyLT

func PublicKeyLT(v []byte) predicate.Agent

PublicKeyLT applies the LT predicate on the "public_key" field.

func PublicKeyLTE

func PublicKeyLTE(v []byte) predicate.Agent

PublicKeyLTE applies the LTE predicate on the "public_key" field.

func PublicKeyNEQ

func PublicKeyNEQ(v []byte) predicate.Agent

PublicKeyNEQ applies the NEQ predicate on the "public_key" field.

func PublicKeyNotIn

func PublicKeyNotIn(vs ...[]byte) predicate.Agent

PublicKeyNotIn applies the NotIn predicate on the "public_key" field.

func Shared

func Shared(v bool) predicate.Agent

Shared applies equality check predicate on the "shared" field. It's identical to SharedEQ.

func SharedEQ

func SharedEQ(v bool) predicate.Agent

SharedEQ applies the EQ predicate on the "shared" field.

func SharedNEQ

func SharedNEQ(v bool) predicate.Agent

SharedNEQ applies the NEQ predicate on the "shared" field.

func URL

func URL(v string) predicate.Agent

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Agent

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Agent

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Agent

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Agent

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Agent

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Agent

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Agent

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Agent

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Agent

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.Agent

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Agent

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Agent

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Agent

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Agent

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.Agent

URLNotNil applies the NotNil predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Xxhash

func Xxhash(v string) predicate.Agent

Xxhash applies equality check predicate on the "xxhash" field. It's identical to XxhashEQ.

func XxhashContains

func XxhashContains(v string) predicate.Agent

XxhashContains applies the Contains predicate on the "xxhash" field.

func XxhashContainsFold

func XxhashContainsFold(v string) predicate.Agent

XxhashContainsFold applies the ContainsFold predicate on the "xxhash" field.

func XxhashEQ

func XxhashEQ(v string) predicate.Agent

XxhashEQ applies the EQ predicate on the "xxhash" field.

func XxhashEqualFold

func XxhashEqualFold(v string) predicate.Agent

XxhashEqualFold applies the EqualFold predicate on the "xxhash" field.

func XxhashGT

func XxhashGT(v string) predicate.Agent

XxhashGT applies the GT predicate on the "xxhash" field.

func XxhashGTE

func XxhashGTE(v string) predicate.Agent

XxhashGTE applies the GTE predicate on the "xxhash" field.

func XxhashHasPrefix

func XxhashHasPrefix(v string) predicate.Agent

XxhashHasPrefix applies the HasPrefix predicate on the "xxhash" field.

func XxhashHasSuffix

func XxhashHasSuffix(v string) predicate.Agent

XxhashHasSuffix applies the HasSuffix predicate on the "xxhash" field.

func XxhashIn

func XxhashIn(vs ...string) predicate.Agent

XxhashIn applies the In predicate on the "xxhash" field.

func XxhashLT

func XxhashLT(v string) predicate.Agent

XxhashLT applies the LT predicate on the "xxhash" field.

func XxhashLTE

func XxhashLTE(v string) predicate.Agent

XxhashLTE applies the LTE predicate on the "xxhash" field.

func XxhashNEQ

func XxhashNEQ(v string) predicate.Agent

XxhashNEQ applies the NEQ predicate on the "xxhash" field.

func XxhashNotIn

func XxhashNotIn(vs ...string) predicate.Agent

XxhashNotIn applies the NotIn predicate on the "xxhash" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Agent queries.

func ByArch

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

ByArch orders the results by the arch field.

func ByCallbacks

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

ByCallbacks orders the results by the callbacks field.

func ByComment

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

ByComment orders the results by the comment field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDownloads

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

ByDownloads orders the results by the downloads field.

func ByGarble

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

ByGarble orders the results by the garble field.

func ByHosted

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

ByHosted orders the results by the hosted field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByOs

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

ByOs orders the results by the os field.

func ByPath

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

ByPath orders the results by the path field.

func ByPie

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

ByPie orders the results by the pie field.

func ByShared

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

ByShared orders the results by the shared field.

func ByURL

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

ByURL orders the results by the url field.

func ByXxhash

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

ByXxhash orders the results by the xxhash field.

Jump to

Keyboard shortcuts

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