agent

package
v0.0.0-...-5f03dfb Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 4 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"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldOnline holds the string denoting the online field in the database.
	FieldOnline = "online"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldIpv4 holds the string denoting the ipv4 field in the database.
	FieldIpv4 = "ipv4"
	// FieldIpv6 holds the string denoting the ipv6 field in the database.
	FieldIpv6 = "ipv6"
	// FieldPublicIpv4 holds the string denoting the public_ipv4 field in the database.
	FieldPublicIpv4 = "public_ipv4"
	// FieldPublicIpv6 holds the string denoting the public_ipv6 field in the database.
	FieldPublicIpv6 = "public_ipv6"
	// FieldLastContact holds the string denoting the last_contact field in the database.
	FieldLastContact = "last_contact"
	// FieldDisabled holds the string denoting the disabled field in the database.
	FieldDisabled = "disabled"
	// FieldUUID holds the string denoting the uuid field in the database.
	FieldUUID = "uuid"
	// FieldMachineId holds the string denoting the machineid field in the database.
	FieldMachineId = "machine_id"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldClusterId holds the string denoting the clusterid field in the database.
	FieldClusterId = "cluster_id"
	// EdgeNode holds the string denoting the node edge name in mutations.
	EdgeNode = "node"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the agent in the database.
	Table = "agents"
	// NodeTable is the table that holds the node relation/edge.
	NodeTable = "nodes"
	// NodeInverseTable is the table name for the Node entity.
	// It exists in this package in order to avoid circular dependency with the "node" package.
	NodeInverseTable = "nodes"
	// NodeColumn is the table column denoting the node relation/edge.
	NodeColumn = "agent_node"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "agents"
	// OwnerInverseTable is the table name for the Cluster entity.
	// It exists in this package in order to avoid circular dependency with the "cluster" package.
	OwnerInverseTable = "clusters"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "cluster_agents"
)

Variables

View Source
var (
	// 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
	// DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
	DefaultDeletedAt func() time.Time
	// UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field.
	UpdateDefaultDeletedAt func() time.Time
	// VersionValidator is a validator for the "version" field. It is called by the builders before save.
	VersionValidator func(string) error
	// Ipv4Validator is a validator for the "ipv4" field. It is called by the builders before save.
	Ipv4Validator func(string) error
	// Ipv6Validator is a validator for the "ipv6" field. It is called by the builders before save.
	Ipv6Validator func(string) error
	// PublicIpv4Validator is a validator for the "public_ipv4" field. It is called by the builders before save.
	PublicIpv4Validator func(string) error
	// PublicIpv6Validator is a validator for the "public_ipv6" field. It is called by the builders before save.
	PublicIpv6Validator func(string) error
	// DefaultLastContact holds the default value on creation for the "last_contact" field.
	DefaultLastContact func() time.Time
	// UUIDValidator is a validator for the "uuid" field. It is called by the builders before save.
	UUIDValidator func(string) error
	// MachineIdValidator is a validator for the "machineId" field. It is called by the builders before save.
	MachineIdValidator func(string) error
)

Columns holds all SQL columns for agent fields.

