node

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 node type in the database.
	Label = "node"
	// 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"
	// FieldHost holds the string denoting the host field in the database.
	FieldHost = "host"
	// 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"
	// FieldOs holds the string denoting the os field in the database.
	FieldOs = "os"
	// FieldPlatform holds the string denoting the platform field in the database.
	FieldPlatform = "platform"
	// FieldPlatformFamily holds the string denoting the platformfamily field in the database.
	FieldPlatformFamily = "platform_family"
	// FieldInfo holds the string denoting the info field in the database.
	FieldInfo = "info"
	// FieldUUID holds the string denoting the uuid field in the database.
	FieldUUID = "uuid"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldDisabled holds the string denoting the disabled field in the database.
	FieldDisabled = "disabled"
	// FieldAgentId holds the string denoting the agentid field in the database.
	FieldAgentId = "agent_id"
	// FieldClusterId holds the string denoting the clusterid field in the database.
	FieldClusterId = "cluster_id"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeContainers holds the string denoting the containers edge name in mutations.
	EdgeContainers = "containers"
	// EdgeProcess holds the string denoting the process edge name in mutations.
	EdgeProcess = "process"
	// Table holds the table name of the node in the database.
	Table = "nodes"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "nodes"
	// 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_nodes"
	// ContainersTable is the table that holds the containers relation/edge.
	ContainersTable = "containers"
	// ContainersInverseTable is the table name for the Container entity.
	// It exists in this package in order to avoid circular dependency with the "container" package.
	ContainersInverseTable = "containers"
	// ContainersColumn is the table column denoting the containers relation/edge.
	ContainersColumn = "node_containers"
	// ProcessTable is the table that holds the process relation/edge.
	ProcessTable = "process"
	// ProcessInverseTable is the table name for the Proces entity.
	// It exists in this package in order to avoid circular dependency with the "proces" package.
	ProcessInverseTable = "process"
	// ProcessColumn is the table column denoting the process relation/edge.
	ProcessColumn = "node_process"
)

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
	// HostValidator is a validator for the "host" field. It is called by the builders before save.
	HostValidator 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
	// OsValidator is a validator for the "os" field. It is called by the builders before save.
	OsValidator func(string) error
	// PlatformValidator is a validator for the "platform" field. It is called by the builders before save.
	PlatformValidator func(string) error
	// PlatformFamilyValidator is a validator for the "platformFamily" field. It is called by the builders before save.
	PlatformFamilyValidator func(string) error
)

Columns holds all SQL columns for node fields.

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

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

Functions

func AgentId

func AgentId(v uint) predicate.Node

AgentId applies equality check predicate on the "agentId" field. It's identical to AgentIdEQ.

func AgentIdEQ

func AgentIdEQ(v uint) predicate.Node

AgentIdEQ applies the EQ predicate on the "agentId" field.

func AgentIdGT

func AgentIdGT(v uint) predicate.Node

AgentIdGT applies the GT predicate on the "agentId" field.

func AgentIdGTE

func AgentIdGTE(v uint) predicate.Node

AgentIdGTE applies the GTE predicate on the "agentId" field.

func AgentIdIn

func AgentIdIn(vs ...uint) predicate.Node

AgentIdIn applies the In predicate on the "agentId" field.

func AgentIdLT

func AgentIdLT(v uint) predicate.Node

AgentIdLT applies the LT predicate on the "agentId" field.

func AgentIdLTE

func AgentIdLTE(v uint) predicate.Node

AgentIdLTE applies the LTE predicate on the "agentId" field.

func AgentIdNEQ

func AgentIdNEQ(v uint) predicate.Node

AgentIdNEQ applies the NEQ predicate on the "agentId" field.

func AgentIdNotIn

func AgentIdNotIn(vs ...uint) predicate.Node

AgentIdNotIn applies the NotIn predicate on the "agentId" field.

func And

func And(predicates ...predicate.Node) predicate.Node

And groups predicates with the AND operator between them.

func ClusterId

func ClusterId(v uint) predicate.Node

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

func ClusterIdEQ

func ClusterIdEQ(v uint) predicate.Node

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

func ClusterIdGT

func ClusterIdGT(v uint) predicate.Node

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

func ClusterIdGTE

func ClusterIdGTE(v uint) predicate.Node

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

func ClusterIdIn

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

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

func ClusterIdLT

func ClusterIdLT(v uint) predicate.Node

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

func ClusterIdLTE

func ClusterIdLTE(v uint) predicate.Node

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

func ClusterIdNEQ

func ClusterIdNEQ(v uint) predicate.Node

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

func ClusterIdNotIn

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

