Documentation
¶
Index ¶
- Variables
- func IamAPIKeyExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAccessRequestExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAccountDeletionExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, ...) (bool, error)
- func IamActivityExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAdminTokenExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAppClientExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAppSecretExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAuditLogExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamAuthCodeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamBlockExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamChallengeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamConfigExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, ...) (bool, error)
- func IamConsentExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamCredentialExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamDeviceCodeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamDomainExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamEmailTemplateExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamEnvironmentExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, NamePK string) (bool, error)
- func IamEventExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamFactorExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamFlowExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamHookExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamIdentityExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamInteractionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamInviteExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamJobExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamOauthGrantExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamParRequestExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamProjectExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamProviderExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamRecoveryCodeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamRefreshTokenExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamRevokedTokenExists(ctx context.Context, exec bob.Executor, JtiPK string) (bool, error)
- func IamRiskRuleExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamScimResourceExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamScimTokenExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSecurityAttemptExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, ...) (bool, error)
- func IamSecurityCaseDecisionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSecurityCaseExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSecurityContinuationExists(ctx context.Context, exec bob.Executor, TokenHashPK string) (bool, error)
- func IamSecurityDeliveryExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSecurityDeviceExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSecurityGuardExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, ...) (bool, error)
- func IamSecurityIncidentExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSecurityPolicyExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, ...) (bool, error)
- func IamServiceAccountExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSessionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamSigningKeyExists(ctx context.Context, exec bob.Executor, KidPK string) (bool, error)
- func IamSsoConnectionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamTokenProfileExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamUserExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamUserRoleExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, ...) (bool, error)
- func IamWebauthnCredentialExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamWebhookDeliveryExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func IamWebhookExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
- func Where[Q psql.Filterable]() struct{ ... }
- type IamAPIKey
- func (o *IamAPIKey) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAPIKey) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAPIKey) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAPIKey) Update(ctx context.Context, exec bob.Executor, s *IamAPIKeySetter) error
- type IamAPIKeySetter
- type IamAPIKeySlice
- func (o IamAPIKeySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAPIKeySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAPIKeySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAPIKeySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAPIKeySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAPIKeySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAPIKeySetter) error
- func (o IamAPIKeySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAPIKeysQuery
- type IamAccessRequest
- func (o *IamAccessRequest) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAccessRequest) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAccessRequest) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAccessRequest) Update(ctx context.Context, exec bob.Executor, s *IamAccessRequestSetter) error
- type IamAccessRequestSetter
- func (s *IamAccessRequestSetter) Apply(q *dialect.InsertQuery)
- func (s IamAccessRequestSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAccessRequestSetter) Overwrite(t *IamAccessRequest)
- func (s IamAccessRequestSetter) SetColumns() []string
- func (s IamAccessRequestSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAccessRequestSlice
- func (o IamAccessRequestSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAccessRequestSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAccessRequestSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAccessRequestSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAccessRequestSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAccessRequestSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAccessRequestSetter) error
- func (o IamAccessRequestSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAccessRequestsQuery
- type IamAccountDeletion
- func (o *IamAccountDeletion) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAccountDeletion) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAccountDeletion) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAccountDeletion) Update(ctx context.Context, exec bob.Executor, s *IamAccountDeletionSetter) error
- type IamAccountDeletionSetter
- func (s *IamAccountDeletionSetter) Apply(q *dialect.InsertQuery)
- func (s IamAccountDeletionSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAccountDeletionSetter) Overwrite(t *IamAccountDeletion)
- func (s IamAccountDeletionSetter) SetColumns() []string
- func (s IamAccountDeletionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAccountDeletionSlice
- func (o IamAccountDeletionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAccountDeletionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAccountDeletionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAccountDeletionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAccountDeletionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAccountDeletionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAccountDeletionSetter) error
- func (o IamAccountDeletionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAccountDeletionsQuery
- type IamActivitiesQuery
- type IamActivity
- func (o *IamActivity) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamActivity) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamActivity) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamActivity) Update(ctx context.Context, exec bob.Executor, s *IamActivitySetter) error
- type IamActivitySetter
- func (s *IamActivitySetter) Apply(q *dialect.InsertQuery)
- func (s IamActivitySetter) Expressions(prefix ...string) []bob.Expression
- func (s IamActivitySetter) Overwrite(t *IamActivity)
- func (s IamActivitySetter) SetColumns() []string
- func (s IamActivitySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamActivitySlice
- func (o IamActivitySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamActivitySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamActivitySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamActivitySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamActivitySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamActivitySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamActivitySetter) error
- func (o IamActivitySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAdminToken
- func (o *IamAdminToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAdminToken) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAdminToken) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAdminToken) Update(ctx context.Context, exec bob.Executor, s *IamAdminTokenSetter) error
- type IamAdminTokenSetter
- func (s *IamAdminTokenSetter) Apply(q *dialect.InsertQuery)
- func (s IamAdminTokenSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAdminTokenSetter) Overwrite(t *IamAdminToken)
- func (s IamAdminTokenSetter) SetColumns() []string
- func (s IamAdminTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAdminTokenSlice
- func (o IamAdminTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAdminTokenSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAdminTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAdminTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAdminTokenSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAdminTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAdminTokenSetter) error
- func (o IamAdminTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAdminTokensQuery
- type IamAppClient
- func (o *IamAppClient) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAppClient) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAppClient) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAppClient) Update(ctx context.Context, exec bob.Executor, s *IamAppClientSetter) error
- type IamAppClientSetter
- func (s *IamAppClientSetter) Apply(q *dialect.InsertQuery)
- func (s IamAppClientSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAppClientSetter) Overwrite(t *IamAppClient)
- func (s IamAppClientSetter) SetColumns() []string
- func (s IamAppClientSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAppClientSlice
- func (o IamAppClientSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAppClientSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAppClientSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAppClientSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAppClientSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAppClientSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAppClientSetter) error
- func (o IamAppClientSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAppClientsQuery
- type IamAppSecret
- func (o *IamAppSecret) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAppSecret) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAppSecret) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAppSecret) Update(ctx context.Context, exec bob.Executor, s *IamAppSecretSetter) error
- type IamAppSecretSetter
- func (s *IamAppSecretSetter) Apply(q *dialect.InsertQuery)
- func (s IamAppSecretSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAppSecretSetter) Overwrite(t *IamAppSecret)
- func (s IamAppSecretSetter) SetColumns() []string
- func (s IamAppSecretSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAppSecretSlice
- func (o IamAppSecretSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAppSecretSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAppSecretSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAppSecretSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAppSecretSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAppSecretSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAppSecretSetter) error
- func (o IamAppSecretSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAppSecretsQuery
- type IamAuditLog
- func (o *IamAuditLog) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAuditLog) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAuditLog) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAuditLog) Update(ctx context.Context, exec bob.Executor, s *IamAuditLogSetter) error
- type IamAuditLogSetter
- func (s *IamAuditLogSetter) Apply(q *dialect.InsertQuery)
- func (s IamAuditLogSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAuditLogSetter) Overwrite(t *IamAuditLog)
- func (s IamAuditLogSetter) SetColumns() []string
- func (s IamAuditLogSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAuditLogSlice
- func (o IamAuditLogSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAuditLogSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAuditLogSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAuditLogSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAuditLogSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAuditLogSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAuditLogSetter) error
- func (o IamAuditLogSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAuditLogsQuery
- type IamAuthCode
- func (o *IamAuthCode) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamAuthCode) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamAuthCode) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamAuthCode) Update(ctx context.Context, exec bob.Executor, s *IamAuthCodeSetter) error
- type IamAuthCodeSetter
- func (s *IamAuthCodeSetter) Apply(q *dialect.InsertQuery)
- func (s IamAuthCodeSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamAuthCodeSetter) Overwrite(t *IamAuthCode)
- func (s IamAuthCodeSetter) SetColumns() []string
- func (s IamAuthCodeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAuthCodeSlice
- func (o IamAuthCodeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamAuthCodeSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamAuthCodeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamAuthCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamAuthCodeSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamAuthCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAuthCodeSetter) error
- func (o IamAuthCodeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamAuthCodesQuery
- type IamBlock
- func (o *IamBlock) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamBlock) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamBlock) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamBlock) Update(ctx context.Context, exec bob.Executor, s *IamBlockSetter) error
- type IamBlockSetter
- type IamBlockSlice
- func (o IamBlockSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamBlockSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamBlockSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamBlockSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamBlockSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamBlockSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamBlockSetter) error
- func (o IamBlockSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamBlocksQuery
- type IamChallenge
- func (o *IamChallenge) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamChallenge) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamChallenge) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamChallenge) Update(ctx context.Context, exec bob.Executor, s *IamChallengeSetter) error
- type IamChallengeSetter
- func (s *IamChallengeSetter) Apply(q *dialect.InsertQuery)
- func (s IamChallengeSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamChallengeSetter) Overwrite(t *IamChallenge)
- func (s IamChallengeSetter) SetColumns() []string
- func (s IamChallengeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamChallengeSlice
- func (o IamChallengeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamChallengeSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamChallengeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamChallengeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamChallengeSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamChallengeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamChallengeSetter) error
- func (o IamChallengeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamChallengesQuery
- type IamConfig
- func (o *IamConfig) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamConfig) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamConfig) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamConfig) Update(ctx context.Context, exec bob.Executor, s *IamConfigSetter) error
- type IamConfigSetter
- type IamConfigSlice
- func (o IamConfigSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamConfigSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamConfigSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamConfigSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamConfigSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamConfigSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamConfigSetter) error
- func (o IamConfigSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamConfigsQuery
- type IamConsent
- func (o *IamConsent) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamConsent) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamConsent) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamConsent) Update(ctx context.Context, exec bob.Executor, s *IamConsentSetter) error
- type IamConsentSetter
- type IamConsentSlice
- func (o IamConsentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamConsentSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamConsentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamConsentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamConsentSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamConsentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamConsentSetter) error
- func (o IamConsentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamConsentsQuery
- type IamCredential
- func (o *IamCredential) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamCredential) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamCredential) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamCredential) Update(ctx context.Context, exec bob.Executor, s *IamCredentialSetter) error
- type IamCredentialSetter
- func (s *IamCredentialSetter) Apply(q *dialect.InsertQuery)
- func (s IamCredentialSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamCredentialSetter) Overwrite(t *IamCredential)
- func (s IamCredentialSetter) SetColumns() []string
- func (s IamCredentialSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamCredentialSlice
- func (o IamCredentialSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamCredentialSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamCredentialSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamCredentialSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamCredentialSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamCredentialSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamCredentialSetter) error
- func (o IamCredentialSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamCredentialsQuery
- type IamDeviceCode
- func (o *IamDeviceCode) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamDeviceCode) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamDeviceCode) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamDeviceCode) Update(ctx context.Context, exec bob.Executor, s *IamDeviceCodeSetter) error
- type IamDeviceCodeSetter
- func (s *IamDeviceCodeSetter) Apply(q *dialect.InsertQuery)
- func (s IamDeviceCodeSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamDeviceCodeSetter) Overwrite(t *IamDeviceCode)
- func (s IamDeviceCodeSetter) SetColumns() []string
- func (s IamDeviceCodeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamDeviceCodeSlice
- func (o IamDeviceCodeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamDeviceCodeSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamDeviceCodeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamDeviceCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamDeviceCodeSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamDeviceCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamDeviceCodeSetter) error
- func (o IamDeviceCodeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamDeviceCodesQuery
- type IamDomain
- func (o *IamDomain) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamDomain) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamDomain) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamDomain) Update(ctx context.Context, exec bob.Executor, s *IamDomainSetter) error
- type IamDomainSetter
- type IamDomainSlice
- func (o IamDomainSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamDomainSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamDomainSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamDomainSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamDomainSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamDomainSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamDomainSetter) error
- func (o IamDomainSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamDomainsQuery
- type IamEmailTemplate
- func (o *IamEmailTemplate) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamEmailTemplate) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamEmailTemplate) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamEmailTemplate) Update(ctx context.Context, exec bob.Executor, s *IamEmailTemplateSetter) error
- type IamEmailTemplateSetter
- func (s *IamEmailTemplateSetter) Apply(q *dialect.InsertQuery)
- func (s IamEmailTemplateSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamEmailTemplateSetter) Overwrite(t *IamEmailTemplate)
- func (s IamEmailTemplateSetter) SetColumns() []string
- func (s IamEmailTemplateSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamEmailTemplateSlice
- func (o IamEmailTemplateSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamEmailTemplateSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamEmailTemplateSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamEmailTemplateSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamEmailTemplateSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamEmailTemplateSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEmailTemplateSetter) error
- func (o IamEmailTemplateSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamEmailTemplatesQuery
- type IamEnvironment
- func (o *IamEnvironment) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamEnvironment) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamEnvironment) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamEnvironment) Update(ctx context.Context, exec bob.Executor, s *IamEnvironmentSetter) error
- type IamEnvironmentSetter
- func (s *IamEnvironmentSetter) Apply(q *dialect.InsertQuery)
- func (s IamEnvironmentSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamEnvironmentSetter) Overwrite(t *IamEnvironment)
- func (s IamEnvironmentSetter) SetColumns() []string
- func (s IamEnvironmentSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamEnvironmentSlice
- func (o IamEnvironmentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamEnvironmentSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamEnvironmentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamEnvironmentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamEnvironmentSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamEnvironmentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEnvironmentSetter) error
- func (o IamEnvironmentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamEnvironmentsQuery
- type IamEvent
- func (o *IamEvent) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamEvent) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamEvent) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamEvent) Update(ctx context.Context, exec bob.Executor, s *IamEventSetter) error
- type IamEventSetter
- type IamEventSlice
- func (o IamEventSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamEventSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamEventSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamEventSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamEventSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamEventSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEventSetter) error
- func (o IamEventSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamEventsQuery
- type IamFactor
- func (o *IamFactor) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamFactor) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamFactor) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamFactor) Update(ctx context.Context, exec bob.Executor, s *IamFactorSetter) error
- type IamFactorSetter
- type IamFactorSlice
- func (o IamFactorSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamFactorSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamFactorSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamFactorSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamFactorSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamFactorSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamFactorSetter) error
- func (o IamFactorSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamFactorsQuery
- type IamFlow
- func (o *IamFlow) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamFlow) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamFlow) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamFlow) Update(ctx context.Context, exec bob.Executor, s *IamFlowSetter) error
- type IamFlowSetter
- type IamFlowSlice
- func (o IamFlowSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamFlowSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamFlowSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamFlowSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamFlowSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamFlowSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamFlowSetter) error
- func (o IamFlowSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamFlowsQuery
- type IamHook
- func (o *IamHook) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamHook) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamHook) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamHook) Update(ctx context.Context, exec bob.Executor, s *IamHookSetter) error
- type IamHookSetter
- type IamHookSlice
- func (o IamHookSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamHookSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamHookSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamHookSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamHookSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamHookSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamHookSetter) error
- func (o IamHookSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamHooksQuery
- type IamIdentitiesQuery
- type IamIdentity
- func (o *IamIdentity) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamIdentity) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamIdentity) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamIdentity) Update(ctx context.Context, exec bob.Executor, s *IamIdentitySetter) error
- type IamIdentitySetter
- func (s *IamIdentitySetter) Apply(q *dialect.InsertQuery)
- func (s IamIdentitySetter) Expressions(prefix ...string) []bob.Expression
- func (s IamIdentitySetter) Overwrite(t *IamIdentity)
- func (s IamIdentitySetter) SetColumns() []string
- func (s IamIdentitySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamIdentitySlice
- func (o IamIdentitySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamIdentitySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamIdentitySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamIdentitySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamIdentitySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamIdentitySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamIdentitySetter) error
- func (o IamIdentitySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamInteraction
- func (o *IamInteraction) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamInteraction) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamInteraction) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamInteraction) Update(ctx context.Context, exec bob.Executor, s *IamInteractionSetter) error
- type IamInteractionSetter
- func (s *IamInteractionSetter) Apply(q *dialect.InsertQuery)
- func (s IamInteractionSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamInteractionSetter) Overwrite(t *IamInteraction)
- func (s IamInteractionSetter) SetColumns() []string
- func (s IamInteractionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamInteractionSlice
- func (o IamInteractionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamInteractionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamInteractionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamInteractionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamInteractionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamInteractionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamInteractionSetter) error
- func (o IamInteractionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamInteractionsQuery
- type IamInvite
- func (o *IamInvite) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamInvite) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamInvite) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamInvite) Update(ctx context.Context, exec bob.Executor, s *IamInviteSetter) error
- type IamInviteSetter
- type IamInviteSlice
- func (o IamInviteSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamInviteSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamInviteSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamInviteSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamInviteSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamInviteSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamInviteSetter) error
- func (o IamInviteSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamInvitesQuery
- type IamJob
- func (o *IamJob) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamJob) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamJob) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamJob) Update(ctx context.Context, exec bob.Executor, s *IamJobSetter) error
- type IamJobSetter
- type IamJobSlice
- func (o IamJobSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamJobSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamJobSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamJobSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamJobSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamJobSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamJobSetter) error
- func (o IamJobSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamJobsQuery
- type IamOauthGrant
- func (o *IamOauthGrant) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamOauthGrant) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamOauthGrant) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamOauthGrant) Update(ctx context.Context, exec bob.Executor, s *IamOauthGrantSetter) error
- type IamOauthGrantSetter
- func (s *IamOauthGrantSetter) Apply(q *dialect.InsertQuery)
- func (s IamOauthGrantSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamOauthGrantSetter) Overwrite(t *IamOauthGrant)
- func (s IamOauthGrantSetter) SetColumns() []string
- func (s IamOauthGrantSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamOauthGrantSlice
- func (o IamOauthGrantSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamOauthGrantSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamOauthGrantSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamOauthGrantSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamOauthGrantSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamOauthGrantSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamOauthGrantSetter) error
- func (o IamOauthGrantSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamOauthGrantsQuery
- type IamParRequest
- func (o *IamParRequest) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamParRequest) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamParRequest) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamParRequest) Update(ctx context.Context, exec bob.Executor, s *IamParRequestSetter) error
- type IamParRequestSetter
- func (s *IamParRequestSetter) Apply(q *dialect.InsertQuery)
- func (s IamParRequestSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamParRequestSetter) Overwrite(t *IamParRequest)
- func (s IamParRequestSetter) SetColumns() []string
- func (s IamParRequestSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamParRequestSlice
- func (o IamParRequestSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamParRequestSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamParRequestSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamParRequestSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamParRequestSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamParRequestSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamParRequestSetter) error
- func (o IamParRequestSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamParRequestsQuery
- type IamProject
- func (o *IamProject) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamProject) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamProject) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamProject) Update(ctx context.Context, exec bob.Executor, s *IamProjectSetter) error
- type IamProjectSetter
- type IamProjectSlice
- func (o IamProjectSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamProjectSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamProjectSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamProjectSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamProjectSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamProjectSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamProjectSetter) error
- func (o IamProjectSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamProjectsQuery
- type IamProvider
- func (o *IamProvider) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamProvider) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamProvider) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamProvider) Update(ctx context.Context, exec bob.Executor, s *IamProviderSetter) error
- type IamProviderSetter
- func (s *IamProviderSetter) Apply(q *dialect.InsertQuery)
- func (s IamProviderSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamProviderSetter) Overwrite(t *IamProvider)
- func (s IamProviderSetter) SetColumns() []string
- func (s IamProviderSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamProviderSlice
- func (o IamProviderSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamProviderSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamProviderSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamProviderSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamProviderSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamProviderSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamProviderSetter) error
- func (o IamProviderSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamProvidersQuery
- type IamRecoveryCode
- func (o *IamRecoveryCode) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamRecoveryCode) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamRecoveryCode) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamRecoveryCode) Update(ctx context.Context, exec bob.Executor, s *IamRecoveryCodeSetter) error
- type IamRecoveryCodeSetter
- func (s *IamRecoveryCodeSetter) Apply(q *dialect.InsertQuery)
- func (s IamRecoveryCodeSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamRecoveryCodeSetter) Overwrite(t *IamRecoveryCode)
- func (s IamRecoveryCodeSetter) SetColumns() []string
- func (s IamRecoveryCodeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRecoveryCodeSlice
- func (o IamRecoveryCodeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamRecoveryCodeSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamRecoveryCodeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamRecoveryCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamRecoveryCodeSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamRecoveryCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRecoveryCodeSetter) error
- func (o IamRecoveryCodeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRecoveryCodesQuery
- type IamRefreshToken
- func (o *IamRefreshToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamRefreshToken) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamRefreshToken) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamRefreshToken) Update(ctx context.Context, exec bob.Executor, s *IamRefreshTokenSetter) error
- type IamRefreshTokenSetter
- func (s *IamRefreshTokenSetter) Apply(q *dialect.InsertQuery)
- func (s IamRefreshTokenSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamRefreshTokenSetter) Overwrite(t *IamRefreshToken)
- func (s IamRefreshTokenSetter) SetColumns() []string
- func (s IamRefreshTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRefreshTokenSlice
- func (o IamRefreshTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamRefreshTokenSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamRefreshTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamRefreshTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamRefreshTokenSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamRefreshTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRefreshTokenSetter) error
- func (o IamRefreshTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRefreshTokensQuery
- type IamRevokedToken
- func (o *IamRevokedToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamRevokedToken) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamRevokedToken) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamRevokedToken) Update(ctx context.Context, exec bob.Executor, s *IamRevokedTokenSetter) error
- type IamRevokedTokenSetter
- func (s *IamRevokedTokenSetter) Apply(q *dialect.InsertQuery)
- func (s IamRevokedTokenSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamRevokedTokenSetter) Overwrite(t *IamRevokedToken)
- func (s IamRevokedTokenSetter) SetColumns() []string
- func (s IamRevokedTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRevokedTokenSlice
- func (o IamRevokedTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamRevokedTokenSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamRevokedTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamRevokedTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamRevokedTokenSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamRevokedTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRevokedTokenSetter) error
- func (o IamRevokedTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRevokedTokensQuery
- type IamRiskRule
- func (o *IamRiskRule) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamRiskRule) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamRiskRule) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamRiskRule) Update(ctx context.Context, exec bob.Executor, s *IamRiskRuleSetter) error
- type IamRiskRuleSetter
- func (s *IamRiskRuleSetter) Apply(q *dialect.InsertQuery)
- func (s IamRiskRuleSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamRiskRuleSetter) Overwrite(t *IamRiskRule)
- func (s IamRiskRuleSetter) SetColumns() []string
- func (s IamRiskRuleSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRiskRuleSlice
- func (o IamRiskRuleSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamRiskRuleSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamRiskRuleSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamRiskRuleSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamRiskRuleSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamRiskRuleSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRiskRuleSetter) error
- func (o IamRiskRuleSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamRiskRulesQuery
- type IamScimResource
- func (o *IamScimResource) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamScimResource) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamScimResource) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamScimResource) Update(ctx context.Context, exec bob.Executor, s *IamScimResourceSetter) error
- type IamScimResourceSetter
- func (s *IamScimResourceSetter) Apply(q *dialect.InsertQuery)
- func (s IamScimResourceSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamScimResourceSetter) Overwrite(t *IamScimResource)
- func (s IamScimResourceSetter) SetColumns() []string
- func (s IamScimResourceSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamScimResourceSlice
- func (o IamScimResourceSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamScimResourceSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamScimResourceSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamScimResourceSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamScimResourceSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamScimResourceSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamScimResourceSetter) error
- func (o IamScimResourceSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamScimResourcesQuery
- type IamScimToken
- func (o *IamScimToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamScimToken) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamScimToken) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamScimToken) Update(ctx context.Context, exec bob.Executor, s *IamScimTokenSetter) error
- type IamScimTokenSetter
- func (s *IamScimTokenSetter) Apply(q *dialect.InsertQuery)
- func (s IamScimTokenSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamScimTokenSetter) Overwrite(t *IamScimToken)
- func (s IamScimTokenSetter) SetColumns() []string
- func (s IamScimTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamScimTokenSlice
- func (o IamScimTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamScimTokenSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamScimTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamScimTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamScimTokenSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamScimTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamScimTokenSetter) error
- func (o IamScimTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamScimTokensQuery
- type IamSecurityAttempt
- func (o *IamSecurityAttempt) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityAttempt) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityAttempt) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityAttempt) Update(ctx context.Context, exec bob.Executor, s *IamSecurityAttemptSetter) error
- type IamSecurityAttemptSetter
- func (s *IamSecurityAttemptSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityAttemptSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityAttemptSetter) Overwrite(t *IamSecurityAttempt)
- func (s IamSecurityAttemptSetter) SetColumns() []string
- func (s IamSecurityAttemptSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityAttemptSlice
- func (o IamSecurityAttemptSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityAttemptSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityAttemptSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityAttemptSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityAttemptSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityAttemptSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityAttemptSetter) error
- func (o IamSecurityAttemptSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityAttemptsQuery
- type IamSecurityCase
- func (o *IamSecurityCase) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityCase) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityCase) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityCase) Update(ctx context.Context, exec bob.Executor, s *IamSecurityCaseSetter) error
- type IamSecurityCaseDecision
- func (o *IamSecurityCaseDecision) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityCaseDecision) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityCaseDecision) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityCaseDecision) Update(ctx context.Context, exec bob.Executor, s *IamSecurityCaseDecisionSetter) error
- type IamSecurityCaseDecisionSetter
- func (s *IamSecurityCaseDecisionSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityCaseDecisionSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityCaseDecisionSetter) Overwrite(t *IamSecurityCaseDecision)
- func (s IamSecurityCaseDecisionSetter) SetColumns() []string
- func (s IamSecurityCaseDecisionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityCaseDecisionSlice
- func (o IamSecurityCaseDecisionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityCaseDecisionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityCaseDecisionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityCaseDecisionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityCaseDecisionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityCaseDecisionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityCaseDecisionSetter) error
- func (o IamSecurityCaseDecisionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityCaseDecisionsQuery
- type IamSecurityCaseSetter
- func (s *IamSecurityCaseSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityCaseSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityCaseSetter) Overwrite(t *IamSecurityCase)
- func (s IamSecurityCaseSetter) SetColumns() []string
- func (s IamSecurityCaseSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityCaseSlice
- func (o IamSecurityCaseSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityCaseSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityCaseSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityCaseSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityCaseSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityCaseSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityCaseSetter) error
- func (o IamSecurityCaseSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityCasesQuery
- type IamSecurityContinuation
- func (o *IamSecurityContinuation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityContinuation) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityContinuation) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityContinuation) Update(ctx context.Context, exec bob.Executor, s *IamSecurityContinuationSetter) error
- type IamSecurityContinuationSetter
- func (s *IamSecurityContinuationSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityContinuationSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityContinuationSetter) Overwrite(t *IamSecurityContinuation)
- func (s IamSecurityContinuationSetter) SetColumns() []string
- func (s IamSecurityContinuationSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityContinuationSlice
- func (o IamSecurityContinuationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityContinuationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityContinuationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityContinuationSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityContinuationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityContinuationSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityContinuationSetter) error
- func (o IamSecurityContinuationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityContinuationsQuery
- type IamSecurityDeliveriesQuery
- type IamSecurityDelivery
- func (o *IamSecurityDelivery) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityDelivery) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityDelivery) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityDelivery) Update(ctx context.Context, exec bob.Executor, s *IamSecurityDeliverySetter) error
- type IamSecurityDeliverySetter
- func (s *IamSecurityDeliverySetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityDeliverySetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityDeliverySetter) Overwrite(t *IamSecurityDelivery)
- func (s IamSecurityDeliverySetter) SetColumns() []string
- func (s IamSecurityDeliverySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityDeliverySlice
- func (o IamSecurityDeliverySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityDeliverySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityDeliverySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityDeliverySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityDeliverySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityDeliverySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityDeliverySetter) error
- func (o IamSecurityDeliverySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityDevice
- func (o *IamSecurityDevice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityDevice) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityDevice) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityDevice) Update(ctx context.Context, exec bob.Executor, s *IamSecurityDeviceSetter) error
- type IamSecurityDeviceSetter
- func (s *IamSecurityDeviceSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityDeviceSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityDeviceSetter) Overwrite(t *IamSecurityDevice)
- func (s IamSecurityDeviceSetter) SetColumns() []string
- func (s IamSecurityDeviceSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityDeviceSlice
- func (o IamSecurityDeviceSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityDeviceSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityDeviceSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityDeviceSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityDeviceSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityDeviceSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityDeviceSetter) error
- func (o IamSecurityDeviceSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityDevicesQuery
- type IamSecurityGuard
- func (o *IamSecurityGuard) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityGuard) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityGuard) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityGuard) Update(ctx context.Context, exec bob.Executor, s *IamSecurityGuardSetter) error
- type IamSecurityGuardSetter
- func (s *IamSecurityGuardSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityGuardSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityGuardSetter) Overwrite(t *IamSecurityGuard)
- func (s IamSecurityGuardSetter) SetColumns() []string
- func (s IamSecurityGuardSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityGuardSlice
- func (o IamSecurityGuardSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityGuardSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityGuardSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityGuardSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityGuardSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityGuardSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityGuardSetter) error
- func (o IamSecurityGuardSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityGuardsQuery
- type IamSecurityIncident
- func (o *IamSecurityIncident) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityIncident) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityIncident) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityIncident) Update(ctx context.Context, exec bob.Executor, s *IamSecurityIncidentSetter) error
- type IamSecurityIncidentSetter
- func (s *IamSecurityIncidentSetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityIncidentSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityIncidentSetter) Overwrite(t *IamSecurityIncident)
- func (s IamSecurityIncidentSetter) SetColumns() []string
- func (s IamSecurityIncidentSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityIncidentSlice
- func (o IamSecurityIncidentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityIncidentSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityIncidentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityIncidentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityIncidentSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityIncidentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityIncidentSetter) error
- func (o IamSecurityIncidentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityIncidentsQuery
- type IamSecurityPoliciesQuery
- type IamSecurityPolicy
- func (o *IamSecurityPolicy) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSecurityPolicy) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityPolicy) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSecurityPolicy) Update(ctx context.Context, exec bob.Executor, s *IamSecurityPolicySetter) error
- type IamSecurityPolicySetter
- func (s *IamSecurityPolicySetter) Apply(q *dialect.InsertQuery)
- func (s IamSecurityPolicySetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSecurityPolicySetter) Overwrite(t *IamSecurityPolicy)
- func (s IamSecurityPolicySetter) SetColumns() []string
- func (s IamSecurityPolicySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSecurityPolicySlice
- func (o IamSecurityPolicySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSecurityPolicySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityPolicySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSecurityPolicySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSecurityPolicySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSecurityPolicySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityPolicySetter) error
- func (o IamSecurityPolicySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamServiceAccount
- func (o *IamServiceAccount) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamServiceAccount) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamServiceAccount) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamServiceAccount) Update(ctx context.Context, exec bob.Executor, s *IamServiceAccountSetter) error
- type IamServiceAccountSetter
- func (s *IamServiceAccountSetter) Apply(q *dialect.InsertQuery)
- func (s IamServiceAccountSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamServiceAccountSetter) Overwrite(t *IamServiceAccount)
- func (s IamServiceAccountSetter) SetColumns() []string
- func (s IamServiceAccountSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamServiceAccountSlice
- func (o IamServiceAccountSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamServiceAccountSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamServiceAccountSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamServiceAccountSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamServiceAccountSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamServiceAccountSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamServiceAccountSetter) error
- func (o IamServiceAccountSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamServiceAccountsQuery
- type IamSession
- func (o *IamSession) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSession) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSession) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSession) Update(ctx context.Context, exec bob.Executor, s *IamSessionSetter) error
- type IamSessionSetter
- type IamSessionSlice
- func (o IamSessionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSessionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSessionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSessionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSessionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSessionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSessionSetter) error
- func (o IamSessionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSessionsQuery
- type IamSigningKey
- func (o *IamSigningKey) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSigningKey) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSigningKey) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSigningKey) Update(ctx context.Context, exec bob.Executor, s *IamSigningKeySetter) error
- type IamSigningKeySetter
- func (s *IamSigningKeySetter) Apply(q *dialect.InsertQuery)
- func (s IamSigningKeySetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSigningKeySetter) Overwrite(t *IamSigningKey)
- func (s IamSigningKeySetter) SetColumns() []string
- func (s IamSigningKeySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSigningKeySlice
- func (o IamSigningKeySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSigningKeySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSigningKeySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSigningKeySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSigningKeySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSigningKeySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSigningKeySetter) error
- func (o IamSigningKeySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSigningKeysQuery
- type IamSsoConnection
- func (o *IamSsoConnection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamSsoConnection) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamSsoConnection) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamSsoConnection) Update(ctx context.Context, exec bob.Executor, s *IamSsoConnectionSetter) error
- type IamSsoConnectionSetter
- func (s *IamSsoConnectionSetter) Apply(q *dialect.InsertQuery)
- func (s IamSsoConnectionSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamSsoConnectionSetter) Overwrite(t *IamSsoConnection)
- func (s IamSsoConnectionSetter) SetColumns() []string
- func (s IamSsoConnectionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSsoConnectionSlice
- func (o IamSsoConnectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamSsoConnectionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamSsoConnectionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamSsoConnectionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamSsoConnectionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamSsoConnectionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSsoConnectionSetter) error
- func (o IamSsoConnectionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamSsoConnectionsQuery
- type IamTokenProfile
- func (o *IamTokenProfile) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamTokenProfile) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamTokenProfile) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamTokenProfile) Update(ctx context.Context, exec bob.Executor, s *IamTokenProfileSetter) error
- type IamTokenProfileSetter
- func (s *IamTokenProfileSetter) Apply(q *dialect.InsertQuery)
- func (s IamTokenProfileSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamTokenProfileSetter) Overwrite(t *IamTokenProfile)
- func (s IamTokenProfileSetter) SetColumns() []string
- func (s IamTokenProfileSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamTokenProfileSlice
- func (o IamTokenProfileSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamTokenProfileSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamTokenProfileSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamTokenProfileSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamTokenProfileSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamTokenProfileSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamTokenProfileSetter) error
- func (o IamTokenProfileSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamTokenProfilesQuery
- type IamUser
- func (o *IamUser) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamUser) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamUser) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamUser) Update(ctx context.Context, exec bob.Executor, s *IamUserSetter) error
- type IamUserRole
- func (o *IamUserRole) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamUserRole) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamUserRole) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamUserRole) Update(ctx context.Context, exec bob.Executor, s *IamUserRoleSetter) error
- type IamUserRoleSetter
- func (s *IamUserRoleSetter) Apply(q *dialect.InsertQuery)
- func (s IamUserRoleSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamUserRoleSetter) Overwrite(t *IamUserRole)
- func (s IamUserRoleSetter) SetColumns() []string
- func (s IamUserRoleSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamUserRoleSlice
- func (o IamUserRoleSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamUserRoleSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamUserRoleSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamUserRoleSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamUserRoleSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamUserRoleSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamUserRoleSetter) error
- func (o IamUserRoleSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamUserRolesQuery
- type IamUserSetter
- type IamUserSlice
- func (o IamUserSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamUserSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamUserSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamUserSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamUserSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamUserSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamUserSetter) error
- func (o IamUserSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamUsersQuery
- type IamWebauthnCredential
- func (o *IamWebauthnCredential) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamWebauthnCredential) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamWebauthnCredential) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamWebauthnCredential) Update(ctx context.Context, exec bob.Executor, s *IamWebauthnCredentialSetter) error
- type IamWebauthnCredentialSetter
- func (s *IamWebauthnCredentialSetter) Apply(q *dialect.InsertQuery)
- func (s IamWebauthnCredentialSetter) Expressions(prefix ...string) []bob.Expression
- func (s IamWebauthnCredentialSetter) Overwrite(t *IamWebauthnCredential)
- func (s IamWebauthnCredentialSetter) SetColumns() []string
- func (s IamWebauthnCredentialSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamWebauthnCredentialSlice
- func (o IamWebauthnCredentialSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamWebauthnCredentialSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamWebauthnCredentialSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamWebauthnCredentialSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamWebauthnCredentialSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamWebauthnCredentialSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebauthnCredentialSetter) error
- func (o IamWebauthnCredentialSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamWebauthnCredentialsQuery
- type IamWebhook
- func (o *IamWebhook) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamWebhook) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamWebhook) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamWebhook) Update(ctx context.Context, exec bob.Executor, s *IamWebhookSetter) error
- type IamWebhookDeliveriesQuery
- type IamWebhookDelivery
- func (o *IamWebhookDelivery) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o *IamWebhookDelivery) Delete(ctx context.Context, exec bob.Executor) error
- func (o *IamWebhookDelivery) Reload(ctx context.Context, exec bob.Executor) error
- func (o *IamWebhookDelivery) Update(ctx context.Context, exec bob.Executor, s *IamWebhookDeliverySetter) error
- type IamWebhookDeliverySetter
- func (s *IamWebhookDeliverySetter) Apply(q *dialect.InsertQuery)
- func (s IamWebhookDeliverySetter) Expressions(prefix ...string) []bob.Expression
- func (s IamWebhookDeliverySetter) Overwrite(t *IamWebhookDelivery)
- func (s IamWebhookDeliverySetter) SetColumns() []string
- func (s IamWebhookDeliverySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamWebhookDeliverySlice
- func (o IamWebhookDeliverySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamWebhookDeliverySlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamWebhookDeliverySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamWebhookDeliverySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamWebhookDeliverySlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamWebhookDeliverySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebhookDeliverySetter) error
- func (o IamWebhookDeliverySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamWebhookSetter
- type IamWebhookSlice
- func (o IamWebhookSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
- func (o IamWebhookSlice) DeleteAll(ctx context.Context, exec bob.Executor) error
- func (o IamWebhookSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
- func (o IamWebhookSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
- func (o IamWebhookSlice) ReloadAll(ctx context.Context, exec bob.Executor) error
- func (o IamWebhookSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebhookSetter) error
- func (o IamWebhookSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
- type IamWebhooksQuery
Constants ¶
This section is empty.
Variables ¶
var ( PreloadCount = getPreloadCount() SelectThenLoadCount = getThenLoadCount[*dialect.SelectQuery]() InsertThenLoadCount = getThenLoadCount[*dialect.InsertQuery]() )
var ( SelectJoins = getJoins[*dialect.SelectQuery]() UpdateJoins = getJoins[*dialect.UpdateQuery]() DeleteJoins = getJoins[*dialect.DeleteQuery]() )
var ( SelectThenLoad = getThenLoaders[*dialect.SelectQuery]() InsertThenLoad = getThenLoaders[*dialect.InsertQuery]() UpdateThenLoad = getThenLoaders[*dialect.UpdateQuery]() )
var ( SelectWhere = Where[*dialect.SelectQuery]() UpdateWhere = Where[*dialect.UpdateQuery]() DeleteWhere = Where[*dialect.DeleteQuery]() OnConflictWhere = Where[*clause.ConflictClause]() // Used in ON CONFLICT DO UPDATE )
var IamAPIKeys = psql.NewTablex[*IamAPIKey, IamAPIKeySlice, *IamAPIKeySetter]("", "iam_api_keys", buildIamAPIKeyColumns("iam_api_keys"))
IamAPIKeys contains methods to work with the iam_api_keys table
var IamAccessRequests = psql.NewTablex[*IamAccessRequest, IamAccessRequestSlice, *IamAccessRequestSetter]("", "iam_access_requests", buildIamAccessRequestColumns("iam_access_requests"))
IamAccessRequests contains methods to work with the iam_access_requests table
var IamAccountDeletions = psql.NewTablex[*IamAccountDeletion, IamAccountDeletionSlice, *IamAccountDeletionSetter]("", "iam_account_deletions", buildIamAccountDeletionColumns("iam_account_deletions"))
IamAccountDeletions contains methods to work with the iam_account_deletions table
var IamActivities = psql.NewTablex[*IamActivity, IamActivitySlice, *IamActivitySetter]("", "iam_activity", buildIamActivityColumns("iam_activity"))
IamActivities contains methods to work with the iam_activity table
var IamAdminTokens = psql.NewTablex[*IamAdminToken, IamAdminTokenSlice, *IamAdminTokenSetter]("", "iam_admin_tokens", buildIamAdminTokenColumns("iam_admin_tokens"))
IamAdminTokens contains methods to work with the iam_admin_tokens table
var IamAppClients = psql.NewTablex[*IamAppClient, IamAppClientSlice, *IamAppClientSetter]("", "iam_app_clients", buildIamAppClientColumns("iam_app_clients"))
IamAppClients contains methods to work with the iam_app_clients table
var IamAppSecrets = psql.NewTablex[*IamAppSecret, IamAppSecretSlice, *IamAppSecretSetter]("", "iam_app_secrets", buildIamAppSecretColumns("iam_app_secrets"))
IamAppSecrets contains methods to work with the iam_app_secrets table
var IamAuditLogs = psql.NewTablex[*IamAuditLog, IamAuditLogSlice, *IamAuditLogSetter]("", "iam_audit_logs", buildIamAuditLogColumns("iam_audit_logs"))
IamAuditLogs contains methods to work with the iam_audit_logs table
var IamAuthCodes = psql.NewTablex[*IamAuthCode, IamAuthCodeSlice, *IamAuthCodeSetter]("", "iam_auth_codes", buildIamAuthCodeColumns("iam_auth_codes"))
IamAuthCodes contains methods to work with the iam_auth_codes table
var IamBlocks = psql.NewTablex[*IamBlock, IamBlockSlice, *IamBlockSetter]("", "iam_blocks", buildIamBlockColumns("iam_blocks"))
IamBlocks contains methods to work with the iam_blocks table
var IamChallenges = psql.NewTablex[*IamChallenge, IamChallengeSlice, *IamChallengeSetter]("", "iam_challenges", buildIamChallengeColumns("iam_challenges"))
IamChallenges contains methods to work with the iam_challenges table
var IamConfigs = psql.NewTablex[*IamConfig, IamConfigSlice, *IamConfigSetter]("", "iam_config", buildIamConfigColumns("iam_config"))
IamConfigs contains methods to work with the iam_config table
var IamConsents = psql.NewTablex[*IamConsent, IamConsentSlice, *IamConsentSetter]("", "iam_consents", buildIamConsentColumns("iam_consents"))
IamConsents contains methods to work with the iam_consents table
var IamCredentials = psql.NewTablex[*IamCredential, IamCredentialSlice, *IamCredentialSetter]("", "iam_credentials", buildIamCredentialColumns("iam_credentials"))
IamCredentials contains methods to work with the iam_credentials table
var IamDeviceCodes = psql.NewTablex[*IamDeviceCode, IamDeviceCodeSlice, *IamDeviceCodeSetter]("", "iam_device_codes", buildIamDeviceCodeColumns("iam_device_codes"))
IamDeviceCodes contains methods to work with the iam_device_codes table
var IamDomains = psql.NewTablex[*IamDomain, IamDomainSlice, *IamDomainSetter]("", "iam_domains", buildIamDomainColumns("iam_domains"))
IamDomains contains methods to work with the iam_domains table
var IamEmailTemplates = psql.NewTablex[*IamEmailTemplate, IamEmailTemplateSlice, *IamEmailTemplateSetter]("", "iam_email_templates", buildIamEmailTemplateColumns("iam_email_templates"))
IamEmailTemplates contains methods to work with the iam_email_templates table
var IamEnvironments = psql.NewTablex[*IamEnvironment, IamEnvironmentSlice, *IamEnvironmentSetter]("", "iam_environments", buildIamEnvironmentColumns("iam_environments"))
IamEnvironments contains methods to work with the iam_environments table
var IamEvents = psql.NewTablex[*IamEvent, IamEventSlice, *IamEventSetter]("", "iam_events", buildIamEventColumns("iam_events"))
IamEvents contains methods to work with the iam_events table
var IamFactors = psql.NewTablex[*IamFactor, IamFactorSlice, *IamFactorSetter]("", "iam_factors", buildIamFactorColumns("iam_factors"))
IamFactors contains methods to work with the iam_factors table
var IamFlows = psql.NewTablex[*IamFlow, IamFlowSlice, *IamFlowSetter]("", "iam_flows", buildIamFlowColumns("iam_flows"))
IamFlows contains methods to work with the iam_flows table
var IamHooks = psql.NewTablex[*IamHook, IamHookSlice, *IamHookSetter]("", "iam_hooks", buildIamHookColumns("iam_hooks"))
IamHooks contains methods to work with the iam_hooks table
var IamIdentities = psql.NewTablex[*IamIdentity, IamIdentitySlice, *IamIdentitySetter]("", "iam_identities", buildIamIdentityColumns("iam_identities"))
IamIdentities contains methods to work with the iam_identities table
var IamInteractions = psql.NewTablex[*IamInteraction, IamInteractionSlice, *IamInteractionSetter]("", "iam_interactions", buildIamInteractionColumns("iam_interactions"))
IamInteractions contains methods to work with the iam_interactions table
var IamInvites = psql.NewTablex[*IamInvite, IamInviteSlice, *IamInviteSetter]("", "iam_invites", buildIamInviteColumns("iam_invites"))
IamInvites contains methods to work with the iam_invites table
var IamJobs = psql.NewTablex[*IamJob, IamJobSlice, *IamJobSetter]("", "iam_jobs", buildIamJobColumns("iam_jobs"))
IamJobs contains methods to work with the iam_jobs table
var IamOauthGrants = psql.NewTablex[*IamOauthGrant, IamOauthGrantSlice, *IamOauthGrantSetter]("", "iam_oauth_grants", buildIamOauthGrantColumns("iam_oauth_grants"))
IamOauthGrants contains methods to work with the iam_oauth_grants table
var IamParRequests = psql.NewTablex[*IamParRequest, IamParRequestSlice, *IamParRequestSetter]("", "iam_par_requests", buildIamParRequestColumns("iam_par_requests"))
IamParRequests contains methods to work with the iam_par_requests table
var IamProjects = psql.NewTablex[*IamProject, IamProjectSlice, *IamProjectSetter]("", "iam_projects", buildIamProjectColumns("iam_projects"))
IamProjects contains methods to work with the iam_projects table
var IamProviders = psql.NewTablex[*IamProvider, IamProviderSlice, *IamProviderSetter]("", "iam_providers", buildIamProviderColumns("iam_providers"))
IamProviders contains methods to work with the iam_providers table
var IamRecoveryCodes = psql.NewTablex[*IamRecoveryCode, IamRecoveryCodeSlice, *IamRecoveryCodeSetter]("", "iam_recovery_codes", buildIamRecoveryCodeColumns("iam_recovery_codes"))
IamRecoveryCodes contains methods to work with the iam_recovery_codes table
var IamRefreshTokens = psql.NewTablex[*IamRefreshToken, IamRefreshTokenSlice, *IamRefreshTokenSetter]("", "iam_refresh_tokens", buildIamRefreshTokenColumns("iam_refresh_tokens"))
IamRefreshTokens contains methods to work with the iam_refresh_tokens table
var IamRevokedTokens = psql.NewTablex[*IamRevokedToken, IamRevokedTokenSlice, *IamRevokedTokenSetter]("", "iam_revoked_tokens", buildIamRevokedTokenColumns("iam_revoked_tokens"))
IamRevokedTokens contains methods to work with the iam_revoked_tokens table
var IamRiskRules = psql.NewTablex[*IamRiskRule, IamRiskRuleSlice, *IamRiskRuleSetter]("", "iam_risk_rules", buildIamRiskRuleColumns("iam_risk_rules"))
IamRiskRules contains methods to work with the iam_risk_rules table
var IamScimResources = psql.NewTablex[*IamScimResource, IamScimResourceSlice, *IamScimResourceSetter]("", "iam_scim_resources", buildIamScimResourceColumns("iam_scim_resources"))
IamScimResources contains methods to work with the iam_scim_resources table
var IamScimTokens = psql.NewTablex[*IamScimToken, IamScimTokenSlice, *IamScimTokenSetter]("", "iam_scim_tokens", buildIamScimTokenColumns("iam_scim_tokens"))
IamScimTokens contains methods to work with the iam_scim_tokens table
var IamSecurityAttempts = psql.NewTablex[*IamSecurityAttempt, IamSecurityAttemptSlice, *IamSecurityAttemptSetter]("", "iam_security_attempts", buildIamSecurityAttemptColumns("iam_security_attempts"))
IamSecurityAttempts contains methods to work with the iam_security_attempts table
var IamSecurityCaseDecisions = psql.NewTablex[*IamSecurityCaseDecision, IamSecurityCaseDecisionSlice, *IamSecurityCaseDecisionSetter]("", "iam_security_case_decisions", buildIamSecurityCaseDecisionColumns("iam_security_case_decisions"))
IamSecurityCaseDecisions contains methods to work with the iam_security_case_decisions table
var IamSecurityCases = psql.NewTablex[*IamSecurityCase, IamSecurityCaseSlice, *IamSecurityCaseSetter]("", "iam_security_cases", buildIamSecurityCaseColumns("iam_security_cases"))
IamSecurityCases contains methods to work with the iam_security_cases table
var IamSecurityContinuations = psql.NewTablex[*IamSecurityContinuation, IamSecurityContinuationSlice, *IamSecurityContinuationSetter]("", "iam_security_continuations", buildIamSecurityContinuationColumns("iam_security_continuations"))
IamSecurityContinuations contains methods to work with the iam_security_continuations table
var IamSecurityDeliveries = psql.NewTablex[*IamSecurityDelivery, IamSecurityDeliverySlice, *IamSecurityDeliverySetter]("", "iam_security_deliveries", buildIamSecurityDeliveryColumns("iam_security_deliveries"))
IamSecurityDeliveries contains methods to work with the iam_security_deliveries table
var IamSecurityDevices = psql.NewTablex[*IamSecurityDevice, IamSecurityDeviceSlice, *IamSecurityDeviceSetter]("", "iam_security_devices", buildIamSecurityDeviceColumns("iam_security_devices"))
IamSecurityDevices contains methods to work with the iam_security_devices table
var IamSecurityGuards = psql.NewTablex[*IamSecurityGuard, IamSecurityGuardSlice, *IamSecurityGuardSetter]("", "iam_security_guards", buildIamSecurityGuardColumns("iam_security_guards"))
IamSecurityGuards contains methods to work with the iam_security_guards table
var IamSecurityIncidents = psql.NewTablex[*IamSecurityIncident, IamSecurityIncidentSlice, *IamSecurityIncidentSetter]("", "iam_security_incidents", buildIamSecurityIncidentColumns("iam_security_incidents"))
IamSecurityIncidents contains methods to work with the iam_security_incidents table
var IamSecurityPolicies = psql.NewTablex[*IamSecurityPolicy, IamSecurityPolicySlice, *IamSecurityPolicySetter]("", "iam_security_policies", buildIamSecurityPolicyColumns("iam_security_policies"))
IamSecurityPolicies contains methods to work with the iam_security_policies table
var IamServiceAccounts = psql.NewTablex[*IamServiceAccount, IamServiceAccountSlice, *IamServiceAccountSetter]("", "iam_service_accounts", buildIamServiceAccountColumns("iam_service_accounts"))
IamServiceAccounts contains methods to work with the iam_service_accounts table
var IamSessions = psql.NewTablex[*IamSession, IamSessionSlice, *IamSessionSetter]("", "iam_sessions", buildIamSessionColumns("iam_sessions"))
IamSessions contains methods to work with the iam_sessions table
var IamSigningKeys = psql.NewTablex[*IamSigningKey, IamSigningKeySlice, *IamSigningKeySetter]("", "iam_signing_keys", buildIamSigningKeyColumns("iam_signing_keys"))
IamSigningKeys contains methods to work with the iam_signing_keys table
var IamSsoConnections = psql.NewTablex[*IamSsoConnection, IamSsoConnectionSlice, *IamSsoConnectionSetter]("", "iam_sso_connections", buildIamSsoConnectionColumns("iam_sso_connections"))
IamSsoConnections contains methods to work with the iam_sso_connections table
var IamTokenProfiles = psql.NewTablex[*IamTokenProfile, IamTokenProfileSlice, *IamTokenProfileSetter]("", "iam_token_profiles", buildIamTokenProfileColumns("iam_token_profiles"))
IamTokenProfiles contains methods to work with the iam_token_profiles table
var IamUserRoles = psql.NewTablex[*IamUserRole, IamUserRoleSlice, *IamUserRoleSetter]("", "iam_user_roles", buildIamUserRoleColumns("iam_user_roles"))
IamUserRoles contains methods to work with the iam_user_roles table
var IamUsers = psql.NewTablex[*IamUser, IamUserSlice, *IamUserSetter]("", "iam_users", buildIamUserColumns("iam_users"))
IamUsers contains methods to work with the iam_users table
var IamWebauthnCredentials = psql.NewTablex[*IamWebauthnCredential, IamWebauthnCredentialSlice, *IamWebauthnCredentialSetter]("", "iam_webauthn_credentials", buildIamWebauthnCredentialColumns("iam_webauthn_credentials"))
IamWebauthnCredentials contains methods to work with the iam_webauthn_credentials table
var IamWebhookDeliveries = psql.NewTablex[*IamWebhookDelivery, IamWebhookDeliverySlice, *IamWebhookDeliverySetter]("", "iam_webhook_deliveries", buildIamWebhookDeliveryColumns("iam_webhook_deliveries"))
IamWebhookDeliveries contains methods to work with the iam_webhook_deliveries table
var IamWebhooks = psql.NewTablex[*IamWebhook, IamWebhookSlice, *IamWebhookSetter]("", "iam_webhooks", buildIamWebhookColumns("iam_webhooks"))
IamWebhooks contains methods to work with the iam_webhooks table
var Preload = getPreloaders()
Functions ¶
func IamAPIKeyExists ¶
IamAPIKeyExists checks the presence of a single record by primary key
func IamAccessRequestExists ¶
IamAccessRequestExists checks the presence of a single record by primary key
func IamAccountDeletionExists ¶ added in v1.7.0
func IamAccountDeletionExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, UserIDPK string) (bool, error)
IamAccountDeletionExists checks the presence of a single record by primary key
func IamActivityExists ¶
IamActivityExists checks the presence of a single record by primary key
func IamAdminTokenExists ¶
IamAdminTokenExists checks the presence of a single record by primary key
func IamAppClientExists ¶
IamAppClientExists checks the presence of a single record by primary key
func IamAppSecretExists ¶
IamAppSecretExists checks the presence of a single record by primary key
func IamAuditLogExists ¶
IamAuditLogExists checks the presence of a single record by primary key
func IamAuthCodeExists ¶
IamAuthCodeExists checks the presence of a single record by primary key
func IamBlockExists ¶
IamBlockExists checks the presence of a single record by primary key
func IamChallengeExists ¶
IamChallengeExists checks the presence of a single record by primary key
func IamConfigExists ¶
func IamConfigExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, KeyPK string) (bool, error)
IamConfigExists checks the presence of a single record by primary key
func IamConsentExists ¶
IamConsentExists checks the presence of a single record by primary key
func IamCredentialExists ¶
IamCredentialExists checks the presence of a single record by primary key
func IamDeviceCodeExists ¶
IamDeviceCodeExists checks the presence of a single record by primary key
func IamDomainExists ¶
IamDomainExists checks the presence of a single record by primary key
func IamEmailTemplateExists ¶
IamEmailTemplateExists checks the presence of a single record by primary key
func IamEnvironmentExists ¶
func IamEnvironmentExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, NamePK string) (bool, error)
IamEnvironmentExists checks the presence of a single record by primary key
func IamEventExists ¶
IamEventExists checks the presence of a single record by primary key
func IamFactorExists ¶
IamFactorExists checks the presence of a single record by primary key
func IamFlowExists ¶ added in v1.1.0
IamFlowExists checks the presence of a single record by primary key
func IamHookExists ¶
IamHookExists checks the presence of a single record by primary key
func IamIdentityExists ¶
IamIdentityExists checks the presence of a single record by primary key
func IamInteractionExists ¶
IamInteractionExists checks the presence of a single record by primary key
func IamInviteExists ¶ added in v1.2.0
IamInviteExists checks the presence of a single record by primary key
func IamJobExists ¶
IamJobExists checks the presence of a single record by primary key
func IamOauthGrantExists ¶
IamOauthGrantExists checks the presence of a single record by primary key
func IamParRequestExists ¶
IamParRequestExists checks the presence of a single record by primary key
func IamProjectExists ¶
IamProjectExists checks the presence of a single record by primary key
func IamProviderExists ¶
IamProviderExists checks the presence of a single record by primary key
func IamRecoveryCodeExists ¶
IamRecoveryCodeExists checks the presence of a single record by primary key
func IamRefreshTokenExists ¶
IamRefreshTokenExists checks the presence of a single record by primary key
func IamRevokedTokenExists ¶ added in v1.6.3
IamRevokedTokenExists checks the presence of a single record by primary key
func IamRiskRuleExists ¶
IamRiskRuleExists checks the presence of a single record by primary key
func IamScimResourceExists ¶
IamScimResourceExists checks the presence of a single record by primary key
func IamScimTokenExists ¶
IamScimTokenExists checks the presence of a single record by primary key
func IamSecurityAttemptExists ¶ added in v1.7.0
func IamSecurityAttemptExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, SubjectHashPK string, KindPK string) (bool, error)
IamSecurityAttemptExists checks the presence of a single record by primary key
func IamSecurityCaseDecisionExists ¶ added in v1.7.0
func IamSecurityCaseDecisionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)
IamSecurityCaseDecisionExists checks the presence of a single record by primary key
func IamSecurityCaseExists ¶ added in v1.7.0
IamSecurityCaseExists checks the presence of a single record by primary key
func IamSecurityContinuationExists ¶ added in v1.7.0
func IamSecurityContinuationExists(ctx context.Context, exec bob.Executor, TokenHashPK string) (bool, error)
IamSecurityContinuationExists checks the presence of a single record by primary key
func IamSecurityDeliveryExists ¶ added in v1.7.0
IamSecurityDeliveryExists checks the presence of a single record by primary key
func IamSecurityDeviceExists ¶ added in v1.7.0
IamSecurityDeviceExists checks the presence of a single record by primary key
func IamSecurityGuardExists ¶ added in v1.7.0
func IamSecurityGuardExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, UserIDPK string) (bool, error)
IamSecurityGuardExists checks the presence of a single record by primary key
func IamSecurityIncidentExists ¶ added in v1.7.0
IamSecurityIncidentExists checks the presence of a single record by primary key
func IamSecurityPolicyExists ¶ added in v1.7.0
func IamSecurityPolicyExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string) (bool, error)
IamSecurityPolicyExists checks the presence of a single record by primary key
func IamServiceAccountExists ¶
IamServiceAccountExists checks the presence of a single record by primary key
func IamSessionExists ¶
IamSessionExists checks the presence of a single record by primary key
func IamSigningKeyExists ¶
IamSigningKeyExists checks the presence of a single record by primary key
func IamSsoConnectionExists ¶
IamSsoConnectionExists checks the presence of a single record by primary key
func IamTokenProfileExists ¶
IamTokenProfileExists checks the presence of a single record by primary key
func IamUserExists ¶
IamUserExists checks the presence of a single record by primary key
func IamUserRoleExists ¶ added in v1.6.3
func IamUserRoleExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, UserIDPK string, RolePK string) (bool, error)
IamUserRoleExists checks the presence of a single record by primary key
func IamWebauthnCredentialExists ¶
IamWebauthnCredentialExists checks the presence of a single record by primary key
func IamWebhookDeliveryExists ¶ added in v1.4.0
IamWebhookDeliveryExists checks the presence of a single record by primary key
func IamWebhookExists ¶
IamWebhookExists checks the presence of a single record by primary key
func Where ¶
func Where[Q psql.Filterable]() struct { IamSecurityPolicies iamSecurityPolicyWhere[Q] IamSecurityGuards iamSecurityGuardWhere[Q] IamSecurityDevices iamSecurityDeviceWhere[Q] IamSecurityIncidents iamSecurityIncidentWhere[Q] IamSecurityContinuations iamSecurityContinuationWhere[Q] IamSecurityCases iamSecurityCaseWhere[Q] IamSecurityDeliveries iamSecurityDeliveryWhere[Q] IamSecurityAttempts iamSecurityAttemptWhere[Q] IamSecurityCaseDecisions iamSecurityCaseDecisionWhere[Q] IamUsers iamUserWhere[Q] IamUserRoles iamUserRoleWhere[Q] IamCredentials iamCredentialWhere[Q] IamIdentities iamIdentityWhere[Q] IamSessions iamSessionWhere[Q] IamRefreshTokens iamRefreshTokenWhere[Q] IamRevokedTokens iamRevokedTokenWhere[Q] IamFactors iamFactorWhere[Q] IamWebauthnCredentials iamWebauthnCredentialWhere[Q] IamRecoveryCodes iamRecoveryCodeWhere[Q] IamChallenges iamChallengeWhere[Q] IamFlows iamFlowWhere[Q] IamConsents iamConsentWhere[Q] IamInvites iamInviteWhere[Q] IamServiceAccounts iamServiceAccountWhere[Q] IamAPIKeys iamAPIKeyWhere[Q] IamAppClients iamAppClientWhere[Q] IamAppSecrets iamAppSecretWhere[Q] IamSsoConnections iamSsoConnectionWhere[Q] IamDomains iamDomainWhere[Q] IamScimTokens iamScimTokenWhere[Q] IamScimResources iamScimResourceWhere[Q] IamOauthGrants iamOauthGrantWhere[Q] IamInteractions iamInteractionWhere[Q] IamAuthCodes iamAuthCodeWhere[Q] IamParRequests iamParRequestWhere[Q] IamDeviceCodes iamDeviceCodeWhere[Q] IamProjects iamProjectWhere[Q] IamEnvironments iamEnvironmentWhere[Q] IamSigningKeys iamSigningKeyWhere[Q] IamTokenProfiles iamTokenProfileWhere[Q] IamAdminTokens iamAdminTokenWhere[Q] IamConfigs iamConfigWhere[Q] IamProviders iamProviderWhere[Q] IamEmailTemplates iamEmailTemplateWhere[Q] IamWebhooks iamWebhookWhere[Q] IamHooks iamHookWhere[Q] IamJobs iamJobWhere[Q] IamAuditLogs iamAuditLogWhere[Q] IamAccessRequests iamAccessRequestWhere[Q] IamRiskRules iamRiskRuleWhere[Q] IamBlocks iamBlockWhere[Q] IamActivities iamActivityWhere[Q] IamEvents iamEventWhere[Q] IamWebhookDeliveries iamWebhookDeliveryWhere[Q] IamAccountDeletions iamAccountDeletionWhere[Q] }
Types ¶
type IamAPIKey ¶
type IamAPIKey struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Prefix string `db:"prefix" `
Hash string `db:"hash" `
Disabled bool `db:"disabled" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamAPIKey is an object representing the database table.
func FindIamAPIKey ¶
func FindIamAPIKey(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAPIKey, error)
FindIamAPIKey retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAPIKey) AfterQueryHook ¶
func (o *IamAPIKey) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAPIKey is retrieved from the database
type IamAPIKeySetter ¶
type IamAPIKeySetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Prefix *string `db:"prefix" `
Hash *string `db:"hash" `
Disabled *bool `db:"disabled" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamAPIKeySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAPIKeySetter) Apply ¶
func (s *IamAPIKeySetter) Apply(q *dialect.InsertQuery)
func (IamAPIKeySetter) Expressions ¶
func (s IamAPIKeySetter) Expressions(prefix ...string) []bob.Expression
func (IamAPIKeySetter) Overwrite ¶
func (s IamAPIKeySetter) Overwrite(t *IamAPIKey)
func (IamAPIKeySetter) SetColumns ¶
func (s IamAPIKeySetter) SetColumns() []string
func (IamAPIKeySetter) UpdateMod ¶
func (s IamAPIKeySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAPIKeySlice ¶
type IamAPIKeySlice []*IamAPIKey
IamAPIKeySlice is an alias for a slice of pointers to IamAPIKey. This should almost always be used instead of []*IamAPIKey.
func (IamAPIKeySlice) AfterQueryHook ¶
func (o IamAPIKeySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAPIKeySlice is retrieved from the database
func (IamAPIKeySlice) DeleteMod ¶
func (o IamAPIKeySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAPIKeySlice) MergeMod ¶
func (o IamAPIKeySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAPIKeySlice) UpdateAll ¶
func (o IamAPIKeySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAPIKeySetter) error
func (IamAPIKeySlice) UpdateMod ¶
func (o IamAPIKeySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAPIKeysQuery ¶
type IamAPIKeysQuery = *psql.ViewQuery[*IamAPIKey, IamAPIKeySlice]
IamAPIKeysQuery is a query on the iam_api_keys table
type IamAccessRequest ¶
type IamAccessRequest struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Email string `db:"email" `
Status string `db:"status" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamAccessRequest is an object representing the database table.
func FindIamAccessRequest ¶
func FindIamAccessRequest(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAccessRequest, error)
FindIamAccessRequest retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAccessRequest) AfterQueryHook ¶
func (o *IamAccessRequest) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAccessRequest is retrieved from the database
func (*IamAccessRequest) Update ¶
func (o *IamAccessRequest) Update(ctx context.Context, exec bob.Executor, s *IamAccessRequestSetter) error
Update uses an executor to update the IamAccessRequest
type IamAccessRequestSetter ¶
type IamAccessRequestSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Email *string `db:"email" `
Status *string `db:"status" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamAccessRequestSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAccessRequestSetter) Apply ¶
func (s *IamAccessRequestSetter) Apply(q *dialect.InsertQuery)
func (IamAccessRequestSetter) Expressions ¶
func (s IamAccessRequestSetter) Expressions(prefix ...string) []bob.Expression
func (IamAccessRequestSetter) Overwrite ¶
func (s IamAccessRequestSetter) Overwrite(t *IamAccessRequest)
func (IamAccessRequestSetter) SetColumns ¶
func (s IamAccessRequestSetter) SetColumns() []string
func (IamAccessRequestSetter) UpdateMod ¶
func (s IamAccessRequestSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAccessRequestSlice ¶
type IamAccessRequestSlice []*IamAccessRequest
IamAccessRequestSlice is an alias for a slice of pointers to IamAccessRequest. This should almost always be used instead of []*IamAccessRequest.
func (IamAccessRequestSlice) AfterQueryHook ¶
func (o IamAccessRequestSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAccessRequestSlice is retrieved from the database
func (IamAccessRequestSlice) DeleteMod ¶
func (o IamAccessRequestSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAccessRequestSlice) MergeMod ¶
func (o IamAccessRequestSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAccessRequestSlice) UpdateAll ¶
func (o IamAccessRequestSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAccessRequestSetter) error
func (IamAccessRequestSlice) UpdateMod ¶
func (o IamAccessRequestSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAccessRequestsQuery ¶
type IamAccessRequestsQuery = *psql.ViewQuery[*IamAccessRequest, IamAccessRequestSlice]
IamAccessRequestsQuery is a query on the iam_access_requests table
type IamAccountDeletion ¶ added in v1.7.0
type IamAccountDeletion struct {
ProjectID string `db:"project_id,pk" `
Environment string `db:"environment,pk" `
UserID string `db:"user_id,pk" `
RequestID string `db:"request_id" `
Status string `db:"status" `
DeleteAt time.Time `db:"delete_at" `
Data json.RawMessage `db:"data" `
}
IamAccountDeletion is an object representing the database table.
func FindIamAccountDeletion ¶ added in v1.7.0
func FindIamAccountDeletion(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, UserIDPK string, cols ...string) (*IamAccountDeletion, error)
FindIamAccountDeletion retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAccountDeletion) AfterQueryHook ¶ added in v1.7.0
func (o *IamAccountDeletion) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAccountDeletion is retrieved from the database
func (*IamAccountDeletion) Delete ¶ added in v1.7.0
Delete deletes a single IamAccountDeletion record with an executor
func (*IamAccountDeletion) Reload ¶ added in v1.7.0
Reload refreshes the IamAccountDeletion using the executor
func (*IamAccountDeletion) Update ¶ added in v1.7.0
func (o *IamAccountDeletion) Update(ctx context.Context, exec bob.Executor, s *IamAccountDeletionSetter) error
Update uses an executor to update the IamAccountDeletion
type IamAccountDeletionSetter ¶ added in v1.7.0
type IamAccountDeletionSetter struct {
ProjectID *string `db:"project_id,pk" `
Environment *string `db:"environment,pk" `
UserID *string `db:"user_id,pk" `
RequestID *string `db:"request_id" `
Status *string `db:"status" `
DeleteAt *time.Time `db:"delete_at" `
Data *json.RawMessage `db:"data" `
}
IamAccountDeletionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAccountDeletionSetter) Apply ¶ added in v1.7.0
func (s *IamAccountDeletionSetter) Apply(q *dialect.InsertQuery)
func (IamAccountDeletionSetter) Expressions ¶ added in v1.7.0
func (s IamAccountDeletionSetter) Expressions(prefix ...string) []bob.Expression
func (IamAccountDeletionSetter) Overwrite ¶ added in v1.7.0
func (s IamAccountDeletionSetter) Overwrite(t *IamAccountDeletion)
func (IamAccountDeletionSetter) SetColumns ¶ added in v1.7.0
func (s IamAccountDeletionSetter) SetColumns() []string
func (IamAccountDeletionSetter) UpdateMod ¶ added in v1.7.0
func (s IamAccountDeletionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAccountDeletionSlice ¶ added in v1.7.0
type IamAccountDeletionSlice []*IamAccountDeletion
IamAccountDeletionSlice is an alias for a slice of pointers to IamAccountDeletion. This should almost always be used instead of []*IamAccountDeletion.
func (IamAccountDeletionSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamAccountDeletionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAccountDeletionSlice is retrieved from the database
func (IamAccountDeletionSlice) DeleteMod ¶ added in v1.7.0
func (o IamAccountDeletionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAccountDeletionSlice) MergeMod ¶ added in v1.7.0
func (o IamAccountDeletionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAccountDeletionSlice) UpdateAll ¶ added in v1.7.0
func (o IamAccountDeletionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAccountDeletionSetter) error
func (IamAccountDeletionSlice) UpdateMod ¶ added in v1.7.0
func (o IamAccountDeletionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAccountDeletionsQuery ¶ added in v1.7.0
type IamAccountDeletionsQuery = *psql.ViewQuery[*IamAccountDeletion, IamAccountDeletionSlice]
IamAccountDeletionsQuery is a query on the iam_account_deletions table
type IamActivitiesQuery ¶
type IamActivitiesQuery = *psql.ViewQuery[*IamActivity, IamActivitySlice]
IamActivitiesQuery is a query on the iam_activity table
type IamActivity ¶
type IamActivity struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Type string `db:"type" `
At time.Time `db:"at" `
Data json.RawMessage `db:"data" `
}
IamActivity is an object representing the database table.
func FindIamActivity ¶
func FindIamActivity(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamActivity, error)
FindIamActivity retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamActivity) AfterQueryHook ¶
func (o *IamActivity) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamActivity is retrieved from the database
func (*IamActivity) Update ¶
func (o *IamActivity) Update(ctx context.Context, exec bob.Executor, s *IamActivitySetter) error
Update uses an executor to update the IamActivity
type IamActivitySetter ¶
type IamActivitySetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Type *string `db:"type" `
At *time.Time `db:"at" `
Data *json.RawMessage `db:"data" `
}
IamActivitySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamActivitySetter) Apply ¶
func (s *IamActivitySetter) Apply(q *dialect.InsertQuery)
func (IamActivitySetter) Expressions ¶
func (s IamActivitySetter) Expressions(prefix ...string) []bob.Expression
func (IamActivitySetter) Overwrite ¶
func (s IamActivitySetter) Overwrite(t *IamActivity)
func (IamActivitySetter) SetColumns ¶
func (s IamActivitySetter) SetColumns() []string
func (IamActivitySetter) UpdateMod ¶
func (s IamActivitySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamActivitySlice ¶
type IamActivitySlice []*IamActivity
IamActivitySlice is an alias for a slice of pointers to IamActivity. This should almost always be used instead of []*IamActivity.
func (IamActivitySlice) AfterQueryHook ¶
func (o IamActivitySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamActivitySlice is retrieved from the database
func (IamActivitySlice) DeleteMod ¶
func (o IamActivitySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamActivitySlice) MergeMod ¶
func (o IamActivitySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamActivitySlice) UpdateAll ¶
func (o IamActivitySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamActivitySetter) error
func (IamActivitySlice) UpdateMod ¶
func (o IamActivitySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAdminToken ¶
type IamAdminToken struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Hash string `db:"hash" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamAdminToken is an object representing the database table.
func FindIamAdminToken ¶
func FindIamAdminToken(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAdminToken, error)
FindIamAdminToken retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAdminToken) AfterQueryHook ¶
func (o *IamAdminToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAdminToken is retrieved from the database
func (*IamAdminToken) Update ¶
func (o *IamAdminToken) Update(ctx context.Context, exec bob.Executor, s *IamAdminTokenSetter) error
Update uses an executor to update the IamAdminToken
type IamAdminTokenSetter ¶
type IamAdminTokenSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Hash *string `db:"hash" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamAdminTokenSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAdminTokenSetter) Apply ¶
func (s *IamAdminTokenSetter) Apply(q *dialect.InsertQuery)
func (IamAdminTokenSetter) Expressions ¶
func (s IamAdminTokenSetter) Expressions(prefix ...string) []bob.Expression
func (IamAdminTokenSetter) Overwrite ¶
func (s IamAdminTokenSetter) Overwrite(t *IamAdminToken)
func (IamAdminTokenSetter) SetColumns ¶
func (s IamAdminTokenSetter) SetColumns() []string
func (IamAdminTokenSetter) UpdateMod ¶
func (s IamAdminTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAdminTokenSlice ¶
type IamAdminTokenSlice []*IamAdminToken
IamAdminTokenSlice is an alias for a slice of pointers to IamAdminToken. This should almost always be used instead of []*IamAdminToken.
func (IamAdminTokenSlice) AfterQueryHook ¶
func (o IamAdminTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAdminTokenSlice is retrieved from the database
func (IamAdminTokenSlice) DeleteMod ¶
func (o IamAdminTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAdminTokenSlice) MergeMod ¶
func (o IamAdminTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAdminTokenSlice) UpdateAll ¶
func (o IamAdminTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAdminTokenSetter) error
func (IamAdminTokenSlice) UpdateMod ¶
func (o IamAdminTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAdminTokensQuery ¶
type IamAdminTokensQuery = *psql.ViewQuery[*IamAdminToken, IamAdminTokenSlice]
IamAdminTokensQuery is a query on the iam_admin_tokens table
type IamAppClient ¶
type IamAppClient struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Name string `db:"name" `
Type string `db:"type" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamAppClient is an object representing the database table.
func FindIamAppClient ¶
func FindIamAppClient(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAppClient, error)
FindIamAppClient retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAppClient) AfterQueryHook ¶
func (o *IamAppClient) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAppClient is retrieved from the database
func (*IamAppClient) Update ¶
func (o *IamAppClient) Update(ctx context.Context, exec bob.Executor, s *IamAppClientSetter) error
Update uses an executor to update the IamAppClient
type IamAppClientSetter ¶
type IamAppClientSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Name *string `db:"name" `
Type *string `db:"type" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamAppClientSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAppClientSetter) Apply ¶
func (s *IamAppClientSetter) Apply(q *dialect.InsertQuery)
func (IamAppClientSetter) Expressions ¶
func (s IamAppClientSetter) Expressions(prefix ...string) []bob.Expression
func (IamAppClientSetter) Overwrite ¶
func (s IamAppClientSetter) Overwrite(t *IamAppClient)
func (IamAppClientSetter) SetColumns ¶
func (s IamAppClientSetter) SetColumns() []string
func (IamAppClientSetter) UpdateMod ¶
func (s IamAppClientSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAppClientSlice ¶
type IamAppClientSlice []*IamAppClient
IamAppClientSlice is an alias for a slice of pointers to IamAppClient. This should almost always be used instead of []*IamAppClient.
func (IamAppClientSlice) AfterQueryHook ¶
func (o IamAppClientSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAppClientSlice is retrieved from the database
func (IamAppClientSlice) DeleteMod ¶
func (o IamAppClientSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAppClientSlice) MergeMod ¶
func (o IamAppClientSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAppClientSlice) UpdateAll ¶
func (o IamAppClientSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAppClientSetter) error
func (IamAppClientSlice) UpdateMod ¶
func (o IamAppClientSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAppClientsQuery ¶
type IamAppClientsQuery = *psql.ViewQuery[*IamAppClient, IamAppClientSlice]
IamAppClientsQuery is a query on the iam_app_clients table
type IamAppSecret ¶
type IamAppSecret struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
AppID string `db:"app_id" `
Hash string `db:"hash" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamAppSecret is an object representing the database table.
func FindIamAppSecret ¶
func FindIamAppSecret(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAppSecret, error)
FindIamAppSecret retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAppSecret) AfterQueryHook ¶
func (o *IamAppSecret) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAppSecret is retrieved from the database
func (*IamAppSecret) Update ¶
func (o *IamAppSecret) Update(ctx context.Context, exec bob.Executor, s *IamAppSecretSetter) error
Update uses an executor to update the IamAppSecret
type IamAppSecretSetter ¶
type IamAppSecretSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
AppID *string `db:"app_id" `
Hash *string `db:"hash" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamAppSecretSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAppSecretSetter) Apply ¶
func (s *IamAppSecretSetter) Apply(q *dialect.InsertQuery)
func (IamAppSecretSetter) Expressions ¶
func (s IamAppSecretSetter) Expressions(prefix ...string) []bob.Expression
func (IamAppSecretSetter) Overwrite ¶
func (s IamAppSecretSetter) Overwrite(t *IamAppSecret)
func (IamAppSecretSetter) SetColumns ¶
func (s IamAppSecretSetter) SetColumns() []string
func (IamAppSecretSetter) UpdateMod ¶
func (s IamAppSecretSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAppSecretSlice ¶
type IamAppSecretSlice []*IamAppSecret
IamAppSecretSlice is an alias for a slice of pointers to IamAppSecret. This should almost always be used instead of []*IamAppSecret.
func (IamAppSecretSlice) AfterQueryHook ¶
func (o IamAppSecretSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAppSecretSlice is retrieved from the database
func (IamAppSecretSlice) DeleteMod ¶
func (o IamAppSecretSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAppSecretSlice) MergeMod ¶
func (o IamAppSecretSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAppSecretSlice) UpdateAll ¶
func (o IamAppSecretSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAppSecretSetter) error
func (IamAppSecretSlice) UpdateMod ¶
func (o IamAppSecretSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAppSecretsQuery ¶
type IamAppSecretsQuery = *psql.ViewQuery[*IamAppSecret, IamAppSecretSlice]
IamAppSecretsQuery is a query on the iam_app_secrets table
type IamAuditLog ¶
type IamAuditLog struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Type string `db:"type" `
ActorID null.Val[string] `db:"actor_id" `
TargetID null.Val[string] `db:"target_id" `
At time.Time `db:"at" `
Data json.RawMessage `db:"data" `
}
IamAuditLog is an object representing the database table.
func FindIamAuditLog ¶
func FindIamAuditLog(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAuditLog, error)
FindIamAuditLog retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAuditLog) AfterQueryHook ¶
func (o *IamAuditLog) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAuditLog is retrieved from the database
func (*IamAuditLog) Update ¶
func (o *IamAuditLog) Update(ctx context.Context, exec bob.Executor, s *IamAuditLogSetter) error
Update uses an executor to update the IamAuditLog
type IamAuditLogSetter ¶
type IamAuditLogSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Type *string `db:"type" `
ActorID *null.Val[string] `db:"actor_id" `
TargetID *null.Val[string] `db:"target_id" `
At *time.Time `db:"at" `
Data *json.RawMessage `db:"data" `
}
IamAuditLogSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAuditLogSetter) Apply ¶
func (s *IamAuditLogSetter) Apply(q *dialect.InsertQuery)
func (IamAuditLogSetter) Expressions ¶
func (s IamAuditLogSetter) Expressions(prefix ...string) []bob.Expression
func (IamAuditLogSetter) Overwrite ¶
func (s IamAuditLogSetter) Overwrite(t *IamAuditLog)
func (IamAuditLogSetter) SetColumns ¶
func (s IamAuditLogSetter) SetColumns() []string
func (IamAuditLogSetter) UpdateMod ¶
func (s IamAuditLogSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAuditLogSlice ¶
type IamAuditLogSlice []*IamAuditLog
IamAuditLogSlice is an alias for a slice of pointers to IamAuditLog. This should almost always be used instead of []*IamAuditLog.
func (IamAuditLogSlice) AfterQueryHook ¶
func (o IamAuditLogSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAuditLogSlice is retrieved from the database
func (IamAuditLogSlice) DeleteMod ¶
func (o IamAuditLogSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAuditLogSlice) MergeMod ¶
func (o IamAuditLogSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAuditLogSlice) UpdateAll ¶
func (o IamAuditLogSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAuditLogSetter) error
func (IamAuditLogSlice) UpdateMod ¶
func (o IamAuditLogSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAuditLogsQuery ¶
type IamAuditLogsQuery = *psql.ViewQuery[*IamAuditLog, IamAuditLogSlice]
IamAuditLogsQuery is a query on the iam_audit_logs table
type IamAuthCode ¶
type IamAuthCode struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
CodeHash string `db:"code_hash" `
ClientID null.Val[string] `db:"client_id" `
UserID null.Val[string] `db:"user_id" `
ExpiresAt time.Time `db:"expires_at" `
Consumed bool `db:"consumed" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamAuthCode is an object representing the database table.
func FindIamAuthCode ¶
func FindIamAuthCode(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAuthCode, error)
FindIamAuthCode retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamAuthCode) AfterQueryHook ¶
func (o *IamAuthCode) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAuthCode is retrieved from the database
func (*IamAuthCode) Update ¶
func (o *IamAuthCode) Update(ctx context.Context, exec bob.Executor, s *IamAuthCodeSetter) error
Update uses an executor to update the IamAuthCode
type IamAuthCodeSetter ¶
type IamAuthCodeSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
CodeHash *string `db:"code_hash" `
ClientID *null.Val[string] `db:"client_id" `
UserID *null.Val[string] `db:"user_id" `
ExpiresAt *time.Time `db:"expires_at" `
Consumed *bool `db:"consumed" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamAuthCodeSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamAuthCodeSetter) Apply ¶
func (s *IamAuthCodeSetter) Apply(q *dialect.InsertQuery)
func (IamAuthCodeSetter) Expressions ¶
func (s IamAuthCodeSetter) Expressions(prefix ...string) []bob.Expression
func (IamAuthCodeSetter) Overwrite ¶
func (s IamAuthCodeSetter) Overwrite(t *IamAuthCode)
func (IamAuthCodeSetter) SetColumns ¶
func (s IamAuthCodeSetter) SetColumns() []string
func (IamAuthCodeSetter) UpdateMod ¶
func (s IamAuthCodeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamAuthCodeSlice ¶
type IamAuthCodeSlice []*IamAuthCode
IamAuthCodeSlice is an alias for a slice of pointers to IamAuthCode. This should almost always be used instead of []*IamAuthCode.
func (IamAuthCodeSlice) AfterQueryHook ¶
func (o IamAuthCodeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamAuthCodeSlice is retrieved from the database
func (IamAuthCodeSlice) DeleteMod ¶
func (o IamAuthCodeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamAuthCodeSlice) MergeMod ¶
func (o IamAuthCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamAuthCodeSlice) UpdateAll ¶
func (o IamAuthCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAuthCodeSetter) error
func (IamAuthCodeSlice) UpdateMod ¶
func (o IamAuthCodeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamAuthCodesQuery ¶
type IamAuthCodesQuery = *psql.ViewQuery[*IamAuthCode, IamAuthCodeSlice]
IamAuthCodesQuery is a query on the iam_auth_codes table
type IamBlock ¶
type IamBlock struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Subject string `db:"subject" `
CreatedAt time.Time `db:"created_at" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
Data json.RawMessage `db:"data" `
}
IamBlock is an object representing the database table.
func FindIamBlock ¶
func FindIamBlock(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamBlock, error)
FindIamBlock retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamBlock) AfterQueryHook ¶
func (o *IamBlock) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamBlock is retrieved from the database
type IamBlockSetter ¶
type IamBlockSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Subject *string `db:"subject" `
CreatedAt *time.Time `db:"created_at" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
Data *json.RawMessage `db:"data" `
}
IamBlockSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamBlockSetter) Apply ¶
func (s *IamBlockSetter) Apply(q *dialect.InsertQuery)
func (IamBlockSetter) Expressions ¶
func (s IamBlockSetter) Expressions(prefix ...string) []bob.Expression
func (IamBlockSetter) Overwrite ¶
func (s IamBlockSetter) Overwrite(t *IamBlock)
func (IamBlockSetter) SetColumns ¶
func (s IamBlockSetter) SetColumns() []string
func (IamBlockSetter) UpdateMod ¶
func (s IamBlockSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamBlockSlice ¶
type IamBlockSlice []*IamBlock
IamBlockSlice is an alias for a slice of pointers to IamBlock. This should almost always be used instead of []*IamBlock.
func (IamBlockSlice) AfterQueryHook ¶
func (o IamBlockSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamBlockSlice is retrieved from the database
func (IamBlockSlice) DeleteMod ¶
func (o IamBlockSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamBlockSlice) MergeMod ¶
func (o IamBlockSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamBlockSlice) UpdateAll ¶
func (o IamBlockSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamBlockSetter) error
func (IamBlockSlice) UpdateMod ¶
func (o IamBlockSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamBlocksQuery ¶
type IamBlocksQuery = *psql.ViewQuery[*IamBlock, IamBlockSlice]
IamBlocksQuery is a query on the iam_blocks table
type IamChallenge ¶
type IamChallenge struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Type string `db:"type" `
Subject null.Val[string] `db:"subject" `
CodeHash null.Val[string] `db:"code_hash" `
ExpiresAt time.Time `db:"expires_at" `
Consumed bool `db:"consumed" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamChallenge is an object representing the database table.
func FindIamChallenge ¶
func FindIamChallenge(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamChallenge, error)
FindIamChallenge retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamChallenge) AfterQueryHook ¶
func (o *IamChallenge) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamChallenge is retrieved from the database
func (*IamChallenge) Update ¶
func (o *IamChallenge) Update(ctx context.Context, exec bob.Executor, s *IamChallengeSetter) error
Update uses an executor to update the IamChallenge
type IamChallengeSetter ¶
type IamChallengeSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Type *string `db:"type" `
Subject *null.Val[string] `db:"subject" `
CodeHash *null.Val[string] `db:"code_hash" `
ExpiresAt *time.Time `db:"expires_at" `
Consumed *bool `db:"consumed" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamChallengeSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamChallengeSetter) Apply ¶
func (s *IamChallengeSetter) Apply(q *dialect.InsertQuery)
func (IamChallengeSetter) Expressions ¶
func (s IamChallengeSetter) Expressions(prefix ...string) []bob.Expression
func (IamChallengeSetter) Overwrite ¶
func (s IamChallengeSetter) Overwrite(t *IamChallenge)
func (IamChallengeSetter) SetColumns ¶
func (s IamChallengeSetter) SetColumns() []string
func (IamChallengeSetter) UpdateMod ¶
func (s IamChallengeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamChallengeSlice ¶
type IamChallengeSlice []*IamChallenge
IamChallengeSlice is an alias for a slice of pointers to IamChallenge. This should almost always be used instead of []*IamChallenge.
func (IamChallengeSlice) AfterQueryHook ¶
func (o IamChallengeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamChallengeSlice is retrieved from the database
func (IamChallengeSlice) DeleteMod ¶
func (o IamChallengeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamChallengeSlice) MergeMod ¶
func (o IamChallengeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamChallengeSlice) UpdateAll ¶
func (o IamChallengeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamChallengeSetter) error
func (IamChallengeSlice) UpdateMod ¶
func (o IamChallengeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamChallengesQuery ¶
type IamChallengesQuery = *psql.ViewQuery[*IamChallenge, IamChallengeSlice]
IamChallengesQuery is a query on the iam_challenges table
type IamConfig ¶
type IamConfig struct {
ProjectID string `db:"project_id,pk" `
Environment string `db:"environment,pk" `
Key string `db:"key,pk" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamConfig is an object representing the database table.
func FindIamConfig ¶
func FindIamConfig(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, KeyPK string, cols ...string) (*IamConfig, error)
FindIamConfig retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamConfig) AfterQueryHook ¶
func (o *IamConfig) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamConfig is retrieved from the database
type IamConfigSetter ¶
type IamConfigSetter struct {
ProjectID *string `db:"project_id,pk" `
Environment *string `db:"environment,pk" `
Key *string `db:"key,pk" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamConfigSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamConfigSetter) Apply ¶
func (s *IamConfigSetter) Apply(q *dialect.InsertQuery)
func (IamConfigSetter) Expressions ¶
func (s IamConfigSetter) Expressions(prefix ...string) []bob.Expression
func (IamConfigSetter) Overwrite ¶
func (s IamConfigSetter) Overwrite(t *IamConfig)
func (IamConfigSetter) SetColumns ¶
func (s IamConfigSetter) SetColumns() []string
func (IamConfigSetter) UpdateMod ¶
func (s IamConfigSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamConfigSlice ¶
type IamConfigSlice []*IamConfig
IamConfigSlice is an alias for a slice of pointers to IamConfig. This should almost always be used instead of []*IamConfig.
func (IamConfigSlice) AfterQueryHook ¶
func (o IamConfigSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamConfigSlice is retrieved from the database
func (IamConfigSlice) DeleteMod ¶
func (o IamConfigSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamConfigSlice) MergeMod ¶
func (o IamConfigSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamConfigSlice) UpdateAll ¶
func (o IamConfigSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamConfigSetter) error
func (IamConfigSlice) UpdateMod ¶
func (o IamConfigSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamConfigsQuery ¶
type IamConfigsQuery = *psql.ViewQuery[*IamConfig, IamConfigSlice]
IamConfigsQuery is a query on the iam_config table
type IamConsent ¶
type IamConsent struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
DocKey string `db:"doc_key" `
Version string `db:"version" `
Locale null.Val[string] `db:"locale" `
AcceptedAt time.Time `db:"accepted_at" `
}
IamConsent is an object representing the database table.
func FindIamConsent ¶
func FindIamConsent(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamConsent, error)
FindIamConsent retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamConsent) AfterQueryHook ¶
func (o *IamConsent) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamConsent is retrieved from the database
func (*IamConsent) Update ¶
func (o *IamConsent) Update(ctx context.Context, exec bob.Executor, s *IamConsentSetter) error
Update uses an executor to update the IamConsent
type IamConsentSetter ¶
type IamConsentSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
DocKey *string `db:"doc_key" `
Version *string `db:"version" `
Locale *null.Val[string] `db:"locale" `
AcceptedAt *time.Time `db:"accepted_at" `
}
IamConsentSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamConsentSetter) Apply ¶
func (s *IamConsentSetter) Apply(q *dialect.InsertQuery)
func (IamConsentSetter) Expressions ¶
func (s IamConsentSetter) Expressions(prefix ...string) []bob.Expression
func (IamConsentSetter) Overwrite ¶
func (s IamConsentSetter) Overwrite(t *IamConsent)
func (IamConsentSetter) SetColumns ¶
func (s IamConsentSetter) SetColumns() []string
func (IamConsentSetter) UpdateMod ¶
func (s IamConsentSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamConsentSlice ¶
type IamConsentSlice []*IamConsent
IamConsentSlice is an alias for a slice of pointers to IamConsent. This should almost always be used instead of []*IamConsent.
func (IamConsentSlice) AfterQueryHook ¶
func (o IamConsentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamConsentSlice is retrieved from the database
func (IamConsentSlice) DeleteMod ¶
func (o IamConsentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamConsentSlice) MergeMod ¶
func (o IamConsentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamConsentSlice) UpdateAll ¶
func (o IamConsentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamConsentSetter) error
func (IamConsentSlice) UpdateMod ¶
func (o IamConsentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamConsentsQuery ¶
type IamConsentsQuery = *psql.ViewQuery[*IamConsent, IamConsentSlice]
IamConsentsQuery is a query on the iam_consents table
type IamCredential ¶
type IamCredential struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Type string `db:"type" `
Secret string `db:"secret" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamCredential is an object representing the database table.
func FindIamCredential ¶
func FindIamCredential(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamCredential, error)
FindIamCredential retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamCredential) AfterQueryHook ¶
func (o *IamCredential) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamCredential is retrieved from the database
func (*IamCredential) Update ¶
func (o *IamCredential) Update(ctx context.Context, exec bob.Executor, s *IamCredentialSetter) error
Update uses an executor to update the IamCredential
type IamCredentialSetter ¶
type IamCredentialSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Type *string `db:"type" `
Secret *string `db:"secret" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamCredentialSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamCredentialSetter) Apply ¶
func (s *IamCredentialSetter) Apply(q *dialect.InsertQuery)
func (IamCredentialSetter) Expressions ¶
func (s IamCredentialSetter) Expressions(prefix ...string) []bob.Expression
func (IamCredentialSetter) Overwrite ¶
func (s IamCredentialSetter) Overwrite(t *IamCredential)
func (IamCredentialSetter) SetColumns ¶
func (s IamCredentialSetter) SetColumns() []string
func (IamCredentialSetter) UpdateMod ¶
func (s IamCredentialSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamCredentialSlice ¶
type IamCredentialSlice []*IamCredential
IamCredentialSlice is an alias for a slice of pointers to IamCredential. This should almost always be used instead of []*IamCredential.
func (IamCredentialSlice) AfterQueryHook ¶
func (o IamCredentialSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamCredentialSlice is retrieved from the database
func (IamCredentialSlice) DeleteMod ¶
func (o IamCredentialSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamCredentialSlice) MergeMod ¶
func (o IamCredentialSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamCredentialSlice) UpdateAll ¶
func (o IamCredentialSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamCredentialSetter) error
func (IamCredentialSlice) UpdateMod ¶
func (o IamCredentialSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamCredentialsQuery ¶
type IamCredentialsQuery = *psql.ViewQuery[*IamCredential, IamCredentialSlice]
IamCredentialsQuery is a query on the iam_credentials table
type IamDeviceCode ¶
type IamDeviceCode struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
DeviceCode string `db:"device_code" `
UserCode string `db:"user_code" `
Status string `db:"status" `
UserID null.Val[string] `db:"user_id" `
ExpiresAt time.Time `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamDeviceCode is an object representing the database table.
func FindIamDeviceCode ¶
func FindIamDeviceCode(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamDeviceCode, error)
FindIamDeviceCode retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamDeviceCode) AfterQueryHook ¶
func (o *IamDeviceCode) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamDeviceCode is retrieved from the database
func (*IamDeviceCode) Update ¶
func (o *IamDeviceCode) Update(ctx context.Context, exec bob.Executor, s *IamDeviceCodeSetter) error
Update uses an executor to update the IamDeviceCode
type IamDeviceCodeSetter ¶
type IamDeviceCodeSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
DeviceCode *string `db:"device_code" `
UserCode *string `db:"user_code" `
Status *string `db:"status" `
UserID *null.Val[string] `db:"user_id" `
ExpiresAt *time.Time `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamDeviceCodeSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamDeviceCodeSetter) Apply ¶
func (s *IamDeviceCodeSetter) Apply(q *dialect.InsertQuery)
func (IamDeviceCodeSetter) Expressions ¶
func (s IamDeviceCodeSetter) Expressions(prefix ...string) []bob.Expression
func (IamDeviceCodeSetter) Overwrite ¶
func (s IamDeviceCodeSetter) Overwrite(t *IamDeviceCode)
func (IamDeviceCodeSetter) SetColumns ¶
func (s IamDeviceCodeSetter) SetColumns() []string
func (IamDeviceCodeSetter) UpdateMod ¶
func (s IamDeviceCodeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamDeviceCodeSlice ¶
type IamDeviceCodeSlice []*IamDeviceCode
IamDeviceCodeSlice is an alias for a slice of pointers to IamDeviceCode. This should almost always be used instead of []*IamDeviceCode.
func (IamDeviceCodeSlice) AfterQueryHook ¶
func (o IamDeviceCodeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamDeviceCodeSlice is retrieved from the database
func (IamDeviceCodeSlice) DeleteMod ¶
func (o IamDeviceCodeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamDeviceCodeSlice) MergeMod ¶
func (o IamDeviceCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamDeviceCodeSlice) UpdateAll ¶
func (o IamDeviceCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamDeviceCodeSetter) error
func (IamDeviceCodeSlice) UpdateMod ¶
func (o IamDeviceCodeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamDeviceCodesQuery ¶
type IamDeviceCodesQuery = *psql.ViewQuery[*IamDeviceCode, IamDeviceCodeSlice]
IamDeviceCodesQuery is a query on the iam_device_codes table
type IamDomain ¶
type IamDomain struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
ConnectionID null.Val[string] `db:"connection_id" `
Domain string `db:"domain" `
Status string `db:"status" `
VerifiedAt null.Val[time.Time] `db:"verified_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamDomain is an object representing the database table.
func FindIamDomain ¶
func FindIamDomain(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamDomain, error)
FindIamDomain retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamDomain) AfterQueryHook ¶
func (o *IamDomain) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamDomain is retrieved from the database
type IamDomainSetter ¶
type IamDomainSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
ConnectionID *null.Val[string] `db:"connection_id" `
Domain *string `db:"domain" `
Status *string `db:"status" `
VerifiedAt *null.Val[time.Time] `db:"verified_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamDomainSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamDomainSetter) Apply ¶
func (s *IamDomainSetter) Apply(q *dialect.InsertQuery)
func (IamDomainSetter) Expressions ¶
func (s IamDomainSetter) Expressions(prefix ...string) []bob.Expression
func (IamDomainSetter) Overwrite ¶
func (s IamDomainSetter) Overwrite(t *IamDomain)
func (IamDomainSetter) SetColumns ¶
func (s IamDomainSetter) SetColumns() []string
func (IamDomainSetter) UpdateMod ¶
func (s IamDomainSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamDomainSlice ¶
type IamDomainSlice []*IamDomain
IamDomainSlice is an alias for a slice of pointers to IamDomain. This should almost always be used instead of []*IamDomain.
func (IamDomainSlice) AfterQueryHook ¶
func (o IamDomainSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamDomainSlice is retrieved from the database
func (IamDomainSlice) DeleteMod ¶
func (o IamDomainSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamDomainSlice) MergeMod ¶
func (o IamDomainSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamDomainSlice) UpdateAll ¶
func (o IamDomainSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamDomainSetter) error
func (IamDomainSlice) UpdateMod ¶
func (o IamDomainSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamDomainsQuery ¶
type IamDomainsQuery = *psql.ViewQuery[*IamDomain, IamDomainSlice]
IamDomainsQuery is a query on the iam_domains table
type IamEmailTemplate ¶
type IamEmailTemplate struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Key string `db:"key" `
Locale string `db:"locale" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamEmailTemplate is an object representing the database table.
func FindIamEmailTemplate ¶
func FindIamEmailTemplate(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamEmailTemplate, error)
FindIamEmailTemplate retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamEmailTemplate) AfterQueryHook ¶
func (o *IamEmailTemplate) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamEmailTemplate is retrieved from the database
func (*IamEmailTemplate) Update ¶
func (o *IamEmailTemplate) Update(ctx context.Context, exec bob.Executor, s *IamEmailTemplateSetter) error
Update uses an executor to update the IamEmailTemplate
type IamEmailTemplateSetter ¶
type IamEmailTemplateSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Key *string `db:"key" `
Locale *string `db:"locale" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamEmailTemplateSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamEmailTemplateSetter) Apply ¶
func (s *IamEmailTemplateSetter) Apply(q *dialect.InsertQuery)
func (IamEmailTemplateSetter) Expressions ¶
func (s IamEmailTemplateSetter) Expressions(prefix ...string) []bob.Expression
func (IamEmailTemplateSetter) Overwrite ¶
func (s IamEmailTemplateSetter) Overwrite(t *IamEmailTemplate)
func (IamEmailTemplateSetter) SetColumns ¶
func (s IamEmailTemplateSetter) SetColumns() []string
func (IamEmailTemplateSetter) UpdateMod ¶
func (s IamEmailTemplateSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamEmailTemplateSlice ¶
type IamEmailTemplateSlice []*IamEmailTemplate
IamEmailTemplateSlice is an alias for a slice of pointers to IamEmailTemplate. This should almost always be used instead of []*IamEmailTemplate.
func (IamEmailTemplateSlice) AfterQueryHook ¶
func (o IamEmailTemplateSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamEmailTemplateSlice is retrieved from the database
func (IamEmailTemplateSlice) DeleteMod ¶
func (o IamEmailTemplateSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamEmailTemplateSlice) MergeMod ¶
func (o IamEmailTemplateSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamEmailTemplateSlice) UpdateAll ¶
func (o IamEmailTemplateSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEmailTemplateSetter) error
func (IamEmailTemplateSlice) UpdateMod ¶
func (o IamEmailTemplateSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamEmailTemplatesQuery ¶
type IamEmailTemplatesQuery = *psql.ViewQuery[*IamEmailTemplate, IamEmailTemplateSlice]
IamEmailTemplatesQuery is a query on the iam_email_templates table
type IamEnvironment ¶
type IamEnvironment struct {
ProjectID string `db:"project_id,pk" `
Name string `db:"name,pk" `
Issuer null.Val[string] `db:"issuer" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamEnvironment is an object representing the database table.
func FindIamEnvironment ¶
func FindIamEnvironment(ctx context.Context, exec bob.Executor, ProjectIDPK string, NamePK string, cols ...string) (*IamEnvironment, error)
FindIamEnvironment retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamEnvironment) AfterQueryHook ¶
func (o *IamEnvironment) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamEnvironment is retrieved from the database
func (*IamEnvironment) Update ¶
func (o *IamEnvironment) Update(ctx context.Context, exec bob.Executor, s *IamEnvironmentSetter) error
Update uses an executor to update the IamEnvironment
type IamEnvironmentSetter ¶
type IamEnvironmentSetter struct {
ProjectID *string `db:"project_id,pk" `
Name *string `db:"name,pk" `
Issuer *null.Val[string] `db:"issuer" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamEnvironmentSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamEnvironmentSetter) Apply ¶
func (s *IamEnvironmentSetter) Apply(q *dialect.InsertQuery)
func (IamEnvironmentSetter) Expressions ¶
func (s IamEnvironmentSetter) Expressions(prefix ...string) []bob.Expression
func (IamEnvironmentSetter) Overwrite ¶
func (s IamEnvironmentSetter) Overwrite(t *IamEnvironment)
func (IamEnvironmentSetter) SetColumns ¶
func (s IamEnvironmentSetter) SetColumns() []string
func (IamEnvironmentSetter) UpdateMod ¶
func (s IamEnvironmentSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamEnvironmentSlice ¶
type IamEnvironmentSlice []*IamEnvironment
IamEnvironmentSlice is an alias for a slice of pointers to IamEnvironment. This should almost always be used instead of []*IamEnvironment.
func (IamEnvironmentSlice) AfterQueryHook ¶
func (o IamEnvironmentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamEnvironmentSlice is retrieved from the database
func (IamEnvironmentSlice) DeleteMod ¶
func (o IamEnvironmentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamEnvironmentSlice) MergeMod ¶
func (o IamEnvironmentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamEnvironmentSlice) UpdateAll ¶
func (o IamEnvironmentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEnvironmentSetter) error
func (IamEnvironmentSlice) UpdateMod ¶
func (o IamEnvironmentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamEnvironmentsQuery ¶
type IamEnvironmentsQuery = *psql.ViewQuery[*IamEnvironment, IamEnvironmentSlice]
IamEnvironmentsQuery is a query on the iam_environments table
type IamEvent ¶
type IamEvent struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
AggregateID string `db:"aggregate_id" `
UserID string `db:"user_id" `
Type string `db:"type" `
Published bool `db:"published" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamEvent is an object representing the database table.
func FindIamEvent ¶
func FindIamEvent(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamEvent, error)
FindIamEvent retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamEvent) AfterQueryHook ¶
func (o *IamEvent) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamEvent is retrieved from the database
type IamEventSetter ¶
type IamEventSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
AggregateID *string `db:"aggregate_id" `
UserID *string `db:"user_id" `
Type *string `db:"type" `
Published *bool `db:"published" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamEventSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamEventSetter) Apply ¶
func (s *IamEventSetter) Apply(q *dialect.InsertQuery)
func (IamEventSetter) Expressions ¶
func (s IamEventSetter) Expressions(prefix ...string) []bob.Expression
func (IamEventSetter) Overwrite ¶
func (s IamEventSetter) Overwrite(t *IamEvent)
func (IamEventSetter) SetColumns ¶
func (s IamEventSetter) SetColumns() []string
func (IamEventSetter) UpdateMod ¶
func (s IamEventSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamEventSlice ¶
type IamEventSlice []*IamEvent
IamEventSlice is an alias for a slice of pointers to IamEvent. This should almost always be used instead of []*IamEvent.
func (IamEventSlice) AfterQueryHook ¶
func (o IamEventSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamEventSlice is retrieved from the database
func (IamEventSlice) DeleteMod ¶
func (o IamEventSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamEventSlice) MergeMod ¶
func (o IamEventSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamEventSlice) UpdateAll ¶
func (o IamEventSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEventSetter) error
func (IamEventSlice) UpdateMod ¶
func (o IamEventSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamEventsQuery ¶
type IamEventsQuery = *psql.ViewQuery[*IamEvent, IamEventSlice]
IamEventsQuery is a query on the iam_events table
type IamFactor ¶
type IamFactor struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Type string `db:"type" `
Status string `db:"status" `
Secret string `db:"secret" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamFactor is an object representing the database table.
func FindIamFactor ¶
func FindIamFactor(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamFactor, error)
FindIamFactor retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamFactor) AfterQueryHook ¶
func (o *IamFactor) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamFactor is retrieved from the database
type IamFactorSetter ¶
type IamFactorSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Type *string `db:"type" `
Status *string `db:"status" `
Secret *string `db:"secret" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamFactorSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamFactorSetter) Apply ¶
func (s *IamFactorSetter) Apply(q *dialect.InsertQuery)
func (IamFactorSetter) Expressions ¶
func (s IamFactorSetter) Expressions(prefix ...string) []bob.Expression
func (IamFactorSetter) Overwrite ¶
func (s IamFactorSetter) Overwrite(t *IamFactor)
func (IamFactorSetter) SetColumns ¶
func (s IamFactorSetter) SetColumns() []string
func (IamFactorSetter) UpdateMod ¶
func (s IamFactorSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamFactorSlice ¶
type IamFactorSlice []*IamFactor
IamFactorSlice is an alias for a slice of pointers to IamFactor. This should almost always be used instead of []*IamFactor.
func (IamFactorSlice) AfterQueryHook ¶
func (o IamFactorSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamFactorSlice is retrieved from the database
func (IamFactorSlice) DeleteMod ¶
func (o IamFactorSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamFactorSlice) MergeMod ¶
func (o IamFactorSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamFactorSlice) UpdateAll ¶
func (o IamFactorSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamFactorSetter) error
func (IamFactorSlice) UpdateMod ¶
func (o IamFactorSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamFactorsQuery ¶
type IamFactorsQuery = *psql.ViewQuery[*IamFactor, IamFactorSlice]
IamFactorsQuery is a query on the iam_factors table
type IamFlow ¶ added in v1.1.0
type IamFlow struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
TokenHash string `db:"token_hash" `
Kind string `db:"kind" `
Status string `db:"status" `
Step string `db:"step" `
UserID null.Val[string] `db:"user_id" `
ExpiresAt time.Time `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamFlow is an object representing the database table.
func FindIamFlow ¶ added in v1.1.0
func FindIamFlow(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamFlow, error)
FindIamFlow retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamFlow) AfterQueryHook ¶ added in v1.1.0
func (o *IamFlow) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamFlow is retrieved from the database
type IamFlowSetter ¶ added in v1.1.0
type IamFlowSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
TokenHash *string `db:"token_hash" `
Kind *string `db:"kind" `
Status *string `db:"status" `
Step *string `db:"step" `
UserID *null.Val[string] `db:"user_id" `
ExpiresAt *time.Time `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamFlowSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamFlowSetter) Apply ¶ added in v1.1.0
func (s *IamFlowSetter) Apply(q *dialect.InsertQuery)
func (IamFlowSetter) Expressions ¶ added in v1.1.0
func (s IamFlowSetter) Expressions(prefix ...string) []bob.Expression
func (IamFlowSetter) Overwrite ¶ added in v1.1.0
func (s IamFlowSetter) Overwrite(t *IamFlow)
func (IamFlowSetter) SetColumns ¶ added in v1.1.0
func (s IamFlowSetter) SetColumns() []string
func (IamFlowSetter) UpdateMod ¶ added in v1.1.0
func (s IamFlowSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamFlowSlice ¶ added in v1.1.0
type IamFlowSlice []*IamFlow
IamFlowSlice is an alias for a slice of pointers to IamFlow. This should almost always be used instead of []*IamFlow.
func (IamFlowSlice) AfterQueryHook ¶ added in v1.1.0
func (o IamFlowSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamFlowSlice is retrieved from the database
func (IamFlowSlice) DeleteMod ¶ added in v1.1.0
func (o IamFlowSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamFlowSlice) MergeMod ¶ added in v1.1.0
func (o IamFlowSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamFlowSlice) UpdateAll ¶ added in v1.1.0
func (o IamFlowSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamFlowSetter) error
func (IamFlowSlice) UpdateMod ¶ added in v1.1.0
func (o IamFlowSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamFlowsQuery ¶ added in v1.1.0
type IamFlowsQuery = *psql.ViewQuery[*IamFlow, IamFlowSlice]
IamFlowsQuery is a query on the iam_flows table
type IamHook ¶
type IamHook struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Type string `db:"type" `
Enabled bool `db:"enabled" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamHook is an object representing the database table.
func FindIamHook ¶
func FindIamHook(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamHook, error)
FindIamHook retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamHook) AfterQueryHook ¶
func (o *IamHook) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamHook is retrieved from the database
type IamHookSetter ¶
type IamHookSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Type *string `db:"type" `
Enabled *bool `db:"enabled" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamHookSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamHookSetter) Apply ¶
func (s *IamHookSetter) Apply(q *dialect.InsertQuery)
func (IamHookSetter) Expressions ¶
func (s IamHookSetter) Expressions(prefix ...string) []bob.Expression
func (IamHookSetter) Overwrite ¶
func (s IamHookSetter) Overwrite(t *IamHook)
func (IamHookSetter) SetColumns ¶
func (s IamHookSetter) SetColumns() []string
func (IamHookSetter) UpdateMod ¶
func (s IamHookSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamHookSlice ¶
type IamHookSlice []*IamHook
IamHookSlice is an alias for a slice of pointers to IamHook. This should almost always be used instead of []*IamHook.
func (IamHookSlice) AfterQueryHook ¶
func (o IamHookSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamHookSlice is retrieved from the database
func (IamHookSlice) DeleteMod ¶
func (o IamHookSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamHookSlice) MergeMod ¶
func (o IamHookSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamHookSlice) UpdateAll ¶
func (o IamHookSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamHookSetter) error
func (IamHookSlice) UpdateMod ¶
func (o IamHookSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamHooksQuery ¶
type IamHooksQuery = *psql.ViewQuery[*IamHook, IamHookSlice]
IamHooksQuery is a query on the iam_hooks table
type IamIdentitiesQuery ¶
type IamIdentitiesQuery = *psql.ViewQuery[*IamIdentity, IamIdentitySlice]
IamIdentitiesQuery is a query on the iam_identities table
type IamIdentity ¶
type IamIdentity struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Type string `db:"type" `
Provider null.Val[string] `db:"provider" `
ProviderAccountID null.Val[string] `db:"provider_account_id" `
Email null.Val[string] `db:"email" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamIdentity is an object representing the database table.
func FindIamIdentity ¶
func FindIamIdentity(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamIdentity, error)
FindIamIdentity retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamIdentity) AfterQueryHook ¶
func (o *IamIdentity) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamIdentity is retrieved from the database
func (*IamIdentity) Update ¶
func (o *IamIdentity) Update(ctx context.Context, exec bob.Executor, s *IamIdentitySetter) error
Update uses an executor to update the IamIdentity
type IamIdentitySetter ¶
type IamIdentitySetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Type *string `db:"type" `
Provider *null.Val[string] `db:"provider" `
ProviderAccountID *null.Val[string] `db:"provider_account_id" `
Email *null.Val[string] `db:"email" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamIdentitySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamIdentitySetter) Apply ¶
func (s *IamIdentitySetter) Apply(q *dialect.InsertQuery)
func (IamIdentitySetter) Expressions ¶
func (s IamIdentitySetter) Expressions(prefix ...string) []bob.Expression
func (IamIdentitySetter) Overwrite ¶
func (s IamIdentitySetter) Overwrite(t *IamIdentity)
func (IamIdentitySetter) SetColumns ¶
func (s IamIdentitySetter) SetColumns() []string
func (IamIdentitySetter) UpdateMod ¶
func (s IamIdentitySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamIdentitySlice ¶
type IamIdentitySlice []*IamIdentity
IamIdentitySlice is an alias for a slice of pointers to IamIdentity. This should almost always be used instead of []*IamIdentity.
func (IamIdentitySlice) AfterQueryHook ¶
func (o IamIdentitySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamIdentitySlice is retrieved from the database
func (IamIdentitySlice) DeleteMod ¶
func (o IamIdentitySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamIdentitySlice) MergeMod ¶
func (o IamIdentitySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamIdentitySlice) UpdateAll ¶
func (o IamIdentitySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamIdentitySetter) error
func (IamIdentitySlice) UpdateMod ¶
func (o IamIdentitySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamInteraction ¶
type IamInteraction struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
ClientID null.Val[string] `db:"client_id" `
SessionID null.Val[string] `db:"session_id" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamInteraction is an object representing the database table.
func FindIamInteraction ¶
func FindIamInteraction(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamInteraction, error)
FindIamInteraction retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamInteraction) AfterQueryHook ¶
func (o *IamInteraction) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamInteraction is retrieved from the database
func (*IamInteraction) Update ¶
func (o *IamInteraction) Update(ctx context.Context, exec bob.Executor, s *IamInteractionSetter) error
Update uses an executor to update the IamInteraction
type IamInteractionSetter ¶
type IamInteractionSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
ClientID *null.Val[string] `db:"client_id" `
SessionID *null.Val[string] `db:"session_id" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamInteractionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamInteractionSetter) Apply ¶
func (s *IamInteractionSetter) Apply(q *dialect.InsertQuery)
func (IamInteractionSetter) Expressions ¶
func (s IamInteractionSetter) Expressions(prefix ...string) []bob.Expression
func (IamInteractionSetter) Overwrite ¶
func (s IamInteractionSetter) Overwrite(t *IamInteraction)
func (IamInteractionSetter) SetColumns ¶
func (s IamInteractionSetter) SetColumns() []string
func (IamInteractionSetter) UpdateMod ¶
func (s IamInteractionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamInteractionSlice ¶
type IamInteractionSlice []*IamInteraction
IamInteractionSlice is an alias for a slice of pointers to IamInteraction. This should almost always be used instead of []*IamInteraction.
func (IamInteractionSlice) AfterQueryHook ¶
func (o IamInteractionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamInteractionSlice is retrieved from the database
func (IamInteractionSlice) DeleteMod ¶
func (o IamInteractionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamInteractionSlice) MergeMod ¶
func (o IamInteractionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamInteractionSlice) UpdateAll ¶
func (o IamInteractionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamInteractionSetter) error
func (IamInteractionSlice) UpdateMod ¶
func (o IamInteractionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamInteractionsQuery ¶
type IamInteractionsQuery = *psql.ViewQuery[*IamInteraction, IamInteractionSlice]
IamInteractionsQuery is a query on the iam_interactions table
type IamInvite ¶ added in v1.2.0
type IamInvite struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Email null.Val[string] `db:"email" `
CreatedBy null.Val[string] `db:"created_by" `
TokenHash string `db:"token_hash" `
Status string `db:"status" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
AcceptedAt null.Val[time.Time] `db:"accepted_at" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamInvite is an object representing the database table.
func FindIamInvite ¶ added in v1.2.0
func FindIamInvite(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamInvite, error)
FindIamInvite retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamInvite) AfterQueryHook ¶ added in v1.2.0
func (o *IamInvite) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamInvite is retrieved from the database
func (*IamInvite) Delete ¶ added in v1.2.0
Delete deletes a single IamInvite record with an executor
type IamInviteSetter ¶ added in v1.2.0
type IamInviteSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Email *null.Val[string] `db:"email" `
CreatedBy *null.Val[string] `db:"created_by" `
TokenHash *string `db:"token_hash" `
Status *string `db:"status" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
AcceptedAt *null.Val[time.Time] `db:"accepted_at" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamInviteSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamInviteSetter) Apply ¶ added in v1.2.0
func (s *IamInviteSetter) Apply(q *dialect.InsertQuery)
func (IamInviteSetter) Expressions ¶ added in v1.2.0
func (s IamInviteSetter) Expressions(prefix ...string) []bob.Expression
func (IamInviteSetter) Overwrite ¶ added in v1.2.0
func (s IamInviteSetter) Overwrite(t *IamInvite)
func (IamInviteSetter) SetColumns ¶ added in v1.2.0
func (s IamInviteSetter) SetColumns() []string
func (IamInviteSetter) UpdateMod ¶ added in v1.2.0
func (s IamInviteSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamInviteSlice ¶ added in v1.2.0
type IamInviteSlice []*IamInvite
IamInviteSlice is an alias for a slice of pointers to IamInvite. This should almost always be used instead of []*IamInvite.
func (IamInviteSlice) AfterQueryHook ¶ added in v1.2.0
func (o IamInviteSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamInviteSlice is retrieved from the database
func (IamInviteSlice) DeleteMod ¶ added in v1.2.0
func (o IamInviteSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamInviteSlice) MergeMod ¶ added in v1.2.0
func (o IamInviteSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamInviteSlice) UpdateAll ¶ added in v1.2.0
func (o IamInviteSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamInviteSetter) error
func (IamInviteSlice) UpdateMod ¶ added in v1.2.0
func (o IamInviteSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamInvitesQuery ¶ added in v1.2.0
type IamInvitesQuery = *psql.ViewQuery[*IamInvite, IamInviteSlice]
IamInvitesQuery is a query on the iam_invites table
type IamJob ¶
type IamJob struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Type string `db:"type" `
Status string `db:"status" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamJob is an object representing the database table.
func FindIamJob ¶
func FindIamJob(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamJob, error)
FindIamJob retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamJob) AfterQueryHook ¶
func (o *IamJob) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamJob is retrieved from the database
type IamJobSetter ¶
type IamJobSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Type *string `db:"type" `
Status *string `db:"status" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamJobSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamJobSetter) Apply ¶
func (s *IamJobSetter) Apply(q *dialect.InsertQuery)
func (IamJobSetter) Expressions ¶
func (s IamJobSetter) Expressions(prefix ...string) []bob.Expression
func (IamJobSetter) Overwrite ¶
func (s IamJobSetter) Overwrite(t *IamJob)
func (IamJobSetter) SetColumns ¶
func (s IamJobSetter) SetColumns() []string
func (IamJobSetter) UpdateMod ¶
func (s IamJobSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamJobSlice ¶
type IamJobSlice []*IamJob
IamJobSlice is an alias for a slice of pointers to IamJob. This should almost always be used instead of []*IamJob.
func (IamJobSlice) AfterQueryHook ¶
func (o IamJobSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamJobSlice is retrieved from the database
func (IamJobSlice) DeleteMod ¶
func (o IamJobSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamJobSlice) MergeMod ¶
func (o IamJobSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamJobSlice) UpdateAll ¶
func (o IamJobSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamJobSetter) error
func (IamJobSlice) UpdateMod ¶
func (o IamJobSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamJobsQuery ¶
type IamJobsQuery = *psql.ViewQuery[*IamJob, IamJobSlice]
IamJobsQuery is a query on the iam_jobs table
type IamOauthGrant ¶
type IamOauthGrant struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
ClientID string `db:"client_id" `
GrantedAt time.Time `db:"granted_at" `
Data json.RawMessage `db:"data" `
}
IamOauthGrant is an object representing the database table.
func FindIamOauthGrant ¶
func FindIamOauthGrant(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamOauthGrant, error)
FindIamOauthGrant retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamOauthGrant) AfterQueryHook ¶
func (o *IamOauthGrant) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamOauthGrant is retrieved from the database
func (*IamOauthGrant) Update ¶
func (o *IamOauthGrant) Update(ctx context.Context, exec bob.Executor, s *IamOauthGrantSetter) error
Update uses an executor to update the IamOauthGrant
type IamOauthGrantSetter ¶
type IamOauthGrantSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
ClientID *string `db:"client_id" `
GrantedAt *time.Time `db:"granted_at" `
Data *json.RawMessage `db:"data" `
}
IamOauthGrantSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamOauthGrantSetter) Apply ¶
func (s *IamOauthGrantSetter) Apply(q *dialect.InsertQuery)
func (IamOauthGrantSetter) Expressions ¶
func (s IamOauthGrantSetter) Expressions(prefix ...string) []bob.Expression
func (IamOauthGrantSetter) Overwrite ¶
func (s IamOauthGrantSetter) Overwrite(t *IamOauthGrant)
func (IamOauthGrantSetter) SetColumns ¶
func (s IamOauthGrantSetter) SetColumns() []string
func (IamOauthGrantSetter) UpdateMod ¶
func (s IamOauthGrantSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamOauthGrantSlice ¶
type IamOauthGrantSlice []*IamOauthGrant
IamOauthGrantSlice is an alias for a slice of pointers to IamOauthGrant. This should almost always be used instead of []*IamOauthGrant.
func (IamOauthGrantSlice) AfterQueryHook ¶
func (o IamOauthGrantSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamOauthGrantSlice is retrieved from the database
func (IamOauthGrantSlice) DeleteMod ¶
func (o IamOauthGrantSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamOauthGrantSlice) MergeMod ¶
func (o IamOauthGrantSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamOauthGrantSlice) UpdateAll ¶
func (o IamOauthGrantSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamOauthGrantSetter) error
func (IamOauthGrantSlice) UpdateMod ¶
func (o IamOauthGrantSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamOauthGrantsQuery ¶
type IamOauthGrantsQuery = *psql.ViewQuery[*IamOauthGrant, IamOauthGrantSlice]
IamOauthGrantsQuery is a query on the iam_oauth_grants table
type IamParRequest ¶
type IamParRequest struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
RequestURI string `db:"request_uri" `
ClientID null.Val[string] `db:"client_id" `
ExpiresAt time.Time `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamParRequest is an object representing the database table.
func FindIamParRequest ¶
func FindIamParRequest(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamParRequest, error)
FindIamParRequest retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamParRequest) AfterQueryHook ¶
func (o *IamParRequest) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamParRequest is retrieved from the database
func (*IamParRequest) Update ¶
func (o *IamParRequest) Update(ctx context.Context, exec bob.Executor, s *IamParRequestSetter) error
Update uses an executor to update the IamParRequest
type IamParRequestSetter ¶
type IamParRequestSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
RequestURI *string `db:"request_uri" `
ClientID *null.Val[string] `db:"client_id" `
ExpiresAt *time.Time `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamParRequestSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamParRequestSetter) Apply ¶
func (s *IamParRequestSetter) Apply(q *dialect.InsertQuery)
func (IamParRequestSetter) Expressions ¶
func (s IamParRequestSetter) Expressions(prefix ...string) []bob.Expression
func (IamParRequestSetter) Overwrite ¶
func (s IamParRequestSetter) Overwrite(t *IamParRequest)
func (IamParRequestSetter) SetColumns ¶
func (s IamParRequestSetter) SetColumns() []string
func (IamParRequestSetter) UpdateMod ¶
func (s IamParRequestSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamParRequestSlice ¶
type IamParRequestSlice []*IamParRequest
IamParRequestSlice is an alias for a slice of pointers to IamParRequest. This should almost always be used instead of []*IamParRequest.
func (IamParRequestSlice) AfterQueryHook ¶
func (o IamParRequestSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamParRequestSlice is retrieved from the database
func (IamParRequestSlice) DeleteMod ¶
func (o IamParRequestSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamParRequestSlice) MergeMod ¶
func (o IamParRequestSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamParRequestSlice) UpdateAll ¶
func (o IamParRequestSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamParRequestSetter) error
func (IamParRequestSlice) UpdateMod ¶
func (o IamParRequestSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamParRequestsQuery ¶
type IamParRequestsQuery = *psql.ViewQuery[*IamParRequest, IamParRequestSlice]
IamParRequestsQuery is a query on the iam_par_requests table
type IamProject ¶
type IamProject struct {
ID string `db:"id,pk" `
Slug string `db:"slug" `
Name string `db:"name" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamProject is an object representing the database table.
func FindIamProject ¶
func FindIamProject(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamProject, error)
FindIamProject retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamProject) AfterQueryHook ¶
func (o *IamProject) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamProject is retrieved from the database
func (*IamProject) Update ¶
func (o *IamProject) Update(ctx context.Context, exec bob.Executor, s *IamProjectSetter) error
Update uses an executor to update the IamProject
type IamProjectSetter ¶
type IamProjectSetter struct {
ID *string `db:"id,pk" `
Slug *string `db:"slug" `
Name *string `db:"name" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamProjectSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamProjectSetter) Apply ¶
func (s *IamProjectSetter) Apply(q *dialect.InsertQuery)
func (IamProjectSetter) Expressions ¶
func (s IamProjectSetter) Expressions(prefix ...string) []bob.Expression
func (IamProjectSetter) Overwrite ¶
func (s IamProjectSetter) Overwrite(t *IamProject)
func (IamProjectSetter) SetColumns ¶
func (s IamProjectSetter) SetColumns() []string
func (IamProjectSetter) UpdateMod ¶
func (s IamProjectSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamProjectSlice ¶
type IamProjectSlice []*IamProject
IamProjectSlice is an alias for a slice of pointers to IamProject. This should almost always be used instead of []*IamProject.
func (IamProjectSlice) AfterQueryHook ¶
func (o IamProjectSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamProjectSlice is retrieved from the database
func (IamProjectSlice) DeleteMod ¶
func (o IamProjectSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamProjectSlice) MergeMod ¶
func (o IamProjectSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamProjectSlice) UpdateAll ¶
func (o IamProjectSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamProjectSetter) error
func (IamProjectSlice) UpdateMod ¶
func (o IamProjectSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamProjectsQuery ¶
type IamProjectsQuery = *psql.ViewQuery[*IamProject, IamProjectSlice]
IamProjectsQuery is a query on the iam_projects table
type IamProvider ¶
type IamProvider struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Kind string `db:"kind" `
Provider string `db:"provider" `
Enabled bool `db:"enabled" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamProvider is an object representing the database table.
func FindIamProvider ¶
func FindIamProvider(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamProvider, error)
FindIamProvider retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamProvider) AfterQueryHook ¶
func (o *IamProvider) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamProvider is retrieved from the database
func (*IamProvider) Update ¶
func (o *IamProvider) Update(ctx context.Context, exec bob.Executor, s *IamProviderSetter) error
Update uses an executor to update the IamProvider
type IamProviderSetter ¶
type IamProviderSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Kind *string `db:"kind" `
Provider *string `db:"provider" `
Enabled *bool `db:"enabled" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamProviderSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamProviderSetter) Apply ¶
func (s *IamProviderSetter) Apply(q *dialect.InsertQuery)
func (IamProviderSetter) Expressions ¶
func (s IamProviderSetter) Expressions(prefix ...string) []bob.Expression
func (IamProviderSetter) Overwrite ¶
func (s IamProviderSetter) Overwrite(t *IamProvider)
func (IamProviderSetter) SetColumns ¶
func (s IamProviderSetter) SetColumns() []string
func (IamProviderSetter) UpdateMod ¶
func (s IamProviderSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamProviderSlice ¶
type IamProviderSlice []*IamProvider
IamProviderSlice is an alias for a slice of pointers to IamProvider. This should almost always be used instead of []*IamProvider.
func (IamProviderSlice) AfterQueryHook ¶
func (o IamProviderSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamProviderSlice is retrieved from the database
func (IamProviderSlice) DeleteMod ¶
func (o IamProviderSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamProviderSlice) MergeMod ¶
func (o IamProviderSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamProviderSlice) UpdateAll ¶
func (o IamProviderSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamProviderSetter) error
func (IamProviderSlice) UpdateMod ¶
func (o IamProviderSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamProvidersQuery ¶
type IamProvidersQuery = *psql.ViewQuery[*IamProvider, IamProviderSlice]
IamProvidersQuery is a query on the iam_providers table
type IamRecoveryCode ¶
type IamRecoveryCode struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Hash string `db:"hash" `
Used bool `db:"used" `
CreatedAt time.Time `db:"created_at" `
}
IamRecoveryCode is an object representing the database table.
func FindIamRecoveryCode ¶
func FindIamRecoveryCode(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamRecoveryCode, error)
FindIamRecoveryCode retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamRecoveryCode) AfterQueryHook ¶
func (o *IamRecoveryCode) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRecoveryCode is retrieved from the database
func (*IamRecoveryCode) Update ¶
func (o *IamRecoveryCode) Update(ctx context.Context, exec bob.Executor, s *IamRecoveryCodeSetter) error
Update uses an executor to update the IamRecoveryCode
type IamRecoveryCodeSetter ¶
type IamRecoveryCodeSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Hash *string `db:"hash" `
Used *bool `db:"used" `
CreatedAt *time.Time `db:"created_at" `
}
IamRecoveryCodeSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamRecoveryCodeSetter) Apply ¶
func (s *IamRecoveryCodeSetter) Apply(q *dialect.InsertQuery)
func (IamRecoveryCodeSetter) Expressions ¶
func (s IamRecoveryCodeSetter) Expressions(prefix ...string) []bob.Expression
func (IamRecoveryCodeSetter) Overwrite ¶
func (s IamRecoveryCodeSetter) Overwrite(t *IamRecoveryCode)
func (IamRecoveryCodeSetter) SetColumns ¶
func (s IamRecoveryCodeSetter) SetColumns() []string
func (IamRecoveryCodeSetter) UpdateMod ¶
func (s IamRecoveryCodeSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamRecoveryCodeSlice ¶
type IamRecoveryCodeSlice []*IamRecoveryCode
IamRecoveryCodeSlice is an alias for a slice of pointers to IamRecoveryCode. This should almost always be used instead of []*IamRecoveryCode.
func (IamRecoveryCodeSlice) AfterQueryHook ¶
func (o IamRecoveryCodeSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRecoveryCodeSlice is retrieved from the database
func (IamRecoveryCodeSlice) DeleteMod ¶
func (o IamRecoveryCodeSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamRecoveryCodeSlice) MergeMod ¶
func (o IamRecoveryCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamRecoveryCodeSlice) UpdateAll ¶
func (o IamRecoveryCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRecoveryCodeSetter) error
func (IamRecoveryCodeSlice) UpdateMod ¶
func (o IamRecoveryCodeSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamRecoveryCodesQuery ¶
type IamRecoveryCodesQuery = *psql.ViewQuery[*IamRecoveryCode, IamRecoveryCodeSlice]
IamRecoveryCodesQuery is a query on the iam_recovery_codes table
type IamRefreshToken ¶
type IamRefreshToken struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
SessionID string `db:"session_id" `
Hash string `db:"hash" `
Revoked bool `db:"revoked" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamRefreshToken is an object representing the database table.
func FindIamRefreshToken ¶
func FindIamRefreshToken(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamRefreshToken, error)
FindIamRefreshToken retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamRefreshToken) AfterQueryHook ¶
func (o *IamRefreshToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRefreshToken is retrieved from the database
func (*IamRefreshToken) Update ¶
func (o *IamRefreshToken) Update(ctx context.Context, exec bob.Executor, s *IamRefreshTokenSetter) error
Update uses an executor to update the IamRefreshToken
type IamRefreshTokenSetter ¶
type IamRefreshTokenSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
SessionID *string `db:"session_id" `
Hash *string `db:"hash" `
Revoked *bool `db:"revoked" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamRefreshTokenSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamRefreshTokenSetter) Apply ¶
func (s *IamRefreshTokenSetter) Apply(q *dialect.InsertQuery)
func (IamRefreshTokenSetter) Expressions ¶
func (s IamRefreshTokenSetter) Expressions(prefix ...string) []bob.Expression
func (IamRefreshTokenSetter) Overwrite ¶
func (s IamRefreshTokenSetter) Overwrite(t *IamRefreshToken)
func (IamRefreshTokenSetter) SetColumns ¶
func (s IamRefreshTokenSetter) SetColumns() []string
func (IamRefreshTokenSetter) UpdateMod ¶
func (s IamRefreshTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamRefreshTokenSlice ¶
type IamRefreshTokenSlice []*IamRefreshToken
IamRefreshTokenSlice is an alias for a slice of pointers to IamRefreshToken. This should almost always be used instead of []*IamRefreshToken.
func (IamRefreshTokenSlice) AfterQueryHook ¶
func (o IamRefreshTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRefreshTokenSlice is retrieved from the database
func (IamRefreshTokenSlice) DeleteMod ¶
func (o IamRefreshTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamRefreshTokenSlice) MergeMod ¶
func (o IamRefreshTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamRefreshTokenSlice) UpdateAll ¶
func (o IamRefreshTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRefreshTokenSetter) error
func (IamRefreshTokenSlice) UpdateMod ¶
func (o IamRefreshTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamRefreshTokensQuery ¶
type IamRefreshTokensQuery = *psql.ViewQuery[*IamRefreshToken, IamRefreshTokenSlice]
IamRefreshTokensQuery is a query on the iam_refresh_tokens table
type IamRevokedToken ¶ added in v1.6.3
type IamRevokedToken struct {
Jti string `db:"jti,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
ExpiresAt time.Time `db:"expires_at" `
RevokedAt time.Time `db:"revoked_at" `
}
IamRevokedToken is an object representing the database table.
func FindIamRevokedToken ¶ added in v1.6.3
func FindIamRevokedToken(ctx context.Context, exec bob.Executor, JtiPK string, cols ...string) (*IamRevokedToken, error)
FindIamRevokedToken retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamRevokedToken) AfterQueryHook ¶ added in v1.6.3
func (o *IamRevokedToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRevokedToken is retrieved from the database
func (*IamRevokedToken) Delete ¶ added in v1.6.3
Delete deletes a single IamRevokedToken record with an executor
func (*IamRevokedToken) Reload ¶ added in v1.6.3
Reload refreshes the IamRevokedToken using the executor
func (*IamRevokedToken) Update ¶ added in v1.6.3
func (o *IamRevokedToken) Update(ctx context.Context, exec bob.Executor, s *IamRevokedTokenSetter) error
Update uses an executor to update the IamRevokedToken
type IamRevokedTokenSetter ¶ added in v1.6.3
type IamRevokedTokenSetter struct {
Jti *string `db:"jti,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
ExpiresAt *time.Time `db:"expires_at" `
RevokedAt *time.Time `db:"revoked_at" `
}
IamRevokedTokenSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamRevokedTokenSetter) Apply ¶ added in v1.6.3
func (s *IamRevokedTokenSetter) Apply(q *dialect.InsertQuery)
func (IamRevokedTokenSetter) Expressions ¶ added in v1.6.3
func (s IamRevokedTokenSetter) Expressions(prefix ...string) []bob.Expression
func (IamRevokedTokenSetter) Overwrite ¶ added in v1.6.3
func (s IamRevokedTokenSetter) Overwrite(t *IamRevokedToken)
func (IamRevokedTokenSetter) SetColumns ¶ added in v1.6.3
func (s IamRevokedTokenSetter) SetColumns() []string
func (IamRevokedTokenSetter) UpdateMod ¶ added in v1.6.3
func (s IamRevokedTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamRevokedTokenSlice ¶ added in v1.6.3
type IamRevokedTokenSlice []*IamRevokedToken
IamRevokedTokenSlice is an alias for a slice of pointers to IamRevokedToken. This should almost always be used instead of []*IamRevokedToken.
func (IamRevokedTokenSlice) AfterQueryHook ¶ added in v1.6.3
func (o IamRevokedTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRevokedTokenSlice is retrieved from the database
func (IamRevokedTokenSlice) DeleteMod ¶ added in v1.6.3
func (o IamRevokedTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamRevokedTokenSlice) MergeMod ¶ added in v1.6.3
func (o IamRevokedTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamRevokedTokenSlice) UpdateAll ¶ added in v1.6.3
func (o IamRevokedTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRevokedTokenSetter) error
func (IamRevokedTokenSlice) UpdateMod ¶ added in v1.6.3
func (o IamRevokedTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamRevokedTokensQuery ¶ added in v1.6.3
type IamRevokedTokensQuery = *psql.ViewQuery[*IamRevokedToken, IamRevokedTokenSlice]
IamRevokedTokensQuery is a query on the iam_revoked_tokens table
type IamRiskRule ¶
type IamRiskRule struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Enabled bool `db:"enabled" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamRiskRule is an object representing the database table.
func FindIamRiskRule ¶
func FindIamRiskRule(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamRiskRule, error)
FindIamRiskRule retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamRiskRule) AfterQueryHook ¶
func (o *IamRiskRule) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRiskRule is retrieved from the database
func (*IamRiskRule) Update ¶
func (o *IamRiskRule) Update(ctx context.Context, exec bob.Executor, s *IamRiskRuleSetter) error
Update uses an executor to update the IamRiskRule
type IamRiskRuleSetter ¶
type IamRiskRuleSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Enabled *bool `db:"enabled" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamRiskRuleSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamRiskRuleSetter) Apply ¶
func (s *IamRiskRuleSetter) Apply(q *dialect.InsertQuery)
func (IamRiskRuleSetter) Expressions ¶
func (s IamRiskRuleSetter) Expressions(prefix ...string) []bob.Expression
func (IamRiskRuleSetter) Overwrite ¶
func (s IamRiskRuleSetter) Overwrite(t *IamRiskRule)
func (IamRiskRuleSetter) SetColumns ¶
func (s IamRiskRuleSetter) SetColumns() []string
func (IamRiskRuleSetter) UpdateMod ¶
func (s IamRiskRuleSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamRiskRuleSlice ¶
type IamRiskRuleSlice []*IamRiskRule
IamRiskRuleSlice is an alias for a slice of pointers to IamRiskRule. This should almost always be used instead of []*IamRiskRule.
func (IamRiskRuleSlice) AfterQueryHook ¶
func (o IamRiskRuleSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamRiskRuleSlice is retrieved from the database
func (IamRiskRuleSlice) DeleteMod ¶
func (o IamRiskRuleSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamRiskRuleSlice) MergeMod ¶
func (o IamRiskRuleSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamRiskRuleSlice) UpdateAll ¶
func (o IamRiskRuleSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRiskRuleSetter) error
func (IamRiskRuleSlice) UpdateMod ¶
func (o IamRiskRuleSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamRiskRulesQuery ¶
type IamRiskRulesQuery = *psql.ViewQuery[*IamRiskRule, IamRiskRuleSlice]
IamRiskRulesQuery is a query on the iam_risk_rules table
type IamScimResource ¶
type IamScimResource struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
ConnectionID string `db:"connection_id" `
ResourceType string `db:"resource_type" `
ExternalID null.Val[string] `db:"external_id" `
UserID null.Val[string] `db:"user_id" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamScimResource is an object representing the database table.
func FindIamScimResource ¶
func FindIamScimResource(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamScimResource, error)
FindIamScimResource retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamScimResource) AfterQueryHook ¶
func (o *IamScimResource) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamScimResource is retrieved from the database
func (*IamScimResource) Update ¶
func (o *IamScimResource) Update(ctx context.Context, exec bob.Executor, s *IamScimResourceSetter) error
Update uses an executor to update the IamScimResource
type IamScimResourceSetter ¶
type IamScimResourceSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
ConnectionID *string `db:"connection_id" `
ResourceType *string `db:"resource_type" `
ExternalID *null.Val[string] `db:"external_id" `
UserID *null.Val[string] `db:"user_id" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamScimResourceSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamScimResourceSetter) Apply ¶
func (s *IamScimResourceSetter) Apply(q *dialect.InsertQuery)
func (IamScimResourceSetter) Expressions ¶
func (s IamScimResourceSetter) Expressions(prefix ...string) []bob.Expression
func (IamScimResourceSetter) Overwrite ¶
func (s IamScimResourceSetter) Overwrite(t *IamScimResource)
func (IamScimResourceSetter) SetColumns ¶
func (s IamScimResourceSetter) SetColumns() []string
func (IamScimResourceSetter) UpdateMod ¶
func (s IamScimResourceSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamScimResourceSlice ¶
type IamScimResourceSlice []*IamScimResource
IamScimResourceSlice is an alias for a slice of pointers to IamScimResource. This should almost always be used instead of []*IamScimResource.
func (IamScimResourceSlice) AfterQueryHook ¶
func (o IamScimResourceSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamScimResourceSlice is retrieved from the database
func (IamScimResourceSlice) DeleteMod ¶
func (o IamScimResourceSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamScimResourceSlice) MergeMod ¶
func (o IamScimResourceSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamScimResourceSlice) UpdateAll ¶
func (o IamScimResourceSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamScimResourceSetter) error
func (IamScimResourceSlice) UpdateMod ¶
func (o IamScimResourceSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamScimResourcesQuery ¶
type IamScimResourcesQuery = *psql.ViewQuery[*IamScimResource, IamScimResourceSlice]
IamScimResourcesQuery is a query on the iam_scim_resources table
type IamScimToken ¶
type IamScimToken struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
ConnectionID string `db:"connection_id" `
Hash string `db:"hash" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamScimToken is an object representing the database table.
func FindIamScimToken ¶
func FindIamScimToken(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamScimToken, error)
FindIamScimToken retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamScimToken) AfterQueryHook ¶
func (o *IamScimToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamScimToken is retrieved from the database
func (*IamScimToken) Update ¶
func (o *IamScimToken) Update(ctx context.Context, exec bob.Executor, s *IamScimTokenSetter) error
Update uses an executor to update the IamScimToken
type IamScimTokenSetter ¶
type IamScimTokenSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
ConnectionID *string `db:"connection_id" `
Hash *string `db:"hash" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamScimTokenSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamScimTokenSetter) Apply ¶
func (s *IamScimTokenSetter) Apply(q *dialect.InsertQuery)
func (IamScimTokenSetter) Expressions ¶
func (s IamScimTokenSetter) Expressions(prefix ...string) []bob.Expression
func (IamScimTokenSetter) Overwrite ¶
func (s IamScimTokenSetter) Overwrite(t *IamScimToken)
func (IamScimTokenSetter) SetColumns ¶
func (s IamScimTokenSetter) SetColumns() []string
func (IamScimTokenSetter) UpdateMod ¶
func (s IamScimTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamScimTokenSlice ¶
type IamScimTokenSlice []*IamScimToken
IamScimTokenSlice is an alias for a slice of pointers to IamScimToken. This should almost always be used instead of []*IamScimToken.
func (IamScimTokenSlice) AfterQueryHook ¶
func (o IamScimTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamScimTokenSlice is retrieved from the database
func (IamScimTokenSlice) DeleteMod ¶
func (o IamScimTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamScimTokenSlice) MergeMod ¶
func (o IamScimTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamScimTokenSlice) UpdateAll ¶
func (o IamScimTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamScimTokenSetter) error
func (IamScimTokenSlice) UpdateMod ¶
func (o IamScimTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamScimTokensQuery ¶
type IamScimTokensQuery = *psql.ViewQuery[*IamScimToken, IamScimTokenSlice]
IamScimTokensQuery is a query on the iam_scim_tokens table
type IamSecurityAttempt ¶ added in v1.7.0
type IamSecurityAttempt struct {
ProjectID string `db:"project_id,pk" `
Environment string `db:"environment,pk" `
SubjectHash string `db:"subject_hash,pk" `
Kind string `db:"kind,pk" `
WindowStart time.Time `db:"window_start" `
Attempts int32 `db:"attempts" `
}
IamSecurityAttempt is an object representing the database table.
func FindIamSecurityAttempt ¶ added in v1.7.0
func FindIamSecurityAttempt(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, SubjectHashPK string, KindPK string, cols ...string) (*IamSecurityAttempt, error)
FindIamSecurityAttempt retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityAttempt) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityAttempt) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityAttempt is retrieved from the database
func (*IamSecurityAttempt) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityAttempt record with an executor
func (*IamSecurityAttempt) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityAttempt using the executor
func (*IamSecurityAttempt) Update ¶ added in v1.7.0
func (o *IamSecurityAttempt) Update(ctx context.Context, exec bob.Executor, s *IamSecurityAttemptSetter) error
Update uses an executor to update the IamSecurityAttempt
type IamSecurityAttemptSetter ¶ added in v1.7.0
type IamSecurityAttemptSetter struct {
ProjectID *string `db:"project_id,pk" `
Environment *string `db:"environment,pk" `
SubjectHash *string `db:"subject_hash,pk" `
Kind *string `db:"kind,pk" `
WindowStart *time.Time `db:"window_start" `
Attempts *int32 `db:"attempts" `
}
IamSecurityAttemptSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityAttemptSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityAttemptSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityAttemptSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityAttemptSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityAttemptSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityAttemptSetter) Overwrite(t *IamSecurityAttempt)
func (IamSecurityAttemptSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityAttemptSetter) SetColumns() []string
func (IamSecurityAttemptSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityAttemptSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityAttemptSlice ¶ added in v1.7.0
type IamSecurityAttemptSlice []*IamSecurityAttempt
IamSecurityAttemptSlice is an alias for a slice of pointers to IamSecurityAttempt. This should almost always be used instead of []*IamSecurityAttempt.
func (IamSecurityAttemptSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityAttemptSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityAttemptSlice is retrieved from the database
func (IamSecurityAttemptSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityAttemptSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityAttemptSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityAttemptSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityAttemptSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityAttemptSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityAttemptSetter) error
func (IamSecurityAttemptSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityAttemptSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityAttemptsQuery ¶ added in v1.7.0
type IamSecurityAttemptsQuery = *psql.ViewQuery[*IamSecurityAttempt, IamSecurityAttemptSlice]
IamSecurityAttemptsQuery is a query on the iam_security_attempts table
type IamSecurityCase ¶ added in v1.7.0
type IamSecurityCase struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Status string `db:"status" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
PrivateData string `db:"private_data" `
}
IamSecurityCase is an object representing the database table.
func FindIamSecurityCase ¶ added in v1.7.0
func FindIamSecurityCase(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSecurityCase, error)
FindIamSecurityCase retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityCase) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityCase) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityCase is retrieved from the database
func (*IamSecurityCase) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityCase record with an executor
func (*IamSecurityCase) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityCase using the executor
func (*IamSecurityCase) Update ¶ added in v1.7.0
func (o *IamSecurityCase) Update(ctx context.Context, exec bob.Executor, s *IamSecurityCaseSetter) error
Update uses an executor to update the IamSecurityCase
type IamSecurityCaseDecision ¶ added in v1.7.0
type IamSecurityCaseDecision struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
CaseID string `db:"case_id" `
ActorID string `db:"actor_id" `
Action string `db:"action" `
Evidence string `db:"evidence" `
CreatedAt time.Time `db:"created_at" `
}
IamSecurityCaseDecision is an object representing the database table.
func FindIamSecurityCaseDecision ¶ added in v1.7.0
func FindIamSecurityCaseDecision(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSecurityCaseDecision, error)
FindIamSecurityCaseDecision retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityCaseDecision) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityCaseDecision) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityCaseDecision is retrieved from the database
func (*IamSecurityCaseDecision) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityCaseDecision record with an executor
func (*IamSecurityCaseDecision) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityCaseDecision using the executor
func (*IamSecurityCaseDecision) Update ¶ added in v1.7.0
func (o *IamSecurityCaseDecision) Update(ctx context.Context, exec bob.Executor, s *IamSecurityCaseDecisionSetter) error
Update uses an executor to update the IamSecurityCaseDecision
type IamSecurityCaseDecisionSetter ¶ added in v1.7.0
type IamSecurityCaseDecisionSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
CaseID *string `db:"case_id" `
ActorID *string `db:"actor_id" `
Action *string `db:"action" `
Evidence *string `db:"evidence" `
CreatedAt *time.Time `db:"created_at" `
}
IamSecurityCaseDecisionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityCaseDecisionSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityCaseDecisionSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityCaseDecisionSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityCaseDecisionSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityCaseDecisionSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityCaseDecisionSetter) Overwrite(t *IamSecurityCaseDecision)
func (IamSecurityCaseDecisionSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityCaseDecisionSetter) SetColumns() []string
func (IamSecurityCaseDecisionSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityCaseDecisionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityCaseDecisionSlice ¶ added in v1.7.0
type IamSecurityCaseDecisionSlice []*IamSecurityCaseDecision
IamSecurityCaseDecisionSlice is an alias for a slice of pointers to IamSecurityCaseDecision. This should almost always be used instead of []*IamSecurityCaseDecision.
func (IamSecurityCaseDecisionSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityCaseDecisionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityCaseDecisionSlice is retrieved from the database
func (IamSecurityCaseDecisionSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityCaseDecisionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityCaseDecisionSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityCaseDecisionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityCaseDecisionSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityCaseDecisionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityCaseDecisionSetter) error
func (IamSecurityCaseDecisionSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityCaseDecisionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityCaseDecisionsQuery ¶ added in v1.7.0
type IamSecurityCaseDecisionsQuery = *psql.ViewQuery[*IamSecurityCaseDecision, IamSecurityCaseDecisionSlice]
IamSecurityCaseDecisionsQuery is a query on the iam_security_case_decisions table
type IamSecurityCaseSetter ¶ added in v1.7.0
type IamSecurityCaseSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Status *string `db:"status" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
PrivateData *string `db:"private_data" `
}
IamSecurityCaseSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityCaseSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityCaseSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityCaseSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityCaseSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityCaseSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityCaseSetter) Overwrite(t *IamSecurityCase)
func (IamSecurityCaseSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityCaseSetter) SetColumns() []string
func (IamSecurityCaseSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityCaseSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityCaseSlice ¶ added in v1.7.0
type IamSecurityCaseSlice []*IamSecurityCase
IamSecurityCaseSlice is an alias for a slice of pointers to IamSecurityCase. This should almost always be used instead of []*IamSecurityCase.
func (IamSecurityCaseSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityCaseSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityCaseSlice is retrieved from the database
func (IamSecurityCaseSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityCaseSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityCaseSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityCaseSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityCaseSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityCaseSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityCaseSetter) error
func (IamSecurityCaseSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityCaseSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityCasesQuery ¶ added in v1.7.0
type IamSecurityCasesQuery = *psql.ViewQuery[*IamSecurityCase, IamSecurityCaseSlice]
IamSecurityCasesQuery is a query on the iam_security_cases table
type IamSecurityContinuation ¶ added in v1.7.0
type IamSecurityContinuation struct {
ExchangeData string `db:"exchange_data" `
TokenHash string `db:"token_hash,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
IncidentID string `db:"incident_id" `
CaseID string `db:"case_id" `
Purpose string `db:"purpose" `
ExpiresAt time.Time `db:"expires_at" `
Consumed bool `db:"consumed" `
}
IamSecurityContinuation is an object representing the database table.
func FindIamSecurityContinuation ¶ added in v1.7.0
func FindIamSecurityContinuation(ctx context.Context, exec bob.Executor, TokenHashPK string, cols ...string) (*IamSecurityContinuation, error)
FindIamSecurityContinuation retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityContinuation) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityContinuation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityContinuation is retrieved from the database
func (*IamSecurityContinuation) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityContinuation record with an executor
func (*IamSecurityContinuation) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityContinuation using the executor
func (*IamSecurityContinuation) Update ¶ added in v1.7.0
func (o *IamSecurityContinuation) Update(ctx context.Context, exec bob.Executor, s *IamSecurityContinuationSetter) error
Update uses an executor to update the IamSecurityContinuation
type IamSecurityContinuationSetter ¶ added in v1.7.0
type IamSecurityContinuationSetter struct {
ExchangeData *string `db:"exchange_data" `
TokenHash *string `db:"token_hash,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
IncidentID *string `db:"incident_id" `
CaseID *string `db:"case_id" `
Purpose *string `db:"purpose" `
ExpiresAt *time.Time `db:"expires_at" `
Consumed *bool `db:"consumed" `
}
IamSecurityContinuationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityContinuationSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityContinuationSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityContinuationSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityContinuationSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityContinuationSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityContinuationSetter) Overwrite(t *IamSecurityContinuation)
func (IamSecurityContinuationSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityContinuationSetter) SetColumns() []string
func (IamSecurityContinuationSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityContinuationSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityContinuationSlice ¶ added in v1.7.0
type IamSecurityContinuationSlice []*IamSecurityContinuation
IamSecurityContinuationSlice is an alias for a slice of pointers to IamSecurityContinuation. This should almost always be used instead of []*IamSecurityContinuation.
func (IamSecurityContinuationSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityContinuationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityContinuationSlice is retrieved from the database
func (IamSecurityContinuationSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityContinuationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityContinuationSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityContinuationSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityContinuationSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityContinuationSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityContinuationSetter) error
func (IamSecurityContinuationSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityContinuationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityContinuationsQuery ¶ added in v1.7.0
type IamSecurityContinuationsQuery = *psql.ViewQuery[*IamSecurityContinuation, IamSecurityContinuationSlice]
IamSecurityContinuationsQuery is a query on the iam_security_continuations table
type IamSecurityDeliveriesQuery ¶ added in v1.7.0
type IamSecurityDeliveriesQuery = *psql.ViewQuery[*IamSecurityDelivery, IamSecurityDeliverySlice]
IamSecurityDeliveriesQuery is a query on the iam_security_deliveries table
type IamSecurityDelivery ¶ added in v1.7.0
type IamSecurityDelivery struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
DedupKey string `db:"dedup_key" `
Status string `db:"status" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
PrivateData string `db:"private_data" `
}
IamSecurityDelivery is an object representing the database table.
func FindIamSecurityDelivery ¶ added in v1.7.0
func FindIamSecurityDelivery(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSecurityDelivery, error)
FindIamSecurityDelivery retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityDelivery) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityDelivery) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityDelivery is retrieved from the database
func (*IamSecurityDelivery) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityDelivery record with an executor
func (*IamSecurityDelivery) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityDelivery using the executor
func (*IamSecurityDelivery) Update ¶ added in v1.7.0
func (o *IamSecurityDelivery) Update(ctx context.Context, exec bob.Executor, s *IamSecurityDeliverySetter) error
Update uses an executor to update the IamSecurityDelivery
type IamSecurityDeliverySetter ¶ added in v1.7.0
type IamSecurityDeliverySetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
DedupKey *string `db:"dedup_key" `
Status *string `db:"status" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
PrivateData *string `db:"private_data" `
}
IamSecurityDeliverySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityDeliverySetter) Apply ¶ added in v1.7.0
func (s *IamSecurityDeliverySetter) Apply(q *dialect.InsertQuery)
func (IamSecurityDeliverySetter) Expressions ¶ added in v1.7.0
func (s IamSecurityDeliverySetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityDeliverySetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityDeliverySetter) Overwrite(t *IamSecurityDelivery)
func (IamSecurityDeliverySetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityDeliverySetter) SetColumns() []string
func (IamSecurityDeliverySetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityDeliverySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityDeliverySlice ¶ added in v1.7.0
type IamSecurityDeliverySlice []*IamSecurityDelivery
IamSecurityDeliverySlice is an alias for a slice of pointers to IamSecurityDelivery. This should almost always be used instead of []*IamSecurityDelivery.
func (IamSecurityDeliverySlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityDeliverySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityDeliverySlice is retrieved from the database
func (IamSecurityDeliverySlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityDeliverySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityDeliverySlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityDeliverySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityDeliverySlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityDeliverySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityDeliverySetter) error
func (IamSecurityDeliverySlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityDeliverySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityDevice ¶ added in v1.7.0
type IamSecurityDevice struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
TokenHash string `db:"token_hash" `
Data json.RawMessage `db:"data" `
}
IamSecurityDevice is an object representing the database table.
func FindIamSecurityDevice ¶ added in v1.7.0
func FindIamSecurityDevice(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSecurityDevice, error)
FindIamSecurityDevice retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityDevice) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityDevice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityDevice is retrieved from the database
func (*IamSecurityDevice) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityDevice record with an executor
func (*IamSecurityDevice) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityDevice using the executor
func (*IamSecurityDevice) Update ¶ added in v1.7.0
func (o *IamSecurityDevice) Update(ctx context.Context, exec bob.Executor, s *IamSecurityDeviceSetter) error
Update uses an executor to update the IamSecurityDevice
type IamSecurityDeviceSetter ¶ added in v1.7.0
type IamSecurityDeviceSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
TokenHash *string `db:"token_hash" `
Data *json.RawMessage `db:"data" `
}
IamSecurityDeviceSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityDeviceSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityDeviceSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityDeviceSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityDeviceSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityDeviceSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityDeviceSetter) Overwrite(t *IamSecurityDevice)
func (IamSecurityDeviceSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityDeviceSetter) SetColumns() []string
func (IamSecurityDeviceSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityDeviceSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityDeviceSlice ¶ added in v1.7.0
type IamSecurityDeviceSlice []*IamSecurityDevice
IamSecurityDeviceSlice is an alias for a slice of pointers to IamSecurityDevice. This should almost always be used instead of []*IamSecurityDevice.
func (IamSecurityDeviceSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityDeviceSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityDeviceSlice is retrieved from the database
func (IamSecurityDeviceSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityDeviceSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityDeviceSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityDeviceSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityDeviceSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityDeviceSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityDeviceSetter) error
func (IamSecurityDeviceSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityDeviceSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityDevicesQuery ¶ added in v1.7.0
type IamSecurityDevicesQuery = *psql.ViewQuery[*IamSecurityDevice, IamSecurityDeviceSlice]
IamSecurityDevicesQuery is a query on the iam_security_devices table
type IamSecurityGuard ¶ added in v1.7.0
type IamSecurityGuard struct {
FlowID string `db:"flow_id" `
ProjectID string `db:"project_id,pk" `
Environment string `db:"environment,pk" `
UserID string `db:"user_id,pk" `
CreatedAt time.Time `db:"created_at" `
}
IamSecurityGuard is an object representing the database table.
func FindIamSecurityGuard ¶ added in v1.7.0
func FindIamSecurityGuard(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, UserIDPK string, cols ...string) (*IamSecurityGuard, error)
FindIamSecurityGuard retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityGuard) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityGuard) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityGuard is retrieved from the database
func (*IamSecurityGuard) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityGuard record with an executor
func (*IamSecurityGuard) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityGuard using the executor
func (*IamSecurityGuard) Update ¶ added in v1.7.0
func (o *IamSecurityGuard) Update(ctx context.Context, exec bob.Executor, s *IamSecurityGuardSetter) error
Update uses an executor to update the IamSecurityGuard
type IamSecurityGuardSetter ¶ added in v1.7.0
type IamSecurityGuardSetter struct {
FlowID *string `db:"flow_id" `
ProjectID *string `db:"project_id,pk" `
Environment *string `db:"environment,pk" `
UserID *string `db:"user_id,pk" `
CreatedAt *time.Time `db:"created_at" `
}
IamSecurityGuardSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityGuardSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityGuardSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityGuardSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityGuardSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityGuardSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityGuardSetter) Overwrite(t *IamSecurityGuard)
func (IamSecurityGuardSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityGuardSetter) SetColumns() []string
func (IamSecurityGuardSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityGuardSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityGuardSlice ¶ added in v1.7.0
type IamSecurityGuardSlice []*IamSecurityGuard
IamSecurityGuardSlice is an alias for a slice of pointers to IamSecurityGuard. This should almost always be used instead of []*IamSecurityGuard.
func (IamSecurityGuardSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityGuardSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityGuardSlice is retrieved from the database
func (IamSecurityGuardSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityGuardSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityGuardSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityGuardSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityGuardSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityGuardSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityGuardSetter) error
func (IamSecurityGuardSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityGuardSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityGuardsQuery ¶ added in v1.7.0
type IamSecurityGuardsQuery = *psql.ViewQuery[*IamSecurityGuard, IamSecurityGuardSlice]
IamSecurityGuardsQuery is a query on the iam_security_guards table
type IamSecurityIncident ¶ added in v1.7.0
type IamSecurityIncident struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
Status string `db:"status" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
PrivateData string `db:"private_data" `
}
IamSecurityIncident is an object representing the database table.
func FindIamSecurityIncident ¶ added in v1.7.0
func FindIamSecurityIncident(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSecurityIncident, error)
FindIamSecurityIncident retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityIncident) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityIncident) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityIncident is retrieved from the database
func (*IamSecurityIncident) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityIncident record with an executor
func (*IamSecurityIncident) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityIncident using the executor
func (*IamSecurityIncident) Update ¶ added in v1.7.0
func (o *IamSecurityIncident) Update(ctx context.Context, exec bob.Executor, s *IamSecurityIncidentSetter) error
Update uses an executor to update the IamSecurityIncident
type IamSecurityIncidentSetter ¶ added in v1.7.0
type IamSecurityIncidentSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
Status *string `db:"status" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
PrivateData *string `db:"private_data" `
}
IamSecurityIncidentSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityIncidentSetter) Apply ¶ added in v1.7.0
func (s *IamSecurityIncidentSetter) Apply(q *dialect.InsertQuery)
func (IamSecurityIncidentSetter) Expressions ¶ added in v1.7.0
func (s IamSecurityIncidentSetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityIncidentSetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityIncidentSetter) Overwrite(t *IamSecurityIncident)
func (IamSecurityIncidentSetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityIncidentSetter) SetColumns() []string
func (IamSecurityIncidentSetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityIncidentSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityIncidentSlice ¶ added in v1.7.0
type IamSecurityIncidentSlice []*IamSecurityIncident
IamSecurityIncidentSlice is an alias for a slice of pointers to IamSecurityIncident. This should almost always be used instead of []*IamSecurityIncident.
func (IamSecurityIncidentSlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityIncidentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityIncidentSlice is retrieved from the database
func (IamSecurityIncidentSlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityIncidentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityIncidentSlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityIncidentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityIncidentSlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityIncidentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityIncidentSetter) error
func (IamSecurityIncidentSlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityIncidentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSecurityIncidentsQuery ¶ added in v1.7.0
type IamSecurityIncidentsQuery = *psql.ViewQuery[*IamSecurityIncident, IamSecurityIncidentSlice]
IamSecurityIncidentsQuery is a query on the iam_security_incidents table
type IamSecurityPoliciesQuery ¶ added in v1.7.0
type IamSecurityPoliciesQuery = *psql.ViewQuery[*IamSecurityPolicy, IamSecurityPolicySlice]
IamSecurityPoliciesQuery is a query on the iam_security_policies table
type IamSecurityPolicy ¶ added in v1.7.0
type IamSecurityPolicy struct {
ProjectID string `db:"project_id,pk" `
Environment string `db:"environment,pk" `
Data json.RawMessage `db:"data" `
}
IamSecurityPolicy is an object representing the database table.
func FindIamSecurityPolicy ¶ added in v1.7.0
func FindIamSecurityPolicy(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, cols ...string) (*IamSecurityPolicy, error)
FindIamSecurityPolicy retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSecurityPolicy) AfterQueryHook ¶ added in v1.7.0
func (o *IamSecurityPolicy) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityPolicy is retrieved from the database
func (*IamSecurityPolicy) Delete ¶ added in v1.7.0
Delete deletes a single IamSecurityPolicy record with an executor
func (*IamSecurityPolicy) Reload ¶ added in v1.7.0
Reload refreshes the IamSecurityPolicy using the executor
func (*IamSecurityPolicy) Update ¶ added in v1.7.0
func (o *IamSecurityPolicy) Update(ctx context.Context, exec bob.Executor, s *IamSecurityPolicySetter) error
Update uses an executor to update the IamSecurityPolicy
type IamSecurityPolicySetter ¶ added in v1.7.0
type IamSecurityPolicySetter struct {
ProjectID *string `db:"project_id,pk" `
Environment *string `db:"environment,pk" `
Data *json.RawMessage `db:"data" `
}
IamSecurityPolicySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSecurityPolicySetter) Apply ¶ added in v1.7.0
func (s *IamSecurityPolicySetter) Apply(q *dialect.InsertQuery)
func (IamSecurityPolicySetter) Expressions ¶ added in v1.7.0
func (s IamSecurityPolicySetter) Expressions(prefix ...string) []bob.Expression
func (IamSecurityPolicySetter) Overwrite ¶ added in v1.7.0
func (s IamSecurityPolicySetter) Overwrite(t *IamSecurityPolicy)
func (IamSecurityPolicySetter) SetColumns ¶ added in v1.7.0
func (s IamSecurityPolicySetter) SetColumns() []string
func (IamSecurityPolicySetter) UpdateMod ¶ added in v1.7.0
func (s IamSecurityPolicySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSecurityPolicySlice ¶ added in v1.7.0
type IamSecurityPolicySlice []*IamSecurityPolicy
IamSecurityPolicySlice is an alias for a slice of pointers to IamSecurityPolicy. This should almost always be used instead of []*IamSecurityPolicy.
func (IamSecurityPolicySlice) AfterQueryHook ¶ added in v1.7.0
func (o IamSecurityPolicySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSecurityPolicySlice is retrieved from the database
func (IamSecurityPolicySlice) DeleteMod ¶ added in v1.7.0
func (o IamSecurityPolicySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSecurityPolicySlice) MergeMod ¶ added in v1.7.0
func (o IamSecurityPolicySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSecurityPolicySlice) UpdateAll ¶ added in v1.7.0
func (o IamSecurityPolicySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSecurityPolicySetter) error
func (IamSecurityPolicySlice) UpdateMod ¶ added in v1.7.0
func (o IamSecurityPolicySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamServiceAccount ¶
type IamServiceAccount struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Name string `db:"name" `
Disabled bool `db:"disabled" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamServiceAccount is an object representing the database table.
func FindIamServiceAccount ¶
func FindIamServiceAccount(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamServiceAccount, error)
FindIamServiceAccount retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamServiceAccount) AfterQueryHook ¶
func (o *IamServiceAccount) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamServiceAccount is retrieved from the database
func (*IamServiceAccount) Delete ¶
Delete deletes a single IamServiceAccount record with an executor
func (*IamServiceAccount) Update ¶
func (o *IamServiceAccount) Update(ctx context.Context, exec bob.Executor, s *IamServiceAccountSetter) error
Update uses an executor to update the IamServiceAccount
type IamServiceAccountSetter ¶
type IamServiceAccountSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Name *string `db:"name" `
Disabled *bool `db:"disabled" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamServiceAccountSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamServiceAccountSetter) Apply ¶
func (s *IamServiceAccountSetter) Apply(q *dialect.InsertQuery)
func (IamServiceAccountSetter) Expressions ¶
func (s IamServiceAccountSetter) Expressions(prefix ...string) []bob.Expression
func (IamServiceAccountSetter) Overwrite ¶
func (s IamServiceAccountSetter) Overwrite(t *IamServiceAccount)
func (IamServiceAccountSetter) SetColumns ¶
func (s IamServiceAccountSetter) SetColumns() []string
func (IamServiceAccountSetter) UpdateMod ¶
func (s IamServiceAccountSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamServiceAccountSlice ¶
type IamServiceAccountSlice []*IamServiceAccount
IamServiceAccountSlice is an alias for a slice of pointers to IamServiceAccount. This should almost always be used instead of []*IamServiceAccount.
func (IamServiceAccountSlice) AfterQueryHook ¶
func (o IamServiceAccountSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamServiceAccountSlice is retrieved from the database
func (IamServiceAccountSlice) DeleteMod ¶
func (o IamServiceAccountSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamServiceAccountSlice) MergeMod ¶
func (o IamServiceAccountSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamServiceAccountSlice) UpdateAll ¶
func (o IamServiceAccountSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamServiceAccountSetter) error
func (IamServiceAccountSlice) UpdateMod ¶
func (o IamServiceAccountSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamServiceAccountsQuery ¶
type IamServiceAccountsQuery = *psql.ViewQuery[*IamServiceAccount, IamServiceAccountSlice]
IamServiceAccountsQuery is a query on the iam_service_accounts table
type IamSession ¶
type IamSession struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
ClientID null.Val[string] `db:"client_id" `
Aal int32 `db:"aal" `
Trusted bool `db:"trusted" `
ExpiresAt null.Val[time.Time] `db:"expires_at" `
CreatedAt time.Time `db:"created_at" `
LastActiveAt time.Time `db:"last_active_at" `
Data json.RawMessage `db:"data" `
}
IamSession is an object representing the database table.
func FindIamSession ¶
func FindIamSession(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSession, error)
FindIamSession retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSession) AfterQueryHook ¶
func (o *IamSession) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSession is retrieved from the database
func (*IamSession) Update ¶
func (o *IamSession) Update(ctx context.Context, exec bob.Executor, s *IamSessionSetter) error
Update uses an executor to update the IamSession
type IamSessionSetter ¶
type IamSessionSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
ClientID *null.Val[string] `db:"client_id" `
Aal *int32 `db:"aal" `
Trusted *bool `db:"trusted" `
ExpiresAt *null.Val[time.Time] `db:"expires_at" `
CreatedAt *time.Time `db:"created_at" `
LastActiveAt *time.Time `db:"last_active_at" `
Data *json.RawMessage `db:"data" `
}
IamSessionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSessionSetter) Apply ¶
func (s *IamSessionSetter) Apply(q *dialect.InsertQuery)
func (IamSessionSetter) Expressions ¶
func (s IamSessionSetter) Expressions(prefix ...string) []bob.Expression
func (IamSessionSetter) Overwrite ¶
func (s IamSessionSetter) Overwrite(t *IamSession)
func (IamSessionSetter) SetColumns ¶
func (s IamSessionSetter) SetColumns() []string
func (IamSessionSetter) UpdateMod ¶
func (s IamSessionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSessionSlice ¶
type IamSessionSlice []*IamSession
IamSessionSlice is an alias for a slice of pointers to IamSession. This should almost always be used instead of []*IamSession.
func (IamSessionSlice) AfterQueryHook ¶
func (o IamSessionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSessionSlice is retrieved from the database
func (IamSessionSlice) DeleteMod ¶
func (o IamSessionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSessionSlice) MergeMod ¶
func (o IamSessionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSessionSlice) UpdateAll ¶
func (o IamSessionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSessionSetter) error
func (IamSessionSlice) UpdateMod ¶
func (o IamSessionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSessionsQuery ¶
type IamSessionsQuery = *psql.ViewQuery[*IamSession, IamSessionSlice]
IamSessionsQuery is a query on the iam_sessions table
type IamSigningKey ¶
type IamSigningKey struct {
Kid string `db:"kid,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Alg string `db:"alg" `
Use string `db:"use" `
Status string `db:"status" `
PrivatePem null.Val[string] `db:"private_pem" `
CreatedAt time.Time `db:"created_at" `
Data json.RawMessage `db:"data" `
}
IamSigningKey is an object representing the database table.
func FindIamSigningKey ¶
func FindIamSigningKey(ctx context.Context, exec bob.Executor, KidPK string, cols ...string) (*IamSigningKey, error)
FindIamSigningKey retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSigningKey) AfterQueryHook ¶
func (o *IamSigningKey) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSigningKey is retrieved from the database
func (*IamSigningKey) Update ¶
func (o *IamSigningKey) Update(ctx context.Context, exec bob.Executor, s *IamSigningKeySetter) error
Update uses an executor to update the IamSigningKey
type IamSigningKeySetter ¶
type IamSigningKeySetter struct {
Kid *string `db:"kid,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Alg *string `db:"alg" `
Use *string `db:"use" `
Status *string `db:"status" `
PrivatePem *null.Val[string] `db:"private_pem" `
CreatedAt *time.Time `db:"created_at" `
Data *json.RawMessage `db:"data" `
}
IamSigningKeySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSigningKeySetter) Apply ¶
func (s *IamSigningKeySetter) Apply(q *dialect.InsertQuery)
func (IamSigningKeySetter) Expressions ¶
func (s IamSigningKeySetter) Expressions(prefix ...string) []bob.Expression
func (IamSigningKeySetter) Overwrite ¶
func (s IamSigningKeySetter) Overwrite(t *IamSigningKey)
func (IamSigningKeySetter) SetColumns ¶
func (s IamSigningKeySetter) SetColumns() []string
func (IamSigningKeySetter) UpdateMod ¶
func (s IamSigningKeySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSigningKeySlice ¶
type IamSigningKeySlice []*IamSigningKey
IamSigningKeySlice is an alias for a slice of pointers to IamSigningKey. This should almost always be used instead of []*IamSigningKey.
func (IamSigningKeySlice) AfterQueryHook ¶
func (o IamSigningKeySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSigningKeySlice is retrieved from the database
func (IamSigningKeySlice) DeleteMod ¶
func (o IamSigningKeySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSigningKeySlice) MergeMod ¶
func (o IamSigningKeySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSigningKeySlice) UpdateAll ¶
func (o IamSigningKeySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSigningKeySetter) error
func (IamSigningKeySlice) UpdateMod ¶
func (o IamSigningKeySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSigningKeysQuery ¶
type IamSigningKeysQuery = *psql.ViewQuery[*IamSigningKey, IamSigningKeySlice]
IamSigningKeysQuery is a query on the iam_signing_keys table
type IamSsoConnection ¶
type IamSsoConnection struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Type string `db:"type" `
Status string `db:"status" `
Name string `db:"name" `
ExternalRef null.Val[string] `db:"external_ref" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamSsoConnection is an object representing the database table.
func FindIamSsoConnection ¶
func FindIamSsoConnection(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSsoConnection, error)
FindIamSsoConnection retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamSsoConnection) AfterQueryHook ¶
func (o *IamSsoConnection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSsoConnection is retrieved from the database
func (*IamSsoConnection) Update ¶
func (o *IamSsoConnection) Update(ctx context.Context, exec bob.Executor, s *IamSsoConnectionSetter) error
Update uses an executor to update the IamSsoConnection
type IamSsoConnectionSetter ¶
type IamSsoConnectionSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Type *string `db:"type" `
Status *string `db:"status" `
Name *string `db:"name" `
ExternalRef *null.Val[string] `db:"external_ref" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamSsoConnectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamSsoConnectionSetter) Apply ¶
func (s *IamSsoConnectionSetter) Apply(q *dialect.InsertQuery)
func (IamSsoConnectionSetter) Expressions ¶
func (s IamSsoConnectionSetter) Expressions(prefix ...string) []bob.Expression
func (IamSsoConnectionSetter) Overwrite ¶
func (s IamSsoConnectionSetter) Overwrite(t *IamSsoConnection)
func (IamSsoConnectionSetter) SetColumns ¶
func (s IamSsoConnectionSetter) SetColumns() []string
func (IamSsoConnectionSetter) UpdateMod ¶
func (s IamSsoConnectionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamSsoConnectionSlice ¶
type IamSsoConnectionSlice []*IamSsoConnection
IamSsoConnectionSlice is an alias for a slice of pointers to IamSsoConnection. This should almost always be used instead of []*IamSsoConnection.
func (IamSsoConnectionSlice) AfterQueryHook ¶
func (o IamSsoConnectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamSsoConnectionSlice is retrieved from the database
func (IamSsoConnectionSlice) DeleteMod ¶
func (o IamSsoConnectionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamSsoConnectionSlice) MergeMod ¶
func (o IamSsoConnectionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamSsoConnectionSlice) UpdateAll ¶
func (o IamSsoConnectionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSsoConnectionSetter) error
func (IamSsoConnectionSlice) UpdateMod ¶
func (o IamSsoConnectionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamSsoConnectionsQuery ¶
type IamSsoConnectionsQuery = *psql.ViewQuery[*IamSsoConnection, IamSsoConnectionSlice]
IamSsoConnectionsQuery is a query on the iam_sso_connections table
type IamTokenProfile ¶
type IamTokenProfile struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Name string `db:"name" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamTokenProfile is an object representing the database table.
func FindIamTokenProfile ¶
func FindIamTokenProfile(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamTokenProfile, error)
FindIamTokenProfile retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamTokenProfile) AfterQueryHook ¶
func (o *IamTokenProfile) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamTokenProfile is retrieved from the database
func (*IamTokenProfile) Update ¶
func (o *IamTokenProfile) Update(ctx context.Context, exec bob.Executor, s *IamTokenProfileSetter) error
Update uses an executor to update the IamTokenProfile
type IamTokenProfileSetter ¶
type IamTokenProfileSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Name *string `db:"name" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamTokenProfileSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamTokenProfileSetter) Apply ¶
func (s *IamTokenProfileSetter) Apply(q *dialect.InsertQuery)
func (IamTokenProfileSetter) Expressions ¶
func (s IamTokenProfileSetter) Expressions(prefix ...string) []bob.Expression
func (IamTokenProfileSetter) Overwrite ¶
func (s IamTokenProfileSetter) Overwrite(t *IamTokenProfile)
func (IamTokenProfileSetter) SetColumns ¶
func (s IamTokenProfileSetter) SetColumns() []string
func (IamTokenProfileSetter) UpdateMod ¶
func (s IamTokenProfileSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamTokenProfileSlice ¶
type IamTokenProfileSlice []*IamTokenProfile
IamTokenProfileSlice is an alias for a slice of pointers to IamTokenProfile. This should almost always be used instead of []*IamTokenProfile.
func (IamTokenProfileSlice) AfterQueryHook ¶
func (o IamTokenProfileSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamTokenProfileSlice is retrieved from the database
func (IamTokenProfileSlice) DeleteMod ¶
func (o IamTokenProfileSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamTokenProfileSlice) MergeMod ¶
func (o IamTokenProfileSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamTokenProfileSlice) UpdateAll ¶
func (o IamTokenProfileSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamTokenProfileSetter) error
func (IamTokenProfileSlice) UpdateMod ¶
func (o IamTokenProfileSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamTokenProfilesQuery ¶
type IamTokenProfilesQuery = *psql.ViewQuery[*IamTokenProfile, IamTokenProfileSlice]
IamTokenProfilesQuery is a query on the iam_token_profiles table
type IamUser ¶
type IamUser struct {
SecurityRecoveredAt null.Val[time.Time] `db:"security_recovered_at" `
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
Kind string `db:"kind" `
Status string `db:"status" `
PrimaryEmail null.Val[string] `db:"primary_email" `
PrimaryPhone null.Val[string] `db:"primary_phone" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamUser is an object representing the database table.
func FindIamUser ¶
func FindIamUser(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamUser, error)
FindIamUser retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamUser) AfterQueryHook ¶
func (o *IamUser) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamUser is retrieved from the database
type IamUserRole ¶ added in v1.6.3
type IamUserRole struct {
ProjectID string `db:"project_id,pk" `
Environment string `db:"environment,pk" `
UserID string `db:"user_id,pk" `
Role string `db:"role,pk" `
CreatedAt time.Time `db:"created_at" `
}
IamUserRole is an object representing the database table.
func FindIamUserRole ¶ added in v1.6.3
func FindIamUserRole(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, UserIDPK string, RolePK string, cols ...string) (*IamUserRole, error)
FindIamUserRole retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamUserRole) AfterQueryHook ¶ added in v1.6.3
func (o *IamUserRole) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamUserRole is retrieved from the database
func (*IamUserRole) Delete ¶ added in v1.6.3
Delete deletes a single IamUserRole record with an executor
func (*IamUserRole) Update ¶ added in v1.6.3
func (o *IamUserRole) Update(ctx context.Context, exec bob.Executor, s *IamUserRoleSetter) error
Update uses an executor to update the IamUserRole
type IamUserRoleSetter ¶ added in v1.6.3
type IamUserRoleSetter struct {
ProjectID *string `db:"project_id,pk" `
Environment *string `db:"environment,pk" `
UserID *string `db:"user_id,pk" `
Role *string `db:"role,pk" `
CreatedAt *time.Time `db:"created_at" `
}
IamUserRoleSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamUserRoleSetter) Apply ¶ added in v1.6.3
func (s *IamUserRoleSetter) Apply(q *dialect.InsertQuery)
func (IamUserRoleSetter) Expressions ¶ added in v1.6.3
func (s IamUserRoleSetter) Expressions(prefix ...string) []bob.Expression
func (IamUserRoleSetter) Overwrite ¶ added in v1.6.3
func (s IamUserRoleSetter) Overwrite(t *IamUserRole)
func (IamUserRoleSetter) SetColumns ¶ added in v1.6.3
func (s IamUserRoleSetter) SetColumns() []string
func (IamUserRoleSetter) UpdateMod ¶ added in v1.6.3
func (s IamUserRoleSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamUserRoleSlice ¶ added in v1.6.3
type IamUserRoleSlice []*IamUserRole
IamUserRoleSlice is an alias for a slice of pointers to IamUserRole. This should almost always be used instead of []*IamUserRole.
func (IamUserRoleSlice) AfterQueryHook ¶ added in v1.6.3
func (o IamUserRoleSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamUserRoleSlice is retrieved from the database
func (IamUserRoleSlice) DeleteMod ¶ added in v1.6.3
func (o IamUserRoleSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamUserRoleSlice) MergeMod ¶ added in v1.6.3
func (o IamUserRoleSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamUserRoleSlice) UpdateAll ¶ added in v1.6.3
func (o IamUserRoleSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamUserRoleSetter) error
func (IamUserRoleSlice) UpdateMod ¶ added in v1.6.3
func (o IamUserRoleSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamUserRolesQuery ¶ added in v1.6.3
type IamUserRolesQuery = *psql.ViewQuery[*IamUserRole, IamUserRoleSlice]
IamUserRolesQuery is a query on the iam_user_roles table
type IamUserSetter ¶
type IamUserSetter struct {
SecurityRecoveredAt *null.Val[time.Time] `db:"security_recovered_at" `
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
Kind *string `db:"kind" `
Status *string `db:"status" `
PrimaryEmail *null.Val[string] `db:"primary_email" `
PrimaryPhone *null.Val[string] `db:"primary_phone" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamUserSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamUserSetter) Apply ¶
func (s *IamUserSetter) Apply(q *dialect.InsertQuery)
func (IamUserSetter) Expressions ¶
func (s IamUserSetter) Expressions(prefix ...string) []bob.Expression
func (IamUserSetter) Overwrite ¶
func (s IamUserSetter) Overwrite(t *IamUser)
func (IamUserSetter) SetColumns ¶
func (s IamUserSetter) SetColumns() []string
func (IamUserSetter) UpdateMod ¶
func (s IamUserSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamUserSlice ¶
type IamUserSlice []*IamUser
IamUserSlice is an alias for a slice of pointers to IamUser. This should almost always be used instead of []*IamUser.
func (IamUserSlice) AfterQueryHook ¶
func (o IamUserSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamUserSlice is retrieved from the database
func (IamUserSlice) DeleteMod ¶
func (o IamUserSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamUserSlice) MergeMod ¶
func (o IamUserSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamUserSlice) UpdateAll ¶
func (o IamUserSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamUserSetter) error
func (IamUserSlice) UpdateMod ¶
func (o IamUserSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamUsersQuery ¶
type IamUsersQuery = *psql.ViewQuery[*IamUser, IamUserSlice]
IamUsersQuery is a query on the iam_users table
type IamWebauthnCredential ¶
type IamWebauthnCredential struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
UserID string `db:"user_id" `
CredentialID string `db:"credential_id" `
PublicKey null.Val[[]byte] `db:"public_key" `
SignCount int64 `db:"sign_count" `
CreatedAt time.Time `db:"created_at" `
LastUsedAt null.Val[time.Time] `db:"last_used_at" `
Data json.RawMessage `db:"data" `
}
IamWebauthnCredential is an object representing the database table.
func FindIamWebauthnCredential ¶
func FindIamWebauthnCredential(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamWebauthnCredential, error)
FindIamWebauthnCredential retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamWebauthnCredential) AfterQueryHook ¶
func (o *IamWebauthnCredential) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamWebauthnCredential is retrieved from the database
func (*IamWebauthnCredential) Delete ¶
Delete deletes a single IamWebauthnCredential record with an executor
func (*IamWebauthnCredential) Reload ¶
Reload refreshes the IamWebauthnCredential using the executor
func (*IamWebauthnCredential) Update ¶
func (o *IamWebauthnCredential) Update(ctx context.Context, exec bob.Executor, s *IamWebauthnCredentialSetter) error
Update uses an executor to update the IamWebauthnCredential
type IamWebauthnCredentialSetter ¶
type IamWebauthnCredentialSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
UserID *string `db:"user_id" `
CredentialID *string `db:"credential_id" `
PublicKey *null.Val[[]byte] `db:"public_key" `
SignCount *int64 `db:"sign_count" `
CreatedAt *time.Time `db:"created_at" `
LastUsedAt *null.Val[time.Time] `db:"last_used_at" `
Data *json.RawMessage `db:"data" `
}
IamWebauthnCredentialSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamWebauthnCredentialSetter) Apply ¶
func (s *IamWebauthnCredentialSetter) Apply(q *dialect.InsertQuery)
func (IamWebauthnCredentialSetter) Expressions ¶
func (s IamWebauthnCredentialSetter) Expressions(prefix ...string) []bob.Expression
func (IamWebauthnCredentialSetter) Overwrite ¶
func (s IamWebauthnCredentialSetter) Overwrite(t *IamWebauthnCredential)
func (IamWebauthnCredentialSetter) SetColumns ¶
func (s IamWebauthnCredentialSetter) SetColumns() []string
func (IamWebauthnCredentialSetter) UpdateMod ¶
func (s IamWebauthnCredentialSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamWebauthnCredentialSlice ¶
type IamWebauthnCredentialSlice []*IamWebauthnCredential
IamWebauthnCredentialSlice is an alias for a slice of pointers to IamWebauthnCredential. This should almost always be used instead of []*IamWebauthnCredential.
func (IamWebauthnCredentialSlice) AfterQueryHook ¶
func (o IamWebauthnCredentialSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamWebauthnCredentialSlice is retrieved from the database
func (IamWebauthnCredentialSlice) DeleteMod ¶
func (o IamWebauthnCredentialSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamWebauthnCredentialSlice) MergeMod ¶
func (o IamWebauthnCredentialSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamWebauthnCredentialSlice) UpdateAll ¶
func (o IamWebauthnCredentialSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebauthnCredentialSetter) error
func (IamWebauthnCredentialSlice) UpdateMod ¶
func (o IamWebauthnCredentialSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamWebauthnCredentialsQuery ¶
type IamWebauthnCredentialsQuery = *psql.ViewQuery[*IamWebauthnCredential, IamWebauthnCredentialSlice]
IamWebauthnCredentialsQuery is a query on the iam_webauthn_credentials table
type IamWebhook ¶
type IamWebhook struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
IdempotencyKey string `db:"idempotency_key" `
Enabled bool `db:"enabled" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamWebhook is an object representing the database table.
func FindIamWebhook ¶
func FindIamWebhook(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamWebhook, error)
FindIamWebhook retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamWebhook) AfterQueryHook ¶
func (o *IamWebhook) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamWebhook is retrieved from the database
func (*IamWebhook) Update ¶
func (o *IamWebhook) Update(ctx context.Context, exec bob.Executor, s *IamWebhookSetter) error
Update uses an executor to update the IamWebhook
type IamWebhookDeliveriesQuery ¶ added in v1.4.0
type IamWebhookDeliveriesQuery = *psql.ViewQuery[*IamWebhookDelivery, IamWebhookDeliverySlice]
IamWebhookDeliveriesQuery is a query on the iam_webhook_deliveries table
type IamWebhookDelivery ¶ added in v1.4.0
type IamWebhookDelivery struct {
ID string `db:"id,pk" `
ProjectID string `db:"project_id" `
Environment string `db:"environment" `
WebhookID string `db:"webhook_id" `
EventID string `db:"event_id" `
Status string `db:"status" `
AttemptCount int32 `db:"attempt_count" `
NextAttemptAt null.Val[time.Time] `db:"next_attempt_at" `
LastAttemptAt null.Val[time.Time] `db:"last_attempt_at" `
DeliveredAt null.Val[time.Time] `db:"delivered_at" `
ResponseStatus null.Val[int32] `db:"response_status" `
ResponseBody null.Val[string] `db:"response_body" `
LastError null.Val[string] `db:"last_error" `
CreatedAt time.Time `db:"created_at" `
UpdatedAt time.Time `db:"updated_at" `
Data json.RawMessage `db:"data" `
}
IamWebhookDelivery is an object representing the database table.
func FindIamWebhookDelivery ¶ added in v1.4.0
func FindIamWebhookDelivery(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamWebhookDelivery, error)
FindIamWebhookDelivery retrieves a single record by primary key If cols is empty Find will return all columns.
func (*IamWebhookDelivery) AfterQueryHook ¶ added in v1.4.0
func (o *IamWebhookDelivery) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamWebhookDelivery is retrieved from the database
func (*IamWebhookDelivery) Delete ¶ added in v1.4.0
Delete deletes a single IamWebhookDelivery record with an executor
func (*IamWebhookDelivery) Reload ¶ added in v1.4.0
Reload refreshes the IamWebhookDelivery using the executor
func (*IamWebhookDelivery) Update ¶ added in v1.4.0
func (o *IamWebhookDelivery) Update(ctx context.Context, exec bob.Executor, s *IamWebhookDeliverySetter) error
Update uses an executor to update the IamWebhookDelivery
type IamWebhookDeliverySetter ¶ added in v1.4.0
type IamWebhookDeliverySetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
WebhookID *string `db:"webhook_id" `
EventID *string `db:"event_id" `
Status *string `db:"status" `
AttemptCount *int32 `db:"attempt_count" `
NextAttemptAt *null.Val[time.Time] `db:"next_attempt_at" `
LastAttemptAt *null.Val[time.Time] `db:"last_attempt_at" `
DeliveredAt *null.Val[time.Time] `db:"delivered_at" `
ResponseStatus *null.Val[int32] `db:"response_status" `
ResponseBody *null.Val[string] `db:"response_body" `
LastError *null.Val[string] `db:"last_error" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamWebhookDeliverySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamWebhookDeliverySetter) Apply ¶ added in v1.4.0
func (s *IamWebhookDeliverySetter) Apply(q *dialect.InsertQuery)
func (IamWebhookDeliverySetter) Expressions ¶ added in v1.4.0
func (s IamWebhookDeliverySetter) Expressions(prefix ...string) []bob.Expression
func (IamWebhookDeliverySetter) Overwrite ¶ added in v1.4.0
func (s IamWebhookDeliverySetter) Overwrite(t *IamWebhookDelivery)
func (IamWebhookDeliverySetter) SetColumns ¶ added in v1.4.0
func (s IamWebhookDeliverySetter) SetColumns() []string
func (IamWebhookDeliverySetter) UpdateMod ¶ added in v1.4.0
func (s IamWebhookDeliverySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamWebhookDeliverySlice ¶ added in v1.4.0
type IamWebhookDeliverySlice []*IamWebhookDelivery
IamWebhookDeliverySlice is an alias for a slice of pointers to IamWebhookDelivery. This should almost always be used instead of []*IamWebhookDelivery.
func (IamWebhookDeliverySlice) AfterQueryHook ¶ added in v1.4.0
func (o IamWebhookDeliverySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamWebhookDeliverySlice is retrieved from the database
func (IamWebhookDeliverySlice) DeleteMod ¶ added in v1.4.0
func (o IamWebhookDeliverySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamWebhookDeliverySlice) MergeMod ¶ added in v1.4.0
func (o IamWebhookDeliverySlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamWebhookDeliverySlice) UpdateAll ¶ added in v1.4.0
func (o IamWebhookDeliverySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebhookDeliverySetter) error
func (IamWebhookDeliverySlice) UpdateMod ¶ added in v1.4.0
func (o IamWebhookDeliverySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamWebhookSetter ¶
type IamWebhookSetter struct {
ID *string `db:"id,pk" `
ProjectID *string `db:"project_id" `
Environment *string `db:"environment" `
IdempotencyKey *string `db:"idempotency_key" `
Enabled *bool `db:"enabled" `
CreatedAt *time.Time `db:"created_at" `
UpdatedAt *time.Time `db:"updated_at" `
Data *json.RawMessage `db:"data" `
}
IamWebhookSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included
func (*IamWebhookSetter) Apply ¶
func (s *IamWebhookSetter) Apply(q *dialect.InsertQuery)
func (IamWebhookSetter) Expressions ¶
func (s IamWebhookSetter) Expressions(prefix ...string) []bob.Expression
func (IamWebhookSetter) Overwrite ¶
func (s IamWebhookSetter) Overwrite(t *IamWebhook)
func (IamWebhookSetter) SetColumns ¶
func (s IamWebhookSetter) SetColumns() []string
func (IamWebhookSetter) UpdateMod ¶
func (s IamWebhookSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]
type IamWebhookSlice ¶
type IamWebhookSlice []*IamWebhook
IamWebhookSlice is an alias for a slice of pointers to IamWebhook. This should almost always be used instead of []*IamWebhook.
func (IamWebhookSlice) AfterQueryHook ¶
func (o IamWebhookSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error
AfterQueryHook is called after IamWebhookSlice is retrieved from the database
func (IamWebhookSlice) DeleteMod ¶
func (o IamWebhookSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]
DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"
func (IamWebhookSlice) MergeMod ¶
func (o IamWebhookSlice) MergeMod() bob.Mod[*dialect.MergeQuery]
MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.
func (IamWebhookSlice) UpdateAll ¶
func (o IamWebhookSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebhookSetter) error
func (IamWebhookSlice) UpdateMod ¶
func (o IamWebhookSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]
UpdateMod modifies an update query with "WHERE primary_key IN (o...)"
type IamWebhooksQuery ¶
type IamWebhooksQuery = *psql.ViewQuery[*IamWebhook, IamWebhookSlice]
IamWebhooksQuery is a query on the iam_webhooks table
Source Files
¶
- bob_counts.bob.go
- bob_joins.bob.go
- bob_loaders.bob.go
- bob_where.bob.go
- iam_access_requests.bob.go
- iam_account_deletions.bob.go
- iam_activity.bob.go
- iam_admin_tokens.bob.go
- iam_api_keys.bob.go
- iam_app_clients.bob.go
- iam_app_secrets.bob.go
- iam_audit_logs.bob.go
- iam_auth_codes.bob.go
- iam_blocks.bob.go
- iam_challenges.bob.go
- iam_config.bob.go
- iam_consents.bob.go
- iam_credentials.bob.go
- iam_device_codes.bob.go
- iam_domains.bob.go
- iam_email_templates.bob.go
- iam_environments.bob.go
- iam_events.bob.go
- iam_factors.bob.go
- iam_flows.bob.go
- iam_hooks.bob.go
- iam_identities.bob.go
- iam_interactions.bob.go
- iam_invites.bob.go
- iam_jobs.bob.go
- iam_oauth_grants.bob.go
- iam_par_requests.bob.go
- iam_projects.bob.go
- iam_providers.bob.go
- iam_recovery_codes.bob.go
- iam_refresh_tokens.bob.go
- iam_revoked_tokens.bob.go
- iam_risk_rules.bob.go
- iam_scim_resources.bob.go
- iam_scim_tokens.bob.go
- iam_security_attempts.bob.go
- iam_security_case_decisions.bob.go
- iam_security_cases.bob.go
- iam_security_continuations.bob.go
- iam_security_deliveries.bob.go
- iam_security_devices.bob.go
- iam_security_guards.bob.go
- iam_security_incidents.bob.go
- iam_security_policies.bob.go
- iam_service_accounts.bob.go
- iam_sessions.bob.go
- iam_signing_keys.bob.go
- iam_sso_connections.bob.go
- iam_token_profiles.bob.go
- iam_user_roles.bob.go
- iam_users.bob.go
- iam_webauthn_credentials.bob.go
- iam_webhook_deliveries.bob.go
- iam_webhooks.bob.go