intercept

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 62 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APITokenFunc

type APITokenFunc func(context.Context, *generated.APITokenQuery) (generated.Value, error)

The APITokenFunc type is an adapter to allow the use of ordinary function as a Querier.

func (APITokenFunc) Query

Query calls f(ctx, q).

type ContactFunc

type ContactFunc func(context.Context, *generated.ContactQuery) (generated.Value, error)

The ContactFunc type is an adapter to allow the use of ordinary function as a Querier.

func (ContactFunc) Query

Query calls f(ctx, q).

type ContactHistoryFunc

type ContactHistoryFunc func(context.Context, *generated.ContactHistoryQuery) (generated.Value, error)

The ContactHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (ContactHistoryFunc) Query

Query calls f(ctx, q).

type DocumentDataFunc

type DocumentDataFunc func(context.Context, *generated.DocumentDataQuery) (generated.Value, error)

The DocumentDataFunc type is an adapter to allow the use of ordinary function as a Querier.

func (DocumentDataFunc) Query

Query calls f(ctx, q).

type DocumentDataHistoryFunc

type DocumentDataHistoryFunc func(context.Context, *generated.DocumentDataHistoryQuery) (generated.Value, error)

The DocumentDataHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (DocumentDataHistoryFunc) Query

Query calls f(ctx, q).

type EmailVerificationTokenFunc

type EmailVerificationTokenFunc func(context.Context, *generated.EmailVerificationTokenQuery) (generated.Value, error)

The EmailVerificationTokenFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EmailVerificationTokenFunc) Query

Query calls f(ctx, q).

type EntitlementFunc

type EntitlementFunc func(context.Context, *generated.EntitlementQuery) (generated.Value, error)

The EntitlementFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntitlementFunc) Query

Query calls f(ctx, q).

type EntitlementHistoryFunc

type EntitlementHistoryFunc func(context.Context, *generated.EntitlementHistoryQuery) (generated.Value, error)

The EntitlementHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntitlementHistoryFunc) Query

Query calls f(ctx, q).

type EntitlementPlanFeatureFunc

type EntitlementPlanFeatureFunc func(context.Context, *generated.EntitlementPlanFeatureQuery) (generated.Value, error)

The EntitlementPlanFeatureFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntitlementPlanFeatureFunc) Query

Query calls f(ctx, q).

type EntitlementPlanFeatureHistoryFunc

type EntitlementPlanFeatureHistoryFunc func(context.Context, *generated.EntitlementPlanFeatureHistoryQuery) (generated.Value, error)

The EntitlementPlanFeatureHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntitlementPlanFeatureHistoryFunc) Query

Query calls f(ctx, q).

type EntitlementPlanFunc

type EntitlementPlanFunc func(context.Context, *generated.EntitlementPlanQuery) (generated.Value, error)

The EntitlementPlanFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntitlementPlanFunc) Query

Query calls f(ctx, q).

type EntitlementPlanHistoryFunc

type EntitlementPlanHistoryFunc func(context.Context, *generated.EntitlementPlanHistoryQuery) (generated.Value, error)

The EntitlementPlanHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntitlementPlanHistoryFunc) Query

Query calls f(ctx, q).

type EntityFunc

The EntityFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntityFunc) Query

Query calls f(ctx, q).

type EntityHistoryFunc

type EntityHistoryFunc func(context.Context, *generated.EntityHistoryQuery) (generated.Value, error)

The EntityHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntityHistoryFunc) Query

Query calls f(ctx, q).

type EntityTypeFunc

type EntityTypeFunc func(context.Context, *generated.EntityTypeQuery) (generated.Value, error)

The EntityTypeFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntityTypeFunc) Query

Query calls f(ctx, q).

type EntityTypeHistoryFunc

type EntityTypeHistoryFunc func(context.Context, *generated.EntityTypeHistoryQuery) (generated.Value, error)

The EntityTypeHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EntityTypeHistoryFunc) Query

Query calls f(ctx, q).

type EventFunc

The EventFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EventFunc) Query

Query calls f(ctx, q).

