Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.File) predicate.File
- func Container(v string) predicate.File
- func ContainerContains(v string) predicate.File
- func ContainerContainsFold(v string) predicate.File
- func ContainerEQ(v string) predicate.File
- func ContainerEqualFold(v string) predicate.File
- func ContainerGT(v string) predicate.File
- func ContainerGTE(v string) predicate.File
- func ContainerHasPrefix(v string) predicate.File
- func ContainerHasSuffix(v string) predicate.File
- func ContainerIn(vs ...string) predicate.File
- func ContainerLT(v string) predicate.File
- func ContainerLTE(v string) predicate.File
- func ContainerNEQ(v string) predicate.File
- func ContainerNotIn(vs ...string) predicate.File
- func ContainerPath(v string) predicate.File
- func ContainerPathContains(v string) predicate.File
- func ContainerPathContainsFold(v string) predicate.File
- func ContainerPathEQ(v string) predicate.File
- func ContainerPathEqualFold(v string) predicate.File
- func ContainerPathGT(v string) predicate.File
- func ContainerPathGTE(v string) predicate.File
- func ContainerPathHasPrefix(v string) predicate.File
- func ContainerPathHasSuffix(v string) predicate.File
- func ContainerPathIn(vs ...string) predicate.File
- func ContainerPathLT(v string) predicate.File
- func ContainerPathLTE(v string) predicate.File
- func ContainerPathNEQ(v string) predicate.File
- func ContainerPathNotIn(vs ...string) predicate.File
- func CreatedAt(v time.Time) predicate.File
- func CreatedAtEQ(v time.Time) predicate.File
- func CreatedAtGT(v time.Time) predicate.File
- func CreatedAtGTE(v time.Time) predicate.File
- func CreatedAtIn(vs ...time.Time) predicate.File
- func CreatedAtLT(v time.Time) predicate.File
- func CreatedAtLTE(v time.Time) predicate.File
- func CreatedAtNEQ(v time.Time) predicate.File
- func CreatedAtNotIn(vs ...time.Time) predicate.File
- func DeletedAt(v time.Time) predicate.File
- func DeletedAtEQ(v time.Time) predicate.File
- func DeletedAtGT(v time.Time) predicate.File
- func DeletedAtGTE(v time.Time) predicate.File
- func DeletedAtIn(vs ...time.Time) predicate.File
- func DeletedAtIsNil() predicate.File
- func DeletedAtLT(v time.Time) predicate.File
- func DeletedAtLTE(v time.Time) predicate.File
- func DeletedAtNEQ(v time.Time) predicate.File
- func DeletedAtNotIn(vs ...time.Time) predicate.File
- func DeletedAtNotNil() predicate.File
- func HasEvents() predicate.File
- func HasEventsWith(preds ...predicate.Event) predicate.File
- func ID(id int) predicate.File
- func IDEQ(id int) predicate.File
- func IDGT(id int) predicate.File
- func IDGTE(id int) predicate.File
- func IDIn(ids ...int) predicate.File
- func IDLT(id int) predicate.File
- func IDLTE(id int) predicate.File
- func IDNEQ(id int) predicate.File
- func IDNotIn(ids ...int) predicate.File
- func Namespace(v string) predicate.File
- func NamespaceContains(v string) predicate.File
- func NamespaceContainsFold(v string) predicate.File
- func NamespaceEQ(v string) predicate.File
- func NamespaceEqualFold(v string) predicate.File
- func NamespaceGT(v string) predicate.File
- func NamespaceGTE(v string) predicate.File
- func NamespaceHasPrefix(v string) predicate.File
- func NamespaceHasSuffix(v string) predicate.File
- func NamespaceIn(vs ...string) predicate.File
- func NamespaceLT(v string) predicate.File
- func NamespaceLTE(v string) predicate.File
- func NamespaceNEQ(v string) predicate.File
- func NamespaceNotIn(vs ...string) predicate.File
- func Not(p predicate.File) predicate.File
- func Or(predicates ...predicate.File) predicate.File
- func Path(v string) predicate.File
- func PathContains(v string) predicate.File
- func PathContainsFold(v string) predicate.File
- func PathEQ(v string) predicate.File
- func PathEqualFold(v string) predicate.File
- func PathGT(v string) predicate.File
- func PathGTE(v string) predicate.File
- func PathHasPrefix(v string) predicate.File
- func PathHasSuffix(v string) predicate.File
- func PathIn(vs ...string) predicate.File
- func PathLT(v string) predicate.File
- func PathLTE(v string) predicate.File
- func PathNEQ(v string) predicate.File
- func PathNotIn(vs ...string) predicate.File
- func Pod(v string) predicate.File
- func PodContains(v string) predicate.File
- func PodContainsFold(v string) predicate.File
- func PodEQ(v string) predicate.File
- func PodEqualFold(v string) predicate.File
- func PodGT(v string) predicate.File
- func PodGTE(v string) predicate.File
- func PodHasPrefix(v string) predicate.File
- func PodHasSuffix(v string) predicate.File
- func PodIn(vs ...string) predicate.File
- func PodLT(v string) predicate.File
- func PodLTE(v string) predicate.File
- func PodNEQ(v string) predicate.File
- func PodNotIn(vs ...string) predicate.File
- func Size(v uint64) predicate.File
- func SizeEQ(v uint64) predicate.File
- func SizeGT(v uint64) predicate.File
- func SizeGTE(v uint64) predicate.File
- func SizeIn(vs ...uint64) predicate.File
- func SizeLT(v uint64) predicate.File
- func SizeLTE(v uint64) predicate.File
- func SizeNEQ(v uint64) predicate.File
- func SizeNotIn(vs ...uint64) predicate.File
- func UpdatedAt(v time.Time) predicate.File
- func UpdatedAtEQ(v time.Time) predicate.File
- func UpdatedAtGT(v time.Time) predicate.File
- func UpdatedAtGTE(v time.Time) predicate.File
- func UpdatedAtIn(vs ...time.Time) predicate.File
- func UpdatedAtLT(v time.Time) predicate.File
- func UpdatedAtLTE(v time.Time) predicate.File
- func UpdatedAtNEQ(v time.Time) predicate.File
- func UpdatedAtNotIn(vs ...time.Time) predicate.File
- func UploadType(v schematype.UploadType) predicate.File
- func UploadTypeContains(v schematype.UploadType) predicate.File
- func UploadTypeContainsFold(v schematype.UploadType) predicate.File
- func UploadTypeEQ(v schematype.UploadType) predicate.File
- func UploadTypeEqualFold(v schematype.UploadType) predicate.File
- func UploadTypeGT(v schematype.UploadType) predicate.File
- func UploadTypeGTE(v schematype.UploadType) predicate.File
- func UploadTypeHasPrefix(v schematype.UploadType) predicate.File
- func UploadTypeHasSuffix(v schematype.UploadType) predicate.File
- func UploadTypeIn(vs ...schematype.UploadType) predicate.File
- func UploadTypeLT(v schematype.UploadType) predicate.File
- func UploadTypeLTE(v schematype.UploadType) predicate.File
- func UploadTypeNEQ(v schematype.UploadType) predicate.File
- func UploadTypeNotIn(vs ...schematype.UploadType) predicate.File
- func Username(v string) predicate.File
- func UsernameContains(v string) predicate.File
- func UsernameContainsFold(v string) predicate.File
- func UsernameEQ(v string) predicate.File
- func UsernameEqualFold(v string) predicate.File
- func UsernameGT(v string) predicate.File
- func UsernameGTE(v string) predicate.File
- func UsernameHasPrefix(v string) predicate.File
- func UsernameHasSuffix(v string) predicate.File
- func UsernameIn(vs ...string) predicate.File
- func UsernameLT(v string) predicate.File
- func UsernameLTE(v string) predicate.File
- func UsernameNEQ(v string) predicate.File
- func UsernameNotIn(vs ...string) predicate.File
- func ValidColumn(column string) bool
- type OrderOption
- func ByContainer(opts ...sql.OrderTermOption) OrderOption
- func ByContainerPath(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func ByPod(opts ...sql.OrderTermOption) OrderOption
- func BySize(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUploadType(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldUploadType, FieldPath, FieldSize, FieldUsername, FieldNamespace, FieldPod, FieldContainer, FieldContainerPath, }
Columns holds all SQL columns for file fields.
Functions ¶
func Container ¶
Container applies equality check predicate on the "container" field. It's identical to ContainerEQ.
func ContainerContains ¶
ContainerContains applies the Contains predicate on the "container" field.
func ContainerContainsFold ¶
ContainerContainsFold applies the ContainsFold predicate on the "container" field.
func ContainerEQ ¶
ContainerEQ applies the EQ predicate on the "container" field.
func ContainerEqualFold ¶
ContainerEqualFold applies the EqualFold predicate on the "container" field.
func ContainerGT ¶
ContainerGT applies the GT predicate on the "container" field.
func ContainerGTE ¶
ContainerGTE applies the GTE predicate on the "container" field.
func ContainerHasPrefix ¶
ContainerHasPrefix applies the HasPrefix predicate on the "container" field.
func ContainerHasSuffix ¶
ContainerHasSuffix applies the HasSuffix predicate on the "container" field.
func ContainerIn ¶
ContainerIn applies the In predicate on the "container" field.
func ContainerLT ¶
ContainerLT applies the LT predicate on the "container" field.
func ContainerLTE ¶
ContainerLTE applies the LTE predicate on the "container" field.
func ContainerNEQ ¶
ContainerNEQ applies the NEQ predicate on the "container" field.
func ContainerNotIn ¶
ContainerNotIn applies the NotIn predicate on the "container" field.
func ContainerPath ¶
ContainerPath applies equality check predicate on the "container_path" field. It's identical to ContainerPathEQ.
func ContainerPathContains ¶
ContainerPathContains applies the Contains predicate on the "container_path" field.
func ContainerPathContainsFold ¶
ContainerPathContainsFold applies the ContainsFold predicate on the "container_path" field.
func ContainerPathEQ ¶
ContainerPathEQ applies the EQ predicate on the "container_path" field.
func ContainerPathEqualFold ¶
ContainerPathEqualFold applies the EqualFold predicate on the "container_path" field.
func ContainerPathGT ¶
ContainerPathGT applies the GT predicate on the "container_path" field.
func ContainerPathGTE ¶
ContainerPathGTE applies the GTE predicate on the "container_path" field.
func ContainerPathHasPrefix ¶
ContainerPathHasPrefix applies the HasPrefix predicate on the "container_path" field.
func ContainerPathHasSuffix ¶
ContainerPathHasSuffix applies the HasSuffix predicate on the "container_path" field.
func ContainerPathIn ¶
ContainerPathIn applies the In predicate on the "container_path" field.
func ContainerPathLT ¶
ContainerPathLT applies the LT predicate on the "container_path" field.
func ContainerPathLTE ¶
ContainerPathLTE applies the LTE predicate on the "container_path" field.
func ContainerPathNEQ ¶
ContainerPathNEQ applies the NEQ predicate on the "container_path" field.
func ContainerPathNotIn ¶
ContainerPathNotIn applies the NotIn predicate on the "container_path" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PodContains ¶
PodContains applies the Contains predicate on the "pod" field.
func PodContainsFold ¶
PodContainsFold applies the ContainsFold predicate on the "pod" field.
func PodEqualFold ¶
PodEqualFold applies the EqualFold predicate on the "pod" field.
func PodHasPrefix ¶
PodHasPrefix applies the HasPrefix predicate on the "pod" field.
func PodHasSuffix ¶
PodHasSuffix applies the HasSuffix predicate on the "pod" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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 ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.