ClusterIdNotIn applies the NotIn predicate on the "clusterId" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Node

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Node

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Node

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Node

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Node

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Node

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Node

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Node

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Node

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Node

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Node

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

func DeletedAtIn

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

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Node

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Node

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Node

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

func DeletedAtNotIn

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

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

func Description

func Description(v string) predicate.Node

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

func DescriptionContains

func DescriptionContains(v string) predicate.Node

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Node

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Node

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Node

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

func DescriptionGT

func DescriptionGT(v string) predicate.Node

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Node

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Node

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Node

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.Node

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Node

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Node

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

func DescriptionNotIn

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

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

func Disabled

func Disabled(v bool) predicate.Node

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

func DisabledEQ

func DisabledEQ(v bool) predicate.Node

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

func DisabledNEQ

func DisabledNEQ(v bool) predicate.Node

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

func HasContainers

func HasContainers() predicate.Node

HasContainers applies the HasEdge predicate on the "containers" edge.

func HasContainersWith

func HasContainersWith(preds ...predicate.Container) predicate.Node

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

func HasOwner

func HasOwner() predicate.Node

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

func HasOwnerWith

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

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

func HasProcess

func HasProcess() predicate.Node

HasProcess applies the HasEdge predicate on the "process" edge.

func HasProcessWith

func HasProcessWith(preds ...predicate.Proces) predicate.Node

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

func Host

func Host(v string) predicate.Node

Host applies equality check predicate on the "host" field. It's identical to HostEQ.

func HostContains

func HostContains(v string) predicate.Node

HostContains applies the Contains predicate on the "host" field.

func HostContainsFold

func HostContainsFold(v string) predicate.Node

HostContainsFold applies the ContainsFold predicate on the "host" field.

func HostEQ

func HostEQ(v string) predicate.Node

HostEQ applies the EQ predicate on the "host" field.

func HostEqualFold

func HostEqualFold(v string) predicate.Node

HostEqualFold applies the EqualFold predicate on the "host" field.

func HostGT

func HostGT(v string) predicate.Node

HostGT applies the GT predicate on the "host" field.

func HostGTE

func HostGTE(v string) predicate.Node

HostGTE applies the GTE predicate on the "host" field.

func HostHasPrefix

func HostHasPrefix(v string) predicate.Node

HostHasPrefix applies the HasPrefix predicate on the "host" field.

func HostHasSuffix

func HostHasSuffix(v string) predicate.Node

HostHasSuffix applies the HasSuffix predicate on the "host" field.

func HostIn

func HostIn(vs ...string) predicate.Node

HostIn applies the In predicate on the "host" field.

func HostLT

func HostLT(v string) predicate.Node

HostLT applies the LT predicate on the "host" field.

func HostLTE

func HostLTE(v string) predicate.Node

HostLTE applies the LTE predicate on the "host" field.

func HostNEQ

func HostNEQ(v string) predicate.Node

HostNEQ applies the NEQ predicate on the "host" field.

func HostNotIn

func HostNotIn(vs ...string) predicate.Node

HostNotIn applies the NotIn predicate on the "host" field.

func ID

func ID(id uint) predicate.Node

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint) predicate.Node

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint) predicate.Node

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint) predicate.Node

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint) predicate.Node

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint) predicate.Node

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint) predicate.Node

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Ipv4

func Ipv4(v string) predicate.Node

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

func Ipv4Contains

func Ipv4Contains(v string) predicate.Node

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

func Ipv4ContainsFold

func Ipv4ContainsFold(v string) predicate.Node

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

func Ipv4EQ

func Ipv4EQ(v string) predicate.Node

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

func Ipv4EqualFold

func Ipv4EqualFold(v string) predicate.Node

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

func Ipv4GT

func Ipv4GT(v string) predicate.Node

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

func Ipv4GTE

func Ipv4GTE(v string) predicate.Node

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

func Ipv4HasPrefix

func Ipv4HasPrefix(v string) predicate.Node

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

func Ipv4HasSuffix

func Ipv4HasSuffix(v string) predicate.Node

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

func Ipv4In

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

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

func Ipv4LT

func Ipv4LT(v string) predicate.Node

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

func Ipv4LTE

func Ipv4LTE(v string) predicate.Node

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

func Ipv4NEQ

func Ipv4NEQ(v string) predicate.Node

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

func Ipv4NotIn

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

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

func Ipv6

func Ipv6(v string) predicate.Node

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

func Ipv6Contains

func Ipv6Contains(v string) predicate.Node

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

func Ipv6ContainsFold

func Ipv6ContainsFold(v string) predicate.Node

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

func Ipv6EQ

func Ipv6EQ(v string) predicate.Node

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

