integration

package
v0.95.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the integration type in the database.
	Label = "integration"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldSecretName holds the string denoting the secret_name field in the database.
	FieldSecretName = "secret_name"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldConfiguration holds the string denoting the configuration field in the database.
	FieldConfiguration = "configuration"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// EdgeAttachments holds the string denoting the attachments edge name in mutations.
	EdgeAttachments = "attachments"
	// EdgeOrganization holds the string denoting the organization edge name in mutations.
	EdgeOrganization = "organization"
	// Table holds the table name of the integration in the database.
	Table = "integrations"
	// AttachmentsTable is the table that holds the attachments relation/edge.
	AttachmentsTable = "integration_attachments"
	// AttachmentsInverseTable is the table name for the IntegrationAttachment entity.
	// It exists in this package in order to avoid circular dependency with the "integrationattachment" package.
	AttachmentsInverseTable = "integration_attachments"
	// AttachmentsColumn is the table column denoting the attachments relation/edge.
	AttachmentsColumn = "integration_attachment_integration"
	// OrganizationTable is the table that holds the organization relation/edge.
	OrganizationTable = "integrations"
	// 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_integrations"
)

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 integration fields.

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

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

Functions

func And

func And(predicates ...predicate.Integration) predicate.Integration

And groups predicates with the AND operator between them.

func Configuration

func Configuration(v []byte) predicate.Integration

Configuration applies equality check predicate on the "configuration" field. It's identical to ConfigurationEQ.

func ConfigurationEQ

func ConfigurationEQ(v []byte) predicate.Integration

ConfigurationEQ applies the EQ predicate on the "configuration" field.

func ConfigurationGT

func ConfigurationGT(v []byte) predicate.Integration

ConfigurationGT applies the GT predicate on the "configuration" field.

func ConfigurationGTE

func ConfigurationGTE(v []byte) predicate.Integration

ConfigurationGTE applies the GTE predicate on the "configuration" field.

func ConfigurationIn

func ConfigurationIn(vs ...[]byte) predicate.Integration

ConfigurationIn applies the In predicate on the "configuration" field.

func ConfigurationIsNil

func ConfigurationIsNil() predicate.Integration

ConfigurationIsNil applies the IsNil predicate on the "configuration" field.

func ConfigurationLT

func ConfigurationLT(v []byte) predicate.Integration

ConfigurationLT applies the LT predicate on the "configuration" field.

func ConfigurationLTE

func ConfigurationLTE(v []byte) predicate.Integration

ConfigurationLTE applies the LTE predicate on the "configuration" field.

func ConfigurationNEQ

func ConfigurationNEQ(v []byte) predicate.Integration

ConfigurationNEQ applies the NEQ predicate on the "configuration" field.

func ConfigurationNotIn

func ConfigurationNotIn(vs ...[]byte) predicate.Integration

ConfigurationNotIn applies the NotIn predicate on the "configuration" field.

func ConfigurationNotNil

func ConfigurationNotNil() predicate.Integration

ConfigurationNotNil applies the NotNil predicate on the "configuration" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Integration

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Integration

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Integration

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Integration

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Integration

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Integration

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Integration

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Integration

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Integration

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Integration

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Integration

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Integration

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Integration

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Integration

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Integration

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Integration

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.Integration

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

func DescriptionContains

func DescriptionContains(v string) predicate.Integration

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Integration

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Integration

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Integration

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

func DescriptionGT

func DescriptionGT(v string) predicate.Integration

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Integration

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Integration

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Integration

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Integration

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Integration

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Integration

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Integration

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Integration

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasAttachments

func HasAttachments() predicate.Integration

HasAttachments applies the HasEdge predicate on the "attachments" edge.

func HasAttachmentsWith

func HasAttachmentsWith(preds ...predicate.IntegrationAttachment) predicate.Integration

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

func HasOrganization

func HasOrganization() predicate.Integration

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

func HasOrganizationWith

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

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

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Integration

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Integration

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Integration

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Integration

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Integration

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Kind

Kind applies equality check predicate on the "kind" field. It's identical to KindEQ.

func KindContains

func KindContains(v string) predicate.Integration

KindContains applies the Contains predicate on the "kind" field.

func KindContainsFold

func KindContainsFold(v string) predicate.Integration

KindContainsFold applies the ContainsFold predicate on the "kind" field.

func KindEQ

func KindEQ(v string) predicate.Integration

KindEQ applies the EQ predicate on the "kind" field.

func KindEqualFold

func KindEqualFold(v string) predicate.Integration

