importscan

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the importscan type in the database.
	Label = "import_scan"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// FieldUpdateTime holds the string denoting the update_time field in the database.
	FieldUpdateTime = "update_time"
	// FieldSourcePath holds the string denoting the source_path field in the database.
	FieldSourcePath = "source_path"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldMode holds the string denoting the mode field in the database.
	FieldMode = "mode"
	// FieldImportMode holds the string denoting the import_mode field in the database.
	FieldImportMode = "import_mode"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldTotalCount holds the string denoting the total_count field in the database.
	FieldTotalCount = "total_count"
	// FieldProcessedCount holds the string denoting the processed_count field in the database.
	FieldProcessedCount = "processed_count"
	// FieldCommitSuccessCount holds the string denoting the commit_success_count field in the database.
	FieldCommitSuccessCount = "commit_success_count"
	// FieldCommitFailedCount holds the string denoting the commit_failed_count field in the database.
	FieldCommitFailedCount = "commit_failed_count"
	// FieldFailureReason holds the string denoting the failure_reason field in the database.
	FieldFailureReason = "failure_reason"
	// FieldScannedAt holds the string denoting the scanned_at field in the database.
	FieldScannedAt = "scanned_at"
	// FieldCommittedAt holds the string denoting the committed_at field in the database.
	FieldCommittedAt = "committed_at"
	// EdgeFiles holds the string denoting the files edge name in mutations.
	EdgeFiles = "files"
	// EdgeShows holds the string denoting the shows edge name in mutations.
	EdgeShows = "shows"
	// Table holds the table name of the importscan in the database.
	Table = "import_scans"
	// FilesTable is the table that holds the files relation/edge.
	FilesTable = "import_scan_files"
	// FilesInverseTable is the table name for the ImportScanFile entity.
	// It exists in this package in order to avoid circular dependency with the "importscanfile" package.
	FilesInverseTable = "import_scan_files"
	// FilesColumn is the table column denoting the files relation/edge.
	FilesColumn = "import_scan_files"
	// ShowsTable is the table that holds the shows relation/edge.
	ShowsTable = "import_scan_shows"
	// ShowsInverseTable is the table name for the ImportScanShow entity.
	// It exists in this package in order to avoid circular dependency with the "importscanshow" package.
	ShowsInverseTable = "import_scan_shows"
	// ShowsColumn is the table column denoting the shows relation/edge.
	ShowsColumn = "import_scan_shows"
)
View Source
const DefaultKind = KindMovie

KindMovie is the default value of the Kind enum.

View Source
const DefaultStatus = StatusRunning

StatusRunning is the default value of the Status enum.

Variables

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
	// DefaultUpdateTime holds the default value on creation for the "update_time" field.
	DefaultUpdateTime func() time.Time
	// UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
	UpdateDefaultUpdateTime func() time.Time
	// SourcePathValidator is a validator for the "source_path" field. It is called by the builders before save.
	SourcePathValidator func(string) error
	// DefaultTotalCount holds the default value on creation for the "total_count" field.
	DefaultTotalCount uint32
	// DefaultProcessedCount holds the default value on creation for the "processed_count" field.
	DefaultProcessedCount uint32
	// DefaultCommitSuccessCount holds the default value on creation for the "commit_success_count" field.
	DefaultCommitSuccessCount uint32
	// DefaultCommitFailedCount holds the default value on creation for the "commit_failed_count" field.
	DefaultCommitFailedCount uint32
)

Columns holds all SQL columns for importscan fields.

Functions

func And

func And(predicates ...predicate.ImportScan) predicate.ImportScan

And groups predicates with the AND operator between them.

func CommitFailedCount

func CommitFailedCount(v uint32) predicate.ImportScan

CommitFailedCount applies equality check predicate on the "commit_failed_count" field. It's identical to CommitFailedCountEQ.

func CommitFailedCountEQ

func CommitFailedCountEQ(v uint32) predicate.ImportScan

CommitFailedCountEQ applies the EQ predicate on the "commit_failed_count" field.

func CommitFailedCountGT

func CommitFailedCountGT(v uint32) predicate.ImportScan

CommitFailedCountGT applies the GT predicate on the "commit_failed_count" field.

