storagedeletion

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the storagedeletion type in the database.
	Label = "storage_deletion"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFolderName holds the string denoting the foldername field in the database.
	FieldFolderName = "folderName"
	// FieldCreatedAt holds the string denoting the createdat field in the database.
	FieldCreatedAt = "createdAt"
	// FieldAttemptCount holds the string denoting the attemptcount field in the database.
	FieldAttemptCount = "attemptCount"
	// FieldLastAttemptedAt holds the string denoting the lastattemptedat field in the database.
	FieldLastAttemptedAt = "lastAttemptedAt"
	// FieldLastError holds the string denoting the lasterror field in the database.
	FieldLastError = "lastError"
	// Table holds the table name of the storagedeletion in the database.
	Table = "storage_deletions"
)

Variables

View Source
var (
	// FolderNameValidator is a validator for the "folderName" field. It is called by the builders before save.
	FolderNameValidator func(string) error
	// DefaultAttemptCount holds the default value on creation for the "attemptCount" field.
	DefaultAttemptCount int
	// AttemptCountValidator is a validator for the "attemptCount" field. It is called by the builders before save.
	AttemptCountValidator func(int) error
)

Columns holds all SQL columns for storagedeletion fields.

Functions

func And

And groups predicates with the AND operator between them.

func AttemptCount

func AttemptCount(v int) predicate.StorageDeletion

AttemptCount applies equality check predicate on the "attemptCount" field. It's identical to AttemptCountEQ.

func AttemptCountEQ

func AttemptCountEQ(v int) predicate.StorageDeletion

AttemptCountEQ applies the EQ predicate on the "attemptCount" field.

func AttemptCountGT

func AttemptCountGT(v int) predicate.StorageDeletion

AttemptCountGT applies the GT predicate on the "attemptCount" field.

func AttemptCountGTE

func AttemptCountGTE(v int) predicate.StorageDeletion

AttemptCountGTE applies the GTE predicate on the "attemptCount" field.

func AttemptCountIn

func AttemptCountIn(vs ...int) predicate.StorageDeletion

AttemptCountIn applies the In predicate on the "attemptCount" field.

func AttemptCountLT

func AttemptCountLT(v int) predicate.StorageDeletion

AttemptCountLT applies the LT predicate on the "attemptCount" field.

func AttemptCountLTE

func AttemptCountLTE(v int) predicate.StorageDeletion

AttemptCountLTE applies the LTE predicate on the "attemptCount" field.

func AttemptCountNEQ

func AttemptCountNEQ(v int) predicate.StorageDeletion

AttemptCountNEQ applies the NEQ predicate on the "attemptCount" field.

func AttemptCountNotIn

func AttemptCountNotIn(vs ...int) predicate.StorageDeletion

AttemptCountNotIn applies the NotIn predicate on the "attemptCount" field.

func CreatedAt

func CreatedAt(v int64) predicate.StorageDeletion

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

func CreatedAtEQ

func CreatedAtEQ(v int64) predicate.StorageDeletion

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

func CreatedAtGT

func CreatedAtGT(v int64) predicate.StorageDeletion

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

func CreatedAtGTE

func CreatedAtGTE(v int64) predicate.StorageDeletion

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

func CreatedAtIn

func CreatedAtIn(vs ...int64) predicate.StorageDeletion

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

func CreatedAtLT

func CreatedAtLT(v int64) predicate.StorageDeletion

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

func CreatedAtLTE

func CreatedAtLTE(v int64) predicate.StorageDeletion

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

func CreatedAtNEQ

func CreatedAtNEQ(v int64) predicate.StorageDeletion

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

func CreatedAtNotIn

func CreatedAtNotIn(vs ...int64) predicate.StorageDeletion

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

func FolderName

func FolderName(v string) predicate.StorageDeletion

FolderName applies equality check predicate on the "folderName" field. It's identical to FolderNameEQ.

func FolderNameContains

func FolderNameContains(v string) predicate.StorageDeletion

FolderNameContains applies the Contains predicate on the "folderName" field.

func FolderNameContainsFold

func FolderNameContainsFold(v string) predicate.StorageDeletion

FolderNameContainsFold applies the ContainsFold predicate on the "folderName" field.

func FolderNameEQ

func FolderNameEQ(v string) predicate.StorageDeletion

FolderNameEQ applies the EQ predicate on the "folderName" field.

func FolderNameEqualFold

func FolderNameEqualFold(v string) predicate.StorageDeletion

FolderNameEqualFold applies the EqualFold predicate on the "folderName" field.

func FolderNameGT

func FolderNameGT(v string) predicate.StorageDeletion

FolderNameGT applies the GT predicate on the "folderName" field.

func FolderNameGTE

func FolderNameGTE(v string) predicate.StorageDeletion

FolderNameGTE applies the GTE predicate on the "folderName" field.

func FolderNameHasPrefix

func FolderNameHasPrefix(v string) predicate.StorageDeletion

FolderNameHasPrefix applies the HasPrefix predicate on the "folderName" field.

func FolderNameHasSuffix

func FolderNameHasSuffix(v string) predicate.StorageDeletion

FolderNameHasSuffix applies the HasSuffix predicate on the "folderName" field.

func FolderNameIn

func FolderNameIn(vs ...string) predicate.StorageDeletion

FolderNameIn applies the In predicate on the "folderName" field.

func FolderNameLT

func FolderNameLT(v string) predicate.StorageDeletion

FolderNameLT applies the LT predicate on the "folderName" field.

func FolderNameLTE

func FolderNameLTE(v string) predicate.StorageDeletion

FolderNameLTE applies the LTE predicate on the "folderName" field.

func FolderNameNEQ

func FolderNameNEQ(v string) predicate.StorageDeletion

