casmapping

package
v0.142.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the casmapping type in the database.
	Label = "cas_mapping"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldDigest holds the string denoting the digest field in the database.
	FieldDigest = "digest"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldWorkflowRunID holds the string denoting the workflow_run_id field in the database.
	FieldWorkflowRunID = "workflow_run_id"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_id"
	// EdgeCasBackend holds the string denoting the cas_backend edge name in mutations.
	EdgeCasBackend = "cas_backend"
	// EdgeOrganization holds the string denoting the organization edge name in mutations.
	EdgeOrganization = "organization"
	// Table holds the table name of the casmapping in the database.
	Table = "cas_mappings"
	// CasBackendTable is the table that holds the cas_backend relation/edge.
	CasBackendTable = "cas_mappings"
	// CasBackendInverseTable is the table name for the CASBackend entity.
	// It exists in this package in order to avoid circular dependency with the "casbackend" package.
	CasBackendInverseTable = "cas_backends"
	// CasBackendColumn is the table column denoting the cas_backend relation/edge.
	CasBackendColumn = "cas_mapping_cas_backend"
	// OrganizationTable is the table that holds the organization relation/edge.
	OrganizationTable = "cas_mappings"
	// OrganizationInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OrganizationInverseTable = "organizations"
	// OrganizationColumn is the table column denoting the organization relation/edge.
	OrganizationColumn = "organization_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for casmapping fields.

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

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

Functions

func And

func And(predicates ...predicate.CASMapping) predicate.CASMapping

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.CASMapping

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.CASMapping

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.CASMapping

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.CASMapping

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.CASMapping

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.CASMapping

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.CASMapping

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

func CreatedAtNotIn

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

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

func Digest

func Digest(v string) predicate.CASMapping

Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ.

func DigestContains

func DigestContains(v string) predicate.CASMapping

DigestContains applies the Contains predicate on the "digest" field.

func DigestContainsFold

func DigestContainsFold(v string) predicate.CASMapping

DigestContainsFold applies the ContainsFold predicate on the "digest" field.

func DigestEQ

func DigestEQ(v string) predicate.CASMapping

DigestEQ applies the EQ predicate on the "digest" field.

func DigestEqualFold

func DigestEqualFold(v string) predicate.CASMapping

DigestEqualFold applies the EqualFold predicate on the "digest" field.

func DigestGT

func DigestGT(v string) predicate.CASMapping

DigestGT applies the GT predicate on the "digest" field.

func DigestGTE

func DigestGTE(v string) predicate.CASMapping

DigestGTE applies the GTE predicate on the "digest" field.

func DigestHasPrefix

func DigestHasPrefix(v string) predicate.CASMapping

DigestHasPrefix applies the HasPrefix predicate on the "digest" field.

func DigestHasSuffix

func DigestHasSuffix(v string) predicate.CASMapping

DigestHasSuffix applies the HasSuffix predicate on the "digest" field.

func DigestIn

func DigestIn(vs ...string) predicate.CASMapping

DigestIn applies the In predicate on the "digest" field.

func DigestLT

func DigestLT(v string) predicate.CASMapping

DigestLT applies the LT predicate on the "digest" field.

func DigestLTE

func DigestLTE(v string) predicate.CASMapping

DigestLTE applies the LTE predicate on the "digest" field.

func DigestNEQ

func DigestNEQ(v string) predicate.CASMapping

DigestNEQ applies the NEQ predicate on the "digest" field.

func DigestNotIn

func DigestNotIn(vs ...string) predicate.CASMapping

DigestNotIn applies the NotIn predicate on the "digest" field.

func HasCasBackend

func HasCasBackend() predicate.CASMapping

HasCasBackend applies the HasEdge predicate on the "cas_backend" edge.

func HasCasBackendWith

func HasCasBackendWith(preds ...predicate.CASBackend) predicate.CASMapping

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

func HasOrganization

func HasOrganization() predicate.CASMapping

HasOrganization applies the HasEdge predicate on the "organization" edge.

func HasOrganizationWith

func HasOrganizationWith(preds ...predicate.Organization) predicate.CASMapping

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.CASMapping

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.CASMapping

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.CASMapping

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.CASMapping

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.CASMapping

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.CASMapping

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.CASMapping

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.CASMapping

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.CASMapping) predicate.CASMapping

Or groups predicates with the OR operator between them.

func OrganizationID added in v0.123.0

func OrganizationID(v uuid.UUID) predicate.CASMapping

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDEQ added in v0.123.0

func OrganizationIDEQ(v uuid.UUID) predicate.CASMapping

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDIn added in v0.123.0

func OrganizationIDIn(vs ...uuid.UUID) predicate.CASMapping

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDNEQ added in v0.123.0

func OrganizationIDNEQ(v uuid.UUID) predicate.CASMapping

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn added in v0.123.0

func OrganizationIDNotIn(vs ...uuid.UUID) predicate.CASMapping

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkflowRunID added in v0.123.0

func WorkflowRunID(v uuid.UUID) predicate.CASMapping

WorkflowRunID applies equality check predicate on the "workflow_run_id" field. It's identical to WorkflowRunIDEQ.

func WorkflowRunIDEQ added in v0.123.0

func WorkflowRunIDEQ(v uuid.UUID) predicate.CASMapping

WorkflowRunIDEQ applies the EQ predicate on the "workflow_run_id" field.

func WorkflowRunIDGT added in v0.123.0

func WorkflowRunIDGT(v uuid.UUID) predicate.CASMapping

WorkflowRunIDGT applies the GT predicate on the "workflow_run_id" field.

func WorkflowRunIDGTE added in v0.123.0

func WorkflowRunIDGTE(v uuid.UUID) predicate.CASMapping

WorkflowRunIDGTE applies the GTE predicate on the "workflow_run_id" field.

func WorkflowRunIDIn added in v0.123.0

func WorkflowRunIDIn(vs ...uuid.UUID) predicate.CASMapping

WorkflowRunIDIn applies the In predicate on the "workflow_run_id" field.

func WorkflowRunIDLT added in v0.123.0

func WorkflowRunIDLT(v uuid.UUID) predicate.CASMapping

WorkflowRunIDLT applies the LT predicate on the "workflow_run_id" field.

func WorkflowRunIDLTE added in v0.123.0

func WorkflowRunIDLTE(v uuid.UUID) predicate.CASMapping

WorkflowRunIDLTE applies the LTE predicate on the "workflow_run_id" field.

func WorkflowRunIDNEQ added in v0.123.0

func WorkflowRunIDNEQ(v uuid.UUID) predicate.CASMapping

WorkflowRunIDNEQ applies the NEQ predicate on the "workflow_run_id" field.

func WorkflowRunIDNotIn added in v0.123.0

func WorkflowRunIDNotIn(vs ...uuid.UUID) predicate.CASMapping

WorkflowRunIDNotIn applies the NotIn predicate on the "workflow_run_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CASMapping queries.

func ByCasBackendField

func ByCasBackendField(field string, opts ...sql.OrderTermOption) OrderOption

ByCasBackendField orders the results by cas_backend field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDigest

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

ByDigest orders the results by the digest field.

func ByID

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

ByID orders the results by the id field.

func ByOrganizationField

func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption

ByOrganizationField orders the results by organization field.

func ByOrganizationID added in v0.123.0

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

ByOrganizationID orders the results by the organization_id field.

func ByWorkflowRunID added in v0.123.0

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

ByWorkflowRunID orders the results by the workflow_run_id field.

Jump to

Keyboard shortcuts

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