artifact

package
v0.0.0-...-9c07312 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the artifact type in the database.
	Label = "artifact"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFilePath holds the string denoting the file_path field in the database.
	FieldFilePath = "file_path"
	// FieldArchivePath holds the string denoting the archive_path field in the database.
	FieldArchivePath = "archive_path"
	// FieldFileType holds the string denoting the file_type field in the database.
	FieldFileType = "file_type"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// EdgeMetadata holds the string denoting the metadata edge name in mutations.
	EdgeMetadata = "metadata"
	// Table holds the table name of the artifact in the database.
	Table = "artifacts"
	// MetadataTable is the table that holds the metadata relation/edge.
	MetadataTable = "metadata"
	// MetadataInverseTable is the table name for the Metadata entity.
	// It exists in this package in order to avoid circular dependency with the "metadata" package.
	MetadataInverseTable = "metadata"
	// MetadataColumn is the table column denoting the metadata relation/edge.
	MetadataColumn = "artifact_metadata"
)

Variables

Columns holds all SQL columns for artifact fields.

Functions

func And

func And(predicates ...predicate.Artifact) predicate.Artifact

And groups predicates with the AND operator between them.

func ArchivePath

func ArchivePath(v string) predicate.Artifact

ArchivePath applies equality check predicate on the "archive_path" field. It's identical to ArchivePathEQ.

func ArchivePathContains

func ArchivePathContains(v string) predicate.Artifact

ArchivePathContains applies the Contains predicate on the "archive_path" field.

func ArchivePathContainsFold

func ArchivePathContainsFold(v string) predicate.Artifact

ArchivePathContainsFold applies the ContainsFold predicate on the "archive_path" field.

func ArchivePathEQ

func ArchivePathEQ(v string) predicate.Artifact

ArchivePathEQ applies the EQ predicate on the "archive_path" field.

func ArchivePathEqualFold

func ArchivePathEqualFold(v string) predicate.Artifact

ArchivePathEqualFold applies the EqualFold predicate on the "archive_path" field.

func ArchivePathGT

func ArchivePathGT(v string) predicate.Artifact

ArchivePathGT applies the GT predicate on the "archive_path" field.

func ArchivePathGTE

func ArchivePathGTE(v string) predicate.Artifact

ArchivePathGTE applies the GTE predicate on the "archive_path" field.

func ArchivePathHasPrefix

func ArchivePathHasPrefix(v string) predicate.Artifact

ArchivePathHasPrefix applies the HasPrefix predicate on the "archive_path" field.

func ArchivePathHasSuffix

func ArchivePathHasSuffix(v string) predicate.Artifact

ArchivePathHasSuffix applies the HasSuffix predicate on the "archive_path" field.

func ArchivePathIn

func ArchivePathIn(vs ...string) predicate.Artifact

ArchivePathIn applies the In predicate on the "archive_path" field.

func ArchivePathIsNil

func ArchivePathIsNil() predicate.Artifact

ArchivePathIsNil applies the IsNil predicate on the "archive_path" field.

func ArchivePathLT

func ArchivePathLT(v string) predicate.Artifact

ArchivePathLT applies the LT predicate on the "archive_path" field.

func ArchivePathLTE

func ArchivePathLTE(v string) predicate.Artifact

ArchivePathLTE applies the LTE predicate on the "archive_path" field.

func ArchivePathNEQ

func ArchivePathNEQ(v string) predicate.Artifact

ArchivePathNEQ applies the NEQ predicate on the "archive_path" field.

func ArchivePathNotIn

func ArchivePathNotIn(vs ...string) predicate.Artifact

ArchivePathNotIn applies the NotIn predicate on the "archive_path" field.

func ArchivePathNotNil

func ArchivePathNotNil() predicate.Artifact

ArchivePathNotNil applies the NotNil predicate on the "archive_path" field.

func Content

func Content(v string) predicate.Artifact

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.Artifact

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.Artifact

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.Artifact

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.Artifact

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.Artifact

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.Artifact

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.Artifact

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.Artifact

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.Artifact

ContentIn applies the In predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.Artifact

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.Artifact

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.Artifact

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.Artifact

ContentNotIn applies the NotIn predicate on the "content" field.

func FilePath

func FilePath(v string) predicate.Artifact

FilePath applies equality check predicate on the "file_path" field. It's identical to FilePathEQ.

func FilePathContains

func FilePathContains(v string) predicate.Artifact

FilePathContains applies the Contains predicate on the "file_path" field.