FolderNameNEQ applies the NEQ predicate on the "folderName" field.

func FolderNameNotIn

func FolderNameNotIn(vs ...string) predicate.StorageDeletion

FolderNameNotIn applies the NotIn predicate on the "folderName" 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.StorageDeletion

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

IDNotIn applies the NotIn predicate on the ID field.

func LastAttemptedAt

func LastAttemptedAt(v int64) predicate.StorageDeletion

LastAttemptedAt applies equality check predicate on the "lastAttemptedAt" field. It's identical to LastAttemptedAtEQ.

func LastAttemptedAtEQ

func LastAttemptedAtEQ(v int64) predicate.StorageDeletion

LastAttemptedAtEQ applies the EQ predicate on the "lastAttemptedAt" field.

func LastAttemptedAtGT

func LastAttemptedAtGT(v int64) predicate.StorageDeletion

LastAttemptedAtGT applies the GT predicate on the "lastAttemptedAt" field.

func LastAttemptedAtGTE

func LastAttemptedAtGTE(v int64) predicate.StorageDeletion

LastAttemptedAtGTE applies the GTE predicate on the "lastAttemptedAt" field.

func LastAttemptedAtIn

func LastAttemptedAtIn(vs ...int64) predicate.StorageDeletion

LastAttemptedAtIn applies the In predicate on the "lastAttemptedAt" field.

func LastAttemptedAtIsNil

func LastAttemptedAtIsNil() predicate.StorageDeletion

LastAttemptedAtIsNil applies the IsNil predicate on the "lastAttemptedAt" field.

func LastAttemptedAtLT

func LastAttemptedAtLT(v int64) predicate.StorageDeletion

LastAttemptedAtLT applies the LT predicate on the "lastAttemptedAt" field.

func LastAttemptedAtLTE

func LastAttemptedAtLTE(v int64) predicate.StorageDeletion

LastAttemptedAtLTE applies the LTE predicate on the "lastAttemptedAt" field.

func LastAttemptedAtNEQ

func LastAttemptedAtNEQ(v int64) predicate.StorageDeletion

LastAttemptedAtNEQ applies the NEQ predicate on the "lastAttemptedAt" field.

func LastAttemptedAtNotIn

func LastAttemptedAtNotIn(vs ...int64) predicate.StorageDeletion

LastAttemptedAtNotIn applies the NotIn predicate on the "lastAttemptedAt" field.

func LastAttemptedAtNotNil

func LastAttemptedAtNotNil() predicate.StorageDeletion

LastAttemptedAtNotNil applies the NotNil predicate on the "lastAttemptedAt" field.

func LastError

func LastError(v string) predicate.StorageDeletion

LastError applies equality check predicate on the "lastError" field. It's identical to LastErrorEQ.

func LastErrorContains

func LastErrorContains(v string) predicate.StorageDeletion

LastErrorContains applies the Contains predicate on the "lastError" field.

func LastErrorContainsFold

func LastErrorContainsFold(v string) predicate.StorageDeletion

LastErrorContainsFold applies the ContainsFold predicate on the "lastError" field.

func LastErrorEQ

func LastErrorEQ(v string) predicate.StorageDeletion

LastErrorEQ applies the EQ predicate on the "lastError" field.

func LastErrorEqualFold

func LastErrorEqualFold(v string) predicate.StorageDeletion

LastErrorEqualFold applies the EqualFold predicate on the "lastError" field.

func LastErrorGT

func LastErrorGT(v string) predicate.StorageDeletion

LastErrorGT applies the GT predicate on the "lastError" field.

func LastErrorGTE

func LastErrorGTE(v string) predicate.StorageDeletion

LastErrorGTE applies the GTE predicate on the "lastError" field.

func LastErrorHasPrefix

func LastErrorHasPrefix(v string) predicate.StorageDeletion

LastErrorHasPrefix applies the HasPrefix predicate on the "lastError" field.

func LastErrorHasSuffix

func LastErrorHasSuffix(v string) predicate.StorageDeletion

LastErrorHasSuffix applies the HasSuffix predicate on the "lastError" field.

func LastErrorIn

func LastErrorIn(vs ...string) predicate.StorageDeletion

LastErrorIn applies the In predicate on the "lastError" field.

func LastErrorIsNil

func LastErrorIsNil() predicate.StorageDeletion

LastErrorIsNil applies the IsNil predicate on the "lastError" field.

func LastErrorLT

func LastErrorLT(v string) predicate.StorageDeletion

LastErrorLT applies the LT predicate on the "lastError" field.

func LastErrorLTE

func LastErrorLTE(v string) predicate.StorageDeletion

LastErrorLTE applies the LTE predicate on the "lastError" field.

func LastErrorNEQ

func LastErrorNEQ(v string) predicate.StorageDeletion

LastErrorNEQ applies the NEQ predicate on the "lastError" field.

func LastErrorNotIn

func LastErrorNotIn(vs ...string) predicate.StorageDeletion

LastErrorNotIn applies the NotIn predicate on the "lastError" field.

func LastErrorNotNil

func LastErrorNotNil() predicate.StorageDeletion

LastErrorNotNil applies the NotNil predicate on the "lastError" field.

func Not

Not applies the not operator on the given predicate.

func Or

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

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the StorageDeletion queries.

func ByAttemptCount

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

ByAttemptCount orders the results by the attemptCount field.

func ByCreatedAt

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

ByCreatedAt orders the results by the createdAt field.

func ByFolderName

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

ByFolderName orders the results by the folderName field.

func ByID

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

ByID orders the results by the id field.

func ByLastAttemptedAt

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

ByLastAttemptedAt orders the results by the lastAttemptedAt field.

func ByLastError

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

ByLastError orders the results by the lastError field.

Jump to

Keyboard shortcuts

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