View Source
var ForeignKeys = []string{
	"cluster_agents",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "agents" table and are not defined as standalone fields in the schema.

Functions

func And

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

And groups predicates with the AND operator between them.

func ClusterId

func ClusterId(v uint) predicate.Agent

ClusterId applies equality check predicate on the "clusterId" field. It's identical to ClusterIdEQ.

func ClusterIdEQ

func ClusterIdEQ(v uint) predicate.Agent

ClusterIdEQ applies the EQ predicate on the "clusterId" field.

func ClusterIdGT

func ClusterIdGT(v uint) predicate.Agent

ClusterIdGT applies the GT predicate on the "clusterId" field.

func ClusterIdGTE

func ClusterIdGTE(v uint) predicate.Agent

ClusterIdGTE applies the GTE predicate on the "clusterId" field.

func ClusterIdIn

func ClusterIdIn(vs ...uint) predicate.Agent

ClusterIdIn applies the In predicate on the "clusterId" field.

func ClusterIdLT

func ClusterIdLT(v uint) predicate.Agent

ClusterIdLT applies the LT predicate on the "clusterId" field.

func ClusterIdLTE

func ClusterIdLTE(v uint) predicate.Agent

ClusterIdLTE applies the LTE predicate on the "clusterId" field.

func ClusterIdNEQ

func ClusterIdNEQ(v uint) predicate.Agent

ClusterIdNEQ applies the NEQ predicate on the "clusterId" field.

func ClusterIdNotIn

func ClusterIdNotIn(vs ...uint) predicate.Agent

ClusterIdNotIn applies the NotIn predicate on the "clusterId" 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 DeletedAt

func DeletedAt(v time.Time) predicate.Agent

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Agent

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Agent

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Agent

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

func DeletedAtIn

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

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Agent

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Agent

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Agent

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

func DeletedAtNotIn

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

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

func Description

func Description(v string) predicate.Agent

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

func DescriptionContains

func DescriptionContains(v string) predicate.Agent

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Agent

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Agent

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Agent

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

func DescriptionGT

func DescriptionGT(v string) predicate.Agent

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Agent

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Agent

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Agent

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.Agent

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Agent

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Agent

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

func DescriptionNotIn

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

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

func Disabled

func Disabled(v bool) predicate.Agent

Disabled applies equality check predicate on the "disabled" field. It's identical to DisabledEQ.

func DisabledEQ

func DisabledEQ(v bool) predicate.Agent

DisabledEQ applies the EQ predicate on the "disabled" field.

func DisabledNEQ

func DisabledNEQ(v bool) predicate.Agent

DisabledNEQ applies the NEQ predicate on the "disabled" field.

func HasNode

func HasNode() predicate.Agent

HasNode applies the HasEdge predicate on the "node" edge.

func HasNodeWith

func HasNodeWith(preds ...predicate.Node) predicate.Agent

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

func HasOwner

func HasOwner() predicate.Agent

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

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Cluster) predicate.Agent

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

func ID

func ID(id uint) predicate.Agent

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint) predicate.Agent

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint) predicate.Agent

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint) predicate.Agent

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint) predicate.Agent

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint) predicate.Agent

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint) predicate.Agent

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Ipv4

func Ipv4(v string) predicate.Agent

Ipv4 applies equality check predicate on the "ipv4" field. It's identical to Ipv4EQ.

func Ipv4Contains

func Ipv4Contains(v string) predicate.Agent

Ipv4Contains applies the Contains predicate on the "ipv4" field.

func Ipv4ContainsFold

func Ipv4ContainsFold(v string) predicate.Agent

Ipv4ContainsFold applies the ContainsFold predicate on the "ipv4" field.

func Ipv4EQ

func Ipv4EQ(v string) predicate.Agent

Ipv4EQ applies the EQ predicate on the "ipv4" field.

func Ipv4EqualFold

func Ipv4EqualFold(v string) predicate.Agent

Ipv4EqualFold applies the EqualFold predicate on the "ipv4" field.

func Ipv4GT

func Ipv4GT(v string) predicate.Agent

Ipv4GT applies the GT predicate on the "ipv4" field.

func Ipv4GTE

func Ipv4GTE(v string) predicate.Agent

Ipv4GTE applies the GTE predicate on the "ipv4" field.

func Ipv4HasPrefix

func Ipv4HasPrefix(v string) predicate.Agent

Ipv4HasPrefix applies the HasPrefix predicate on the "ipv4" field.

func Ipv4HasSuffix

func Ipv4HasSuffix(v string) predicate.Agent

Ipv4HasSuffix applies the HasSuffix predicate on the "ipv4" field.

func Ipv4In

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

Ipv4In applies the In predicate on the "ipv4" field.

func Ipv4LT

func Ipv4LT(v string) predicate.Agent

Ipv4LT applies the LT predicate on the "ipv4" field.

func Ipv4LTE

func Ipv4LTE(v string) predicate.Agent

Ipv4LTE applies the LTE predicate on the "ipv4" field.

func Ipv4NEQ

func Ipv4NEQ(v string) predicate.Agent

Ipv4NEQ applies the NEQ predicate on the "ipv4" field.

func Ipv4NotIn

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

Ipv4NotIn applies the NotIn predicate on the "ipv4" field.

func Ipv6

func Ipv6(v string) predicate.Agent

Ipv6 applies equality check predicate on the "ipv6" field. It's identical to Ipv6EQ.

func Ipv6Contains

func Ipv6Contains(v string) predicate.Agent

Ipv6Contains applies the Contains predicate on the "ipv6" field.