func Ipv6EqualFold

func Ipv6EqualFold(v string) predicate.Node

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

func Ipv6GT

func Ipv6GT(v string) predicate.Node

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

func Ipv6GTE

func Ipv6GTE(v string) predicate.Node

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

func Ipv6HasPrefix

func Ipv6HasPrefix(v string) predicate.Node

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

func Ipv6HasSuffix

func Ipv6HasSuffix(v string) predicate.Node

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

func Ipv6In

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

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

func Ipv6LT

func Ipv6LT(v string) predicate.Node

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

func Ipv6LTE

func Ipv6LTE(v string) predicate.Node

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

func Ipv6NEQ

func Ipv6NEQ(v string) predicate.Node

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

func Ipv6NotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Node) predicate.Node

Or groups predicates with the OR operator between them.

func Os

func Os(v string) predicate.Node

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

func OsContains

func OsContains(v string) predicate.Node

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

func OsContainsFold

func OsContainsFold(v string) predicate.Node

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

func OsEQ

func OsEQ(v string) predicate.Node

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

func OsEqualFold

func OsEqualFold(v string) predicate.Node

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

func OsGT

func OsGT(v string) predicate.Node

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

func OsGTE

func OsGTE(v string) predicate.Node

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

func OsHasPrefix

func OsHasPrefix(v string) predicate.Node

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

func OsHasSuffix

func OsHasSuffix(v string) predicate.Node

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

func OsIn

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

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

func OsLT

func OsLT(v string) predicate.Node

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

func OsLTE

func OsLTE(v string) predicate.Node

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

func OsNEQ

func OsNEQ(v string) predicate.Node

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

func OsNotIn

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

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

func Platform

func Platform(v string) predicate.Node

Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.

func PlatformContains

func PlatformContains(v string) predicate.Node

PlatformContains applies the Contains predicate on the "platform" field.

func PlatformContainsFold

func PlatformContainsFold(v string) predicate.Node

PlatformContainsFold applies the ContainsFold predicate on the "platform" field.

func PlatformEQ

func PlatformEQ(v string) predicate.Node

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

func PlatformEqualFold

func PlatformEqualFold(v string) predicate.Node

PlatformEqualFold applies the EqualFold predicate on the "platform" field.

func PlatformFamily

func PlatformFamily(v string) predicate.Node

PlatformFamily applies equality check predicate on the "platformFamily" field. It's identical to PlatformFamilyEQ.

func PlatformFamilyContains

func PlatformFamilyContains(v string) predicate.Node

PlatformFamilyContains applies the Contains predicate on the "platformFamily" field.

func PlatformFamilyContainsFold

func PlatformFamilyContainsFold(v string) predicate.Node

PlatformFamilyContainsFold applies the ContainsFold predicate on the "platformFamily" field.

func PlatformFamilyEQ

func PlatformFamilyEQ(v string) predicate.Node

PlatformFamilyEQ applies the EQ predicate on the "platformFamily" field.

func PlatformFamilyEqualFold

func PlatformFamilyEqualFold(v string) predicate.Node

PlatformFamilyEqualFold applies the EqualFold predicate on the "platformFamily" field.

func PlatformFamilyGT

func PlatformFamilyGT(v string) predicate.Node

PlatformFamilyGT applies the GT predicate on the "platformFamily" field.

func PlatformFamilyGTE

func PlatformFamilyGTE(v string) predicate.Node

PlatformFamilyGTE applies the GTE predicate on the "platformFamily" field.

func PlatformFamilyHasPrefix

func PlatformFamilyHasPrefix(v string) predicate.Node

PlatformFamilyHasPrefix applies the HasPrefix predicate on the "platformFamily" field.

func PlatformFamilyHasSuffix

func PlatformFamilyHasSuffix(v string) predicate.Node

PlatformFamilyHasSuffix applies the HasSuffix predicate on the "platformFamily" field.

func PlatformFamilyIn

func PlatformFamilyIn(vs ...string) predicate.Node

PlatformFamilyIn applies the In predicate on the "platformFamily" field.

func PlatformFamilyLT

func PlatformFamilyLT(v string) predicate.Node

PlatformFamilyLT applies the LT predicate on the "platformFamily" field.

func PlatformFamilyLTE

func PlatformFamilyLTE(v string) predicate.Node

PlatformFamilyLTE applies the LTE predicate on the "platformFamily" field.

func PlatformFamilyNEQ

func PlatformFamilyNEQ(v string) predicate.Node

PlatformFamilyNEQ applies the NEQ predicate on the "platformFamily" field.

func PlatformFamilyNotIn

