proxyroutingdnsresolver

package
v1.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the proxyroutingdnsresolver type in the database.
	Label = "proxy_routing_dns_resolver"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTag holds the string denoting the tag field in the database.
	FieldTag = "tag"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldProto holds the string denoting the proto field in the database.
	FieldProto = "proto"
	// FieldAddress holds the string denoting the address field in the database.
	FieldAddress = "address"
	// FieldPort holds the string denoting the port field in the database.
	FieldPort = "port"
	// FieldEnabled holds the string denoting the enabled field in the database.
	FieldEnabled = "enabled"
	// FieldResolverJSON holds the string denoting the resolver_json field in the database.
	FieldResolverJSON = "resolver_json"
	// 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 proxyroutingdnsresolver in the database.
	Table = "routing_dns_resolver"
)

Variables

View Source
var (
	// TagValidator is a validator for the "tag" field. It is called by the builders before save.
	TagValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultProto holds the default value on creation for the "proto" field.
	DefaultProto string
	// ProtoValidator is a validator for the "proto" field. It is called by the builders before save.
	ProtoValidator func(string) error
	// AddressValidator is a validator for the "address" field. It is called by the builders before save.
	AddressValidator func(string) error
	// DefaultPort holds the default value on creation for the "port" field.
	DefaultPort int
	// DefaultEnabled holds the default value on creation for the "enabled" field.
	DefaultEnabled bool
	// DefaultResolverJSON holds the default value on creation for the "resolver_json" field.
	DefaultResolverJSON string
	// 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 proxyroutingdnsresolver fields.

Functions

func Address

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.ProxyRoutingDNSResolver

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.ProxyRoutingDNSResolver

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.ProxyRoutingDNSResolver

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.ProxyRoutingDNSResolver

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.ProxyRoutingDNSResolver

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.ProxyRoutingDNSResolver

AddressIn applies the In predicate on the "address" field.

func AddressLT

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.ProxyRoutingDNSResolver

AddressNotIn applies the NotIn predicate on the "address" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

func Enabled

Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.

func EnabledEQ

EnabledEQ applies the EQ predicate on the "enabled" field.

func EnabledNEQ

EnabledNEQ applies the NEQ predicate on the "enabled" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

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

func NameContainsFold

func NameContainsFold(v string) predicate.ProxyRoutingDNSResolver

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.ProxyRoutingDNSResolver

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.ProxyRoutingDNSResolver

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ProxyRoutingDNSResolver

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

func NameIn

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Port

Port applies equality check predicate on the "port" field. It's identical to PortEQ.

func PortEQ

PortEQ applies the EQ predicate on the "port" field.

func PortGT

PortGT applies the GT predicate on the "port" field.

func PortGTE

PortGTE applies the GTE predicate on the "port" field.

func PortIn

PortIn applies the In predicate on the "port" field.

func PortLT

PortLT applies the LT predicate on the "port" field.

func PortLTE

PortLTE applies the LTE predicate on the "port" field.

func PortNEQ

PortNEQ applies the NEQ predicate on the "port" field.

func PortNotIn

func PortNotIn(vs ...int) predicate.ProxyRoutingDNSResolver

PortNotIn applies the NotIn predicate on the "port" field.

func Proto

Proto applies equality check predicate on the "proto" field. It's identical to ProtoEQ.

func ProtoContains

func ProtoContains(v string) predicate.ProxyRoutingDNSResolver

ProtoContains applies the Contains predicate on the "proto" field.

func ProtoContainsFold

func ProtoContainsFold(v string) predicate.ProxyRoutingDNSResolver

ProtoContainsFold applies the ContainsFold predicate on the "proto" field.

func ProtoEQ

ProtoEQ applies the EQ predicate on the "proto" field.

func ProtoEqualFold

func ProtoEqualFold(v string) predicate.ProxyRoutingDNSResolver

ProtoEqualFold applies the EqualFold predicate on the "proto" field.

func ProtoGT

ProtoGT applies the GT predicate on the "proto" field.

func ProtoGTE

ProtoGTE applies the GTE predicate on the "proto" field.

func ProtoHasPrefix

func ProtoHasPrefix(v string) predicate.ProxyRoutingDNSResolver

ProtoHasPrefix applies the HasPrefix predicate on the "proto" field.

func ProtoHasSuffix

func ProtoHasSuffix(v string) predicate.ProxyRoutingDNSResolver

ProtoHasSuffix applies the HasSuffix predicate on the "proto" field.

func ProtoIn

ProtoIn applies the In predicate on the "proto" field.

func ProtoLT

ProtoLT applies the LT predicate on the "proto" field.

func ProtoLTE

ProtoLTE applies the LTE predicate on the "proto" field.

func ProtoNEQ

ProtoNEQ applies the NEQ predicate on the "proto" field.

func ProtoNotIn

func ProtoNotIn(vs ...string) predicate.ProxyRoutingDNSResolver

ProtoNotIn applies the NotIn predicate on the "proto" field.

func ResolverJSON

ResolverJSON applies equality check predicate on the "resolver_json" field. It's identical to ResolverJSONEQ.

func ResolverJSONContains

func ResolverJSONContains(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONContains applies the Contains predicate on the "resolver_json" field.

func ResolverJSONContainsFold

func ResolverJSONContainsFold(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONContainsFold applies the ContainsFold predicate on the "resolver_json" field.

func ResolverJSONEQ

func ResolverJSONEQ(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONEQ applies the EQ predicate on the "resolver_json" field.

func ResolverJSONEqualFold

func ResolverJSONEqualFold(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONEqualFold applies the EqualFold predicate on the "resolver_json" field.

func ResolverJSONGT

func ResolverJSONGT(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONGT applies the GT predicate on the "resolver_json" field.

func ResolverJSONGTE

func ResolverJSONGTE(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONGTE applies the GTE predicate on the "resolver_json" field.

func ResolverJSONHasPrefix

func ResolverJSONHasPrefix(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONHasPrefix applies the HasPrefix predicate on the "resolver_json" field.

func ResolverJSONHasSuffix

func ResolverJSONHasSuffix(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONHasSuffix applies the HasSuffix predicate on the "resolver_json" field.

func ResolverJSONIn

func ResolverJSONIn(vs ...string) predicate.ProxyRoutingDNSResolver

ResolverJSONIn applies the In predicate on the "resolver_json" field.

func ResolverJSONLT

func ResolverJSONLT(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONLT applies the LT predicate on the "resolver_json" field.

func ResolverJSONLTE

func ResolverJSONLTE(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONLTE applies the LTE predicate on the "resolver_json" field.

func ResolverJSONNEQ

func ResolverJSONNEQ(v string) predicate.ProxyRoutingDNSResolver

ResolverJSONNEQ applies the NEQ predicate on the "resolver_json" field.

func ResolverJSONNotIn

func ResolverJSONNotIn(vs ...string) predicate.ProxyRoutingDNSResolver

ResolverJSONNotIn applies the NotIn predicate on the "resolver_json" field.

func Tag

Tag applies equality check predicate on the "tag" field. It's identical to TagEQ.

func TagContains

TagContains applies the Contains predicate on the "tag" field.

func TagContainsFold

func TagContainsFold(v string) predicate.ProxyRoutingDNSResolver

TagContainsFold applies the ContainsFold predicate on the "tag" field.

func TagEQ

TagEQ applies the EQ predicate on the "tag" field.

func TagEqualFold

TagEqualFold applies the EqualFold predicate on the "tag" field.

func TagGT

TagGT applies the GT predicate on the "tag" field.

func TagGTE

TagGTE applies the GTE predicate on the "tag" field.

func TagHasPrefix

TagHasPrefix applies the HasPrefix predicate on the "tag" field.

func TagHasSuffix

TagHasSuffix applies the HasSuffix predicate on the "tag" field.

func TagIn

TagIn applies the In predicate on the "tag" field.

func TagLT

TagLT applies the LT predicate on the "tag" field.

func TagLTE

TagLTE applies the LTE predicate on the "tag" field.

func TagNEQ

TagNEQ applies the NEQ predicate on the "tag" field.

func TagNotIn

TagNotIn applies the NotIn predicate on the "tag" field.

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

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

func UpdatedAtIn

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

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

func UpdatedAtLT

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

func UpdatedAtLTE

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

func UpdatedAtNEQ

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

func UpdatedAtNotIn

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

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 ProxyRoutingDNSResolver queries.

func ByAddress

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

ByAddress orders the results by the address field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEnabled

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

ByEnabled orders the results by the enabled 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 ByPort

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

ByPort orders the results by the port field.

func ByProto

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

ByProto orders the results by the proto field.

func ByResolverJSON

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

ByResolverJSON orders the results by the resolver_json field.

func ByTag

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

ByTag orders the results by the tag 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