intercept

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APITokenFunc added in v0.5.0

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 added in v0.5.0

Query calls f(ctx, q).

type DocumentDataFunc added in v0.4.4

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 added in v0.4.4

Query calls f(ctx, q).

type DocumentDataHistoryFunc added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type EmailVerificationTokenFunc added in v0.2.2

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 added in v0.2.2

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 added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type EventFunc added in v0.5.0

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

func (EventFunc) Query added in v0.5.0

Query calls f(ctx, q).

type EventHistoryFunc added in v0.5.0

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 added in v0.5.0

Query calls f(ctx, q).

type FeatureFunc added in v0.5.0

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 added in v0.5.0

Query calls f(ctx, q).

type FeatureHistoryFunc added in v0.5.0

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 added in v0.5.0

Query calls f(ctx, q).

type FileFunc added in v0.5.0

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

func (FileFunc) Query added in v0.5.0

Query calls f(ctx, q).

type FileHistoryFunc added in v0.5.0

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 added in v0.5.0

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 added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type GroupMembershipFunc added in v0.2.4

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 added in v0.2.4

Query calls f(ctx, q).

type GroupMembershipHistoryFunc added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type HushFunc added in v0.5.0

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

func (HushFunc) Query added in v0.5.0

Query calls f(ctx, q).

type HushHistoryFunc added in v0.5.0

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 added in v0.5.0

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 added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type InviteFunc added in v0.2.6

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

func (InviteFunc) Query added in v0.2.6

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 added in v0.4.5

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 added in v0.4.5

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 added in v0.2.4

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 added in v0.2.4

Query calls f(ctx, q).

type OrgMembershipHistoryFunc added in v0.4.5

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 added in v0.4.5

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 added in v0.4.3

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 added in v0.4.3

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 added in v0.4.3

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 added in v0.4.3

Query calls f(ctx, q).

type PasswordResetTokenFunc added in v0.2.3

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 added in v0.2.3

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 added in v0.3.6

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 added in v0.3.6

Query calls f(ctx, q).

type TFASettingFunc added in v0.4.4

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 added in v0.4.4

Query calls f(ctx, q).

type TemplateFunc added in v0.4.3

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 added in v0.4.3

Query calls f(ctx, q).

type TemplateHistoryFunc added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type TraverseAPIToken added in v0.5.0

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 added in v0.5.0

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

func (TraverseAPIToken) Traverse added in v0.5.0

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

Traverse calls f(ctx, q).

type TraverseDocumentData added in v0.4.4

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 added in v0.4.4

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

func (TraverseDocumentData) Traverse added in v0.4.4

Traverse calls f(ctx, q).

type TraverseDocumentDataHistory added in v0.4.5

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 added in v0.4.5

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

func (TraverseDocumentDataHistory) Traverse added in v0.4.5

Traverse calls f(ctx, q).

type TraverseEmailVerificationToken added in v0.2.2

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 added in v0.2.2

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

func (TraverseEmailVerificationToken) Traverse added in v0.2.2

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseEntitlementHistory) Traverse added in v0.4.5

Traverse calls f(ctx, q).

type TraverseEvent added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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

Traverse calls f(ctx, q).

type TraverseEventHistory added in v0.5.0

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 added in v0.5.0

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

func (TraverseEventHistory) Traverse added in v0.5.0

Traverse calls f(ctx, q).

type TraverseFeature added in v0.5.0

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 added in v0.5.0

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

func (TraverseFeature) Traverse added in v0.5.0

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

Traverse calls f(ctx, q).

type TraverseFeatureHistory added in v0.5.0

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 added in v0.5.0

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

func (TraverseFeatureHistory) Traverse added in v0.5.0

Traverse calls f(ctx, q).

type TraverseFile added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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

Traverse calls f(ctx, q).

type TraverseFileHistory added in v0.5.0

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 added in v0.5.0

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

func (TraverseFileHistory) Traverse added in v0.5.0

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseGroupHistory) Traverse added in v0.4.5

Traverse calls f(ctx, q).

type TraverseGroupMembership added in v0.2.4

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 added in v0.2.4

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

func (TraverseGroupMembership) Traverse added in v0.2.4

Traverse calls f(ctx, q).

type TraverseGroupMembershipHistory added in v0.4.5

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 added in v0.4.5

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

func (TraverseGroupMembershipHistory) Traverse added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseGroupSettingHistory) Traverse added in v0.4.5

Traverse calls f(ctx, q).

type TraverseHush added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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

Traverse calls f(ctx, q).

type TraverseHushHistory added in v0.5.0

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 added in v0.5.0

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

func (TraverseHushHistory) Traverse added in v0.5.0

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseIntegrationHistory) Traverse added in v0.4.5

Traverse calls f(ctx, q).

type TraverseInvite added in v0.2.6

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 added in v0.2.6

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 added in v0.2.6

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

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseOauthProviderHistory) Traverse added in v0.4.5

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 added in v0.2.4

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 added in v0.2.4

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

func (TraverseOrgMembership) Traverse added in v0.2.4

Traverse calls f(ctx, q).

type TraverseOrgMembershipHistory added in v0.4.5

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 added in v0.4.5

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

func (TraverseOrgMembershipHistory) Traverse added in v0.4.5

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 added in v0.4.3

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 added in v0.4.3

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

func (TraverseOrganizationHistory) Traverse added in v0.4.3

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 added in v0.4.3

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 added in v0.4.3

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

func (TraverseOrganizationSettingHistory) Traverse added in v0.4.3

Traverse calls f(ctx, q).

type TraversePasswordResetToken added in v0.2.3

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 added in v0.2.3

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

func (TraversePasswordResetToken) Traverse added in v0.2.3

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 added in v0.3.6

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 added in v0.3.6

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

func (TraverseSubscriber) Traverse added in v0.3.6

Traverse calls f(ctx, q).

type TraverseTFASetting added in v0.4.4

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 added in v0.4.4

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

func (TraverseTFASetting) Traverse added in v0.4.4

Traverse calls f(ctx, q).

type TraverseTemplate added in v0.4.3

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 added in v0.4.3

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

func (TraverseTemplate) Traverse added in v0.4.3

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

Traverse calls f(ctx, q).

type TraverseTemplateHistory added in v0.4.5

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 added in v0.4.5

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

func (TraverseTemplateHistory) Traverse added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseUserHistory) Traverse added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

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

func (TraverseUserSettingHistory) Traverse added in v0.4.5

Traverse calls f(ctx, q).

type TraverseWebauthn added in v0.3.0

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 added in v0.3.0

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

func (TraverseWebauthn) Traverse added in v0.3.0

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

Traverse calls f(ctx, q).

type TraverseWebhook added in v0.5.0

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 added in v0.5.0

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

func (TraverseWebhook) Traverse added in v0.5.0

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

Traverse calls f(ctx, q).

type TraverseWebhookHistory added in v0.5.0

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 added in v0.5.0

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

func (TraverseWebhookHistory) Traverse added in v0.5.0

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 added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

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 added in v0.4.5

Query calls f(ctx, q).

type WebauthnFunc added in v0.3.0

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 added in v0.3.0

Query calls f(ctx, q).

type WebhookFunc added in v0.5.0

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 added in v0.5.0

Query calls f(ctx, q).

type WebhookHistoryFunc added in v0.5.0

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 added in v0.5.0

Query calls f(ctx, q).

Jump to

Keyboard shortcuts

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