file

package
v5.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the file type in the database.
	Label = "file"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldUploadType holds the string denoting the upload_type field in the database.
	FieldUploadType = "upload_type"
	// FieldPath holds the string denoting the path field in the database.
	FieldPath = "path"
	// FieldSize holds the string denoting the size field in the database.
	FieldSize = "size"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldPod holds the string denoting the pod field in the database.
	FieldPod = "pod"
	// FieldContainer holds the string denoting the container field in the database.
	FieldContainer = "container"
	// FieldContainerPath holds the string denoting the container_path field in the database.
	FieldContainerPath = "container_path"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// Table holds the table name of the file in the database.
	Table = "files"
	// EventsTable is the table that holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "file_id"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultUploadType holds the default value on creation for the "upload_type" field.
	DefaultUploadType schematype.UploadType
	// UploadTypeValidator is a validator for the "upload_type" field. It is called by the builders before save.
	UploadTypeValidator func(string) error
	// PathValidator is a validator for the "path" field. It is called by the builders before save.
	PathValidator func(string) error
	// DefaultSize holds the default value on creation for the "size" field.
	DefaultSize uint64
	// DefaultUsername holds the default value on creation for the "username" field.
	DefaultUsername string
	// UsernameValidator is a validator for the "username" field. It is called by the builders before save.
	UsernameValidator func(string) error
	// DefaultNamespace holds the default value on creation for the "namespace" field.
	DefaultNamespace string
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// DefaultPod holds the default value on creation for the "pod" field.
	DefaultPod string
	// PodValidator is a validator for the "pod" field. It is called by the builders before save.
	PodValidator func(string) error
	// DefaultContainer holds the default value on creation for the "container" field.
	DefaultContainer string
	// ContainerValidator is a validator for the "container" field. It is called by the builders before save.
	ContainerValidator func(string) error
	// DefaultContainerPath holds the default value on creation for the "container_path" field.
	DefaultContainerPath string
	// ContainerPathValidator is a validator for the "container_path" field. It is called by the builders before save.
	ContainerPathValidator func(string) error
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/duc-cnzj/mars/v5/internal/ent/runtime"

Columns holds all SQL columns for file fields.

Functions

func And

func And(predicates ...predicate.File) predicate.File

And groups predicates with the AND operator between them.

func Container

func Container(v string) predicate.File

Container applies equality check predicate on the "container" field. It's identical to ContainerEQ.

func ContainerContains

func ContainerContains(v string) predicate.File

ContainerContains applies the Contains predicate on the "container" field.

func ContainerContainsFold

func ContainerContainsFold(v string) predicate.File

ContainerContainsFold applies the ContainsFold predicate on the "container" field.

func ContainerEQ

func ContainerEQ(v string) predicate.File

ContainerEQ applies the EQ predicate on the "container" field.

func ContainerEqualFold

func ContainerEqualFold(v string) predicate.File

ContainerEqualFold applies the EqualFold predicate on the "container" field.

func ContainerGT

func ContainerGT(v string) predicate.File

ContainerGT applies the GT predicate on the "container" field.

func ContainerGTE

func ContainerGTE(v string) predicate.File

ContainerGTE applies the GTE predicate on the "container" field.

func ContainerHasPrefix

func ContainerHasPrefix(v string) predicate.File

ContainerHasPrefix applies the HasPrefix predicate on the "container" field.

func ContainerHasSuffix

func ContainerHasSuffix(v string) predicate.File

ContainerHasSuffix applies the HasSuffix predicate on the "container" field.

func ContainerIn

func ContainerIn(vs ...string) predicate.File

ContainerIn applies the In predicate on the "container" field.

func ContainerLT

func ContainerLT(v string) predicate.File

ContainerLT applies the LT predicate on the "container" field.

func ContainerLTE

func ContainerLTE(v string) predicate.File

ContainerLTE applies the LTE predicate on the "container" field.

func ContainerNEQ

func ContainerNEQ(v string) predicate.File

ContainerNEQ applies the NEQ predicate on the "container" field.

func ContainerNotIn

func ContainerNotIn(vs ...string) predicate.File

ContainerNotIn applies the NotIn predicate on the "container" field.

func ContainerPath

func ContainerPath(v string) predicate.File

ContainerPath applies equality check predicate on the "container_path" field. It's identical to ContainerPathEQ.

func ContainerPathContains

func ContainerPathContains(v string) predicate.File

ContainerPathContains applies the Contains predicate on the "container_path" field.

func ContainerPathContainsFold