func CommitFailedCountGTE

func CommitFailedCountGTE(v uint32) predicate.ImportScan

CommitFailedCountGTE applies the GTE predicate on the "commit_failed_count" field.

func CommitFailedCountIn

func CommitFailedCountIn(vs ...uint32) predicate.ImportScan

CommitFailedCountIn applies the In predicate on the "commit_failed_count" field.

func CommitFailedCountLT

func CommitFailedCountLT(v uint32) predicate.ImportScan

CommitFailedCountLT applies the LT predicate on the "commit_failed_count" field.

func CommitFailedCountLTE

func CommitFailedCountLTE(v uint32) predicate.ImportScan

CommitFailedCountLTE applies the LTE predicate on the "commit_failed_count" field.

func CommitFailedCountNEQ

func CommitFailedCountNEQ(v uint32) predicate.ImportScan

CommitFailedCountNEQ applies the NEQ predicate on the "commit_failed_count" field.

func CommitFailedCountNotIn

func CommitFailedCountNotIn(vs ...uint32) predicate.ImportScan

CommitFailedCountNotIn applies the NotIn predicate on the "commit_failed_count" field.

func CommitSuccessCount

func CommitSuccessCount(v uint32) predicate.ImportScan

CommitSuccessCount applies equality check predicate on the "commit_success_count" field. It's identical to CommitSuccessCountEQ.

func CommitSuccessCountEQ

func CommitSuccessCountEQ(v uint32) predicate.ImportScan

CommitSuccessCountEQ applies the EQ predicate on the "commit_success_count" field.

func CommitSuccessCountGT

func CommitSuccessCountGT(v uint32) predicate.ImportScan

CommitSuccessCountGT applies the GT predicate on the "commit_success_count" field.

func CommitSuccessCountGTE

func CommitSuccessCountGTE(v uint32) predicate.ImportScan

CommitSuccessCountGTE applies the GTE predicate on the "commit_success_count" field.

func CommitSuccessCountIn

func CommitSuccessCountIn(vs ...uint32) predicate.ImportScan

CommitSuccessCountIn applies the In predicate on the "commit_success_count" field.

func CommitSuccessCountLT

func CommitSuccessCountLT(v uint32) predicate.ImportScan

CommitSuccessCountLT applies the LT predicate on the "commit_success_count" field.

func CommitSuccessCountLTE

func CommitSuccessCountLTE(v uint32) predicate.ImportScan

CommitSuccessCountLTE applies the LTE predicate on the "commit_success_count" field.

func CommitSuccessCountNEQ

func CommitSuccessCountNEQ(v uint32) predicate.ImportScan

CommitSuccessCountNEQ applies the NEQ predicate on the "commit_success_count" field.

func CommitSuccessCountNotIn

func CommitSuccessCountNotIn(vs ...uint32) predicate.ImportScan

CommitSuccessCountNotIn applies the NotIn predicate on the "commit_success_count" field.

func CommittedAt

func CommittedAt(v time.Time) predicate.ImportScan

CommittedAt applies equality check predicate on the "committed_at" field. It's identical to CommittedAtEQ.

func CommittedAtEQ

func CommittedAtEQ(v time.Time) predicate.ImportScan

CommittedAtEQ applies the EQ predicate on the "committed_at" field.

func CommittedAtGT

func CommittedAtGT(v time.Time) predicate.ImportScan

CommittedAtGT applies the GT predicate on the "committed_at" field.

func CommittedAtGTE

func CommittedAtGTE(v time.Time) predicate.ImportScan

CommittedAtGTE applies the GTE predicate on the "committed_at" field.

func CommittedAtIn

func CommittedAtIn(vs ...time.Time) predicate.ImportScan

CommittedAtIn applies the In predicate on the "committed_at" field.

func CommittedAtIsNil

func CommittedAtIsNil() predicate.ImportScan

CommittedAtIsNil applies the IsNil predicate on the "committed_at" field.

func CommittedAtLT

func CommittedAtLT(v time.Time) predicate.ImportScan

CommittedAtLT applies the LT predicate on the "committed_at" field.

func CommittedAtLTE