KindEqualFold applies the EqualFold predicate on the "kind" field.

func KindGT

func KindGT(v string) predicate.Integration

KindGT applies the GT predicate on the "kind" field.

func KindGTE

func KindGTE(v string) predicate.Integration

KindGTE applies the GTE predicate on the "kind" field.

func KindHasPrefix

func KindHasPrefix(v string) predicate.Integration

KindHasPrefix applies the HasPrefix predicate on the "kind" field.

func KindHasSuffix

func KindHasSuffix(v string) predicate.Integration

KindHasSuffix applies the HasSuffix predicate on the "kind" field.

func KindIn

func KindIn(vs ...string) predicate.Integration

KindIn applies the In predicate on the "kind" field.

func KindLT

func KindLT(v string) predicate.Integration

KindLT applies the LT predicate on the "kind" field.

func KindLTE

func KindLTE(v string) predicate.Integration

KindLTE applies the LTE predicate on the "kind" field.

func KindNEQ

func KindNEQ(v string) predicate.Integration

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...string) predicate.Integration

KindNotIn applies the NotIn predicate on the "kind" field.

func Name

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

func NameContains

func NameContains(v string) predicate.Integration

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

func NameContainsFold

func NameContainsFold(v string) predicate.Integration

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

func NameEQ

func NameEQ(v string) predicate.Integration

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

func NameEqualFold

func NameEqualFold(v string) predicate.Integration

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

func NameGT

func NameGT(v string) predicate.Integration

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

func NameGTE

func NameGTE(v string) predicate.Integration

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Integration

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Integration

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Integration

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

func NameLTE

func NameLTE(v string) predicate.Integration

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

func NameNEQ

func NameNEQ(v string) predicate.Integration

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Integration) predicate.Integration

Or groups predicates with the OR operator between them.

func SecretName

func SecretName(v string) predicate.Integration

SecretName applies equality check predicate on the "secret_name" field. It's identical to SecretNameEQ.

func SecretNameContains

func SecretNameContains(v string) predicate.Integration

SecretNameContains applies the Contains predicate on the "secret_name" field.

func SecretNameContainsFold

func SecretNameContainsFold(v string) predicate.Integration

SecretNameContainsFold applies the ContainsFold predicate on the "secret_name" field.

func SecretNameEQ

func SecretNameEQ(v string) predicate.Integration

SecretNameEQ applies the EQ predicate on the "secret_name" field.

func SecretNameEqualFold

func SecretNameEqualFold(v string) predicate.Integration

SecretNameEqualFold applies the EqualFold predicate on the "secret_name" field.

func SecretNameGT

func SecretNameGT(v string) predicate.Integration

SecretNameGT applies the GT predicate on the "secret_name" field.

func SecretNameGTE

func SecretNameGTE(v string) predicate.Integration

SecretNameGTE applies the GTE predicate on the "secret_name" field.

func SecretNameHasPrefix

func SecretNameHasPrefix(v string) predicate.Integration

SecretNameHasPrefix applies the HasPrefix predicate on the "secret_name" field.

func SecretNameHasSuffix

func SecretNameHasSuffix(v string) predicate.Integration

SecretNameHasSuffix applies the HasSuffix predicate on the "secret_name" field.

func SecretNameIn

func SecretNameIn(vs ...string) predicate.Integration

SecretNameIn applies the In predicate on the "secret_name" field.

func SecretNameLT

func SecretNameLT(v string) predicate.Integration

SecretNameLT applies the LT predicate on the "secret_name" field.

func SecretNameLTE

func SecretNameLTE(v string) predicate.Integration

SecretNameLTE applies the LTE predicate on the "secret_name" field.

func SecretNameNEQ

func SecretNameNEQ(v string) predicate.Integration

SecretNameNEQ applies the NEQ predicate on the "secret_name" field.

func SecretNameNotIn

func SecretNameNotIn(vs ...string) predicate.Integration

SecretNameNotIn applies the NotIn predicate on the "secret_name" 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 Integration queries.

func ByAttachments

func ByAttachments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAttachments orders the results by attachments terms.

func ByAttachmentsCount

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

ByAttachmentsCount orders the results by attachments count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByID

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

ByID orders the results by the id field.

func ByKind

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

ByKind orders the results by the kind field.

func ByName

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

ByName orders the results by the name field.

func ByOrganizationField

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

ByOrganizationField orders the results by organization field.

func BySecretName

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

BySecretName orders the results by the secret_name field.

Jump to

Keyboard shortcuts

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