func ContainerPathContainsFold(v string) predicate.File

ContainerPathContainsFold applies the ContainsFold predicate on the "container_path" field.

func ContainerPathEQ

func ContainerPathEQ(v string) predicate.File

ContainerPathEQ applies the EQ predicate on the "container_path" field.

func ContainerPathEqualFold

func ContainerPathEqualFold(v string) predicate.File

ContainerPathEqualFold applies the EqualFold predicate on the "container_path" field.

func ContainerPathGT

func ContainerPathGT(v string) predicate.File

ContainerPathGT applies the GT predicate on the "container_path" field.

func ContainerPathGTE

func ContainerPathGTE(v string) predicate.File

ContainerPathGTE applies the GTE predicate on the "container_path" field.

func ContainerPathHasPrefix

func ContainerPathHasPrefix(v string) predicate.File

ContainerPathHasPrefix applies the HasPrefix predicate on the "container_path" field.

func ContainerPathHasSuffix

func ContainerPathHasSuffix(v string) predicate.File

ContainerPathHasSuffix applies the HasSuffix predicate on the "container_path" field.

func ContainerPathIn

func ContainerPathIn(vs ...string) predicate.File

ContainerPathIn applies the In predicate on the "container_path" field.

func ContainerPathLT

func ContainerPathLT(v string) predicate.File

ContainerPathLT applies the LT predicate on the "container_path" field.

func ContainerPathLTE

func ContainerPathLTE(v string) predicate.File

ContainerPathLTE applies the LTE predicate on the "container_path" field.

func ContainerPathNEQ

func ContainerPathNEQ(v string) predicate.File

ContainerPathNEQ applies the NEQ predicate on the "container_path" field.

func ContainerPathNotIn

func ContainerPathNotIn(vs ...string) predicate.File

ContainerPathNotIn applies the NotIn predicate on the "container_path" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.File

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.File

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.File

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.File

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.File

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.File

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.File

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.File

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.File

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.File

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.File

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.File

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.File

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.File

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.File

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.File

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

func HasEvents

func HasEvents() predicate.File

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.File

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

func ID

func ID(id int) predicate.File

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.File

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.File

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.File

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.File

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.File

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.File

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Namespace

func Namespace(v string) predicate.File

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.File

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.File

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.File

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.File

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.File

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.File

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.File

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.File

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.File

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.File

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.File

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.File

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.File

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.File) predicate.File

Or groups predicates with the OR operator between them.

func Path

func Path(v string) predicate.File

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.File

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.File

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.File

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.File

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.File

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.File

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.File

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.File

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.File

PathIn applies the In predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.File

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.File

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.File

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.File

PathNotIn applies the NotIn predicate on the "path" field.

func Pod

func Pod(v string) predicate.File

Pod applies equality check predicate on the "pod" field. It's identical to PodEQ.

func PodContains

func PodContains(v string) predicate.File

PodContains applies the Contains predicate on the "pod" field.

func PodContainsFold

func PodContainsFold(v string) predicate.File

PodContainsFold applies the ContainsFold predicate on the "pod" field.

func PodEQ

func PodEQ(v string) predicate.File

PodEQ applies the EQ predicate on the "pod" field.

func PodEqualFold

func PodEqualFold(v string) predicate.File

PodEqualFold applies the EqualFold predicate on the "pod" field.

func PodGT

func PodGT(v string) predicate.File

PodGT applies the GT predicate on the "pod" field.

func PodGTE

func PodGTE(v string) predicate.File

PodGTE applies the GTE predicate on the "pod" field.

func PodHasPrefix

func PodHasPrefix(v string) predicate.File

PodHasPrefix applies the HasPrefix predicate on the "pod" field.

func PodHasSuffix

func PodHasSuffix(v string) predicate.File

PodHasSuffix applies the HasSuffix predicate on the "pod" field.

func PodIn

func PodIn(vs ...string) predicate.File

PodIn applies the In predicate on the "pod" field.

func PodLT

func PodLT(v string) predicate.File

PodLT applies the LT predicate on the "pod" field.

func PodLTE

func PodLTE(v string) predicate.File

PodLTE applies the LTE predicate on the "pod" field.

func PodNEQ

func PodNEQ(v string) predicate.File

PodNEQ applies the NEQ predicate on the "pod" field.

func PodNotIn

func PodNotIn(vs ...string) predicate.File

PodNotIn applies the NotIn predicate on the "pod" field.

func Size

func Size(v uint64) predicate.File