func FilePathContainsFold

func FilePathContainsFold(v string) predicate.Artifact

FilePathContainsFold applies the ContainsFold predicate on the "file_path" field.

func FilePathEQ

func FilePathEQ(v string) predicate.Artifact

FilePathEQ applies the EQ predicate on the "file_path" field.

func FilePathEqualFold

func FilePathEqualFold(v string) predicate.Artifact

FilePathEqualFold applies the EqualFold predicate on the "file_path" field.

func FilePathGT

func FilePathGT(v string) predicate.Artifact

FilePathGT applies the GT predicate on the "file_path" field.

func FilePathGTE

func FilePathGTE(v string) predicate.Artifact

FilePathGTE applies the GTE predicate on the "file_path" field.

func FilePathHasPrefix

func FilePathHasPrefix(v string) predicate.Artifact

FilePathHasPrefix applies the HasPrefix predicate on the "file_path" field.

func FilePathHasSuffix

func FilePathHasSuffix(v string) predicate.Artifact

FilePathHasSuffix applies the HasSuffix predicate on the "file_path" field.

func FilePathIn

func FilePathIn(vs ...string) predicate.Artifact

FilePathIn applies the In predicate on the "file_path" field.

func FilePathLT

func FilePathLT(v string) predicate.Artifact

FilePathLT applies the LT predicate on the "file_path" field.

func FilePathLTE

func FilePathLTE(v string) predicate.Artifact

FilePathLTE applies the LTE predicate on the "file_path" field.

func FilePathNEQ

func FilePathNEQ(v string) predicate.Artifact

FilePathNEQ applies the NEQ predicate on the "file_path" field.

func FilePathNotIn

func FilePathNotIn(vs ...string) predicate.Artifact

FilePathNotIn applies the NotIn predicate on the "file_path" field.

func FileType

func FileType(v string) predicate.Artifact

FileType applies equality check predicate on the "file_type" field. It's identical to FileTypeEQ.

func FileTypeContains

func FileTypeContains(v string) predicate.Artifact

FileTypeContains applies the Contains predicate on the "file_type" field.

func FileTypeContainsFold

func FileTypeContainsFold(v string) predicate.Artifact

FileTypeContainsFold applies the ContainsFold predicate on the "file_type" field.

func FileTypeEQ

func FileTypeEQ(v string) predicate.Artifact

FileTypeEQ applies the EQ predicate on the "file_type" field.

func FileTypeEqualFold

func FileTypeEqualFold(v string) predicate.Artifact

FileTypeEqualFold applies the EqualFold predicate on the "file_type" field.

func FileTypeGT

func FileTypeGT(v string) predicate.Artifact

FileTypeGT applies the GT predicate on the "file_type" field.

func FileTypeGTE

func FileTypeGTE(v string) predicate.Artifact

FileTypeGTE applies the GTE predicate on the "file_type" field.

func FileTypeHasPrefix

func FileTypeHasPrefix(v string) predicate.Artifact

FileTypeHasPrefix applies the HasPrefix predicate on the "file_type" field.

func FileTypeHasSuffix

func FileTypeHasSuffix(v string) predicate.Artifact

FileTypeHasSuffix applies the HasSuffix predicate on the "file_type" field.

func FileTypeIn

func FileTypeIn(vs ...string) predicate.Artifact

FileTypeIn applies the In predicate on the "file_type" field.

func FileTypeLT

func FileTypeLT(v string) predicate.Artifact

FileTypeLT applies the LT predicate on the "file_type" field.

func FileTypeLTE

func FileTypeLTE(v string) predicate.Artifact

FileTypeLTE applies the LTE predicate on the "file_type" field.

func FileTypeNEQ

func FileTypeNEQ(v string) predicate.Artifact

FileTypeNEQ applies the NEQ predicate on the "file_type" field.

func FileTypeNotIn

func FileTypeNotIn(vs ...string) predicate.Artifact

FileTypeNotIn applies the NotIn predicate on the "file_type" field.

func HasMetadata

func HasMetadata() predicate.Artifact

HasMetadata applies the HasEdge predicate on the "metadata" edge.

func HasMetadataWith

func HasMetadataWith(preds ...predicate.Metadata) predicate.Artifact

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

func ID

func ID(id int) predicate.Artifact

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Artifact

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Artifact

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Artifact

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Artifact

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Artifact

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Artifact

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Artifact

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Artifact

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.Artifact) predicate.Artifact

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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