capabilitybinding

package
v0.97.8 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the capabilitybinding type in the database.
	Label = "capability_binding"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCapability holds the string denoting the capability field in the database.
	FieldCapability = "capability"
	// FieldApp holds the string denoting the app field in the database.
	FieldApp = "app"
	// FieldHealthy holds the string denoting the healthy field in the database.
	FieldHealthy = "healthy"
	// 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 capabilitybinding in the database.
	Table = "capability_bindings"
)

Variables

View Source
var (
	// CapabilityValidator is a validator for the "capability" field. It is called by the builders before save.
	CapabilityValidator func(string) error
	// AppValidator is a validator for the "app" field. It is called by the builders before save.
	AppValidator func(string) error
	// DefaultHealthy holds the default value on creation for the "healthy" field.
	DefaultHealthy bool
	// 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 capabilitybinding fields.

Functions

func And

And groups predicates with the AND operator between them.

func App

App applies equality check predicate on the "app" field. It's identical to AppEQ.

func AppContains

func AppContains(v string) predicate.CapabilityBinding

AppContains applies the Contains predicate on the "app" field.

func AppContainsFold

func AppContainsFold(v string) predicate.CapabilityBinding

AppContainsFold applies the ContainsFold predicate on the "app" field.

func AppEQ

AppEQ applies the EQ predicate on the "app" field.

func AppEqualFold

func AppEqualFold(v string) predicate.CapabilityBinding

AppEqualFold applies the EqualFold predicate on the "app" field.

func AppGT

AppGT applies the GT predicate on the "app" field.

func AppGTE

AppGTE applies the GTE predicate on the "app" field.

func AppHasPrefix

func AppHasPrefix(v string) predicate.CapabilityBinding

AppHasPrefix applies the HasPrefix predicate on the "app" field.

func AppHasSuffix

func AppHasSuffix(v string) predicate.CapabilityBinding

AppHasSuffix applies the HasSuffix predicate on the "app" field.

func AppIn

func AppIn(vs ...string) predicate.CapabilityBinding

AppIn applies the In predicate on the "app" field.

func AppLT

AppLT applies the LT predicate on the "app" field.

func AppLTE

AppLTE applies the LTE predicate on the "app" field.

func AppNEQ

AppNEQ applies the NEQ predicate on the "app" field.

func AppNotIn

func AppNotIn(vs ...string) predicate.CapabilityBinding

AppNotIn applies the NotIn predicate on the "app" field.

func Capability

func Capability(v string) predicate.CapabilityBinding

Capability applies equality check predicate on the "capability" field. It's identical to CapabilityEQ.

func CapabilityContains

func CapabilityContains(v string) predicate.CapabilityBinding

CapabilityContains applies the Contains predicate on the "capability" field.

func CapabilityContainsFold

func CapabilityContainsFold(v string) predicate.CapabilityBinding

CapabilityContainsFold applies the ContainsFold predicate on the "capability" field.

func CapabilityEQ

func CapabilityEQ(v string) predicate.CapabilityBinding

CapabilityEQ applies the EQ predicate on the "capability" field.

func CapabilityEqualFold

func CapabilityEqualFold(v string) predicate.CapabilityBinding

CapabilityEqualFold applies the EqualFold predicate on the "capability" field.

func CapabilityGT

func CapabilityGT(v string) predicate.CapabilityBinding

CapabilityGT applies the GT predicate on the "capability" field.

func CapabilityGTE

func CapabilityGTE(v string) predicate.CapabilityBinding

CapabilityGTE applies the GTE predicate on the "capability" field.

func CapabilityHasPrefix

func CapabilityHasPrefix(v string) predicate.CapabilityBinding

CapabilityHasPrefix applies the HasPrefix predicate on the "capability" field.

func CapabilityHasSuffix

func CapabilityHasSuffix(v string) predicate.CapabilityBinding

CapabilityHasSuffix applies the HasSuffix predicate on the "capability" field.

func CapabilityIn

func CapabilityIn(vs ...string) predicate.CapabilityBinding

CapabilityIn applies the In predicate on the "capability" field.

func CapabilityLT

func CapabilityLT(v string) predicate.CapabilityBinding

CapabilityLT applies the LT predicate on the "capability" field.

func CapabilityLTE

func CapabilityLTE(v string) predicate.CapabilityBinding

CapabilityLTE applies the LTE predicate on the "capability" field.

func CapabilityNEQ

func CapabilityNEQ(v string) predicate.CapabilityBinding

CapabilityNEQ applies the NEQ predicate on the "capability" field.

func CapabilityNotIn

func CapabilityNotIn(vs ...string) predicate.CapabilityBinding

CapabilityNotIn applies the NotIn predicate on the "capability" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.CapabilityBinding

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.CapabilityBinding

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.CapabilityBinding

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.CapabilityBinding

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.CapabilityBinding

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.CapabilityBinding

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.CapabilityBinding

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

func CreatedAtNotIn

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

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

func Healthy

func Healthy(v bool) predicate.CapabilityBinding

Healthy applies equality check predicate on the "healthy" field. It's identical to HealthyEQ.

func HealthyEQ

func HealthyEQ(v bool) predicate.CapabilityBinding

HealthyEQ applies the EQ predicate on the "healthy" field.

func HealthyNEQ

func HealthyNEQ(v bool) predicate.CapabilityBinding

HealthyNEQ applies the NEQ predicate on the "healthy" 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.CapabilityBinding

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.CapabilityBinding

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

func UpdatedAtNotIn

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

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

func ByApp

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

ByApp orders the results by the app field.

func ByCapability

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

ByCapability orders the results by the capability field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByHealthy

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

ByHealthy orders the results by the healthy field.

func ByID

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

ByID orders the results by the id 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