type EventHistoryFunc

type EventHistoryFunc func(context.Context, *generated.EventHistoryQuery) (generated.Value, error)

The EventHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (EventHistoryFunc) Query

Query calls f(ctx, q).

type FeatureFunc

type FeatureFunc func(context.Context, *generated.FeatureQuery) (generated.Value, error)

The FeatureFunc type is an adapter to allow the use of ordinary function as a Querier.

func (FeatureFunc) Query

Query calls f(ctx, q).

type FeatureHistoryFunc

type FeatureHistoryFunc func(context.Context, *generated.FeatureHistoryQuery) (generated.Value, error)

The FeatureHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (FeatureHistoryFunc) Query

Query calls f(ctx, q).

type FileFunc

The FileFunc type is an adapter to allow the use of ordinary function as a Querier.

func (FileFunc) Query

Query calls f(ctx, q).

type FileHistoryFunc

type FileHistoryFunc func(context.Context, *generated.FileHistoryQuery) (generated.Value, error)

The FileHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (FileHistoryFunc) Query

Query calls f(ctx, q).

type Func

type Func func(context.Context, Query) error

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.

func (Func) Intercept

func (f Func) Intercept(next generated.Querier) generated.Querier

Intercept calls f(ctx, q) and then applied the next Querier.

type GroupFunc

The GroupFunc type is an adapter to allow the use of ordinary function as a Querier.

func (GroupFunc) Query

Query calls f(ctx, q).

type GroupHistoryFunc

type GroupHistoryFunc func(context.Context, *generated.GroupHistoryQuery) (generated.Value, error)

The GroupHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (GroupHistoryFunc) Query

Query calls f(ctx, q).

type GroupMembershipFunc

type GroupMembershipFunc func(context.Context, *generated.GroupMembershipQuery) (generated.Value, error)

The GroupMembershipFunc type is an adapter to allow the use of ordinary function as a Querier.

func (GroupMembershipFunc) Query

Query calls f(ctx, q).

type GroupMembershipHistoryFunc

type GroupMembershipHistoryFunc func(context.Context, *generated.GroupMembershipHistoryQuery) (generated.Value, error)

The GroupMembershipHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (GroupMembershipHistoryFunc) Query

Query calls f(ctx, q).

type GroupSettingFunc

type GroupSettingFunc func(context.Context, *generated.GroupSettingQuery) (generated.Value, error)

The GroupSettingFunc type is an adapter to allow the use of ordinary function as a Querier.

func (GroupSettingFunc) Query

Query calls f(ctx, q).

type GroupSettingHistoryFunc

type GroupSettingHistoryFunc func(context.Context, *generated.GroupSettingHistoryQuery) (generated.Value, error)

The GroupSettingHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (GroupSettingHistoryFunc) Query

Query calls f(ctx, q).

type HushFunc

The HushFunc type is an adapter to allow the use of ordinary function as a Querier.

func (HushFunc) Query

Query calls f(ctx, q).

type HushHistoryFunc

type HushHistoryFunc func(context.Context, *generated.HushHistoryQuery) (generated.Value, error)

The HushHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (HushHistoryFunc) Query

Query calls f(ctx, q).

type IntegrationFunc

type IntegrationFunc func(context.Context, *generated.IntegrationQuery) (generated.Value, error)

The IntegrationFunc type is an adapter to allow the use of ordinary function as a Querier.

func (IntegrationFunc) Query

Query calls f(ctx, q).

type IntegrationHistoryFunc

type IntegrationHistoryFunc func(context.Context, *generated.IntegrationHistoryQuery) (generated.Value, error)

The IntegrationHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (IntegrationHistoryFunc) Query

Query calls f(ctx, q).

type InviteFunc

The InviteFunc type is an adapter to allow the use of ordinary function as a Querier.

func (InviteFunc) Query

Query calls f(ctx, q).

type NoteFunc

The NoteFunc type is an adapter to allow the use of ordinary function as a Querier.

func (NoteFunc) Query

Query calls f(ctx, q).

type NoteHistoryFunc