func CommittedAtLTE(v time.Time) predicate.ImportScan

CommittedAtLTE applies the LTE predicate on the "committed_at" field.

func CommittedAtNEQ

func CommittedAtNEQ(v time.Time) predicate.ImportScan

CommittedAtNEQ applies the NEQ predicate on the "committed_at" field.

func CommittedAtNotIn

func CommittedAtNotIn(vs ...time.Time) predicate.ImportScan

CommittedAtNotIn applies the NotIn predicate on the "committed_at" field.

func CommittedAtNotNil

func CommittedAtNotNil() predicate.ImportScan

CommittedAtNotNil applies the NotNil predicate on the "committed_at" field.

func CreateTime

func CreateTime(v time.Time) predicate.ImportScan

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.ImportScan

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.ImportScan

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.ImportScan

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.ImportScan

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.ImportScan

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.ImportScan

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.ImportScan

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.ImportScan

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func FailureReason

func FailureReason(v string) predicate.ImportScan

FailureReason applies equality check predicate on the "failure_reason" field. It's identical to FailureReasonEQ.

func FailureReasonContains

func FailureReasonContains(v string) predicate.ImportScan

FailureReasonContains applies the Contains predicate on the "failure_reason" field.

func FailureReasonContainsFold

func FailureReasonContainsFold(v string) predicate.ImportScan

FailureReasonContainsFold applies the ContainsFold predicate on the "failure_reason" field.

func FailureReasonEQ

func FailureReasonEQ(v string) predicate.ImportScan

FailureReasonEQ applies the EQ predicate on the "failure_reason" field.

func FailureReasonEqualFold

func FailureReasonEqualFold(v string) predicate.ImportScan

FailureReasonEqualFold applies the EqualFold predicate on the "failure_reason" field.

func FailureReasonGT

func FailureReasonGT(v string) predicate.ImportScan

FailureReasonGT applies the GT predicate on the "failure_reason" field.

func FailureReasonGTE

func FailureReasonGTE(v string) predicate.ImportScan

FailureReasonGTE applies the GTE predicate on the "failure_reason" field.

func FailureReasonHasPrefix

func FailureReasonHasPrefix(v string) predicate.ImportScan

FailureReasonHasPrefix applies the HasPrefix predicate on the "failure_reason" field.

func FailureReasonHasSuffix

func FailureReasonHasSuffix(v string) predicate.ImportScan

FailureReasonHasSuffix applies the HasSuffix predicate on the "failure_reason" field.

func FailureReasonIn

func FailureReasonIn(vs ...string) predicate.ImportScan

FailureReasonIn applies the In predicate on the "failure_reason" field.

func FailureReasonIsNil

func FailureReasonIsNil() predicate.ImportScan

FailureReasonIsNil applies the IsNil predicate on the "failure_reason" field.

func FailureReasonLT

func FailureReasonLT(v string) predicate.ImportScan

FailureReasonLT applies the LT predicate on the "failure_reason" field.

func FailureReasonLTE

func FailureReasonLTE(v string) predicate.ImportScan

FailureReasonLTE applies the LTE predicate on the "failure_reason" field.

func FailureReasonNEQ

func FailureReasonNEQ(v string) predicate.ImportScan

FailureReasonNEQ applies the NEQ predicate on the "failure_reason" field.

func FailureReasonNotIn

func FailureReasonNotIn(vs ...string) predicate.ImportScan

FailureReasonNotIn applies the NotIn predicate on the "failure_reason" field.

func FailureReasonNotNil

func FailureReasonNotNil() predicate.ImportScan

FailureReasonNotNil applies the NotNil predicate on the "failure_reason" field.

func HasFiles

func HasFiles() predicate.ImportScan

HasFiles applies the HasEdge predicate on the "files" edge.

func HasFilesWith

func HasFilesWith(preds ...predicate.ImportScanFile) predicate.ImportScan

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

func HasShows

func HasShows() predicate.ImportScan

HasShows applies the HasEdge predicate on the "shows" edge.

func HasShowsWith

