Documentation
¶
Index ¶
- type DavAccountFunc
- type DirectLinkFunc
- type EntityFunc
- type FileFunc
- type FsEventFunc
- type Func
- type GroupFunc
- type MetadataFunc
- type NodeFunc
- type OAuthClientFunc
- type OAuthGrantFunc
- type PasskeyFunc
- type Query
- type SettingFunc
- type ShareFunc
- type StoragePolicyFunc
- type TaskFunc
- type TraverseDavAccount
- type TraverseDirectLink
- type TraverseEntity
- type TraverseFile
- type TraverseFsEvent
- type TraverseFunc
- type TraverseGroup
- type TraverseMetadata
- type TraverseNode
- type TraverseOAuthClient
- type TraverseOAuthGrant
- type TraversePasskey
- type TraverseSetting
- type TraverseShare
- type TraverseStoragePolicy
- type TraverseTask
- type TraverseUser
- type UserFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DavAccountFunc ¶
The DavAccountFunc type is an adapter to allow the use of ordinary function as a Querier.
type DirectLinkFunc ¶
The DirectLinkFunc type is an adapter to allow the use of ordinary function as a Querier.
type EntityFunc ¶
The EntityFunc type is an adapter to allow the use of ordinary function as a Querier.
type FsEventFunc ¶
The FsEventFunc type is an adapter to allow the use of ordinary function as a Querier.
type Func ¶
The Func type is an adapter that allows ordinary functions to be used as interceptors. Unlike traversal functions, interceptors are skipped during graph traversals. Note that the implementation of Func is different from the one defined in entgo.io/ent.InterceptFunc.
type GroupFunc ¶
The GroupFunc type is an adapter to allow the use of ordinary function as a Querier.
type MetadataFunc ¶
The MetadataFunc type is an adapter to allow the use of ordinary function as a Querier.
type OAuthClientFunc ¶
The OAuthClientFunc type is an adapter to allow the use of ordinary function as a Querier.
type OAuthGrantFunc ¶
The OAuthGrantFunc type is an adapter to allow the use of ordinary function as a Querier.
type PasskeyFunc ¶
The PasskeyFunc type is an adapter to allow the use of ordinary function as a Querier.
type Query ¶
type Query interface {
// Type returns the string representation of the query type.
Type() string
// Limit the number of records to be returned by this query.
Limit(int)
// Offset to start from.
Offset(int)
// Unique configures the query builder to filter duplicate records.
Unique(bool)
// Order specifies how the records should be ordered.
Order(...func(*sql.Selector))
// WhereP appends storage-level predicates to the query builder. Using this method, users
// can use type-assertion to append predicates that do not depend on any generated package.
WhereP(...func(*sql.Selector))
}
The Query interface represents an operation that queries a graph. By using this interface, users can write generic code that manipulates query builders of different types.
type SettingFunc ¶
The SettingFunc type is an adapter to allow the use of ordinary function as a Querier.
type ShareFunc ¶
The ShareFunc type is an adapter to allow the use of ordinary function as a Querier.
type StoragePolicyFunc ¶
The StoragePolicyFunc type is an adapter to allow the use of ordinary function as a Querier.
type TraverseDavAccount ¶
type TraverseDavAccount func(context.Context, *ent.DavAccountQuery) error
The TraverseDavAccount type is an adapter to allow the use of ordinary function as Traverser.
type TraverseDirectLink ¶
type TraverseDirectLink func(context.Context, *ent.DirectLinkQuery) error
The TraverseDirectLink type is an adapter to allow the use of ordinary function as Traverser.
type TraverseEntity ¶
type TraverseEntity func(context.Context, *ent.EntityQuery) error
The TraverseEntity type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFile ¶
The TraverseFile type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFsEvent ¶
type TraverseFsEvent func(context.Context, *ent.FsEventQuery) error
The TraverseFsEvent type is an adapter to allow the use of ordinary function as Traverser.
type TraverseFunc ¶
The TraverseFunc type is an adapter to allow the use of ordinary function as Traverser. If f is a function with the appropriate signature, TraverseFunc(f) is a Traverser that calls f.
type TraverseGroup ¶
type TraverseGroup func(context.Context, *ent.GroupQuery) error
The TraverseGroup type is an adapter to allow the use of ordinary function as Traverser.
type TraverseMetadata ¶
type TraverseMetadata func(context.Context, *ent.MetadataQuery) error
The TraverseMetadata type is an adapter to allow the use of ordinary function as Traverser.
type TraverseNode ¶
The TraverseNode type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOAuthClient ¶
type TraverseOAuthClient func(context.Context, *ent.OAuthClientQuery) error
The TraverseOAuthClient type is an adapter to allow the use of ordinary function as Traverser.
type TraverseOAuthGrant ¶
type TraverseOAuthGrant func(context.Context, *ent.OAuthGrantQuery) error
The TraverseOAuthGrant type is an adapter to allow the use of ordinary function as Traverser.
type TraversePasskey ¶
type TraversePasskey func(context.Context, *ent.PasskeyQuery) error
The TraversePasskey type is an adapter to allow the use of ordinary function as Traverser.
type TraverseSetting ¶
type TraverseSetting func(context.Context, *ent.SettingQuery) error
The TraverseSetting type is an adapter to allow the use of ordinary function as Traverser.
type TraverseShare ¶
type TraverseShare func(context.Context, *ent.ShareQuery) error
The TraverseShare type is an adapter to allow the use of ordinary function as Traverser.
type TraverseStoragePolicy ¶
type TraverseStoragePolicy func(context.Context, *ent.StoragePolicyQuery) error
The TraverseStoragePolicy type is an adapter to allow the use of ordinary function as Traverser.
type TraverseTask ¶
The TraverseTask type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUser ¶
The TraverseUser type is an adapter to allow the use of ordinary function as Traverser.