func Ipv6ContainsFold

func Ipv6ContainsFold(v string) predicate.Agent

Ipv6ContainsFold applies the ContainsFold predicate on the "ipv6" field.

func Ipv6EQ

func Ipv6EQ(v string) predicate.Agent

Ipv6EQ applies the EQ predicate on the "ipv6" field.

func Ipv6EqualFold

func Ipv6EqualFold(v string) predicate.Agent

Ipv6EqualFold applies the EqualFold predicate on the "ipv6" field.

func Ipv6GT

func Ipv6GT(v string) predicate.Agent

Ipv6GT applies the GT predicate on the "ipv6" field.

func Ipv6GTE

func Ipv6GTE(v string) predicate.Agent

Ipv6GTE applies the GTE predicate on the "ipv6" field.

func Ipv6HasPrefix

func Ipv6HasPrefix(v string) predicate.Agent

Ipv6HasPrefix applies the HasPrefix predicate on the "ipv6" field.

func Ipv6HasSuffix

func Ipv6HasSuffix(v string) predicate.Agent

Ipv6HasSuffix applies the HasSuffix predicate on the "ipv6" field.

func Ipv6In

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

Ipv6In applies the In predicate on the "ipv6" field.

func Ipv6LT

func Ipv6LT(v string) predicate.Agent

Ipv6LT applies the LT predicate on the "ipv6" field.

func Ipv6LTE

func Ipv6LTE(v string) predicate.Agent

Ipv6LTE applies the LTE predicate on the "ipv6" field.

func Ipv6NEQ

func Ipv6NEQ(v string) predicate.Agent

Ipv6NEQ applies the NEQ predicate on the "ipv6" field.

func Ipv6NotIn

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

Ipv6NotIn applies the NotIn predicate on the "ipv6" field.

func LastContact

func LastContact(v time.Time) predicate.Agent

LastContact applies equality check predicate on the "last_contact" field. It's identical to LastContactEQ.

func LastContactEQ

func LastContactEQ(v time.Time) predicate.Agent

LastContactEQ applies the EQ predicate on the "last_contact" field.

func LastContactGT

func LastContactGT(v time.Time) predicate.Agent

LastContactGT applies the GT predicate on the "last_contact" field.

func LastContactGTE

func LastContactGTE(v time.Time) predicate.Agent

LastContactGTE applies the GTE predicate on the "last_contact" field.

func LastContactIn

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

LastContactIn applies the In predicate on the "last_contact" field.

func LastContactLT

func LastContactLT(v time.Time) predicate.Agent

LastContactLT applies the LT predicate on the "last_contact" field.

func LastContactLTE

func LastContactLTE(v time.Time) predicate.Agent

LastContactLTE applies the LTE predicate on the "last_contact" field.

func LastContactNEQ

func LastContactNEQ(v time.Time) predicate.Agent

LastContactNEQ applies the NEQ predicate on the "last_contact" field.

func LastContactNotIn

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

LastContactNotIn applies the NotIn predicate on the "last_contact" field.

func MachineId

func MachineId(v string) predicate.Agent

MachineId applies equality check predicate on the "machineId" field. It's identical to MachineIdEQ.

func MachineIdContains

func MachineIdContains(v string) predicate.Agent

MachineIdContains applies the Contains predicate on the "machineId" field.

func MachineIdContainsFold

func MachineIdContainsFold(v string) predicate.Agent

MachineIdContainsFold applies the ContainsFold predicate on the "machineId" field.

func MachineIdEQ

func MachineIdEQ(v string) predicate.Agent

MachineIdEQ applies the EQ predicate on the "machineId" field.

func MachineIdEqualFold

func MachineIdEqualFold(v string) predicate.Agent

MachineIdEqualFold applies the EqualFold predicate on the "machineId" field.

func MachineIdGT

func MachineIdGT(v string) predicate.Agent

MachineIdGT applies the GT predicate on the "machineId" field.

func MachineIdGTE

func MachineIdGTE(v string) predicate.Agent

MachineIdGTE applies the GTE predicate on the "machineId" field.

func MachineIdHasPrefix

func MachineIdHasPrefix(v string) predicate.Agent

MachineIdHasPrefix applies the HasPrefix predicate on the "machineId" field.

func MachineIdHasSuffix

func MachineIdHasSuffix(v string) predicate.Agent