func HasShowsWith(preds ...predicate.ImportScanShow) predicate.ImportScan

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint32) predicate.ImportScan

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint32) predicate.ImportScan

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint32) predicate.ImportScan

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint32) predicate.ImportScan

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint32) predicate.ImportScan

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint32) predicate.ImportScan

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint32) predicate.ImportScan

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint32) predicate.ImportScan

IDNotIn applies the NotIn predicate on the ID field.

func ImportModeEQ

func ImportModeEQ(v ImportMode) predicate.ImportScan

ImportModeEQ applies the EQ predicate on the "import_mode" field.

func ImportModeIn

func ImportModeIn(vs ...ImportMode) predicate.ImportScan

ImportModeIn applies the In predicate on the "import_mode" field.

func ImportModeIsNil

func ImportModeIsNil() predicate.ImportScan

ImportModeIsNil applies the IsNil predicate on the "import_mode" field.

func ImportModeNEQ

func ImportModeNEQ(v ImportMode) predicate.ImportScan

ImportModeNEQ applies the NEQ predicate on the "import_mode" field.

func ImportModeNotIn

func ImportModeNotIn(vs ...ImportMode) predicate.ImportScan

ImportModeNotIn applies the NotIn predicate on the "import_mode" field.

func ImportModeNotNil

func ImportModeNotNil() predicate.ImportScan

ImportModeNotNil applies the NotNil predicate on the "import_mode" field.

func ImportModeValidator

func ImportModeValidator(im ImportMode) error

ImportModeValidator is a validator for the "import_mode" field enum values. It is called by the builders before save.

func KindEQ

func KindEQ(v Kind) predicate.ImportScan

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

func KindIn

func KindIn(vs ...Kind) predicate.ImportScan

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

func KindNEQ

func KindNEQ(v Kind) predicate.ImportScan

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

func KindNotIn

func KindNotIn(vs ...Kind) predicate.ImportScan

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

func KindValidator

func KindValidator(k Kind) error

KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.

func ModeEQ

func ModeEQ(v Mode) predicate.ImportScan

ModeEQ applies the EQ predicate on the "mode" field.

func ModeIn

func ModeIn(vs ...Mode) predicate.ImportScan

ModeIn applies the In predicate on the "mode" field.

func ModeNEQ

func ModeNEQ(v Mode) predicate.ImportScan

ModeNEQ applies the NEQ predicate on the "mode" field.

func ModeNotIn

func ModeNotIn(vs ...Mode) predicate.ImportScan

ModeNotIn applies the NotIn predicate on the "mode" field.

func ModeValidator

func ModeValidator(m Mode) error

ModeValidator is a validator for the "mode" field enum values. It is called by the builders before save.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ImportScan) predicate.ImportScan

Or groups predicates with the OR operator between them.

func ProcessedCount

func ProcessedCount(v uint32) predicate.ImportScan

ProcessedCount applies equality check predicate on the "processed_count" field. It's identical to ProcessedCountEQ.

func ProcessedCountEQ

func ProcessedCountEQ(v uint32) predicate.ImportScan

ProcessedCountEQ applies the EQ predicate on the "processed_count" field.

func ProcessedCountGT

func ProcessedCountGT(v uint32) predicate.ImportScan

ProcessedCountGT applies the GT predicate on the "processed_count" field.

func ProcessedCountGTE

func ProcessedCountGTE(v uint32) predicate.ImportScan

ProcessedCountGTE applies the GTE predicate on the "processed_count" field.

func ProcessedCountIn

func ProcessedCountIn(vs ...uint32) predicate.ImportScan

ProcessedCountIn applies the In predicate on the "processed_count" field.

func ProcessedCountLT

func ProcessedCountLT(v uint32) predicate.ImportScan

ProcessedCountLT applies the LT predicate on the "processed_count" field.

func ProcessedCountLTE

func ProcessedCountLTE(v uint32) predicate.ImportScan

ProcessedCountLTE applies the LTE predicate on the "processed_count" field.

func ProcessedCountNEQ

func ProcessedCountNEQ(v uint32) predicate.ImportScan

ProcessedCountNEQ applies the NEQ predicate on the "processed_count" field.

func ProcessedCountNotIn

func ProcessedCountNotIn(vs ...uint32) predicate.ImportScan