type NoteHistoryFunc func(context.Context, *generated.NoteHistoryQuery) (generated.Value, error)

The NoteHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (NoteHistoryFunc) Query

Query calls f(ctx, q).

type OauthProviderFunc

type OauthProviderFunc func(context.Context, *generated.OauthProviderQuery) (generated.Value, error)

The OauthProviderFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OauthProviderFunc) Query

Query calls f(ctx, q).

type OauthProviderHistoryFunc

type OauthProviderHistoryFunc func(context.Context, *generated.OauthProviderHistoryQuery) (generated.Value, error)

The OauthProviderHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OauthProviderHistoryFunc) Query

Query calls f(ctx, q).

type OhAuthTooTokenFunc

type OhAuthTooTokenFunc func(context.Context, *generated.OhAuthTooTokenQuery) (generated.Value, error)

The OhAuthTooTokenFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OhAuthTooTokenFunc) Query

Query calls f(ctx, q).

type OrgMembershipFunc

type OrgMembershipFunc func(context.Context, *generated.OrgMembershipQuery) (generated.Value, error)

The OrgMembershipFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OrgMembershipFunc) Query

Query calls f(ctx, q).

type OrgMembershipHistoryFunc

type OrgMembershipHistoryFunc func(context.Context, *generated.OrgMembershipHistoryQuery) (generated.Value, error)

The OrgMembershipHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OrgMembershipHistoryFunc) Query

Query calls f(ctx, q).

type OrganizationFunc

type OrganizationFunc func(context.Context, *generated.OrganizationQuery) (generated.Value, error)

The OrganizationFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OrganizationFunc) Query

Query calls f(ctx, q).

type OrganizationHistoryFunc

type OrganizationHistoryFunc func(context.Context, *generated.OrganizationHistoryQuery) (generated.Value, error)

The OrganizationHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OrganizationHistoryFunc) Query

Query calls f(ctx, q).

type OrganizationSettingFunc

type OrganizationSettingFunc func(context.Context, *generated.OrganizationSettingQuery) (generated.Value, error)

The OrganizationSettingFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OrganizationSettingFunc) Query

Query calls f(ctx, q).

type OrganizationSettingHistoryFunc

type OrganizationSettingHistoryFunc func(context.Context, *generated.OrganizationSettingHistoryQuery) (generated.Value, error)

The OrganizationSettingHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (OrganizationSettingHistoryFunc) Query

Query calls f(ctx, q).

type PasswordResetTokenFunc

type PasswordResetTokenFunc func(context.Context, *generated.PasswordResetTokenQuery) (generated.Value, error)

The PasswordResetTokenFunc type is an adapter to allow the use of ordinary function as a Querier.

func (PasswordResetTokenFunc) Query

Query calls f(ctx, q).

type PersonalAccessTokenFunc

type PersonalAccessTokenFunc func(context.Context, *generated.PersonalAccessTokenQuery) (generated.Value, error)

The PersonalAccessTokenFunc type is an adapter to allow the use of ordinary function as a Querier.

func (PersonalAccessTokenFunc) Query

Query calls f(ctx, q).

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.

func NewQuery

func NewQuery(q generated.Query) (Query, error)

NewQuery returns the generic Query interface for the given typed query.

type SubscriberFunc

type SubscriberFunc func(context.Context, *generated.SubscriberQuery) (generated.Value, error)

The SubscriberFunc type is an adapter to allow the use of ordinary function as a Querier.

func (SubscriberFunc) Query

Query calls f(ctx, q).

type TFASettingFunc

type TFASettingFunc func(context.Context, *generated.TFASettingQuery) (generated.Value, error)

The TFASettingFunc type is an adapter to allow the use of ordinary function as a Querier.

func (TFASettingFunc) Query

Query calls f(ctx, q).

type TemplateFunc

type TemplateFunc func(context.Context, *generated.TemplateQuery) (generated.Value, error)

The TemplateFunc type is an adapter to allow the use of ordinary function as a Querier.

func (TemplateFunc) Query

Query calls f(ctx, q).

type TemplateHistoryFunc