MachineIdHasSuffix applies the HasSuffix predicate on the "machineId" field.

func MachineIdIn

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

MachineIdIn applies the In predicate on the "machineId" field.

func MachineIdLT

func MachineIdLT(v string) predicate.Agent

MachineIdLT applies the LT predicate on the "machineId" field.

func MachineIdLTE

func MachineIdLTE(v string) predicate.Agent

MachineIdLTE applies the LTE predicate on the "machineId" field.

func MachineIdNEQ

func MachineIdNEQ(v string) predicate.Agent

MachineIdNEQ applies the NEQ predicate on the "machineId" field.

func MachineIdNotIn

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

MachineIdNotIn applies the NotIn predicate on the "machineId" field.

func Not

Not applies the not operator on the given predicate.

func Online

func Online(v bool) predicate.Agent

Online applies equality check predicate on the "online" field. It's identical to OnlineEQ.

func OnlineEQ

func OnlineEQ(v bool) predicate.Agent

OnlineEQ applies the EQ predicate on the "online" field.

func OnlineNEQ

func OnlineNEQ(v bool) predicate.Agent

OnlineNEQ applies the NEQ predicate on the "online" field.

func Or

func Or(predicates ...predicate.Agent) predicate.Agent

Or groups predicates with the OR operator between them.

func PublicIpv4

func PublicIpv4(v string) predicate.Agent

PublicIpv4 applies equality check predicate on the "public_ipv4" field. It's identical to PublicIpv4EQ.

func PublicIpv4Contains

func PublicIpv4Contains(v string) predicate.Agent

PublicIpv4Contains applies the Contains predicate on the "public_ipv4" field.

func PublicIpv4ContainsFold

func PublicIpv4ContainsFold(v string) predicate.Agent

PublicIpv4ContainsFold applies the ContainsFold predicate on the "public_ipv4" field.

func PublicIpv4EQ

func PublicIpv4EQ(v string) predicate.Agent

PublicIpv4EQ applies the EQ predicate on the "public_ipv4" field.

func PublicIpv4EqualFold

func PublicIpv4EqualFold(v string) predicate.Agent

PublicIpv4EqualFold applies the EqualFold predicate on the "public_ipv4" field.

func PublicIpv4GT

func PublicIpv4GT(v string) predicate.Agent

PublicIpv4GT applies the GT predicate on the "public_ipv4" field.

func PublicIpv4GTE

func PublicIpv4GTE(v string) predicate.Agent

PublicIpv4GTE applies the GTE predicate on the "public_ipv4" field.

func PublicIpv4HasPrefix

func PublicIpv4HasPrefix(v string) predicate.Agent

PublicIpv4HasPrefix applies the HasPrefix predicate on the "public_ipv4" field.

func PublicIpv4HasSuffix

func PublicIpv4HasSuffix(v string) predicate.Agent

PublicIpv4HasSuffix applies the HasSuffix predicate on the "public_ipv4" field.

func PublicIpv4In

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

PublicIpv4In applies the In predicate on the "public_ipv4" field.

func PublicIpv4LT

func PublicIpv4LT(v string) predicate.Agent

PublicIpv4LT applies the LT predicate on the "public_ipv4" field.

func PublicIpv4LTE

func PublicIpv4LTE(v string) predicate.Agent

PublicIpv4LTE applies the LTE predicate on the "public_ipv4" field.

func PublicIpv4NEQ

func PublicIpv4NEQ(v string) predicate.Agent

PublicIpv4NEQ applies the NEQ predicate on the "public_ipv4" field.

func PublicIpv4NotIn

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

PublicIpv4NotIn applies the NotIn predicate on the "public_ipv4" field.

func PublicIpv6

func PublicIpv6(v string) predicate.Agent

PublicIpv6 applies equality check predicate on the "public_ipv6" field. It's identical to PublicIpv6EQ.

func PublicIpv6Contains

func PublicIpv6Contains(v string) predicate.Agent

PublicIpv6Contains applies the Contains predicate on the "public_ipv6" field.

func PublicIpv6ContainsFold

func PublicIpv6ContainsFold(v string) predicate.Agent

PublicIpv6ContainsFold applies the ContainsFold predicate on the "public_ipv6" field.

func PublicIpv6EQ

func PublicIpv6EQ(v string) predicate.Agent