ProcessedCountNotIn applies the NotIn predicate on the "processed_count" field.

func ScannedAt

func ScannedAt(v time.Time) predicate.ImportScan

ScannedAt applies equality check predicate on the "scanned_at" field. It's identical to ScannedAtEQ.

func ScannedAtEQ

func ScannedAtEQ(v time.Time) predicate.ImportScan

ScannedAtEQ applies the EQ predicate on the "scanned_at" field.

func ScannedAtGT

func ScannedAtGT(v time.Time) predicate.ImportScan

ScannedAtGT applies the GT predicate on the "scanned_at" field.

func ScannedAtGTE

func ScannedAtGTE(v time.Time) predicate.ImportScan

ScannedAtGTE applies the GTE predicate on the "scanned_at" field.

func ScannedAtIn

func ScannedAtIn(vs ...time.Time) predicate.ImportScan

ScannedAtIn applies the In predicate on the "scanned_at" field.

func ScannedAtIsNil

func ScannedAtIsNil() predicate.ImportScan

ScannedAtIsNil applies the IsNil predicate on the "scanned_at" field.

func ScannedAtLT

func ScannedAtLT(v time.Time) predicate.ImportScan

ScannedAtLT applies the LT predicate on the "scanned_at" field.

func ScannedAtLTE

func ScannedAtLTE(v time.Time) predicate.ImportScan

ScannedAtLTE applies the LTE predicate on the "scanned_at" field.

func ScannedAtNEQ

func ScannedAtNEQ(v time.Time) predicate.ImportScan

ScannedAtNEQ applies the NEQ predicate on the "scanned_at" field.

func ScannedAtNotIn

func ScannedAtNotIn(vs ...time.Time) predicate.ImportScan

ScannedAtNotIn applies the NotIn predicate on the "scanned_at" field.

func ScannedAtNotNil

func ScannedAtNotNil() predicate.ImportScan

ScannedAtNotNil applies the NotNil predicate on the "scanned_at" field.

func SourcePath

func SourcePath(v string) predicate.ImportScan

SourcePath applies equality check predicate on the "source_path" field. It's identical to SourcePathEQ.

func SourcePathContains

func SourcePathContains(v string) predicate.ImportScan

SourcePathContains applies the Contains predicate on the "source_path" field.

func SourcePathContainsFold

func SourcePathContainsFold(v string) predicate.ImportScan

SourcePathContainsFold applies the ContainsFold predicate on the "source_path" field.

func SourcePathEQ

func SourcePathEQ(v string) predicate.ImportScan

SourcePathEQ applies the EQ predicate on the "source_path" field.

func SourcePathEqualFold

func SourcePathEqualFold(v string) predicate.ImportScan

SourcePathEqualFold applies the EqualFold predicate on the "source_path" field.

func SourcePathGT

func SourcePathGT(v string) predicate.ImportScan

SourcePathGT applies the GT predicate on the "source_path" field.

func SourcePathGTE

func SourcePathGTE(v string) predicate.ImportScan

SourcePathGTE applies the GTE predicate on the "source_path" field.

func SourcePathHasPrefix

func SourcePathHasPrefix(v string) predicate.ImportScan

SourcePathHasPrefix applies the HasPrefix predicate on the "source_path" field.

func SourcePathHasSuffix

func SourcePathHasSuffix(v string) predicate.ImportScan

SourcePathHasSuffix applies the HasSuffix predicate on the "source_path" field.

func SourcePathIn

func SourcePathIn(vs ...string) predicate.ImportScan

SourcePathIn applies the In predicate on the "source_path" field.

func SourcePathLT

func SourcePathLT(v string) predicate.ImportScan

SourcePathLT applies the LT predicate on the "source_path" field.

func SourcePathLTE

func SourcePathLTE(v string) predicate.ImportScan

SourcePathLTE applies the LTE predicate on the "source_path" field.

func SourcePathNEQ

func SourcePathNEQ(v string) predicate.ImportScan

SourcePathNEQ applies the NEQ predicate on the "source_path" field.

func SourcePathNotIn

func SourcePathNotIn(vs ...string) predicate.ImportScan

SourcePathNotIn applies the NotIn predicate on the "source_path" field.