func PlatformFamilyNotIn(vs ...string) predicate.Node

PlatformFamilyNotIn applies the NotIn predicate on the "platformFamily" field.

func PlatformGT

func PlatformGT(v string) predicate.Node

PlatformGT applies the GT predicate on the "platform" field.

func PlatformGTE

func PlatformGTE(v string) predicate.Node

PlatformGTE applies the GTE predicate on the "platform" field.

func PlatformHasPrefix

func PlatformHasPrefix(v string) predicate.Node

PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.

func PlatformHasSuffix

func PlatformHasSuffix(v string) predicate.Node

PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.

func PlatformIn

func PlatformIn(vs ...string) predicate.Node

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

func PlatformLT

func PlatformLT(v string) predicate.Node

PlatformLT applies the LT predicate on the "platform" field.

func PlatformLTE

func PlatformLTE(v string) predicate.Node

PlatformLTE applies the LTE predicate on the "platform" field.

func PlatformNEQ

func PlatformNEQ(v string) predicate.Node

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

func PlatformNotIn

func PlatformNotIn(vs ...string) predicate.Node

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

func PublicIpv4

func PublicIpv4(v string) predicate.Node

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

func PublicIpv4Contains

func PublicIpv4Contains(v string) predicate.Node

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

func PublicIpv4ContainsFold

func PublicIpv4ContainsFold(v string) predicate.Node

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

func PublicIpv4EQ

func PublicIpv4EQ(v string) predicate.Node

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

func PublicIpv4EqualFold

func PublicIpv4EqualFold(v string) predicate.Node

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

func PublicIpv4GT

func PublicIpv4GT(v string) predicate.Node

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

func PublicIpv4GTE

func PublicIpv4GTE(v string) predicate.Node

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

func PublicIpv4HasPrefix

func PublicIpv4HasPrefix(v string) predicate.Node

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

func PublicIpv4HasSuffix

func PublicIpv4HasSuffix(v string) predicate.Node

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

func PublicIpv4In

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

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

func PublicIpv4LT

func PublicIpv4LT(v string) predicate.Node

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

func PublicIpv4LTE

func PublicIpv4LTE(v string) predicate.Node

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

func PublicIpv4NEQ

func PublicIpv4NEQ(v string) predicate.Node

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

func PublicIpv4NotIn

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

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

func PublicIpv6

func PublicIpv6(v string) predicate.Node

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

func PublicIpv6Contains

func PublicIpv6Contains(v string) predicate.Node

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

func PublicIpv6ContainsFold

func PublicIpv6ContainsFold(v string) predicate.Node

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

func PublicIpv6EQ

func PublicIpv6EQ(v string) predicate.Node

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

func PublicIpv6EqualFold

func PublicIpv6EqualFold(v string) predicate.Node

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

func PublicIpv6GT

func PublicIpv6GT(v string) predicate.Node

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

func PublicIpv6GTE

func PublicIpv6GTE(v string) predicate.Node

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

func PublicIpv6HasPrefix

func PublicIpv6HasPrefix(v string) predicate.Node

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

func PublicIpv6HasSuffix

func PublicIpv6HasSuffix(v string) predicate.Node

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

func PublicIpv6In

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

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

func PublicIpv6LT

func PublicIpv6LT(v string) predicate.Node

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

func PublicIpv6LTE

func PublicIpv6LTE(v string) predicate.Node

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

func PublicIpv6NEQ

func PublicIpv6NEQ(v string) predicate.Node

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

func PublicIpv6NotIn

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

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

func UUID

func UUID(v string) predicate.Node

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

func UUIDContains

func UUIDContains(v string) predicate.Node

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

func UUIDContainsFold

func UUIDContainsFold(v string) predicate.Node

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

func UUIDEQ

func UUIDEQ(v string) predicate.Node

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

func UUIDEqualFold

func UUIDEqualFold(v string) predicate.Node

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

func UUIDGT

func UUIDGT(v string) predicate.Node

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

func UUIDGTE

func UUIDGTE(v string) predicate.Node

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

func UUIDHasPrefix

func UUIDHasPrefix(v string) predicate.Node

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

func UUIDHasSuffix

func UUIDHasSuffix(v string) predicate.Node

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

func UUIDIn

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

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

func UUIDLT

func UUIDLT(v string) predicate.Node

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

func UUIDLTE

func UUIDLTE(v string) predicate.Node

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

func UUIDNEQ

func UUIDNEQ(v string) predicate.Node

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

func UUIDNotIn

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

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Node

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Node

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Node

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Node

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Node

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Node

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Node

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

func UpdatedAtNotIn

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

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

This section is empty.

Jump to

Keyboard shortcuts

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