Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Artifact) predicate.Artifact
- func ArchivePath(v string) predicate.Artifact
- func ArchivePathContains(v string) predicate.Artifact
- func ArchivePathContainsFold(v string) predicate.Artifact
- func ArchivePathEQ(v string) predicate.Artifact
- func ArchivePathEqualFold(v string) predicate.Artifact
- func ArchivePathGT(v string) predicate.Artifact
- func ArchivePathGTE(v string) predicate.Artifact
- func ArchivePathHasPrefix(v string) predicate.Artifact
- func ArchivePathHasSuffix(v string) predicate.Artifact
- func ArchivePathIn(vs ...string) predicate.Artifact
- func ArchivePathIsNil() predicate.Artifact
- func ArchivePathLT(v string) predicate.Artifact
- func ArchivePathLTE(v string) predicate.Artifact
- func ArchivePathNEQ(v string) predicate.Artifact
- func ArchivePathNotIn(vs ...string) predicate.Artifact
- func ArchivePathNotNil() predicate.Artifact
- func Content(v string) predicate.Artifact
- func ContentContains(v string) predicate.Artifact
- func ContentContainsFold(v string) predicate.Artifact
- func ContentEQ(v string) predicate.Artifact
- func ContentEqualFold(v string) predicate.Artifact
- func ContentGT(v string) predicate.Artifact
- func ContentGTE(v string) predicate.Artifact
- func ContentHasPrefix(v string) predicate.Artifact
- func ContentHasSuffix(v string) predicate.Artifact
- func ContentIn(vs ...string) predicate.Artifact
- func ContentLT(v string) predicate.Artifact
- func ContentLTE(v string) predicate.Artifact
- func ContentNEQ(v string) predicate.Artifact
- func ContentNotIn(vs ...string) predicate.Artifact
- func FilePath(v string) predicate.Artifact
- func FilePathContains(v string) predicate.Artifact
- func FilePathContainsFold(v string) predicate.Artifact
- func FilePathEQ(v string) predicate.Artifact
- func FilePathEqualFold(v string) predicate.Artifact
- func FilePathGT(v string) predicate.Artifact
- func FilePathGTE(v string) predicate.Artifact
- func FilePathHasPrefix(v string) predicate.Artifact
- func FilePathHasSuffix(v string) predicate.Artifact
- func FilePathIn(vs ...string) predicate.Artifact
- func FilePathLT(v string) predicate.Artifact
- func FilePathLTE(v string) predicate.Artifact
- func FilePathNEQ(v string) predicate.Artifact
- func FilePathNotIn(vs ...string) predicate.Artifact
- func FileType(v string) predicate.Artifact
- func FileTypeContains(v string) predicate.Artifact
- func FileTypeContainsFold(v string) predicate.Artifact
- func FileTypeEQ(v string) predicate.Artifact
- func FileTypeEqualFold(v string) predicate.Artifact
- func FileTypeGT(v string) predicate.Artifact
- func FileTypeGTE(v string) predicate.Artifact
- func FileTypeHasPrefix(v string) predicate.Artifact
- func FileTypeHasSuffix(v string) predicate.Artifact
- func FileTypeIn(vs ...string) predicate.Artifact
- func FileTypeLT(v string) predicate.Artifact
- func FileTypeLTE(v string) predicate.Artifact
- func FileTypeNEQ(v string) predicate.Artifact
- func FileTypeNotIn(vs ...string) predicate.Artifact
- func HasMetadata() predicate.Artifact
- func HasMetadataWith(preds ...predicate.Metadata) predicate.Artifact
- func ID(id int) predicate.Artifact
- func IDEQ(id int) predicate.Artifact
- func IDGT(id int) predicate.Artifact
- func IDGTE(id int) predicate.Artifact
- func IDIn(ids ...int) predicate.Artifact
- func IDLT(id int) predicate.Artifact
- func IDLTE(id int) predicate.Artifact
- func IDNEQ(id int) predicate.Artifact
- func IDNotIn(ids ...int) predicate.Artifact
- func Not(p predicate.Artifact) predicate.Artifact
- func Or(predicates ...predicate.Artifact) predicate.Artifact
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldFilePath, FieldArchivePath, FieldFileType, FieldContent, }
Columns holds all SQL columns for artifact fields.
Functions ¶
func ArchivePath ¶
ArchivePath applies equality check predicate on the "archive_path" field. It's identical to ArchivePathEQ.
func ArchivePathContains ¶
ArchivePathContains applies the Contains predicate on the "archive_path" field.
func ArchivePathContainsFold ¶
ArchivePathContainsFold applies the ContainsFold predicate on the "archive_path" field.
func ArchivePathEQ ¶
ArchivePathEQ applies the EQ predicate on the "archive_path" field.
func ArchivePathEqualFold ¶
ArchivePathEqualFold applies the EqualFold predicate on the "archive_path" field.
func ArchivePathGT ¶
ArchivePathGT applies the GT predicate on the "archive_path" field.
func ArchivePathGTE ¶
ArchivePathGTE applies the GTE predicate on the "archive_path" field.
func ArchivePathHasPrefix ¶
ArchivePathHasPrefix applies the HasPrefix predicate on the "archive_path" field.
func ArchivePathHasSuffix ¶
ArchivePathHasSuffix applies the HasSuffix predicate on the "archive_path" field.
func ArchivePathIn ¶
ArchivePathIn applies the In predicate on the "archive_path" field.
func ArchivePathIsNil ¶
ArchivePathIsNil applies the IsNil predicate on the "archive_path" field.
func ArchivePathLT ¶
ArchivePathLT applies the LT predicate on the "archive_path" field.
func ArchivePathLTE ¶
ArchivePathLTE applies the LTE predicate on the "archive_path" field.
func ArchivePathNEQ ¶
ArchivePathNEQ applies the NEQ predicate on the "archive_path" field.
func ArchivePathNotIn ¶
ArchivePathNotIn applies the NotIn predicate on the "archive_path" field.
func ArchivePathNotNil ¶
ArchivePathNotNil applies the NotNil predicate on the "archive_path" field.
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func FilePath ¶
FilePath applies equality check predicate on the "file_path" field. It's identical to FilePathEQ.
func FilePathContains ¶
FilePathContains applies the Contains predicate on the "file_path" field.
func FilePathContainsFold ¶
FilePathContainsFold applies the ContainsFold predicate on the "file_path" field.
func FilePathEQ ¶
FilePathEQ applies the EQ predicate on the "file_path" field.
func FilePathEqualFold ¶
FilePathEqualFold applies the EqualFold predicate on the "file_path" field.
func FilePathGT ¶
FilePathGT applies the GT predicate on the "file_path" field.
func FilePathGTE ¶
FilePathGTE applies the GTE predicate on the "file_path" field.
func FilePathHasPrefix ¶
FilePathHasPrefix applies the HasPrefix predicate on the "file_path" field.
func FilePathHasSuffix ¶
FilePathHasSuffix applies the HasSuffix predicate on the "file_path" field.
func FilePathIn ¶
FilePathIn applies the In predicate on the "file_path" field.
func FilePathLT ¶
FilePathLT applies the LT predicate on the "file_path" field.
func FilePathLTE ¶
FilePathLTE applies the LTE predicate on the "file_path" field.
func FilePathNEQ ¶
FilePathNEQ applies the NEQ predicate on the "file_path" field.
func FilePathNotIn ¶
FilePathNotIn applies the NotIn predicate on the "file_path" field.
func FileType ¶
FileType applies equality check predicate on the "file_type" field. It's identical to FileTypeEQ.
func FileTypeContains ¶
FileTypeContains applies the Contains predicate on the "file_type" field.
func FileTypeContainsFold ¶
FileTypeContainsFold applies the ContainsFold predicate on the "file_type" field.
func FileTypeEQ ¶
FileTypeEQ applies the EQ predicate on the "file_type" field.
func FileTypeEqualFold ¶
FileTypeEqualFold applies the EqualFold predicate on the "file_type" field.
func FileTypeGT ¶
FileTypeGT applies the GT predicate on the "file_type" field.
func FileTypeGTE ¶
FileTypeGTE applies the GTE predicate on the "file_type" field.
func FileTypeHasPrefix ¶
FileTypeHasPrefix applies the HasPrefix predicate on the "file_type" field.
func FileTypeHasSuffix ¶
FileTypeHasSuffix applies the HasSuffix predicate on the "file_type" field.
func FileTypeIn ¶
FileTypeIn applies the In predicate on the "file_type" field.
func FileTypeLT ¶
FileTypeLT applies the LT predicate on the "file_type" field.
func FileTypeLTE ¶
FileTypeLTE applies the LTE predicate on the "file_type" field.
func FileTypeNEQ ¶
FileTypeNEQ applies the NEQ predicate on the "file_type" field.
func FileTypeNotIn ¶
FileTypeNotIn applies the NotIn predicate on the "file_type" field.
func HasMetadata ¶
HasMetadata applies the HasEdge predicate on the "metadata" edge.
func HasMetadataWith ¶
HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.