func StatusEQ

func StatusEQ(v Status) predicate.ImportScan

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.ImportScan

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.ImportScan

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.ImportScan

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func TotalCount

func TotalCount(v uint32) predicate.ImportScan

TotalCount applies equality check predicate on the "total_count" field. It's identical to TotalCountEQ.

func TotalCountEQ

func TotalCountEQ(v uint32) predicate.ImportScan

TotalCountEQ applies the EQ predicate on the "total_count" field.

func TotalCountGT

func TotalCountGT(v uint32) predicate.ImportScan

TotalCountGT applies the GT predicate on the "total_count" field.

func TotalCountGTE

func TotalCountGTE(v uint32) predicate.ImportScan

TotalCountGTE applies the GTE predicate on the "total_count" field.

func TotalCountIn

func TotalCountIn(vs ...uint32) predicate.ImportScan

TotalCountIn applies the In predicate on the "total_count" field.

func TotalCountLT

func TotalCountLT(v uint32) predicate.ImportScan

TotalCountLT applies the LT predicate on the "total_count" field.

func TotalCountLTE

func TotalCountLTE(v uint32) predicate.ImportScan

TotalCountLTE applies the LTE predicate on the "total_count" field.

func TotalCountNEQ

func TotalCountNEQ(v uint32) predicate.ImportScan

TotalCountNEQ applies the NEQ predicate on the "total_count" field.

func TotalCountNotIn

func TotalCountNotIn(vs ...uint32) predicate.ImportScan

TotalCountNotIn applies the NotIn predicate on the "total_count" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.ImportScan

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.ImportScan

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.ImportScan

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.ImportScan

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.ImportScan

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.ImportScan

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.ImportScan

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.ImportScan

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.ImportScan

UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type ImportMode

type ImportMode string

ImportMode defines the type for the "import_mode" enum field.

const (
	ImportModeHardlink ImportMode = "hardlink"
	ImportModeCopy     ImportMode = "copy"
	ImportModeMove     ImportMode = "move"
)

ImportMode values.

func (ImportMode) String

func (im ImportMode) String() string

type Kind

type Kind string

Kind defines the type for the "kind" enum field.

const (
	KindMovie  Kind = "movie"
	KindSeries Kind = "series"
)

Kind values.

func (Kind) String

func (k Kind) String() string

type Mode

type Mode string

Mode defines the type for the "mode" enum field.

const (
	ModeInPlace Mode = "in_place"
	ModeRename  Mode = "rename"
)

Mode values.

func (Mode) String

func (m Mode) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ImportScan queries.

func ByCommitFailedCount

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

ByCommitFailedCount orders the results by the commit_failed_count field.

func ByCommitSuccessCount

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

ByCommitSuccessCount orders the results by the commit_success_count field.

func ByCommittedAt

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

ByCommittedAt orders the results by the committed_at field.

func ByCreateTime

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

ByCreateTime orders the results by the create_time field.

func ByFailureReason

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

ByFailureReason orders the results by the failure_reason field.

func ByFiles

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

ByFiles orders the results by files terms.

func ByFilesCount

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

ByFilesCount orders the results by files count.

func ByID

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

ByID orders the results by the id field.

func ByImportMode

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

ByImportMode orders the results by the import_mode field.

func ByKind

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

ByKind orders the results by the kind field.

func ByMode

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

ByMode orders the results by the mode field.

func ByProcessedCount

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

ByProcessedCount orders the results by the processed_count field.

func ByScannedAt

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

ByScannedAt orders the results by the scanned_at field.

func ByShows

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

ByShows orders the results by shows terms.

func ByShowsCount

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

ByShowsCount orders the results by shows count.

func BySourcePath

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

BySourcePath orders the results by the source_path field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTotalCount

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

ByTotalCount orders the results by the total_count field.

func ByUpdateTime

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

ByUpdateTime orders the results by the update_time field.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusRunning        Status = "running"
	StatusAwaitingReview Status = "awaiting_review"
	StatusCommitting     Status = "committing"
	StatusCompleted      Status = "completed"
	StatusCancelled      Status = "cancelled"
	StatusFailed         Status = "failed"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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