type TemplateHistoryFunc func(context.Context, *generated.TemplateHistoryQuery) (generated.Value, error)

The TemplateHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (TemplateHistoryFunc) Query

Query calls f(ctx, q).

type TraverseAPIToken

type TraverseAPIToken func(context.Context, *generated.APITokenQuery) error

The TraverseAPIToken type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseAPIToken) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseAPIToken) Traverse

func (f TraverseAPIToken) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseContact

type TraverseContact func(context.Context, *generated.ContactQuery) error

The TraverseContact type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseContact) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseContact) Traverse

func (f TraverseContact) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseContactHistory

type TraverseContactHistory func(context.Context, *generated.ContactHistoryQuery) error

The TraverseContactHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseContactHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseContactHistory) Traverse

Traverse calls f(ctx, q).

type TraverseDocumentData

type TraverseDocumentData func(context.Context, *generated.DocumentDataQuery) error

The TraverseDocumentData type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseDocumentData) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseDocumentData) Traverse

Traverse calls f(ctx, q).

type TraverseDocumentDataHistory

type TraverseDocumentDataHistory func(context.Context, *generated.DocumentDataHistoryQuery) error

The TraverseDocumentDataHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseDocumentDataHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseDocumentDataHistory) Traverse

Traverse calls f(ctx, q).

type TraverseEmailVerificationToken

type TraverseEmailVerificationToken func(context.Context, *generated.EmailVerificationTokenQuery) error

The TraverseEmailVerificationToken type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEmailVerificationToken) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEmailVerificationToken) Traverse

Traverse calls f(ctx, q).

type TraverseEntitlement

type TraverseEntitlement func(context.Context, *generated.EntitlementQuery) error

The TraverseEntitlement type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntitlement) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntitlement) Traverse

Traverse calls f(ctx, q).

type TraverseEntitlementHistory

type TraverseEntitlementHistory func(context.Context, *generated.EntitlementHistoryQuery) error

The TraverseEntitlementHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntitlementHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntitlementHistory) Traverse

Traverse calls f(ctx, q).

type TraverseEntitlementPlan

type TraverseEntitlementPlan func(context.Context, *generated.EntitlementPlanQuery) error

The TraverseEntitlementPlan type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntitlementPlan) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntitlementPlan) Traverse

Traverse calls f(ctx, q).

type TraverseEntitlementPlanFeature

type TraverseEntitlementPlanFeature func(context.Context, *generated.EntitlementPlanFeatureQuery) error

The TraverseEntitlementPlanFeature type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntitlementPlanFeature) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntitlementPlanFeature) Traverse

Traverse calls f(ctx, q).

type TraverseEntitlementPlanFeatureHistory

type TraverseEntitlementPlanFeatureHistory func(context.Context, *generated.EntitlementPlanFeatureHistoryQuery) error

The TraverseEntitlementPlanFeatureHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntitlementPlanFeatureHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntitlementPlanFeatureHistory) Traverse

Traverse calls f(ctx, q).

type TraverseEntitlementPlanHistory

type TraverseEntitlementPlanHistory func(context.Context, *generated.EntitlementPlanHistoryQuery) error

The TraverseEntitlementPlanHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntitlementPlanHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntitlementPlanHistory) Traverse

Traverse calls f(ctx, q).

type TraverseEntity

type TraverseEntity func(context.Context, *generated.EntityQuery) error

The TraverseEntity type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntity) Intercept

func (f TraverseEntity) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntity) Traverse

func (f TraverseEntity) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseEntityHistory

type TraverseEntityHistory func(context.Context, *generated.EntityHistoryQuery) error

The TraverseEntityHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntityHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntityHistory) Traverse

Traverse calls f(ctx, q).

type TraverseEntityType

type TraverseEntityType func(context.Context, *generated.EntityTypeQuery) error

The TraverseEntityType type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntityType) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntityType) Traverse

Traverse calls f(ctx, q).

type TraverseEntityTypeHistory

type TraverseEntityTypeHistory func(context.Context, *generated.EntityTypeHistoryQuery) error

The TraverseEntityTypeHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEntityTypeHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEntityTypeHistory) Traverse

Traverse calls f(ctx, q).

type TraverseEvent

type TraverseEvent func(context.Context, *generated.EventQuery) error

The TraverseEvent type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEvent) Intercept

func (f TraverseEvent) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEvent) Traverse

func (f TraverseEvent) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseEventHistory

type TraverseEventHistory func(context.Context, *generated.EventHistoryQuery) error

The TraverseEventHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseEventHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseEventHistory) Traverse

Traverse calls f(ctx, q).

type TraverseFeature

type TraverseFeature func(context.Context, *generated.FeatureQuery) error

The TraverseFeature type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseFeature) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseFeature) Traverse

func (f TraverseFeature) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseFeatureHistory

type TraverseFeatureHistory func(context.Context, *generated.FeatureHistoryQuery) error

The TraverseFeatureHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseFeatureHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseFeatureHistory) Traverse

Traverse calls f(ctx, q).

type TraverseFile

type TraverseFile func(context.Context, *generated.FileQuery) error

The TraverseFile type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseFile) Intercept

func (f TraverseFile) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseFile) Traverse

func (f TraverseFile) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseFileHistory

type TraverseFileHistory func(context.Context, *generated.FileHistoryQuery) error

The TraverseFileHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseFileHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseFileHistory) Traverse

Traverse calls f(ctx, q).

type TraverseFunc

type TraverseFunc func(context.Context, Query) error

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.

func (TraverseFunc) Intercept

func (f TraverseFunc) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseFunc) Traverse

func (f TraverseFunc) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseGroup

type TraverseGroup func(context.Context, *generated.GroupQuery) error

The TraverseGroup type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseGroup) Intercept

func (f TraverseGroup) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseGroup) Traverse

func (f TraverseGroup) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseGroupHistory

type TraverseGroupHistory func(context.Context, *generated.GroupHistoryQuery) error

The TraverseGroupHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseGroupHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseGroupHistory) Traverse

Traverse calls f(ctx, q).

type TraverseGroupMembership

type TraverseGroupMembership func(context.Context, *generated.GroupMembershipQuery) error

The TraverseGroupMembership type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseGroupMembership) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseGroupMembership) Traverse

Traverse calls f(ctx, q).

type TraverseGroupMembershipHistory

type TraverseGroupMembershipHistory func(context.Context, *generated.GroupMembershipHistoryQuery) error

The TraverseGroupMembershipHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseGroupMembershipHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseGroupMembershipHistory) Traverse

Traverse calls f(ctx, q).

type TraverseGroupSetting

type TraverseGroupSetting func(context.Context, *generated.GroupSettingQuery) error

The TraverseGroupSetting type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseGroupSetting) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseGroupSetting) Traverse

Traverse calls f(ctx, q).

type TraverseGroupSettingHistory

type TraverseGroupSettingHistory func(context.Context, *generated.GroupSettingHistoryQuery) error

The TraverseGroupSettingHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseGroupSettingHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseGroupSettingHistory) Traverse

Traverse calls f(ctx, q).

type TraverseHush

type TraverseHush func(context.Context, *generated.HushQuery) error

The TraverseHush type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseHush) Intercept

func (f TraverseHush) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseHush) Traverse

func (f TraverseHush) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseHushHistory

type TraverseHushHistory func(context.Context, *generated.HushHistoryQuery) error

The TraverseHushHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseHushHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseHushHistory) Traverse

Traverse calls f(ctx, q).

type TraverseIntegration

type TraverseIntegration func(context.Context, *generated.IntegrationQuery) error

The TraverseIntegration type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseIntegration) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseIntegration) Traverse

Traverse calls f(ctx, q).

type TraverseIntegrationHistory

type TraverseIntegrationHistory func(context.Context, *generated.IntegrationHistoryQuery) error

The TraverseIntegrationHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseIntegrationHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseIntegrationHistory) Traverse

Traverse calls f(ctx, q).

type TraverseInvite

type TraverseInvite func(context.Context, *generated.InviteQuery) error

