proxyroutingrule

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 proxyroutingrule type in the database.
	Label = "proxy_routing_rule"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldProfileID holds the string denoting the profile_id field in the database.
	FieldProfileID = "profile_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldPriority holds the string denoting the priority field in the database.
	FieldPriority = "priority"
	// FieldEnabled holds the string denoting the enabled field in the database.
	FieldEnabled = "enabled"
	// FieldServiceCode holds the string denoting the service_code field in the database.
	FieldServiceCode = "service_code"
	// FieldMatcherJSON holds the string denoting the matcher_json field in the database.
	FieldMatcherJSON = "matcher_json"
	// FieldActionJSON holds the string denoting the action_json field in the database.
	FieldActionJSON = "action_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 proxyroutingrule in the database.
	Table = "routing_rule"
)

Variables

View Source
var (
	// DefaultProfileID holds the default value on creation for the "profile_id" field.
	DefaultProfileID int64
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultPriority holds the default value on creation for the "priority" field.
	DefaultPriority int
	// DefaultEnabled holds the default value on creation for the "enabled" field.
	DefaultEnabled bool
	// DefaultServiceCode holds the default value on creation for the "service_code" field.
	DefaultServiceCode string
	// ServiceCodeValidator is a validator for the "service_code" field. It is called by the builders before save.
	ServiceCodeValidator func(string) error
	// DefaultMatcherJSON holds the default value on creation for the "matcher_json" field.
	DefaultMatcherJSON string
	// DefaultActionJSON holds the default value on creation for the "action_json" field.
	DefaultActionJSON 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 proxyroutingrule fields.

Functions

func ActionJSON

func ActionJSON(v string) predicate.ProxyRoutingRule

ActionJSON applies equality check predicate on the "action_json" field. It's identical to ActionJSONEQ.

func ActionJSONContains

func ActionJSONContains(v string) predicate.ProxyRoutingRule

ActionJSONContains applies the Contains predicate on the "action_json" field.

func ActionJSONContainsFold

func ActionJSONContainsFold(v string) predicate.ProxyRoutingRule

ActionJSONContainsFold applies the ContainsFold predicate on the "action_json" field.

func ActionJSONEQ

func ActionJSONEQ(v string) predicate.ProxyRoutingRule

ActionJSONEQ applies the EQ predicate on the "action_json" field.

func ActionJSONEqualFold

func ActionJSONEqualFold(v string) predicate.ProxyRoutingRule

ActionJSONEqualFold applies the EqualFold predicate on the "action_json" field.

func ActionJSONGT

func ActionJSONGT(v string) predicate.ProxyRoutingRule

ActionJSONGT applies the GT predicate on the "action_json" field.

func ActionJSONGTE

func ActionJSONGTE(v string) predicate.ProxyRoutingRule

ActionJSONGTE applies the GTE predicate on the "action_json" field.

func ActionJSONHasPrefix

func ActionJSONHasPrefix(v string) predicate.ProxyRoutingRule

ActionJSONHasPrefix applies the HasPrefix predicate on the "action_json" field.

func ActionJSONHasSuffix

func ActionJSONHasSuffix(v string) predicate.ProxyRoutingRule

ActionJSONHasSuffix applies the HasSuffix predicate on the "action_json" field.

func ActionJSONIn

func ActionJSONIn(vs ...string) predicate.ProxyRoutingRule

ActionJSONIn applies the In predicate on the "action_json" field.

func ActionJSONLT

func ActionJSONLT(v string) predicate.ProxyRoutingRule

ActionJSONLT applies the LT predicate on the "action_json" field.

func ActionJSONLTE

func ActionJSONLTE(v string) predicate.ProxyRoutingRule

ActionJSONLTE applies the LTE predicate on the "action_json" field.

func ActionJSONNEQ

func ActionJSONNEQ(v string) predicate.ProxyRoutingRule

ActionJSONNEQ applies the NEQ predicate on the "action_json" field.

func ActionJSONNotIn

func ActionJSONNotIn(vs ...string) predicate.ProxyRoutingRule

ActionJSONNotIn applies the NotIn predicate on the "action_json" field.

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ProxyRoutingRule

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

func CreatedAtNotIn

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

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

func Enabled

func Enabled(v bool) predicate.ProxyRoutingRule

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

func EnabledEQ

func EnabledEQ(v bool) predicate.ProxyRoutingRule

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

func EnabledNEQ

func EnabledNEQ(v bool) predicate.ProxyRoutingRule

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func MatcherJSON

func MatcherJSON(v string) predicate.ProxyRoutingRule

MatcherJSON applies equality check predicate on the "matcher_json" field. It's identical to MatcherJSONEQ.

func MatcherJSONContains

func MatcherJSONContains(v string) predicate.ProxyRoutingRule

MatcherJSONContains applies the Contains predicate on the "matcher_json" field.

func MatcherJSONContainsFold

func MatcherJSONContainsFold(v string) predicate.ProxyRoutingRule

MatcherJSONContainsFold applies the ContainsFold predicate on the "matcher_json" field.

func MatcherJSONEQ

func MatcherJSONEQ(v string) predicate.ProxyRoutingRule

MatcherJSONEQ applies the EQ predicate on the "matcher_json" field.

func MatcherJSONEqualFold

func MatcherJSONEqualFold(v string) predicate.ProxyRoutingRule

MatcherJSONEqualFold applies the EqualFold predicate on the "matcher_json" field.

func MatcherJSONGT

func MatcherJSONGT(v string) predicate.ProxyRoutingRule

MatcherJSONGT applies the GT predicate on the "matcher_json" field.

func MatcherJSONGTE

func MatcherJSONGTE(v string) predicate.ProxyRoutingRule

MatcherJSONGTE applies the GTE predicate on the "matcher_json" field.

func MatcherJSONHasPrefix

func MatcherJSONHasPrefix(v string) predicate.ProxyRoutingRule

MatcherJSONHasPrefix applies the HasPrefix predicate on the "matcher_json" field.

func MatcherJSONHasSuffix

func MatcherJSONHasSuffix(v string) predicate.ProxyRoutingRule

MatcherJSONHasSuffix applies the HasSuffix predicate on the "matcher_json" field.

func MatcherJSONIn

func MatcherJSONIn(vs ...string) predicate.ProxyRoutingRule

MatcherJSONIn applies the In predicate on the "matcher_json" field.

func MatcherJSONLT

func MatcherJSONLT(v string) predicate.ProxyRoutingRule

MatcherJSONLT applies the LT predicate on the "matcher_json" field.

func MatcherJSONLTE

func MatcherJSONLTE(v string) predicate.ProxyRoutingRule

MatcherJSONLTE applies the LTE predicate on the "matcher_json" field.

func MatcherJSONNEQ

func MatcherJSONNEQ(v string) predicate.ProxyRoutingRule

MatcherJSONNEQ applies the NEQ predicate on the "matcher_json" field.

func MatcherJSONNotIn

func MatcherJSONNotIn(vs ...string) predicate.ProxyRoutingRule

MatcherJSONNotIn applies the NotIn predicate on the "matcher_json" field.

func Name

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

func NameContains

func NameContains(v string) predicate.ProxyRoutingRule

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

func NameContainsFold

func NameContainsFold(v string) predicate.ProxyRoutingRule

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

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

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.ProxyRoutingRule

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

func NameIn

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

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

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 Priority

func Priority(v int) predicate.ProxyRoutingRule

Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.

func PriorityEQ

func PriorityEQ(v int) predicate.ProxyRoutingRule

PriorityEQ applies the EQ predicate on the "priority" field.

func PriorityGT

func PriorityGT(v int) predicate.ProxyRoutingRule

PriorityGT applies the GT predicate on the "priority" field.

func PriorityGTE

func PriorityGTE(v int) predicate.ProxyRoutingRule

PriorityGTE applies the GTE predicate on the "priority" field.

func PriorityIn

func PriorityIn(vs ...int) predicate.ProxyRoutingRule

PriorityIn applies the In predicate on the "priority" field.

func PriorityLT

func PriorityLT(v int) predicate.ProxyRoutingRule

PriorityLT applies the LT predicate on the "priority" field.

func PriorityLTE

func PriorityLTE(v int) predicate.ProxyRoutingRule

PriorityLTE applies the LTE predicate on the "priority" field.

func PriorityNEQ

func PriorityNEQ(v int) predicate.ProxyRoutingRule

PriorityNEQ applies the NEQ predicate on the "priority" field.

func PriorityNotIn

func PriorityNotIn(vs ...int) predicate.ProxyRoutingRule

PriorityNotIn applies the NotIn predicate on the "priority" field.

func ProfileID

func ProfileID(v int64) predicate.ProxyRoutingRule

ProfileID applies equality check predicate on the "profile_id" field. It's identical to ProfileIDEQ.

func ProfileIDEQ

func ProfileIDEQ(v int64) predicate.ProxyRoutingRule

ProfileIDEQ applies the EQ predicate on the "profile_id" field.

func ProfileIDGT

func ProfileIDGT(v int64) predicate.ProxyRoutingRule

ProfileIDGT applies the GT predicate on the "profile_id" field.

func ProfileIDGTE

func ProfileIDGTE(v int64) predicate.ProxyRoutingRule

ProfileIDGTE applies the GTE predicate on the "profile_id" field.

func ProfileIDIn

func ProfileIDIn(vs ...int64) predicate.ProxyRoutingRule

ProfileIDIn applies the In predicate on the "profile_id" field.

func ProfileIDLT

func ProfileIDLT(v int64) predicate.ProxyRoutingRule

ProfileIDLT applies the LT predicate on the "profile_id" field.

func ProfileIDLTE

func ProfileIDLTE(v int64) predicate.ProxyRoutingRule

ProfileIDLTE applies the LTE predicate on the "profile_id" field.

func ProfileIDNEQ

func ProfileIDNEQ(v int64) predicate.ProxyRoutingRule

ProfileIDNEQ applies the NEQ predicate on the "profile_id" field.

func ProfileIDNotIn

func ProfileIDNotIn(vs ...int64) predicate.ProxyRoutingRule

ProfileIDNotIn applies the NotIn predicate on the "profile_id" field.

func ServiceCode

func ServiceCode(v string) predicate.ProxyRoutingRule

ServiceCode applies equality check predicate on the "service_code" field. It's identical to ServiceCodeEQ.

func ServiceCodeContains

func ServiceCodeContains(v string) predicate.ProxyRoutingRule

ServiceCodeContains applies the Contains predicate on the "service_code" field.

func ServiceCodeContainsFold

func ServiceCodeContainsFold(v string) predicate.ProxyRoutingRule

ServiceCodeContainsFold applies the ContainsFold predicate on the "service_code" field.

func ServiceCodeEQ

func ServiceCodeEQ(v string) predicate.ProxyRoutingRule

ServiceCodeEQ applies the EQ predicate on the "service_code" field.

func ServiceCodeEqualFold

func ServiceCodeEqualFold(v string) predicate.ProxyRoutingRule

ServiceCodeEqualFold applies the EqualFold predicate on the "service_code" field.

func ServiceCodeGT

func ServiceCodeGT(v string) predicate.ProxyRoutingRule

ServiceCodeGT applies the GT predicate on the "service_code" field.

func ServiceCodeGTE

func ServiceCodeGTE(v string) predicate.ProxyRoutingRule

ServiceCodeGTE applies the GTE predicate on the "service_code" field.

func ServiceCodeHasPrefix

func ServiceCodeHasPrefix(v string) predicate.ProxyRoutingRule

ServiceCodeHasPrefix applies the HasPrefix predicate on the "service_code" field.

func ServiceCodeHasSuffix

func ServiceCodeHasSuffix(v string) predicate.ProxyRoutingRule

ServiceCodeHasSuffix applies the HasSuffix predicate on the "service_code" field.

func ServiceCodeIn

func ServiceCodeIn(vs ...string) predicate.ProxyRoutingRule

ServiceCodeIn applies the In predicate on the "service_code" field.

func ServiceCodeLT

func ServiceCodeLT(v string) predicate.ProxyRoutingRule

ServiceCodeLT applies the LT predicate on the "service_code" field.

func ServiceCodeLTE

func ServiceCodeLTE(v string) predicate.ProxyRoutingRule

ServiceCodeLTE applies the LTE predicate on the "service_code" field.

func ServiceCodeNEQ

func ServiceCodeNEQ(v string) predicate.ProxyRoutingRule

ServiceCodeNEQ applies the NEQ predicate on the "service_code" field.

func ServiceCodeNotIn

func ServiceCodeNotIn(vs ...string) predicate.ProxyRoutingRule

ServiceCodeNotIn applies the NotIn predicate on the "service_code" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ProxyRoutingRule

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

func UpdatedAtNotIn

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

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

func ByActionJSON

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

ByActionJSON orders the results by the action_json 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 ByMatcherJSON

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

ByMatcherJSON orders the results by the matcher_json field.

func ByName

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

ByName orders the results by the name field.

func ByPriority

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

ByPriority orders the results by the priority field.

func ByProfileID

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

ByProfileID orders the results by the profile_id field.

func ByServiceCode

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

ByServiceCode orders the results by the service_code 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