PublicIpv6EQ applies the EQ predicate on the "public_ipv6" field.

func PublicIpv6EqualFold

func PublicIpv6EqualFold(v string) predicate.Agent

PublicIpv6EqualFold applies the EqualFold predicate on the "public_ipv6" field.

func PublicIpv6GT

func PublicIpv6GT(v string) predicate.Agent

PublicIpv6GT applies the GT predicate on the "public_ipv6" field.

func PublicIpv6GTE

func PublicIpv6GTE(v string) predicate.Agent

PublicIpv6GTE applies the GTE predicate on the "public_ipv6" field.

func PublicIpv6HasPrefix

func PublicIpv6HasPrefix(v string) predicate.Agent

PublicIpv6HasPrefix applies the HasPrefix predicate on the "public_ipv6" field.

func PublicIpv6HasSuffix

func PublicIpv6HasSuffix(v string) predicate.Agent

PublicIpv6HasSuffix applies the HasSuffix predicate on the "public_ipv6" field.

func PublicIpv6In

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

PublicIpv6In applies the In predicate on the "public_ipv6" field.

func PublicIpv6LT

func PublicIpv6LT(v string) predicate.Agent

PublicIpv6LT applies the LT predicate on the "public_ipv6" field.

func PublicIpv6LTE

func PublicIpv6LTE(v string) predicate.Agent

PublicIpv6LTE applies the LTE predicate on the "public_ipv6" field.

func PublicIpv6NEQ

func PublicIpv6NEQ(v string) predicate.Agent

PublicIpv6NEQ applies the NEQ predicate on the "public_ipv6" field.

func PublicIpv6NotIn

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

PublicIpv6NotIn applies the NotIn predicate on the "public_ipv6" field.

func UUID

func UUID(v string) predicate.Agent

UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.

func UUIDContains

func UUIDContains(v string) predicate.Agent

UUIDContains applies the Contains predicate on the "uuid" field.

func UUIDContainsFold

func UUIDContainsFold(v string) predicate.Agent

UUIDContainsFold applies the ContainsFold predicate on the "uuid" field.

func UUIDEQ

func UUIDEQ(v string) predicate.Agent

UUIDEQ applies the EQ predicate on the "uuid" field.

func UUIDEqualFold

func UUIDEqualFold(v string) predicate.Agent

UUIDEqualFold applies the EqualFold predicate on the "uuid" field.

func UUIDGT

func UUIDGT(v string) predicate.Agent

UUIDGT applies the GT predicate on the "uuid" field.

func UUIDGTE

func UUIDGTE(v string) predicate.Agent

UUIDGTE applies the GTE predicate on the "uuid" field.

func UUIDHasPrefix

func UUIDHasPrefix(v string) predicate.Agent

UUIDHasPrefix applies the HasPrefix predicate on the "uuid" field.

func UUIDHasSuffix

func UUIDHasSuffix(v string) predicate.Agent

UUIDHasSuffix applies the HasSuffix predicate on the "uuid" field.

func UUIDIn

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

UUIDIn applies the In predicate on the "uuid" field.

func UUIDLT

func UUIDLT(v string) predicate.Agent

UUIDLT applies the LT predicate on the "uuid" field.

func UUIDLTE

func UUIDLTE(v string) predicate.Agent

UUIDLTE applies the LTE predicate on the "uuid" field.

func UUIDNEQ

func UUIDNEQ(v string) predicate.Agent

UUIDNEQ applies the NEQ predicate on the "uuid" field.

func UUIDNotIn

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

UUIDNotIn applies the NotIn predicate on the "uuid" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Agent

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Agent

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Agent

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Agent

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Agent

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Agent

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Agent

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

func UpdatedAtNotIn

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

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

func Version

func Version(v string) predicate.Agent

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

func VersionContains

func VersionContains(v string) predicate.Agent

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.Agent

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

func VersionEQ

func VersionEQ(v string) predicate.Agent

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.Agent

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

func VersionGT

func VersionGT(v string) predicate.Agent

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

func VersionGTE

func VersionGTE(v string) predicate.Agent

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Agent

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Agent

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

func VersionIn

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

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

func VersionLT

func VersionLT(v string) predicate.Agent

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

func VersionLTE

func VersionLTE(v string) predicate.Agent

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

func VersionNEQ

func VersionNEQ(v string) predicate.Agent

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

func VersionNotIn

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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