The TraverseInvite type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseInvite) Intercept

func (f TraverseInvite) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseInvite) Traverse

func (f TraverseInvite) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseNote

type TraverseNote func(context.Context, *generated.NoteQuery) error

The TraverseNote type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseNote) Intercept

func (f TraverseNote) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseNote) Traverse

func (f TraverseNote) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseNoteHistory

type TraverseNoteHistory func(context.Context, *generated.NoteHistoryQuery) error

The TraverseNoteHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseNoteHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseNoteHistory) Traverse

Traverse calls f(ctx, q).

type TraverseOauthProvider

type TraverseOauthProvider func(context.Context, *generated.OauthProviderQuery) error

The TraverseOauthProvider type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOauthProvider) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOauthProvider) Traverse

Traverse calls f(ctx, q).

type TraverseOauthProviderHistory

type TraverseOauthProviderHistory func(context.Context, *generated.OauthProviderHistoryQuery) error

The TraverseOauthProviderHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOauthProviderHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOauthProviderHistory) Traverse

Traverse calls f(ctx, q).

type TraverseOhAuthTooToken

type TraverseOhAuthTooToken func(context.Context, *generated.OhAuthTooTokenQuery) error

The TraverseOhAuthTooToken type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOhAuthTooToken) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOhAuthTooToken) Traverse

Traverse calls f(ctx, q).

type TraverseOrgMembership

type TraverseOrgMembership func(context.Context, *generated.OrgMembershipQuery) error

The TraverseOrgMembership type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOrgMembership) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOrgMembership) Traverse

Traverse calls f(ctx, q).

type TraverseOrgMembershipHistory

type TraverseOrgMembershipHistory func(context.Context, *generated.OrgMembershipHistoryQuery) error

The TraverseOrgMembershipHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOrgMembershipHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOrgMembershipHistory) Traverse

Traverse calls f(ctx, q).

type TraverseOrganization

type TraverseOrganization func(context.Context, *generated.OrganizationQuery) error

The TraverseOrganization type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOrganization) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOrganization) Traverse

Traverse calls f(ctx, q).

type TraverseOrganizationHistory

type TraverseOrganizationHistory func(context.Context, *generated.OrganizationHistoryQuery) error

The TraverseOrganizationHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOrganizationHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOrganizationHistory) Traverse

Traverse calls f(ctx, q).

type TraverseOrganizationSetting

type TraverseOrganizationSetting func(context.Context, *generated.OrganizationSettingQuery) error

The TraverseOrganizationSetting type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOrganizationSetting) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOrganizationSetting) Traverse

Traverse calls f(ctx, q).

type TraverseOrganizationSettingHistory

type TraverseOrganizationSettingHistory func(context.Context, *generated.OrganizationSettingHistoryQuery) error

The TraverseOrganizationSettingHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseOrganizationSettingHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseOrganizationSettingHistory) Traverse

Traverse calls f(ctx, q).

type TraversePasswordResetToken

type TraversePasswordResetToken func(context.Context, *generated.PasswordResetTokenQuery) error

The TraversePasswordResetToken type is an adapter to allow the use of ordinary function as Traverser.

func (TraversePasswordResetToken) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraversePasswordResetToken) Traverse

Traverse calls f(ctx, q).

type TraversePersonalAccessToken

type TraversePersonalAccessToken func(context.Context, *generated.PersonalAccessTokenQuery) error

The TraversePersonalAccessToken type is an adapter to allow the use of ordinary function as Traverser.

func (TraversePersonalAccessToken) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraversePersonalAccessToken) Traverse

Traverse calls f(ctx, q).

type TraverseSubscriber

type TraverseSubscriber func(context.Context, *generated.SubscriberQuery) error

The TraverseSubscriber type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseSubscriber) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseSubscriber) Traverse

Traverse calls f(ctx, q).

type TraverseTFASetting

type TraverseTFASetting func(context.Context, *generated.TFASettingQuery) error

The TraverseTFASetting type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseTFASetting) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseTFASetting) Traverse

Traverse calls f(ctx, q).

type TraverseTemplate

