Documentation
¶
Index ¶
- type AIEmployeeFunc
- type AITaskFunc
- type AdminFunc
- type AdminLoginHistoryFunc
- type AdminRoleFunc
- type ApiKeyFunc
- type BillingPlanFunc
- type BillingQuotaFunc
- type BillingRecordFunc
- type BillingUsageFunc
- type CodeSnippetFunc
- type ExtensionFunc
- type Func
- type InviteCodeFunc
- type LicenseFunc
- type ModelFunc
- type ModelProviderFunc
- type ModelProviderModelFunc
- type Query
- type RoleFunc
- type SecurityScanningFunc
- type SecurityScanningResultFunc
- type SettingFunc
- type TaskFunc
- type TaskRecordFunc
- type TraverseAIEmployee
- type TraverseAITask
- type TraverseAdmin
- type TraverseAdminLoginHistory
- type TraverseAdminRole
- type TraverseApiKey
- type TraverseBillingPlan
- type TraverseBillingQuota
- type TraverseBillingRecord
- type TraverseBillingUsage
- type TraverseCodeSnippet
- type TraverseExtension
- type TraverseFunc
- type TraverseInviteCode
- type TraverseLicense
- type TraverseModel
- type TraverseModelProvider
- type TraverseModelProviderModel
- type TraverseRole
- type TraverseSecurityScanning
- type TraverseSecurityScanningResult
- type TraverseSetting
- type TraverseTask
- type TraverseTaskRecord
- type TraverseUser
- type TraverseUserGroup
- type TraverseUserGroupAdmin
- type TraverseUserGroupUser
- type TraverseUserIdentity
- type TraverseUserLoginHistory
- type TraverseWorkspace
- type TraverseWorkspaceFile
- type UserFunc
- type UserGroupAdminFunc
- type UserGroupFunc
- type UserGroupUserFunc
- type UserIdentityFunc
- type UserLoginHistoryFunc
- type WorkspaceFileFunc
- type WorkspaceFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AIEmployeeFunc ¶
The AIEmployeeFunc type is an adapter to allow the use of ordinary function as a Querier.
type AITaskFunc ¶
The AITaskFunc type is an adapter to allow the use of ordinary function as a Querier.
type AdminFunc ¶
The AdminFunc type is an adapter to allow the use of ordinary function as a Querier.
type AdminLoginHistoryFunc ¶
The AdminLoginHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.
type AdminRoleFunc ¶
The AdminRoleFunc type is an adapter to allow the use of ordinary function as a Querier.
type ApiKeyFunc ¶
The ApiKeyFunc type is an adapter to allow the use of ordinary function as a Querier.
type BillingPlanFunc ¶
The BillingPlanFunc type is an adapter to allow the use of ordinary function as a Querier.
type BillingQuotaFunc ¶
The BillingQuotaFunc type is an adapter to allow the use of ordinary function as a Querier.
type BillingRecordFunc ¶
The BillingRecordFunc type is an adapter to allow the use of ordinary function as a Querier.
type BillingUsageFunc ¶
The BillingUsageFunc type is an adapter to allow the use of ordinary function as a Querier.
type CodeSnippetFunc ¶
The CodeSnippetFunc type is an adapter to allow the use of ordinary function as a Querier.
type ExtensionFunc ¶
The ExtensionFunc 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 InviteCodeFunc ¶
The InviteCodeFunc type is an adapter to allow the use of ordinary function as a Querier.
type LicenseFunc ¶
The LicenseFunc type is an adapter to allow the use of ordinary function as a Querier.
type ModelFunc ¶
The ModelFunc type is an adapter to allow the use of ordinary function as a Querier.
type ModelProviderFunc ¶
The ModelProviderFunc type is an adapter to allow the use of ordinary function as a Querier.
type ModelProviderModelFunc ¶
The ModelProviderModelFunc 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 SecurityScanningFunc ¶
The SecurityScanningFunc type is an adapter to allow the use of ordinary function as a Querier.
type SecurityScanningResultFunc ¶
type SecurityScanningResultFunc func(context.Context, *db.SecurityScanningResultQuery) (db.Value, error)
The SecurityScanningResultFunc type is an adapter to allow the use of ordinary function as a Querier.
type SettingFunc ¶
The SettingFunc type is an adapter to allow the use of ordinary function as a Querier.
type TaskRecordFunc ¶
The TaskRecordFunc type is an adapter to allow the use of ordinary function as a Querier.
type TraverseAIEmployee ¶
type TraverseAIEmployee func(context.Context, *db.AIEmployeeQuery) error
The TraverseAIEmployee type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAITask ¶
type TraverseAITask func(context.Context, *db.AITaskQuery) error
The TraverseAITask type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAdmin ¶
type TraverseAdmin func(context.Context, *db.AdminQuery) error
The TraverseAdmin type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAdminLoginHistory ¶
type TraverseAdminLoginHistory func(context.Context, *db.AdminLoginHistoryQuery) error
The TraverseAdminLoginHistory type is an adapter to allow the use of ordinary function as Traverser.
type TraverseAdminRole ¶
type TraverseAdminRole func(context.Context, *db.AdminRoleQuery) error
The TraverseAdminRole type is an adapter to allow the use of ordinary function as Traverser.
type TraverseApiKey ¶
type TraverseApiKey func(context.Context, *db.ApiKeyQuery) error
The TraverseApiKey type is an adapter to allow the use of ordinary function as Traverser.
type TraverseBillingPlan ¶
type TraverseBillingPlan func(context.Context, *db.BillingPlanQuery) error
The TraverseBillingPlan type is an adapter to allow the use of ordinary function as Traverser.
type TraverseBillingQuota ¶
type TraverseBillingQuota func(context.Context, *db.BillingQuotaQuery) error
The TraverseBillingQuota type is an adapter to allow the use of ordinary function as Traverser.
type TraverseBillingRecord ¶
type TraverseBillingRecord func(context.Context, *db.BillingRecordQuery) error
The TraverseBillingRecord type is an adapter to allow the use of ordinary function as Traverser.
type TraverseBillingUsage ¶
type TraverseBillingUsage func(context.Context, *db.BillingUsageQuery) error
The TraverseBillingUsage type is an adapter to allow the use of ordinary function as Traverser.
type TraverseCodeSnippet ¶
type TraverseCodeSnippet func(context.Context, *db.CodeSnippetQuery) error
The TraverseCodeSnippet type is an adapter to allow the use of ordinary function as Traverser.
type TraverseExtension ¶
type TraverseExtension func(context.Context, *db.ExtensionQuery) error
The TraverseExtension 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 TraverseInviteCode ¶
type TraverseInviteCode func(context.Context, *db.InviteCodeQuery) error
The TraverseInviteCode type is an adapter to allow the use of ordinary function as Traverser.
type TraverseLicense ¶
type TraverseLicense func(context.Context, *db.LicenseQuery) error
The TraverseLicense type is an adapter to allow the use of ordinary function as Traverser.
type TraverseModel ¶
type TraverseModel func(context.Context, *db.ModelQuery) error
The TraverseModel type is an adapter to allow the use of ordinary function as Traverser.
type TraverseModelProvider ¶
type TraverseModelProvider func(context.Context, *db.ModelProviderQuery) error
The TraverseModelProvider type is an adapter to allow the use of ordinary function as Traverser.
type TraverseModelProviderModel ¶
type TraverseModelProviderModel func(context.Context, *db.ModelProviderModelQuery) error
The TraverseModelProviderModel type is an adapter to allow the use of ordinary function as Traverser.
type TraverseRole ¶
The TraverseRole type is an adapter to allow the use of ordinary function as Traverser.
type TraverseSecurityScanning ¶
type TraverseSecurityScanning func(context.Context, *db.SecurityScanningQuery) error
The TraverseSecurityScanning type is an adapter to allow the use of ordinary function as Traverser.
type TraverseSecurityScanningResult ¶
type TraverseSecurityScanningResult func(context.Context, *db.SecurityScanningResultQuery) error
The TraverseSecurityScanningResult type is an adapter to allow the use of ordinary function as Traverser.
type TraverseSetting ¶
type TraverseSetting func(context.Context, *db.SettingQuery) error
The TraverseSetting 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 TraverseTaskRecord ¶
type TraverseTaskRecord func(context.Context, *db.TaskRecordQuery) error
The TraverseTaskRecord 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.
type TraverseUserGroup ¶
type TraverseUserGroup func(context.Context, *db.UserGroupQuery) error
The TraverseUserGroup type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserGroupAdmin ¶
type TraverseUserGroupAdmin func(context.Context, *db.UserGroupAdminQuery) error
The TraverseUserGroupAdmin type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserGroupUser ¶
type TraverseUserGroupUser func(context.Context, *db.UserGroupUserQuery) error
The TraverseUserGroupUser type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserIdentity ¶
type TraverseUserIdentity func(context.Context, *db.UserIdentityQuery) error
The TraverseUserIdentity type is an adapter to allow the use of ordinary function as Traverser.
type TraverseUserLoginHistory ¶
type TraverseUserLoginHistory func(context.Context, *db.UserLoginHistoryQuery) error
The TraverseUserLoginHistory type is an adapter to allow the use of ordinary function as Traverser.
type TraverseWorkspace ¶
type TraverseWorkspace func(context.Context, *db.WorkspaceQuery) error
The TraverseWorkspace type is an adapter to allow the use of ordinary function as Traverser.
type TraverseWorkspaceFile ¶
type TraverseWorkspaceFile func(context.Context, *db.WorkspaceFileQuery) error
The TraverseWorkspaceFile type is an adapter to allow the use of ordinary function as Traverser.
type UserGroupAdminFunc ¶
The UserGroupAdminFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserGroupFunc ¶
The UserGroupFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserGroupUserFunc ¶
The UserGroupUserFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserIdentityFunc ¶
The UserIdentityFunc type is an adapter to allow the use of ordinary function as a Querier.
type UserLoginHistoryFunc ¶
The UserLoginHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.
type WorkspaceFileFunc ¶
The WorkspaceFileFunc type is an adapter to allow the use of ordinary function as a Querier.
type WorkspaceFunc ¶
The WorkspaceFunc type is an adapter to allow the use of ordinary function as a Querier.