Documentation
¶
Index ¶
- func FixedError(err error) generated.Hook
- func If(hk generated.Hook, cond Condition) generated.Hook
- func On(hk generated.Hook, op generated.Op) generated.Hook
- func Reject(op generated.Op) generated.Hook
- func Unless(hk generated.Hook, op generated.Op) generated.Hook
- type APITokenFunc
- type ActionPlanFunc
- type ActionPlanHistoryFunc
- type AssessmentFunc
- type AssessmentHistoryFunc
- type AssessmentResponseFunc
- type AssessmentResponseHistoryFunc
- type AssetFunc
- type AssetHistoryFunc
- type Chain
- type Condition
- func And(first, second Condition, rest ...Condition) Condition
- func HasAddedFields(field string, fields ...string) Condition
- func HasClearedFields(field string, fields ...string) Condition
- func HasFields(field string, fields ...string) Condition
- func HasOp(op generated.Op) Condition
- func Not(cond Condition) Condition
- func Or(first, second Condition, rest ...Condition) Condition
- type ContactFunc
- type ContactHistoryFunc
- type ControlFunc
- type ControlHistoryFunc
- type ControlImplementationFunc
- type ControlImplementationHistoryFunc
- type ControlObjectiveFunc
- type ControlObjectiveHistoryFunc
- type CustomDomainFunc
- type CustomDomainHistoryFunc
- type CustomTypeEnumFunc
- type DNSVerificationFunc
- type DNSVerificationHistoryFunc
- type DirectoryAccountFunc
- type DirectoryAccountHistoryFunc
- type DirectoryGroupFunc
- type DirectoryGroupHistoryFunc
- type DirectoryMembershipFunc
- type DirectoryMembershipHistoryFunc
- type DirectorySyncRunFunc
- type DocumentDataFunc
- type DocumentDataHistoryFunc
- type EmailVerificationTokenFunc
- type EntityFunc
- type EntityHistoryFunc
- type EntityTypeFunc
- type EntityTypeHistoryFunc
- type EventFunc
- type EvidenceFunc
- type EvidenceHistoryFunc
- type ExportFunc
- type FileDownloadTokenFunc
- type FileFunc
- type FileHistoryFunc
- type FindingControlFunc
- type FindingControlHistoryFunc
- type FindingFunc
- type FindingHistoryFunc
- type GroupFunc
- type GroupHistoryFunc
- type GroupMembershipFunc
- type GroupMembershipHistoryFunc
- type GroupSettingFunc
- type GroupSettingHistoryFunc
- type HushFunc
- type HushHistoryFunc
- type ImpersonationEventFunc
- type IntegrationFunc
- type IntegrationHistoryFunc
- type InternalPolicyFunc
- type InternalPolicyHistoryFunc
- type InviteFunc
- type JobResultFunc
- type JobRunnerFunc
- type JobRunnerRegistrationTokenFunc
- type JobRunnerTokenFunc
- type JobTemplateFunc
- type JobTemplateHistoryFunc
- type MappableDomainFunc
- type MappableDomainHistoryFunc
- type MappedControlFunc
- type MappedControlHistoryFunc
- type NarrativeFunc
- type NarrativeHistoryFunc
- type NoteFunc
- type NoteHistoryFunc
- type NotificationFunc
- type OnboardingFunc
- type OrgMembershipFunc
- type OrgMembershipHistoryFunc
- type OrgModuleFunc
- type OrgPriceFunc
- type OrgProductFunc
- type OrgSubscriptionFunc
- type OrgSubscriptionHistoryFunc
- type OrganizationFunc
- type OrganizationHistoryFunc
- type OrganizationSettingFunc
- type OrganizationSettingHistoryFunc
- type PasswordResetTokenFunc
- type PersonalAccessTokenFunc
- type ProcedureFunc
- type ProcedureHistoryFunc
- type ProgramFunc
- type ProgramHistoryFunc
- type ProgramMembershipFunc
- type ProgramMembershipHistoryFunc
- type RemediationFunc
- type RemediationHistoryFunc
- type ReviewFunc
- type ReviewHistoryFunc
- type RiskFunc
- type RiskHistoryFunc
- type ScanFunc
- type ScanHistoryFunc
- type ScheduledJobFunc
- type ScheduledJobHistoryFunc
- type ScheduledJobRunFunc
- type StandardFunc
- type StandardHistoryFunc
- type SubcontrolFunc
- type SubcontrolHistoryFunc
- type SubprocessorFunc
- type SubprocessorHistoryFunc
- type SubscriberFunc
- type TFASettingFunc
- type TagDefinitionFunc
- type TaskFunc
- type TaskHistoryFunc
- type TemplateFunc
- type TemplateHistoryFunc
- type TrustCenterComplianceFunc
- type TrustCenterComplianceHistoryFunc
- type TrustCenterDocFunc
- type TrustCenterDocHistoryFunc
- type TrustCenterFunc
- type TrustCenterHistoryFunc
- type TrustCenterSettingFunc
- type TrustCenterSettingHistoryFunc
- type TrustCenterSubprocessorFunc
- type TrustCenterSubprocessorHistoryFunc
- type TrustCenterWatermarkConfigFunc
- type TrustCenterWatermarkConfigHistoryFunc
- type UserFunc
- type UserHistoryFunc
- type UserSettingFunc
- type UserSettingHistoryFunc
- type VulnerabilityFunc
- type VulnerabilityHistoryFunc
- type WebauthnFunc
- type WorkflowAssignmentFunc
- type WorkflowAssignmentHistoryFunc
- type WorkflowAssignmentTargetFunc
- type WorkflowAssignmentTargetHistoryFunc
- type WorkflowDefinitionFunc
- type WorkflowDefinitionHistoryFunc
- type WorkflowEventFunc
- type WorkflowEventHistoryFunc
- type WorkflowInstanceFunc
- type WorkflowInstanceHistoryFunc
- type WorkflowObjectRefFunc
- type WorkflowObjectRefHistoryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixedError ¶
FixedError is a hook returning a fixed error.
func If ¶
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)
Types ¶
type APITokenFunc ¶
The APITokenFunc type is an adapter to allow the use of ordinary function as APIToken mutator.
type ActionPlanFunc ¶ added in v0.3.3
The ActionPlanFunc type is an adapter to allow the use of ordinary function as ActionPlan mutator.
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.
type AssessmentFunc ¶ added in v0.42.6
The AssessmentFunc type is an adapter to allow the use of ordinary function as Assessment mutator.
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.
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.
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.
type AssetFunc ¶ added in v0.19.0
The AssetFunc type is an adapter to allow the use of ordinary function as Asset mutator.
type AssetHistoryFunc ¶ added in v0.19.0
type AssetHistoryFunc func(context.Context, *generated.AssetHistoryMutation) (generated.Value, error)
The AssetHistoryFunc type is an adapter to allow the use of ordinary function as AssetHistory mutator.
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 (Chain) Append ¶
Append extends a chain, adding the specified hook as the last ones in the mutation flow.
type Condition ¶
Condition is a hook condition function.
func HasAddedFields ¶
HasAddedFields is a condition validating `.AddedField` on fields.
func HasClearedFields ¶
HasClearedFields is a condition validating `.FieldCleared` on fields.
type ContactFunc ¶
The ContactFunc type is an adapter to allow the use of ordinary function as Contact mutator.
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.
type ControlFunc ¶ added in v0.3.3
The ControlFunc type is an adapter to allow the use of ordinary function as Control mutator.
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.
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.
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.
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.
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.
type CustomDomainFunc ¶ added in v0.12.1
type CustomDomainFunc func(context.Context, *generated.CustomDomainMutation) (generated.Value, error)
The CustomDomainFunc type is an adapter to allow the use of ordinary function as CustomDomain mutator.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
type DocumentDataFunc ¶
type DocumentDataFunc func(context.Context, *generated.DocumentDataMutation) (generated.Value, error)
The DocumentDataFunc type is an adapter to allow the use of ordinary function as DocumentData mutator.
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.
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.
type EntityFunc ¶
The EntityFunc type is an adapter to allow the use of ordinary function as Entity mutator.
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.
type EntityTypeFunc ¶
The EntityTypeFunc type is an adapter to allow the use of ordinary function as EntityType mutator.
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.
type EventFunc ¶
The EventFunc type is an adapter to allow the use of ordinary function as Event mutator.
type EvidenceFunc ¶ added in v0.6.19
The EvidenceFunc type is an adapter to allow the use of ordinary function as Evidence mutator.
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.
type ExportFunc ¶ added in v0.22.3
The ExportFunc type is an adapter to allow the use of ordinary function as Export mutator.
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.
type FileFunc ¶
The FileFunc type is an adapter to allow the use of ordinary function as File mutator.
type FileHistoryFunc ¶
The FileHistoryFunc type is an adapter to allow the use of ordinary function as FileHistory mutator.
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.
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.
type FindingFunc ¶ added in v0.43.3
The FindingFunc type is an adapter to allow the use of ordinary function as Finding mutator.
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.
type GroupFunc ¶
The GroupFunc type is an adapter to allow the use of ordinary function as Group mutator.
type GroupHistoryFunc ¶
type GroupHistoryFunc func(context.Context, *generated.GroupHistoryMutation) (generated.Value, error)
The GroupHistoryFunc type is an adapter to allow the use of ordinary function as GroupHistory mutator.
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.
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.
type GroupSettingFunc ¶
type GroupSettingFunc func(context.Context, *generated.GroupSettingMutation) (generated.Value, error)
The GroupSettingFunc type is an adapter to allow the use of ordinary function as GroupSetting mutator.
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.
type HushFunc ¶
The HushFunc type is an adapter to allow the use of ordinary function as Hush mutator.
type HushHistoryFunc ¶
The HushHistoryFunc type is an adapter to allow the use of ordinary function as HushHistory mutator.
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.
type IntegrationFunc ¶
The IntegrationFunc type is an adapter to allow the use of ordinary function as Integration mutator.
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.
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.
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.
type InviteFunc ¶
The InviteFunc type is an adapter to allow the use of ordinary function as Invite mutator.
type JobResultFunc ¶ added in v0.15.0
The JobResultFunc type is an adapter to allow the use of ordinary function as JobResult mutator.
type JobRunnerFunc ¶ added in v0.14.1
The JobRunnerFunc type is an adapter to allow the use of ordinary function as JobRunner mutator.
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.
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.
type JobTemplateFunc ¶ added in v0.24.0
The JobTemplateFunc type is an adapter to allow the use of ordinary function as JobTemplate mutator.
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.
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.
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.
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.
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.
type NarrativeFunc ¶ added in v0.3.3
The NarrativeFunc type is an adapter to allow the use of ordinary function as Narrative mutator.
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.
type NoteFunc ¶
The NoteFunc type is an adapter to allow the use of ordinary function as Note mutator.
type NoteHistoryFunc ¶
The NoteHistoryFunc type is an adapter to allow the use of ordinary function as NoteHistory mutator.
type NotificationFunc ¶ added in v0.45.13
type NotificationFunc func(context.Context, *generated.NotificationMutation) (generated.Value, error)
The NotificationFunc type is an adapter to allow the use of ordinary function as Notification mutator.
type OnboardingFunc ¶ added in v0.6.24
The OnboardingFunc type is an adapter to allow the use of ordinary function as Onboarding mutator.
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.
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.
type OrgModuleFunc ¶ added in v0.18.4
The OrgModuleFunc type is an adapter to allow the use of ordinary function as OrgModule mutator.
type OrgPriceFunc ¶ added in v0.18.4
The OrgPriceFunc type is an adapter to allow the use of ordinary function as OrgPrice mutator.
type OrgProductFunc ¶ added in v0.18.4
The OrgProductFunc type is an adapter to allow the use of ordinary function as OrgProduct mutator.
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.
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.
type OrganizationFunc ¶
type OrganizationFunc func(context.Context, *generated.OrganizationMutation) (generated.Value, error)
The OrganizationFunc type is an adapter to allow the use of ordinary function as Organization mutator.
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.
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.
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.
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.
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.
type ProcedureFunc ¶ added in v0.3.3
The ProcedureFunc type is an adapter to allow the use of ordinary function as Procedure mutator.
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.
type ProgramFunc ¶ added in v0.3.5
The ProgramFunc type is an adapter to allow the use of ordinary function as Program mutator.
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.
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.
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.
type RemediationFunc ¶ added in v0.43.3
The RemediationFunc type is an adapter to allow the use of ordinary function as Remediation mutator.
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.
type ReviewFunc ¶ added in v0.43.3
The ReviewFunc type is an adapter to allow the use of ordinary function as Review mutator.
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.
type RiskFunc ¶ added in v0.3.3
The RiskFunc type is an adapter to allow the use of ordinary function as Risk mutator.
type RiskHistoryFunc ¶ added in v0.3.3
The RiskHistoryFunc type is an adapter to allow the use of ordinary function as RiskHistory mutator.
type ScanFunc ¶ added in v0.19.0
The ScanFunc type is an adapter to allow the use of ordinary function as Scan mutator.
type ScanHistoryFunc ¶ added in v0.19.0
The ScanHistoryFunc type is an adapter to allow the use of ordinary function as ScanHistory mutator.
type ScheduledJobFunc ¶ added in v0.15.0
type ScheduledJobFunc func(context.Context, *generated.ScheduledJobMutation) (generated.Value, error)
The ScheduledJobFunc type is an adapter to allow the use of ordinary function as ScheduledJob mutator.
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.
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.
type StandardFunc ¶ added in v0.3.3
The StandardFunc type is an adapter to allow the use of ordinary function as Standard mutator.
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.
type SubcontrolFunc ¶ added in v0.3.3
The SubcontrolFunc type is an adapter to allow the use of ordinary function as Subcontrol mutator.
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.
type SubprocessorFunc ¶ added in v0.22.2
type SubprocessorFunc func(context.Context, *generated.SubprocessorMutation) (generated.Value, error)
The SubprocessorFunc type is an adapter to allow the use of ordinary function as Subprocessor mutator.
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.
type SubscriberFunc ¶
The SubscriberFunc type is an adapter to allow the use of ordinary function as Subscriber mutator.
type TFASettingFunc ¶
The TFASettingFunc type is an adapter to allow the use of ordinary function as TFASetting mutator.
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.
type TaskFunc ¶ added in v0.3.4
The TaskFunc type is an adapter to allow the use of ordinary function as Task mutator.
type TaskHistoryFunc ¶ added in v0.3.4
The TaskHistoryFunc type is an adapter to allow the use of ordinary function as TaskHistory mutator.
type TemplateFunc ¶
The TemplateFunc type is an adapter to allow the use of ordinary function as Template mutator.
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.
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.
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.
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.
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.
type TrustCenterFunc ¶ added in v0.19.0
The TrustCenterFunc type is an adapter to allow the use of ordinary function as TrustCenter mutator.
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.
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.
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.
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.
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.
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.
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.
type UserFunc ¶
The UserFunc type is an adapter to allow the use of ordinary function as User mutator.
type UserHistoryFunc ¶
The UserHistoryFunc type is an adapter to allow the use of ordinary function as UserHistory mutator.
type UserSettingFunc ¶
The UserSettingFunc type is an adapter to allow the use of ordinary function as UserSetting mutator.
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.
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.
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.
type WebauthnFunc ¶
The WebauthnFunc type is an adapter to allow the use of ordinary function as Webauthn mutator.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.