type TraverseTemplate func(context.Context, *generated.TemplateQuery) error

The TraverseTemplate type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseTemplate) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseTemplate) Traverse

func (f TraverseTemplate) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseTemplateHistory

type TraverseTemplateHistory func(context.Context, *generated.TemplateHistoryQuery) error

The TraverseTemplateHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseTemplateHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseTemplateHistory) Traverse

Traverse calls f(ctx, q).

type TraverseUser

type TraverseUser func(context.Context, *generated.UserQuery) error

The TraverseUser type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseUser) Intercept

func (f TraverseUser) Intercept(next generated.Querier) generated.Querier

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseUser) Traverse

func (f TraverseUser) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseUserHistory

type TraverseUserHistory func(context.Context, *generated.UserHistoryQuery) error

The TraverseUserHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseUserHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseUserHistory) Traverse

Traverse calls f(ctx, q).

type TraverseUserSetting

type TraverseUserSetting func(context.Context, *generated.UserSettingQuery) error

The TraverseUserSetting type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseUserSetting) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseUserSetting) Traverse

Traverse calls f(ctx, q).

type TraverseUserSettingHistory

type TraverseUserSettingHistory func(context.Context, *generated.UserSettingHistoryQuery) error

The TraverseUserSettingHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseUserSettingHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseUserSettingHistory) Traverse

Traverse calls f(ctx, q).

type TraverseWebauthn

type TraverseWebauthn func(context.Context, *generated.WebauthnQuery) error

The TraverseWebauthn type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseWebauthn) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseWebauthn) Traverse

func (f TraverseWebauthn) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseWebhook

type TraverseWebhook func(context.Context, *generated.WebhookQuery) error

The TraverseWebhook type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseWebhook) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseWebhook) Traverse

func (f TraverseWebhook) Traverse(ctx context.Context, q generated.Query) error

Traverse calls f(ctx, q).

type TraverseWebhookHistory

type TraverseWebhookHistory func(context.Context, *generated.WebhookHistoryQuery) error

The TraverseWebhookHistory type is an adapter to allow the use of ordinary function as Traverser.

func (TraverseWebhookHistory) Intercept

Intercept is a dummy implementation of Intercept that returns the next Querier in the pipeline.

func (TraverseWebhookHistory) Traverse

Traverse calls f(ctx, q).

type UserFunc

The UserFunc type is an adapter to allow the use of ordinary function as a Querier.

func (UserFunc) Query

Query calls f(ctx, q).

type UserHistoryFunc

type UserHistoryFunc func(context.Context, *generated.UserHistoryQuery) (generated.Value, error)

The UserHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (UserHistoryFunc) Query

Query calls f(ctx, q).

type UserSettingFunc

type UserSettingFunc func(context.Context, *generated.UserSettingQuery) (generated.Value, error)

The UserSettingFunc type is an adapter to allow the use of ordinary function as a Querier.

func (UserSettingFunc) Query

Query calls f(ctx, q).

type UserSettingHistoryFunc

type UserSettingHistoryFunc func(context.Context, *generated.UserSettingHistoryQuery) (generated.Value, error)

The UserSettingHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (UserSettingHistoryFunc) Query

Query calls f(ctx, q).

type WebauthnFunc

type WebauthnFunc func(context.Context, *generated.WebauthnQuery) (generated.Value, error)

The WebauthnFunc type is an adapter to allow the use of ordinary function as a Querier.

func (WebauthnFunc) Query

Query calls f(ctx, q).

type WebhookFunc

type WebhookFunc func(context.Context, *generated.WebhookQuery) (generated.Value, error)

The WebhookFunc type is an adapter to allow the use of ordinary function as a Querier.

func (WebhookFunc) Query

Query calls f(ctx, q).

type WebhookHistoryFunc

type WebhookHistoryFunc func(context.Context, *generated.WebhookHistoryQuery) (generated.Value, error)

The WebhookHistoryFunc type is an adapter to allow the use of ordinary function as a Querier.

func (WebhookHistoryFunc) Query

Query calls f(ctx, q).

Jump to

Keyboard shortcuts

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