Size applies equality check predicate on the "size" field. It's identical to SizeEQ.

func SizeEQ

func SizeEQ(v uint64) predicate.File

SizeEQ applies the EQ predicate on the "size" field.

func SizeGT

func SizeGT(v uint64) predicate.File

SizeGT applies the GT predicate on the "size" field.

func SizeGTE

func SizeGTE(v uint64) predicate.File

SizeGTE applies the GTE predicate on the "size" field.

func SizeIn

func SizeIn(vs ...uint64) predicate.File

SizeIn applies the In predicate on the "size" field.

func SizeLT

func SizeLT(v uint64) predicate.File

SizeLT applies the LT predicate on the "size" field.

func SizeLTE

func SizeLTE(v uint64) predicate.File

SizeLTE applies the LTE predicate on the "size" field.

func SizeNEQ

func SizeNEQ(v uint64) predicate.File

SizeNEQ applies the NEQ predicate on the "size" field.

func SizeNotIn

func SizeNotIn(vs ...uint64) predicate.File

SizeNotIn applies the NotIn predicate on the "size" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.File

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.File

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.File

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.File

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.File

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.File

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.File

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.File

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.File

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UploadType

func UploadType(v schematype.UploadType) predicate.File

UploadType applies equality check predicate on the "upload_type" field. It's identical to UploadTypeEQ.

func UploadTypeContains

func UploadTypeContains(v schematype.UploadType) predicate.File

UploadTypeContains applies the Contains predicate on the "upload_type" field.

func UploadTypeContainsFold

func UploadTypeContainsFold(v schematype.UploadType) predicate.File

UploadTypeContainsFold applies the ContainsFold predicate on the "upload_type" field.

func UploadTypeEQ

func UploadTypeEQ(v schematype.UploadType) predicate.File

UploadTypeEQ applies the EQ predicate on the "upload_type" field.

func UploadTypeEqualFold

func UploadTypeEqualFold(v schematype.UploadType) predicate.File

UploadTypeEqualFold applies the EqualFold predicate on the "upload_type" field.

func UploadTypeGT

func UploadTypeGT(v schematype.UploadType) predicate.File

UploadTypeGT applies the GT predicate on the "upload_type" field.

func UploadTypeGTE

func UploadTypeGTE(v schematype.UploadType) predicate.File

UploadTypeGTE applies the GTE predicate on the "upload_type" field.

func UploadTypeHasPrefix

func UploadTypeHasPrefix(v schematype.UploadType) predicate.File

UploadTypeHasPrefix applies the HasPrefix predicate on the "upload_type" field.

func UploadTypeHasSuffix

func UploadTypeHasSuffix(v schematype.UploadType) predicate.File

UploadTypeHasSuffix applies the HasSuffix predicate on the "upload_type" field.

func UploadTypeIn

func UploadTypeIn(vs ...schematype.UploadType) predicate.File

UploadTypeIn applies the In predicate on the "upload_type" field.

func UploadTypeLT

func UploadTypeLT(v schematype.UploadType) predicate.File

UploadTypeLT applies the LT predicate on the "upload_type" field.

func UploadTypeLTE

func UploadTypeLTE(v schematype.UploadType) predicate.File

UploadTypeLTE applies the LTE predicate on the "upload_type" field.

func UploadTypeNEQ

func UploadTypeNEQ(v schematype.UploadType) predicate.File

UploadTypeNEQ applies the NEQ predicate on the "upload_type" field.

func UploadTypeNotIn

func UploadTypeNotIn(vs ...schematype.UploadType) predicate.File

UploadTypeNotIn applies the NotIn predicate on the "upload_type" field.

func Username

func Username(v string) predicate.File

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.File

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.File

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.File

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.File

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.File

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.File

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.File

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.File

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.File

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.File

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.File

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.File

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.File

UsernameNotIn applies the NotIn predicate on the "username" 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 File queries.

func ByContainer

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

ByContainer orders the results by the container field.

func ByContainerPath

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

ByContainerPath orders the results by the container_path field.

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 ByEvents

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

ByEvents orders the results by events terms.

func ByEventsCount

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

ByEventsCount orders the results by events count.

func ByID

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

ByID orders the results by the id field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByPath

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

ByPath orders the results by the path field.

func ByPod

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

ByPod orders the results by the pod field.

func BySize

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

BySize orders the results by the size field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUploadType

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

ByUploadType orders the results by the upload_type field.

func ByUsername

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

ByUsername orders the results by the username field.

Jump to

Keyboard shortcuts

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