hook

package
v0.46.7 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixedError

func FixedError(err error) generated.Hook

FixedError is a hook returning a fixed error.

func If

func If(hk generated.Hook, cond Condition) generated.Hook

If executes the given hook under condition.

hook.If(ComputeAverage, And(HasFields(...), HasAddedFields(...)))

func On

On executes the given hook only for the given operation.

hook.On(Log, generated.Delete|generated.Create)

func Reject

func Reject(op generated.Op) generated.Hook

Reject returns a hook that rejects all operations that match op.

func (T) Hooks() []generated.Hook {
	return []generated.Hook{
		Reject(generated.Delete|generated.Update),
	}
}

func Unless

func Unless(hk generated.Hook, op generated.Op) generated.Hook

Unless skips the given hook only for the given operation.

hook.Unless(Log, generated.Update|generated.UpdateOne)

Types

type APITokenFunc

The APITokenFunc type is an adapter to allow the use of ordinary function as APIToken mutator.

func (APITokenFunc) Mutate

Mutate calls f(ctx, m).

type ActionPlanFunc added in v0.3.3

The ActionPlanFunc type is an adapter to allow the use of ordinary function as ActionPlan mutator.

func (ActionPlanFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ActionPlanHistoryFunc added in v0.3.3

type ActionPlanHistoryFunc func(context.Context, *generated.ActionPlanHistoryMutation) (generated.Value, error)

The ActionPlanHistoryFunc type is an adapter to allow the use of ordinary function as ActionPlanHistory mutator.

func (ActionPlanHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type AssessmentFunc added in v0.42.6

The AssessmentFunc type is an adapter to allow the use of ordinary function as Assessment mutator.

func (AssessmentFunc) Mutate added in v0.42.6

Mutate calls f(ctx, m).

type AssessmentHistoryFunc added in v0.42.6

type AssessmentHistoryFunc func(context.Context, *generated.AssessmentHistoryMutation) (generated.Value, error)

The AssessmentHistoryFunc type is an adapter to allow the use of ordinary function as AssessmentHistory mutator.

func (AssessmentHistoryFunc) Mutate added in v0.42.6

Mutate calls f(ctx, m).

type AssessmentResponseFunc added in v0.42.6

type AssessmentResponseFunc func(context.Context, *generated.AssessmentResponseMutation) (generated.Value, error)

The AssessmentResponseFunc type is an adapter to allow the use of ordinary function as AssessmentResponse mutator.

func (AssessmentResponseFunc) Mutate added in v0.42.6

Mutate calls f(ctx, m).

type AssessmentResponseHistoryFunc added in v0.42.6

type AssessmentResponseHistoryFunc func(context.Context, *generated.AssessmentResponseHistoryMutation) (generated.Value, error)

The AssessmentResponseHistoryFunc type is an adapter to allow the use of ordinary function as AssessmentResponseHistory mutator.

func (AssessmentResponseHistoryFunc) Mutate added in v0.42.6

Mutate calls f(ctx, m).

type AssetFunc added in v0.19.0

The AssetFunc type is an adapter to allow the use of ordinary function as Asset mutator.

func (AssetFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type AssetHistoryFunc added in v0.19.0

The AssetHistoryFunc type is an adapter to allow the use of ordinary function as AssetHistory mutator.

func (AssetHistoryFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type Chain

type Chain struct {
	// contains filtered or unexported fields
}

Chain acts as a list of hooks and is effectively immutable. Once created, it will always hold the same set of hooks in the same order.

func NewChain

func NewChain(hooks ...generated.Hook) Chain

NewChain creates a new chain of hooks.

func (Chain) Append

func (c Chain) Append(hooks ...generated.Hook) Chain

Append extends a chain, adding the specified hook as the last ones in the mutation flow.

func (Chain) Extend

func (c Chain) Extend(chain Chain) Chain

Extend extends a chain, adding the specified chain as the last ones in the mutation flow.

func (Chain) Hook

func (c Chain) Hook() generated.Hook

Hook chains the list of hooks and returns the final hook.

type Condition

type Condition func(context.Context, generated.Mutation) bool

Condition is a hook condition function.

func And

func And(first, second Condition, rest ...Condition) Condition

And groups conditions with the AND operator.

func HasAddedFields

func HasAddedFields(field string, fields ...string) Condition

HasAddedFields is a condition validating `.AddedField` on fields.

func HasClearedFields

func HasClearedFields(field string, fields ...string) Condition

HasClearedFields is a condition validating `.FieldCleared` on fields.

func HasFields

func HasFields(field string, fields ...string) Condition

HasFields is a condition validating `.Field` on fields.

func HasOp

func HasOp(op generated.Op) Condition

HasOp is a condition testing mutation operation.

func Not

func Not(cond Condition) Condition

Not negates a given condition.

func Or

func Or(first, second Condition, rest ...Condition) Condition

Or groups conditions with the OR operator.

type ContactFunc

The ContactFunc type is an adapter to allow the use of ordinary function as Contact mutator.

func (ContactFunc) Mutate

Mutate calls f(ctx, m).

type ContactHistoryFunc

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

The ContactHistoryFunc type is an adapter to allow the use of ordinary function as ContactHistory mutator.

func (ContactHistoryFunc) Mutate

Mutate calls f(ctx, m).

type ControlFunc added in v0.3.3

The ControlFunc type is an adapter to allow the use of ordinary function as Control mutator.

func (ControlFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ControlHistoryFunc added in v0.3.3

type ControlHistoryFunc func(context.Context, *generated.ControlHistoryMutation) (generated.Value, error)

The ControlHistoryFunc type is an adapter to allow the use of ordinary function as ControlHistory mutator.

func (ControlHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ControlImplementationFunc added in v0.7.3

type ControlImplementationFunc func(context.Context, *generated.ControlImplementationMutation) (generated.Value, error)

The ControlImplementationFunc type is an adapter to allow the use of ordinary function as ControlImplementation mutator.

func (ControlImplementationFunc) Mutate added in v0.7.3

Mutate calls f(ctx, m).

type ControlImplementationHistoryFunc added in v0.7.3

type ControlImplementationHistoryFunc func(context.Context, *generated.ControlImplementationHistoryMutation) (generated.Value, error)

The ControlImplementationHistoryFunc type is an adapter to allow the use of ordinary function as ControlImplementationHistory mutator.

func (ControlImplementationHistoryFunc) Mutate added in v0.7.3

Mutate calls f(ctx, m).

type ControlObjectiveFunc added in v0.3.3

type ControlObjectiveFunc func(context.Context, *generated.ControlObjectiveMutation) (generated.Value, error)

The ControlObjectiveFunc type is an adapter to allow the use of ordinary function as ControlObjective mutator.

func (ControlObjectiveFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ControlObjectiveHistoryFunc added in v0.3.3

type ControlObjectiveHistoryFunc func(context.Context, *generated.ControlObjectiveHistoryMutation) (generated.Value, error)

The ControlObjectiveHistoryFunc type is an adapter to allow the use of ordinary function as ControlObjectiveHistory mutator.

func (ControlObjectiveHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type CustomDomainFunc added in v0.12.1

The CustomDomainFunc type is an adapter to allow the use of ordinary function as CustomDomain mutator.

func (CustomDomainFunc) Mutate added in v0.12.1

Mutate calls f(ctx, m).

type CustomDomainHistoryFunc added in v0.12.1

type CustomDomainHistoryFunc func(context.Context, *generated.CustomDomainHistoryMutation) (generated.Value, error)

The CustomDomainHistoryFunc type is an adapter to allow the use of ordinary function as CustomDomainHistory mutator.

func (CustomDomainHistoryFunc) Mutate added in v0.12.1

Mutate calls f(ctx, m).

type CustomTypeEnumFunc added in v0.43.0

type CustomTypeEnumFunc func(context.Context, *generated.CustomTypeEnumMutation) (generated.Value, error)

The CustomTypeEnumFunc type is an adapter to allow the use of ordinary function as CustomTypeEnum mutator.

func (CustomTypeEnumFunc) Mutate added in v0.43.0

Mutate calls f(ctx, m).

type DNSVerificationFunc added in v0.15.0

type DNSVerificationFunc func(context.Context, *generated.DNSVerificationMutation) (generated.Value, error)

The DNSVerificationFunc type is an adapter to allow the use of ordinary function as DNSVerification mutator.

func (DNSVerificationFunc) Mutate added in v0.15.0

Mutate calls f(ctx, m).

type DNSVerificationHistoryFunc added in v0.15.0

type DNSVerificationHistoryFunc func(context.Context, *generated.DNSVerificationHistoryMutation) (generated.Value, error)

The DNSVerificationHistoryFunc type is an adapter to allow the use of ordinary function as DNSVerificationHistory mutator.

func (DNSVerificationHistoryFunc) Mutate added in v0.15.0

Mutate calls f(ctx, m).

type DirectoryAccountFunc added in v0.46.3

type DirectoryAccountFunc func(context.Context, *generated.DirectoryAccountMutation) (generated.Value, error)

The DirectoryAccountFunc type is an adapter to allow the use of ordinary function as DirectoryAccount mutator.

func (DirectoryAccountFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DirectoryAccountHistoryFunc added in v0.46.3

type DirectoryAccountHistoryFunc func(context.Context, *generated.DirectoryAccountHistoryMutation) (generated.Value, error)

The DirectoryAccountHistoryFunc type is an adapter to allow the use of ordinary function as DirectoryAccountHistory mutator.

func (DirectoryAccountHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DirectoryGroupFunc added in v0.46.3

type DirectoryGroupFunc func(context.Context, *generated.DirectoryGroupMutation) (generated.Value, error)

The DirectoryGroupFunc type is an adapter to allow the use of ordinary function as DirectoryGroup mutator.

func (DirectoryGroupFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DirectoryGroupHistoryFunc added in v0.46.3

type DirectoryGroupHistoryFunc func(context.Context, *generated.DirectoryGroupHistoryMutation) (generated.Value, error)

The DirectoryGroupHistoryFunc type is an adapter to allow the use of ordinary function as DirectoryGroupHistory mutator.

func (DirectoryGroupHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DirectoryMembershipFunc added in v0.46.3

type DirectoryMembershipFunc func(context.Context, *generated.DirectoryMembershipMutation) (generated.Value, error)

The DirectoryMembershipFunc type is an adapter to allow the use of ordinary function as DirectoryMembership mutator.

func (DirectoryMembershipFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DirectoryMembershipHistoryFunc added in v0.46.3

type DirectoryMembershipHistoryFunc func(context.Context, *generated.DirectoryMembershipHistoryMutation) (generated.Value, error)

The DirectoryMembershipHistoryFunc type is an adapter to allow the use of ordinary function as DirectoryMembershipHistory mutator.

func (DirectoryMembershipHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DirectorySyncRunFunc added in v0.46.3

type DirectorySyncRunFunc func(context.Context, *generated.DirectorySyncRunMutation) (generated.Value, error)

The DirectorySyncRunFunc type is an adapter to allow the use of ordinary function as DirectorySyncRun mutator.

func (DirectorySyncRunFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type DocumentDataFunc

The DocumentDataFunc type is an adapter to allow the use of ordinary function as DocumentData mutator.

func (DocumentDataFunc) Mutate

Mutate calls f(ctx, m).

type DocumentDataHistoryFunc

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

The DocumentDataHistoryFunc type is an adapter to allow the use of ordinary function as DocumentDataHistory mutator.

func (DocumentDataHistoryFunc) Mutate

Mutate calls f(ctx, m).

type EmailVerificationTokenFunc

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

The EmailVerificationTokenFunc type is an adapter to allow the use of ordinary function as EmailVerificationToken mutator.

func (EmailVerificationTokenFunc) Mutate

Mutate calls f(ctx, m).

type EntityFunc

The EntityFunc type is an adapter to allow the use of ordinary function as Entity mutator.

func (EntityFunc) Mutate

Mutate calls f(ctx, m).

type EntityHistoryFunc

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

The EntityHistoryFunc type is an adapter to allow the use of ordinary function as EntityHistory mutator.

func (EntityHistoryFunc) Mutate

Mutate calls f(ctx, m).

type EntityTypeFunc

The EntityTypeFunc type is an adapter to allow the use of ordinary function as EntityType mutator.

func (EntityTypeFunc) Mutate

Mutate calls f(ctx, m).

type EntityTypeHistoryFunc

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

The EntityTypeHistoryFunc type is an adapter to allow the use of ordinary function as EntityTypeHistory mutator.

func (EntityTypeHistoryFunc) Mutate

Mutate calls f(ctx, m).

type EventFunc

The EventFunc type is an adapter to allow the use of ordinary function as Event mutator.

func (EventFunc) Mutate

Mutate calls f(ctx, m).

type EvidenceFunc added in v0.6.19

The EvidenceFunc type is an adapter to allow the use of ordinary function as Evidence mutator.

func (EvidenceFunc) Mutate added in v0.6.19

Mutate calls f(ctx, m).

type EvidenceHistoryFunc added in v0.6.19

type EvidenceHistoryFunc func(context.Context, *generated.EvidenceHistoryMutation) (generated.Value, error)

The EvidenceHistoryFunc type is an adapter to allow the use of ordinary function as EvidenceHistory mutator.

func (EvidenceHistoryFunc) Mutate added in v0.6.19

Mutate calls f(ctx, m).

type ExportFunc added in v0.22.3

The ExportFunc type is an adapter to allow the use of ordinary function as Export mutator.

func (ExportFunc) Mutate added in v0.22.3

Mutate calls f(ctx, m).

type FileDownloadTokenFunc added in v0.39.2

type FileDownloadTokenFunc func(context.Context, *generated.FileDownloadTokenMutation) (generated.Value, error)

The FileDownloadTokenFunc type is an adapter to allow the use of ordinary function as FileDownloadToken mutator.

func (FileDownloadTokenFunc) Mutate added in v0.39.2

Mutate calls f(ctx, m).

type FileFunc

The FileFunc type is an adapter to allow the use of ordinary function as File mutator.

func (FileFunc) Mutate

Mutate calls f(ctx, m).

type FileHistoryFunc

The FileHistoryFunc type is an adapter to allow the use of ordinary function as FileHistory mutator.

func (FileHistoryFunc) Mutate

Mutate calls f(ctx, m).

type FindingControlFunc added in v0.43.3

type FindingControlFunc func(context.Context, *generated.FindingControlMutation) (generated.Value, error)

The FindingControlFunc type is an adapter to allow the use of ordinary function as FindingControl mutator.

func (FindingControlFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type FindingControlHistoryFunc added in v0.43.3

type FindingControlHistoryFunc func(context.Context, *generated.FindingControlHistoryMutation) (generated.Value, error)

The FindingControlHistoryFunc type is an adapter to allow the use of ordinary function as FindingControlHistory mutator.

func (FindingControlHistoryFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type FindingFunc added in v0.43.3

The FindingFunc type is an adapter to allow the use of ordinary function as Finding mutator.

func (FindingFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type FindingHistoryFunc added in v0.43.3

type FindingHistoryFunc func(context.Context, *generated.FindingHistoryMutation) (generated.Value, error)

The FindingHistoryFunc type is an adapter to allow the use of ordinary function as FindingHistory mutator.

func (FindingHistoryFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type GroupFunc

The GroupFunc type is an adapter to allow the use of ordinary function as Group mutator.

func (GroupFunc) Mutate

Mutate calls f(ctx, m).

type GroupHistoryFunc

The GroupHistoryFunc type is an adapter to allow the use of ordinary function as GroupHistory mutator.

func (GroupHistoryFunc) Mutate

Mutate calls f(ctx, m).

type GroupMembershipFunc

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

The GroupMembershipFunc type is an adapter to allow the use of ordinary function as GroupMembership mutator.

func (GroupMembershipFunc) Mutate

Mutate calls f(ctx, m).

type GroupMembershipHistoryFunc

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

The GroupMembershipHistoryFunc type is an adapter to allow the use of ordinary function as GroupMembershipHistory mutator.

func (GroupMembershipHistoryFunc) Mutate

Mutate calls f(ctx, m).

type GroupSettingFunc

The GroupSettingFunc type is an adapter to allow the use of ordinary function as GroupSetting mutator.

func (GroupSettingFunc) Mutate

Mutate calls f(ctx, m).

type GroupSettingHistoryFunc

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

The GroupSettingHistoryFunc type is an adapter to allow the use of ordinary function as GroupSettingHistory mutator.

func (GroupSettingHistoryFunc) Mutate

Mutate calls f(ctx, m).

type HushFunc

The HushFunc type is an adapter to allow the use of ordinary function as Hush mutator.

func (HushFunc) Mutate

Mutate calls f(ctx, m).

type HushHistoryFunc

The HushHistoryFunc type is an adapter to allow the use of ordinary function as HushHistory mutator.

func (HushHistoryFunc) Mutate

Mutate calls f(ctx, m).

type ImpersonationEventFunc added in v0.38.1

type ImpersonationEventFunc func(context.Context, *generated.ImpersonationEventMutation) (generated.Value, error)

The ImpersonationEventFunc type is an adapter to allow the use of ordinary function as ImpersonationEvent mutator.

func (ImpersonationEventFunc) Mutate added in v0.38.1

Mutate calls f(ctx, m).

type IntegrationFunc

The IntegrationFunc type is an adapter to allow the use of ordinary function as Integration mutator.

func (IntegrationFunc) Mutate

Mutate calls f(ctx, m).

type IntegrationHistoryFunc

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

The IntegrationHistoryFunc type is an adapter to allow the use of ordinary function as IntegrationHistory mutator.

func (IntegrationHistoryFunc) Mutate

Mutate calls f(ctx, m).

type InternalPolicyFunc added in v0.3.3

type InternalPolicyFunc func(context.Context, *generated.InternalPolicyMutation) (generated.Value, error)

The InternalPolicyFunc type is an adapter to allow the use of ordinary function as InternalPolicy mutator.

func (InternalPolicyFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type InternalPolicyHistoryFunc added in v0.3.3

type InternalPolicyHistoryFunc func(context.Context, *generated.InternalPolicyHistoryMutation) (generated.Value, error)

The InternalPolicyHistoryFunc type is an adapter to allow the use of ordinary function as InternalPolicyHistory mutator.

func (InternalPolicyHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type InviteFunc

The InviteFunc type is an adapter to allow the use of ordinary function as Invite mutator.

func (InviteFunc) Mutate

Mutate calls f(ctx, m).

type JobResultFunc added in v0.15.0

The JobResultFunc type is an adapter to allow the use of ordinary function as JobResult mutator.

func (JobResultFunc) Mutate added in v0.15.0

Mutate calls f(ctx, m).

type JobRunnerFunc added in v0.14.1

The JobRunnerFunc type is an adapter to allow the use of ordinary function as JobRunner mutator.

func (JobRunnerFunc) Mutate added in v0.14.1

Mutate calls f(ctx, m).

type JobRunnerRegistrationTokenFunc added in v0.14.1

type JobRunnerRegistrationTokenFunc func(context.Context, *generated.JobRunnerRegistrationTokenMutation) (generated.Value, error)

The JobRunnerRegistrationTokenFunc type is an adapter to allow the use of ordinary function as JobRunnerRegistrationToken mutator.

func (JobRunnerRegistrationTokenFunc) Mutate added in v0.14.1

Mutate calls f(ctx, m).

type JobRunnerTokenFunc added in v0.14.1

type JobRunnerTokenFunc func(context.Context, *generated.JobRunnerTokenMutation) (generated.Value, error)

The JobRunnerTokenFunc type is an adapter to allow the use of ordinary function as JobRunnerToken mutator.

func (JobRunnerTokenFunc) Mutate added in v0.14.1

Mutate calls f(ctx, m).

type JobTemplateFunc added in v0.24.0

The JobTemplateFunc type is an adapter to allow the use of ordinary function as JobTemplate mutator.

func (JobTemplateFunc) Mutate added in v0.24.0

Mutate calls f(ctx, m).

type JobTemplateHistoryFunc added in v0.24.0

type JobTemplateHistoryFunc func(context.Context, *generated.JobTemplateHistoryMutation) (generated.Value, error)

The JobTemplateHistoryFunc type is an adapter to allow the use of ordinary function as JobTemplateHistory mutator.

func (JobTemplateHistoryFunc) Mutate added in v0.24.0

Mutate calls f(ctx, m).

type MappableDomainFunc added in v0.12.1

type MappableDomainFunc func(context.Context, *generated.MappableDomainMutation) (generated.Value, error)

The MappableDomainFunc type is an adapter to allow the use of ordinary function as MappableDomain mutator.

func (MappableDomainFunc) Mutate added in v0.12.1

Mutate calls f(ctx, m).

type MappableDomainHistoryFunc added in v0.12.1

type MappableDomainHistoryFunc func(context.Context, *generated.MappableDomainHistoryMutation) (generated.Value, error)

The MappableDomainHistoryFunc type is an adapter to allow the use of ordinary function as MappableDomainHistory mutator.

func (MappableDomainHistoryFunc) Mutate added in v0.12.1

Mutate calls f(ctx, m).

type MappedControlFunc added in v0.7.3

type MappedControlFunc func(context.Context, *generated.MappedControlMutation) (generated.Value, error)

The MappedControlFunc type is an adapter to allow the use of ordinary function as MappedControl mutator.

func (MappedControlFunc) Mutate added in v0.7.3

Mutate calls f(ctx, m).

type MappedControlHistoryFunc added in v0.7.3

type MappedControlHistoryFunc func(context.Context, *generated.MappedControlHistoryMutation) (generated.Value, error)

The MappedControlHistoryFunc type is an adapter to allow the use of ordinary function as MappedControlHistory mutator.

func (MappedControlHistoryFunc) Mutate added in v0.7.3

Mutate calls f(ctx, m).

type NarrativeFunc added in v0.3.3

The NarrativeFunc type is an adapter to allow the use of ordinary function as Narrative mutator.

func (NarrativeFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type NarrativeHistoryFunc added in v0.3.3

type NarrativeHistoryFunc func(context.Context, *generated.NarrativeHistoryMutation) (generated.Value, error)

The NarrativeHistoryFunc type is an adapter to allow the use of ordinary function as NarrativeHistory mutator.

func (NarrativeHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type NoteFunc

The NoteFunc type is an adapter to allow the use of ordinary function as Note mutator.

func (NoteFunc) Mutate

Mutate calls f(ctx, m).

type NoteHistoryFunc

The NoteHistoryFunc type is an adapter to allow the use of ordinary function as NoteHistory mutator.

func (NoteHistoryFunc) Mutate

Mutate calls f(ctx, m).

type NotificationFunc added in v0.45.13

The NotificationFunc type is an adapter to allow the use of ordinary function as Notification mutator.

func (NotificationFunc) Mutate added in v0.45.13

Mutate calls f(ctx, m).

type OnboardingFunc added in v0.6.24

The OnboardingFunc type is an adapter to allow the use of ordinary function as Onboarding mutator.

func (OnboardingFunc) Mutate added in v0.6.24

Mutate calls f(ctx, m).

type OrgMembershipFunc

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

The OrgMembershipFunc type is an adapter to allow the use of ordinary function as OrgMembership mutator.

func (OrgMembershipFunc) Mutate

Mutate calls f(ctx, m).

type OrgMembershipHistoryFunc

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

The OrgMembershipHistoryFunc type is an adapter to allow the use of ordinary function as OrgMembershipHistory mutator.

func (OrgMembershipHistoryFunc) Mutate

Mutate calls f(ctx, m).

type OrgModuleFunc added in v0.18.4

The OrgModuleFunc type is an adapter to allow the use of ordinary function as OrgModule mutator.

func (OrgModuleFunc) Mutate added in v0.18.4

Mutate calls f(ctx, m).

type OrgPriceFunc added in v0.18.4

The OrgPriceFunc type is an adapter to allow the use of ordinary function as OrgPrice mutator.

func (OrgPriceFunc) Mutate added in v0.18.4

Mutate calls f(ctx, m).

type OrgProductFunc added in v0.18.4

The OrgProductFunc type is an adapter to allow the use of ordinary function as OrgProduct mutator.

func (OrgProductFunc) Mutate added in v0.18.4

Mutate calls f(ctx, m).

type OrgSubscriptionFunc added in v0.5.1

type OrgSubscriptionFunc func(context.Context, *generated.OrgSubscriptionMutation) (generated.Value, error)

The OrgSubscriptionFunc type is an adapter to allow the use of ordinary function as OrgSubscription mutator.

func (OrgSubscriptionFunc) Mutate added in v0.5.1

Mutate calls f(ctx, m).

type OrgSubscriptionHistoryFunc added in v0.5.1

type OrgSubscriptionHistoryFunc func(context.Context, *generated.OrgSubscriptionHistoryMutation) (generated.Value, error)

The OrgSubscriptionHistoryFunc type is an adapter to allow the use of ordinary function as OrgSubscriptionHistory mutator.

func (OrgSubscriptionHistoryFunc) Mutate added in v0.5.1

Mutate calls f(ctx, m).

type OrganizationFunc

The OrganizationFunc type is an adapter to allow the use of ordinary function as Organization mutator.

func (OrganizationFunc) Mutate

Mutate calls f(ctx, m).

type OrganizationHistoryFunc

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

The OrganizationHistoryFunc type is an adapter to allow the use of ordinary function as OrganizationHistory mutator.

func (OrganizationHistoryFunc) Mutate

Mutate calls f(ctx, m).

type OrganizationSettingFunc

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

The OrganizationSettingFunc type is an adapter to allow the use of ordinary function as OrganizationSetting mutator.

func (OrganizationSettingFunc) Mutate

Mutate calls f(ctx, m).

type OrganizationSettingHistoryFunc

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

The OrganizationSettingHistoryFunc type is an adapter to allow the use of ordinary function as OrganizationSettingHistory mutator.

func (OrganizationSettingHistoryFunc) Mutate

Mutate calls f(ctx, m).

type PasswordResetTokenFunc

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

The PasswordResetTokenFunc type is an adapter to allow the use of ordinary function as PasswordResetToken mutator.

func (PasswordResetTokenFunc) Mutate

Mutate calls f(ctx, m).

type PersonalAccessTokenFunc

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

The PersonalAccessTokenFunc type is an adapter to allow the use of ordinary function as PersonalAccessToken mutator.

func (PersonalAccessTokenFunc) Mutate

Mutate calls f(ctx, m).

type ProcedureFunc added in v0.3.3

The ProcedureFunc type is an adapter to allow the use of ordinary function as Procedure mutator.

func (ProcedureFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ProcedureHistoryFunc added in v0.3.3

type ProcedureHistoryFunc func(context.Context, *generated.ProcedureHistoryMutation) (generated.Value, error)

The ProcedureHistoryFunc type is an adapter to allow the use of ordinary function as ProcedureHistory mutator.

func (ProcedureHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ProgramFunc added in v0.3.5

The ProgramFunc type is an adapter to allow the use of ordinary function as Program mutator.

func (ProgramFunc) Mutate added in v0.3.5

Mutate calls f(ctx, m).

type ProgramHistoryFunc added in v0.3.5

type ProgramHistoryFunc func(context.Context, *generated.ProgramHistoryMutation) (generated.Value, error)

The ProgramHistoryFunc type is an adapter to allow the use of ordinary function as ProgramHistory mutator.

func (ProgramHistoryFunc) Mutate added in v0.3.5

Mutate calls f(ctx, m).

type ProgramMembershipFunc added in v0.3.5

type ProgramMembershipFunc func(context.Context, *generated.ProgramMembershipMutation) (generated.Value, error)

The ProgramMembershipFunc type is an adapter to allow the use of ordinary function as ProgramMembership mutator.

func (ProgramMembershipFunc) Mutate added in v0.3.5

Mutate calls f(ctx, m).

type ProgramMembershipHistoryFunc added in v0.3.5

type ProgramMembershipHistoryFunc func(context.Context, *generated.ProgramMembershipHistoryMutation) (generated.Value, error)

The ProgramMembershipHistoryFunc type is an adapter to allow the use of ordinary function as ProgramMembershipHistory mutator.

func (ProgramMembershipHistoryFunc) Mutate added in v0.3.5

Mutate calls f(ctx, m).

type RemediationFunc added in v0.43.3

The RemediationFunc type is an adapter to allow the use of ordinary function as Remediation mutator.

func (RemediationFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type RemediationHistoryFunc added in v0.43.3

type RemediationHistoryFunc func(context.Context, *generated.RemediationHistoryMutation) (generated.Value, error)

The RemediationHistoryFunc type is an adapter to allow the use of ordinary function as RemediationHistory mutator.

func (RemediationHistoryFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type ReviewFunc added in v0.43.3

The ReviewFunc type is an adapter to allow the use of ordinary function as Review mutator.

func (ReviewFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type ReviewHistoryFunc added in v0.43.3

type ReviewHistoryFunc func(context.Context, *generated.ReviewHistoryMutation) (generated.Value, error)

The ReviewHistoryFunc type is an adapter to allow the use of ordinary function as ReviewHistory mutator.

func (ReviewHistoryFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type RiskFunc added in v0.3.3

The RiskFunc type is an adapter to allow the use of ordinary function as Risk mutator.

func (RiskFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type RiskHistoryFunc added in v0.3.3

The RiskHistoryFunc type is an adapter to allow the use of ordinary function as RiskHistory mutator.

func (RiskHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type ScanFunc added in v0.19.0

The ScanFunc type is an adapter to allow the use of ordinary function as Scan mutator.

func (ScanFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type ScanHistoryFunc added in v0.19.0

The ScanHistoryFunc type is an adapter to allow the use of ordinary function as ScanHistory mutator.

func (ScanHistoryFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type ScheduledJobFunc added in v0.15.0

The ScheduledJobFunc type is an adapter to allow the use of ordinary function as ScheduledJob mutator.

func (ScheduledJobFunc) Mutate added in v0.15.0

Mutate calls f(ctx, m).

type ScheduledJobHistoryFunc added in v0.15.0

type ScheduledJobHistoryFunc func(context.Context, *generated.ScheduledJobHistoryMutation) (generated.Value, error)

The ScheduledJobHistoryFunc type is an adapter to allow the use of ordinary function as ScheduledJobHistory mutator.

func (ScheduledJobHistoryFunc) Mutate added in v0.15.0

Mutate calls f(ctx, m).

type ScheduledJobRunFunc added in v0.15.0

type ScheduledJobRunFunc func(context.Context, *generated.ScheduledJobRunMutation) (generated.Value, error)

The ScheduledJobRunFunc type is an adapter to allow the use of ordinary function as ScheduledJobRun mutator.

func (ScheduledJobRunFunc) Mutate added in v0.15.0

Mutate calls f(ctx, m).

type StandardFunc added in v0.3.3

The StandardFunc type is an adapter to allow the use of ordinary function as Standard mutator.

func (StandardFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type StandardHistoryFunc added in v0.3.3

type StandardHistoryFunc func(context.Context, *generated.StandardHistoryMutation) (generated.Value, error)

The StandardHistoryFunc type is an adapter to allow the use of ordinary function as StandardHistory mutator.

func (StandardHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type SubcontrolFunc added in v0.3.3

The SubcontrolFunc type is an adapter to allow the use of ordinary function as Subcontrol mutator.

func (SubcontrolFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type SubcontrolHistoryFunc added in v0.3.3

type SubcontrolHistoryFunc func(context.Context, *generated.SubcontrolHistoryMutation) (generated.Value, error)

The SubcontrolHistoryFunc type is an adapter to allow the use of ordinary function as SubcontrolHistory mutator.

func (SubcontrolHistoryFunc) Mutate added in v0.3.3

Mutate calls f(ctx, m).

type SubprocessorFunc added in v0.22.2

The SubprocessorFunc type is an adapter to allow the use of ordinary function as Subprocessor mutator.

func (SubprocessorFunc) Mutate added in v0.22.2

Mutate calls f(ctx, m).

type SubprocessorHistoryFunc added in v0.22.2

type SubprocessorHistoryFunc func(context.Context, *generated.SubprocessorHistoryMutation) (generated.Value, error)

The SubprocessorHistoryFunc type is an adapter to allow the use of ordinary function as SubprocessorHistory mutator.

func (SubprocessorHistoryFunc) Mutate added in v0.22.2

Mutate calls f(ctx, m).

type SubscriberFunc

The SubscriberFunc type is an adapter to allow the use of ordinary function as Subscriber mutator.

func (SubscriberFunc) Mutate

Mutate calls f(ctx, m).

type TFASettingFunc

The TFASettingFunc type is an adapter to allow the use of ordinary function as TFASetting mutator.

func (TFASettingFunc) Mutate

Mutate calls f(ctx, m).

type TagDefinitionFunc added in v0.43.0

type TagDefinitionFunc func(context.Context, *generated.TagDefinitionMutation) (generated.Value, error)

The TagDefinitionFunc type is an adapter to allow the use of ordinary function as TagDefinition mutator.

func (TagDefinitionFunc) Mutate added in v0.43.0

Mutate calls f(ctx, m).

type TaskFunc added in v0.3.4

The TaskFunc type is an adapter to allow the use of ordinary function as Task mutator.

func (TaskFunc) Mutate added in v0.3.4

Mutate calls f(ctx, m).

type TaskHistoryFunc added in v0.3.4

The TaskHistoryFunc type is an adapter to allow the use of ordinary function as TaskHistory mutator.

func (TaskHistoryFunc) Mutate added in v0.3.4

Mutate calls f(ctx, m).

type TemplateFunc

The TemplateFunc type is an adapter to allow the use of ordinary function as Template mutator.

func (TemplateFunc) Mutate

Mutate calls f(ctx, m).

type TemplateHistoryFunc

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

The TemplateHistoryFunc type is an adapter to allow the use of ordinary function as TemplateHistory mutator.

func (TemplateHistoryFunc) Mutate

Mutate calls f(ctx, m).

type TrustCenterComplianceFunc added in v0.23.1

type TrustCenterComplianceFunc func(context.Context, *generated.TrustCenterComplianceMutation) (generated.Value, error)

The TrustCenterComplianceFunc type is an adapter to allow the use of ordinary function as TrustCenterCompliance mutator.

func (TrustCenterComplianceFunc) Mutate added in v0.23.1

Mutate calls f(ctx, m).

type TrustCenterComplianceHistoryFunc added in v0.23.1

type TrustCenterComplianceHistoryFunc func(context.Context, *generated.TrustCenterComplianceHistoryMutation) (generated.Value, error)

The TrustCenterComplianceHistoryFunc type is an adapter to allow the use of ordinary function as TrustCenterComplianceHistory mutator.

func (TrustCenterComplianceHistoryFunc) Mutate added in v0.23.1

Mutate calls f(ctx, m).

type TrustCenterDocFunc added in v0.33.6

type TrustCenterDocFunc func(context.Context, *generated.TrustCenterDocMutation) (generated.Value, error)

The TrustCenterDocFunc type is an adapter to allow the use of ordinary function as TrustCenterDoc mutator.

func (TrustCenterDocFunc) Mutate added in v0.33.6

Mutate calls f(ctx, m).

type TrustCenterDocHistoryFunc added in v0.33.6

type TrustCenterDocHistoryFunc func(context.Context, *generated.TrustCenterDocHistoryMutation) (generated.Value, error)

The TrustCenterDocHistoryFunc type is an adapter to allow the use of ordinary function as TrustCenterDocHistory mutator.

func (TrustCenterDocHistoryFunc) Mutate added in v0.33.6

Mutate calls f(ctx, m).

type TrustCenterFunc added in v0.19.0

The TrustCenterFunc type is an adapter to allow the use of ordinary function as TrustCenter mutator.

func (TrustCenterFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type TrustCenterHistoryFunc added in v0.19.0

type TrustCenterHistoryFunc func(context.Context, *generated.TrustCenterHistoryMutation) (generated.Value, error)

The TrustCenterHistoryFunc type is an adapter to allow the use of ordinary function as TrustCenterHistory mutator.

func (TrustCenterHistoryFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type TrustCenterSettingFunc added in v0.19.0

type TrustCenterSettingFunc func(context.Context, *generated.TrustCenterSettingMutation) (generated.Value, error)

The TrustCenterSettingFunc type is an adapter to allow the use of ordinary function as TrustCenterSetting mutator.

func (TrustCenterSettingFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type TrustCenterSettingHistoryFunc added in v0.19.0

type TrustCenterSettingHistoryFunc func(context.Context, *generated.TrustCenterSettingHistoryMutation) (generated.Value, error)

The TrustCenterSettingHistoryFunc type is an adapter to allow the use of ordinary function as TrustCenterSettingHistory mutator.

func (TrustCenterSettingHistoryFunc) Mutate added in v0.19.0

Mutate calls f(ctx, m).

type TrustCenterSubprocessorFunc added in v0.22.2

type TrustCenterSubprocessorFunc func(context.Context, *generated.TrustCenterSubprocessorMutation) (generated.Value, error)

The TrustCenterSubprocessorFunc type is an adapter to allow the use of ordinary function as TrustCenterSubprocessor mutator.

func (TrustCenterSubprocessorFunc) Mutate added in v0.22.2

Mutate calls f(ctx, m).

type TrustCenterSubprocessorHistoryFunc added in v0.22.2

type TrustCenterSubprocessorHistoryFunc func(context.Context, *generated.TrustCenterSubprocessorHistoryMutation) (generated.Value, error)

The TrustCenterSubprocessorHistoryFunc type is an adapter to allow the use of ordinary function as TrustCenterSubprocessorHistory mutator.

func (TrustCenterSubprocessorHistoryFunc) Mutate added in v0.22.2

Mutate calls f(ctx, m).

type TrustCenterWatermarkConfigFunc added in v0.34.5

type TrustCenterWatermarkConfigFunc func(context.Context, *generated.TrustCenterWatermarkConfigMutation) (generated.Value, error)

The TrustCenterWatermarkConfigFunc type is an adapter to allow the use of ordinary function as TrustCenterWatermarkConfig mutator.

func (TrustCenterWatermarkConfigFunc) Mutate added in v0.34.5

Mutate calls f(ctx, m).

type TrustCenterWatermarkConfigHistoryFunc added in v0.34.5

type TrustCenterWatermarkConfigHistoryFunc func(context.Context, *generated.TrustCenterWatermarkConfigHistoryMutation) (generated.Value, error)

The TrustCenterWatermarkConfigHistoryFunc type is an adapter to allow the use of ordinary function as TrustCenterWatermarkConfigHistory mutator.

func (TrustCenterWatermarkConfigHistoryFunc) Mutate added in v0.34.5

Mutate calls f(ctx, m).

type UserFunc

The UserFunc type is an adapter to allow the use of ordinary function as User mutator.

func (UserFunc) Mutate

Mutate calls f(ctx, m).

type UserHistoryFunc

The UserHistoryFunc type is an adapter to allow the use of ordinary function as UserHistory mutator.

func (UserHistoryFunc) Mutate

Mutate calls f(ctx, m).

type UserSettingFunc

The UserSettingFunc type is an adapter to allow the use of ordinary function as UserSetting mutator.

func (UserSettingFunc) Mutate

Mutate calls f(ctx, m).

type UserSettingHistoryFunc

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

The UserSettingHistoryFunc type is an adapter to allow the use of ordinary function as UserSettingHistory mutator.

func (UserSettingHistoryFunc) Mutate

Mutate calls f(ctx, m).

type VulnerabilityFunc added in v0.43.3

type VulnerabilityFunc func(context.Context, *generated.VulnerabilityMutation) (generated.Value, error)

The VulnerabilityFunc type is an adapter to allow the use of ordinary function as Vulnerability mutator.

func (VulnerabilityFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type VulnerabilityHistoryFunc added in v0.43.3

type VulnerabilityHistoryFunc func(context.Context, *generated.VulnerabilityHistoryMutation) (generated.Value, error)

The VulnerabilityHistoryFunc type is an adapter to allow the use of ordinary function as VulnerabilityHistory mutator.

func (VulnerabilityHistoryFunc) Mutate added in v0.43.3

Mutate calls f(ctx, m).

type WebauthnFunc

The WebauthnFunc type is an adapter to allow the use of ordinary function as Webauthn mutator.

func (WebauthnFunc) Mutate

Mutate calls f(ctx, m).

type WorkflowAssignmentFunc added in v0.46.3

type WorkflowAssignmentFunc func(context.Context, *generated.WorkflowAssignmentMutation) (generated.Value, error)

The WorkflowAssignmentFunc type is an adapter to allow the use of ordinary function as WorkflowAssignment mutator.

func (WorkflowAssignmentFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowAssignmentHistoryFunc added in v0.46.3

type WorkflowAssignmentHistoryFunc func(context.Context, *generated.WorkflowAssignmentHistoryMutation) (generated.Value, error)

The WorkflowAssignmentHistoryFunc type is an adapter to allow the use of ordinary function as WorkflowAssignmentHistory mutator.

func (WorkflowAssignmentHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowAssignmentTargetFunc added in v0.46.3

type WorkflowAssignmentTargetFunc func(context.Context, *generated.WorkflowAssignmentTargetMutation) (generated.Value, error)

The WorkflowAssignmentTargetFunc type is an adapter to allow the use of ordinary function as WorkflowAssignmentTarget mutator.

func (WorkflowAssignmentTargetFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowAssignmentTargetHistoryFunc added in v0.46.3

type WorkflowAssignmentTargetHistoryFunc func(context.Context, *generated.WorkflowAssignmentTargetHistoryMutation) (generated.Value, error)

The WorkflowAssignmentTargetHistoryFunc type is an adapter to allow the use of ordinary function as WorkflowAssignmentTargetHistory mutator.

func (WorkflowAssignmentTargetHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowDefinitionFunc added in v0.46.3

type WorkflowDefinitionFunc func(context.Context, *generated.WorkflowDefinitionMutation) (generated.Value, error)

The WorkflowDefinitionFunc type is an adapter to allow the use of ordinary function as WorkflowDefinition mutator.

func (WorkflowDefinitionFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowDefinitionHistoryFunc added in v0.46.3

type WorkflowDefinitionHistoryFunc func(context.Context, *generated.WorkflowDefinitionHistoryMutation) (generated.Value, error)

The WorkflowDefinitionHistoryFunc type is an adapter to allow the use of ordinary function as WorkflowDefinitionHistory mutator.

func (WorkflowDefinitionHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowEventFunc added in v0.46.3

type WorkflowEventFunc func(context.Context, *generated.WorkflowEventMutation) (generated.Value, error)

The WorkflowEventFunc type is an adapter to allow the use of ordinary function as WorkflowEvent mutator.

func (WorkflowEventFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowEventHistoryFunc added in v0.46.3

type WorkflowEventHistoryFunc func(context.Context, *generated.WorkflowEventHistoryMutation) (generated.Value, error)

The WorkflowEventHistoryFunc type is an adapter to allow the use of ordinary function as WorkflowEventHistory mutator.

func (WorkflowEventHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowInstanceFunc added in v0.46.3

type WorkflowInstanceFunc func(context.Context, *generated.WorkflowInstanceMutation) (generated.Value, error)

The WorkflowInstanceFunc type is an adapter to allow the use of ordinary function as WorkflowInstance mutator.

func (WorkflowInstanceFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowInstanceHistoryFunc added in v0.46.3

type WorkflowInstanceHistoryFunc func(context.Context, *generated.WorkflowInstanceHistoryMutation) (generated.Value, error)

The WorkflowInstanceHistoryFunc type is an adapter to allow the use of ordinary function as WorkflowInstanceHistory mutator.

func (WorkflowInstanceHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowObjectRefFunc added in v0.46.3

type WorkflowObjectRefFunc func(context.Context, *generated.WorkflowObjectRefMutation) (generated.Value, error)

The WorkflowObjectRefFunc type is an adapter to allow the use of ordinary function as WorkflowObjectRef mutator.

func (WorkflowObjectRefFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

type WorkflowObjectRefHistoryFunc added in v0.46.3

type WorkflowObjectRefHistoryFunc func(context.Context, *generated.WorkflowObjectRefHistoryMutation) (generated.Value, error)

The WorkflowObjectRefHistoryFunc type is an adapter to allow the use of ordinary function as WorkflowObjectRefHistory mutator.

func (WorkflowObjectRefHistoryFunc) Mutate added in v0.46.3

Mutate calls f(ctx, m).

Jump to

Keyboard shortcuts

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