Documentation
¶
Index ¶
- func SnapshotInsertSlot(query string) (int, bool)
- type AccessGrant
- type AccessPolicy
- type AccessPolicyApprover
- type AccessPolicyBypasser
- type AccessRequest
- type AccessVote
- type Account
- type Adapter
- type AdapterAdoptionConflictCountParams
- type AdapterAdoptionInsertJobParams
- type AdapterAdoptionInsertLedgerParams
- type AdapterAdoptionMarkConflictParams
- type AdapterAdoptionReclaimReleasedLedgerParams
- type AdapterAdoptionSupersedeJobParams
- type AdapterAdoptionTargetParams
- type AdapterAdoptionTargetRow
- type AdapterAdoptionUpdateAuthorityParams
- type AdapterAdoptionUpdateHeldLedgerParams
- type AdapterAdoptionUpdateTargetParams
- type AdapterBeginConfigureEffectParams
- type AdapterConfigAWSConfiguredNamesParams
- type AdapterConfigAWSConfiguredNamesRow
- type AdapterConfigAWSPendingNamesParams
- type AdapterConfigAWSPendingNamesRow
- type AdapterConfigConfiguredNamesParams
- type AdapterConfigConfiguredNamesRow
- type AdapterConfigFindingsParams
- type AdapterConfigFindingsRow
- type AdapterConfigPendingNamesParams
- type AdapterConfigPendingNamesRow
- type AdapterConfigurationParams
- type AdapterConfigurationRow
- type AdapterConfigureFence
- type AdapterConflict
- type AdapterConflictsParams
- type AdapterConflictsRow
- type AdapterCreateParams
- type AdapterDeleteTargetKeysParams
- type AdapterEffect
- type AdapterEnqueueTargetParams
- type AdapterEnvironmentsParams
- type AdapterEraseUnusedCredentialParams
- type AdapterFinishConfigureEffectParams
- type AdapterGetActiveForUpdateParams
- type AdapterGetActiveForUpdateRow
- type AdapterGetActiveTargetForUpdateParams
- type AdapterGetActiveTargetForUpdateRow
- type AdapterGetParams
- type AdapterGetRow
- type AdapterGetTargetParams
- type AdapterGetTargetRow
- type AdapterHealthCountsRow
- type AdapterInsertConflictParams
- type AdapterInsertScrubJobParams
- type AdapterInsertTargetKeyParams
- type AdapterInsertTargetParams
- type AdapterLedger
- type AdapterListForReencryptParams
- type AdapterListForReencryptRow
- type AdapterListMovesForReencryptParams
- type AdapterListMovesForReencryptRow
- type AdapterListParams
- type AdapterListRow
- type AdapterListTargetsParams
- type AdapterListTargetsRow
- type AdapterManualTargetParams
- type AdapterManualTargetRow
- type AdapterMappingParams
- type AdapterMappingRow
- type AdapterMarkTombstonedParams
- type AdapterMoveAWSConfiguredNamesParams
- type AdapterMoveAWSConfiguredNamesRow
- type AdapterMoveAWSPendingNamesParams
- type AdapterMoveAWSPendingNamesRow
- type AdapterMoveActivateCanceledTargetParams
- type AdapterMoveActivateParams
- type AdapterMoveBeginOriginAdapterParams
- type AdapterMoveBeginOriginAdapterRow
- type AdapterMoveBeginOriginCollisionsParams
- type AdapterMoveBeginOriginTargetsParams
- type AdapterMoveBeginOriginTargetsRow
- type AdapterMoveBeginTargetParams
- type AdapterMoveBeginTargetRow
- type AdapterMoveCancelParams
- type AdapterMoveCancelTargetParams
- type AdapterMoveCancelTargetRow
- type AdapterMoveConfiguredCollisionParams
- type AdapterMoveDeleteClaimsParams
- type AdapterMoveDeleteKeysParams
- type AdapterMoveFlagsParams
- type AdapterMoveFlagsRow
- type AdapterMoveGetLockedParams
- type AdapterMoveGetLockedRow
- type AdapterMoveGetParams
- type AdapterMoveGetRow
- type AdapterMoveInsertAWSClaimParams
- type AdapterMoveInsertActivateJobParams
- type AdapterMoveInsertClaimParams
- type AdapterMoveInsertConvergeJobParams
- type AdapterMoveInsertJobParams
- type AdapterMoveInsertKeyParams
- type AdapterMoveInsertOriginParams
- type AdapterMoveInsertTargetMoveParams
- type AdapterMoveInsertTargetParams
- type AdapterMoveJobsParams
- type AdapterMoveJobsRow
- type AdapterMoveMarkAdapterMovingParams
- type AdapterMoveMarkMovingTargetParams
- type AdapterMoveMarkResumingTargetParams
- type AdapterMovePendingKeyIDsParams
- type AdapterMoveReleaseLedgerParams
- type AdapterMoveReplaceOriginCollisionsParams
- type AdapterMoveResetDestinationsParams
- type AdapterMoveRestoreAdapterParams
- type AdapterMoveResumeTargetParams
- type AdapterMoveSetActiveAuthorityParams
- type AdapterMoveSupersedeJobParams
- type AdapterMoveTargetKeyIDsParams
- type AdapterMoveTargetsParams
- type AdapterMoveTargetsRow
- type AdapterMoveUpdateAuthorityParams
- type AdapterMoveUpdatePendingOriginParams
- type AdapterMoveUpdatePendingTargetParams
- type AdapterOriginCurrentRouteParams
- type AdapterOriginCurrentRouteRow
- type AdapterOriginHeldCandidatesParams
- type AdapterOriginHeldCandidatesRow
- type AdapterOrphansParams
- type AdapterOrphansRow
- type AdapterOutbox
- type AdapterPauseTargetParams
- type AdapterPauseTargetRow
- type AdapterPauseTargetUpdateParams
- type AdapterPlanCredentialParams
- type AdapterPlanCredentialRow
- type AdapterPlanLedgerParams
- type AdapterPlanLedgerRow
- type AdapterPlanManifestParams
- type AdapterPlanManifestRow
- type AdapterPlanTargetParams
- type AdapterPlanTargetRow
- type AdapterProviderParams
- type AdapterPublishedTargetsParams
- type AdapterPublishedTargetsRow
- type AdapterRecordCredentialExpiryParams
- type AdapterReencryptMoveParams
- type AdapterReencryptParams
- type AdapterReleaseLedgerParams
- type AdapterReplaceCredentialBumpParams
- type AdapterReplaceCredentialParams
- type AdapterReplaceCredentialTargetParams
- type AdapterReplaceCredentialTargetRow
- type AdapterResumeAdoptedJobParams
- type AdapterResumeRevisionParams
- type AdapterResumeTargetParams
- type AdapterRetainTargetParams
- type AdapterRetireCredentialJobsParams
- type AdapterRevokeCredentialBumpParams
- type AdapterRevokeCredentialParams
- type AdapterRevokeCredentialTargetParams
- type AdapterRevokeCredentialTargetRow
- type AdapterRouteMove
- type AdapterRouteMoveClaim
- type AdapterRouteMoveKey
- type AdapterRouteMoveTarget
- type AdapterScrubTargetParams
- type AdapterTarget
- type AdapterTargetActiveJobParams
- type AdapterTargetEnvironmentsParams
- type AdapterTargetKey
- type AdapterTargetKeyIDsParams
- type AdapterTargetKeysParams
- type AdapterTargetKeysRow
- type AdapterTeardownAuthorityParams
- type AdapterTeardownTargetParams
- type AdapterTeardownTargetRow
- type AdapterTeardownTargetsParams
- type AdapterTeardownTargetsRow
- type AdapterTeardownUnfinishedMovesParams
- type AdapterUpdateActiveAuthorityParams
- type AdapterUpdateAuthorityExpiryParams
- type AdapterUpdateTargetConfigParams
- type AdapterWorkerActivateApplyTargetParams
- type AdapterWorkerActivateCollisionQueryParams
- type AdapterWorkerActivateCompleteMoveParams
- type AdapterWorkerActivateDeleteClaimsParams
- type AdapterWorkerActivateDeleteKeysParams
- type AdapterWorkerActivateFinishParams
- type AdapterWorkerActivateInsertJobParams
- type AdapterWorkerActivateInsertKeysParams
- type AdapterWorkerActivateLookupParams
- type AdapterWorkerActivateLookupRow
- type AdapterWorkerActivateOriginRouteMoveActivateAdapterParams
- type AdapterWorkerActivateOriginRouteMoveApplyTargetParams
- type AdapterWorkerActivateOriginRouteMoveCompleteMoveParams
- type AdapterWorkerActivateOriginRouteMoveCountUnresolvedParams
- type AdapterWorkerActivateOriginRouteMoveDeleteClaimsParams
- type AdapterWorkerActivateOriginRouteMoveDeleteKeysParams
- type AdapterWorkerActivateOriginRouteMoveInsertJobParams
- type AdapterWorkerActivateOriginRouteMoveInsertKeysParams
- type AdapterWorkerActivateOriginRouteMoveLoadPendingParams
- type AdapterWorkerActivateOriginRouteMoveLoadPendingRow
- type AdapterWorkerActivateOriginRouteMoveMarkProbeParams
- type AdapterWorkerActivateOriginRouteMoveTargetQueryParams
- type AdapterWorkerActivateOriginRouteMoveTargetQueryRow
- type AdapterWorkerActivateReleaseReservationsParams
- type AdapterWorkerActivateSetResolvedParams
- type AdapterWorkerActivateUpdateExpiryParams
- type AdapterWorkerClaimDueSelectQueryRow
- type AdapterWorkerClaimDueUpdateParams
- type AdapterWorkerCloseIndeterminateEffectsQueryParams
- type AdapterWorkerCloseIndeterminateEffectsQueryRow
- type AdapterWorkerCloseIndeterminateEffectsReleaseParams
- type AdapterWorkerCloseIndeterminateEffectsUpdateParams
- type AdapterWorkerCompleteJobParams
- type AdapterWorkerDetachSupersededJobParams
- type AdapterWorkerFinishDeadCredentialScrubEraseParams
- type AdapterWorkerFinishDeadCredentialScrubLookupParams
- type AdapterWorkerFinishDeadCredentialScrubMarkTargetParams
- type AdapterWorkerFinishDeadCredentialScrubReleaseLedgerParams
- type AdapterWorkerFinishJobAttentionParams
- type AdapterWorkerFinishJobEraseParams
- type AdapterWorkerFinishJobLookupParams
- type AdapterWorkerFinishJobMarkTargetParams
- type AdapterWorkerFinishJobMarkTargetsParams
- type AdapterWorkerFinishJobQueryParams
- type AdapterWorkerFinishJobSupersedeParams
- type AdapterWorkerFinishOriginRouteMoveScrubActivateMoveParams
- type AdapterWorkerFinishOriginRouteMoveScrubCountHeldParams
- type AdapterWorkerFinishOriginRouteMoveScrubCountPendingParams
- type AdapterWorkerFinishOriginRouteMoveScrubInsertParams
- type AdapterWorkerFinishOriginRouteMoveScrubMarkDoneParams
- type AdapterWorkerFinishOriginRouteMoveScrubMarkParams
- type AdapterWorkerFinishOriginRouteMoveScrubTargetQueryParams
- type AdapterWorkerFinishOriginRouteMoveScrubTargetQueryRow
- type AdapterWorkerFinishReleaseLeaseParams
- type AdapterWorkerFinishRemoveParams
- type AdapterWorkerFinishRouteMoveScrubActiveLedgerQueryParams
- type AdapterWorkerFinishRouteMoveScrubInsertParams
- type AdapterWorkerFinishRouteMoveScrubLookupMoveParams
- type AdapterWorkerFinishRouteMoveScrubMarkParams
- type AdapterWorkerFinishRouteMoveScrubMoveParams
- type AdapterWorkerFinishRouteMoveScrubPersistOrphansParams
- type AdapterWorkerFinishUpdateEffectParams
- type AdapterWorkerFinishUpdateParams
- type AdapterWorkerGateQueryParams
- type AdapterWorkerInsertAdapterJobAuditWithIDQueryParams
- type AdapterWorkerInsertConflictDedupParams
- type AdapterWorkerInsertConflictInsertParams
- type AdapterWorkerLoadActivationQueryParams
- type AdapterWorkerLoadActivationQueryRow
- type AdapterWorkerLoadExecutionCompletedQueryParams
- type AdapterWorkerLoadExecutionCompletedQueryRow
- type AdapterWorkerLoadExecutionEntryQueryParams
- type AdapterWorkerLoadExecutionEntryQueryRow
- type AdapterWorkerLoadExecutionLedgerQueryParams
- type AdapterWorkerLoadExecutionLedgerQueryRow
- type AdapterWorkerLoadExecutionQueryParams
- type AdapterWorkerLoadExecutionQueryRow
- type AdapterWorkerLoadExecutionSnapshotQueryParams
- type AdapterWorkerLoadExecutionSnapshotQueryRow
- type AdapterWorkerLockCustodyJobParams
- type AdapterWorkerLockCustodyTargetParams
- type AdapterWorkerPinExecutionLeaseParams
- type AdapterWorkerPinExecutionRevisionParams
- type AdapterWorkerPrepareExplicitRecoveryParams
- type AdapterWorkerPrepareInsertParams
- type AdapterWorkerPrepareLeaseParams
- type AdapterWorkerPrepareProviderLeaseParams
- type AdapterWorkerPrepareUpdateParams
- type AdapterWorkerRaiseDriftAttentionQueryParams
- type AdapterWorkerRecordJobOutcomeParams
- type AdapterWorkerRefuseRemoveParams
- type AdapterWorkerReleaseReservationRemoveParams
- type AdapterWorkerReserveCountQueryParams
- type AdapterWorkerReserveCurrentRouteParams
- type AdapterWorkerReserveCurrentRouteRow
- type AdapterWorkerReserveInsertParams
- type AdapterWorkerReserveLookupParams
- type AdapterWorkerReserveLookupRow
- type AdapterWorkerReservePendingQueryParams
- type AdapterWorkerReserveReactivateParams
- type AdapterWorkerReserveSelectQueryParams
- type AdapterWorkerRestoreHeldScrubAdapterParams
- type AdapterWorkerRestoreHeldScrubTargetParams
- type AdapterWorkerTryEnqueueDepthQueryParams
- type AdapterWorkerTryEnqueueExistsQueryParams
- type AdapterWorkerTryEnqueueInsertParams
- type AdapterWorkerTryEnqueueLookupParams
- type AdapterWorkerTryEnqueuePreviousQueryParams
- type AdapterWorkerTryEnqueueSupersedeParams
- type AdapterWorkerTryEnqueueUpdateParams
- type AddSCIMGroupMemberParams
- type AdmissionCounter
- type AdvanceRestoreEpochParams
- type AdvanceTOTPStepParams
- type AdvanceWebAuthnSignCountParams
- type ApprovalPolicy
- type ApprovalPolicyApprover
- type ApprovalPolicyBypasser
- type ApprovalRequest
- type ApprovalVote
- type ApproveCLILoginParams
- type ApproveCLIReauthHandoffParams
- type ApproveWorkspaceHandoffParams
- type AssertActiveTier3VersionParams
- type AuditInstanceEvent
- type AuditRetentionPolicy
- type AuditTenantEvent
- type AuthInstanceState
- type AuthRefusalWindow
- type BackupState
- type BindRemotePairedConnectionParams
- type BindSessionToOAuth2ProviderParams
- type BindSessionToSAMLProviderParams
- type BumpFileTargetGenerationParams
- type BumpProjectSchemaRevisionParams
- type ClaimFederatedAuthorityParams
- type ClaimOfflineRecordParams
- type ClaimRemotePairingAttemptParams
- type ClaimRemotePairingReplayParams
- type ClampDeveloperCredentialExpiryParams
- type ClearKeyGroupMembersParams
- type ClearSCIMAttentionParams
- type ClearSCIMGroupMembersParams
- type CliLoginHandoff
- type CliReauthHandoff
- type CommitSelfConfigTargetParams
- type ConfirmTOTPParams
- type ConsumeCLILoginParams
- type ConsumeCLIReauthHandoffParams
- type ConsumeCredentialAuthorityParams
- type ConsumeLoginChallengeParams
- type ConsumeOAuth2TransactionParams
- type ConsumeOIDCTransactionParams
- type ConsumeOutstandingAuthoritiesForAccountParams
- type ConsumeRegistrationSignupParams
- type ConsumeRemotePairingExchangeParams
- type ConsumeRemotePairingInviteParams
- type ConsumeSAMLTransactionParams
- type ConsumeSingleDecisionWindowParams
- type ConsumeWebAuthnCeremonyParams
- type ConsumeWorkspaceHandoffParams
- type CoordinationAccountFailureStateParams
- type CoordinationAccountFailureStateRow
- type CoordinationBumpWindowParams
- type CoordinationClaimLeaseParams
- type CoordinationClearAccountParams
- type CoordinationCountMCPClaimsParams
- type CoordinationCountMCPClaimsRow
- type CoordinationForeignRootKeyFingerprintsParams
- type CoordinationInsertMCPClaimParams
- type CoordinationLatestRolloutRow
- type CoordinationLeaseHolderRow
- type CoordinationPruneAccountBackoffParams
- type CoordinationPruneAdmissionWindowsParams
- type CoordinationRecordAccountFailureParams
- type CoordinationReleaseLeaseParams
- type CoordinationRenewLeaseParams
- type CoordinationSelfConfigGenerationRow
- type CoordinationSelfConfigSeedAttestParams
- type CoordinationSetMCPRateBucketParams
- type CoordinationUpsertNodeParams
- type CountDeliveryTargetReportsForPrincipalParams
- type CountEnvironmentPKICertificatesParams
- type CountEnvironmentValuesParams
- type CountEnvironmentsParams
- type CountExternalIdentitiesForIssuerParams
- type CountIncompatiblePasswordKDFsParams
- type CountKeyGroupsParams
- type CountKeysParams
- type CountLiveMachineCredentialsInProjectParams
- type CountLiveMachineCredentialsInProjectRow
- type CountLiveMachineCredentialsParams
- type CountLiveRemotePairingExchangesParams
- type CountOpenPlansParams
- type CountPendingChangeForCellParams
- type CountPendingChangesForProjectParams
- type CountRevisionPinsForProjectParams
- type CountSCIMGroupsByDisplayNameParams
- type CountSCIMGroupsByExternalIDParams
- type CountSCIMGroupsParams
- type CountSCIMUsersByExternalIDParams
- type CountSCIMUsersByUserNameParams
- type CountSCIMUsersParams
- type CountSelfConfigSeedDisagreementParams
- type CountServiceAccountPKICertificatesParams
- type CreateEnvironmentParams
- type CreateFolderParams
- type CreateInstanceConnectionParams
- type CreateKeyGroupParams
- type CreateKeyParams
- type CreateOAuth2ProviderParams
- type CreateOIDCProviderParams
- type CreateOrgParams
- type CreatePlanParams
- type CreateProjectParams
- type CreateRemotePairingExchangeParams
- type CreateRemotePairingInviteParams
- type CreateRemoteParams
- type CreateSCIMBindingParams
- type CreateSCIMGroupParams
- type CreateSCIMMappingParams
- type CreateSCIMUserParams
- type CreateSelfConfigBindingParams
- type CredentialAuthority
- type CredentialEstablishEvidence
- type CredentialPolicy
- type DBTX
- type DefinitionsPlan
- type DeleteAccessGrantsForRequestParams
- type DeleteAccessPolicyApproversParams
- type DeleteAccessPolicyBypassersParams
- type DeleteAccessPolicyParams
- type DeleteApprovalPolicyApproversParams
- type DeleteApprovalPolicyBypassersParams
- type DeleteApprovalPolicyParams
- type DeleteDeliveryTargetReportParams
- type DeleteEnvironmentParams
- type DeleteEnvironmentPresenceParams
- type DeleteFileTargetKeysParams
- type DeleteFileTargetParams
- type DeleteFolderParams
- type DeleteGrantOriginParams
- type DeleteKeyGroupParams
- type DeleteKeyParams
- type DeleteKeyPresenceParams
- type DeletePendingChangeByIDParams
- type DeletePendingChangeForCellParams
- type DeletePendingChangesForEnvironmentParams
- type DeletePendingChangesForKeyParams
- type DeleteProjectDefinitionsPlansParams
- type DeleteProjectParams
- type DeleteProjectSchemaRevisionParams
- type DeleteRegistrationPolicyParams
- type DeleteRevisionKeyChangesForEnvironmentParams
- type DeleteRevisionPinParams
- type DeleteRevisionPinsForEnvironmentParams
- type DeleteRuleItemParams
- type DeleteRuleRowParams
- type DeleteSCIMAttentionForBindingParams
- type DeleteSCIMBindingParams
- type DeleteSCIMCredentialsForBindingParams
- type DeleteSCIMGroupMemberParams
- type DeleteSCIMGroupMembersForBindingParams
- type DeleteSCIMGroupMembershipsForUserParams
- type DeleteSCIMGroupParams
- type DeleteSCIMGroupsForBindingParams
- type DeleteSCIMMappingParams
- type DeleteSCIMMappingsForBindingParams
- type DeleteSCIMUserParams
- type DeleteSCIMUsersForBindingParams
- type DeleteScanningDismissalsForKeyParams
- type DeleteScanningDismissalsForProjectParams
- type DeleteSecretValueOccurrencesForEnvironmentParams
- type DeleteServiceAccountParams
- type DeleteSessionForPrincipalParams
- type DeleteSnapshotEntriesForEnvironmentParams
- type DeleteSnapshotsForEnvironmentParams
- type DeleteValueEntriesForEnvironmentParams
- type DeleteValueEntriesForKeyParams
- type DeleteValueEntryParams
- type DeleteWebAuthnCredentialParams
- type DeliveryTargetQuotaNotice
- type DeliveryTargetReport
- type DemoteActiveTier3ToRetiringParams
- type DeveloperCredential
- type DeveloperCredentialPolicy
- type DisableWebAuthnCredentialParams
- type DynamicActiveLeaseIDsForProviderParams
- type DynamicActiveLeaseIDsForProviderRow
- type DynamicCreateLeaseParams
- type DynamicCreateProviderParams
- type DynamicDeleteProviderParams
- type DynamicEffect
- type DynamicEnqueueRenewingParams
- type DynamicEnqueueRenewingWithTTLParams
- type DynamicEnqueueRevokingParams
- type DynamicEnqueueRevokingWithTTLParams
- type DynamicEnqueueUnknownParams
- type DynamicEnqueueUnknownWithTTLParams
- type DynamicFinishMintParams
- type DynamicGetLeaseParams
- type DynamicGetLeaseRow
- type DynamicGetProviderParams
- type DynamicGetProviderRow
- type DynamicLease
- type DynamicListLeasesForEnvironmentParams
- type DynamicListLeasesForEnvironmentRow
- type DynamicListProvidersForReencryptParams
- type DynamicListProvidersForReencryptRow
- type DynamicListProvidersParams
- type DynamicListProvidersRow
- type DynamicProvider
- type DynamicProviderCredentialCiphertextParams
- type DynamicReencryptProviderParams
- type DynamicReplaceProviderCredentialParams
- type DynamicRevokeProviderCredentialParams
- type EnterSCIMAttentionParams
- type Environment
- type EnvironmentChainByIDRow
- type EnvironmentReauthSettingsRow
- type ExternalIdentity
- type FederatedBindingByIdentityParams
- type FederatedBindingByIdentityRow
- type FederationIssuer
- type FenceSelfConfigRestoredParams
- type FileTarget
- type FileTargetKey
- type Folder
- type GetAccessPolicyBypasserParams
- type GetAccessPolicyForEnvironmentParams
- type GetAccessPolicyParams
- type GetAccessRequestParams
- type GetAccessVoteParams
- type GetAccountByEmailRow
- type GetAccountByIDRow
- type GetAccountByPrincipalRow
- type GetAccountByUsernameRow
- type GetAccountByWebAuthnUserHandleRow
- type GetAccountProfileRow
- type GetActiveTier3KeyParams
- type GetApprovalPolicyBypasserParams
- type GetApprovalPolicyForEnvironmentParams
- type GetApprovalPolicyParams
- type GetApprovalRequestParams
- type GetApprovalVoteParams
- type GetAuditRetentionPolicyRow
- type GetBackupStateRow
- type GetCredentialAuthorityByVerifierRow
- type GetCredentialEstablishParams
- type GetCredentialEstablishRow
- type GetCredentialPolicyRow
- type GetDeliveryTargetReportParams
- type GetEnabledProviderByIssuerParams
- type GetEnvironmentParametersParams
- type GetEnvironmentParams
- type GetEnvironmentRow
- type GetEnvironmentSettingsParams
- type GetEnvironmentSettingsRow
- type GetExternalIdentityParams
- type GetFileTargetForPrincipalParams
- type GetFileTargetForPrincipalRow
- type GetFileTargetParams
- type GetFileTargetRow
- type GetFolderParams
- type GetInstanceConnectionRow
- type GetKeyGroupParams
- type GetKeyInProjectParams
- type GetKeyParams
- type GetLatestAppliedPlanParams
- type GetLatestSnapshotParams
- type GetOIDCTransactionByStateRow
- type GetOpsDiagnosticsParams
- type GetOpsDiagnosticsRow
- type GetOrgIdentityRow
- type GetPinGenerationParams
- type GetPlanParams
- type GetPrincipalClassRow
- type GetProjectCapacityParams
- type GetProjectCapacityRow
- type GetProjectParams
- type GetProjectRow
- type GetProjectSchemaRevisionParams
- type GetReauthWindowParams
- type GetRemoteByNameRow
- type GetRemoteRow
- type GetRestoreStateRow
- type GetRevisionPinForWorkloadParams
- type GetRuleRow
- type GetSCIMBindingParams
- type GetSCIMCredentialParams
- type GetSCIMCredentialRow
- type GetSCIMGroupParams
- type GetSCIMMappingParams
- type GetSCIMUserByAccountParams
- type GetSCIMUserBySubjectParams
- type GetSCIMUserByUserNameParams
- type GetSCIMUserParams
- type GetScanningDismissalParams
- type GetServiceAccountParams
- type GetSessionByIDRow
- type GetSessionByVerifierRow
- type GetSnapshotByRevisionParams
- type GetSnapshotParameterContractParams
- type GetTier3VersionsParams
- type GetValueEntryParams
- type Grant
- type GrantAccessRequestParams
- type GrantOrigin
- type GuardOAuth2ProviderForMintParams
- type GuardOIDCProviderForMintParams
- type GuardSAMLProviderForMintParams
- type GuardSingletonLeaseParams
- type HaNode
- type InsertAccessGrantParams
- type InsertAccessPolicyApproverParams
- type InsertAccessPolicyBypasserParams
- type InsertAccessPolicyParams
- type InsertAccessRequestParams
- type InsertAccessVoteParams
- type InsertAccountParams
- type InsertApprovalPolicyApproverParams
- type InsertApprovalPolicyBypasserParams
- type InsertApprovalPolicyParams
- type InsertApprovalRequestParams
- type InsertApprovalVoteParams
- type InsertCLILoginParams
- type InsertCLIReauthHandoffParams
- type InsertCredentialAuthorityParams
- type InsertDeliveryTargetQuotaNoticeParams
- type InsertDeliveryTargetReportParams
- type InsertDeveloperCredentialParams
- type InsertExternalIdentityParams
- type InsertFederationIssuerParams
- type InsertFileTargetKeyParams
- type InsertFileTargetParams
- type InsertGrantOriginParams
- type InsertGrantParams
- type InsertInstanceAuditEventParams
- type InsertKeyPresenceParams
- type InsertLoginChallengeParams
- type InsertMachineCredentialParams
- type InsertMachinePrincipalParams
- type InsertMasterKeyParams
- type InsertOAuth2TransactionParams
- type InsertOIDCTransactionParams
- type InsertPasswordCredentialParams
- type InsertPendingChangeParams
- type InsertPrincipalParams
- type InsertProjectSchemaRevisionParams
- type InsertReauthWindowParams
- type InsertRecoveryCodesParams
- type InsertRegistrationPolicyDomainParams
- type InsertRegistrationPolicyEntryParams
- type InsertRegistrationPolicyEntryValueParams
- type InsertRegistrationPolicyParams
- type InsertRegistrationSignupParams
- type InsertRevisionKeyChangeParams
- type InsertRevisionPinParams
- type InsertRuleItemParams
- type InsertRuleParams
- type InsertSAMLProviderParams
- type InsertSAMLReplayParams
- type InsertSAMLSPKeyParams
- type InsertSAMLTransactionParams
- type InsertSCIMCredentialParams
- type InsertScanningDismissalParams
- type InsertSelfConfigJobParams
- type InsertSelfConfigRolloutParams
- type InsertServiceAccountParams
- type InsertSessionParams
- type InsertSnapshotEntryParams
- type InsertSnapshotParams
- type InsertTOTPParams
- type InsertTenantAuditEventParams
- type InsertTier3KeyParams
- type InsertValueEntryParams
- type InsertWebAuthnCeremonyParams
- type InsertWebAuthnCredentialParams
- type InsertWorkspaceHandoffParams
- type InsertWorkspaceOriginParams
- type InstanceConnection
- type InstanceConnectionByVerifierRow
- type InstanceIdentity
- type Key
- type KeyGeneration
- type KeyGroup
- type KeyPresenceEnvironment
- type LastDeliveryFetchAtParams
- type LastDeliveryFetchAtRow
- type ListAccessPoliciesParams
- type ListAccessPolicyApproversParams
- type ListAccessPolicyBypassersParams
- type ListAccessRequestsForEnvironmentParams
- type ListAccessVotesParams
- type ListAdapterManifestKeysParams
- type ListAdapterManifestKeysRow
- type ListAdapterPinsForKeyParams
- type ListAdapterPinsForKeyRow
- type ListAllProjectsRow
- type ListApprovalPoliciesParams
- type ListApprovalPolicyApproversParams
- type ListApprovalPolicyBypassersParams
- type ListApprovalRequestsForEnvironmentParams
- type ListApprovalVotesParams
- type ListCredentialsBeyondCeilingRow
- type ListDeliveryTargetQuotaNoticesParams
- type ListDeliveryTargetQuotaNoticesRow
- type ListDeliveryTargetReportsParams
- type ListEligibleSnapshotPayloadsParams
- type ListEligibleSnapshotPayloadsRow
- type ListEnvironmentIDsInProjectParams
- type ListEnvironmentProtectionParams
- type ListEnvironmentProtectionRow
- type ListEnvironmentsPageAfterOrderParams
- type ListEnvironmentsPageAfterOrderRow
- type ListEnvironmentsPageAtOrderParams
- type ListEnvironmentsPageAtOrderRow
- type ListEnvironmentsParams
- type ListEnvironmentsRow
- type ListExpiredRegistrationSignupsRow
- type ListFileTargetCatalogueParams
- type ListFileTargetCatalogueRow
- type ListFileTargetKeyIDsParams
- type ListFileTargetsParams
- type ListFileTargetsRow
- type ListFoldersParams
- type ListGrantOriginsForGrantRow
- type ListGrantOriginsForPrincipalRow
- type ListGrantRowsForPrincipalRow
- type ListGrantsForPrincipalParams
- type ListGrantsForPrincipalRow
- type ListGrantsForResetTargetRow
- type ListGrantsWithOriginsAtInstanceRow
- type ListGrantsWithOriginsForOrgRow
- type ListGrantsWithOriginsForProjectParams
- type ListGrantsWithOriginsForProjectRow
- type ListIndefiniteCredentialsRow
- type ListInstanceConnectionsRow
- type ListKeyGroupsParams
- type ListKeyPresenceForKeyParams
- type ListKeyPresenceParams
- type ListKeysPageParams
- type ListKeysParams
- type ListLiveAccessGrantsForPrincipalParams
- type ListLiveAccessGrantsForPrincipalRow
- type ListLockoutRetentionOriginsInOrgRow
- type ListLockoutRetentionOriginsRow
- type ListMachineCredentialsRow
- type ListOauth2ProvidersForReencryptParams
- type ListOauth2ProvidersForReencryptRow
- type ListOidcProvidersForReencryptParams
- type ListOidcProvidersForReencryptRow
- type ListPairingExchangesForReencryptParams
- type ListPairingExchangesForReencryptRow
- type ListPairingInvitesForReencryptParams
- type ListPairingInvitesForReencryptRow
- type ListPasswordCredsForReencryptParams
- type ListPasswordCredsForReencryptRow
- type ListPendingChangesForOwnerInEnvironmentPageParams
- type ListPendingChangesForOwnerInEnvironmentParams
- type ListPendingChangesForOwnerParams
- type ListPendingForReencryptParams
- type ListPendingForReencryptRow
- type ListPendingMarkersParams
- type ListPendingMarkersRow
- type ListPkiIssuersForReencryptParams
- type ListPkiIssuersForReencryptRow
- type ListProjectsRow
- type ListRecoveryCodesForReencryptParams
- type ListRecoveryCodesForReencryptRow
- type ListRegistrationPolicyEntriesRow
- type ListRegistrationSignupsForPolicyRow
- type ListRemotePairingInvitesRow
- type ListRemotesForReencryptParams
- type ListRemotesForReencryptRow
- type ListRemotesRow
- type ListRevisionKeyChangesInRangeParams
- type ListRevisionKeyChangesParams
- type ListRevisionPinsParams
- type ListRuleIDsForEnvironmentParams
- type ListRuleIDsForKeyParams
- type ListRuleIDsForProjectParams
- type ListRuleLinesInOrgRow
- type ListRuleLinesInProjectParams
- type ListRuleLinesInProjectRow
- type ListRulesForPrincipalRow
- type ListRulesForProjectParams
- type ListRulesForProjectRow
- type ListSCIMAttentionParams
- type ListSCIMCredentialsParams
- type ListSCIMCredentialsRow
- type ListSCIMGroupMembersParams
- type ListSCIMGroupMembershipsForUserParams
- type ListSCIMGroupsParams
- type ListSCIMMappingsForGroupParams
- type ListSCIMMappingsParams
- type ListSCIMUsersParams
- type ListSamlKeysForReencryptParams
- type ListSamlKeysForReencryptRow
- type ListSecretValueOccurrenceIDsInParams
- type ListSelfConfigSeedInputsForReencryptParams
- type ListSelfConfigSeedInputsForReencryptRow
- type ListSelfConfigSeedInputsRow
- type ListServiceAccountsParams
- type ListSessionsForPrincipalRow
- type ListSnapshotEntriesForReencryptParams
- type ListSnapshotEntriesForReencryptRow
- type ListSnapshotEntriesParams
- type ListSnapshotsPageParams
- type ListSnapshotsPageRow
- type ListSnapshotsParams
- type ListSnapshotsRow
- type ListTotpCredsForReencryptParams
- type ListTotpCredsForReencryptRow
- type ListUnreconciledPrincipalsRow
- type ListValueEntriesForReencryptParams
- type ListValueEntriesForReencryptRow
- type ListValueEntriesParams
- type ListValueEnvironmentsForKeyParams
- type LockProjectParams
- type LockSCIMBindingParams
- type LockSnapshotForRetentionConsequenceParams
- type LoginChallenge
- type MachineCredential
- type MarkAccessRequestExpiredParams
- type MarkApprovalRequestExpiredParams
- type MarkPlanAppliedParams
- type MarkSAMLSPKeyRetiringCASParams
- type MarkSnapshotCollectedParams
- type MasterKey
- type MaxTenantAuditEnvParams
- type MaxTenantAuditProjectParams
- type McpInflight
- type McpRateBucket
- type NextEnvironmentOrderParams
- type Oauth2Provider
- type Oauth2Transaction
- type OfflineRecord
- type OidcProvider
- type OidcTransaction
- type OpsDiagnostic
- type Org
- type PKIActiveIssuerRow
- type PKIBoundProfileParams
- type PKIBoundProfilesParams
- type PKIClaimRenewalParams
- type PKICompleteRenewalParams
- type PKICountLiveCertificatesParams
- type PKICreateBindingParams
- type PKICreateCertificateParams
- type PKICreateIssuerParams
- type PKICreateProfileParams
- type PKIDeleteBindingParams
- type PKIDestroyIssuerKeyParams
- type PKIFailCertificateParams
- type PKIFinishCertificateParams
- type PKIGetCertificateParams
- type PKIGetCertificateRow
- type PKIGetIssuerRow
- type PKIInstallIssuerParams
- type PKIIssuerKeyRow
- type PKIListBindingsRow
- type PKIListCertificatesParams
- type PKIListCertificatesRow
- type PKIListIssuersRow
- type PKIPublishCRLParams
- type PKIReleaseRenewalParams
- type PKIRevokeCertificateParams
- type PKIRevokeLiveCertificatesParams
- type PKIRevokedChildrenParams
- type PKIRevokedChildrenRow
- type PKIRevokedEntriesParams
- type PKIRevokedEntriesRow
- type PKISetIssuerHoldParams
- type PKISigningIssuerRow
- type PKITransitionIssuerParams
- type PKIUpdateProfileParams
- type PageInstanceAuditExportParams
- type PageInstanceAuditParams
- type PageSCIMGroupsByDisplayNameParams
- type PageSCIMGroupsByExternalIDParams
- type PageSCIMGroupsParams
- type PageSCIMUsersByExternalIDParams
- type PageSCIMUsersByUserNameParams
- type PageSCIMUsersParams
- type PageTenantAuditEnvParams
- type PageTenantAuditExportEnvParams
- type PageTenantAuditExportOrgParams
- type PageTenantAuditExportProjectParams
- type PageTenantAuditOrgParams
- type PageTenantAuditProjectParams
- type PasswordCredential
- type PendingChange
- type PinGeneration
- type PkiCertificate
- type PkiIssuer
- type PkiProfile
- type PkiProfileBinding
- type PollCLILoginParams
- type Principal
- type PrivacyAccountRow
- type PrivacyAuditInstanceRow
- type PrivacyAuditTenantRow
- type PrivacyCorrectAccountParams
- type PrivacyEraseAccountParams
- type PrivacySessionsRow
- type PrivacySetStateParams
- type Project
- type ProjectMachineRevealRow
- type ProjectSchemaRevision
- type ProjectSnapshotRevisionsParams
- type ProjectSnapshotRevisionsRow
- type PruneExpiredRegistrationSignupParams
- type PruneInstanceAuditRetentionParams
- type PruneInstanceAuditRetentionRow
- type PruneTenantAuditRetentionParams
- type PruneTenantAuditRetentionRow
- type PurgeDeliveryTargetReportParams
- type PutSelfConfigNodeParams
- type PutSelfConfigSeedAttestationParams
- type PutSelfConfigSeedInputParams
- type Queries
- func (q *Queries) AcquireHierarchyGeneration(ctx context.Context) (int64, error)
- func (q *Queries) AcquireScopeGeneration(ctx context.Context, scope string) (int64, error)
- func (q *Queries) AdapterAdoptionConflictCount(ctx context.Context, arg AdapterAdoptionConflictCountParams) (int64, error)
- func (q *Queries) AdapterAdoptionInsertJob(ctx context.Context, arg AdapterAdoptionInsertJobParams) (int64, error)
- func (q *Queries) AdapterAdoptionInsertLedger(ctx context.Context, arg AdapterAdoptionInsertLedgerParams) (int64, error)
- func (q *Queries) AdapterAdoptionMarkConflict(ctx context.Context, arg AdapterAdoptionMarkConflictParams) (int64, error)
- func (q *Queries) AdapterAdoptionReclaimReleasedLedger(ctx context.Context, arg AdapterAdoptionReclaimReleasedLedgerParams) (int64, error)
- func (q *Queries) AdapterAdoptionSupersedeJob(ctx context.Context, arg AdapterAdoptionSupersedeJobParams) (int64, error)
- func (q *Queries) AdapterAdoptionTarget(ctx context.Context, arg AdapterAdoptionTargetParams) (AdapterAdoptionTargetRow, error)
- func (q *Queries) AdapterAdoptionUpdateAuthority(ctx context.Context, arg AdapterAdoptionUpdateAuthorityParams) (int64, error)
- func (q *Queries) AdapterAdoptionUpdateHeldLedger(ctx context.Context, arg AdapterAdoptionUpdateHeldLedgerParams) (int64, error)
- func (q *Queries) AdapterAdoptionUpdateTarget(ctx context.Context, arg AdapterAdoptionUpdateTargetParams) (int64, error)
- func (q *Queries) AdapterBeginConfigureEffect(ctx context.Context, arg AdapterBeginConfigureEffectParams) error
- func (q *Queries) AdapterConfigAWSConfiguredNames(ctx context.Context, arg AdapterConfigAWSConfiguredNamesParams) ([]AdapterConfigAWSConfiguredNamesRow, error)
- func (q *Queries) AdapterConfigAWSPendingNames(ctx context.Context, arg AdapterConfigAWSPendingNamesParams) ([]AdapterConfigAWSPendingNamesRow, error)
- func (q *Queries) AdapterConfigConfiguredNames(ctx context.Context, arg AdapterConfigConfiguredNamesParams) ([]AdapterConfigConfiguredNamesRow, error)
- func (q *Queries) AdapterConfigFindings(ctx context.Context, arg AdapterConfigFindingsParams) ([]AdapterConfigFindingsRow, error)
- func (q *Queries) AdapterConfigPendingNames(ctx context.Context, arg AdapterConfigPendingNamesParams) ([]AdapterConfigPendingNamesRow, error)
- func (q *Queries) AdapterConfiguration(ctx context.Context, arg AdapterConfigurationParams) (AdapterConfigurationRow, error)
- func (q *Queries) AdapterConflicts(ctx context.Context, arg AdapterConflictsParams) ([]AdapterConflictsRow, error)
- func (q *Queries) AdapterCreate(ctx context.Context, arg AdapterCreateParams) error
- func (q *Queries) AdapterDeleteTargetKeys(ctx context.Context, arg AdapterDeleteTargetKeysParams) error
- func (q *Queries) AdapterEnqueueTarget(ctx context.Context, arg AdapterEnqueueTargetParams) (int64, error)
- func (q *Queries) AdapterEnvironments(ctx context.Context, arg AdapterEnvironmentsParams) ([]string, error)
- func (q *Queries) AdapterEraseUnusedCredential(ctx context.Context, arg AdapterEraseUnusedCredentialParams) error
- func (q *Queries) AdapterFinishConfigureEffect(ctx context.Context, arg AdapterFinishConfigureEffectParams) (int64, error)
- func (q *Queries) AdapterGet(ctx context.Context, arg AdapterGetParams) (AdapterGetRow, error)
- func (q *Queries) AdapterGetActiveForUpdate(ctx context.Context, arg AdapterGetActiveForUpdateParams) (AdapterGetActiveForUpdateRow, error)
- func (q *Queries) AdapterGetActiveTargetForUpdate(ctx context.Context, arg AdapterGetActiveTargetForUpdateParams) (AdapterGetActiveTargetForUpdateRow, error)
- func (q *Queries) AdapterGetTarget(ctx context.Context, arg AdapterGetTargetParams) (AdapterGetTargetRow, error)
- func (q *Queries) AdapterHealthCounts(ctx context.Context) (AdapterHealthCountsRow, error)
- func (q *Queries) AdapterInsertConflict(ctx context.Context, arg AdapterInsertConflictParams) (int64, error)
- func (q *Queries) AdapterInsertScrubJob(ctx context.Context, arg AdapterInsertScrubJobParams) (int64, error)
- func (q *Queries) AdapterInsertTarget(ctx context.Context, arg AdapterInsertTargetParams) error
- func (q *Queries) AdapterInsertTargetKey(ctx context.Context, arg AdapterInsertTargetKeyParams) error
- func (q *Queries) AdapterList(ctx context.Context, arg AdapterListParams) ([]AdapterListRow, error)
- func (q *Queries) AdapterListForReencrypt(ctx context.Context, arg AdapterListForReencryptParams) ([]AdapterListForReencryptRow, error)
- func (q *Queries) AdapterListMovesForReencrypt(ctx context.Context, arg AdapterListMovesForReencryptParams) ([]AdapterListMovesForReencryptRow, error)
- func (q *Queries) AdapterListTargets(ctx context.Context, arg AdapterListTargetsParams) ([]AdapterListTargetsRow, error)
- func (q *Queries) AdapterManualTarget(ctx context.Context, arg AdapterManualTargetParams) (AdapterManualTargetRow, error)
- func (q *Queries) AdapterMapping(ctx context.Context, arg AdapterMappingParams) ([]AdapterMappingRow, error)
- func (q *Queries) AdapterMarkTombstoned(ctx context.Context, arg AdapterMarkTombstonedParams) (int64, error)
- func (q *Queries) AdapterMoveAWSConfiguredNames(ctx context.Context, arg AdapterMoveAWSConfiguredNamesParams) ([]AdapterMoveAWSConfiguredNamesRow, error)
- func (q *Queries) AdapterMoveAWSPendingNames(ctx context.Context, arg AdapterMoveAWSPendingNamesParams) ([]AdapterMoveAWSPendingNamesRow, error)
- func (q *Queries) AdapterMoveActivate(ctx context.Context, arg AdapterMoveActivateParams) (int64, error)
- func (q *Queries) AdapterMoveActivateCanceledTarget(ctx context.Context, arg AdapterMoveActivateCanceledTargetParams) (int64, error)
- func (q *Queries) AdapterMoveBeginOriginAdapter(ctx context.Context, arg AdapterMoveBeginOriginAdapterParams) (AdapterMoveBeginOriginAdapterRow, error)
- func (q *Queries) AdapterMoveBeginOriginCollisions(ctx context.Context, arg AdapterMoveBeginOriginCollisionsParams) (int64, error)
- func (q *Queries) AdapterMoveBeginOriginTargets(ctx context.Context, arg AdapterMoveBeginOriginTargetsParams) ([]AdapterMoveBeginOriginTargetsRow, error)
- func (q *Queries) AdapterMoveBeginTarget(ctx context.Context, arg AdapterMoveBeginTargetParams) (AdapterMoveBeginTargetRow, error)
- func (q *Queries) AdapterMoveCancel(ctx context.Context, arg AdapterMoveCancelParams) (int64, error)
- func (q *Queries) AdapterMoveCancelTarget(ctx context.Context, arg AdapterMoveCancelTargetParams) (AdapterMoveCancelTargetRow, error)
- func (q *Queries) AdapterMoveConfiguredCollision(ctx context.Context, arg AdapterMoveConfiguredCollisionParams) (int64, error)
- func (q *Queries) AdapterMoveDeleteClaims(ctx context.Context, arg AdapterMoveDeleteClaimsParams) (int64, error)
- func (q *Queries) AdapterMoveDeleteKeys(ctx context.Context, arg AdapterMoveDeleteKeysParams) (int64, error)
- func (q *Queries) AdapterMoveFlags(ctx context.Context, arg AdapterMoveFlagsParams) (AdapterMoveFlagsRow, error)
- func (q *Queries) AdapterMoveGet(ctx context.Context, arg AdapterMoveGetParams) (AdapterMoveGetRow, error)
- func (q *Queries) AdapterMoveGetLocked(ctx context.Context, arg AdapterMoveGetLockedParams) (AdapterMoveGetLockedRow, error)
- func (q *Queries) AdapterMoveInsertAWSClaim(ctx context.Context, arg AdapterMoveInsertAWSClaimParams) (int64, error)
- func (q *Queries) AdapterMoveInsertActivateJob(ctx context.Context, arg AdapterMoveInsertActivateJobParams) (int64, error)
- func (q *Queries) AdapterMoveInsertClaim(ctx context.Context, arg AdapterMoveInsertClaimParams) (int64, error)
- func (q *Queries) AdapterMoveInsertConvergeJob(ctx context.Context, arg AdapterMoveInsertConvergeJobParams) (int64, error)
- func (q *Queries) AdapterMoveInsertJob(ctx context.Context, arg AdapterMoveInsertJobParams) (int64, error)
- func (q *Queries) AdapterMoveInsertKey(ctx context.Context, arg AdapterMoveInsertKeyParams) (int64, error)
- func (q *Queries) AdapterMoveInsertOrigin(ctx context.Context, arg AdapterMoveInsertOriginParams) (int64, error)
- func (q *Queries) AdapterMoveInsertTarget(ctx context.Context, arg AdapterMoveInsertTargetParams) (int64, error)
- func (q *Queries) AdapterMoveInsertTargetMove(ctx context.Context, arg AdapterMoveInsertTargetMoveParams) (int64, error)
- func (q *Queries) AdapterMoveJobs(ctx context.Context, arg AdapterMoveJobsParams) ([]AdapterMoveJobsRow, error)
- func (q *Queries) AdapterMoveMarkAdapterMoving(ctx context.Context, arg AdapterMoveMarkAdapterMovingParams) (int64, error)
- func (q *Queries) AdapterMoveMarkMovingTarget(ctx context.Context, arg AdapterMoveMarkMovingTargetParams) (int64, error)
- func (q *Queries) AdapterMoveMarkResumingTarget(ctx context.Context, arg AdapterMoveMarkResumingTargetParams) (int64, error)
- func (q *Queries) AdapterMovePendingKeyIDs(ctx context.Context, arg AdapterMovePendingKeyIDsParams) ([]string, error)
- func (q *Queries) AdapterMoveReleaseLedger(ctx context.Context, arg AdapterMoveReleaseLedgerParams) (int64, error)
- func (q *Queries) AdapterMoveReplaceOriginCollisions(ctx context.Context, arg AdapterMoveReplaceOriginCollisionsParams) (int64, error)
- func (q *Queries) AdapterMoveResetDestinations(ctx context.Context, arg AdapterMoveResetDestinationsParams) (int64, error)
- func (q *Queries) AdapterMoveRestoreAdapter(ctx context.Context, arg AdapterMoveRestoreAdapterParams) (int64, error)
- func (q *Queries) AdapterMoveResumeTarget(ctx context.Context, arg AdapterMoveResumeTargetParams) (int64, error)
- func (q *Queries) AdapterMoveSetActiveAuthority(ctx context.Context, arg AdapterMoveSetActiveAuthorityParams) (int64, error)
- func (q *Queries) AdapterMoveSupersedeJob(ctx context.Context, arg AdapterMoveSupersedeJobParams) (int64, error)
- func (q *Queries) AdapterMoveTargetKeyIDs(ctx context.Context, arg AdapterMoveTargetKeyIDsParams) ([]string, error)
- func (q *Queries) AdapterMoveTargets(ctx context.Context, arg AdapterMoveTargetsParams) ([]AdapterMoveTargetsRow, error)
- func (q *Queries) AdapterMoveUpdateAuthority(ctx context.Context, arg AdapterMoveUpdateAuthorityParams) (int64, error)
- func (q *Queries) AdapterMoveUpdatePendingOrigin(ctx context.Context, arg AdapterMoveUpdatePendingOriginParams) (int64, error)
- func (q *Queries) AdapterMoveUpdatePendingTarget(ctx context.Context, arg AdapterMoveUpdatePendingTargetParams) (int64, error)
- func (q *Queries) AdapterOriginCurrentRoute(ctx context.Context, arg AdapterOriginCurrentRouteParams) (AdapterOriginCurrentRouteRow, error)
- func (q *Queries) AdapterOriginHeldCandidates(ctx context.Context, arg AdapterOriginHeldCandidatesParams) ([]AdapterOriginHeldCandidatesRow, error)
- func (q *Queries) AdapterOrphans(ctx context.Context, arg AdapterOrphansParams) ([]AdapterOrphansRow, error)
- func (q *Queries) AdapterPauseTarget(ctx context.Context, arg AdapterPauseTargetParams) (AdapterPauseTargetRow, error)
- func (q *Queries) AdapterPauseTargetUpdate(ctx context.Context, arg AdapterPauseTargetUpdateParams) (int64, error)
- func (q *Queries) AdapterPlanCredential(ctx context.Context, arg AdapterPlanCredentialParams) (AdapterPlanCredentialRow, error)
- func (q *Queries) AdapterPlanLedger(ctx context.Context, arg AdapterPlanLedgerParams) ([]AdapterPlanLedgerRow, error)
- func (q *Queries) AdapterPlanManifest(ctx context.Context, arg AdapterPlanManifestParams) ([]AdapterPlanManifestRow, error)
- func (q *Queries) AdapterPlanTarget(ctx context.Context, arg AdapterPlanTargetParams) (AdapterPlanTargetRow, error)
- func (q *Queries) AdapterProvider(ctx context.Context, arg AdapterProviderParams) ([]string, error)
- func (q *Queries) AdapterPublishedTargets(ctx context.Context, arg AdapterPublishedTargetsParams) ([]AdapterPublishedTargetsRow, error)
- func (q *Queries) AdapterRecordCredentialExpiry(ctx context.Context, arg AdapterRecordCredentialExpiryParams) (int64, error)
- func (q *Queries) AdapterReencrypt(ctx context.Context, arg AdapterReencryptParams) (int64, error)
- func (q *Queries) AdapterReencryptMove(ctx context.Context, arg AdapterReencryptMoveParams) (int64, error)
- func (q *Queries) AdapterReleaseLedger(ctx context.Context, arg AdapterReleaseLedgerParams) error
- func (q *Queries) AdapterReplaceCredential(ctx context.Context, arg AdapterReplaceCredentialParams) (int64, error)
- func (q *Queries) AdapterReplaceCredentialBump(ctx context.Context, arg AdapterReplaceCredentialBumpParams) (int64, error)
- func (q *Queries) AdapterReplaceCredentialTarget(ctx context.Context, arg AdapterReplaceCredentialTargetParams) (AdapterReplaceCredentialTargetRow, error)
- func (q *Queries) AdapterResumeAdoptedJob(ctx context.Context, arg AdapterResumeAdoptedJobParams) (int64, error)
- func (q *Queries) AdapterResumeRevision(ctx context.Context, arg AdapterResumeRevisionParams) (int64, error)
- func (q *Queries) AdapterResumeTarget(ctx context.Context, arg AdapterResumeTargetParams) (int64, error)
- func (q *Queries) AdapterRetainTarget(ctx context.Context, arg AdapterRetainTargetParams) (int64, error)
- func (q *Queries) AdapterRetireCredentialJobs(ctx context.Context, arg AdapterRetireCredentialJobsParams) (int64, error)
- func (q *Queries) AdapterRevokeCredential(ctx context.Context, arg AdapterRevokeCredentialParams) (int64, error)
- func (q *Queries) AdapterRevokeCredentialBump(ctx context.Context, arg AdapterRevokeCredentialBumpParams) (int64, error)
- func (q *Queries) AdapterRevokeCredentialTarget(ctx context.Context, arg AdapterRevokeCredentialTargetParams) (AdapterRevokeCredentialTargetRow, error)
- func (q *Queries) AdapterScrubTarget(ctx context.Context, arg AdapterScrubTargetParams) (int64, error)
- func (q *Queries) AdapterTargetActiveJob(ctx context.Context, arg AdapterTargetActiveJobParams) (string, error)
- func (q *Queries) AdapterTargetEnvironments(ctx context.Context, arg AdapterTargetEnvironmentsParams) ([]string, error)
- func (q *Queries) AdapterTargetKeyIDs(ctx context.Context, arg AdapterTargetKeyIDsParams) ([]string, error)
- func (q *Queries) AdapterTargetKeys(ctx context.Context, arg AdapterTargetKeysParams) ([]AdapterTargetKeysRow, error)
- func (q *Queries) AdapterTeardownAuthority(ctx context.Context, arg AdapterTeardownAuthorityParams) (string, error)
- func (q *Queries) AdapterTeardownTarget(ctx context.Context, arg AdapterTeardownTargetParams) (AdapterTeardownTargetRow, error)
- func (q *Queries) AdapterTeardownTargets(ctx context.Context, arg AdapterTeardownTargetsParams) ([]AdapterTeardownTargetsRow, error)
- func (q *Queries) AdapterTeardownUnfinishedMoves(ctx context.Context, arg AdapterTeardownUnfinishedMovesParams) (int64, error)
- func (q *Queries) AdapterUpdateActiveAuthority(ctx context.Context, arg AdapterUpdateActiveAuthorityParams) (int64, error)
- func (q *Queries) AdapterUpdateAuthorityExpiry(ctx context.Context, arg AdapterUpdateAuthorityExpiryParams) (int64, error)
- func (q *Queries) AdapterUpdateTargetConfig(ctx context.Context, arg AdapterUpdateTargetConfigParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateApplyTarget(ctx context.Context, arg AdapterWorkerActivateApplyTargetParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateCollisionQuery(ctx context.Context, arg AdapterWorkerActivateCollisionQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateCompleteMove(ctx context.Context, arg AdapterWorkerActivateCompleteMoveParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateDeleteClaims(ctx context.Context, arg AdapterWorkerActivateDeleteClaimsParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateDeleteKeys(ctx context.Context, arg AdapterWorkerActivateDeleteKeysParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateFinish(ctx context.Context, arg AdapterWorkerActivateFinishParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateInsertJob(ctx context.Context, arg AdapterWorkerActivateInsertJobParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateInsertKeys(ctx context.Context, arg AdapterWorkerActivateInsertKeysParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateLookup(ctx context.Context, arg AdapterWorkerActivateLookupParams) (AdapterWorkerActivateLookupRow, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveActivateAdapter(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveApplyTarget(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveApplyTargetParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveCompleteMove(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveCountUnresolved(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveDeleteClaims(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveDeleteKeys(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveDeleteKeysParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveInsertJob(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveInsertJobParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveInsertKeys(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveInsertKeysParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveLoadPending(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveLoadPendingParams) (AdapterWorkerActivateOriginRouteMoveLoadPendingRow, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveMarkProbe(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveMarkProbeParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateOriginRouteMoveTargetQuery(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveTargetQueryParams) ([]AdapterWorkerActivateOriginRouteMoveTargetQueryRow, error)
- func (q *Queries) AdapterWorkerActivateReleaseReservations(ctx context.Context, arg AdapterWorkerActivateReleaseReservationsParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateSetResolved(ctx context.Context, arg AdapterWorkerActivateSetResolvedParams) (int64, error)
- func (q *Queries) AdapterWorkerActivateUpdateExpiry(ctx context.Context, arg AdapterWorkerActivateUpdateExpiryParams) (int64, error)
- func (q *Queries) AdapterWorkerCheckProviderSwitchQuery(ctx context.Context) (int64, error)
- func (q *Queries) AdapterWorkerClaimDueSelectQuery(ctx context.Context, now string) (AdapterWorkerClaimDueSelectQueryRow, error)
- func (q *Queries) AdapterWorkerClaimDueUpdate(ctx context.Context, arg AdapterWorkerClaimDueUpdateParams) (int64, error)
- func (q *Queries) AdapterWorkerCloseIndeterminateEffectsQuery(ctx context.Context, arg AdapterWorkerCloseIndeterminateEffectsQueryParams) ([]AdapterWorkerCloseIndeterminateEffectsQueryRow, error)
- func (q *Queries) AdapterWorkerCloseIndeterminateEffectsRelease(ctx context.Context, arg AdapterWorkerCloseIndeterminateEffectsReleaseParams) (int64, error)
- func (q *Queries) AdapterWorkerCloseIndeterminateEffectsUpdate(ctx context.Context, arg AdapterWorkerCloseIndeterminateEffectsUpdateParams) (int64, error)
- func (q *Queries) AdapterWorkerCompleteJob(ctx context.Context, arg AdapterWorkerCompleteJobParams) (int64, error)
- func (q *Queries) AdapterWorkerDetachSupersededJob(ctx context.Context, arg AdapterWorkerDetachSupersededJobParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishDeadCredentialScrubErase(ctx context.Context, arg AdapterWorkerFinishDeadCredentialScrubEraseParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishDeadCredentialScrubLookup(ctx context.Context, arg AdapterWorkerFinishDeadCredentialScrubLookupParams) (string, error)
- func (q *Queries) AdapterWorkerFinishDeadCredentialScrubMarkTarget(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerFinishDeadCredentialScrubReleaseLedger(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerFinishJobAttention(ctx context.Context, arg AdapterWorkerFinishJobAttentionParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishJobErase(ctx context.Context, arg AdapterWorkerFinishJobEraseParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishJobLookup(ctx context.Context, arg AdapterWorkerFinishJobLookupParams) (string, error)
- func (q *Queries) AdapterWorkerFinishJobMarkTarget(ctx context.Context, arg AdapterWorkerFinishJobMarkTargetParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishJobMarkTargets(ctx context.Context, arg AdapterWorkerFinishJobMarkTargetsParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishJobQuery(ctx context.Context, arg AdapterWorkerFinishJobQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishJobSupersede(ctx context.Context, arg AdapterWorkerFinishJobSupersedeParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubActivateMove(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubCountHeld(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubCountPending(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubInsert(ctx context.Context, arg AdapterWorkerFinishOriginRouteMoveScrubInsertParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubMark(ctx context.Context, arg AdapterWorkerFinishOriginRouteMoveScrubMarkParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubMarkDone(ctx context.Context, arg AdapterWorkerFinishOriginRouteMoveScrubMarkDoneParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubTargetQuery(ctx context.Context, ...) ([]AdapterWorkerFinishOriginRouteMoveScrubTargetQueryRow, error)
- func (q *Queries) AdapterWorkerFinishReleaseLease(ctx context.Context, arg AdapterWorkerFinishReleaseLeaseParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishRemove(ctx context.Context, arg AdapterWorkerFinishRemoveParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishRouteMoveScrubActiveLedgerQuery(ctx context.Context, ...) (int64, error)
- func (q *Queries) AdapterWorkerFinishRouteMoveScrubInsert(ctx context.Context, arg AdapterWorkerFinishRouteMoveScrubInsertParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishRouteMoveScrubLookupMove(ctx context.Context, arg AdapterWorkerFinishRouteMoveScrubLookupMoveParams) (string, error)
- func (q *Queries) AdapterWorkerFinishRouteMoveScrubMark(ctx context.Context, arg AdapterWorkerFinishRouteMoveScrubMarkParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishRouteMoveScrubMove(ctx context.Context, arg AdapterWorkerFinishRouteMoveScrubMoveParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishRouteMoveScrubPersistOrphans(ctx context.Context, arg AdapterWorkerFinishRouteMoveScrubPersistOrphansParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishUpdate(ctx context.Context, arg AdapterWorkerFinishUpdateParams) (int64, error)
- func (q *Queries) AdapterWorkerFinishUpdateEffect(ctx context.Context, arg AdapterWorkerFinishUpdateEffectParams) (int64, error)
- func (q *Queries) AdapterWorkerGateQuery(ctx context.Context, arg AdapterWorkerGateQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerInsertAdapterJobAuditWithIDQuery(ctx context.Context, arg AdapterWorkerInsertAdapterJobAuditWithIDQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerInsertConflictDedup(ctx context.Context, arg AdapterWorkerInsertConflictDedupParams) (int64, error)
- func (q *Queries) AdapterWorkerInsertConflictInsert(ctx context.Context, arg AdapterWorkerInsertConflictInsertParams) (int64, error)
- func (q *Queries) AdapterWorkerLoadActivationQuery(ctx context.Context, arg AdapterWorkerLoadActivationQueryParams) (AdapterWorkerLoadActivationQueryRow, error)
- func (q *Queries) AdapterWorkerLoadExecutionCompletedQuery(ctx context.Context, arg AdapterWorkerLoadExecutionCompletedQueryParams) ([]AdapterWorkerLoadExecutionCompletedQueryRow, error)
- func (q *Queries) AdapterWorkerLoadExecutionEntryQuery(ctx context.Context, arg AdapterWorkerLoadExecutionEntryQueryParams) ([]AdapterWorkerLoadExecutionEntryQueryRow, error)
- func (q *Queries) AdapterWorkerLoadExecutionLedgerQuery(ctx context.Context, arg AdapterWorkerLoadExecutionLedgerQueryParams) ([]AdapterWorkerLoadExecutionLedgerQueryRow, error)
- func (q *Queries) AdapterWorkerLoadExecutionQuery(ctx context.Context, arg AdapterWorkerLoadExecutionQueryParams) (AdapterWorkerLoadExecutionQueryRow, error)
- func (q *Queries) AdapterWorkerLoadExecutionSnapshotQuery(ctx context.Context, arg AdapterWorkerLoadExecutionSnapshotQueryParams) (AdapterWorkerLoadExecutionSnapshotQueryRow, error)
- func (q *Queries) AdapterWorkerLockCustodyJob(ctx context.Context, arg AdapterWorkerLockCustodyJobParams) (int64, error)
- func (q *Queries) AdapterWorkerLockCustodyTarget(ctx context.Context, arg AdapterWorkerLockCustodyTargetParams) (int64, error)
- func (q *Queries) AdapterWorkerPinExecutionLease(ctx context.Context, arg AdapterWorkerPinExecutionLeaseParams) (int64, error)
- func (q *Queries) AdapterWorkerPinExecutionRevision(ctx context.Context, arg AdapterWorkerPinExecutionRevisionParams) (int64, error)
- func (q *Queries) AdapterWorkerPrepareExplicitRecovery(ctx context.Context, arg AdapterWorkerPrepareExplicitRecoveryParams) (int64, error)
- func (q *Queries) AdapterWorkerPrepareInsert(ctx context.Context, arg AdapterWorkerPrepareInsertParams) (int64, error)
- func (q *Queries) AdapterWorkerPrepareLease(ctx context.Context, arg AdapterWorkerPrepareLeaseParams) (int64, error)
- func (q *Queries) AdapterWorkerPrepareProviderLease(ctx context.Context, arg AdapterWorkerPrepareProviderLeaseParams) (int64, error)
- func (q *Queries) AdapterWorkerPrepareUpdate(ctx context.Context, arg AdapterWorkerPrepareUpdateParams) (int64, error)
- func (q *Queries) AdapterWorkerRaiseDriftAttentionQuery(ctx context.Context, arg AdapterWorkerRaiseDriftAttentionQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerRecordJobOutcome(ctx context.Context, arg AdapterWorkerRecordJobOutcomeParams) (int64, error)
- func (q *Queries) AdapterWorkerRefuseRemove(ctx context.Context, arg AdapterWorkerRefuseRemoveParams) (int64, error)
- func (q *Queries) AdapterWorkerReleaseReservationRemove(ctx context.Context, arg AdapterWorkerReleaseReservationRemoveParams) (int64, error)
- func (q *Queries) AdapterWorkerReserveCountQuery(ctx context.Context, arg AdapterWorkerReserveCountQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerReserveCurrentRoute(ctx context.Context, arg AdapterWorkerReserveCurrentRouteParams) (AdapterWorkerReserveCurrentRouteRow, error)
- func (q *Queries) AdapterWorkerReserveInsert(ctx context.Context, arg AdapterWorkerReserveInsertParams) (int64, error)
- func (q *Queries) AdapterWorkerReserveLookup(ctx context.Context, arg AdapterWorkerReserveLookupParams) (AdapterWorkerReserveLookupRow, error)
- func (q *Queries) AdapterWorkerReservePendingQuery(ctx context.Context, arg AdapterWorkerReservePendingQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerReserveReactivate(ctx context.Context, arg AdapterWorkerReserveReactivateParams) (int64, error)
- func (q *Queries) AdapterWorkerReserveSelectQuery(ctx context.Context, arg AdapterWorkerReserveSelectQueryParams) (string, error)
- func (q *Queries) AdapterWorkerRestoreHeldScrubAdapter(ctx context.Context, arg AdapterWorkerRestoreHeldScrubAdapterParams) (int64, error)
- func (q *Queries) AdapterWorkerRestoreHeldScrubTarget(ctx context.Context, arg AdapterWorkerRestoreHeldScrubTargetParams) (int64, error)
- func (q *Queries) AdapterWorkerTryEnqueueDepthQuery(ctx context.Context, arg AdapterWorkerTryEnqueueDepthQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerTryEnqueueExistsQuery(ctx context.Context, arg AdapterWorkerTryEnqueueExistsQueryParams) (int64, error)
- func (q *Queries) AdapterWorkerTryEnqueueInsert(ctx context.Context, arg AdapterWorkerTryEnqueueInsertParams) (int64, error)
- func (q *Queries) AdapterWorkerTryEnqueueLookup(ctx context.Context, arg AdapterWorkerTryEnqueueLookupParams) (int64, error)
- func (q *Queries) AdapterWorkerTryEnqueuePreviousQuery(ctx context.Context, arg AdapterWorkerTryEnqueuePreviousQueryParams) (string, error)
- func (q *Queries) AdapterWorkerTryEnqueueSupersede(ctx context.Context, arg AdapterWorkerTryEnqueueSupersedeParams) (int64, error)
- func (q *Queries) AdapterWorkerTryEnqueueUpdate(ctx context.Context, arg AdapterWorkerTryEnqueueUpdateParams) (int64, error)
- func (q *Queries) AddSCIMGroupMember(ctx context.Context, arg AddSCIMGroupMemberParams) error
- func (q *Queries) AdvancePrincipalGeneration(ctx context.Context, id string) error
- func (q *Queries) AdvanceRestoreEpoch(ctx context.Context, arg AdvanceRestoreEpochParams) error
- func (q *Queries) AdvanceTOTPStep(ctx context.Context, arg AdvanceTOTPStepParams) (int64, error)
- func (q *Queries) AdvanceWebAuthnSignCount(ctx context.Context, arg AdvanceWebAuthnSignCountParams) (int64, error)
- func (q *Queries) AllOpenableTier3(ctx context.Context) ([]Tier3Key, error)
- func (q *Queries) ApproveCLILogin(ctx context.Context, arg ApproveCLILoginParams) (int64, error)
- func (q *Queries) ApproveCLIReauthHandoff(ctx context.Context, arg ApproveCLIReauthHandoffParams) (int64, error)
- func (q *Queries) ApproveWorkspaceHandoff(ctx context.Context, arg ApproveWorkspaceHandoffParams) (int64, error)
- func (q *Queries) AssertActiveTier3Version(ctx context.Context, arg AssertActiveTier3VersionParams) (string, error)
- func (q *Queries) AuditPrunedSince(ctx context.Context, sinceTime string) (bool, error)
- func (q *Queries) BindRemotePairedConnection(ctx context.Context, arg BindRemotePairedConnectionParams) error
- func (q *Queries) BindSessionToOAuth2Provider(ctx context.Context, arg BindSessionToOAuth2ProviderParams) (int64, error)
- func (q *Queries) BindSessionToSAMLProvider(ctx context.Context, arg BindSessionToSAMLProviderParams) (int64, error)
- func (q *Queries) BumpFileTargetGeneration(ctx context.Context, arg BumpFileTargetGenerationParams) (int64, error)
- func (q *Queries) BumpProjectSchemaRevision(ctx context.Context, arg BumpProjectSchemaRevisionParams) (int64, error)
- func (q *Queries) CLILoginByCode(ctx context.Context, codeVerifier []byte) (CliLoginHandoff, error)
- func (q *Queries) CLILoginByState(ctx context.Context, stateVerifier []byte) (CliLoginHandoff, error)
- func (q *Queries) CLILoginByUserCode(ctx context.Context, userCodeVerifier []byte) (CliLoginHandoff, error)
- func (q *Queries) CLIReauthHandoffByCode(ctx context.Context, codeVerifier []byte) (CliReauthHandoff, error)
- func (q *Queries) CLIReauthHandoffByState(ctx context.Context, stateVerifier []byte) (CliReauthHandoff, error)
- func (q *Queries) ClaimFederatedAuthority(ctx context.Context, arg ClaimFederatedAuthorityParams) (int64, error)
- func (q *Queries) ClaimOfflineRecord(ctx context.Context, arg ClaimOfflineRecordParams) (int64, error)
- func (q *Queries) ClaimRemotePairingAttempt(ctx context.Context, arg ClaimRemotePairingAttemptParams) (int64, error)
- func (q *Queries) ClaimRemotePairingReplay(ctx context.Context, arg ClaimRemotePairingReplayParams) (int64, error)
- func (q *Queries) ClampCredentialExpiry(ctx context.Context, ceiling sql.NullString) (int64, error)
- func (q *Queries) ClampDeveloperCredentialExpiry(ctx context.Context, arg ClampDeveloperCredentialExpiryParams) error
- func (q *Queries) ClampIndefiniteCredentials(ctx context.Context, expiresAt sql.NullString) (int64, error)
- func (q *Queries) ClearKeyGroupMembers(ctx context.Context, arg ClearKeyGroupMembersParams) error
- func (q *Queries) ClearSCIMAttention(ctx context.Context, arg ClearSCIMAttentionParams) (int64, error)
- func (q *Queries) ClearSCIMGroupMembers(ctx context.Context, arg ClearSCIMGroupMembersParams) (int64, error)
- func (q *Queries) ClearSelfConfigSeedInputs(ctx context.Context) error
- func (q *Queries) CommitSelfConfigTarget(ctx context.Context, arg CommitSelfConfigTargetParams) (int64, error)
- func (q *Queries) ConfirmTOTP(ctx context.Context, arg ConfirmTOTPParams) (int64, error)
- func (q *Queries) ConsumeCLILogin(ctx context.Context, arg ConsumeCLILoginParams) (int64, error)
- func (q *Queries) ConsumeCLIReauthHandoff(ctx context.Context, arg ConsumeCLIReauthHandoffParams) (int64, error)
- func (q *Queries) ConsumeCredentialAuthority(ctx context.Context, arg ConsumeCredentialAuthorityParams) (int64, error)
- func (q *Queries) ConsumeLoginChallenge(ctx context.Context, arg ConsumeLoginChallengeParams) (int64, error)
- func (q *Queries) ConsumeOAuth2Transaction(ctx context.Context, arg ConsumeOAuth2TransactionParams) (int64, error)
- func (q *Queries) ConsumeOIDCTransaction(ctx context.Context, arg ConsumeOIDCTransactionParams) (int64, error)
- func (q *Queries) ConsumeOutstandingAuthoritiesForAccount(ctx context.Context, arg ConsumeOutstandingAuthoritiesForAccountParams) error
- func (q *Queries) ConsumeRegistrationSignup(ctx context.Context, arg ConsumeRegistrationSignupParams) (int64, error)
- func (q *Queries) ConsumeRemotePairingExchange(ctx context.Context, arg ConsumeRemotePairingExchangeParams) (int64, error)
- func (q *Queries) ConsumeRemotePairingInvite(ctx context.Context, arg ConsumeRemotePairingInviteParams) (int64, error)
- func (q *Queries) ConsumeSAMLTransaction(ctx context.Context, arg ConsumeSAMLTransactionParams) (int64, error)
- func (q *Queries) ConsumeSingleDecisionWindow(ctx context.Context, arg ConsumeSingleDecisionWindowParams) (int64, error)
- func (q *Queries) ConsumeWebAuthnCeremony(ctx context.Context, arg ConsumeWebAuthnCeremonyParams) (int64, error)
- func (q *Queries) ConsumeWorkspaceHandoff(ctx context.Context, arg ConsumeWorkspaceHandoffParams) (int64, error)
- func (q *Queries) CoordinationAccountFailureState(ctx context.Context, arg CoordinationAccountFailureStateParams) (CoordinationAccountFailureStateRow, error)
- func (q *Queries) CoordinationBumpWindow(ctx context.Context, arg CoordinationBumpWindowParams) (int64, error)
- func (q *Queries) CoordinationClaimLease(ctx context.Context, arg CoordinationClaimLeaseParams) (int64, error)
- func (q *Queries) CoordinationClearAccount(ctx context.Context, arg CoordinationClearAccountParams) error
- func (q *Queries) CoordinationCountLiveNodes(ctx context.Context, since string) (int64, error)
- func (q *Queries) CoordinationCountMCPClaims(ctx context.Context, arg CoordinationCountMCPClaimsParams) (CoordinationCountMCPClaimsRow, error)
- func (q *Queries) CoordinationCurrentTopology(ctx context.Context) (string, error)
- func (q *Queries) CoordinationForeignRootKeyFingerprints(ctx context.Context, arg CoordinationForeignRootKeyFingerprintsParams) ([]string, error)
- func (q *Queries) CoordinationInsertMCPClaim(ctx context.Context, arg CoordinationInsertMCPClaimParams) error
- func (q *Queries) CoordinationLatestRollout(ctx context.Context) (CoordinationLatestRolloutRow, error)
- func (q *Queries) CoordinationLeaseHolder(ctx context.Context, name string) (CoordinationLeaseHolderRow, error)
- func (q *Queries) CoordinationMCPRateBucket(ctx context.Context, principalID string) (string, error)
- func (q *Queries) CoordinationPruneAccountBackoff(ctx context.Context, arg CoordinationPruneAccountBackoffParams) error
- func (q *Queries) CoordinationPruneAdmissionWindows(ctx context.Context, arg CoordinationPruneAdmissionWindowsParams) error
- func (q *Queries) CoordinationPruneMCPClaims(ctx context.Context, now string) error
- func (q *Queries) CoordinationPruneNodes(ctx context.Context, cutoff string) error
- func (q *Queries) CoordinationRecordAccountFailure(ctx context.Context, arg CoordinationRecordAccountFailureParams) (int64, error)
- func (q *Queries) CoordinationReleaseLease(ctx context.Context, arg CoordinationReleaseLeaseParams) error
- func (q *Queries) CoordinationReleaseMCP(ctx context.Context, callID string) error
- func (q *Queries) CoordinationRenewLease(ctx context.Context, arg CoordinationRenewLeaseParams) (int64, error)
- func (q *Queries) CoordinationSelfConfigGeneration(ctx context.Context) (CoordinationSelfConfigGenerationRow, error)
- func (q *Queries) CoordinationSelfConfigSeedAttest(ctx context.Context, arg CoordinationSelfConfigSeedAttestParams) error
- func (q *Queries) CoordinationSetMCPRateBucket(ctx context.Context, arg CoordinationSetMCPRateBucketParams) error
- func (q *Queries) CoordinationUpsertNode(ctx context.Context, arg CoordinationUpsertNodeParams) error
- func (q *Queries) CountAccounts(ctx context.Context) (int64, error)
- func (q *Queries) CountActiveAccessGrants(ctx context.Context, expiresAt sql.NullString) (int64, error)
- func (q *Queries) CountActiveApprovalRequests(ctx context.Context) (int64, error)
- func (q *Queries) CountBindingsForIssuer(ctx context.Context, issuerID sql.NullString) (int64, error)
- func (q *Queries) CountDeliveryTargetReportsForPrincipal(ctx context.Context, arg CountDeliveryTargetReportsForPrincipalParams) (int64, error)
- func (q *Queries) CountEnvironmentPKICertificates(ctx context.Context, arg CountEnvironmentPKICertificatesParams) (int64, error)
- func (q *Queries) CountEnvironmentValues(ctx context.Context, arg CountEnvironmentValuesParams) (int64, error)
- func (q *Queries) CountEnvironments(ctx context.Context, arg CountEnvironmentsParams) (int64, error)
- func (q *Queries) CountExpiredApprovalRequests(ctx context.Context) (int64, error)
- func (q *Queries) CountExternalIdentitiesForIssuer(ctx context.Context, arg CountExternalIdentitiesForIssuerParams) (int64, error)
- func (q *Queries) CountGrantOrigins(ctx context.Context, grantID string) (int64, error)
- func (q *Queries) CountGrantsForOrg(ctx context.Context, orgID sql.NullString) (int64, error)
- func (q *Queries) CountIncompatiblePasswordKDFs(ctx context.Context, arg CountIncompatiblePasswordKDFsParams) (int64, error)
- func (q *Queries) CountKeyGroups(ctx context.Context, arg CountKeyGroupsParams) (int64, error)
- func (q *Queries) CountKeys(ctx context.Context, arg CountKeysParams) (int64, error)
- func (q *Queries) CountLiveMachineCredentials(ctx context.Context, arg CountLiveMachineCredentialsParams) (int64, error)
- func (q *Queries) CountLiveMachineCredentialsInProject(ctx context.Context, arg CountLiveMachineCredentialsInProjectParams) ([]CountLiveMachineCredentialsInProjectRow, error)
- func (q *Queries) CountLiveRemotePairingExchanges(ctx context.Context, arg CountLiveRemotePairingExchangesParams) (int64, error)
- func (q *Queries) CountLiveRemotePairingInvites(ctx context.Context, now string) (int64, error)
- func (q *Queries) CountOpenAccessRequests(ctx context.Context) (int64, error)
- func (q *Queries) CountOpenPlans(ctx context.Context, arg CountOpenPlansParams) (int64, error)
- func (q *Queries) CountOpenableTier3NotAtMaster(ctx context.Context, masterKeyVersion int64) (int64, error)
- func (q *Queries) CountOrgs(ctx context.Context, includeSelfConfig interface{}) (int64, error)
- func (q *Queries) CountPendingChangeForCell(ctx context.Context, arg CountPendingChangeForCellParams) (int64, error)
- func (q *Queries) CountPendingChangesForProject(ctx context.Context, arg CountPendingChangesForProjectParams) (int64, error)
- func (q *Queries) CountRecentSelfConfigJobs(ctx context.Context, sinceAt string) (int64, error)
- func (q *Queries) CountRegistrationPolicyOrgs(ctx context.Context, registrationPolicyID sql.NullString) (int64, error)
- func (q *Queries) CountRemotePairingReplays(ctx context.Context) (int64, error)
- func (q *Queries) CountRemotePairingReplaysForKey(ctx context.Context, thumbprint string) (int64, error)
- func (q *Queries) CountRemotes(ctx context.Context) (int64, error)
- func (q *Queries) CountRevisionPinsForProject(ctx context.Context, arg CountRevisionPinsForProjectParams) (int64, error)
- func (q *Queries) CountSCIMGroups(ctx context.Context, arg CountSCIMGroupsParams) (int64, error)
- func (q *Queries) CountSCIMGroupsByDisplayName(ctx context.Context, arg CountSCIMGroupsByDisplayNameParams) (int64, error)
- func (q *Queries) CountSCIMGroupsByExternalID(ctx context.Context, arg CountSCIMGroupsByExternalIDParams) (int64, error)
- func (q *Queries) CountSCIMUsers(ctx context.Context, arg CountSCIMUsersParams) (int64, error)
- func (q *Queries) CountSCIMUsersByExternalID(ctx context.Context, arg CountSCIMUsersByExternalIDParams) (int64, error)
- func (q *Queries) CountSCIMUsersByUserName(ctx context.Context, arg CountSCIMUsersByUserNameParams) (int64, error)
- func (q *Queries) CountSelfConfigCompletedGeneration(ctx context.Context, generation int64) (int64, error)
- func (q *Queries) CountSelfConfigOpenJobs(ctx context.Context) (int64, error)
- func (q *Queries) CountSelfConfigRootFinalizationBlockers(ctx context.Context) (int64, error)
- func (q *Queries) CountSelfConfigSeedDisagreement(ctx context.Context, arg CountSelfConfigSeedDisagreementParams) (int64, error)
- func (q *Queries) CountServiceAccountPKICertificates(ctx context.Context, arg CountServiceAccountPKICertificatesParams) (int64, error)
- func (q *Queries) CreateEnvironment(ctx context.Context, arg CreateEnvironmentParams) error
- func (q *Queries) CreateFolder(ctx context.Context, arg CreateFolderParams) error
- func (q *Queries) CreateInstanceConnection(ctx context.Context, arg CreateInstanceConnectionParams) error
- func (q *Queries) CreateKey(ctx context.Context, arg CreateKeyParams) error
- func (q *Queries) CreateKeyGroup(ctx context.Context, arg CreateKeyGroupParams) error
- func (q *Queries) CreateOAuth2Provider(ctx context.Context, arg CreateOAuth2ProviderParams) error
- func (q *Queries) CreateOIDCProvider(ctx context.Context, arg CreateOIDCProviderParams) error
- func (q *Queries) CreateOrg(ctx context.Context, arg CreateOrgParams) error
- func (q *Queries) CreatePlan(ctx context.Context, arg CreatePlanParams) error
- func (q *Queries) CreateProject(ctx context.Context, arg CreateProjectParams) error
- func (q *Queries) CreateRemote(ctx context.Context, arg CreateRemoteParams) error
- func (q *Queries) CreateRemotePairingExchange(ctx context.Context, arg CreateRemotePairingExchangeParams) error
- func (q *Queries) CreateRemotePairingInvite(ctx context.Context, arg CreateRemotePairingInviteParams) error
- func (q *Queries) CreateSCIMBinding(ctx context.Context, arg CreateSCIMBindingParams) error
- func (q *Queries) CreateSCIMGroup(ctx context.Context, arg CreateSCIMGroupParams) error
- func (q *Queries) CreateSCIMMapping(ctx context.Context, arg CreateSCIMMappingParams) error
- func (q *Queries) CreateSCIMUser(ctx context.Context, arg CreateSCIMUserParams) error
- func (q *Queries) CreateSelfConfigBinding(ctx context.Context, arg CreateSelfConfigBindingParams) (int64, error)
- func (q *Queries) DeleteAccessGrantsForRequest(ctx context.Context, arg DeleteAccessGrantsForRequestParams) (int64, error)
- func (q *Queries) DeleteAccessPolicy(ctx context.Context, arg DeleteAccessPolicyParams) (int64, error)
- func (q *Queries) DeleteAccessPolicyApprovers(ctx context.Context, arg DeleteAccessPolicyApproversParams) (int64, error)
- func (q *Queries) DeleteAccessPolicyBypassers(ctx context.Context, arg DeleteAccessPolicyBypassersParams) (int64, error)
- func (q *Queries) DeleteAllScanningDismissals(ctx context.Context) (int64, error)
- func (q *Queries) DeleteApprovalPolicy(ctx context.Context, arg DeleteApprovalPolicyParams) (int64, error)
- func (q *Queries) DeleteApprovalPolicyApprovers(ctx context.Context, arg DeleteApprovalPolicyApproversParams) (int64, error)
- func (q *Queries) DeleteApprovalPolicyBypassers(ctx context.Context, arg DeleteApprovalPolicyBypassersParams) (int64, error)
- func (q *Queries) DeleteCollectedSnapshotEntries(ctx context.Context, snapshotID string) (int64, error)
- func (q *Queries) DeleteDeliveryTargetReport(ctx context.Context, arg DeleteDeliveryTargetReportParams) (int64, error)
- func (q *Queries) DeleteEnvironment(ctx context.Context, arg DeleteEnvironmentParams) (int64, error)
- func (q *Queries) DeleteEnvironmentPresence(ctx context.Context, arg DeleteEnvironmentPresenceParams) error
- func (q *Queries) DeleteExpiredSAMLReplay(ctx context.Context, expiresAt string) (int64, error)
- func (q *Queries) DeleteExpiredUnconsumedWebAuthnCeremonies(ctx context.Context, expiresAt string) (int64, error)
- func (q *Queries) DeleteExpiredWorkspaceHandoffs(ctx context.Context, expiresAt string) (int64, error)
- func (q *Queries) DeleteExternalIdentity(ctx context.Context, id string) error
- func (q *Queries) DeleteFederationIssuer(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteFileTarget(ctx context.Context, arg DeleteFileTargetParams) (int64, error)
- func (q *Queries) DeleteFileTargetKeys(ctx context.Context, arg DeleteFileTargetKeysParams) error
- func (q *Queries) DeleteFolder(ctx context.Context, arg DeleteFolderParams) (int64, error)
- func (q *Queries) DeleteGrantOrigin(ctx context.Context, arg DeleteGrantOriginParams) (int64, error)
- func (q *Queries) DeleteGrantOriginsForPrincipal(ctx context.Context, principalID string) (int64, error)
- func (q *Queries) DeleteGrantRow(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteGrantsForPrincipal(ctx context.Context, principalID string) (int64, error)
- func (q *Queries) DeleteKey(ctx context.Context, arg DeleteKeyParams) (int64, error)
- func (q *Queries) DeleteKeyGroup(ctx context.Context, arg DeleteKeyGroupParams) (int64, error)
- func (q *Queries) DeleteKeyPresence(ctx context.Context, arg DeleteKeyPresenceParams) error
- func (q *Queries) DeleteMachineCredentials(ctx context.Context, serviceAccountID string) (int64, error)
- func (q *Queries) DeleteOAuth2Provider(ctx context.Context, id string) error
- func (q *Queries) DeleteOIDCProvider(ctx context.Context, id string) error
- func (q *Queries) DeleteOrg(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteOriginlessGrantsForPrincipal(ctx context.Context, principalID string) (int64, error)
- func (q *Queries) DeletePendingChangeByID(ctx context.Context, arg DeletePendingChangeByIDParams) (int64, error)
- func (q *Queries) DeletePendingChangeForCell(ctx context.Context, arg DeletePendingChangeForCellParams) (int64, error)
- func (q *Queries) DeletePendingChangesForEnvironment(ctx context.Context, arg DeletePendingChangesForEnvironmentParams) (int64, error)
- func (q *Queries) DeletePendingChangesForKey(ctx context.Context, arg DeletePendingChangesForKeyParams) (int64, error)
- func (q *Queries) DeletePendingLoginChallengesForPrincipal(ctx context.Context, principalID string) error
- func (q *Queries) DeletePendingTOTPForAccount(ctx context.Context, accountID string) error
- func (q *Queries) DeletePendingWorkspaceHandoffsForPrincipal(ctx context.Context, principalID sql.NullString) error
- func (q *Queries) DeletePinGenerationsForPrincipal(ctx context.Context, principalID string) (int64, error)
- func (q *Queries) DeletePrincipal(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteProject(ctx context.Context, arg DeleteProjectParams) (int64, error)
- func (q *Queries) DeleteProjectDefinitionsPlans(ctx context.Context, arg DeleteProjectDefinitionsPlansParams) error
- func (q *Queries) DeleteProjectSchemaRevision(ctx context.Context, arg DeleteProjectSchemaRevisionParams) error
- func (q *Queries) DeleteReauthWindowsForEnvironment(ctx context.Context, environmentID string) (int64, error)
- func (q *Queries) DeleteRegistrationPolicy(ctx context.Context, arg DeleteRegistrationPolicyParams) (int64, error)
- func (q *Queries) DeleteRegistrationPolicyDomains(ctx context.Context, policyID string) error
- func (q *Queries) DeleteRegistrationPolicyEntries(ctx context.Context, policyID string) error
- func (q *Queries) DeleteRegistrationPolicyEntryValues(ctx context.Context, policyID string) error
- func (q *Queries) DeleteRegistrationSignup(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteRemote(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteRestoredRemotes(ctx context.Context) error
- func (q *Queries) DeleteRetiringSAMLSPKey(ctx context.Context, id string) (int64, error)
- func (q *Queries) DeleteRevisionKeyChangesForEnvironment(ctx context.Context, arg DeleteRevisionKeyChangesForEnvironmentParams) (int64, error)
- func (q *Queries) DeleteRevisionPin(ctx context.Context, arg DeleteRevisionPinParams) (int64, error)
- func (q *Queries) DeleteRevisionPinsForEnvironment(ctx context.Context, arg DeleteRevisionPinsForEnvironmentParams) (int64, error)
- func (q *Queries) DeleteRuleItem(ctx context.Context, arg DeleteRuleItemParams) (int64, error)
- func (q *Queries) DeleteRuleItems(ctx context.Context, ruleID string) (int64, error)
- func (q *Queries) DeleteRuleRow(ctx context.Context, arg DeleteRuleRowParams) (int64, error)
- func (q *Queries) DeleteSAMLProvider(ctx context.Context, id string) error
- func (q *Queries) DeleteSCIMAttentionForBinding(ctx context.Context, arg DeleteSCIMAttentionForBindingParams) (int64, error)
- func (q *Queries) DeleteSCIMBinding(ctx context.Context, arg DeleteSCIMBindingParams) (int64, error)
- func (q *Queries) DeleteSCIMCredentialsForBinding(ctx context.Context, arg DeleteSCIMCredentialsForBindingParams) error
- func (q *Queries) DeleteSCIMGroup(ctx context.Context, arg DeleteSCIMGroupParams) (int64, error)
- func (q *Queries) DeleteSCIMGroupMember(ctx context.Context, arg DeleteSCIMGroupMemberParams) (int64, error)
- func (q *Queries) DeleteSCIMGroupMembersForBinding(ctx context.Context, arg DeleteSCIMGroupMembersForBindingParams) (int64, error)
- func (q *Queries) DeleteSCIMGroupMembershipsForUser(ctx context.Context, arg DeleteSCIMGroupMembershipsForUserParams) (int64, error)
- func (q *Queries) DeleteSCIMGroupsForBinding(ctx context.Context, arg DeleteSCIMGroupsForBindingParams) (int64, error)
- func (q *Queries) DeleteSCIMMapping(ctx context.Context, arg DeleteSCIMMappingParams) (int64, error)
- func (q *Queries) DeleteSCIMMappingsForBinding(ctx context.Context, arg DeleteSCIMMappingsForBindingParams) (int64, error)
- func (q *Queries) DeleteSCIMUser(ctx context.Context, arg DeleteSCIMUserParams) (int64, error)
- func (q *Queries) DeleteSCIMUsersForBinding(ctx context.Context, arg DeleteSCIMUsersForBindingParams) (int64, error)
- func (q *Queries) DeleteScanningDismissalsForKey(ctx context.Context, arg DeleteScanningDismissalsForKeyParams) (int64, error)
- func (q *Queries) DeleteScanningDismissalsForProject(ctx context.Context, arg DeleteScanningDismissalsForProjectParams) (int64, error)
- func (q *Queries) DeleteSecretValueOccurrencesForEnvironment(ctx context.Context, arg DeleteSecretValueOccurrencesForEnvironmentParams) (int64, error)
- func (q *Queries) DeleteSelfConfigNodes(ctx context.Context) error
- func (q *Queries) DeleteSelfConfigRetention(ctx context.Context, slot string) error
- func (q *Queries) DeleteServiceAccount(ctx context.Context, arg DeleteServiceAccountParams) (int64, error)
- func (q *Queries) DeleteSession(ctx context.Context, id string) error
- func (q *Queries) DeleteSessionForPrincipal(ctx context.Context, arg DeleteSessionForPrincipalParams) (int64, error)
- func (q *Queries) DeleteSessionsForOAuth2Provider(ctx context.Context, oauth2ProviderID sql.NullString) (int64, error)
- func (q *Queries) DeleteSessionsForOrigin(ctx context.Context, requestingOrigin sql.NullString) (int64, error)
- func (q *Queries) DeleteSessionsForPrincipal(ctx context.Context, principalID string) error
- func (q *Queries) DeleteSessionsForProvider(ctx context.Context, providerID sql.NullString) (int64, error)
- func (q *Queries) DeleteSessionsForSAMLProvider(ctx context.Context, samlProviderID sql.NullString) (int64, error)
- func (q *Queries) DeleteSessionsForWebAuthnCredential(ctx context.Context, credentialID sql.NullString) (int64, error)
- func (q *Queries) DeleteSnapshotEntriesForEnvironment(ctx context.Context, arg DeleteSnapshotEntriesForEnvironmentParams) (int64, error)
- func (q *Queries) DeleteSnapshotsForEnvironment(ctx context.Context, arg DeleteSnapshotsForEnvironmentParams) (int64, error)
- func (q *Queries) DeleteTOTPForAccount(ctx context.Context, accountID string) error
- func (q *Queries) DeleteValueEntriesForEnvironment(ctx context.Context, arg DeleteValueEntriesForEnvironmentParams) (int64, error)
- func (q *Queries) DeleteValueEntriesForKey(ctx context.Context, arg DeleteValueEntriesForKeyParams) (int64, error)
- func (q *Queries) DeleteValueEntry(ctx context.Context, arg DeleteValueEntryParams) (int64, error)
- func (q *Queries) DeleteWebAuthnCredential(ctx context.Context, arg DeleteWebAuthnCredentialParams) (int64, error)
- func (q *Queries) DeleteWorkspaceOrigin(ctx context.Context, origin string) (int64, error)
- func (q *Queries) DemoteActiveTier3ToRetiring(ctx context.Context, arg DemoteActiveTier3ToRetiringParams) (int64, error)
- func (q *Queries) DeveloperCredentialByVerifier(ctx context.Context, verifier []byte) (DeveloperCredential, error)
- func (q *Queries) DeveloperMaxCredentialEpoch(ctx context.Context) (interface{}, error)
- func (q *Queries) DisableWebAuthnCredential(ctx context.Context, arg DisableWebAuthnCredentialParams) (int64, error)
- func (q *Queries) DropRestoredSCIMOrigins(ctx context.Context, principalID string) (int64, error)
- func (q *Queries) DynamicActiveLeaseIDsForProvider(ctx context.Context, arg DynamicActiveLeaseIDsForProviderParams) ([]DynamicActiveLeaseIDsForProviderRow, error)
- func (q *Queries) DynamicCreateLease(ctx context.Context, arg DynamicCreateLeaseParams) (int64, error)
- func (q *Queries) DynamicCreateProvider(ctx context.Context, arg DynamicCreateProviderParams) (int64, error)
- func (q *Queries) DynamicDeleteProvider(ctx context.Context, arg DynamicDeleteProviderParams) (int64, error)
- func (q *Queries) DynamicEnqueueRenewing(ctx context.Context, arg DynamicEnqueueRenewingParams) (int64, error)
- func (q *Queries) DynamicEnqueueRenewingWithTTL(ctx context.Context, arg DynamicEnqueueRenewingWithTTLParams) (int64, error)
- func (q *Queries) DynamicEnqueueRevoking(ctx context.Context, arg DynamicEnqueueRevokingParams) (int64, error)
- func (q *Queries) DynamicEnqueueRevokingWithTTL(ctx context.Context, arg DynamicEnqueueRevokingWithTTLParams) (int64, error)
- func (q *Queries) DynamicEnqueueUnknown(ctx context.Context, arg DynamicEnqueueUnknownParams) (int64, error)
- func (q *Queries) DynamicEnqueueUnknownWithTTL(ctx context.Context, arg DynamicEnqueueUnknownWithTTLParams) (int64, error)
- func (q *Queries) DynamicFinishMint(ctx context.Context, arg DynamicFinishMintParams) (int64, error)
- func (q *Queries) DynamicGetLease(ctx context.Context, arg DynamicGetLeaseParams) (DynamicGetLeaseRow, error)
- func (q *Queries) DynamicGetProvider(ctx context.Context, arg DynamicGetProviderParams) (DynamicGetProviderRow, error)
- func (q *Queries) DynamicListLeasesForEnvironment(ctx context.Context, arg DynamicListLeasesForEnvironmentParams) ([]DynamicListLeasesForEnvironmentRow, error)
- func (q *Queries) DynamicListProviders(ctx context.Context, arg DynamicListProvidersParams) ([]DynamicListProvidersRow, error)
- func (q *Queries) DynamicListProvidersForReencrypt(ctx context.Context, arg DynamicListProvidersForReencryptParams) ([]DynamicListProvidersForReencryptRow, error)
- func (q *Queries) DynamicProviderCredentialCiphertext(ctx context.Context, arg DynamicProviderCredentialCiphertextParams) ([]byte, error)
- func (q *Queries) DynamicReencryptProvider(ctx context.Context, arg DynamicReencryptProviderParams) (int64, error)
- func (q *Queries) DynamicReplaceProviderCredential(ctx context.Context, arg DynamicReplaceProviderCredentialParams) (int64, error)
- func (q *Queries) DynamicRevokeProviderCredential(ctx context.Context, arg DynamicRevokeProviderCredentialParams) (int64, error)
- func (q *Queries) EnterSCIMAttention(ctx context.Context, arg EnterSCIMAttentionParams) (int64, error)
- func (q *Queries) EnvironmentChainByID(ctx context.Context, id string) (EnvironmentChainByIDRow, error)
- func (q *Queries) EnvironmentReauthSettings(ctx context.Context, id string) (EnvironmentReauthSettingsRow, error)
- func (q *Queries) FederatedBindingByIdentity(ctx context.Context, arg FederatedBindingByIdentityParams) (FederatedBindingByIdentityRow, error)
- func (q *Queries) FederationIssuerByID(ctx context.Context, id string) (FederationIssuer, error)
- func (q *Queries) FederationIssuerByIssuer(ctx context.Context, issuer string) (FederationIssuer, error)
- func (q *Queries) FenceSelfConfigRestored(ctx context.Context, arg FenceSelfConfigRestoredParams) (int64, error)
- func (q *Queries) FenceSelfConfigTopologyLease(ctx context.Context, expiresAt string) error
- func (q *Queries) GetAccessPolicy(ctx context.Context, arg GetAccessPolicyParams) (AccessPolicy, error)
- func (q *Queries) GetAccessPolicyBypasser(ctx context.Context, arg GetAccessPolicyBypasserParams) (string, error)
- func (q *Queries) GetAccessPolicyForEnvironment(ctx context.Context, arg GetAccessPolicyForEnvironmentParams) (AccessPolicy, error)
- func (q *Queries) GetAccessRequest(ctx context.Context, arg GetAccessRequestParams) (AccessRequest, error)
- func (q *Queries) GetAccessVote(ctx context.Context, arg GetAccessVoteParams) (AccessVote, error)
- func (q *Queries) GetAccountByEmail(ctx context.Context, email sql.NullString) (GetAccountByEmailRow, error)
- func (q *Queries) GetAccountByID(ctx context.Context, id string) (GetAccountByIDRow, error)
- func (q *Queries) GetAccountByPrincipal(ctx context.Context, principalID string) (GetAccountByPrincipalRow, error)
- func (q *Queries) GetAccountByUsername(ctx context.Context, username string) (GetAccountByUsernameRow, error)
- func (q *Queries) GetAccountByWebAuthnUserHandle(ctx context.Context, webauthnUserHandle []byte) (GetAccountByWebAuthnUserHandleRow, error)
- func (q *Queries) GetAccountProfile(ctx context.Context, accountID string) (GetAccountProfileRow, error)
- func (q *Queries) GetActiveMasterKeys(ctx context.Context) ([]MasterKey, error)
- func (q *Queries) GetActiveSAMLSPKey(ctx context.Context) (SamlSpKey, error)
- func (q *Queries) GetActiveTier3Key(ctx context.Context, arg GetActiveTier3KeyParams) (Tier3Key, error)
- func (q *Queries) GetActiveTokenKeyForReceipt(ctx context.Context) (Tier3Key, error)
- func (q *Queries) GetApprovalPolicy(ctx context.Context, arg GetApprovalPolicyParams) (ApprovalPolicy, error)
- func (q *Queries) GetApprovalPolicyBypasser(ctx context.Context, arg GetApprovalPolicyBypasserParams) (string, error)
- func (q *Queries) GetApprovalPolicyForEnvironment(ctx context.Context, arg GetApprovalPolicyForEnvironmentParams) (ApprovalPolicy, error)
- func (q *Queries) GetApprovalRequest(ctx context.Context, arg GetApprovalRequestParams) (ApprovalRequest, error)
- func (q *Queries) GetApprovalVote(ctx context.Context, arg GetApprovalVoteParams) (ApprovalVote, error)
- func (q *Queries) GetAuditRetentionPolicy(ctx context.Context) (GetAuditRetentionPolicyRow, error)
- func (q *Queries) GetBackupState(ctx context.Context) (GetBackupStateRow, error)
- func (q *Queries) GetConfirmedTOTPForAccount(ctx context.Context, accountID string) (TotpCredential, error)
- func (q *Queries) GetCredentialAuthorityByID(ctx context.Context, id string) (CredentialAuthority, error)
- func (q *Queries) GetCredentialAuthorityByVerifier(ctx context.Context, verifier []byte) (GetCredentialAuthorityByVerifierRow, error)
- func (q *Queries) GetCredentialEpoch(ctx context.Context) (int64, error)
- func (q *Queries) GetCredentialEstablish(ctx context.Context, arg GetCredentialEstablishParams) (GetCredentialEstablishRow, error)
- func (q *Queries) GetCredentialPolicy(ctx context.Context) (GetCredentialPolicyRow, error)
- func (q *Queries) GetDeliveryTargetReport(ctx context.Context, arg GetDeliveryTargetReportParams) (DeliveryTargetReport, error)
- func (q *Queries) GetDeveloperCredentialPolicy(ctx context.Context) (int64, error)
- func (q *Queries) GetEnabledProviderByIssuer(ctx context.Context, arg GetEnabledProviderByIssuerParams) (OidcProvider, error)
- func (q *Queries) GetEnabledProviderBySlug(ctx context.Context, slug string) (OidcProvider, error)
- func (q *Queries) GetEnvironment(ctx context.Context, arg GetEnvironmentParams) (GetEnvironmentRow, error)
- func (q *Queries) GetEnvironmentParameters(ctx context.Context, arg GetEnvironmentParametersParams) (string, error)
- func (q *Queries) GetEnvironmentSettings(ctx context.Context, arg GetEnvironmentSettingsParams) (GetEnvironmentSettingsRow, error)
- func (q *Queries) GetExternalIdentity(ctx context.Context, arg GetExternalIdentityParams) (ExternalIdentity, error)
- func (q *Queries) GetExternalIdentityByID(ctx context.Context, id string) (ExternalIdentity, error)
- func (q *Queries) GetFileTarget(ctx context.Context, arg GetFileTargetParams) (GetFileTargetRow, error)
- func (q *Queries) GetFileTargetForPrincipal(ctx context.Context, arg GetFileTargetForPrincipalParams) (GetFileTargetForPrincipalRow, error)
- func (q *Queries) GetFolder(ctx context.Context, arg GetFolderParams) (Folder, error)
- func (q *Queries) GetInstanceConnection(ctx context.Context, id string) (GetInstanceConnectionRow, error)
- func (q *Queries) GetInstanceRegistrationPolicy(ctx context.Context) (RegistrationPolicy, error)
- func (q *Queries) GetKey(ctx context.Context, arg GetKeyParams) (Key, error)
- func (q *Queries) GetKeyGroup(ctx context.Context, arg GetKeyGroupParams) (KeyGroup, error)
- func (q *Queries) GetKeyInProject(ctx context.Context, arg GetKeyInProjectParams) (Key, error)
- func (q *Queries) GetLastPruneSuccess(ctx context.Context) (sql.NullString, error)
- func (q *Queries) GetLatestAppliedPlan(ctx context.Context, arg GetLatestAppliedPlanParams) (DefinitionsPlan, error)
- func (q *Queries) GetLatestSelfConfigTopology(ctx context.Context) (string, error)
- func (q *Queries) GetLatestSnapshot(ctx context.Context, arg GetLatestSnapshotParams) (Snapshot, error)
- func (q *Queries) GetLoginChallengeByID(ctx context.Context, id string) (LoginChallenge, error)
- func (q *Queries) GetOAuth2ProviderBySlug(ctx context.Context, slug string) (Oauth2Provider, error)
- func (q *Queries) GetOAuth2ProviderForCallback(ctx context.Context, id string) (Oauth2Provider, error)
- func (q *Queries) GetOAuth2TransactionByState(ctx context.Context, stateVerifier []byte) (Oauth2Transaction, error)
- func (q *Queries) GetOIDCProviderBySlug(ctx context.Context, slug string) (OidcProvider, error)
- func (q *Queries) GetOIDCTransactionByState(ctx context.Context, stateVerifier []byte) (GetOIDCTransactionByStateRow, error)
- func (q *Queries) GetOpsDiagnostics(ctx context.Context, arg GetOpsDiagnosticsParams) (GetOpsDiagnosticsRow, error)
- func (q *Queries) GetOrg(ctx context.Context, id string) (Org, error)
- func (q *Queries) GetOrgIdentity(ctx context.Context, id string) (GetOrgIdentityRow, error)
- func (q *Queries) GetOrgRegistrationPolicy(ctx context.Context, orgID sql.NullString) (RegistrationPolicy, error)
- func (q *Queries) GetPasswordCredential(ctx context.Context, accountID string) (PasswordCredential, error)
- func (q *Queries) GetPendingTOTPForAccount(ctx context.Context, accountID string) (TotpCredential, error)
- func (q *Queries) GetPinGeneration(ctx context.Context, arg GetPinGenerationParams) (int64, error)
- func (q *Queries) GetPlan(ctx context.Context, arg GetPlanParams) (DefinitionsPlan, error)
- func (q *Queries) GetPrincipalClass(ctx context.Context, id string) (GetPrincipalClassRow, error)
- func (q *Queries) GetPrincipalGeneration(ctx context.Context, id string) (int64, error)
- func (q *Queries) GetPrincipalKind(ctx context.Context, id string) (string, error)
- func (q *Queries) GetProject(ctx context.Context, arg GetProjectParams) (GetProjectRow, error)
- func (q *Queries) GetProjectCapacity(ctx context.Context, arg GetProjectCapacityParams) (GetProjectCapacityRow, error)
- func (q *Queries) GetProjectSchemaRevision(ctx context.Context, arg GetProjectSchemaRevisionParams) (int64, error)
- func (q *Queries) GetProviderForCallback(ctx context.Context, id string) (OidcProvider, error)
- func (q *Queries) GetReauthWindow(ctx context.Context, arg GetReauthWindowParams) (ReauthWindow, error)
- func (q *Queries) GetRecoveryCodes(ctx context.Context, accountID string) (RecoveryCode, error)
- func (q *Queries) GetRegistrationSignupByEmail(ctx context.Context, email string) (RegistrationSignup, error)
- func (q *Queries) GetRegistrationSignupByVerifier(ctx context.Context, tokenVerifier []byte) (RegistrationSignup, error)
- func (q *Queries) GetRemote(ctx context.Context, id string) (GetRemoteRow, error)
- func (q *Queries) GetRemoteByName(ctx context.Context, name string) (GetRemoteByNameRow, error)
- func (q *Queries) GetRemoteSnapshot(ctx context.Context, remoteID string) (RemoteSnapshot, error)
- func (q *Queries) GetRestoreState(ctx context.Context) (GetRestoreStateRow, error)
- func (q *Queries) GetRevisionPinForWorkload(ctx context.Context, arg GetRevisionPinForWorkloadParams) (RevisionPin, error)
- func (q *Queries) GetRule(ctx context.Context, id string) ([]GetRuleRow, error)
- func (q *Queries) GetSAMLProviderBySlug(ctx context.Context, slug string) (SamlProvider, error)
- func (q *Queries) GetSAMLProviderForCallback(ctx context.Context, id string) (SamlProvider, error)
- func (q *Queries) GetSAMLTransactionByRelayState(ctx context.Context, relayStateVerifier []byte) (SamlTransaction, error)
- func (q *Queries) GetSCIMBinding(ctx context.Context, arg GetSCIMBindingParams) (ScimBinding, error)
- func (q *Queries) GetSCIMCredential(ctx context.Context, arg GetSCIMCredentialParams) (GetSCIMCredentialRow, error)
- func (q *Queries) GetSCIMCredentialByVerifier(ctx context.Context, verifier []byte) (ScimCredential, error)
- func (q *Queries) GetSCIMGroup(ctx context.Context, arg GetSCIMGroupParams) (ScimGroup, error)
- func (q *Queries) GetSCIMMapping(ctx context.Context, arg GetSCIMMappingParams) (ScimMapping, error)
- func (q *Queries) GetSCIMUser(ctx context.Context, arg GetSCIMUserParams) (ScimUser, error)
- func (q *Queries) GetSCIMUserByAccount(ctx context.Context, arg GetSCIMUserByAccountParams) (ScimUser, error)
- func (q *Queries) GetSCIMUserBySubject(ctx context.Context, arg GetSCIMUserBySubjectParams) (ScimUser, error)
- func (q *Queries) GetSCIMUserByUserName(ctx context.Context, arg GetSCIMUserByUserNameParams) (ScimUser, error)
- func (q *Queries) GetScanningDismissal(ctx context.Context, arg GetScanningDismissalParams) (string, error)
- func (q *Queries) GetSelfConfigBinding(ctx context.Context) (SelfConfigBinding, error)
- func (q *Queries) GetSelfConfigClock(ctx context.Context) (string, error)
- func (q *Queries) GetSelfConfigJob(ctx context.Context, id string) (SelfConfigJob, error)
- func (q *Queries) GetSelfConfigJobByKey(ctx context.Context, idempotencyKey string) (SelfConfigJob, error)
- func (q *Queries) GetSelfConfigPreviousRevision(ctx context.Context) (int64, error)
- func (q *Queries) GetSelfConfigRollout(ctx context.Context, jobID string) (SelfConfigRollout, error)
- func (q *Queries) GetServiceAccount(ctx context.Context, arg GetServiceAccountParams) (ServiceAccount, error)
- func (q *Queries) GetServiceAccountByID(ctx context.Context, id string) (ServiceAccount, error)
- func (q *Queries) GetServiceAccountByPrincipal(ctx context.Context, principalID string) (ServiceAccount, error)
- func (q *Queries) GetSessionByID(ctx context.Context, id string) (GetSessionByIDRow, error)
- func (q *Queries) GetSessionByVerifier(ctx context.Context, verifier []byte) (GetSessionByVerifierRow, error)
- func (q *Queries) GetSnapshotByRevision(ctx context.Context, arg GetSnapshotByRevisionParams) (Snapshot, error)
- func (q *Queries) GetSnapshotParameterContract(ctx context.Context, arg GetSnapshotParameterContractParams) (string, error)
- func (q *Queries) GetTier3Versions(ctx context.Context, arg GetTier3VersionsParams) ([]Tier3Key, error)
- func (q *Queries) GetValueEntry(ctx context.Context, arg GetValueEntryParams) (ValueEntry, error)
- func (q *Queries) GetWebAuthnCeremonyByChallenge(ctx context.Context, challengeVerifier []byte) (WebauthnCeremony, error)
- func (q *Queries) GetWebAuthnCeremonyByID(ctx context.Context, id string) (WebauthnCeremony, error)
- func (q *Queries) GetWebAuthnCredentialByCredentialID(ctx context.Context, credentialID []byte) (WebauthnCredential, error)
- func (q *Queries) GetWebAuthnCredentialByID(ctx context.Context, id string) (WebauthnCredential, error)
- func (q *Queries) GetWebAuthnUserHandle(ctx context.Context, id string) ([]byte, error)
- func (q *Queries) GetWorkspaceOrigin(ctx context.Context, origin string) (WorkspaceOrigin, error)
- func (q *Queries) GrantAccessRequest(ctx context.Context, arg GrantAccessRequestParams) (int64, error)
- func (q *Queries) GuardOAuth2ProviderForMint(ctx context.Context, arg GuardOAuth2ProviderForMintParams) (int64, error)
- func (q *Queries) GuardOIDCProviderForMint(ctx context.Context, arg GuardOIDCProviderForMintParams) (int64, error)
- func (q *Queries) GuardSAMLProviderForMint(ctx context.Context, arg GuardSAMLProviderForMintParams) (int64, error)
- func (q *Queries) GuardSingletonLease(ctx context.Context, arg GuardSingletonLeaseParams) (int64, error)
- func (q *Queries) HoldRestoredPKIIssuers(ctx context.Context) error
- func (q *Queries) InsertAccessGrant(ctx context.Context, arg InsertAccessGrantParams) error
- func (q *Queries) InsertAccessPolicy(ctx context.Context, arg InsertAccessPolicyParams) error
- func (q *Queries) InsertAccessPolicyApprover(ctx context.Context, arg InsertAccessPolicyApproverParams) error
- func (q *Queries) InsertAccessPolicyBypasser(ctx context.Context, arg InsertAccessPolicyBypasserParams) error
- func (q *Queries) InsertAccessRequest(ctx context.Context, arg InsertAccessRequestParams) error
- func (q *Queries) InsertAccessVote(ctx context.Context, arg InsertAccessVoteParams) error
- func (q *Queries) InsertAccount(ctx context.Context, arg InsertAccountParams) error
- func (q *Queries) InsertApprovalPolicy(ctx context.Context, arg InsertApprovalPolicyParams) error
- func (q *Queries) InsertApprovalPolicyApprover(ctx context.Context, arg InsertApprovalPolicyApproverParams) error
- func (q *Queries) InsertApprovalPolicyBypasser(ctx context.Context, arg InsertApprovalPolicyBypasserParams) error
- func (q *Queries) InsertApprovalRequest(ctx context.Context, arg InsertApprovalRequestParams) error
- func (q *Queries) InsertApprovalVote(ctx context.Context, arg InsertApprovalVoteParams) error
- func (q *Queries) InsertCLILogin(ctx context.Context, arg InsertCLILoginParams) error
- func (q *Queries) InsertCLIReauthHandoff(ctx context.Context, arg InsertCLIReauthHandoffParams) error
- func (q *Queries) InsertCredentialAuthority(ctx context.Context, arg InsertCredentialAuthorityParams) error
- func (q *Queries) InsertDeliveryTargetQuotaNotice(ctx context.Context, arg InsertDeliveryTargetQuotaNoticeParams) error
- func (q *Queries) InsertDeliveryTargetReport(ctx context.Context, arg InsertDeliveryTargetReportParams) error
- func (q *Queries) InsertDeveloperCredential(ctx context.Context, arg InsertDeveloperCredentialParams) error
- func (q *Queries) InsertExternalIdentity(ctx context.Context, arg InsertExternalIdentityParams) error
- func (q *Queries) InsertFederationIssuer(ctx context.Context, arg InsertFederationIssuerParams) error
- func (q *Queries) InsertFileTarget(ctx context.Context, arg InsertFileTargetParams) error
- func (q *Queries) InsertFileTargetKey(ctx context.Context, arg InsertFileTargetKeyParams) error
- func (q *Queries) InsertGrant(ctx context.Context, arg InsertGrantParams) error
- func (q *Queries) InsertGrantOrigin(ctx context.Context, arg InsertGrantOriginParams) error
- func (q *Queries) InsertInstanceAuditEvent(ctx context.Context, arg InsertInstanceAuditEventParams) error
- func (q *Queries) InsertKeyGeneration(ctx context.Context, scope string) error
- func (q *Queries) InsertKeyPresence(ctx context.Context, arg InsertKeyPresenceParams) error
- func (q *Queries) InsertLoginChallenge(ctx context.Context, arg InsertLoginChallengeParams) error
- func (q *Queries) InsertMachineCredential(ctx context.Context, arg InsertMachineCredentialParams) error
- func (q *Queries) InsertMachinePrincipal(ctx context.Context, arg InsertMachinePrincipalParams) error
- func (q *Queries) InsertMasterKey(ctx context.Context, arg InsertMasterKeyParams) error
- func (q *Queries) InsertOAuth2Transaction(ctx context.Context, arg InsertOAuth2TransactionParams) error
- func (q *Queries) InsertOIDCTransaction(ctx context.Context, arg InsertOIDCTransactionParams) error
- func (q *Queries) InsertPasswordCredential(ctx context.Context, arg InsertPasswordCredentialParams) error
- func (q *Queries) InsertPendingChange(ctx context.Context, arg InsertPendingChangeParams) error
- func (q *Queries) InsertPrincipal(ctx context.Context, arg InsertPrincipalParams) error
- func (q *Queries) InsertProjectSchemaRevision(ctx context.Context, arg InsertProjectSchemaRevisionParams) error
- func (q *Queries) InsertReauthWindow(ctx context.Context, arg InsertReauthWindowParams) error
- func (q *Queries) InsertRecoveryCodes(ctx context.Context, arg InsertRecoveryCodesParams) error
- func (q *Queries) InsertRegistrationPolicy(ctx context.Context, arg InsertRegistrationPolicyParams) error
- func (q *Queries) InsertRegistrationPolicyDomain(ctx context.Context, arg InsertRegistrationPolicyDomainParams) error
- func (q *Queries) InsertRegistrationPolicyEntry(ctx context.Context, arg InsertRegistrationPolicyEntryParams) error
- func (q *Queries) InsertRegistrationPolicyEntryValue(ctx context.Context, arg InsertRegistrationPolicyEntryValueParams) error
- func (q *Queries) InsertRegistrationSignup(ctx context.Context, arg InsertRegistrationSignupParams) error
- func (q *Queries) InsertRevisionKeyChange(ctx context.Context, arg InsertRevisionKeyChangeParams) error
- func (q *Queries) InsertRevisionPin(ctx context.Context, arg InsertRevisionPinParams) error
- func (q *Queries) InsertRule(ctx context.Context, arg InsertRuleParams) error
- func (q *Queries) InsertRuleItem(ctx context.Context, arg InsertRuleItemParams) error
- func (q *Queries) InsertSAMLProvider(ctx context.Context, arg InsertSAMLProviderParams) error
- func (q *Queries) InsertSAMLReplay(ctx context.Context, arg InsertSAMLReplayParams) (int64, error)
- func (q *Queries) InsertSAMLSPKey(ctx context.Context, arg InsertSAMLSPKeyParams) error
- func (q *Queries) InsertSAMLTransaction(ctx context.Context, arg InsertSAMLTransactionParams) error
- func (q *Queries) InsertSCIMCredential(ctx context.Context, arg InsertSCIMCredentialParams) error
- func (q *Queries) InsertScanningDismissal(ctx context.Context, arg InsertScanningDismissalParams) error
- func (q *Queries) InsertSelfConfigJob(ctx context.Context, arg InsertSelfConfigJobParams) (int64, error)
- func (q *Queries) InsertSelfConfigRollout(ctx context.Context, arg InsertSelfConfigRolloutParams) (int64, error)
- func (q *Queries) InsertServiceAccount(ctx context.Context, arg InsertServiceAccountParams) error
- func (q *Queries) InsertSession(ctx context.Context, arg InsertSessionParams) error
- func (q *Queries) InsertSnapshot(ctx context.Context, arg InsertSnapshotParams) error
- func (q *Queries) InsertSnapshotEntry(ctx context.Context, arg InsertSnapshotEntryParams) error
- func (q *Queries) InsertTOTP(ctx context.Context, arg InsertTOTPParams) error
- func (q *Queries) InsertTenantAuditEvent(ctx context.Context, arg InsertTenantAuditEventParams) error
- func (q *Queries) InsertTier3Key(ctx context.Context, arg InsertTier3KeyParams) error
- func (q *Queries) InsertValueEntry(ctx context.Context, arg InsertValueEntryParams) error
- func (q *Queries) InsertWebAuthnCeremony(ctx context.Context, arg InsertWebAuthnCeremonyParams) error
- func (q *Queries) InsertWebAuthnCredential(ctx context.Context, arg InsertWebAuthnCredentialParams) error
- func (q *Queries) InsertWorkspaceHandoff(ctx context.Context, arg InsertWorkspaceHandoffParams) error
- func (q *Queries) InsertWorkspaceOrigin(ctx context.Context, arg InsertWorkspaceOriginParams) error
- func (q *Queries) InstanceConnectionByVerifier(ctx context.Context, verifier []byte) (InstanceConnectionByVerifierRow, error)
- func (q *Queries) InstanceIdentity(ctx context.Context) (string, error)
- func (q *Queries) InvalidateRestoredAdapterCredentials(ctx context.Context) error
- func (q *Queries) InvalidateRestoredAdapterRouteMoves(ctx context.Context) error
- func (q *Queries) InvalidateRestoredDynamicProviderCredentials(ctx context.Context) error
- func (q *Queries) InvalidateRestoredOAuth2ProviderCredentials(ctx context.Context, updatedAt string) error
- func (q *Queries) InvalidateRestoredOIDCProviderCredentials(ctx context.Context, updatedAt string) error
- func (q *Queries) LastDeliveryFetchAt(ctx context.Context, arg LastDeliveryFetchAtParams) (LastDeliveryFetchAtRow, error)
- func (q *Queries) ListAccessPolicies(ctx context.Context, arg ListAccessPoliciesParams) ([]AccessPolicy, error)
- func (q *Queries) ListAccessPolicyApprovers(ctx context.Context, arg ListAccessPolicyApproversParams) ([]AccessPolicyApprover, error)
- func (q *Queries) ListAccessPolicyBypassers(ctx context.Context, arg ListAccessPolicyBypassersParams) ([]AccessPolicyBypasser, error)
- func (q *Queries) ListAccessRequestsForEnvironment(ctx context.Context, arg ListAccessRequestsForEnvironmentParams) ([]AccessRequest, error)
- func (q *Queries) ListAccessVotes(ctx context.Context, arg ListAccessVotesParams) ([]AccessVote, error)
- func (q *Queries) ListAdapterManifestKeys(ctx context.Context, arg ListAdapterManifestKeysParams) ([]ListAdapterManifestKeysRow, error)
- func (q *Queries) ListAdapterPinsForKey(ctx context.Context, arg ListAdapterPinsForKeyParams) ([]ListAdapterPinsForKeyRow, error)
- func (q *Queries) ListAllProjects(ctx context.Context) ([]ListAllProjectsRow, error)
- func (q *Queries) ListApprovalPolicies(ctx context.Context, arg ListApprovalPoliciesParams) ([]ApprovalPolicy, error)
- func (q *Queries) ListApprovalPolicyApprovers(ctx context.Context, arg ListApprovalPolicyApproversParams) ([]ApprovalPolicyApprover, error)
- func (q *Queries) ListApprovalPolicyBypassers(ctx context.Context, arg ListApprovalPolicyBypassersParams) ([]ApprovalPolicyBypasser, error)
- func (q *Queries) ListApprovalRequestsForEnvironment(ctx context.Context, arg ListApprovalRequestsForEnvironmentParams) ([]ApprovalRequest, error)
- func (q *Queries) ListApprovalVotes(ctx context.Context, arg ListApprovalVotesParams) ([]ApprovalVote, error)
- func (q *Queries) ListCredentialsBeyondCeiling(ctx context.Context, expiresAt sql.NullString) ([]ListCredentialsBeyondCeilingRow, error)
- func (q *Queries) ListDeliveryTargetQuotaNotices(ctx context.Context, arg ListDeliveryTargetQuotaNoticesParams) ([]ListDeliveryTargetQuotaNoticesRow, error)
- func (q *Queries) ListDeliveryTargetReports(ctx context.Context, arg ListDeliveryTargetReportsParams) ([]DeliveryTargetReport, error)
- func (q *Queries) ListDeveloperCredentials(ctx context.Context) ([]DeveloperCredential, error)
- func (q *Queries) ListEligibleSnapshotPayloads(ctx context.Context, arg ListEligibleSnapshotPayloadsParams) ([]ListEligibleSnapshotPayloadsRow, error)
- func (q *Queries) ListEnvironmentIDsInProject(ctx context.Context, arg ListEnvironmentIDsInProjectParams) ([]string, error)
- func (q *Queries) ListEnvironmentProtection(ctx context.Context, arg ListEnvironmentProtectionParams) ([]ListEnvironmentProtectionRow, error)
- func (q *Queries) ListEnvironments(ctx context.Context, arg ListEnvironmentsParams) ([]ListEnvironmentsRow, error)
- func (q *Queries) ListEnvironmentsPageAfterOrder(ctx context.Context, arg ListEnvironmentsPageAfterOrderParams) ([]ListEnvironmentsPageAfterOrderRow, error)
- func (q *Queries) ListEnvironmentsPageAtOrder(ctx context.Context, arg ListEnvironmentsPageAtOrderParams) ([]ListEnvironmentsPageAtOrderRow, error)
- func (q *Queries) ListExpiredRegistrationSignups(ctx context.Context, expiresAt string) ([]ListExpiredRegistrationSignupsRow, error)
- func (q *Queries) ListExternalIdentitiesForAccount(ctx context.Context, accountID string) ([]ExternalIdentity, error)
- func (q *Queries) ListFederationIssuers(ctx context.Context) ([]FederationIssuer, error)
- func (q *Queries) ListFileTargetCatalogue(ctx context.Context, arg ListFileTargetCatalogueParams) ([]ListFileTargetCatalogueRow, error)
- func (q *Queries) ListFileTargetKeyIDs(ctx context.Context, arg ListFileTargetKeyIDsParams) ([]string, error)
- func (q *Queries) ListFileTargets(ctx context.Context, arg ListFileTargetsParams) ([]ListFileTargetsRow, error)
- func (q *Queries) ListFolders(ctx context.Context, arg ListFoldersParams) ([]Folder, error)
- func (q *Queries) ListGrantOriginsForGrant(ctx context.Context, grantID string) ([]ListGrantOriginsForGrantRow, error)
- func (q *Queries) ListGrantOriginsForPrincipal(ctx context.Context, principalID string) ([]ListGrantOriginsForPrincipalRow, error)
- func (q *Queries) ListGrantRowsForPrincipal(ctx context.Context, principalID string) ([]ListGrantRowsForPrincipalRow, error)
- func (q *Queries) ListGrantsForPrincipal(ctx context.Context, arg ListGrantsForPrincipalParams) ([]ListGrantsForPrincipalRow, error)
- func (q *Queries) ListGrantsForResetTarget(ctx context.Context, principalID string) ([]ListGrantsForResetTargetRow, error)
- func (q *Queries) ListGrantsWithOriginsAtInstance(ctx context.Context) ([]ListGrantsWithOriginsAtInstanceRow, error)
- func (q *Queries) ListGrantsWithOriginsForOrg(ctx context.Context, orgID sql.NullString) ([]ListGrantsWithOriginsForOrgRow, error)
- func (q *Queries) ListGrantsWithOriginsForProject(ctx context.Context, arg ListGrantsWithOriginsForProjectParams) ([]ListGrantsWithOriginsForProjectRow, error)
- func (q *Queries) ListIndefiniteCredentials(ctx context.Context) ([]ListIndefiniteCredentialsRow, error)
- func (q *Queries) ListInstanceConnections(ctx context.Context) ([]ListInstanceConnectionsRow, error)
- func (q *Queries) ListKeyGroups(ctx context.Context, arg ListKeyGroupsParams) ([]KeyGroup, error)
- func (q *Queries) ListKeyPresence(ctx context.Context, arg ListKeyPresenceParams) ([]KeyPresenceEnvironment, error)
- func (q *Queries) ListKeyPresenceForKey(ctx context.Context, arg ListKeyPresenceForKeyParams) ([]KeyPresenceEnvironment, error)
- func (q *Queries) ListKeys(ctx context.Context, arg ListKeysParams) ([]Key, error)
- func (q *Queries) ListKeysPage(ctx context.Context, arg ListKeysPageParams) ([]Key, error)
- func (q *Queries) ListLiveAccessGrantsForPrincipal(ctx context.Context, arg ListLiveAccessGrantsForPrincipalParams) ([]ListLiveAccessGrantsForPrincipalRow, error)
- func (q *Queries) ListLockoutRetentionOrigins(ctx context.Context) ([]ListLockoutRetentionOriginsRow, error)
- func (q *Queries) ListLockoutRetentionOriginsInOrg(ctx context.Context, orgID sql.NullString) ([]ListLockoutRetentionOriginsInOrgRow, error)
- func (q *Queries) ListMachineCredentials(ctx context.Context, serviceAccountID string) ([]ListMachineCredentialsRow, error)
- func (q *Queries) ListManageMembersHoldersAtInstance(ctx context.Context) ([]string, error)
- func (q *Queries) ListManageMembersHoldersForOrg(ctx context.Context, orgID sql.NullString) ([]string, error)
- func (q *Queries) ListOAuth2Providers(ctx context.Context) ([]Oauth2Provider, error)
- func (q *Queries) ListOIDCProviders(ctx context.Context) ([]OidcProvider, error)
- func (q *Queries) ListOauth2ProvidersForReencrypt(ctx context.Context, arg ListOauth2ProvidersForReencryptParams) ([]ListOauth2ProvidersForReencryptRow, error)
- func (q *Queries) ListOidcProvidersForReencrypt(ctx context.Context, arg ListOidcProvidersForReencryptParams) ([]ListOidcProvidersForReencryptRow, error)
- func (q *Queries) ListOrgs(ctx context.Context, includeSelfConfig interface{}) ([]Org, error)
- func (q *Queries) ListPairingExchangesForReencrypt(ctx context.Context, arg ListPairingExchangesForReencryptParams) ([]ListPairingExchangesForReencryptRow, error)
- func (q *Queries) ListPairingInvitesForReencrypt(ctx context.Context, arg ListPairingInvitesForReencryptParams) ([]ListPairingInvitesForReencryptRow, error)
- func (q *Queries) ListPasswordCredsForReencrypt(ctx context.Context, arg ListPasswordCredsForReencryptParams) ([]ListPasswordCredsForReencryptRow, error)
- func (q *Queries) ListPendingChangesForOwner(ctx context.Context, arg ListPendingChangesForOwnerParams) ([]PendingChange, error)
- func (q *Queries) ListPendingChangesForOwnerInEnvironment(ctx context.Context, arg ListPendingChangesForOwnerInEnvironmentParams) ([]PendingChange, error)
- func (q *Queries) ListPendingChangesForOwnerInEnvironmentPage(ctx context.Context, arg ListPendingChangesForOwnerInEnvironmentPageParams) ([]PendingChange, error)
- func (q *Queries) ListPendingForReencrypt(ctx context.Context, arg ListPendingForReencryptParams) ([]ListPendingForReencryptRow, error)
- func (q *Queries) ListPendingMarkers(ctx context.Context, arg ListPendingMarkersParams) ([]ListPendingMarkersRow, error)
- func (q *Queries) ListPkiIssuersForReencrypt(ctx context.Context, arg ListPkiIssuersForReencryptParams) ([]ListPkiIssuersForReencryptRow, error)
- func (q *Queries) ListProjects(ctx context.Context, orgID string) ([]ListProjectsRow, error)
- func (q *Queries) ListRecoveryCodesForReencrypt(ctx context.Context, arg ListRecoveryCodesForReencryptParams) ([]ListRecoveryCodesForReencryptRow, error)
- func (q *Queries) ListRegistrationPolicyDomains(ctx context.Context, policyID string) ([]string, error)
- func (q *Queries) ListRegistrationPolicyEntries(ctx context.Context, policyID string) ([]ListRegistrationPolicyEntriesRow, error)
- func (q *Queries) ListRegistrationPolicyEntryValues(ctx context.Context, policyID string) ([]RegistrationPolicyEntryValue, error)
- func (q *Queries) ListRegistrationSignupsForPolicy(ctx context.Context, policyID string) ([]ListRegistrationSignupsForPolicyRow, error)
- func (q *Queries) ListRemotePairingInvites(ctx context.Context) ([]ListRemotePairingInvitesRow, error)
- func (q *Queries) ListRemoteSnapshots(ctx context.Context) ([]RemoteSnapshot, error)
- func (q *Queries) ListRemotes(ctx context.Context) ([]ListRemotesRow, error)
- func (q *Queries) ListRemotesForReencrypt(ctx context.Context, arg ListRemotesForReencryptParams) ([]ListRemotesForReencryptRow, error)
- func (q *Queries) ListRevisionKeyChanges(ctx context.Context, arg ListRevisionKeyChangesParams) ([]RevisionKeyChange, error)
- func (q *Queries) ListRevisionKeyChangesInRange(ctx context.Context, arg ListRevisionKeyChangesInRangeParams) ([]RevisionKeyChange, error)
- func (q *Queries) ListRevisionPins(ctx context.Context, arg ListRevisionPinsParams) ([]RevisionPin, error)
- func (q *Queries) ListRuleIDsForEnvironment(ctx context.Context, arg ListRuleIDsForEnvironmentParams) ([]string, error)
- func (q *Queries) ListRuleIDsForKey(ctx context.Context, arg ListRuleIDsForKeyParams) ([]string, error)
- func (q *Queries) ListRuleIDsForOrg(ctx context.Context, orgID string) ([]string, error)
- func (q *Queries) ListRuleIDsForProject(ctx context.Context, arg ListRuleIDsForProjectParams) ([]string, error)
- func (q *Queries) ListRuleLinesInOrg(ctx context.Context, orgID string) ([]ListRuleLinesInOrgRow, error)
- func (q *Queries) ListRuleLinesInProject(ctx context.Context, arg ListRuleLinesInProjectParams) ([]ListRuleLinesInProjectRow, error)
- func (q *Queries) ListRulesForPrincipal(ctx context.Context, principalID string) ([]ListRulesForPrincipalRow, error)
- func (q *Queries) ListRulesForProject(ctx context.Context, arg ListRulesForProjectParams) ([]ListRulesForProjectRow, error)
- func (q *Queries) ListSAMLProviders(ctx context.Context) ([]SamlProvider, error)
- func (q *Queries) ListSAMLSPKeys(ctx context.Context) ([]SamlSpKey, error)
- func (q *Queries) ListSCIMAttention(ctx context.Context, arg ListSCIMAttentionParams) ([]ScimAttention, error)
- func (q *Queries) ListSCIMBindings(ctx context.Context, orgID string) ([]ScimBinding, error)
- func (q *Queries) ListSCIMCredentials(ctx context.Context, arg ListSCIMCredentialsParams) ([]ListSCIMCredentialsRow, error)
- func (q *Queries) ListSCIMGroupMembers(ctx context.Context, arg ListSCIMGroupMembersParams) ([]ScimGroupMember, error)
- func (q *Queries) ListSCIMGroupMembershipsForUser(ctx context.Context, arg ListSCIMGroupMembershipsForUserParams) ([]ScimGroupMember, error)
- func (q *Queries) ListSCIMGroups(ctx context.Context, arg ListSCIMGroupsParams) ([]ScimGroup, error)
- func (q *Queries) ListSCIMMappings(ctx context.Context, arg ListSCIMMappingsParams) ([]ScimMapping, error)
- func (q *Queries) ListSCIMMappingsForGroup(ctx context.Context, arg ListSCIMMappingsForGroupParams) ([]ScimMapping, error)
- func (q *Queries) ListSCIMUsers(ctx context.Context, arg ListSCIMUsersParams) ([]ScimUser, error)
- func (q *Queries) ListSamlKeysForReencrypt(ctx context.Context, arg ListSamlKeysForReencryptParams) ([]ListSamlKeysForReencryptRow, error)
- func (q *Queries) ListSecretValueOccurrenceIDsIn(ctx context.Context, arg ListSecretValueOccurrenceIDsInParams) ([]string, error)
- func (q *Queries) ListSelfConfigJobs(ctx context.Context) ([]SelfConfigJob, error)
- func (q *Queries) ListSelfConfigNodes(ctx context.Context) ([]SelfConfigNode, error)
- func (q *Queries) ListSelfConfigParticipants(ctx context.Context, sinceAt string) ([]string, error)
- func (q *Queries) ListSelfConfigRetained(ctx context.Context) ([]string, error)
- func (q *Queries) ListSelfConfigSeedInputs(ctx context.Context) ([]ListSelfConfigSeedInputsRow, error)
- func (q *Queries) ListSelfConfigSeedInputsForReencrypt(ctx context.Context, arg ListSelfConfigSeedInputsForReencryptParams) ([]ListSelfConfigSeedInputsForReencryptRow, error)
- func (q *Queries) ListServiceAccounts(ctx context.Context, arg ListServiceAccountsParams) ([]ServiceAccount, error)
- func (q *Queries) ListSessionsForPrincipal(ctx context.Context, principalID string) ([]ListSessionsForPrincipalRow, error)
- func (q *Queries) ListSnapshotEntries(ctx context.Context, arg ListSnapshotEntriesParams) ([]SnapshotEntry, error)
- func (q *Queries) ListSnapshotEntriesForReencrypt(ctx context.Context, arg ListSnapshotEntriesForReencryptParams) ([]ListSnapshotEntriesForReencryptRow, error)
- func (q *Queries) ListSnapshots(ctx context.Context, arg ListSnapshotsParams) ([]ListSnapshotsRow, error)
- func (q *Queries) ListSnapshotsPage(ctx context.Context, arg ListSnapshotsPageParams) ([]ListSnapshotsPageRow, error)
- func (q *Queries) ListTotpCredsForReencrypt(ctx context.Context, arg ListTotpCredsForReencryptParams) ([]ListTotpCredsForReencryptRow, error)
- func (q *Queries) ListUnreconciledPrincipals(ctx context.Context) ([]ListUnreconciledPrincipalsRow, error)
- func (q *Queries) ListValueEntries(ctx context.Context, arg ListValueEntriesParams) ([]ValueEntry, error)
- func (q *Queries) ListValueEntriesForReencrypt(ctx context.Context, arg ListValueEntriesForReencryptParams) ([]ListValueEntriesForReencryptRow, error)
- func (q *Queries) ListValueEnvironmentsForKey(ctx context.Context, arg ListValueEnvironmentsForKeyParams) ([]string, error)
- func (q *Queries) ListWebAuthnCredentialsForAccount(ctx context.Context, accountID string) ([]WebauthnCredential, error)
- func (q *Queries) ListWorkspaceOrigins(ctx context.Context) ([]WorkspaceOrigin, error)
- func (q *Queries) LockCredentialPolicy(ctx context.Context) (int64, error)
- func (q *Queries) LockInstanceIdentityRow(ctx context.Context) (int64, error)
- func (q *Queries) LockOAuth2ProviderForDelete(ctx context.Context, id string) (string, error)
- func (q *Queries) LockOIDCProviderForDelete(ctx context.Context, id string) (string, error)
- func (q *Queries) LockOrg(ctx context.Context, id string) (string, error)
- func (q *Queries) LockPrincipalRow(ctx context.Context, id string) (string, error)
- func (q *Queries) LockProject(ctx context.Context, arg LockProjectParams) (string, error)
- func (q *Queries) LockSAMLProviderForDelete(ctx context.Context, id string) (string, error)
- func (q *Queries) LockSCIMBinding(ctx context.Context, arg LockSCIMBindingParams) (int64, error)
- func (q *Queries) LockSelfConfigBinding(ctx context.Context) (SelfConfigBinding, error)
- func (q *Queries) LockSelfConfigMembership(ctx context.Context) error
- func (q *Queries) LockSnapshotForRetentionConsequence(ctx context.Context, arg LockSnapshotForRetentionConsequenceParams) (string, error)
- func (q *Queries) LockWorkspaceOrigin(ctx context.Context, origin string) (string, error)
- func (q *Queries) MachineCredentialByVerifier(ctx context.Context, verifier []byte) (MachineCredential, error)
- func (q *Queries) MarkAccessRequestExpired(ctx context.Context, arg MarkAccessRequestExpiredParams) (int64, error)
- func (q *Queries) MarkAllPrincipalsUnreconciled(ctx context.Context) error
- func (q *Queries) MarkApprovalRequestExpired(ctx context.Context, arg MarkApprovalRequestExpiredParams) (int64, error)
- func (q *Queries) MarkPlanApplied(ctx context.Context, arg MarkPlanAppliedParams) (int64, error)
- func (q *Queries) MarkSAMLSPKeyRetiringCAS(ctx context.Context, arg MarkSAMLSPKeyRetiringCASParams) (int64, error)
- func (q *Queries) MarkSnapshotCollected(ctx context.Context, arg MarkSnapshotCollectedParams) (int64, error)
- func (q *Queries) MaxInstanceAudit(ctx context.Context) (int64, error)
- func (q *Queries) MaxKnownCredentialEpoch(ctx context.Context) (interface{}, error)
- func (q *Queries) MaxTenantAuditEnv(ctx context.Context, arg MaxTenantAuditEnvParams) (int64, error)
- func (q *Queries) MaxTenantAuditOrg(ctx context.Context, orgID string) (int64, error)
- func (q *Queries) MaxTenantAuditProject(ctx context.Context, arg MaxTenantAuditProjectParams) (int64, error)
- func (q *Queries) NextEnvironmentOrder(ctx context.Context, arg NextEnvironmentOrderParams) (int64, error)
- func (q *Queries) NextSelfConfigRolloutSequence(ctx context.Context, enrollmentID string) (int64, error)
- func (q *Queries) PKIActiveIssuer(ctx context.Context, name string) (PKIActiveIssuerRow, error)
- func (q *Queries) PKIBoundProfile(ctx context.Context, arg PKIBoundProfileParams) (PkiProfile, error)
- func (q *Queries) PKIBoundProfiles(ctx context.Context, arg PKIBoundProfilesParams) ([]PkiProfile, error)
- func (q *Queries) PKIBumpCertificateRevocation(ctx context.Context, id string) error
- func (q *Queries) PKIBumpIssuerRevocation(ctx context.Context, id string) error
- func (q *Queries) PKIClaimRenewal(ctx context.Context, arg PKIClaimRenewalParams) (int64, error)
- func (q *Queries) PKICompleteRenewal(ctx context.Context, arg PKICompleteRenewalParams) (int64, error)
- func (q *Queries) PKICountLiveCertificates(ctx context.Context, arg PKICountLiveCertificatesParams) (int64, error)
- func (q *Queries) PKICreateBinding(ctx context.Context, arg PKICreateBindingParams) error
- func (q *Queries) PKICreateCertificate(ctx context.Context, arg PKICreateCertificateParams) error
- func (q *Queries) PKICreateIssuer(ctx context.Context, arg PKICreateIssuerParams) error
- func (q *Queries) PKICreateProfile(ctx context.Context, arg PKICreateProfileParams) error
- func (q *Queries) PKIDeleteBinding(ctx context.Context, arg PKIDeleteBindingParams) (int64, error)
- func (q *Queries) PKIDeleteProfile(ctx context.Context, id string) (int64, error)
- func (q *Queries) PKIDeleteProfileBindings(ctx context.Context, id string) error
- func (q *Queries) PKIDestroyIssuerKey(ctx context.Context, arg PKIDestroyIssuerKeyParams) (int64, error)
- func (q *Queries) PKIFailCertificate(ctx context.Context, arg PKIFailCertificateParams) (int64, error)
- func (q *Queries) PKIFenceIssuance(ctx context.Context, id string) (int64, error)
- func (q *Queries) PKIFinishCertificate(ctx context.Context, arg PKIFinishCertificateParams) (int64, error)
- func (q *Queries) PKIGetCertificate(ctx context.Context, arg PKIGetCertificateParams) (PKIGetCertificateRow, error)
- func (q *Queries) PKIGetIssuer(ctx context.Context, id string) (PKIGetIssuerRow, error)
- func (q *Queries) PKIGetProfile(ctx context.Context, name string) (PkiProfile, error)
- func (q *Queries) PKIInstallIssuer(ctx context.Context, arg PKIInstallIssuerParams) (int64, error)
- func (q *Queries) PKIIssuerKey(ctx context.Context, id string) (PKIIssuerKeyRow, error)
- func (q *Queries) PKIListBindings(ctx context.Context, profileID string) ([]PKIListBindingsRow, error)
- func (q *Queries) PKIListCertificates(ctx context.Context, arg PKIListCertificatesParams) ([]PKIListCertificatesRow, error)
- func (q *Queries) PKIListIssuers(ctx context.Context) ([]PKIListIssuersRow, error)
- func (q *Queries) PKIListProfiles(ctx context.Context) ([]PkiProfile, error)
- func (q *Queries) PKIPublishCRL(ctx context.Context, arg PKIPublishCRLParams) (int64, error)
- func (q *Queries) PKIReleaseRenewal(ctx context.Context, arg PKIReleaseRenewalParams) (int64, error)
- func (q *Queries) PKIRevokeCertificate(ctx context.Context, arg PKIRevokeCertificateParams) (int64, error)
- func (q *Queries) PKIRevokeLiveCertificates(ctx context.Context, arg PKIRevokeLiveCertificatesParams) (int64, error)
- func (q *Queries) PKIRevokeParent(ctx context.Context, id string) error
- func (q *Queries) PKIRevokedChildren(ctx context.Context, arg PKIRevokedChildrenParams) ([]PKIRevokedChildrenRow, error)
- func (q *Queries) PKIRevokedEntries(ctx context.Context, arg PKIRevokedEntriesParams) ([]PKIRevokedEntriesRow, error)
- func (q *Queries) PKISetIssuerHold(ctx context.Context, arg PKISetIssuerHoldParams) (int64, error)
- func (q *Queries) PKISigningIssuer(ctx context.Context, id string) (PKISigningIssuerRow, error)
- func (q *Queries) PKITransitionIssuer(ctx context.Context, arg PKITransitionIssuerParams) (int64, error)
- func (q *Queries) PKIUpdateProfile(ctx context.Context, arg PKIUpdateProfileParams) (int64, error)
- func (q *Queries) PageInstanceAudit(ctx context.Context, arg PageInstanceAuditParams) ([]AuditInstanceEvent, error)
- func (q *Queries) PageInstanceAuditExport(ctx context.Context, arg PageInstanceAuditExportParams) ([]AuditInstanceEvent, error)
- func (q *Queries) PageSCIMGroups(ctx context.Context, arg PageSCIMGroupsParams) ([]ScimGroup, error)
- func (q *Queries) PageSCIMGroupsByDisplayName(ctx context.Context, arg PageSCIMGroupsByDisplayNameParams) ([]ScimGroup, error)
- func (q *Queries) PageSCIMGroupsByExternalID(ctx context.Context, arg PageSCIMGroupsByExternalIDParams) ([]ScimGroup, error)
- func (q *Queries) PageSCIMUsers(ctx context.Context, arg PageSCIMUsersParams) ([]ScimUser, error)
- func (q *Queries) PageSCIMUsersByExternalID(ctx context.Context, arg PageSCIMUsersByExternalIDParams) ([]ScimUser, error)
- func (q *Queries) PageSCIMUsersByUserName(ctx context.Context, arg PageSCIMUsersByUserNameParams) ([]ScimUser, error)
- func (q *Queries) PageTenantAuditEnv(ctx context.Context, arg PageTenantAuditEnvParams) ([]AuditTenantEvent, error)
- func (q *Queries) PageTenantAuditExportEnv(ctx context.Context, arg PageTenantAuditExportEnvParams) ([]AuditTenantEvent, error)
- func (q *Queries) PageTenantAuditExportOrg(ctx context.Context, arg PageTenantAuditExportOrgParams) ([]AuditTenantEvent, error)
- func (q *Queries) PageTenantAuditExportProject(ctx context.Context, arg PageTenantAuditExportProjectParams) ([]AuditTenantEvent, error)
- func (q *Queries) PageTenantAuditOrg(ctx context.Context, arg PageTenantAuditOrgParams) ([]AuditTenantEvent, error)
- func (q *Queries) PageTenantAuditProject(ctx context.Context, arg PageTenantAuditProjectParams) ([]AuditTenantEvent, error)
- func (q *Queries) PeekDeveloperCredentialPolicy(ctx context.Context) (int64, error)
- func (q *Queries) PollCLILogin(ctx context.Context, arg PollCLILoginParams) error
- func (q *Queries) PostLegacyMaxCredentialEpoch(ctx context.Context) (interface{}, error)
- func (q *Queries) PrivacyAccount(ctx context.Context, principalID string) (PrivacyAccountRow, error)
- func (q *Queries) PrivacyAuditInstance(ctx context.Context, principalID sql.NullString) ([]PrivacyAuditInstanceRow, error)
- func (q *Queries) PrivacyAuditTenant(ctx context.Context, principalID sql.NullString) ([]PrivacyAuditTenantRow, error)
- func (q *Queries) PrivacyCorrectAccount(ctx context.Context, arg PrivacyCorrectAccountParams) error
- func (q *Queries) PrivacyEraseAccount(ctx context.Context, arg PrivacyEraseAccountParams) error
- func (q *Queries) PrivacyEraseAuthorities(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseCeremonies(ctx context.Context, accountID sql.NullString) error
- func (q *Queries) PrivacyEraseExternalIdentities(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseGrantOrigins(ctx context.Context, principalID string) error
- func (q *Queries) PrivacyEraseGrants(ctx context.Context, principalID string) error
- func (q *Queries) PrivacyEraseHandoffs(ctx context.Context, principalID string) error
- func (q *Queries) PrivacyEraseOIDCTransactions(ctx context.Context, accountID sql.NullString) error
- func (q *Queries) PrivacyErasePasswords(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseRecoveryCodes(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseRuleItems(ctx context.Context, principalID string) error
- func (q *Queries) PrivacyEraseRules(ctx context.Context, principalID string) error
- func (q *Queries) PrivacyEraseSAMLTransactions(ctx context.Context, accountID sql.NullString) error
- func (q *Queries) PrivacyEraseSCIMMembers(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseSCIMUsers(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseTOTP(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseTOTPChallenges(ctx context.Context, accountID string) error
- func (q *Queries) PrivacyEraseWebAuthn(ctx context.Context, accountID string) error
- func (q *Queries) PrivacySessions(ctx context.Context, principalID string) ([]PrivacySessionsRow, error)
- func (q *Queries) PrivacySetState(ctx context.Context, arg PrivacySetStateParams) error
- func (q *Queries) ProjectMachineReveal(ctx context.Context, id string) (ProjectMachineRevealRow, error)
- func (q *Queries) ProjectSnapshotRevisions(ctx context.Context, arg ProjectSnapshotRevisionsParams) ([]ProjectSnapshotRevisionsRow, error)
- func (q *Queries) PruneCLILogins(ctx context.Context, expiresAt string) error
- func (q *Queries) PruneExpiredPlans(ctx context.Context, expiresAt string) (int64, error)
- func (q *Queries) PruneExpiredRegistrationSignup(ctx context.Context, arg PruneExpiredRegistrationSignupParams) (int64, error)
- func (q *Queries) PruneInstanceAuditRetention(ctx context.Context, arg PruneInstanceAuditRetentionParams) ([]PruneInstanceAuditRetentionRow, error)
- func (q *Queries) PruneRemotePairingExchanges(ctx context.Context, now string) error
- func (q *Queries) PruneRemotePairingInvites(ctx context.Context, now string) error
- func (q *Queries) PruneRemotePairingReplays(ctx context.Context, now string) error
- func (q *Queries) PruneTenantAuditRetention(ctx context.Context, arg PruneTenantAuditRetentionParams) ([]PruneTenantAuditRetentionRow, error)
- func (q *Queries) PurgeDeliveryTargetReport(ctx context.Context, arg PurgeDeliveryTargetReportParams) (int64, error)
- func (q *Queries) PutSelfConfigNode(ctx context.Context, arg PutSelfConfigNodeParams) error
- func (q *Queries) PutSelfConfigSeedAttestation(ctx context.Context, arg PutSelfConfigSeedAttestationParams) error
- func (q *Queries) PutSelfConfigSeedInput(ctx context.Context, arg PutSelfConfigSeedInputParams) error
- func (q *Queries) ReactivateFederatedBinding(ctx context.Context, arg ReactivateFederatedBindingParams) (int64, error)
- func (q *Queries) ReadAuthRefusalWindow(ctx context.Context) (ReadAuthRefusalWindowRow, error)
- func (q *Queries) RebindSAMLExternalIdentityProvider(ctx context.Context, arg RebindSAMLExternalIdentityProviderParams) (int64, error)
- func (q *Queries) ReconcilePrincipal(ctx context.Context, id string) (int64, error)
- func (q *Queries) RecordDeliveryTargetRefusal(ctx context.Context, arg RecordDeliveryTargetRefusalParams) (int64, error)
- func (q *Queries) RecordFileTargetReport(ctx context.Context, arg RecordFileTargetReportParams) (int64, error)
- func (q *Queries) RecordRemoteFetchFailure(ctx context.Context, arg RecordRemoteFetchFailureParams) error
- func (q *Queries) RecordSecretValueOccurrence(ctx context.Context, arg RecordSecretValueOccurrenceParams) error
- func (q *Queries) RecoverSelfConfigTarget(ctx context.Context, arg RecoverSelfConfigTargetParams) (int64, error)
- func (q *Queries) RecoveryListGrantsBeforeAccess(ctx context.Context, principalID string) ([]RecoveryListGrantsBeforeAccessRow, error)
- func (q *Queries) RecoveryListGrantsBeforePrivacy(ctx context.Context, principalID string) ([]RecoveryListGrantsBeforePrivacyRow, error)
- func (q *Queries) RecoveryListGrantsBeforeSelfConfig(ctx context.Context, principalID string) ([]RecoveryListGrantsBeforeSelfConfigRow, error)
- func (q *Queries) ReencryptOauth2Provider(ctx context.Context, arg ReencryptOauth2ProviderParams) (int64, error)
- func (q *Queries) ReencryptOidcProvider(ctx context.Context, arg ReencryptOidcProviderParams) (int64, error)
- func (q *Queries) ReencryptPairingExchanges(ctx context.Context, arg ReencryptPairingExchangesParams) (int64, error)
- func (q *Queries) ReencryptPairingInvites(ctx context.Context, arg ReencryptPairingInvitesParams) (int64, error)
- func (q *Queries) ReencryptPasswordCred(ctx context.Context, arg ReencryptPasswordCredParams) (int64, error)
- func (q *Queries) ReencryptPendingChange(ctx context.Context, arg ReencryptPendingChangeParams) (int64, error)
- func (q *Queries) ReencryptPkiIssuer(ctx context.Context, arg ReencryptPkiIssuerParams) (int64, error)
- func (q *Queries) ReencryptRecoveryCodes(ctx context.Context, arg ReencryptRecoveryCodesParams) (int64, error)
- func (q *Queries) ReencryptRemote(ctx context.Context, arg ReencryptRemoteParams) (int64, error)
- func (q *Queries) ReencryptSamlKey(ctx context.Context, arg ReencryptSamlKeyParams) (int64, error)
- func (q *Queries) ReencryptSelfConfigSeedInput(ctx context.Context, arg ReencryptSelfConfigSeedInputParams) (int64, error)
- func (q *Queries) ReencryptSnapshotEntry(ctx context.Context, arg ReencryptSnapshotEntryParams) (int64, error)
- func (q *Queries) ReencryptTotpCred(ctx context.Context, arg ReencryptTotpCredParams) (int64, error)
- func (q *Queries) ReencryptValueEntry(ctx context.Context, arg ReencryptValueEntryParams) (int64, error)
- func (q *Queries) ReissueRegistrationSignup(ctx context.Context, arg ReissueRegistrationSignupParams) (int64, error)
- func (q *Queries) RemotePairedConnectionByID(ctx context.Context, id string) (RemotePairedConnection, error)
- func (q *Queries) RemotePairingExchangeByID(ctx context.Context, id string) (RemotePairingExchange, error)
- func (q *Queries) RemotePairingInviteByCapability(ctx context.Context, verifier []byte) (RemotePairingInvite, error)
- func (q *Queries) RemotePairingInviteByID(ctx context.Context, id string) (RemotePairingInvite, error)
- func (q *Queries) RemotePairingMaxCredentialEpoch(ctx context.Context) (interface{}, error)
- func (q *Queries) RenameEnvironment(ctx context.Context, arg RenameEnvironmentParams) (int64, error)
- func (q *Queries) RenameFolder(ctx context.Context, arg RenameFolderParams) (int64, error)
- func (q *Queries) RenameKey(ctx context.Context, arg RenameKeyParams) (int64, error)
- func (q *Queries) RenameKeyGroup(ctx context.Context, arg RenameKeyGroupParams) (int64, error)
- func (q *Queries) RenameOrg(ctx context.Context, arg RenameOrgParams) (int64, error)
- func (q *Queries) RenameProject(ctx context.Context, arg RenameProjectParams) (int64, error)
- func (q *Queries) RenameRemote(ctx context.Context, arg RenameRemoteParams) (int64, error)
- func (q *Queries) ResolveAccessRequest(ctx context.Context, arg ResolveAccessRequestParams) (int64, error)
- func (q *Queries) ResolveEnvChain(ctx context.Context, arg ResolveEnvChainParams) (ResolveEnvChainRow, error)
- func (q *Queries) ResolveKeyByID(ctx context.Context, arg ResolveKeyByIDParams) (ResolveKeyByIDRow, error)
- func (q *Queries) ResolveKeyByName(ctx context.Context, arg ResolveKeyByNameParams) (ResolveKeyByNameRow, error)
- func (q *Queries) ResolveOrgChain(ctx context.Context, id string) (string, error)
- func (q *Queries) ResolveProjectChain(ctx context.Context, arg ResolveProjectChainParams) (ResolveProjectChainRow, error)
- func (q *Queries) ResolveRuleApprovalKeys(ctx context.Context, arg ResolveRuleApprovalKeysParams) (string, error)
- func (q *Queries) ResolveRulePendingKey(ctx context.Context, arg ResolveRulePendingKeyParams) (ResolveRulePendingKeyRow, error)
- func (q *Queries) RestoreDeveloperPolicySeedOccupied(ctx context.Context) (bool, error)
- func (q *Queries) RetireMasterAtVersion(ctx context.Context, version int64) (int64, error)
- func (q *Queries) RetireMasterWrapperAtEpoch(ctx context.Context, arg RetireMasterWrapperAtEpochParams) (int64, error)
- func (q *Queries) RetireRestoredApprovedWorkspaceHandoffs(ctx context.Context) error
- func (q *Queries) RetireRestoredPendingLoginChallenges(ctx context.Context) error
- func (q *Queries) RetireRetiringTier3ForScope(ctx context.Context, arg RetireRetiringTier3ForScopeParams) (int64, error)
- func (q *Queries) RetireSCIMConnectionPrincipal(ctx context.Context, id string) (int64, error)
- func (q *Queries) RetireTier3KeyAtVersion(ctx context.Context, arg RetireTier3KeyAtVersionParams) (int64, error)
- func (q *Queries) RevokeAllMachineCredentials(ctx context.Context, arg RevokeAllMachineCredentialsParams) (int64, error)
- func (q *Queries) RevokeDeveloperCredential(ctx context.Context, arg RevokeDeveloperCredentialParams) error
- func (q *Queries) RevokeInstanceConnection(ctx context.Context, arg RevokeInstanceConnectionParams) (int64, error)
- func (q *Queries) RevokeMachineCredential(ctx context.Context, arg RevokeMachineCredentialParams) (int64, error)
- func (q *Queries) RevokeRemotePairingInvite(ctx context.Context, arg RevokeRemotePairingInviteParams) (int64, error)
- func (q *Queries) RevokeSCIMCredential(ctx context.Context, arg RevokeSCIMCredentialParams) (int64, error)
- func (q *Queries) RevokeSCIMCredentialsForBinding(ctx context.Context, arg RevokeSCIMCredentialsForBindingParams) (int64, error)
- func (q *Queries) RotateSessionFactors(ctx context.Context, arg RotateSessionFactorsParams) error
- func (q *Queries) RuleKeyConflictingDraftCount(ctx context.Context, arg RuleKeyConflictingDraftCountParams) (int64, error)
- func (q *Queries) RuleKeyValueCount(ctx context.Context, arg RuleKeyValueCountParams) (int64, error)
- func (q *Queries) RuntimeDynamicAssertLease(ctx context.Context, arg RuntimeDynamicAssertLeaseParams) (int64, error)
- func (q *Queries) RuntimeDynamicClaimDueLease(ctx context.Context, now string) (RuntimeDynamicClaimDueLeaseRow, error)
- func (q *Queries) RuntimeDynamicClaimLease(ctx context.Context, arg RuntimeDynamicClaimLeaseParams) error
- func (q *Queries) RuntimeDynamicCloseEffect(ctx context.Context, arg RuntimeDynamicCloseEffectParams) error
- func (q *Queries) RuntimeDynamicCountActiveLeases(ctx context.Context) (int64, error)
- func (q *Queries) RuntimeDynamicCountUnknownEffects(ctx context.Context) (int64, error)
- func (q *Queries) RuntimeDynamicInsertEffect(ctx context.Context, arg RuntimeDynamicInsertEffectParams) error
- func (q *Queries) RuntimeDynamicInsertLeaseAudit(ctx context.Context, arg RuntimeDynamicInsertLeaseAuditParams) error
- func (q *Queries) RuntimeDynamicLatestEffectKind(ctx context.Context, arg RuntimeDynamicLatestEffectKindParams) (string, error)
- func (q *Queries) RuntimeDynamicLoadProviderMaterial(ctx context.Context, arg RuntimeDynamicLoadProviderMaterialParams) (RuntimeDynamicLoadProviderMaterialRow, error)
- func (q *Queries) RuntimeDynamicRetryLease(ctx context.Context, arg RuntimeDynamicRetryLeaseParams) (int64, error)
- func (q *Queries) RuntimeDynamicSettleLease(ctx context.Context, arg RuntimeDynamicSettleLeaseParams) (int64, error)
- func (q *Queries) RuntimePKICountHeld(ctx context.Context) (int64, error)
- func (q *Queries) RuntimePKICountLive(ctx context.Context, now string) (int64, error)
- func (q *Queries) RuntimePKICountUnknown(ctx context.Context, now string) (int64, error)
- func (q *Queries) RuntimePKIDueCRLs(ctx context.Context, halfLife sql.NullString) ([]RuntimePKIDueCRLsRow, error)
- func (q *Queries) RuntimePKIExpired(ctx context.Context, arg RuntimePKIExpiredParams) ([]RuntimePKIExpiredRow, error)
- func (q *Queries) RuntimePKIMarkExpired(ctx context.Context, arg RuntimePKIMarkExpiredParams) (int64, error)
- func (q *Queries) RuntimePKIMarkUnknown(ctx context.Context, arg RuntimePKIMarkUnknownParams) (int64, error)
- func (q *Queries) RuntimePKIPublishedAudit(ctx context.Context, arg RuntimePKIPublishedAuditParams) error
- func (q *Queries) RuntimePKIReleaseRenewal(ctx context.Context, arg RuntimePKIReleaseRenewalParams) error
- func (q *Queries) RuntimePKIStaleIssuing(ctx context.Context, arg RuntimePKIStaleIssuingParams) ([]RuntimePKIStaleIssuingRow, error)
- func (q *Queries) RuntimePKITransitionAudit(ctx context.Context, arg RuntimePKITransitionAuditParams) error
- func (q *Queries) RuntimeSSHCountActive(ctx context.Context, now string) (int64, error)
- func (q *Queries) RuntimeSSHCountKRLEntries(ctx context.Context, now string) (int64, error)
- func (q *Queries) RuntimeSSHInsertAuthorityRevocationAudit(ctx context.Context, arg RuntimeSSHInsertAuthorityRevocationAuditParams) error
- func (q *Queries) RuntimeSSHListLiveCertificates(ctx context.Context, arg RuntimeSSHListLiveCertificatesParams) ([]RuntimeSSHListLiveCertificatesRow, error)
- func (q *Queries) RuntimeSSHRevokeForAuthority(ctx context.Context, arg RuntimeSSHRevokeForAuthorityParams) (int64, error)
- func (q *Queries) SSHActiveCAKey(ctx context.Context, arg SSHActiveCAKeyParams) (SSHActiveCAKeyRow, error)
- func (q *Queries) SSHActiveCAKeyID(ctx context.Context, arg SSHActiveCAKeyIDParams) (string, error)
- func (q *Queries) SSHActiveKeyLastExpiry(ctx context.Context, arg SSHActiveKeyLastExpiryParams) (string, error)
- func (q *Queries) SSHCAKeyExists(ctx context.Context, arg SSHCAKeyExistsParams) (int64, error)
- func (q *Queries) SSHCAKeys(ctx context.Context, arg SSHCAKeysParams) ([]SSHCAKeysRow, error)
- func (q *Queries) SSHCountLiveCAs(ctx context.Context, arg SSHCountLiveCAsParams) (int64, error)
- func (q *Queries) SSHCountLiveProfiles(ctx context.Context, arg SSHCountLiveProfilesParams) (int64, error)
- func (q *Queries) SSHCreateCA(ctx context.Context, arg SSHCreateCAParams) (int64, error)
- func (q *Queries) SSHCreateProfile(ctx context.Context, arg SSHCreateProfileParams) (int64, error)
- func (q *Queries) SSHDeleteCA(ctx context.Context, arg SSHDeleteCAParams) (int64, error)
- func (q *Queries) SSHDeleteProfile(ctx context.Context, arg SSHDeleteProfileParams) (int64, error)
- func (q *Queries) SSHDeleteRequesters(ctx context.Context, arg SSHDeleteRequestersParams) (int64, error)
- func (q *Queries) SSHGetCA(ctx context.Context, arg SSHGetCAParams) (SSHGetCARow, error)
- func (q *Queries) SSHGetCertificate(ctx context.Context, arg SSHGetCertificateParams) (SSHGetCertificateRow, error)
- func (q *Queries) SSHGetProfile(ctx context.Context, arg SSHGetProfileParams) (SSHGetProfileRow, error)
- func (q *Queries) SSHInsertCAKey(ctx context.Context, arg SSHInsertCAKeyParams) (int64, error)
- func (q *Queries) SSHInsertCertificate(ctx context.Context, arg SSHInsertCertificateParams) (int64, error)
- func (q *Queries) SSHInsertRequester(ctx context.Context, arg SSHInsertRequesterParams) (int64, error)
- func (q *Queries) SSHIsRequester(ctx context.Context, arg SSHIsRequesterParams) (int64, error)
- func (q *Queries) SSHListCAs(ctx context.Context, arg SSHListCAsParams) ([]SSHListCAsRow, error)
- func (q *Queries) SSHListCertificates(ctx context.Context, arg SSHListCertificatesParams) ([]SSHListCertificatesRow, error)
- func (q *Queries) SSHListKeysForReencrypt(ctx context.Context, arg SSHListKeysForReencryptParams) ([]SSHListKeysForReencryptRow, error)
- func (q *Queries) SSHListProfiles(ctx context.Context, arg SSHListProfilesParams) ([]SSHListProfilesRow, error)
- func (q *Queries) SSHProfileRevocationCandidates(ctx context.Context, arg SSHProfileRevocationCandidatesParams) ([]SSHProfileRevocationCandidatesRow, error)
- func (q *Queries) SSHPurgeCAKeys(ctx context.Context, arg SSHPurgeCAKeysParams) error
- func (q *Queries) SSHPurgeCAs(ctx context.Context, arg SSHPurgeCAsParams) error
- func (q *Queries) SSHPurgeCertificates(ctx context.Context, arg SSHPurgeCertificatesParams) error
- func (q *Queries) SSHPurgeProfiles(ctx context.Context, arg SSHPurgeProfilesParams) error
- func (q *Queries) SSHPurgeRequesters(ctx context.Context, arg SSHPurgeRequestersParams) error
- func (q *Queries) SSHReencryptCAKey(ctx context.Context, arg SSHReencryptCAKeyParams) (int64, error)
- func (q *Queries) SSHRequesters(ctx context.Context, arg SSHRequestersParams) ([]SSHRequestersRow, error)
- func (q *Queries) SSHRetireActiveCAKey(ctx context.Context, arg SSHRetireActiveCAKeyParams) (int64, error)
- func (q *Queries) SSHRetireAllCAKeys(ctx context.Context, arg SSHRetireAllCAKeysParams) (int64, error)
- func (q *Queries) SSHRetireCAKey(ctx context.Context, arg SSHRetireCAKeyParams) (int64, error)
- func (q *Queries) SSHRevokeCertificate(ctx context.Context, arg SSHRevokeCertificateParams) (int64, error)
- func (q *Queries) SSHRevokedSerials(ctx context.Context, arg SSHRevokedSerialsParams) ([]SSHRevokedSerialsRow, error)
- func (q *Queries) SSHUpdateProfile(ctx context.Context, arg SSHUpdateProfileParams) (int64, error)
- func (q *Queries) SampleSecretValueEntry(ctx context.Context) (ValueEntry, error)
- func (q *Queries) SaveAuthRefusalWindow(ctx context.Context, arg SaveAuthRefusalWindowParams) error
- func (q *Queries) SealedRemoteCredential(ctx context.Context, id string) ([]byte, error)
- func (q *Queries) SelectDueAccessRequests(ctx context.Context, now string) ([]SelectDueAccessRequestsRow, error)
- func (q *Queries) SelectExpiredApprovalRequests(ctx context.Context, expiresAt string) ([]SelectExpiredApprovalRequestsRow, error)
- func (q *Queries) SelectExpiredDeliveryTargetReports(ctx context.Context, arg SelectExpiredDeliveryTargetReportsParams) ([]SelectExpiredDeliveryTargetReportsRow, error)
- func (q *Queries) SetAuditRetentionPolicy(ctx context.Context, arg SetAuditRetentionPolicyParams) error
- func (q *Queries) SetBackupDrill(ctx context.Context, arg SetBackupDrillParams) error
- func (q *Queries) SetBackupExportFailure(ctx context.Context, arg SetBackupExportFailureParams) error
- func (q *Queries) SetBackupExportSuccess(ctx context.Context, arg SetBackupExportSuccessParams) (int64, error)
- func (q *Queries) SetBackupPruneResult(ctx context.Context, arg SetBackupPruneResultParams) (int64, error)
- func (q *Queries) SetCredentialPolicy(ctx context.Context, arg SetCredentialPolicyParams) error
- func (q *Queries) SetDeveloperCredentialPolicy(ctx context.Context, maxLifetimeSeconds int64) error
- func (q *Queries) SetEnvironmentOrder(ctx context.Context, arg SetEnvironmentOrderParams) (int64, error)
- func (q *Queries) SetEnvironmentParameters(ctx context.Context, arg SetEnvironmentParametersParams) (int64, error)
- func (q *Queries) SetEnvironmentSettings(ctx context.Context, arg SetEnvironmentSettingsParams) (int64, error)
- func (q *Queries) SetEscrowVerification(ctx context.Context, arg SetEscrowVerificationParams) error
- func (q *Queries) SetKeyClassification(ctx context.Context, arg SetKeyClassificationParams) (int64, error)
- func (q *Queries) SetKeyGroup(ctx context.Context, arg SetKeyGroupParams) (int64, error)
- func (q *Queries) SetLastPruneSuccess(ctx context.Context, lastPruneSuccess sql.NullString) error
- func (q *Queries) SetLocalAccountEmail(ctx context.Context, arg SetLocalAccountEmailParams) error
- func (q *Queries) SetOrgRetention(ctx context.Context, arg SetOrgRetentionParams) (int64, error)
- func (q *Queries) SetPinGeneration(ctx context.Context, arg SetPinGenerationParams) error
- func (q *Queries) SetProjectCapacity(ctx context.Context, arg SetProjectCapacityParams) (int64, error)
- func (q *Queries) SetProjectDefinitionsSource(ctx context.Context, arg SetProjectDefinitionsSourceParams) (int64, error)
- func (q *Queries) SetProjectMachineReveal(ctx context.Context, arg SetProjectMachineRevealParams) (int64, error)
- func (q *Queries) SetProjectRetention(ctx context.Context, arg SetProjectRetentionParams) (int64, error)
- func (q *Queries) SetReencryptSuccess(ctx context.Context, completedAt sql.NullString) error
- func (q *Queries) SetSCIMMappingInert(ctx context.Context, arg SetSCIMMappingInertParams) (int64, error)
- func (q *Queries) SetSelfConfigPrevious(ctx context.Context, snapshotID string) error
- func (q *Queries) SetSelfConfigRetention(ctx context.Context, arg SetSelfConfigRetentionParams) error
- func (q *Queries) SetWebAuthnUserHandle(ctx context.Context, arg SetWebAuthnUserHandleParams) (int64, error)
- func (q *Queries) SlideReauthWindow(ctx context.Context, arg SlideReauthWindowParams) (int64, error)
- func (q *Queries) StampCredentialEstablish(ctx context.Context, arg StampCredentialEstablishParams) error
- func (q *Queries) StrandedRevealPrincipalsForEnvironment(ctx context.Context, arg StrandedRevealPrincipalsForEnvironmentParams) ([]string, error)
- func (q *Queries) SumSnapshotContractForProject(ctx context.Context, arg SumSnapshotContractForProjectParams) (int64, error)
- func (q *Queries) SumSnapshotPayloadByProject(ctx context.Context) ([]SumSnapshotPayloadByProjectRow, error)
- func (q *Queries) SumSnapshotPayloadForProject(ctx context.Context, arg SumSnapshotPayloadForProjectParams) (int64, error)
- func (q *Queries) SumValuePayloadByProject(ctx context.Context) ([]SumValuePayloadByProjectRow, error)
- func (q *Queries) SumValuePayloadForProject(ctx context.Context, arg SumValuePayloadForProjectParams) (int64, error)
- func (q *Queries) TouchInstanceConnection(ctx context.Context, arg TouchInstanceConnectionParams) error
- func (q *Queries) TouchMachineCredential(ctx context.Context, arg TouchMachineCredentialParams) error
- func (q *Queries) TouchSCIMBinding(ctx context.Context, arg TouchSCIMBindingParams) (int64, error)
- func (q *Queries) TouchSCIMCredential(ctx context.Context, arg TouchSCIMCredentialParams) error
- func (q *Queries) TouchSession(ctx context.Context, arg TouchSessionParams) error
- func (q *Queries) TransitAdmissionLock(ctx context.Context, arg TransitAdmissionLockParams) (string, error)
- func (q *Queries) TransitAppendVersion(ctx context.Context, arg TransitAppendVersionParams) (int64, error)
- func (q *Queries) TransitAvailableTrimFloor(ctx context.Context, arg TransitAvailableTrimFloorParams) (int64, error)
- func (q *Queries) TransitChangeState(ctx context.Context, arg TransitChangeStateParams) (int64, error)
- func (q *Queries) TransitCompromise(ctx context.Context, arg TransitCompromiseParams) (int64, error)
- func (q *Queries) TransitCompromisedThrough(ctx context.Context, arg TransitCompromisedThroughParams) (int64, error)
- func (q *Queries) TransitConfigure(ctx context.Context, arg TransitConfigureParams) (int64, error)
- func (q *Queries) TransitCountExistingKey(ctx context.Context, arg TransitCountExistingKeyParams) (int64, error)
- func (q *Queries) TransitCountKeys(ctx context.Context, arg TransitCountKeysParams) (int64, error)
- func (q *Queries) TransitCountLive(ctx context.Context) (int64, error)
- func (q *Queries) TransitCountPendingDeletion(ctx context.Context) (int64, error)
- func (q *Queries) TransitCountVersions(ctx context.Context, arg TransitCountVersionsParams) (int64, error)
- func (q *Queries) TransitDeleteCallers(ctx context.Context, arg TransitDeleteCallersParams) error
- func (q *Queries) TransitDestroy(ctx context.Context, arg TransitDestroyParams) (int64, error)
- func (q *Queries) TransitEraseMaterial(ctx context.Context, arg TransitEraseMaterialParams) (int64, error)
- func (q *Queries) TransitExternalVersions(ctx context.Context, arg TransitExternalVersionsParams) ([]TransitExternalVersionsRow, error)
- func (q *Queries) TransitFencePurge(ctx context.Context, arg TransitFencePurgeParams) (int64, error)
- func (q *Queries) TransitFenceTrim(ctx context.Context, arg TransitFenceTrimParams) (int64, error)
- func (q *Queries) TransitGaugeRotationCandidates(ctx context.Context) ([]TransitGaugeRotationCandidatesRow, error)
- func (q *Queries) TransitGetKey(ctx context.Context, arg TransitGetKeyParams) (TransitGetKeyRow, error)
- func (q *Queries) TransitGetKeyForUse(ctx context.Context, arg TransitGetKeyForUseParams) (TransitGetKeyForUseRow, error)
- func (q *Queries) TransitInsertCaller(ctx context.Context, arg TransitInsertCallerParams) error
- func (q *Queries) TransitInsertKey(ctx context.Context, arg TransitInsertKeyParams) error
- func (q *Queries) TransitInsertVersion(ctx context.Context, arg TransitInsertVersionParams) error
- func (q *Queries) TransitKeyByID(ctx context.Context, arg TransitKeyByIDParams) (TransitKeyByIDRow, error)
- func (q *Queries) TransitListCallers(ctx context.Context, arg TransitListCallersParams) ([]TransitListCallersRow, error)
- func (q *Queries) TransitListKeys(ctx context.Context, arg TransitListKeysParams) ([]TransitListKeysRow, error)
- func (q *Queries) TransitListReencrypt(ctx context.Context, arg TransitListReencryptParams) ([]TransitListReencryptRow, error)
- func (q *Queries) TransitListVersions(ctx context.Context, arg TransitListVersionsParams) ([]TransitListVersionsRow, error)
- func (q *Queries) TransitReencrypt(ctx context.Context, arg TransitReencryptParams) (int64, error)
- func (q *Queries) TransitSelectDeletionDue(ctx context.Context, arg TransitSelectDeletionDueParams) ([]TransitSelectDeletionDueRow, error)
- func (q *Queries) TransitSelectRotationDue(ctx context.Context, arg TransitSelectRotationDueParams) ([]TransitSelectRotationDueRow, error)
- func (q *Queries) TransitTrimFloor(ctx context.Context, arg TransitTrimFloorParams) (int64, error)
- func (q *Queries) TransitTrimVersions(ctx context.Context, arg TransitTrimVersionsParams) (int64, error)
- func (q *Queries) TransitVersionMaterial(ctx context.Context, arg TransitVersionMaterialParams) (TransitVersionMaterialRow, error)
- func (q *Queries) UpdateAccessPolicy(ctx context.Context, arg UpdateAccessPolicyParams) (int64, error)
- func (q *Queries) UpdateAccountProfile(ctx context.Context, arg UpdateAccountProfileParams) error
- func (q *Queries) UpdateApprovalPolicy(ctx context.Context, arg UpdateApprovalPolicyParams) (int64, error)
- func (q *Queries) UpdateApprovalRequestState(ctx context.Context, arg UpdateApprovalRequestStateParams) (int64, error)
- func (q *Queries) UpdateDeliveryTargetQuotaNotice(ctx context.Context, arg UpdateDeliveryTargetQuotaNoticeParams) (int64, error)
- func (q *Queries) UpdateDeliveryTargetReport(ctx context.Context, arg UpdateDeliveryTargetReportParams) (int64, error)
- func (q *Queries) UpdateEnvironmentNote(ctx context.Context, arg UpdateEnvironmentNoteParams) (int64, error)
- func (q *Queries) UpdateFederationIssuer(ctx context.Context, arg UpdateFederationIssuerParams) (int64, error)
- func (q *Queries) UpdateKeyDeclaration(ctx context.Context, arg UpdateKeyDeclarationParams) (int64, error)
- func (q *Queries) UpdateKeyMetadata(ctx context.Context, arg UpdateKeyMetadataParams) (int64, error)
- func (q *Queries) UpdateOAuth2ProviderCAS(ctx context.Context, arg UpdateOAuth2ProviderCASParams) (int64, error)
- func (q *Queries) UpdateOIDCProviderCAS(ctx context.Context, arg UpdateOIDCProviderCASParams) (int64, error)
- func (q *Queries) UpdatePasswordCredentialCAS(ctx context.Context, arg UpdatePasswordCredentialCASParams) (int64, error)
- func (q *Queries) UpdateRecoveryCodesCAS(ctx context.Context, arg UpdateRecoveryCodesCASParams) (int64, error)
- func (q *Queries) UpdateRegistrationPolicyCAS(ctx context.Context, arg UpdateRegistrationPolicyCASParams) (int64, error)
- func (q *Queries) UpdateSAMLProviderCAS(ctx context.Context, arg UpdateSAMLProviderCASParams) (int64, error)
- func (q *Queries) UpdateSCIMGroup(ctx context.Context, arg UpdateSCIMGroupParams) (int64, error)
- func (q *Queries) UpdateSCIMMappingTemplate(ctx context.Context, arg UpdateSCIMMappingTemplateParams) (int64, error)
- func (q *Queries) UpdateSCIMUser(ctx context.Context, arg UpdateSCIMUserParams) (int64, error)
- func (q *Queries) UpdateSelfConfigJob(ctx context.Context, arg UpdateSelfConfigJobParams) (int64, error)
- func (q *Queries) UpdateSelfConfigRollout(ctx context.Context, arg UpdateSelfConfigRolloutParams) (int64, error)
- func (q *Queries) UpdateTier3Wrapping(ctx context.Context, arg UpdateTier3WrappingParams) (int64, error)
- func (q *Queries) VerifiedAccountEmailExists(ctx context.Context, email sql.NullString) (bool, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- func (q *Queries) WorkloadPinState(ctx context.Context, arg WorkloadPinStateParams) (WorkloadPinStateRow, error)
- func (q *Queries) WorkspaceHandoffByCode(ctx context.Context, codeVerifier []byte) (WorkspaceHandoff, error)
- func (q *Queries) WorkspaceHandoffByState(ctx context.Context, stateVerifier []byte) (WorkspaceHandoff, error)
- func (q *Queries) WriteRemoteSnapshot(ctx context.Context, arg WriteRemoteSnapshotParams) error
- type ReactivateFederatedBindingParams
- type ReadAuthRefusalWindowRow
- type ReauthWindow
- type RebindSAMLExternalIdentityProviderParams
- type RecordDeliveryTargetRefusalParams
- type RecordFileTargetReportParams
- type RecordRemoteFetchFailureParams
- type RecordSecretValueOccurrenceParams
- type RecoverSelfConfigTargetParams
- type RecoveryCode
- type RecoveryListGrantsBeforeAccessRow
- type RecoveryListGrantsBeforePrivacyRow
- type RecoveryListGrantsBeforeSelfConfigRow
- type ReencryptOauth2ProviderParams
- type ReencryptOidcProviderParams
- type ReencryptPairingExchangesParams
- type ReencryptPairingInvitesParams
- type ReencryptPasswordCredParams
- type ReencryptPendingChangeParams
- type ReencryptPkiIssuerParams
- type ReencryptRecoveryCodesParams
- type ReencryptRemoteParams
- type ReencryptSamlKeyParams
- type ReencryptSelfConfigSeedInputParams
- type ReencryptSnapshotEntryParams
- type ReencryptTotpCredParams
- type ReencryptValueEntryParams
- type RegistrationPolicy
- type RegistrationPolicyDomain
- type RegistrationPolicyEntry
- type RegistrationPolicyEntryValue
- type RegistrationSignup
- type ReissueRegistrationSignupParams
- type Remote
- type RemotePairedConnection
- type RemotePairingExchange
- type RemotePairingInvite
- type RemotePairingReplay
- type RemoteSnapshot
- type RenameEnvironmentParams
- type RenameFolderParams
- type RenameKeyGroupParams
- type RenameKeyParams
- type RenameOrgParams
- type RenameProjectParams
- type RenameRemoteParams
- type ResolveAccessRequestParams
- type ResolveEnvChainParams
- type ResolveEnvChainRow
- type ResolveKeyByIDParams
- type ResolveKeyByIDRow
- type ResolveKeyByNameParams
- type ResolveKeyByNameRow
- type ResolveProjectChainParams
- type ResolveProjectChainRow
- type ResolveRuleApprovalKeysParams
- type ResolveRulePendingKeyParams
- type ResolveRulePendingKeyRow
- type RetentionRuntime
- type RetireMasterWrapperAtEpochParams
- type RetireRetiringTier3ForScopeParams
- type RetireTier3KeyAtVersionParams
- type RevisionKeyChange
- type RevisionPin
- type RevokeAllMachineCredentialsParams
- type RevokeDeveloperCredentialParams
- type RevokeInstanceConnectionParams
- type RevokeMachineCredentialParams
- type RevokeRemotePairingInviteParams
- type RevokeSCIMCredentialParams
- type RevokeSCIMCredentialsForBindingParams
- type RotateSessionFactorsParams
- type Rule
- type RuleItem
- type RuleKeyConflictingDraftCountParams
- type RuleKeyValueCountParams
- type RuntimeDynamicAssertLeaseParams
- type RuntimeDynamicClaimDueLeaseRow
- type RuntimeDynamicClaimLeaseParams
- type RuntimeDynamicCloseEffectParams
- type RuntimeDynamicInsertEffectParams
- type RuntimeDynamicInsertLeaseAuditParams
- type RuntimeDynamicLatestEffectKindParams
- type RuntimeDynamicLoadProviderMaterialParams
- type RuntimeDynamicLoadProviderMaterialRow
- type RuntimeDynamicRetryLeaseParams
- type RuntimeDynamicSettleLeaseParams
- type RuntimePKIDueCRLsRow
- type RuntimePKIExpiredParams
- type RuntimePKIExpiredRow
- type RuntimePKIMarkExpiredParams
- type RuntimePKIMarkUnknownParams
- type RuntimePKIPublishedAuditParams
- type RuntimePKIReleaseRenewalParams
- type RuntimePKIStaleIssuingParams
- type RuntimePKIStaleIssuingRow
- type RuntimePKITransitionAuditParams
- type RuntimeSSHInsertAuthorityRevocationAuditParams
- type RuntimeSSHListLiveCertificatesParams
- type RuntimeSSHListLiveCertificatesRow
- type RuntimeSSHRevokeForAuthorityParams
- type SSHActiveCAKeyIDParams
- type SSHActiveCAKeyParams
- type SSHActiveCAKeyRow
- type SSHActiveKeyLastExpiryParams
- type SSHCAKeyExistsParams
- type SSHCAKeysParams
- type SSHCAKeysRow
- type SSHCountLiveCAsParams
- type SSHCountLiveProfilesParams
- type SSHCreateCAParams
- type SSHCreateProfileParams
- type SSHDeleteCAParams
- type SSHDeleteProfileParams
- type SSHDeleteRequestersParams
- type SSHGetCAParams
- type SSHGetCARow
- type SSHGetCertificateParams
- type SSHGetCertificateRow
- type SSHGetProfileParams
- type SSHGetProfileRow
- type SSHInsertCAKeyParams
- type SSHInsertCertificateParams
- type SSHInsertRequesterParams
- type SSHIsRequesterParams
- type SSHListCAsParams
- type SSHListCAsRow
- type SSHListCertificatesParams
- type SSHListCertificatesRow
- type SSHListKeysForReencryptParams
- type SSHListKeysForReencryptRow
- type SSHListProfilesParams
- type SSHListProfilesRow
- type SSHProfileRevocationCandidatesParams
- type SSHProfileRevocationCandidatesRow
- type SSHPurgeCAKeysParams
- type SSHPurgeCAsParams
- type SSHPurgeCertificatesParams
- type SSHPurgeProfilesParams
- type SSHPurgeRequestersParams
- type SSHReencryptCAKeyParams
- type SSHRequestersParams
- type SSHRequestersRow
- type SSHRetireActiveCAKeyParams
- type SSHRetireAllCAKeysParams
- type SSHRetireCAKeyParams
- type SSHRevokeCertificateParams
- type SSHRevokedSerialsParams
- type SSHRevokedSerialsRow
- type SSHUpdateProfileParams
- type SamlProvider
- type SamlReplay
- type SamlSpKey
- type SamlTransaction
- type SaveAuthRefusalWindowParams
- type ScanningDismissal
- type ScimAttention
- type ScimBinding
- type ScimCredential
- type ScimGroup
- type ScimGroupMember
- type ScimMapping
- type ScimUser
- type SecretValueOccurrence
- type SelectDueAccessRequestsRow
- type SelectExpiredApprovalRequestsRow
- type SelectExpiredDeliveryTargetReportsParams
- type SelectExpiredDeliveryTargetReportsRow
- type SelfConfigBinding
- type SelfConfigJob
- type SelfConfigNode
- type SelfConfigRetention
- type SelfConfigRollout
- type SelfConfigRolloutSequence
- type SelfConfigSeedAttestation
- type SelfConfigSeedInput
- type ServiceAccount
- type Session
- type SetAuditRetentionPolicyParams
- type SetBackupDrillParams
- type SetBackupExportFailureParams
- type SetBackupExportSuccessParams
- type SetBackupPruneResultParams
- type SetCredentialPolicyParams
- type SetEnvironmentOrderParams
- type SetEnvironmentParametersParams
- type SetEnvironmentSettingsParams
- type SetEscrowVerificationParams
- type SetKeyClassificationParams
- type SetKeyGroupParams
- type SetLocalAccountEmailParams
- type SetOrgRetentionParams
- type SetPinGenerationParams
- type SetProjectCapacityParams
- type SetProjectDefinitionsSourceParams
- type SetProjectMachineRevealParams
- type SetProjectRetentionParams
- type SetSCIMMappingInertParams
- type SetSelfConfigRetentionParams
- type SetWebAuthnUserHandleParams
- type SingletonLease
- type SlideReauthWindowParams
- type Snapshot
- type SnapshotEntry
- type SshCa
- type SshCaKey
- type SshCertificate
- type SshProfile
- type SshProfileRequester
- type StampCredentialEstablishParams
- type StrandedRevealPrincipalsForEnvironmentParams
- type SumSnapshotContractForProjectParams
- type SumSnapshotPayloadByProjectRow
- type SumSnapshotPayloadForProjectParams
- type SumValuePayloadByProjectRow
- type SumValuePayloadForProjectParams
- type Tier3Key
- type TotpChallenge
- type TotpCredential
- type TouchInstanceConnectionParams
- type TouchMachineCredentialParams
- type TouchSCIMBindingParams
- type TouchSCIMCredentialParams
- type TouchSessionParams
- type TransitAdmissionLockParams
- type TransitAppendVersionParams
- type TransitAvailableTrimFloorParams
- type TransitChangeStateParams
- type TransitCompromiseParams
- type TransitCompromisedThroughParams
- type TransitConfigureParams
- type TransitCountExistingKeyParams
- type TransitCountKeysParams
- type TransitCountVersionsParams
- type TransitDeleteCallersParams
- type TransitDestroyParams
- type TransitEraseMaterialParams
- type TransitExternalVersionsParams
- type TransitExternalVersionsRow
- type TransitFencePurgeParams
- type TransitFenceTrimParams
- type TransitGaugeRotationCandidatesRow
- type TransitGetKeyForUseParams
- type TransitGetKeyForUseRow
- type TransitGetKeyParams
- type TransitGetKeyRow
- type TransitInsertCallerParams
- type TransitInsertKeyParams
- type TransitInsertVersionParams
- type TransitKey
- type TransitKeyByIDParams
- type TransitKeyByIDRow
- type TransitKeyCaller
- type TransitKeyVersion
- type TransitListCallersParams
- type TransitListCallersRow
- type TransitListKeysParams
- type TransitListKeysRow
- type TransitListReencryptParams
- type TransitListReencryptRow
- type TransitListVersionsParams
- type TransitListVersionsRow
- type TransitReencryptParams
- type TransitSelectDeletionDueParams
- type TransitSelectDeletionDueRow
- type TransitSelectRotationDueParams
- type TransitSelectRotationDueRow
- type TransitTrimFloorParams
- type TransitTrimVersionsParams
- type TransitVersionMaterialParams
- type TransitVersionMaterialRow
- type UpdateAccessPolicyParams
- type UpdateAccountProfileParams
- type UpdateApprovalPolicyParams
- type UpdateApprovalRequestStateParams
- type UpdateDeliveryTargetQuotaNoticeParams
- type UpdateDeliveryTargetReportParams
- type UpdateEnvironmentNoteParams
- type UpdateFederationIssuerParams
- type UpdateKeyDeclarationParams
- type UpdateKeyMetadataParams
- type UpdateOAuth2ProviderCASParams
- type UpdateOIDCProviderCASParams
- type UpdatePasswordCredentialCASParams
- type UpdateRecoveryCodesCASParams
- type UpdateRegistrationPolicyCASParams
- type UpdateSAMLProviderCASParams
- type UpdateSCIMGroupParams
- type UpdateSCIMMappingTemplateParams
- type UpdateSCIMUserParams
- type UpdateSelfConfigJobParams
- type UpdateSelfConfigRolloutParams
- type UpdateTier3WrappingParams
- type ValueEntry
- type WebauthnCeremony
- type WebauthnCredential
- type WorkloadPinStateParams
- type WorkloadPinStateRow
- type WorkspaceHandoff
- type WorkspaceOrigin
- type WriteRemoteSnapshotParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SnapshotInsertSlot ¶
SnapshotInsertSlot identifies the two repeated publish inserts by their exact generated SQL. This keeps transaction-local statement reuse tied to SQLC's source, without matching comments, copying queries or broadening other SQL.
Types ¶
type AccessGrant ¶
type AccessPolicy ¶
type AccessPolicyApprover ¶
type AccessPolicyBypasser ¶
type AccessRequest ¶
type AccessRequest struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
PolicyID string
PolicyVersion int64
RequesterPrincipalID string
Capabilities string
DurationSeconds int64
Reason string
Bypassed int64
State string
InvalidatedCause string
ResolvedBy string
CreatedAt string
ReviewExpiresAt string
GrantedAt sql.NullString
ExpiresAt sql.NullString
ResolvedAt sql.NullString
}
type AccessVote ¶
type Account ¶
type Account struct {
ID string
PrincipalID string
Username string
DisplayName string
CreatedAt string
WebauthnUserHandle []byte
Email sql.NullString
EmailVerifiedAt sql.NullString
}
type Adapter ¶
type Adapter struct {
ID string
OrgID string
ProjectID string
Provider string
Origin string
CredentialCiphertext []byte
CredentialSetAt sql.NullString
CredentialExpiresAt sql.NullString
AuthorityPrincipalID string
State string
CreatedAt string
SpkiPin string
CaBundlePem string
AllowPersonalToken int64
}
type AdapterAdoptionInsertLedgerParams ¶
type AdapterAdoptionInsertLedgerParams struct {
LedgerID string
ChainOrg string
ChainProject string
EnvironmentID string
TargetID string
ProviderOrigin string
DestinationKind string
DestinationScope string
RepositoryID int64
DestinationID int64
Surface string
EffectiveName string
NormalizedName string
UpdatedAt string
}
type AdapterAdoptionReclaimReleasedLedgerParams ¶
type AdapterAdoptionReclaimReleasedLedgerParams struct {
EnvironmentID string
ProviderOrigin string
DestinationKind string
DestinationScope string
RepositoryID int64
DestinationID int64
EffectiveName string
UpdatedAt string
TargetID string
ChainOrg string
ChainProject string
Surface string
NormalizedName string
}
type AdapterAdoptionTargetParams ¶
type AdapterAdoptionTargetParams struct {
At sql.NullString
TargetID string
ChainOrg string
ChainProject string
}
type AdapterAdoptionUpdateTargetParams ¶
type AdapterAdoptionUpdateTargetParams struct {
NextGeneration int64
JobID sql.NullString
TargetID string
ChainOrg string
ChainProject string
EnvironmentID string
ExpectedGeneration int64
At sql.NullString
}
type AdapterConfigurationRow ¶
type AdapterConfigurationRow struct {
ID string
Provider string
Origin string
CredentialPresent int64
CredentialSetAt sql.NullString
CredentialExpiresAt sql.NullString
AuthorityPrincipalID string
State string
CreatedAt string
SpkiPin string
CaBundlePem string
AllowPersonalToken int64
CredentialCiphertext []byte
}
type AdapterConfigureFence ¶
type AdapterConfigureFence struct {
TargetID string
OrgID string
ProjectID string
EnvironmentID string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
Generation int64
EffectID string
LeaseExpiresAt string
State string
CreatedAt string
CompletedAt sql.NullString
}
type AdapterConflict ¶
type AdapterConflict struct {
ID string
ArtifactID string
OrgID string
ProjectID string
EnvironmentID string
TargetID string
JobID sql.NullString
DestinationID int64
TargetGeneration int64
Surface string
EffectiveName string
CreatedAt string
AdoptedAt sql.NullString
RepositoryID int64
ObservedProviderVersion sql.NullInt64
ObservedProviderWitness string
}
type AdapterConflictsParams ¶
type AdapterConflictsRow ¶
type AdapterCreateParams ¶
type AdapterCreateParams struct {
AdapterID string
ChainOrg string
ChainProject string
Provider string
Origin string
CredentialCiphertext []byte
CredentialSetAt sql.NullString
CredentialExpiresAt sql.NullString
AuthorityPrincipalID string
CreatedAt string
SpkiPin string
CaBundlePem string
AllowPersonalToken int64
}
type AdapterEffect ¶
type AdapterEffect struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
TargetID string
JobID string
Surface string
EffectiveName string
Disposition string
IntentAuditID string
OutcomeAuditID sql.NullString
Outcome sql.NullString
CreatedAt string
FinishedAt sql.NullString
Finding string
}
type AdapterGetActiveTargetForUpdateRow ¶
type AdapterGetActiveTargetForUpdateRow struct {
ID string
AdapterID string
EnvironmentID string
Provider string
Origin string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
Generation int64
State string
SyncStatus string
ConvergedRevision sql.NullInt64
FailureNames string
Warnings string
AuthorityPrincipalID string
PausedAt sql.NullString
LastAttemptedRevision sql.NullInt64
LastAttemptedAt sql.NullString
LastErrorClass sql.NullString
DriftAttention int64
ActiveJobState string
NextAttemptAt sql.NullString
AttemptCount int64
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterGetParams ¶
type AdapterGetRow ¶
type AdapterGetTargetParams ¶
type AdapterGetTargetRow ¶
type AdapterGetTargetRow struct {
ID string
AdapterID string
EnvironmentID string
Provider string
Origin string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
Generation int64
State string
SyncStatus string
ConvergedRevision sql.NullInt64
FailureNames string
Warnings string
AuthorityPrincipalID string
PausedAt sql.NullString
LastAttemptedRevision sql.NullInt64
LastAttemptedAt sql.NullString
LastErrorClass sql.NullString
DriftAttention int64
ActiveJobState string
NextAttemptAt sql.NullString
AttemptCount int64
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterHealthCountsRow ¶
type AdapterInsertConflictParams ¶
type AdapterInsertConflictParams struct {
ID string
ArtifactID string
ChainOrg string
ChainProject string
EnvironmentID string
TargetID string
DestinationID int64
RepositoryID int64
TargetGeneration int64
Surface string
EffectiveName string
ObservedProviderVersion sql.NullInt64
ObservedProviderWitness string
CreatedAt string
}
type AdapterInsertTargetParams ¶
type AdapterInsertTargetParams struct {
TargetID string
ChainOrg string
ChainProject string
EnvironmentID string
AdapterID string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
CreatedAt string
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterLedger ¶
type AdapterLedger struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
TargetID string
ProviderOrigin string
DestinationID int64
Surface string
EffectiveName string
NormalizedName string
State string
UpdatedAt string
DestinationKind string
RepositoryID int64
Missing int64
DestinationScope string
}
type AdapterListParams ¶
type AdapterListRow ¶
type AdapterListTargetsRow ¶
type AdapterListTargetsRow struct {
ID string
AdapterID string
EnvironmentID string
Provider string
Origin string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
Generation int64
State string
SyncStatus string
ConvergedRevision sql.NullInt64
FailureNames string
Warnings string
AuthorityPrincipalID string
PausedAt sql.NullString
LastAttemptedRevision sql.NullInt64
LastAttemptedAt sql.NullString
LastErrorClass sql.NullString
DriftAttention int64
ActiveJobState string
NextAttemptAt sql.NullString
AttemptCount int64
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterManualTargetParams ¶
type AdapterManualTargetParams struct {
At sql.NullString
TargetID string
ChainOrg string
ChainProject string
}
type AdapterManualTargetRow ¶
type AdapterMappingParams ¶
type AdapterMappingRow ¶
type AdapterMoveBeginOriginAdapterParams ¶
type AdapterMoveBeginOriginAdapterParams struct {
ObservedAt sql.NullString
MutationAdapterID string
ChainOrg string
ChainProject string
}
type AdapterMoveBeginOriginTargetsRow ¶
type AdapterMoveBeginOriginTargetsRow struct {
ID string
EnvironmentID string
Kind string
Owner string
Name string
DestinationEnvironment string
DestinationScope string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
Prefix string
Paused int64
Generation int64
ActiveJob string
OrphanedNames string
}
type AdapterMoveBeginTargetParams ¶
type AdapterMoveBeginTargetParams struct {
ObservedAt sql.NullString
MutationTargetID string
ChainOrg string
ChainProject string
}
type AdapterMoveBeginTargetRow ¶
type AdapterMoveBeginTargetRow struct {
AdapterID string
Origin string
EnvironmentID string
Kind string
Owner string
Name string
DestinationEnvironment string
DestinationScope string
DestinationID int64
Prefix string
Paused int64
Generation int64
ActiveJob string
ProviderBusy int64
OrphanedNames string
}
type AdapterMoveCancelParams ¶
type AdapterMoveConfiguredCollisionParams ¶
type AdapterMoveConfiguredCollisionParams struct {
ChainOrg string
ChainProject string
TargetID string
Origin string
TargetDestinationKind string
TargetDestinationOwner string
TargetDestinationName string
TargetDestinationEnvironment string
TargetDestinationScope string
PendingEffective string
SentinelName string
PendingSurface string
PendingEffective2 string
}
type AdapterMoveFlagsParams ¶
type AdapterMoveFlagsRow ¶
type AdapterMoveGetLockedRow ¶
type AdapterMoveGetParams ¶
type AdapterMoveGetRow ¶
type AdapterMoveInsertAWSClaimParams ¶
type AdapterMoveInsertAWSClaimParams struct {
MoveID string
ChainOrg string
ChainProject string
TargetEnvironmentID string
TargetID string
KeyID sql.NullString
Origin string
TargetDestinationKind string
TargetDestinationOwner string
TargetDestinationName string
TargetDestinationEnvironment string
Surface string
ClaimEffectiveName string
NormalizedName string
}
type AdapterMoveInsertClaimParams ¶
type AdapterMoveInsertClaimParams struct {
MoveID string
ChainOrg string
ChainProject string
TargetEnvironmentID string
TargetID string
KeyID sql.NullString
Origin string
TargetDestinationKind string
TargetDestinationOwner string
TargetDestinationName string
TargetDestinationEnvironment string
TargetDestinationScope string
PendingSurface string
PendingEffective string
NormalizedName string
}
type AdapterMoveInsertTargetParams ¶
type AdapterMoveInsertTargetParams struct {
MutationMoveID string
ChainOrg string
ChainProject string
TargetEnvironmentID string
TargetID string
TargetKind string
TargetOwner string
TargetName string
TargetDestinationEnvironment string
TargetDestinationScope string
TargetRepositoryID int64
TargetVisibility string
SelectedRepositoryIds string
TargetPrefix string
OrphanedNames string
}
type AdapterMoveJobsParams ¶
type AdapterMoveJobsParams struct {
MoveID sql.NullString
ChainOrg string
ChainProject string
}
type AdapterMoveJobsRow ¶
type AdapterMoveTargetsRow ¶
type AdapterMoveTargetsRow struct {
TargetID string
EnvironmentID string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationScope string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
OrphanedNames string
}
type AdapterMoveUpdatePendingTargetParams ¶
type AdapterMoveUpdatePendingTargetParams struct {
TargetDestinationKind string
TargetDestinationOwner string
TargetDestinationName string
TargetDestinationEnvironment string
TargetDestinationScope string
TargetRepositoryID int64
TargetVisibility string
SelectedRepositoryIds string
TargetNamePrefix string
MoveID string
TargetID string
ChainOrg string
ChainProject string
TargetEnvironmentID string
}
type AdapterOriginHeldCandidatesParams ¶
type AdapterOriginHeldCandidatesParams struct {
Provider string
DestinationKind string
RepositoryID int64
DestinationID int64
DestinationScope string
Surface string
NormalizedName string
Cursor string
TargetID string
Ipv6 int64
Authority string
AuthorityRoot string
AuthorityPort string
AuthorityDot string
AuthorityDotRoot string
AuthorityDotPort string
}
type AdapterOrphansParams ¶
type AdapterOrphansRow ¶
type AdapterOutbox ¶
type AdapterOutbox struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
TargetID string
Kind string
RouteMoveID sql.NullString
AuthorityPrincipalID string
Generation int64
DedupKey string
AttemptCount int64
NextAttemptAt string
LeaseOwner sql.NullString
LeaseExpiresAt sql.NullString
State string
CreatedAt string
FinishedAt sql.NullString
}
type AdapterPauseTargetParams ¶
type AdapterPauseTargetParams struct {
At sql.NullString
TargetID string
ChainOrg string
ChainProject string
}
type AdapterPauseTargetRow ¶
type AdapterPauseTargetUpdateParams ¶
type AdapterPauseTargetUpdateParams struct {
PausedAt sql.NullString
NextGeneration int64
TargetID string
ChainOrg string
ChainProject string
EnvironmentID string
ExpectedGeneration int64
At sql.NullString
}
type AdapterPlanLedgerParams ¶
type AdapterPlanLedgerRow ¶
type AdapterPlanManifestRow ¶
type AdapterPlanTargetParams ¶
type AdapterPlanTargetRow ¶
type AdapterProviderParams ¶
type AdapterRecordCredentialExpiryParams ¶
type AdapterRecordCredentialExpiryParams struct {
ExpiresAt sql.NullString
AdapterID string
ChainOrg string
ChainProject string
}
type AdapterReencryptParams ¶
type AdapterReplaceCredentialBumpParams ¶
type AdapterReplaceCredentialBumpParams struct {
AdapterID string
ChainOrg string
ChainProject string
At sql.NullString
}
type AdapterReplaceCredentialTargetParams ¶
type AdapterReplaceCredentialTargetParams struct {
At sql.NullString
AdapterID string
ChainOrg string
ChainProject string
}
type AdapterRetireCredentialJobsParams ¶
type AdapterRetireCredentialJobsParams struct {
At sql.NullString
ChainOrg string
ChainProject string
AdapterID string
}
type AdapterRouteMove ¶
type AdapterRouteMoveClaim ¶
type AdapterRouteMoveClaim struct {
MoveID string
OrgID string
ProjectID string
EnvironmentID string
TargetID string
KeyID sql.NullString
ProviderOrigin string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationScope string
Surface string
EffectiveName string
NormalizedName string
}
type AdapterRouteMoveKey ¶
type AdapterRouteMoveTarget ¶
type AdapterRouteMoveTarget struct {
MoveID string
OrgID string
ProjectID string
EnvironmentID string
TargetID string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
OrphanedNames string
DestinationScope string
}
type AdapterScrubTargetParams ¶
type AdapterScrubTargetParams struct {
NextGeneration int64
JobID sql.NullString
TargetID string
ChainOrg string
ChainProject string
EnvironmentID string
ExpectedGeneration int64
At sql.NullString
}
type AdapterTarget ¶
type AdapterTarget struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
AdapterID string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
Generation int64
State string
SyncStatus string
FailureNames string
Warnings string
ConvergedRevision sql.NullInt64
ActiveJobID sql.NullString
ProviderLeaseJobID sql.NullString
ProviderLeaseEffectID sql.NullString
ProviderLeaseExpiresAt sql.NullString
CreatedAt string
PausedAt sql.NullString
LastAttemptedRevision sql.NullInt64
LastAttemptedAt sql.NullString
LastErrorClass sql.NullString
DriftAttention int64
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterTargetKey ¶
type AdapterTargetKeysParams ¶
type AdapterTargetKeysRow ¶
type AdapterTeardownTargetParams ¶
type AdapterTeardownTargetParams struct {
At sql.NullString
TargetID string
ChainOrg string
ChainProject string
}
type AdapterTeardownTargetsParams ¶
type AdapterTeardownTargetsParams struct {
At sql.NullString
AdapterID string
ChainOrg string
ChainProject string
}
type AdapterWorkerActivateApplyTargetParams ¶
type AdapterWorkerActivateApplyTargetParams struct {
Kind string
Owner string
Name string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRaw string
Prefix string
Generation int64
ConvergeID sql.NullString
TargetID string
ChainOrg string
ChainProject string
CurrentEnvironment string
ExpectedGeneration int64
}
type AdapterWorkerActivateCompleteMoveParams ¶
type AdapterWorkerActivateCompleteMoveParams struct {
RouteMoveID string
ChainOrg string
ChainProject string
TargetID sql.NullString
}
type AdapterWorkerActivateFinishParams ¶
type AdapterWorkerActivateFinishParams struct {
At sql.NullString
JobID string
RouteMoveID sql.NullString
TargetID string
ChainOrg string
ChainProject string
ChainEnv string
Generation int64
LeaseOwner sql.NullString
}
type AdapterWorkerActivateLookupRow ¶
type AdapterWorkerActivateLookupRow struct {
AdapterID string
EnvironmentID string
EnvironmentID_2 string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
Visibility string
SelectedRepositoryIds string
NamePrefix string
Kind string
PendingOrigin string
}
type AdapterWorkerActivateOriginRouteMoveActivateAdapterParams ¶
type AdapterWorkerActivateOriginRouteMoveActivateAdapterParams struct {
PendingOrigin string
PendingCredential []byte
At sql.NullString
Expires sql.NullString
AdapterID string
ChainOrg string
ChainProject string
}
type AdapterWorkerActivateOriginRouteMoveApplyTargetParams ¶
type AdapterWorkerActivateOriginRouteMoveApplyTargetParams struct {
Kind string
Owner string
Name string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRaw string
Prefix string
Generation int64
ConvergeID sql.NullString
EffectID string
AdapterID string
ChainOrg string
ChainProject string
Environment string
ExpectedGeneration int64
}
type AdapterWorkerActivateOriginRouteMoveLoadPendingRow ¶
type AdapterWorkerActivateOriginRouteMoveLoadPendingRow struct {
PendingOrigin sql.NullString
PendingCredentialCiphertext []byte
}
type AdapterWorkerActivateOriginRouteMoveTargetQueryRow ¶
type AdapterWorkerActivateOriginRouteMoveTargetQueryRow struct {
ID string
EnvironmentID string
Generation int64
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
}
type AdapterWorkerActivateUpdateExpiryParams ¶
type AdapterWorkerActivateUpdateExpiryParams struct {
CredentialExpiresAt sql.NullString
AdapterID string
ChainOrg string
ChainProject string
}
type AdapterWorkerClaimDueUpdateParams ¶
type AdapterWorkerClaimDueUpdateParams struct {
Attempt int64
Worker sql.NullString
LeaseUntil sql.NullString
JobID string
}
type AdapterWorkerCloseIndeterminateEffectsUpdateParams ¶
type AdapterWorkerCloseIndeterminateEffectsUpdateParams struct {
OutcomeAuditID sql.NullString
At sql.NullString
EffectID string
ChainOrg string
ChainProject string
ChainEnv string
TargetID string
}
type AdapterWorkerFinishJobMarkTargetsParams ¶
type AdapterWorkerFinishJobMarkTargetsParams struct {
ErrorClass sql.NullString
At sql.NullString
ChainOrg string
ChainProject string
RouteMoveID string
}
type AdapterWorkerFinishJobSupersedeParams ¶
type AdapterWorkerFinishJobSupersedeParams struct {
At sql.NullString
RouteMoveID sql.NullString
ChainOrg string
ChainProject string
JobID string
}
type AdapterWorkerFinishOriginRouteMoveScrubCountHeldParams ¶
type AdapterWorkerFinishOriginRouteMoveScrubCountHeldParams struct {
RouteMoveID sql.NullString
ChainOrg string
ChainProject string
}
type AdapterWorkerFinishOriginRouteMoveScrubCountPendingParams ¶
type AdapterWorkerFinishOriginRouteMoveScrubCountPendingParams struct {
RouteMoveID sql.NullString
ChainOrg string
ChainProject string
}
type AdapterWorkerFinishReleaseLeaseParams ¶
type AdapterWorkerFinishReleaseLeaseParams struct {
TargetID string
ChainOrg string
ChainProject string
ChainEnv string
JobID sql.NullString
EffectID sql.NullString
}
type AdapterWorkerFinishRouteMoveScrubMoveParams ¶
type AdapterWorkerFinishRouteMoveScrubMoveParams struct {
RouteMoveID string
ChainOrg string
ChainProject string
TargetID sql.NullString
}
type AdapterWorkerFinishUpdateEffectParams ¶
type AdapterWorkerFinishUpdateEffectParams struct {
OutcomeAuditID sql.NullString
Outcome sql.NullString
Finding string
Now sql.NullString
EffectID string
}
type AdapterWorkerGateQueryParams ¶
type AdapterWorkerGateQueryParams struct {
TargetID string
ChainOrg string
ChainProject string
ChainEnv string
Generation int64
JobID string
LeaseOwner sql.NullString
Now sql.NullString
}
type AdapterWorkerInsertAdapterJobAuditWithIDQueryParams ¶
type AdapterWorkerInsertAdapterJobAuditWithIDQueryParams struct {
EffectID string
Typ string
At string
AuthorityPrincipal sql.NullString
ChainOrg string
ChainProject sql.NullString
ChainEnv sql.NullString
TargetID sql.NullString
Outcome string
JobID sql.NullString
Payload string
}
type AdapterWorkerLoadActivationQueryParams ¶
type AdapterWorkerLoadActivationQueryParams struct {
JobID string
RouteMoveID sql.NullString
TargetID string
ChainOrg string
ChainProject string
ChainEnv string
Generation int64
LeaseOwner sql.NullString
}
type AdapterWorkerLoadActivationQueryRow ¶
type AdapterWorkerLoadActivationQueryRow struct {
Provider string
PendingOrigin string
ID string
PendingCredentialCiphertext []byte
EnvironmentID string
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
Generation int64
SpkiPin string
CaBundlePem string
AllowPersonalToken int64
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterWorkerLoadExecutionCompletedQueryParams ¶
type AdapterWorkerLoadExecutionCompletedQueryParams struct {
ChainOrg string
ChainProject sql.NullString
ChainEnv sql.NullString
JobID string
TargetID string
Generation int64
LeaseOwner sql.NullString
AuthorityPrincipal string
InputRevision int64
}
type AdapterWorkerLoadExecutionQueryRow ¶
type AdapterWorkerLoadExecutionQueryRow struct {
Provider string
Origin string
ID string
CredentialCiphertext []byte
DestinationKind string
DestinationOwner string
DestinationName string
DestinationEnvironment string
DestinationID int64
RepositoryID int64
Visibility string
SelectedRepositoryIds string
NamePrefix string
Generation int64
Revision int64
SpkiPin string
CaBundlePem string
AllowPersonalToken int64
DestinationScope string
VariableProtected int64
VariableHidden int64
VariableExpand int64
}
type AdapterWorkerPrepareLeaseParams ¶
type AdapterWorkerPrepareLeaseParams struct {
LeaseUntil sql.NullString
JobID string
LeaseOwner sql.NullString
}
type AdapterWorkerPrepareProviderLeaseParams ¶
type AdapterWorkerPrepareProviderLeaseParams struct {
JobID sql.NullString
EffectID sql.NullString
LeaseUntil sql.NullString
TargetID string
ChainOrg string
ChainProject string
ChainEnv string
Generation int64
NowStamp sql.NullString
}
type AdapterWorkerRecordJobOutcomeParams ¶
type AdapterWorkerRecordJobOutcomeParams struct {
TargetStatus string
ConvergedRevision int64
ConvergedRev sql.NullInt64
FailureJSON string
WarningJSON string
Revision int64
Rev sql.NullInt64
AttemptedAt sql.NullString
ErrorClass sql.NullString
AttentionMode int64
RetainActiveJob int64
TargetID string
ChainOrg string
ChainProject string
ChainEnv string
Generation int64
}
type AdapterWorkerReserveInsertParams ¶
type AdapterWorkerReserveInsertParams struct {
NewID string
ChainOrg string
ChainProject string
ChainEnv string
TargetID string
Origin string
DestinationKind string
RepositoryID int64
DestinationID int64
DestinationScope string
Surface string
EffectiveName string
Normalized string
Reserved string
Now string
}
type AdmissionCounter ¶
type AdvanceRestoreEpochParams ¶
type AdvanceRestoreEpochParams struct {
CredentialEpoch int64
RestoreEpoch int64
ReactivatedAt sql.NullString
UpdatedAt string
}
type AdvanceTOTPStepParams ¶
type AdvanceWebAuthnSignCountParams ¶
type AdvanceWebAuthnSignCountParams struct {
SignCount int64
LastUsedAt sql.NullString
ID string
RowVersion int64
}
type ApprovalPolicy ¶
type ApprovalPolicyApprover ¶
type ApprovalPolicyBypasser ¶
type ApprovalRequest ¶
type ApprovalRequest struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
PolicyID string
PolicyVersion int64
RequesterPrincipalID string
VersionIds string
ClosedVersionIds string
KeyIds string
PreviewTokenDigest string
BaseRevision int64
Purpose string
State string
InvalidatedCause string
CreatedAt string
ExpiresAt string
ResolvedAt sql.NullString
}
type ApprovalVote ¶
type ApproveCLILoginParams ¶
type ApproveCLILoginParams struct {
BrowserSessionID sql.NullString
Snapshot string
CodeVerifier []byte
ID string
}
type AuditInstanceEvent ¶
type AuditInstanceEvent struct {
Seq int64
ID string
Type string
SchemaVersion int64
OccurredAt string
OccurredAsserted int64
RecordedAt string
ActorID sql.NullString
ActorClass string
ActorCredentialID sql.NullString
AuthorityID sql.NullString
ObjectType sql.NullString
ObjectID sql.NullString
Outcome string
CorrelationID sql.NullString
SourceIp sql.NullString
UserAgent sql.NullString
Origin string
Payload string
}
type AuditRetentionPolicy ¶
type AuditTenantEvent ¶
type AuditTenantEvent struct {
Seq int64
ID string
Type string
SchemaVersion int64
OccurredAt string
OccurredAsserted int64
RecordedAt string
ActorID sql.NullString
ActorClass string
ActorCredentialID sql.NullString
AuthorityID sql.NullString
ScopeClass string
OrgID string
ProjectID sql.NullString
EnvID sql.NullString
ObjectType sql.NullString
ObjectID sql.NullString
Outcome string
CorrelationID sql.NullString
SourceIp sql.NullString
UserAgent sql.NullString
Origin string
Payload string
}
type AuthInstanceState ¶
type AuthRefusalWindow ¶
type BackupState ¶
type BackupState struct {
ID int64
LastSuccessAt sql.NullString
LastArtifactName string
LastArtifactBytes int64
LastFailureAt sql.NullString
LastFailureReason string
LastPruneAt sql.NullString
LastDrillAt sql.NullString
LastDrillOk int64
LastDrillArchive string
LastDrillElapsedMs int64
LastDrillBinaryVersion string
LastDrillSchemaVersion int64
LastPruneAttemptAt sql.NullString
PruneFailureReason string
RetainedExpiredArchives int64
LastPruneAttemptID string
LastArtifactSha256 string
}
type BindSessionToOAuth2ProviderParams ¶
type BindSessionToOAuth2ProviderParams struct {
Oauth2ProviderID sql.NullString
ID string
}
type BindSessionToSAMLProviderParams ¶
type BindSessionToSAMLProviderParams struct {
SamlProviderID sql.NullString
ID string
}
type ClaimFederatedAuthorityParams ¶
type ClaimFederatedAuthorityParams struct {
ConsumedAt sql.NullString
EstablishedCredentialKind string
ID string
}
type ClearKeyGroupMembersParams ¶
type ClearKeyGroupMembersParams struct {
OrgID string
ProjectID string
GroupID sql.NullString
}
type CliLoginHandoff ¶
type CliLoginHandoff struct {
ID string
StateVerifier []byte
CodeVerifier []byte
UserCodeVerifier []byte
Transport string
PkceChallenge string
RedirectUri string
BrowserSessionID sql.NullString
Snapshot string
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
LastPollAt string
PollInterval int64
}
type CliReauthHandoff ¶
type CliReauthHandoff struct {
ID string
StateVerifier []byte
CodeVerifier []byte
SessionID string
PrincipalID string
Purpose string
Operation string
EnvironmentSet string
KeySet string
PkceChallenge string
RedirectUri string
ApprovedWindows string
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
}
type ConfirmTOTPParams ¶
type ConsumeCLILoginParams ¶
type ConsumeCLILoginParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeCLIReauthHandoffParams ¶
type ConsumeCLIReauthHandoffParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeCredentialAuthorityParams ¶
type ConsumeCredentialAuthorityParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeLoginChallengeParams ¶
type ConsumeLoginChallengeParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeOAuth2TransactionParams ¶
type ConsumeOAuth2TransactionParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeOIDCTransactionParams ¶
type ConsumeOIDCTransactionParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeOutstandingAuthoritiesForAccountParams ¶
type ConsumeOutstandingAuthoritiesForAccountParams struct {
ConsumedAt sql.NullString
AccountID string
}
type ConsumeRemotePairingExchangeParams ¶
type ConsumeRemotePairingExchangeParams struct {
Now sql.NullString
ID string
Epoch int64
}
type ConsumeRemotePairingInviteParams ¶
type ConsumeRemotePairingInviteParams struct {
Now sql.NullString
ID string
Epoch int64
}
type ConsumeSAMLTransactionParams ¶
type ConsumeSAMLTransactionParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeSingleDecisionWindowParams ¶
type ConsumeSingleDecisionWindowParams struct {
ConsumedAt sql.NullString
ID string
}
type ConsumeWebAuthnCeremonyParams ¶
type ConsumeWebAuthnCeremonyParams struct {
ConsumedAt sql.NullString
CredentialID sql.NullString
ID string
}
type ConsumeWorkspaceHandoffParams ¶
type ConsumeWorkspaceHandoffParams struct {
ConsumedAt sql.NullString
ID string
}
type CoordinationAccountFailureStateRow ¶
type CoordinationAccountFailureStateRow struct {
Failures int64
UntilAt sql.NullString
}
type CoordinationPruneAccountBackoffParams ¶
type CoordinationPruneAccountBackoffParams struct {
Bucket string
Cutoff sql.NullString
}
type CoordinationRecordAccountFailureParams ¶
type CoordinationRecordAccountFailureParams struct {
Bucket string
Subject string
WindowStart string
Now sql.NullString
}
type CountEnvironmentsParams ¶
type CountKeyGroupsParams ¶
type CountKeysParams ¶
type CountLiveMachineCredentialsInProjectParams ¶
type CountLiveMachineCredentialsInProjectParams struct {
OrgID string
ProjectID string
CredentialEpoch int64
ExpiresAt sql.NullString
}
type CountLiveMachineCredentialsParams ¶
type CountLiveMachineCredentialsParams struct {
ServiceAccountID string
CredentialEpoch int64
ExpiresAt sql.NullString
}
type CountOpenPlansParams ¶
type CountSCIMGroupsParams ¶
type CountSCIMUsersParams ¶
type CreateEnvironmentParams ¶
type CreateFolderParams ¶
type CreateKeyGroupParams ¶
type CreateKeyParams ¶
type CreateOrgParams ¶
type CreatePlanParams ¶
type CreateProjectParams ¶
type CreateRemoteParams ¶
type CreateSCIMBindingParams ¶
type CreateSCIMBindingParams struct {
ID string
OrgID string
ProviderKind string
ProviderID string
ProviderSlug string
ProviderIssuer string
SubjectSource string
NameidFormat string
NameidQualifier string
NameidQualifierPresent int64
NameidSpQualifier string
NameidSpQualifierPresent int64
ConnectionPrincipalID string
CreatedAt string
}
type CreateSCIMGroupParams ¶
type CreateSCIMMappingParams ¶
type CreateSCIMUserParams ¶
type CredentialAuthority ¶
type CredentialPolicy ¶
type CredentialPolicy struct {
ID int64
MaxFiniteLifetimeSeconds int64
AllowIndefinite int64
MaxLiveCredentials int64
UpdatedAt sql.NullString
UpdatedBy sql.NullString
}
type DefinitionsPlan ¶
type DefinitionsPlan struct {
ID string
OrgID string
ProjectID string
CreatedBy string
CreatedAt string
ExpiresAt string
Bundle string
Digest string
BaseSchemaRevision int64
EnvRevisions string
ProtectedEnvs string
Diff string
Additive int64
Applied int64
AppliedAt sql.NullString
AppliedBy sql.NullString
ProvenanceCommit sql.NullString
ProvenanceRef sql.NullString
ProvenanceActor sql.NullString
ScanSnapshot string
}
type DeleteEnvironmentParams ¶
type DeleteFileTargetParams ¶
type DeleteFolderParams ¶
type DeleteGrantOriginParams ¶
type DeleteKeyGroupParams ¶
type DeleteKeyParams ¶
type DeleteKeyPresenceParams ¶
type DeleteProjectParams ¶
type DeleteRevisionPinParams ¶
type DeleteRuleItemParams ¶
type DeleteRuleRowParams ¶
type DeleteSCIMBindingParams ¶
type DeleteSCIMGroupParams ¶
type DeleteSCIMMappingParams ¶
type DeleteSCIMUserParams ¶
type DeleteValueEntryParams ¶
type DeliveryTargetReport ¶
type DeliveryTargetReport struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
PrincipalID string
ClusterID string
InstanceUid string
TargetUid string
Namespace string
Name string
Vocabulary int64
Generation int64
ObservedGeneration int64
ReportedAt string
ReceivedAt string
ReportIntervalSeconds int64
Lifecycle string
Conditions string
Reporter string
ReporterVersion string
RefusalCause sql.NullString
RefusedAt sql.NullString
CreatedAt string
}
type DeveloperCredential ¶
type DeveloperCredential struct {
ID string
PrincipalID string
AuthorityPrincipalID string
OrgID string
ProjectID string
EnvID string
Verifier []byte
PrefixHint string
ParentSessionID string
ProviderID string
Oauth2ProviderID string
SamlProviderID string
AuthMethod string
AuthorityGeneration int64
CredentialEpoch int64
CreatedAt string
ExpiresAt string
RevokedAt sql.NullString
}
type DisableWebAuthnCredentialParams ¶
type DisableWebAuthnCredentialParams struct {
DisabledAt sql.NullString
ID string
RowVersion int64
}
type DynamicEffect ¶
type DynamicEffect struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
LeaseID string
Kind string
IntentAuditID string
OutcomeAuditID sql.NullString
Outcome sql.NullString
CreatedAt string
FinishedAt sql.NullString
}
type DynamicFinishMintParams ¶
type DynamicGetLeaseParams ¶
type DynamicGetLeaseRow ¶
type DynamicGetProviderRow ¶
type DynamicLease ¶
type DynamicLease struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
ProviderID string
PrincipalID string
PrincipalClass string
ProviderHandle string
State string
IssuedAt sql.NullString
ExpiresAt sql.NullString
MaxTtlSeconds int64
LastTransitionAt string
LeaseOwner sql.NullString
LeaseExpiresAt sql.NullString
LeaseClaimToken int64
AttemptCount int64
NextAttemptAt string
CreatedAt string
}
type DynamicListProvidersRow ¶
type DynamicProvider ¶
type Environment ¶
type EnvironmentChainByIDRow ¶
type ExternalIdentity ¶
type FederatedBindingByIdentityParams ¶
type FederatedBindingByIdentityParams struct {
IssuerID sql.NullString
Subject sql.NullString
}
type FederatedBindingByIdentityRow ¶
type FederatedBindingByIdentityRow struct {
ID string
ServiceAccountID string
Kind string
PrefixHint sql.NullString
Lifetime string
ExpiresAt sql.NullString
CredentialEpoch int64
CreatedAt string
CreatedBy string
RevokedAt sql.NullString
LastUsedAt sql.NullString
IssuerID sql.NullString
Subject sql.NullString
Audience sql.NullString
RequiredClaims sql.NullString
ReactivatedAt sql.NullString
}
type FederationIssuer ¶
type FederationIssuer struct {
ID string
Issuer string
IssuerType string
JwksMode string
StaticJwks sql.NullString
RefusedAudiences string
CreatedAt string
CreatedBy string
UpdatedAt sql.NullString
UpdatedBy sql.NullString
CaBundlePem string
}
type FileTarget ¶
type FileTarget struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
Name string
ServiceAccountID string
PrincipalID string
Generation int64
AuthorityPrincipalID string
CreatedAt string
UpdatedAt string
ReportState sql.NullString
ReportRevision sql.NullInt64
ReportStamp sql.NullString
ReportGeneration sql.NullInt64
ReportedAt sql.NullString
ReceivedAt sql.NullString
}
type FileTargetKey ¶
type GetAccessPolicyParams ¶
type GetAccessRequestParams ¶
type GetAccessVoteParams ¶
type GetAccountByEmailRow ¶
type GetAccountByIDRow ¶
type GetAccountByUsernameRow ¶
type GetAccountProfileRow ¶
type GetAccountProfileRow struct {
Username string
DisplayName string
Email sql.NullString
EmailVerifiedAt sql.NullString
Managed bool
HasPassword bool
HasTotp bool
}
type GetActiveTier3KeyParams ¶
type GetApprovalPolicyParams ¶
type GetApprovalVoteParams ¶
type GetBackupStateRow ¶
type GetBackupStateRow struct {
LastSuccessAt sql.NullString
LastArtifactName string
LastArtifactBytes int64
LastArtifactSha256 string
LastFailureAt sql.NullString
LastFailureReason string
LastPruneAt sql.NullString
LastPruneAttemptAt sql.NullString
LastPruneAttemptID string
PruneFailureReason string
RetainedExpiredArchives int64
LastDrillAt sql.NullString
LastDrillOk int64
LastDrillArchive string
LastDrillElapsedMs int64
LastDrillBinaryVersion string
LastDrillSchemaVersion int64
}
type GetCredentialPolicyRow ¶
type GetCredentialPolicyRow struct {
MaxFiniteLifetimeSeconds int64
AllowIndefinite int64
MaxLiveCredentials int64
UpdatedAt sql.NullString
UpdatedBy sql.NullString
}
type GetEnvironmentParams ¶
type GetEnvironmentRow ¶
type GetFileTargetForPrincipalRow ¶
type GetFileTargetForPrincipalRow struct {
ID string
EnvironmentID string
Name string
ServiceAccountID string
PrincipalID string
Generation int64
AuthorityPrincipalID string
CreatedAt string
UpdatedAt string
ReportState sql.NullString
ReportRevision sql.NullInt64
ReportStamp sql.NullString
ReportGeneration sql.NullInt64
ReportedAt sql.NullString
ReceivedAt sql.NullString
}
type GetFileTargetParams ¶
type GetFileTargetRow ¶
type GetFileTargetRow struct {
ID string
EnvironmentID string
Name string
ServiceAccountID string
PrincipalID string
Generation int64
AuthorityPrincipalID string
CreatedAt string
UpdatedAt string
ReportState sql.NullString
ReportRevision sql.NullInt64
ReportStamp sql.NullString
ReportGeneration sql.NullInt64
ReportedAt sql.NullString
ReceivedAt sql.NullString
}
type GetFolderParams ¶
type GetInstanceConnectionRow ¶
type GetInstanceConnectionRow struct {
ID string
PrincipalID string
Label string
Kind string
PrefixHint string
Lifetime string
ExpiresAt sql.NullString
CredentialEpoch int64
CreatedAt string
CreatedBy string
RevokedAt sql.NullString
LastUsedAt sql.NullString
}
type GetKeyGroupParams ¶
type GetKeyInProjectParams ¶
type GetKeyParams ¶
type GetLatestSnapshotParams ¶
type GetOIDCTransactionByStateRow ¶
type GetOIDCTransactionByStateRow struct {
ID string
StateVerifier []byte
Nonce []byte
PkceVerifier string
ProviderID string
Issuer string
RedirectUri string
Purpose string
BindingKind string
InitiatingSessionID sql.NullString
BrowserBindingVerifier []byte
AccountID sql.NullString
EnvironmentID sql.NullString
CeremonyID sql.NullString
Browser int64
CredentialEpoch int64
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
Intent sql.NullString
SignupScopeOrgID sql.NullString
AuthorityID sql.NullString
}
type GetOpsDiagnosticsParams ¶
type GetOpsDiagnosticsRow ¶
type GetOrgIdentityRow ¶
type GetPinGenerationParams ¶
type GetPlanParams ¶
type GetPrincipalClassRow ¶
type GetPrincipalClassRow struct {
Kind string
Class sql.NullString
}
type GetProjectCapacityRow ¶
type GetProjectParams ¶
type GetProjectRow ¶
type GetReauthWindowParams ¶
type GetRemoteByNameRow ¶
type GetRemoteRow ¶
type GetRestoreStateRow ¶
type GetRestoreStateRow struct {
CredentialEpoch int64
RestoreEpoch int64
ReactivatedAt sql.NullString
}
type GetRuleRow ¶
type GetSCIMBindingParams ¶
type GetSCIMCredentialParams ¶
type GetSCIMCredentialRow ¶
type GetSCIMCredentialRow struct {
ID string
BindingID string
PrincipalID string
CredentialEpoch int64
CreatedAt string
ExpiresAt sql.NullString
RevokedAt sql.NullString
LastUsedAt sql.NullString
}
type GetSCIMGroupParams ¶
type GetSCIMMappingParams ¶
type GetSCIMUserParams ¶
type GetServiceAccountParams ¶
type GetSessionByIDRow ¶
type GetSessionByIDRow struct {
ID string
PrincipalID string
Artifact string
SessionGeneration int64
CredentialEpoch int64
AuthMethod string
Factors string
AuthenticatedAt string
CeremonyID sql.NullString
CreatedAt string
LastSeenAt string
IdleExpiresAt string
AbsoluteExpiresAt string
CsrfVerifier []byte
RequestingOrigin sql.NullString
ProviderID sql.NullString
Oauth2ProviderID sql.NullString
SamlProviderID sql.NullString
EnrolmentRequired int64
}
type GetSessionByVerifierRow ¶
type GetSessionByVerifierRow struct {
ID string
PrincipalID string
Verifier []byte
Artifact string
SessionGeneration int64
CredentialEpoch int64
AuthMethod string
Factors string
AuthenticatedAt string
CeremonyID sql.NullString
CreatedAt string
LastSeenAt string
IdleExpiresAt string
AbsoluteExpiresAt string
CsrfVerifier []byte
RequestingOrigin sql.NullString
ProviderID sql.NullString
Oauth2ProviderID sql.NullString
SamlProviderID sql.NullString
EnrolmentRequired int64
}
type GetTier3VersionsParams ¶
type GetValueEntryParams ¶
type Grant ¶
type Grant struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
CreatedAt string
}
type GrantAccessRequestParams ¶
type GrantAccessRequestParams struct {
GrantedAt sql.NullString
ExpiresAt sql.NullString
OrgID string
ProjectID string
EnvironmentID string
ID string
State string
}
type GrantOrigin ¶
type InsertAccessGrantParams ¶
type InsertAccessRequestParams ¶
type InsertAccessRequestParams struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
PolicyID string
PolicyVersion int64
RequesterPrincipalID string
Capabilities string
DurationSeconds int64
Reason string
Bypassed int64
State string
ResolvedBy string
CreatedAt string
ReviewExpiresAt string
GrantedAt sql.NullString
ExpiresAt sql.NullString
}
type InsertAccessVoteParams ¶
type InsertAccountParams ¶
type InsertApprovalRequestParams ¶
type InsertApprovalRequestParams struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
PolicyID string
PolicyVersion int64
RequesterPrincipalID string
VersionIds string
ClosedVersionIds string
KeyIds string
PreviewTokenDigest string
BaseRevision int64
Purpose string
State string
CreatedAt string
ExpiresAt string
}
type InsertCLILoginParams ¶
type InsertDeliveryTargetReportParams ¶
type InsertDeliveryTargetReportParams struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
PrincipalID string
ClusterID string
InstanceUid string
TargetUid string
Namespace string
Name string
Vocabulary int64
Generation int64
ObservedGeneration int64
ReportedAt string
ReceivedAt string
ReportIntervalSeconds int64
Lifecycle string
Conditions string
Reporter string
ReporterVersion string
CreatedAt string
}
type InsertDeveloperCredentialParams ¶
type InsertDeveloperCredentialParams struct {
ID string
PrincipalID string
AuthorityPrincipalID string
OrgID string
ProjectID string
EnvID string
Verifier []byte
PrefixHint string
ParentSessionID string
ProviderID string
Oauth2ProviderID string
SamlProviderID string
AuthMethod string
AuthorityGeneration int64
CredentialEpoch int64
CreatedAt string
ExpiresAt string
RevokedAt sql.NullString
}
type InsertFileTargetParams ¶
type InsertGrantOriginParams ¶
type InsertGrantParams ¶
type InsertGrantParams struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
CreatedAt string
}
type InsertInstanceAuditEventParams ¶
type InsertInstanceAuditEventParams struct {
ID string
Type string
SchemaVersion int64
OccurredAt string
OccurredAsserted int64
RecordedAt string
ActorID sql.NullString
ActorClass string
ActorCredentialID sql.NullString
AuthorityID sql.NullString
ObjectType sql.NullString
ObjectID sql.NullString
Outcome string
CorrelationID sql.NullString
SourceIp sql.NullString
UserAgent sql.NullString
Origin string
Payload string
}
type InsertKeyPresenceParams ¶
type InsertMachineCredentialParams ¶
type InsertMachineCredentialParams struct {
ID string
ServiceAccountID string
Kind string
Verifier []byte
PrefixHint sql.NullString
Lifetime string
ExpiresAt sql.NullString
CredentialEpoch int64
CreatedAt string
CreatedBy string
IssuerID sql.NullString
Subject sql.NullString
Audience sql.NullString
RequiredClaims sql.NullString
}
type InsertMachinePrincipalParams ¶
type InsertMachinePrincipalParams struct {
ID string
Class sql.NullString
CreatedAt string
}
type InsertMasterKeyParams ¶
type InsertOAuth2TransactionParams ¶
type InsertOAuth2TransactionParams struct {
ID string
StateVerifier []byte
PkceVerifier string
ProviderID string
Issuer string
RedirectUri string
Purpose string
Intent sql.NullString
SignupScopeOrgID sql.NullString
BindingKind string
InitiatingSessionID sql.NullString
BrowserBindingVerifier []byte
AccountID sql.NullString
AuthorityID sql.NullString
CeremonyID sql.NullString
Browser int64
CredentialEpoch int64
CreatedAt string
ExpiresAt string
}
type InsertOIDCTransactionParams ¶
type InsertOIDCTransactionParams struct {
ID string
StateVerifier []byte
Nonce []byte
PkceVerifier string
ProviderID string
Issuer string
RedirectUri string
Purpose string
BindingKind string
InitiatingSessionID sql.NullString
BrowserBindingVerifier []byte
AccountID sql.NullString
EnvironmentID sql.NullString
CeremonyID sql.NullString
Browser int64
CredentialEpoch int64
CreatedAt string
ExpiresAt string
Intent sql.NullString
SignupScopeOrgID sql.NullString
AuthorityID sql.NullString
}
type InsertPrincipalParams ¶
type InsertReauthWindowParams ¶
type InsertReauthWindowParams struct {
ID string
SessionID string
EnvironmentID string
CeremonyID string
FactorClass string
SingleDecision int64
AuthenticatedAt string
WindowExpiresAt string
HardExpiresAt string
CredentialEpoch int64
CreatedAt string
BoundOperation string
BoundKeySet string
BoundPurpose string
BoundEnvironmentSet string
}
type InsertRegistrationPolicyParams ¶
type InsertRegistrationPolicyParams struct {
ID string
OrgID sql.NullString
AuthorityPrincipalID sql.NullString
Landing string
Template sql.NullString
LocalEnabled int64
FreshOrgCap sql.NullInt64
CreatedAt string
UpdatedAt string
}
type InsertRevisionPinParams ¶
type InsertRuleItemParams ¶
type InsertRuleItemParams struct {
ID string
RuleID string
OrgID string
Axis string
ProjectID string
EnvID sql.NullString
KeyID sql.NullString
FolderPath sql.NullString
}
type InsertRuleParams ¶
type InsertSAMLProviderParams ¶
type InsertSAMLProviderParams struct {
ID string
Slug string
DisplayName string
EntityID string
AcsUrl string
SsoRedirectUrl string
SigningCertificates []byte
AssurancePolicy sql.NullString
AllowEmailNameid int64
ForceSignRequests int64
MetadataWantAuthnRequestsSigned int64
MetadataSource string
MetadataUrl sql.NullString
MetadataSigned int64
MetadataSigningFingerprint sql.NullString
MetadataValidUntil sql.NullString
Enabled int64
CreatedAt string
UpdatedAt string
}
type InsertSAMLReplayParams ¶
type InsertSAMLSPKeyParams ¶
type InsertSAMLTransactionParams ¶
type InsertSAMLTransactionParams struct {
ID string
RequestID string
RelayStateVerifier []byte
InitiatorVerifier []byte
ProviderID string
EntityID string
AcsUrl string
Purpose string
InitiatingSessionID sql.NullString
AccountID sql.NullString
EnvironmentID sql.NullString
CeremonyID sql.NullString
CredentialEpoch int64
CreatedAt string
ExpiresAt string
}
type InsertSessionParams ¶
type InsertSessionParams struct {
ID string
PrincipalID string
Verifier []byte
Artifact string
SessionGeneration int64
CredentialEpoch int64
AuthMethod string
Factors string
AuthenticatedAt string
CeremonyID sql.NullString
CreatedAt string
LastSeenAt string
IdleExpiresAt string
AbsoluteExpiresAt string
SourceIp string
UserAgent string
ProviderID sql.NullString
CsrfVerifier []byte
RequestingOrigin sql.NullString
HandoffID sql.NullString
EnrolmentRequired int64
CliHandoffID sql.NullString
}
type InsertSnapshotParams ¶
type InsertTOTPParams ¶
type InsertTenantAuditEventParams ¶
type InsertTenantAuditEventParams struct {
ID string
Type string
SchemaVersion int64
OccurredAt string
OccurredAsserted int64
RecordedAt string
ActorID sql.NullString
ActorClass string
ActorCredentialID sql.NullString
AuthorityID sql.NullString
ScopeClass string
OrgID string
ProjectID sql.NullString
EnvID sql.NullString
ObjectType sql.NullString
ObjectID sql.NullString
Outcome string
CorrelationID sql.NullString
SourceIp sql.NullString
UserAgent sql.NullString
Origin string
Payload string
}
type InsertTier3KeyParams ¶
type InsertValueEntryParams ¶
type InsertWebAuthnCeremonyParams ¶
type InsertWebAuthnCeremonyParams struct {
ID string
ChallengeVerifier []byte
SessionData []byte
AccountID sql.NullString
SessionID sql.NullString
Purpose string
OperationBinding sql.NullString
EnvironmentID sql.NullString
CredentialEpoch int64
ExpiresAt string
CreatedAt string
}
type InsertWorkspaceHandoffParams ¶
type InsertWorkspaceHandoffParams struct {
ID string
StateVerifier []byte
Origin string
RedirectUri string
PkceChallenge string
Purpose string
SessionID sql.NullString
Operation sql.NullString
EnvID sql.NullString
KeySet sql.NullString
CreatedAt string
ExpiresAt string
}
type InstanceConnection ¶
type InstanceIdentity ¶
type KeyGeneration ¶
type KeyPresenceEnvironment ¶
type LastDeliveryFetchAtParams ¶
type LastDeliveryFetchAtParams struct {
OrgID string
ProjectID sql.NullString
EnvID sql.NullString
ActorID sql.NullString
Type string
}
type LastDeliveryFetchAtRow ¶
type LastDeliveryFetchAtRow struct {
ActorID sql.NullString
OccurredAt string
}
type ListAccessVotesParams ¶
type ListAllProjectsRow ¶
type ListApprovalVotesParams ¶
type ListCredentialsBeyondCeilingRow ¶
type ListCredentialsBeyondCeilingRow struct {
ID string
ServiceAccountID string
ExpiresAt sql.NullString
}
type ListEligibleSnapshotPayloadsParams ¶
type ListEligibleSnapshotPayloadsParams struct {
Now interface{}
BatchLimit int64
}
type ListEnvironmentsParams ¶
type ListEnvironmentsRow ¶
type ListExpiredRegistrationSignupsRow ¶
type ListExpiredRegistrationSignupsRow struct {
ID string
PolicyID string
SignupScopeOrgID sql.NullString
}
type ListFileTargetsParams ¶
type ListFileTargetsRow ¶
type ListFileTargetsRow struct {
ID string
EnvironmentID string
Name string
ServiceAccountID string
PrincipalID string
Generation int64
AuthorityPrincipalID string
CreatedAt string
UpdatedAt string
ReportState sql.NullString
ReportRevision sql.NullInt64
ReportStamp sql.NullString
ReportGeneration sql.NullInt64
ReportedAt sql.NullString
ReceivedAt sql.NullString
}
type ListFoldersParams ¶
type ListGrantOriginsForPrincipalRow ¶
type ListGrantOriginsForPrincipalRow struct {
ID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
Kind string
Subject string
}
type ListGrantRowsForPrincipalRow ¶
type ListGrantRowsForPrincipalRow struct {
ID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
}
type ListGrantsForPrincipalRow ¶
type ListGrantsForPrincipalRow struct {
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
SelfConfigOrgID string
}
type ListGrantsForResetTargetRow ¶
type ListGrantsForResetTargetRow struct {
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
}
type ListGrantsWithOriginsAtInstanceRow ¶
type ListGrantsWithOriginsAtInstanceRow struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
CreatedAt string
Kind string
Subject string
}
type ListGrantsWithOriginsForOrgRow ¶
type ListGrantsWithOriginsForOrgRow struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
CreatedAt string
Kind string
Subject string
}
type ListGrantsWithOriginsForProjectParams ¶
type ListGrantsWithOriginsForProjectParams struct {
OrgID sql.NullString
ProjectID sql.NullString
}
type ListGrantsWithOriginsForProjectRow ¶
type ListGrantsWithOriginsForProjectRow struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
CreatedAt string
Kind string
Subject string
}
type ListInstanceConnectionsRow ¶
type ListInstanceConnectionsRow struct {
ID string
PrincipalID string
Label string
Kind string
PrefixHint string
Lifetime string
ExpiresAt sql.NullString
CredentialEpoch int64
CreatedAt string
CreatedBy string
RevokedAt sql.NullString
LastUsedAt sql.NullString
}
type ListKeyGroupsParams ¶
type ListKeyPresenceParams ¶
type ListKeysPageParams ¶
type ListKeysParams ¶
type ListLockoutRetentionOriginsInOrgRow ¶
type ListLockoutRetentionOriginsInOrgRow struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
Subject string
}
type ListLockoutRetentionOriginsRow ¶
type ListLockoutRetentionOriginsRow struct {
ID string
PrincipalID string
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
Subject string
}
type ListMachineCredentialsRow ¶
type ListMachineCredentialsRow struct {
ID string
ServiceAccountID string
Kind string
PrefixHint sql.NullString
Lifetime string
ExpiresAt sql.NullString
CredentialEpoch int64
CreatedAt string
CreatedBy string
RevokedAt sql.NullString
LastUsedAt sql.NullString
IssuerID sql.NullString
Subject sql.NullString
Audience sql.NullString
RequiredClaims sql.NullString
ReactivatedAt sql.NullString
}
type ListPendingMarkersRow ¶
type ListProjectsRow ¶
type ListRegistrationSignupsForPolicyRow ¶
type ListRegistrationSignupsForPolicyRow struct {
ID string
SignupScopeOrgID sql.NullString
}
type ListRemotesRow ¶
type ListRevisionPinsParams ¶
type ListRuleIDsForEnvironmentParams ¶
type ListRuleIDsForEnvironmentParams struct {
OrgID string
ProjectID string
EnvID sql.NullString
}
type ListRuleIDsForKeyParams ¶
type ListRuleIDsForKeyParams struct {
OrgID string
ProjectID string
KeyID sql.NullString
}
type ListRuleLinesInOrgRow ¶
type ListRulesForProjectRow ¶
type ListSCIMAttentionParams ¶
type ListSCIMCredentialsRow ¶
type ListSCIMCredentialsRow struct {
ID string
BindingID string
PrincipalID string
CredentialEpoch int64
CreatedAt string
ExpiresAt sql.NullString
RevokedAt sql.NullString
LastUsedAt sql.NullString
}
type ListSCIMGroupsParams ¶
type ListSCIMMappingsParams ¶
type ListSCIMUsersParams ¶
type ListSessionsForPrincipalRow ¶
type ListSessionsForPrincipalRow struct {
ID string
Artifact string
AuthMethod string
Factors string
AuthenticatedAt string
CreatedAt string
LastSeenAt string
IdleExpiresAt string
AbsoluteExpiresAt string
SourceIp string
UserAgent string
RequestingOrigin sql.NullString
HandoffID sql.NullString
CliHandoffID sql.NullString
}
type ListSnapshotsPageParams ¶
type ListSnapshotsPageRow ¶
type ListSnapshotsParams ¶
type ListSnapshotsRow ¶
type ListValueEntriesParams ¶
type LockProjectParams ¶
type LockSCIMBindingParams ¶
type LoginChallenge ¶
type MachineCredential ¶
type MachineCredential struct {
ID string
ServiceAccountID string
Kind string
Verifier []byte
PrefixHint sql.NullString
Lifetime string
ExpiresAt sql.NullString
CredentialEpoch int64
CreatedAt string
CreatedBy string
RevokedAt sql.NullString
LastUsedAt sql.NullString
IssuerID sql.NullString
Subject sql.NullString
Audience sql.NullString
RequiredClaims sql.NullString
ReactivatedAt sql.NullString
}
type MarkAccessRequestExpiredParams ¶
type MarkAccessRequestExpiredParams struct {
ResolvedAt sql.NullString
ID string
FromState string
}
type MarkApprovalRequestExpiredParams ¶
type MarkApprovalRequestExpiredParams struct {
ResolvedAt sql.NullString
ID string
}
type MarkPlanAppliedParams ¶
type MarkPlanAppliedParams struct {
AppliedAt sql.NullString
AppliedBy sql.NullString
ProvenanceCommit sql.NullString
ProvenanceRef sql.NullString
ProvenanceActor sql.NullString
OrgID string
ProjectID string
ID string
Applied int64
}
type MarkSnapshotCollectedParams ¶
type MarkSnapshotCollectedParams struct {
CollectedAt sql.NullString
CollectedPolicy string
ID string
Now interface{}
}
type MaxTenantAuditEnvParams ¶
type MaxTenantAuditEnvParams struct {
OrgID string
ProjectID sql.NullString
EnvID sql.NullString
}
type MaxTenantAuditProjectParams ¶
type MaxTenantAuditProjectParams struct {
OrgID string
ProjectID sql.NullString
}
type McpInflight ¶
type McpRateBucket ¶
type Oauth2Provider ¶
type Oauth2Transaction ¶
type Oauth2Transaction struct {
ID string
StateVerifier []byte
PkceVerifier string
ProviderID string
Issuer string
RedirectUri string
Purpose string
Intent sql.NullString
SignupScopeOrgID sql.NullString
BindingKind string
InitiatingSessionID sql.NullString
BrowserBindingVerifier []byte
AccountID sql.NullString
AuthorityID sql.NullString
CeremonyID sql.NullString
Browser int64
CredentialEpoch int64
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
}
type OfflineRecord ¶
type OidcProvider ¶
type OidcTransaction ¶
type OidcTransaction struct {
ID string
StateVerifier []byte
Nonce []byte
PkceVerifier string
ProviderID string
Issuer string
RedirectUri string
Purpose string
BindingKind string
InitiatingSessionID sql.NullString
BrowserBindingVerifier []byte
AccountID sql.NullString
EnvironmentID sql.NullString
CeremonyID sql.NullString
CredentialEpoch int64
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
Browser int64
Intent sql.NullString
SignupScopeOrgID sql.NullString
AuthorityID sql.NullString
}
type OpsDiagnostic ¶
type OpsDiagnostic struct {
Singleton int64
EscrowVerifiedAt sql.NullString
EscrowInstanceID string
EscrowIncarnation string
EscrowRootEpoch int64
LastReencryptSuccess sql.NullString
}
type PKIActiveIssuerRow ¶
type PKIActiveIssuerRow struct {
ID string
Name string
Version int64
Kind string
Origin string
ParentID string
State string
KeyAlgorithm string
KeyFingerprint string
KeyPresent int64
CertificateDer []byte
CsrDer []byte
ChainPem string
SubjectCn string
SubjectOrg string
NotBefore sql.NullString
NotAfter sql.NullString
CrlDistributionUrl string
RestoreHold int64
IssuedCount int64
CrlDer []byte
CrlNumber int64
RevocationSeq int64
CrlThisUpdate sql.NullString
CrlNextUpdate sql.NullString
RowVersion int64
CreatedBy string
CreatedAt string
UpdatedAt string
}
type PKIBoundProfileParams ¶
type PKIBoundProfileParams struct {
Name string
ChainOrg string
ChainProject string
ChainEnv sql.NullString
}
type PKIBoundProfilesParams ¶
type PKIBoundProfilesParams struct {
ChainOrg string
ChainProject string
ChainEnv sql.NullString
}
type PKIClaimRenewalParams ¶
type PKICreateBindingParams ¶
type PKICreateCertificateParams ¶
type PKICreateCertificateParams struct {
ID string
ChainOrg string
ChainProject string
ChainEnv string
ProfileID string
ProfileName string
IssuerID string
Serial string
KeySource string
KeyAlgorithm string
KeyFingerprint string
CommonName string
Sans string
NotBefore string
NotAfter string
PrincipalID string
PrincipalClass string
RenewedFrom sql.NullString
IssuingDeadline string
At string
}
type PKICreateIssuerParams ¶
type PKICreateIssuerParams struct {
ID string
Name string
Version int64
Kind string
Origin string
ParentID sql.NullString
State string
KeyAlgorithm string
KeyFingerprint string
EncryptedPrivateKey []byte
DekVersion sql.NullInt64
CertificateDer []byte
CsrDer []byte
ChainPem string
SubjectCn string
SubjectOrg string
NotBefore sql.NullString
NotAfter sql.NullString
CrlDistributionUrl string
CreatedBy string
At string
}
type PKICreateProfileParams ¶
type PKIDeleteBindingParams ¶
type PKIGetCertificateParams ¶
type PKIGetCertificateRow ¶
type PKIGetCertificateRow struct {
ID string
EnvironmentID string
ProfileID string
ProfileName string
IssuerID string
Serial string
State string
KeySource string
KeyAlgorithm string
KeyFingerprint string
CommonName string
Sans string
NotBefore string
NotAfter string
CertificateDer []byte
PrincipalID string
PrincipalClass string
RenewedFrom string
RenewedBy string
RevokedAt sql.NullString
RevocationReason string
IssuingDeadline string
RowVersion int64
CreatedAt string
UpdatedAt string
}
type PKIGetIssuerRow ¶
type PKIGetIssuerRow struct {
ID string
Name string
Version int64
Kind string
Origin string
ParentID string
State string
KeyAlgorithm string
KeyFingerprint string
KeyPresent int64
CertificateDer []byte
CsrDer []byte
ChainPem string
SubjectCn string
SubjectOrg string
NotBefore sql.NullString
NotAfter sql.NullString
CrlDistributionUrl string
RestoreHold int64
IssuedCount int64
CrlDer []byte
CrlNumber int64
RevocationSeq int64
CrlThisUpdate sql.NullString
CrlNextUpdate sql.NullString
RowVersion int64
CreatedBy string
CreatedAt string
UpdatedAt string
}
type PKIInstallIssuerParams ¶
type PKIInstallIssuerParams struct {
CertificateDer []byte
ChainPem string
NotBefore sql.NullString
NotAfter sql.NullString
At string
ID string
RowVersion int64
}
type PKIIssuerKeyRow ¶
type PKIListBindingsRow ¶
type PKIListCertificatesRow ¶
type PKIListCertificatesRow struct {
ID string
EnvironmentID string
ProfileID string
ProfileName string
IssuerID string
Serial string
State string
KeySource string
KeyAlgorithm string
KeyFingerprint string
CommonName string
Sans string
NotBefore string
NotAfter string
CertificateDer []byte
PrincipalID string
PrincipalClass string
RenewedFrom string
RenewedBy string
RevokedAt sql.NullString
RevocationReason string
IssuingDeadline string
RowVersion int64
CreatedAt string
UpdatedAt string
}
type PKIListIssuersRow ¶
type PKIListIssuersRow struct {
ID string
Name string
Version int64
Kind string
Origin string
ParentID string
State string
KeyAlgorithm string
KeyFingerprint string
KeyPresent int64
CertificateDer []byte
CsrDer []byte
ChainPem string
SubjectCn string
SubjectOrg string
NotBefore sql.NullString
NotAfter sql.NullString
CrlDistributionUrl string
RestoreHold int64
IssuedCount int64
CrlDer []byte
CrlNumber int64
RevocationSeq int64
CrlThisUpdate sql.NullString
CrlNextUpdate sql.NullString
RowVersion int64
CreatedBy string
CreatedAt string
UpdatedAt string
}
type PKIPublishCRLParams ¶
type PKIPublishCRLParams struct {
Der []byte
Number int64
RevocationSeq int64
ThisUpdate sql.NullString
NextUpdate sql.NullString
ID string
PreviousNumber int64
}
type PKIReleaseRenewalParams ¶
type PKIRevokeCertificateParams ¶
type PKIRevokeCertificateParams struct {
At sql.NullString
Reason sql.NullString
ID string
ChainOrg string
ChainProject string
ChainEnv string
}
type PKIRevokeLiveCertificatesParams ¶
type PKIRevokeLiveCertificatesParams struct {
At sql.NullString
Reason sql.NullString
IssuerID string
}
type PKIRevokedChildrenParams ¶
type PKIRevokedChildrenParams struct {
IssuerID sql.NullString
Now sql.NullString
}
type PKIRevokedChildrenRow ¶
type PKIRevokedEntriesParams ¶
type PKIRevokedEntriesRow ¶
type PKISetIssuerHoldParams ¶
type PKISigningIssuerRow ¶
type PKISigningIssuerRow struct {
ID string
Name string
Version int64
Kind string
Origin string
ParentID string
State string
KeyAlgorithm string
KeyFingerprint string
KeyPresent int64
CertificateDer []byte
CsrDer []byte
ChainPem string
SubjectCn string
SubjectOrg string
NotBefore sql.NullString
NotAfter sql.NullString
CrlDistributionUrl string
RestoreHold int64
IssuedCount int64
CrlDer []byte
CrlNumber int64
RevocationSeq int64
CrlThisUpdate sql.NullString
CrlNextUpdate sql.NullString
RowVersion int64
CreatedBy string
CreatedAt string
UpdatedAt string
}
type PKIUpdateProfileParams ¶
type PageInstanceAuditParams ¶
type PageSCIMGroupsParams ¶
type PageSCIMUsersParams ¶
type PageTenantAuditEnvParams ¶
type PageTenantAuditEnvParams struct {
OrgID string
ProjectID sql.NullString
EnvID sql.NullString
Seq int64
RecordedAt string
RecordedAt_2 string
Limit int64
}
type PageTenantAuditExportEnvParams ¶
type PageTenantAuditExportEnvParams struct {
ChainOrgID string
ChainProjectID sql.NullString
ChainEnvID sql.NullString
AfterSeq int64
AfterCommitSeq int64
FromTime string
ToTime string
PageLimit int64
}
type PasswordCredential ¶
type PendingChange ¶
type PinGeneration ¶
type PkiCertificate ¶
type PkiCertificate struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
ProfileID string
ProfileName string
IssuerID string
Serial string
State string
KeySource string
KeyAlgorithm string
KeyFingerprint string
CommonName string
Sans string
NotBefore string
NotAfter string
CertificateDer []byte
PrincipalID string
PrincipalClass string
RenewedFrom sql.NullString
RenewedBy sql.NullString
RevokedAt sql.NullString
RevocationReason sql.NullString
IssuingDeadline string
RowVersion int64
CreatedAt string
UpdatedAt string
}
type PkiIssuer ¶
type PkiIssuer struct {
ID string
Name string
Version int64
Kind string
Origin string
ParentID sql.NullString
State string
KeyAlgorithm string
KeyFingerprint string
EncryptedPrivateKey []byte
DekVersion sql.NullInt64
CertificateDer []byte
CsrDer []byte
ChainPem string
SubjectCn string
SubjectOrg string
NotBefore sql.NullString
NotAfter sql.NullString
CrlDistributionUrl string
RestoreHold int64
IssuedCount int64
CrlDer []byte
CrlNumber int64
RevocationSeq int64
CrlRevocationSeq int64
CrlThisUpdate sql.NullString
CrlNextUpdate sql.NullString
RowVersion int64
CreatedBy string
CreatedAt string
UpdatedAt string
}
type PkiProfile ¶
type PkiProfileBinding ¶
type PollCLILoginParams ¶
type PrivacyAccountRow ¶
type PrivacyAuditInstanceRow ¶
type PrivacyAuditInstanceRow struct {
ID string
Type string
OccurredAt string
Outcome string
SourceIp sql.NullString
UserAgent sql.NullString
}
type PrivacyAuditTenantRow ¶
type PrivacyAuditTenantRow struct {
ID string
Type string
OccurredAt string
Outcome string
SourceIp sql.NullString
UserAgent sql.NullString
}
type PrivacySessionsRow ¶
type PrivacySetStateParams ¶
type ProjectMachineRevealRow ¶
type ProjectSchemaRevision ¶
type PutSelfConfigNodeParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AcquireHierarchyGeneration ¶
func (*Queries) AcquireScopeGeneration ¶
AcquireScopeGeneration takes the per-scope fence a version append or a retirement runs inside. On sqlite the single write connection already serializes it; the row read keeps the call shape and proves the row exists.
func (*Queries) AdapterAdoptionConflictCount ¶
func (*Queries) AdapterAdoptionInsertJob ¶
func (*Queries) AdapterAdoptionInsertLedger ¶
func (*Queries) AdapterAdoptionMarkConflict ¶
func (*Queries) AdapterAdoptionReclaimReleasedLedger ¶
func (q *Queries) AdapterAdoptionReclaimReleasedLedger(ctx context.Context, arg AdapterAdoptionReclaimReleasedLedgerParams) (int64, error)
Verified current conflict consent may reclaim only this target's released historical name. The global held-name index still rejects foreign custody.
func (*Queries) AdapterAdoptionSupersedeJob ¶
func (*Queries) AdapterAdoptionTarget ¶
func (q *Queries) AdapterAdoptionTarget(ctx context.Context, arg AdapterAdoptionTargetParams) (AdapterAdoptionTargetRow, error)
func (*Queries) AdapterAdoptionUpdateAuthority ¶
func (*Queries) AdapterAdoptionUpdateHeldLedger ¶
func (q *Queries) AdapterAdoptionUpdateHeldLedger(ctx context.Context, arg AdapterAdoptionUpdateHeldLedgerParams) (int64, error)
Adopt only this target's existing held Vault/AWS custody; global foreign-name collisions and generic-provider owned rows remain refusal paths.
func (*Queries) AdapterAdoptionUpdateTarget ¶
func (*Queries) AdapterBeginConfigureEffect ¶
func (q *Queries) AdapterBeginConfigureEffect(ctx context.Context, arg AdapterBeginConfigureEffectParams) error
func (*Queries) AdapterConfigAWSConfiguredNames ¶
func (q *Queries) AdapterConfigAWSConfiguredNames(ctx context.Context, arg AdapterConfigAWSConfiguredNamesParams) ([]AdapterConfigAWSConfiguredNamesRow, error)
func (*Queries) AdapterConfigAWSPendingNames ¶
func (q *Queries) AdapterConfigAWSPendingNames(ctx context.Context, arg AdapterConfigAWSPendingNamesParams) ([]AdapterConfigAWSPendingNamesRow, error)
func (*Queries) AdapterConfigConfiguredNames ¶
func (q *Queries) AdapterConfigConfiguredNames(ctx context.Context, arg AdapterConfigConfiguredNamesParams) ([]AdapterConfigConfiguredNamesRow, error)
Scoped adapter route collisions and current-generation findings.
func (*Queries) AdapterConfigFindings ¶
func (q *Queries) AdapterConfigFindings(ctx context.Context, arg AdapterConfigFindingsParams) ([]AdapterConfigFindingsRow, error)
func (*Queries) AdapterConfigPendingNames ¶
func (q *Queries) AdapterConfigPendingNames(ctx context.Context, arg AdapterConfigPendingNamesParams) ([]AdapterConfigPendingNamesRow, error)
func (*Queries) AdapterConfiguration ¶
func (q *Queries) AdapterConfiguration(ctx context.Context, arg AdapterConfigurationParams) (AdapterConfigurationRow, error)
func (*Queries) AdapterConflicts ¶
func (q *Queries) AdapterConflicts(ctx context.Context, arg AdapterConflictsParams) ([]AdapterConflictsRow, error)
func (*Queries) AdapterCreate ¶
func (q *Queries) AdapterCreate(ctx context.Context, arg AdapterCreateParams) error
func (*Queries) AdapterDeleteTargetKeys ¶
func (q *Queries) AdapterDeleteTargetKeys(ctx context.Context, arg AdapterDeleteTargetKeysParams) error
func (*Queries) AdapterEnqueueTarget ¶
func (*Queries) AdapterEnvironments ¶
func (*Queries) AdapterEraseUnusedCredential ¶
func (q *Queries) AdapterEraseUnusedCredential(ctx context.Context, arg AdapterEraseUnusedCredentialParams) error
func (*Queries) AdapterFinishConfigureEffect ¶
func (*Queries) AdapterGet ¶
func (q *Queries) AdapterGet(ctx context.Context, arg AdapterGetParams) (AdapterGetRow, error)
func (*Queries) AdapterGetActiveForUpdate ¶
func (q *Queries) AdapterGetActiveForUpdate(ctx context.Context, arg AdapterGetActiveForUpdateParams) (AdapterGetActiveForUpdateRow, error)
func (*Queries) AdapterGetActiveTargetForUpdate ¶
func (q *Queries) AdapterGetActiveTargetForUpdate(ctx context.Context, arg AdapterGetActiveTargetForUpdateParams) (AdapterGetActiveTargetForUpdateRow, error)
func (*Queries) AdapterGetTarget ¶
func (q *Queries) AdapterGetTarget(ctx context.Context, arg AdapterGetTargetParams) (AdapterGetTargetRow, error)
func (*Queries) AdapterHealthCounts ¶
func (q *Queries) AdapterHealthCounts(ctx context.Context) (AdapterHealthCountsRow, error)
hikyo:reason Verified instance HealthCounts authority reads only aggregate target/outbox counts for operator gauges; no tenant rows or writes are returned. hikyo:instance-scoped
func (*Queries) AdapterInsertConflict ¶
func (*Queries) AdapterInsertScrubJob ¶
func (*Queries) AdapterInsertTarget ¶
func (q *Queries) AdapterInsertTarget(ctx context.Context, arg AdapterInsertTargetParams) error
func (*Queries) AdapterInsertTargetKey ¶
func (q *Queries) AdapterInsertTargetKey(ctx context.Context, arg AdapterInsertTargetKeyParams) error
func (*Queries) AdapterList ¶
func (q *Queries) AdapterList(ctx context.Context, arg AdapterListParams) ([]AdapterListRow, error)
func (*Queries) AdapterListForReencrypt ¶
func (q *Queries) AdapterListForReencrypt(ctx context.Context, arg AdapterListForReencryptParams) ([]AdapterListForReencryptRow, error)
func (*Queries) AdapterListMovesForReencrypt ¶
func (q *Queries) AdapterListMovesForReencrypt(ctx context.Context, arg AdapterListMovesForReencryptParams) ([]AdapterListMovesForReencryptRow, error)
func (*Queries) AdapterListTargets ¶
func (q *Queries) AdapterListTargets(ctx context.Context, arg AdapterListTargetsParams) ([]AdapterListTargetsRow, error)
func (*Queries) AdapterManualTarget ¶
func (q *Queries) AdapterManualTarget(ctx context.Context, arg AdapterManualTargetParams) (AdapterManualTargetRow, error)
func (*Queries) AdapterMapping ¶
func (q *Queries) AdapterMapping(ctx context.Context, arg AdapterMappingParams) ([]AdapterMappingRow, error)
func (*Queries) AdapterMarkTombstoned ¶
func (*Queries) AdapterMoveAWSConfiguredNames ¶
func (q *Queries) AdapterMoveAWSConfiguredNames(ctx context.Context, arg AdapterMoveAWSConfiguredNamesParams) ([]AdapterMoveAWSConfiguredNamesRow, error)
func (*Queries) AdapterMoveAWSPendingNames ¶
func (q *Queries) AdapterMoveAWSPendingNames(ctx context.Context, arg AdapterMoveAWSPendingNamesParams) ([]AdapterMoveAWSPendingNamesRow, error)
func (*Queries) AdapterMoveActivate ¶
func (*Queries) AdapterMoveActivateCanceledTarget ¶
func (*Queries) AdapterMoveBeginOriginAdapter ¶
func (q *Queries) AdapterMoveBeginOriginAdapter(ctx context.Context, arg AdapterMoveBeginOriginAdapterParams) (AdapterMoveBeginOriginAdapterRow, error)
func (*Queries) AdapterMoveBeginOriginCollisions ¶
func (*Queries) AdapterMoveBeginOriginTargets ¶
func (q *Queries) AdapterMoveBeginOriginTargets(ctx context.Context, arg AdapterMoveBeginOriginTargetsParams) ([]AdapterMoveBeginOriginTargetsRow, error)
func (*Queries) AdapterMoveBeginTarget ¶
func (q *Queries) AdapterMoveBeginTarget(ctx context.Context, arg AdapterMoveBeginTargetParams) (AdapterMoveBeginTargetRow, error)
func (*Queries) AdapterMoveCancel ¶
func (*Queries) AdapterMoveCancelTarget ¶
func (q *Queries) AdapterMoveCancelTarget(ctx context.Context, arg AdapterMoveCancelTargetParams) (AdapterMoveCancelTargetRow, error)
func (*Queries) AdapterMoveConfiguredCollision ¶
func (*Queries) AdapterMoveDeleteClaims ¶
func (*Queries) AdapterMoveDeleteKeys ¶
func (*Queries) AdapterMoveFlags ¶
func (q *Queries) AdapterMoveFlags(ctx context.Context, arg AdapterMoveFlagsParams) (AdapterMoveFlagsRow, error)
func (*Queries) AdapterMoveGet ¶
func (q *Queries) AdapterMoveGet(ctx context.Context, arg AdapterMoveGetParams) (AdapterMoveGetRow, error)
Route-move state transitions use the caller verified org/project chain.
func (*Queries) AdapterMoveGetLocked ¶
func (q *Queries) AdapterMoveGetLocked(ctx context.Context, arg AdapterMoveGetLockedParams) (AdapterMoveGetLockedRow, error)
func (*Queries) AdapterMoveInsertAWSClaim ¶
func (*Queries) AdapterMoveInsertActivateJob ¶
func (*Queries) AdapterMoveInsertClaim ¶
func (*Queries) AdapterMoveInsertConvergeJob ¶
func (*Queries) AdapterMoveInsertJob ¶
func (*Queries) AdapterMoveInsertKey ¶
func (*Queries) AdapterMoveInsertOrigin ¶
func (*Queries) AdapterMoveInsertTarget ¶
func (*Queries) AdapterMoveInsertTargetMove ¶
func (*Queries) AdapterMoveJobs ¶
func (q *Queries) AdapterMoveJobs(ctx context.Context, arg AdapterMoveJobsParams) ([]AdapterMoveJobsRow, error)
func (*Queries) AdapterMoveMarkAdapterMoving ¶
func (*Queries) AdapterMoveMarkMovingTarget ¶
func (*Queries) AdapterMoveMarkResumingTarget ¶
func (*Queries) AdapterMovePendingKeyIDs ¶
func (*Queries) AdapterMoveReleaseLedger ¶
func (*Queries) AdapterMoveReplaceOriginCollisions ¶
func (*Queries) AdapterMoveResetDestinations ¶
func (*Queries) AdapterMoveRestoreAdapter ¶
func (*Queries) AdapterMoveResumeTarget ¶
func (*Queries) AdapterMoveSetActiveAuthority ¶
func (*Queries) AdapterMoveSupersedeJob ¶
func (*Queries) AdapterMoveTargetKeyIDs ¶
func (*Queries) AdapterMoveTargets ¶
func (q *Queries) AdapterMoveTargets(ctx context.Context, arg AdapterMoveTargetsParams) ([]AdapterMoveTargetsRow, error)
func (*Queries) AdapterMoveUpdateAuthority ¶
func (*Queries) AdapterMoveUpdatePendingOrigin ¶
func (*Queries) AdapterMoveUpdatePendingTarget ¶
func (*Queries) AdapterOriginCurrentRoute ¶
func (q *Queries) AdapterOriginCurrentRoute(ctx context.Context, arg AdapterOriginCurrentRouteParams) (AdapterOriginCurrentRouteRow, error)
func (*Queries) AdapterOriginHeldCandidates ¶
func (q *Queries) AdapterOriginHeldCandidates(ctx context.Context, arg AdapterOriginHeldCandidatesParams) ([]AdapterOriginHeldCandidatesRow, error)
hikyo:reason Authorized adapter custody checks read only held origin metadata within the exact provider and resolved destination, repository, scope and normalized name, using the logical surface except for Vault whose secret and config surfaces share one physical tree, including the current target's historical claim. Canonical-origin comparison stays in the private store owner; paged candidates do not expose tenant identifiers or values and prevent legacy aliases from bypassing the global held-custody constraint. hikyo:instance-scoped
func (*Queries) AdapterOrphans ¶
func (q *Queries) AdapterOrphans(ctx context.Context, arg AdapterOrphansParams) ([]AdapterOrphansRow, error)
func (*Queries) AdapterPauseTarget ¶
func (q *Queries) AdapterPauseTarget(ctx context.Context, arg AdapterPauseTargetParams) (AdapterPauseTargetRow, error)
func (*Queries) AdapterPauseTargetUpdate ¶
func (*Queries) AdapterPlanCredential ¶
func (q *Queries) AdapterPlanCredential(ctx context.Context, arg AdapterPlanCredentialParams) (AdapterPlanCredentialRow, error)
func (*Queries) AdapterPlanLedger ¶
func (q *Queries) AdapterPlanLedger(ctx context.Context, arg AdapterPlanLedgerParams) ([]AdapterPlanLedgerRow, error)
func (*Queries) AdapterPlanManifest ¶
func (q *Queries) AdapterPlanManifest(ctx context.Context, arg AdapterPlanManifestParams) ([]AdapterPlanManifestRow, error)
func (*Queries) AdapterPlanTarget ¶
func (q *Queries) AdapterPlanTarget(ctx context.Context, arg AdapterPlanTargetParams) (AdapterPlanTargetRow, error)
func (*Queries) AdapterProvider ¶
func (*Queries) AdapterPublishedTargets ¶
func (q *Queries) AdapterPublishedTargets(ctx context.Context, arg AdapterPublishedTargetsParams) ([]AdapterPublishedTargetsRow, error)
func (*Queries) AdapterRecordCredentialExpiry ¶
func (*Queries) AdapterReencrypt ¶
func (*Queries) AdapterReencryptMove ¶
func (*Queries) AdapterReleaseLedger ¶
func (q *Queries) AdapterReleaseLedger(ctx context.Context, arg AdapterReleaseLedgerParams) error
func (*Queries) AdapterReplaceCredential ¶
func (*Queries) AdapterReplaceCredentialBump ¶
func (*Queries) AdapterReplaceCredentialTarget ¶
func (q *Queries) AdapterReplaceCredentialTarget(ctx context.Context, arg AdapterReplaceCredentialTargetParams) (AdapterReplaceCredentialTargetRow, error)
func (*Queries) AdapterResumeAdoptedJob ¶
func (q *Queries) AdapterResumeAdoptedJob(ctx context.Context, arg AdapterResumeAdoptedJobParams) (int64, error)
Resume the paused adoption job without advancing its exact generation witness. The caller revalidates consent through AdapterPlanLedger in the same transaction.
func (*Queries) AdapterResumeRevision ¶
func (*Queries) AdapterResumeTarget ¶
func (*Queries) AdapterRetainTarget ¶
func (*Queries) AdapterRetireCredentialJobs ¶
func (q *Queries) AdapterRetireCredentialJobs(ctx context.Context, arg AdapterRetireCredentialJobsParams) (int64, error)
Retire only pending work for this adapter's active scoped targets before credential generation changes. Never rewrite a terminal provider outcome.
func (*Queries) AdapterRevokeCredential ¶
func (*Queries) AdapterRevokeCredentialBump ¶
func (*Queries) AdapterRevokeCredentialTarget ¶
func (q *Queries) AdapterRevokeCredentialTarget(ctx context.Context, arg AdapterRevokeCredentialTargetParams) (AdapterRevokeCredentialTargetRow, error)
func (*Queries) AdapterScrubTarget ¶
func (*Queries) AdapterTargetActiveJob ¶
func (*Queries) AdapterTargetEnvironments ¶
func (*Queries) AdapterTargetKeyIDs ¶
func (*Queries) AdapterTargetKeys ¶
func (q *Queries) AdapterTargetKeys(ctx context.Context, arg AdapterTargetKeysParams) ([]AdapterTargetKeysRow, error)
func (*Queries) AdapterTeardownAuthority ¶
func (*Queries) AdapterTeardownTarget ¶
func (q *Queries) AdapterTeardownTarget(ctx context.Context, arg AdapterTeardownTargetParams) (AdapterTeardownTargetRow, error)
func (*Queries) AdapterTeardownTargets ¶
func (q *Queries) AdapterTeardownTargets(ctx context.Context, arg AdapterTeardownTargetsParams) ([]AdapterTeardownTargetsRow, error)
func (*Queries) AdapterTeardownUnfinishedMoves ¶
func (*Queries) AdapterUpdateActiveAuthority ¶
func (*Queries) AdapterUpdateAuthorityExpiry ¶
func (*Queries) AdapterUpdateTargetConfig ¶
func (*Queries) AdapterWorkerActivateApplyTarget ¶
func (*Queries) AdapterWorkerActivateCollisionQuery ¶
func (*Queries) AdapterWorkerActivateCompleteMove ¶
func (*Queries) AdapterWorkerActivateDeleteClaims ¶
func (*Queries) AdapterWorkerActivateDeleteKeys ¶
func (*Queries) AdapterWorkerActivateFinish ¶
func (*Queries) AdapterWorkerActivateInsertJob ¶
func (*Queries) AdapterWorkerActivateInsertKeys ¶
func (*Queries) AdapterWorkerActivateLookup ¶
func (q *Queries) AdapterWorkerActivateLookup(ctx context.Context, arg AdapterWorkerActivateLookupParams) (AdapterWorkerActivateLookupRow, error)
func (*Queries) AdapterWorkerActivateOriginRouteMoveActivateAdapter ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveApplyTarget ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveCompleteMove ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveCountUnresolved ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveDeleteClaims ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveDeleteKeys ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveInsertJob ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveInsertKeys ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveLoadPending ¶
func (q *Queries) AdapterWorkerActivateOriginRouteMoveLoadPending(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveLoadPendingParams) (AdapterWorkerActivateOriginRouteMoveLoadPendingRow, error)
func (*Queries) AdapterWorkerActivateOriginRouteMoveMarkProbe ¶
func (*Queries) AdapterWorkerActivateOriginRouteMoveTargetQuery ¶
func (q *Queries) AdapterWorkerActivateOriginRouteMoveTargetQuery(ctx context.Context, arg AdapterWorkerActivateOriginRouteMoveTargetQueryParams) ([]AdapterWorkerActivateOriginRouteMoveTargetQueryRow, error)
func (*Queries) AdapterWorkerActivateReleaseReservations ¶
func (q *Queries) AdapterWorkerActivateReleaseReservations(ctx context.Context, arg AdapterWorkerActivateReleaseReservationsParams) (int64, error)
Only unsent claims are retired after the activation job obtains its live generation and provider fence. Dispatched and owned custody is never removed.
func (*Queries) AdapterWorkerActivateSetResolved ¶
func (*Queries) AdapterWorkerActivateUpdateExpiry ¶
func (*Queries) AdapterWorkerCheckProviderSwitchQuery ¶
hikyo:reason Closed host-only provider-switch authority rejects network operation contexts and returns only whether any retained adapter configuration or configuration fence exists, to refuse an unsafe provider change. hikyo:instance-scoped
func (*Queries) AdapterWorkerClaimDueSelectQuery ¶
func (q *Queries) AdapterWorkerClaimDueSelectQuery(ctx context.Context, now string) (AdapterWorkerClaimDueSelectQueryRow, error)
hikyo:reason Closed adapter worker claim authority selects one due or expired leased job installation-wide, enforcing per-org concurrency and same-target exclusion under the PostgreSQL row lock; the claimed row supplies the downstream tenant chain. hikyo:instance-scoped
func (*Queries) AdapterWorkerClaimDueUpdate ¶
func (q *Queries) AdapterWorkerClaimDueUpdate(ctx context.Context, arg AdapterWorkerClaimDueUpdateParams) (int64, error)
hikyo:reason Closed adapter worker claim transaction updates only the globally unique outbox row selected and locked immediately above, setting its incremented attempt and new owner/deadline before scoped effect settlement. hikyo:instance-scoped
func (*Queries) AdapterWorkerCloseIndeterminateEffectsQuery ¶
func (q *Queries) AdapterWorkerCloseIndeterminateEffectsQuery(ctx context.Context, arg AdapterWorkerCloseIndeterminateEffectsQueryParams) ([]AdapterWorkerCloseIndeterminateEffectsQueryRow, error)
func (*Queries) AdapterWorkerCloseIndeterminateEffectsRelease ¶
func (*Queries) AdapterWorkerCloseIndeterminateEffectsUpdate ¶
func (*Queries) AdapterWorkerCompleteJob ¶
func (q *Queries) AdapterWorkerCompleteJob(ctx context.Context, arg AdapterWorkerCompleteJobParams) (int64, error)
hikyo:reason Closed adapter worker terminal settlement matches the claimed outbox row id, lease owner, stored org/project/environment/target/generation/authority/kind/route identity before any audit. Ordinary outcomes retain scoped current-target checks; intentional stale-generation abort settles and audits only that stored claimed identity without requiring the superseded current-target fence, in the same transaction. hikyo:instance-scoped
func (*Queries) AdapterWorkerDetachSupersededJob ¶
func (q *Queries) AdapterWorkerDetachSupersededJob(ctx context.Context, arg AdapterWorkerDetachSupersededJobParams) (int64, error)
Only the just-settled old job's pointer is detached; replacement pointers and all provider effect fences survive a superseded-generation abort.
func (*Queries) AdapterWorkerFinishDeadCredentialScrubErase ¶
func (*Queries) AdapterWorkerFinishDeadCredentialScrubLookup ¶
func (*Queries) AdapterWorkerFinishDeadCredentialScrubMarkTarget ¶
func (*Queries) AdapterWorkerFinishDeadCredentialScrubReleaseLedger ¶
func (*Queries) AdapterWorkerFinishJobAttention ¶
func (*Queries) AdapterWorkerFinishJobErase ¶
func (*Queries) AdapterWorkerFinishJobLookup ¶
func (*Queries) AdapterWorkerFinishJobMarkTarget ¶
func (*Queries) AdapterWorkerFinishJobMarkTargets ¶
func (*Queries) AdapterWorkerFinishJobQuery ¶
func (q *Queries) AdapterWorkerFinishJobQuery(ctx context.Context, arg AdapterWorkerFinishJobQueryParams) (int64, error)
hikyo:reason Closed adapter worker retry matches the claimed outbox row id, lease owner, stored org/project/environment/target/generation/authority/kind/route identity before any settlement or audit; ordinary retry continuation also retains scoped current-target generation/provider fences. hikyo:instance-scoped
func (*Queries) AdapterWorkerFinishJobSupersede ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubActivateMove ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubCountHeld ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubCountPending ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubInsert ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubMark ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubMarkDone ¶
func (*Queries) AdapterWorkerFinishOriginRouteMoveScrubTargetQuery ¶
func (q *Queries) AdapterWorkerFinishOriginRouteMoveScrubTargetQuery(ctx context.Context, arg AdapterWorkerFinishOriginRouteMoveScrubTargetQueryParams) ([]AdapterWorkerFinishOriginRouteMoveScrubTargetQueryRow, error)
func (*Queries) AdapterWorkerFinishReleaseLease ¶
func (*Queries) AdapterWorkerFinishRemove ¶
func (*Queries) AdapterWorkerFinishRouteMoveScrubActiveLedgerQuery ¶
func (*Queries) AdapterWorkerFinishRouteMoveScrubInsert ¶
func (*Queries) AdapterWorkerFinishRouteMoveScrubLookupMove ¶
func (*Queries) AdapterWorkerFinishRouteMoveScrubMark ¶
func (*Queries) AdapterWorkerFinishRouteMoveScrubMove ¶
func (*Queries) AdapterWorkerFinishRouteMoveScrubPersistOrphans ¶
func (*Queries) AdapterWorkerFinishUpdate ¶
func (*Queries) AdapterWorkerFinishUpdateEffect ¶
func (q *Queries) AdapterWorkerFinishUpdateEffect(ctx context.Context, arg AdapterWorkerFinishUpdateEffectParams) (int64, error)
hikyo:reason Closed adapter journal completion settles only the globally unique effect id retained after successful Prepare; the enclosing transaction inserts its job-chain outcome and requires the matching scoped target/effect provider fence before commit. hikyo:instance-scoped
func (*Queries) AdapterWorkerGateQuery ¶
func (*Queries) AdapterWorkerInsertAdapterJobAuditWithIDQuery ¶
func (*Queries) AdapterWorkerInsertConflictDedup ¶
func (*Queries) AdapterWorkerInsertConflictInsert ¶
func (*Queries) AdapterWorkerLoadActivationQuery ¶
func (q *Queries) AdapterWorkerLoadActivationQuery(ctx context.Context, arg AdapterWorkerLoadActivationQueryParams) (AdapterWorkerLoadActivationQueryRow, error)
func (*Queries) AdapterWorkerLoadExecutionCompletedQuery ¶
func (q *Queries) AdapterWorkerLoadExecutionCompletedQuery(ctx context.Context, arg AdapterWorkerLoadExecutionCompletedQueryParams) ([]AdapterWorkerLoadExecutionCompletedQueryRow, error)
Successful names resume only this leased job's exact loaded source. Legacy INTENTs without the worker-bound numeric revision never authorize skipping.
func (*Queries) AdapterWorkerLoadExecutionEntryQuery ¶
func (q *Queries) AdapterWorkerLoadExecutionEntryQuery(ctx context.Context, arg AdapterWorkerLoadExecutionEntryQueryParams) ([]AdapterWorkerLoadExecutionEntryQueryRow, error)
func (*Queries) AdapterWorkerLoadExecutionLedgerQuery ¶
func (q *Queries) AdapterWorkerLoadExecutionLedgerQuery(ctx context.Context, arg AdapterWorkerLoadExecutionLedgerQueryParams) ([]AdapterWorkerLoadExecutionLedgerQueryRow, error)
func (*Queries) AdapterWorkerLoadExecutionQuery ¶
func (q *Queries) AdapterWorkerLoadExecutionQuery(ctx context.Context, arg AdapterWorkerLoadExecutionQueryParams) (AdapterWorkerLoadExecutionQueryRow, error)
func (*Queries) AdapterWorkerLoadExecutionSnapshotQuery ¶
func (q *Queries) AdapterWorkerLoadExecutionSnapshotQuery(ctx context.Context, arg AdapterWorkerLoadExecutionSnapshotQueryParams) (AdapterWorkerLoadExecutionSnapshotQueryRow, error)
func (*Queries) AdapterWorkerLockCustodyJob ¶
func (*Queries) AdapterWorkerLockCustodyTarget ¶
func (q *Queries) AdapterWorkerLockCustodyTarget(ctx context.Context, arg AdapterWorkerLockCustodyTargetParams) (int64, error)
Lock target before outbox, matching teardown and provider preparation. No custody mutation can revive a superseded or inadmissible lifecycle.
func (*Queries) AdapterWorkerPinExecutionLease ¶
func (*Queries) AdapterWorkerPinExecutionRevision ¶
func (*Queries) AdapterWorkerPrepareExplicitRecovery ¶
func (q *Queries) AdapterWorkerPrepareExplicitRecovery(ctx context.Context, arg AdapterWorkerPrepareExplicitRecoveryParams) (int64, error)
Explicit Vault recovery keeps held custody but forbids writer inference after process death, including a mutation of a previously owned path.
func (*Queries) AdapterWorkerPrepareInsert ¶
func (*Queries) AdapterWorkerPrepareLease ¶
func (q *Queries) AdapterWorkerPrepareLease(ctx context.Context, arg AdapterWorkerPrepareLeaseParams) (int64, error)
hikyo:reason Closed adapter effect preparation extends only the leased job identified by its globally unique id and current running owner after obtaining the scoped target provider fence in this transaction; a zero-row match rolls back preparation. hikyo:instance-scoped
func (*Queries) AdapterWorkerPrepareProviderLease ¶
func (*Queries) AdapterWorkerPrepareUpdate ¶
func (*Queries) AdapterWorkerRaiseDriftAttentionQuery ¶
func (*Queries) AdapterWorkerRecordJobOutcome ¶
func (*Queries) AdapterWorkerRefuseRemove ¶
func (*Queries) AdapterWorkerReleaseReservationRemove ¶
func (*Queries) AdapterWorkerReserveCountQuery ¶
func (*Queries) AdapterWorkerReserveCurrentRoute ¶
func (q *Queries) AdapterWorkerReserveCurrentRoute(ctx context.Context, arg AdapterWorkerReserveCurrentRouteParams) (AdapterWorkerReserveCurrentRouteRow, error)
func (*Queries) AdapterWorkerReserveInsert ¶
func (*Queries) AdapterWorkerReserveLookup ¶
func (q *Queries) AdapterWorkerReserveLookup(ctx context.Context, arg AdapterWorkerReserveLookupParams) (AdapterWorkerReserveLookupRow, error)
func (*Queries) AdapterWorkerReservePendingQuery ¶
func (*Queries) AdapterWorkerReserveReactivate ¶
func (*Queries) AdapterWorkerReserveSelectQuery ¶
func (*Queries) AdapterWorkerRestoreHeldScrubAdapter ¶
func (*Queries) AdapterWorkerRestoreHeldScrubTarget ¶
func (q *Queries) AdapterWorkerRestoreHeldScrubTarget(ctx context.Context, arg AdapterWorkerRestoreHeldScrubTargetParams) (int64, error)
A review-held removal remains visible and paused, with all custody intact.
func (*Queries) AdapterWorkerTryEnqueueDepthQuery ¶
func (*Queries) AdapterWorkerTryEnqueueExistsQuery ¶
func (*Queries) AdapterWorkerTryEnqueueInsert ¶
func (*Queries) AdapterWorkerTryEnqueueLookup ¶
func (*Queries) AdapterWorkerTryEnqueuePreviousQuery ¶
func (*Queries) AdapterWorkerTryEnqueueSupersede ¶
func (*Queries) AdapterWorkerTryEnqueueUpdate ¶
func (*Queries) AddSCIMGroupMember ¶
func (q *Queries) AddSCIMGroupMember(ctx context.Context, arg AddSCIMGroupMemberParams) error
func (*Queries) AdvancePrincipalGeneration ¶
hikyo:authn-resolution
func (*Queries) AdvanceRestoreEpoch ¶
func (q *Queries) AdvanceRestoreEpoch(ctx context.Context, arg AdvanceRestoreEpochParams) error
Sets the credential epoch and marks the epoch reached BY RESTORING. The caller supplies the value (MaxKnownCredentialEpoch + 1) so the new epoch is strictly greater than every epoch stamp the archive carried. hikyo:authn-resolution
func (*Queries) AdvanceTOTPStep ¶
Single-use per (account, step): a code is consumed only if its step is strictly beyond the last one, which the CAS enforces atomically. hikyo:authn-resolution
func (*Queries) AdvanceWebAuthnSignCount ¶
func (q *Queries) AdvanceWebAuthnSignCount(ctx context.Context, arg AdvanceWebAuthnSignCountParams) (int64, error)
Sign-count advance under a row_version CAS (B9): the presented counter is written only if the row has not moved, so two concurrent assertions cannot both advance it and a stale read cannot rewind it. hikyo:authn-resolution
func (*Queries) AllOpenableTier3 ¶
AllOpenableTier3 returns every still-openable tier-3 key across every scope (active + retiring), for `rotate-master-key` to re-wrap under a new master. Retired rows are excluded: they hold zero live ciphertext, so their key material is never unwrapped and re-wrapping it would be work with no reader.
func (*Queries) ApproveCLILogin ¶
hikyo:reason a live browser session approves only the resolved unconsumed first-party login transaction hikyo:authn-resolution
func (*Queries) ApproveCLIReauthHandoff ¶
func (q *Queries) ApproveCLIReauthHandoff(ctx context.Context, arg ApproveCLIReauthHandoffParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ApproveWorkspaceHandoff ¶
func (q *Queries) ApproveWorkspaceHandoff(ctx context.Context, arg ApproveWorkspaceHandoffParams) (int64, error)
Approval binds the authenticated human and mints the code. The NULL guard on code_verifier is the atomic claim: two concurrent approvals of one transaction cannot both issue a code. hikyo:authn-resolution
func (*Queries) AssertActiveTier3Version ¶
func (q *Queries) AssertActiveTier3Version(ctx context.Context, arg AssertActiveTier3VersionParams) (string, error)
AssertActiveTier3Version is the writer fence: a ciphertext write reads the state of the exact DEK version it sealed under, in its own transaction, and proceeds only if that version is still 'active'. A stale sealer (built before a rotate-dek, sealing under a now-retiring or retired version) is refused, so no write lands under a version reencrypt is about to retire. On sqlite the single write connection serializes this against the demote/retire; postgres adds FOR SHARE (see its twin) so those block until in-flight writers commit.
func (*Queries) AuditPrunedSince ¶
hikyo:instance-scoped
func (*Queries) BindRemotePairedConnection ¶
func (q *Queries) BindRemotePairedConnection(ctx context.Context, arg BindRemotePairedConnectionParams) error
hikyo:reason Enrollment permanently marks this connection proof-bound; ordinary bearer resolution must reject it. hikyo:authn-resolution
func (*Queries) BindSessionToOAuth2Provider ¶
func (q *Queries) BindSessionToOAuth2Provider(ctx context.Context, arg BindSessionToOAuth2ProviderParams) (int64, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) BindSessionToSAMLProvider ¶
func (q *Queries) BindSessionToSAMLProvider(ctx context.Context, arg BindSessionToSAMLProviderParams) (int64, error)
Bind provider provenance before the surrounding session-mint transaction commits. The existing OIDC provider column must be empty. hikyo:authn-resolution
func (*Queries) BumpFileTargetGeneration ¶
func (q *Queries) BumpFileTargetGeneration(ctx context.Context, arg BumpFileTargetGenerationParams) (int64, error)
A key-selection replacement is a compare-and-swap on the generation, so two concurrent edits cannot both apply.
func (*Queries) BumpProjectSchemaRevision ¶
func (q *Queries) BumpProjectSchemaRevision(ctx context.Context, arg BumpProjectSchemaRevisionParams) (int64, error)
BumpProjectSchemaRevision is the monotonic advance, run inside the same transaction as the declaration change that earned it. :execrows so a missing row - which cannot happen, every project gets one at creation - is reported as the defect it would be rather than silently created.
func (*Queries) CLILoginByCode ¶
hikyo:reason opaque authorization or device code resolves only its first-party login transaction hikyo:authn-resolution
func (*Queries) CLILoginByState ¶
func (q *Queries) CLILoginByState(ctx context.Context, stateVerifier []byte) (CliLoginHandoff, error)
hikyo:reason opaque state resolves only the first-party CLI login approval transaction hikyo:authn-resolution
func (*Queries) CLILoginByUserCode ¶
func (q *Queries) CLILoginByUserCode(ctx context.Context, userCodeVerifier []byte) (CliLoginHandoff, error)
hikyo:reason rate-limited human code resolves only its browser approval transaction hikyo:authn-resolution
func (*Queries) CLIReauthHandoffByCode ¶
func (q *Queries) CLIReauthHandoffByCode(ctx context.Context, codeVerifier []byte) (CliReauthHandoff, error)
hikyo:authn-resolution
func (*Queries) CLIReauthHandoffByState ¶
func (q *Queries) CLIReauthHandoffByState(ctx context.Context, stateVerifier []byte) (CliReauthHandoff, error)
hikyo:authn-resolution
func (*Queries) ClaimFederatedAuthority ¶
func (q *Queries) ClaimFederatedAuthority(ctx context.Context, arg ClaimFederatedAuthorityParams) (int64, error)
hikyo:reason A federated claim (#610) spends an invitation or reset authority at an OIDC or OAuth2 callback, before any principal exists in the request; the service binds the authority to its transaction, account, epoch and kind before mutation. hikyo:authn-resolution
func (*Queries) ClaimOfflineRecord ¶
func (q *Queries) ClaimOfflineRecord(ctx context.Context, arg ClaimOfflineRecordParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ClaimRemotePairingAttempt ¶
func (q *Queries) ClaimRemotePairingAttempt(ctx context.Context, arg ClaimRemotePairingAttemptParams) (int64, error)
hikyo:reason Each valid capability admits at most eight expensive PAKE attempts across all nodes. hikyo:authn-resolution
func (*Queries) ClaimRemotePairingReplay ¶
func (q *Queries) ClaimRemotePairingReplay(ctx context.Context, arg ClaimRemotePairingReplayParams) (int64, error)
hikyo:reason Persist DPoP replay admission across nodes in the same transaction as directory authorization. hikyo:authn-resolution
func (*Queries) ClampCredentialExpiry ¶
The clamp itself. It moves expiry DOWN to the new ceiling and never up: a credential already inside the ceiling is untouched. hikyo:authn-resolution
func (*Queries) ClampDeveloperCredentialExpiry ¶
func (q *Queries) ClampDeveloperCredentialExpiry(ctx context.Context, arg ClampDeveloperCredentialExpiryParams) error
hikyo:reason Authorized instance policy lowering persists monotonic expiry reductions before commit. hikyo:authn-resolution
func (*Queries) ClampIndefiniteCredentials ¶
func (q *Queries) ClampIndefiniteCredentials(ctx context.Context, expiresAt sql.NullString) (int64, error)
Withdrawing the indefinite opt-in CLAMPS, it does not merely enumerate: an unbounded credential surviving a withdrawal is the control not being withdrawn. The typed lifetime moves with the instant, so the pair stays total and the row is an ordinary finite credential afterwards. hikyo:authn-resolution
func (*Queries) ClearKeyGroupMembers ¶
func (q *Queries) ClearKeyGroupMembers(ctx context.Context, arg ClearKeyGroupMembersParams) error
ClearKeyGroupMembers is the delete cascade: deleting a group takes its members OUT of it rather than deleting them. Zero affected rows is the ordinary case for an empty group, so this is :exec.
func (*Queries) ClearSCIMAttention ¶
func (*Queries) ClearSCIMGroupMembers ¶
func (*Queries) ClearSelfConfigSeedInputs ¶
hikyo:instance-scoped
func (*Queries) CommitSelfConfigTarget ¶
func (q *Queries) CommitSelfConfigTarget(ctx context.Context, arg CommitSelfConfigTargetParams) (int64, error)
hikyo:instance-scoped
func (*Queries) ConfirmTOTP ¶
Confirmation is the account-security mutation's write: it promotes the pending seed and consumes the confirming step in one CAS. hikyo:authn-resolution
func (*Queries) ConsumeCLILogin ¶
hikyo:reason atomic single-use redemption of an approved first-party login transaction gates session issuance hikyo:authn-resolution
func (*Queries) ConsumeCLIReauthHandoff ¶
func (q *Queries) ConsumeCLIReauthHandoff(ctx context.Context, arg ConsumeCLIReauthHandoffParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ConsumeCredentialAuthority ¶
func (q *Queries) ConsumeCredentialAuthority(ctx context.Context, arg ConsumeCredentialAuthorityParams) (int64, error)
Single-use consumption: the NULL guard is the atomic claim, so two concurrent presentations cannot both establish a credential. hikyo:authn-resolution
func (*Queries) ConsumeLoginChallenge ¶
func (q *Queries) ConsumeLoginChallenge(ctx context.Context, arg ConsumeLoginChallengeParams) (int64, error)
hikyo:authn-resolution Single-use: claims the row only if not already consumed (fail closed).
func (*Queries) ConsumeOAuth2Transaction ¶
func (q *Queries) ConsumeOAuth2Transaction(ctx context.Context, arg ConsumeOAuth2TransactionParams) (int64, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) ConsumeOIDCTransaction ¶
func (q *Queries) ConsumeOIDCTransaction(ctx context.Context, arg ConsumeOIDCTransactionParams) (int64, error)
Single-use consumption: the NULL guard is the atomic claim, so a callback cannot be replayed and two concurrent callbacks cannot both consume one tx. hikyo:authn-resolution
func (*Queries) ConsumeOutstandingAuthoritiesForAccount ¶
func (q *Queries) ConsumeOutstandingAuthoritiesForAccount(ctx context.Context, arg ConsumeOutstandingAuthoritiesForAccountParams) error
Minting an establishment authority for an account consumes every other outstanding one, so a second live reset token cannot linger past the point the operator believes the flow completed. hikyo:authn-resolution
func (*Queries) ConsumeRegistrationSignup ¶
func (q *Queries) ConsumeRegistrationSignup(ctx context.Context, arg ConsumeRegistrationSignupParams) (int64, error)
hikyo:reason A verified signup bearer is CAS-consumed by its row id and verifier inside the account-creation transaction. hikyo:authn-resolution
func (*Queries) ConsumeRemotePairingExchange ¶
func (q *Queries) ConsumeRemotePairingExchange(ctx context.Context, arg ConsumeRemotePairingExchangeParams) (int64, error)
hikyo:reason Exchanges can be consumed once even when two nodes receive the same finish concurrently. hikyo:authn-resolution
func (*Queries) ConsumeRemotePairingInvite ¶
func (q *Queries) ConsumeRemotePairingInvite(ctx context.Context, arg ConsumeRemotePairingInviteParams) (int64, error)
hikyo:reason Single-use consumption is part of the same transaction as connection principal, grant and key enrollment. hikyo:authn-resolution
func (*Queries) ConsumeSAMLTransaction ¶
func (q *Queries) ConsumeSAMLTransaction(ctx context.Context, arg ConsumeSAMLTransactionParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ConsumeSingleDecisionWindow ¶
func (q *Queries) ConsumeSingleDecisionWindow(ctx context.Context, arg ConsumeSingleDecisionWindowParams) (int64, error)
Claim a single_decision window exactly once: the NULL guard is the atomic claim, so a second disclosure loses and is refused (B11 double-spend). hikyo:authn-resolution
func (*Queries) ConsumeWebAuthnCeremony ¶
func (q *Queries) ConsumeWebAuthnCeremony(ctx context.Context, arg ConsumeWebAuthnCeremonyParams) (int64, error)
Single-use consumption: the NULL guard is the atomic claim. credential_id is stamped here (the passkey that answered), so the ceremony row keeps resolving a minted session to the credential that authored it after consume. hikyo:authn-resolution
func (*Queries) ConsumeWorkspaceHandoff ¶
func (q *Queries) ConsumeWorkspaceHandoff(ctx context.Context, arg ConsumeWorkspaceHandoffParams) (int64, error)
Single-use consumption. The NULL guard is the atomic claim, exactly as ConsumeCredentialAuthority does it: two concurrent redemptions of one code cannot both yield a session. hikyo:authn-resolution
func (*Queries) CoordinationAccountFailureState ¶
func (q *Queries) CoordinationAccountFailureState(ctx context.Context, arg CoordinationAccountFailureStateParams) (CoordinationAccountFailureStateRow, error)
hikyo:reason Shared pre-authentication admission counter/backoff infrastructure. Coordination admitted datastore transaction; bucket/subject keys carry uniform refusal state, not tenant resources. Atomic upserts and fixed account sentinel preserved; Postgres failure stamps use now() and monotonic GREATEST. hikyo:instance-scoped
func (*Queries) CoordinationBumpWindow ¶
func (q *Queries) CoordinationBumpWindow(ctx context.Context, arg CoordinationBumpWindowParams) (int64, error)
hikyo:reason Shared pre-authentication admission counter/backoff infrastructure. Coordination admitted datastore transaction; bucket/subject keys carry uniform refusal state, not tenant resources. Atomic upserts and fixed account sentinel preserved; Postgres failure stamps use now() and monotonic GREATEST. hikyo:instance-scoped
func (*Queries) CoordinationClaimLease ¶
func (q *Queries) CoordinationClaimLease(ctx context.Context, arg CoordinationClaimLeaseParams) (int64, error)
excluded.acquired_at is the supplied claim time, also used for expiry. hikyo:reason Installation singleton leader fencing. Coordination admitted datastore transaction; no tenant row or tenant payload; preserves exact owner/name/fence and expiry predicates. GuardSingletonLease is root-owned scheduler transaction admission and retains database/process clocks. hikyo:instance-scoped
func (*Queries) CoordinationClearAccount ¶
func (q *Queries) CoordinationClearAccount(ctx context.Context, arg CoordinationClearAccountParams) error
hikyo:reason Shared pre-authentication admission counter/backoff infrastructure. Coordination admitted datastore transaction; bucket/subject keys carry uniform refusal state, not tenant resources. Atomic upserts and fixed account sentinel preserved; Postgres failure stamps use now() and monotonic GREATEST. hikyo:instance-scoped
func (*Queries) CoordinationCountLiveNodes ¶
hikyo:reason Installation HA registry and mixed-root-key boot admission. Coordination admitted datastore transaction; rows are replica identity/version/fingerprint/heartbeat, no tenant chain. RegisterNodeChecked retains membership advisory lock before foreign-live-fingerprint check and upsert. hikyo:instance-scoped
func (*Queries) CoordinationCountMCPClaims ¶
func (q *Queries) CoordinationCountMCPClaims(ctx context.Context, arg CoordinationCountMCPClaimsParams) (CoordinationCountMCPClaimsRow, error)
hikyo:reason Installation-wide authenticated MCP rate/concurrency admission. Coordination admitted datastore transaction; principal/org IDs are counter dimensions, not grants to tenant data. Class88 advisory lock encloses prune/count/rate-lock/update/claim; global count intentionally enforces instance capacity alongside per-principal/org limits. hikyo:instance-scoped
func (*Queries) CoordinationCurrentTopology ¶
hikyo:reason Instance-owned self-configuration rollout/seed admission metadata. Coordination admitted datastore transaction; singleton binding owner/incarnation/generation restricts rollout correspondence. Runtime process identity/template stamp checked by topologyLeaseAllowed, coordinated with final Apply membership lock; no tenant data access. hikyo:instance-scoped
func (*Queries) CoordinationForeignRootKeyFingerprints ¶
func (q *Queries) CoordinationForeignRootKeyFingerprints(ctx context.Context, arg CoordinationForeignRootKeyFingerprintsParams) ([]string, error)
hikyo:reason Installation HA registry and mixed-root-key boot admission. Coordination admitted datastore transaction; rows are replica identity/version/fingerprint/heartbeat, no tenant chain. RegisterNodeChecked retains membership advisory lock before foreign-live-fingerprint check and upsert. hikyo:instance-scoped
func (*Queries) CoordinationInsertMCPClaim ¶
func (q *Queries) CoordinationInsertMCPClaim(ctx context.Context, arg CoordinationInsertMCPClaimParams) error
hikyo:reason Installation-wide authenticated MCP rate/concurrency admission. Coordination admitted datastore transaction; principal/org IDs are counter dimensions, not grants to tenant data. Class88 advisory lock encloses prune/count/rate-lock/update/claim; global count intentionally enforces instance capacity alongside per-principal/org limits. hikyo:instance-scoped
func (*Queries) CoordinationLatestRollout ¶
func (q *Queries) CoordinationLatestRollout(ctx context.Context) (CoordinationLatestRolloutRow, error)
hikyo:reason Instance-owned self-configuration rollout/seed admission metadata. Coordination admitted datastore transaction; singleton binding owner/incarnation/generation restricts rollout correspondence. Runtime process identity/template stamp checked by topologyLeaseAllowed, coordinated with final Apply membership lock; no tenant data access. hikyo:instance-scoped
func (*Queries) CoordinationLeaseHolder ¶
func (q *Queries) CoordinationLeaseHolder(ctx context.Context, name string) (CoordinationLeaseHolderRow, error)
hikyo:reason Installation singleton leader fencing. Coordination admitted datastore transaction; no tenant row or tenant payload; preserves exact owner/name/fence and expiry predicates. GuardSingletonLease is root-owned scheduler transaction admission and retains database/process clocks. hikyo:instance-scoped
func (*Queries) CoordinationMCPRateBucket ¶
func (q *Queries) CoordinationMCPRateBucket(ctx context.Context, principalID string) (string, error)
hikyo:reason Installation-wide authenticated MCP rate/concurrency admission. Coordination admitted datastore transaction; principal/org IDs are counter dimensions, not grants to tenant data. Class88 advisory lock encloses prune/count/rate-lock/update/claim; global count intentionally enforces instance capacity alongside per-principal/org limits. hikyo:instance-scoped
func (*Queries) CoordinationPruneAccountBackoff ¶
func (q *Queries) CoordinationPruneAccountBackoff(ctx context.Context, arg CoordinationPruneAccountBackoffParams) error
hikyo:reason Shared pre-authentication admission counter/backoff infrastructure. Coordination admitted datastore transaction; bucket/subject keys carry uniform refusal state, not tenant resources. Atomic upserts and fixed account sentinel preserved; Postgres failure stamps use now() and monotonic GREATEST. hikyo:instance-scoped
func (*Queries) CoordinationPruneAdmissionWindows ¶
func (q *Queries) CoordinationPruneAdmissionWindows(ctx context.Context, arg CoordinationPruneAdmissionWindowsParams) error
hikyo:reason Shared pre-authentication admission counter/backoff infrastructure. Coordination admitted datastore transaction; bucket/subject keys carry uniform refusal state, not tenant resources. Atomic upserts and fixed account sentinel preserved; Postgres failure stamps use now() and monotonic GREATEST. hikyo:instance-scoped
func (*Queries) CoordinationPruneMCPClaims ¶
hikyo:reason Installation-wide authenticated MCP rate/concurrency admission. Coordination admitted datastore transaction; principal/org IDs are counter dimensions, not grants to tenant data. Class88 advisory lock encloses prune/count/rate-lock/update/claim; global count intentionally enforces instance capacity alongside per-principal/org limits. hikyo:instance-scoped
func (*Queries) CoordinationPruneNodes ¶
hikyo:reason Installation HA registry and mixed-root-key boot admission. Coordination admitted datastore transaction; rows are replica identity/version/fingerprint/heartbeat, no tenant chain. RegisterNodeChecked retains membership advisory lock before foreign-live-fingerprint check and upsert. hikyo:instance-scoped
func (*Queries) CoordinationRecordAccountFailure ¶
func (q *Queries) CoordinationRecordAccountFailure(ctx context.Context, arg CoordinationRecordAccountFailureParams) (int64, error)
Compare against the inserted failure time so delayed attempts cannot move the stored instant backwards. The update remains one atomic upsert. hikyo:reason Shared pre-authentication admission counter/backoff infrastructure. Coordination admitted datastore transaction; bucket/subject keys carry uniform refusal state, not tenant resources. Atomic upserts and fixed account sentinel preserved; Postgres failure stamps use now() and monotonic GREATEST. hikyo:instance-scoped
func (*Queries) CoordinationReleaseLease ¶
func (q *Queries) CoordinationReleaseLease(ctx context.Context, arg CoordinationReleaseLeaseParams) error
hikyo:reason Installation singleton leader fencing. Coordination admitted datastore transaction; no tenant row or tenant payload; preserves exact owner/name/fence and expiry predicates. GuardSingletonLease is root-owned scheduler transaction admission and retains database/process clocks. hikyo:instance-scoped
func (*Queries) CoordinationReleaseMCP ¶
hikyo:reason Installation-wide authenticated MCP rate/concurrency admission. Coordination admitted datastore transaction; principal/org IDs are counter dimensions, not grants to tenant data. Class88 advisory lock encloses prune/count/rate-lock/update/claim; global count intentionally enforces instance capacity alongside per-principal/org limits. hikyo:instance-scoped
func (*Queries) CoordinationRenewLease ¶
func (q *Queries) CoordinationRenewLease(ctx context.Context, arg CoordinationRenewLeaseParams) (int64, error)
hikyo:reason Installation singleton leader fencing. Coordination admitted datastore transaction; no tenant row or tenant payload; preserves exact owner/name/fence and expiry predicates. GuardSingletonLease is root-owned scheduler transaction admission and retains database/process clocks. hikyo:instance-scoped
func (*Queries) CoordinationSelfConfigGeneration ¶
func (q *Queries) CoordinationSelfConfigGeneration(ctx context.Context) (CoordinationSelfConfigGenerationRow, error)
hikyo:reason Instance-owned self-configuration rollout/seed admission metadata. Coordination admitted datastore transaction; singleton binding owner/incarnation/generation restricts rollout correspondence. Runtime process identity/template stamp checked by topologyLeaseAllowed, coordinated with final Apply membership lock; no tenant data access. hikyo:instance-scoped
func (*Queries) CoordinationSelfConfigSeedAttest ¶
func (q *Queries) CoordinationSelfConfigSeedAttest(ctx context.Context, arg CoordinationSelfConfigSeedAttestParams) error
hikyo:reason Instance-owned self-configuration rollout/seed admission metadata. Coordination admitted datastore transaction; singleton binding owner/incarnation/generation restricts rollout correspondence. Runtime process identity/template stamp checked by topologyLeaseAllowed, coordinated with final Apply membership lock; no tenant data access. hikyo:instance-scoped
func (*Queries) CoordinationSetMCPRateBucket ¶
func (q *Queries) CoordinationSetMCPRateBucket(ctx context.Context, arg CoordinationSetMCPRateBucketParams) error
hikyo:reason Installation-wide authenticated MCP rate/concurrency admission. Coordination admitted datastore transaction; principal/org IDs are counter dimensions, not grants to tenant data. Class88 advisory lock encloses prune/count/rate-lock/update/claim; global count intentionally enforces instance capacity alongside per-principal/org limits. hikyo:instance-scoped
func (*Queries) CoordinationUpsertNode ¶
func (q *Queries) CoordinationUpsertNode(ctx context.Context, arg CoordinationUpsertNodeParams) error
hikyo:reason Installation HA registry and mixed-root-key boot admission. Coordination admitted datastore transaction; rows are replica identity/version/fingerprint/heartbeat, no tenant chain. RegisterNodeChecked retains membership advisory lock before foreign-live-fingerprint check and upsert. hikyo:instance-scoped
func (*Queries) CountAccounts ¶
hikyo:authn-resolution
func (*Queries) CountActiveAccessGrants ¶
func (q *Queries) CountActiveAccessGrants(ctx context.Context, expiresAt sql.NullString) (int64, error)
hikyo:instance-scoped
func (*Queries) CountActiveApprovalRequests ¶
Operational metrics (#151). Installation-wide counts read at /metrics scrape under scheduler authority; cross-tenant by definition, annotated and pinned. hikyo:instance-scoped
func (*Queries) CountBindingsForIssuer ¶
func (q *Queries) CountBindingsForIssuer(ctx context.Context, issuerID sql.NullString) (int64, error)
Every binding naming an issuer, live or historical, counted so a delete that would orphan one is refused rather than cascading.
It counts REVOKED rows too, and that is deliberate. A cascade would deprovision N workloads under an operation whose name says "configuration". Refusing only on LIVE bindings would leave the historical rows pointing at an issuer that no longer exists, so the trail could no longer answer what a past binding trusted -- and the foreign key would refuse the delete anyway, with a driver message instead of an explanation. An operator who really wants the issuer gone deletes the service accounts, which removes their credential rows. hikyo:authn-resolution
func (*Queries) CountDeliveryTargetReportsForPrincipal ¶
func (*Queries) CountEnvironmentPKICertificates ¶
func (q *Queries) CountEnvironmentPKICertificates(ctx context.Context, arg CountEnvironmentPKICertificatesParams) (int64, error)
A certificate's revocation evidence outlives its environment's configuration.
func (*Queries) CountEnvironmentValues ¶
func (q *Queries) CountEnvironmentValues(ctx context.Context, arg CountEnvironmentValuesParams) (int64, error)
CountEnvironmentValues counts one environment's live occurrences under a PROJECT proof - environment_id is an ordinary column, not a chain column, so the definitions-apply path (project-scoped) can ask it of an environment it is about to delete without an environment-addressed proof. Any count above zero is the unconditional environment-delete refusal (#70, source-of-truth ADR).
func (*Queries) CountEnvironments ¶
func (*Queries) CountExpiredApprovalRequests ¶
hikyo:instance-scoped
func (*Queries) CountExternalIdentitiesForIssuer ¶
func (q *Queries) CountExternalIdentitiesForIssuer(ctx context.Context, arg CountExternalIdentitiesForIssuerParams) (int64, error)
The pairwise-subject client_id guard (#588 d2): does this issuer have any linked identity? A provider-administration read, proof-free like the rest of the provider surface. hikyo:authn-resolution
func (*Queries) CountGrantOrigins ¶
hikyo:authn-resolution
func (*Queries) CountGrantsForOrg ¶
hikyo:authn-resolution
func (*Queries) CountIncompatiblePasswordKDFs ¶
func (q *Queries) CountIncompatiblePasswordKDFs(ctx context.Context, arg CountIncompatiblePasswordKDFsParams) (int64, error)
Boot/configuration admission only; returns no identifiers or verifier bytes. hikyo:reason Boot admission counts incompatible verifiers without exposing credentials; no tenant authority is exercised. hikyo:authn-resolution
func (*Queries) CountKeyGroups ¶
func (*Queries) CountLiveMachineCredentials ¶
func (q *Queries) CountLiveMachineCredentials(ctx context.Context, arg CountLiveMachineCredentialsParams) (int64, error)
The concurrent-credential cap's census: live means not revoked, at the current epoch, and either indefinite or not yet expired. hikyo:authn-resolution
func (*Queries) CountLiveMachineCredentialsInProject ¶
func (q *Queries) CountLiveMachineCredentialsInProject(ctx context.Context, arg CountLiveMachineCredentialsInProjectParams) ([]CountLiveMachineCredentialsInProjectRow, error)
Revocation is idempotent by predicate, not by read-then-write: the revoked_at IS NULL guard means two concurrent revokes cannot both report having performed one. The project's live-credential census in ONE query. Listing service accounts otherwise costs a count per account, which makes an administrative list scale with the fleet it is describing.
The IN-subquery is the analyzer's rejected shape, so this rides the resolution surface's annotation like every other query here, and it carries the full chain predicate anyway. hikyo:authn-resolution
func (*Queries) CountLiveRemotePairingExchanges ¶
func (q *Queries) CountLiveRemotePairingExchanges(ctx context.Context, arg CountLiveRemotePairingExchangesParams) (int64, error)
hikyo:reason Bound outstanding PAKE sessions per invitation before expensive server state creation. hikyo:authn-resolution
func (*Queries) CountLiveRemotePairingInvites ¶
hikyo:reason Serialize finite invitation admission and bound storage under the instance census lock. hikyo:authn-resolution
func (*Queries) CountOpenAccessRequests ¶
hikyo:instance-scoped
func (*Queries) CountOpenPlans ¶
CountOpenPlans is the open-plan quota's input: a plan is open when it is unapplied and unexpired. Read inside the create transaction it bounds.
func (*Queries) CountOpenableTier3NotAtMaster ¶
func (q *Queries) CountOpenableTier3NotAtMaster(ctx context.Context, masterKeyVersion int64) (int64, error)
CountOpenableTier3NotAtMaster is rotate-master-key's zero-reference check, run INSIDE the hierarchy fence: after re-wrapping, no still-openable tier-3 key may reference a master other than the new version. A non-zero count means a tier-3 key was created or version-appended in the window before the fence, under the old master, and is not in the re-wrapped set -- the rotation must refuse and be retried rather than strand that key under the retired master.
func (*Queries) CountPendingChangeForCell ¶
func (*Queries) CountPendingChangesForProject ¶
func (*Queries) CountRecentSelfConfigJobs ¶
hikyo:instance-scoped
func (*Queries) CountRegistrationPolicyOrgs ¶
func (q *Queries) CountRegistrationPolicyOrgs(ctx context.Context, registrationPolicyID sql.NullString) (int64, error)
The live count behind a fresh-org policy's `n / cap` (#585 d9): orgs the policy minted that still exist. Instance-wide by construction: the orgs a policy mints are not under any one tenant the reader could be bound to. hikyo:authn-resolution
func (*Queries) CountRemotePairingReplays ¶
hikyo:reason Fail closed at the live replay cap rather than evicting proofs still replayable. hikyo:authn-resolution
func (*Queries) CountRemotePairingReplaysForKey ¶
func (q *Queries) CountRemotePairingReplaysForKey(ctx context.Context, thumbprint string) (int64, error)
hikyo:reason Bound one enrolled key's replay share before it can exhaust installation-wide admission for other peers. hikyo:authn-resolution
func (*Queries) CountRemotes ¶
hikyo:instance-scoped
func (*Queries) CountRevisionPinsForProject ¶
func (*Queries) CountSCIMGroups ¶
func (*Queries) CountSCIMGroupsByDisplayName ¶
func (q *Queries) CountSCIMGroupsByDisplayName(ctx context.Context, arg CountSCIMGroupsByDisplayNameParams) (int64, error)
Okta and Entra both discover a group by `displayName eq` before creating or updating it; displayName is caseExact:false like userName. It is NOT unique (RFC 7643 does not make it so), which is why this returns MANY: a directory with two same-named groups must answer with two.
func (*Queries) CountSCIMGroupsByExternalID ¶
func (q *Queries) CountSCIMGroupsByExternalID(ctx context.Context, arg CountSCIMGroupsByExternalIDParams) (int64, error)
externalId is not unique on groups either.
func (*Queries) CountSCIMUsers ¶
The WIRE's paged reads. Paging in Go over an unbounded read lets a valid credential force full-directory work for a 200-item answer, every request; LIMIT/OFFSET bounds resource materialization; the matching count query keeps `totalResults` truthful (ADR section 8's ListResponse fields).
func (*Queries) CountSCIMUsersByExternalID ¶
func (q *Queries) CountSCIMUsersByExternalID(ctx context.Context, arg CountSCIMUsersByExternalIDParams) (int64, error)
externalId compares BYTE-EXACT (ADR section 8). It is NOT unique -- only the SUBJECT is -- so this returns MANY: an empty externalId is the default and a singular query would answer an arbitrary one of them with totalResults 1.
func (*Queries) CountSCIMUsersByUserName ¶
func (q *Queries) CountSCIMUsersByUserName(ctx context.Context, arg CountSCIMUsersByUserNameParams) (int64, error)
Filtered pages and counts deliberately use identical equality predicates.
func (*Queries) CountSelfConfigCompletedGeneration ¶
func (q *Queries) CountSelfConfigCompletedGeneration(ctx context.Context, generation int64) (int64, error)
hikyo:instance-scoped
func (*Queries) CountSelfConfigOpenJobs ¶
hikyo:instance-scoped
func (*Queries) CountSelfConfigRootFinalizationBlockers ¶
Preserve both roots until the committed deployment can no longer restore. The caller holds LockSelfConfigBinding before consulting this count. hikyo:instance-scoped
func (*Queries) CountSelfConfigSeedDisagreement ¶
func (q *Queries) CountSelfConfigSeedDisagreement(ctx context.Context, arg CountSelfConfigSeedDisagreementParams) (int64, error)
hikyo:instance-scoped
func (*Queries) CountServiceAccountPKICertificates ¶
func (q *Queries) CountServiceAccountPKICertificates(ctx context.Context, arg CountServiceAccountPKICertificatesParams) (int64, error)
Issuance history retains the principal even after the certificate expires. hikyo:authn-resolution
func (*Queries) CreateEnvironment ¶
func (q *Queries) CreateEnvironment(ctx context.Context, arg CreateEnvironmentParams) error
Tenant-scoped statements. The reserved chain_* parameters are bound by the store's binding layer from proof fields only - never from caller arguments; the SQL predicate analyzer enforces the conjunct shape.
func (*Queries) CreateFolder ¶
func (q *Queries) CreateFolder(ctx context.Context, arg CreateFolderParams) error
Tenant-scoped statements. The reserved chain_* parameters are bound by the store's binding layer from proof fields only - never from caller arguments; the SQL predicate analyzer enforces the conjunct shape.
A folder is addressed WITHIN the project the proof resolved: the chain conjuncts come from the proof, and `id` is an ordinary caller argument like `path` is. The scope lattice has no folder level (permission-model ADR: no folder-scoped grants), so there is no chain field for it to bind from - and it needs none: a folder id from another project simply misses the chain predicate, which is the uniform nonexistent outcome.
func (*Queries) CreateInstanceConnection ¶
func (q *Queries) CreateInstanceConnection(ctx context.Context, arg CreateInstanceConnectionParams) error
Principal and credential are minted as one unit with a stable immutable id. hikyo:authn-resolution
func (*Queries) CreateKey ¶
func (q *Queries) CreateKey(ctx context.Context, arg CreateKeyParams) error
func (*Queries) CreateKeyGroup ¶
func (q *Queries) CreateKeyGroup(ctx context.Context, arg CreateKeyGroupParams) error
The key catalogue (#49). Tenant-scoped statements: the reserved chain_* parameters are bound by the store's binding layer from proof fields only - never from caller arguments; the SQL predicate analyzer enforces the conjunct shape.
A key, a group and a presence row are all addressed WITHIN the project the proof resolved. The scope lattice has no key level (permission-model ADR: no key-scoped grants in v1), so `id` is an ordinary caller argument: an id from another project simply misses the chain predicate, which is the uniform nonexistent outcome.
func (*Queries) CreateOAuth2Provider ¶
func (q *Queries) CreateOAuth2Provider(ctx context.Context, arg CreateOAuth2ProviderParams) error
OAuth2 profile administration and single-use callbacks (#609). hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) CreateOIDCProvider ¶
func (q *Queries) CreateOIDCProvider(ctx context.Context, arg CreateOIDCProviderParams) error
OIDC provider administration (#54, human-auth ADR - Login methods). The provider table is class=authn: it decides how a caller may authenticate, and login resolves it proof-free, so every statement touching it lives on the resolution surface. Provider mutations are still authorized at the chokepoint (OpProviderPut/Delete under instance-config) before these run; the write itself rides the resolution surface, like the session lifecycle. hikyo:authn-resolution
func (*Queries) CreateOrg ¶
func (q *Queries) CreateOrg(ctx context.Context, arg CreateOrgParams) error
The Org aggregate. Creation, listing and counting are instance-scoped operations (they are cross-tenant by definition: a create has no parent tenant and an enumeration spans all of them); each is annotated and content-pinned in the allowlist fixture (tenant-isolation ADR invariant 13).
The by-id statements are NOT annotated: an org row is its own tenant root (scope class org, chain=id), so they carry the chain conjunct like any other tenant statement and the binding layer takes `id` from the proof. That is what makes an org nobody may reach indistinguishable from a missing one (#48, mvp-boundary C1). hikyo:instance-scoped
func (*Queries) CreatePlan ¶
func (q *Queries) CreatePlan(ctx context.Context, arg CreatePlanParams) error
Definitions plan ledger (#70). Tenant-scoped statements: the chain conjunct is bound by the store's binding layer from proof fields only, never from caller arguments. A plan is immutable except for the one-shot apply stamp.
func (*Queries) CreateProject ¶
func (q *Queries) CreateProject(ctx context.Context, arg CreateProjectParams) error
Tenant-scoped statements. The reserved chain_* parameters are bound by the store's binding layer from proof fields only - never from caller arguments; the SQL predicate analyzer enforces the conjunct shape.
func (*Queries) CreateRemote ¶
func (q *Queries) CreateRemote(ctx context.Context, arg CreateRemoteParams) error
--------------------------------------------------------------------------- VIEWING SIDE: the remote entries and their last-known snapshots.
These are class=instance, NOT authn-resolution: they are instance-scope configuration and foreign structure at rest, read only through proofs evaluated on instance-directory or instance-config. They are annotated instance-scoped for the reason ListOrgs is - they address no tenant by design, not by omission. --------------------------------------------------------------------------- URL and pin are immutable per entry: there is deliberately no UPDATE statement anywhere naming either column. Re-pointing a stored credential at a different host is the credential-redirect attack, so re-pointing is remove + add, which re-runs the full ceremony including the human fingerprint confirmation. hikyo:instance-scoped
func (*Queries) CreateRemotePairingExchange ¶
func (q *Queries) CreateRemotePairingExchange(ctx context.Context, arg CreateRemotePairingExchangeParams) error
hikyo:reason Persist sealed PAKE exchange state so continuation works across server nodes. hikyo:authn-resolution
func (*Queries) CreateRemotePairingInvite ¶
func (q *Queries) CreateRemotePairingInvite(ctx context.Context, arg CreateRemotePairingInviteParams) error
Manual pairing metadata is authentication state; never a tenant lookup. hikyo:reason Resolve and administer finite manual invitations only after capability or instance-config authorization. hikyo:authn-resolution
func (*Queries) CreateSCIMBinding ¶
func (q *Queries) CreateSCIMBinding(ctx context.Context, arg CreateSCIMBindingParams) error
SCIM provisioning (#73). Tenant-scoped statements: the reserved chain_* parameter is bound by the store's binding layer from the verified proof's resolved chain, never from a caller argument. Every SCIM wire operation authorizes `scim-provision(org)` first, so `org_id` here is always the org that proof resolved. ASCII only: multibyte characters shift sqlite statement offsets.
func (*Queries) CreateSCIMGroup ¶
func (q *Queries) CreateSCIMGroup(ctx context.Context, arg CreateSCIMGroupParams) error
func (*Queries) CreateSCIMMapping ¶
func (q *Queries) CreateSCIMMapping(ctx context.Context, arg CreateSCIMMappingParams) error
func (*Queries) CreateSCIMUser ¶
func (q *Queries) CreateSCIMUser(ctx context.Context, arg CreateSCIMUserParams) error
func (*Queries) CreateSelfConfigBinding ¶
func (q *Queries) CreateSelfConfigBinding(ctx context.Context, arg CreateSelfConfigBindingParams) (int64, error)
hikyo:instance-scoped
func (*Queries) DeleteAccessGrantsForRequest ¶
func (q *Queries) DeleteAccessGrantsForRequest(ctx context.Context, arg DeleteAccessGrantsForRequestParams) (int64, error)
Revocation and expiry release a request's rows together. hikyo:authn-resolution
func (*Queries) DeleteAccessPolicy ¶
func (*Queries) DeleteAccessPolicyApprovers ¶
func (*Queries) DeleteAccessPolicyBypassers ¶
func (*Queries) DeleteAllScanningDismissals ¶
DeleteAllScanningDismissals drops every dismissal instance-wide: fingerprint rotation replaces the scanning key, so every stored fingerprint is now unrecomputable and must die (re-fire, the safe direction). Cross-tenant by definition: the operator rotation surface, annotated and pinned. hikyo:instance-scoped
func (*Queries) DeleteApprovalPolicy ¶
func (*Queries) DeleteApprovalPolicyApprovers ¶
func (*Queries) DeleteApprovalPolicyBypassers ¶
func (*Queries) DeleteCollectedSnapshotEntries ¶
func (q *Queries) DeleteCollectedSnapshotEntries(ctx context.Context, snapshotID string) (int64, error)
hikyo:instance-scoped
func (*Queries) DeleteDeliveryTargetReport ¶
func (*Queries) DeleteEnvironment ¶
func (*Queries) DeleteEnvironmentPresence ¶
func (q *Queries) DeleteEnvironmentPresence(ctx context.Context, arg DeleteEnvironmentPresenceParams) error
DeleteEnvironmentPresence is the environment-lifecycle cascade: deleting an environment removes its id from every explicit presence set IN THE SAME TRANSACTION (schema-model ADR section Presence). Zero rows is ordinary.
func (*Queries) DeleteExpiredSAMLReplay ¶
hikyo:authn-resolution
func (*Queries) DeleteExpiredUnconsumedWebAuthnCeremonies ¶
func (q *Queries) DeleteExpiredUnconsumedWebAuthnCeremonies(ctx context.Context, expiresAt string) (int64, error)
Expired, unconsumed challenges have no provenance value and cannot be referenced by a session or reauthentication window. Remove them before creating the next ceremony so sustained starts cannot grow storage forever. hikyo:reason Pre-auth issuance retires only expired unconsumed proofs; no live credential or tenant authority changes. hikyo:authn-resolution
func (*Queries) DeleteExpiredWorkspaceHandoffs ¶
func (q *Queries) DeleteExpiredWorkspaceHandoffs(ctx context.Context, expiresAt string) (int64, error)
Expired transactions are swept opportunistically at issuance rather than by a poller: the ADR forbids a background job framework, and a transaction that has expired is refused by the caller's own clock check whether or not the row is still there. This keeps the table from growing without bound. hikyo:authn-resolution
func (*Queries) DeleteExternalIdentity ¶
hikyo:authn-resolution
func (*Queries) DeleteFederationIssuer ¶
hikyo:authn-resolution
func (*Queries) DeleteFileTarget ¶
func (*Queries) DeleteFileTargetKeys ¶
func (q *Queries) DeleteFileTargetKeys(ctx context.Context, arg DeleteFileTargetKeysParams) error
func (*Queries) DeleteFolder ¶
func (*Queries) DeleteGrantOrigin ¶
func (q *Queries) DeleteGrantOrigin(ctx context.Context, arg DeleteGrantOriginParams) (int64, error)
Releasing one origin. The grant row survives while another origin holds it; only the last release deletes the row (permission-model ADR, scim amendment (a)). hikyo:authn-resolution
func (*Queries) DeleteGrantOriginsForPrincipal ¶
func (q *Queries) DeleteGrantOriginsForPrincipal(ctx context.Context, principalID string) (int64, error)
Deleting a service account releases its grants in the same transaction. The origin rows go first (the FK is RESTRICT, deliberately), then the grants themselves. hikyo:authn-resolution
func (*Queries) DeleteGrantRow ¶
hikyo:authn-resolution
func (*Queries) DeleteGrantsForPrincipal ¶
hikyo:authn-resolution
func (*Queries) DeleteKeyGroup ¶
func (*Queries) DeleteKeyPresence ¶
func (q *Queries) DeleteKeyPresence(ctx context.Context, arg DeleteKeyPresenceParams) error
DeleteKeyPresence clears one key's explicit sets so a declaration save can rewrite them whole. Zero rows is the ordinary case (a key whose modes were never `explicit`), so this is :exec.
func (*Queries) DeleteMachineCredentials ¶
func (q *Queries) DeleteMachineCredentials(ctx context.Context, serviceAccountID string) (int64, error)
The deleted service account's credential rows. The revoke ran first, so the trail records the transition before the rows stop existing. hikyo:authn-resolution
func (*Queries) DeleteOAuth2Provider ¶
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) DeleteOIDCProvider ¶
hikyo:authn-resolution
func (*Queries) DeleteOriginlessGrantsForPrincipal ¶
func (q *Queries) DeleteOriginlessGrantsForPrincipal(ctx context.Context, principalID string) (int64, error)
A row whose only restored origins were `scim` is not re-activated: with its last origin gone the grant row goes too, which is the same arithmetic every other origin release performs. A row that also carried a `manual` origin survives on that origin alone, which is what "the commit covers manual origins only" means in the affirmative. hikyo:authn-resolution
func (*Queries) DeletePendingChangeByID ¶
func (*Queries) DeletePendingChangeForCell ¶
func (q *Queries) DeletePendingChangeForCell(ctx context.Context, arg DeletePendingChangeForCellParams) (int64, error)
DeletePendingChangeForCell collects the superseded version. Editing a cell mints a new version id rather than mutating the old row, and the old row is removed in the same transaction: only the latest version per (owner, key, environment) is publishable, so keeping the predecessor would store draft material nothing may ever publish.
func (*Queries) DeletePendingChangesForEnvironment ¶
func (*Queries) DeletePendingChangesForKey ¶
func (q *Queries) DeletePendingChangesForKey(ctx context.Context, arg DeletePendingChangesForKeyParams) (int64, error)
DeletePendingChangesForKey is the key-delete cascade: deleting a key invalidates every pending change referencing it, so a publish naming one of those versions is refused loudly instead of resurrecting a key the schema no longer declares.
func (*Queries) DeletePendingLoginChallengesForPrincipal ¶
func (q *Queries) DeletePendingLoginChallengesForPrincipal(ctx context.Context, principalID string) error
hikyo:reason Principal-generation revocation retires only unconsumed password proofs for the exact principal whose account security changed. hikyo:authn-resolution
func (*Queries) DeletePendingTOTPForAccount ¶
hikyo:authn-resolution
func (*Queries) DeletePendingWorkspaceHandoffsForPrincipal ¶
func (q *Queries) DeletePendingWorkspaceHandoffsForPrincipal(ctx context.Context, principalID sql.NullString) error
hikyo:reason Principal-generation revocation retires only unconsumed approvals by the exact principal; consumed handoffs retain session provenance. hikyo:authn-resolution
func (*Queries) DeletePinGenerationsForPrincipal ¶
func (q *Queries) DeletePinGenerationsForPrincipal(ctx context.Context, principalID string) (int64, error)
hikyo:authn-resolution
func (*Queries) DeletePrincipal ¶
hikyo:authn-resolution
func (*Queries) DeleteProject ¶
func (*Queries) DeleteProjectDefinitionsPlans ¶
func (q *Queries) DeleteProjectDefinitionsPlans(ctx context.Context, arg DeleteProjectDefinitionsPlansParams) error
DeleteProjectDefinitionsPlans removes project-owned plan/provenance state only inside the authorized project deletion transaction. Tenant audit is independent and retained. If content still blocks deletion, rollback keeps every plan, including applied provenance; there is no standalone purge API.
func (*Queries) DeleteProjectSchemaRevision ¶
func (q *Queries) DeleteProjectSchemaRevision(ctx context.Context, arg DeleteProjectSchemaRevisionParams) error
DeleteProjectSchemaRevision runs inside projects.Delete, ahead of the project row it references. A project delete refuses while the project still holds keys or groups (their foreign keys say so); the revision row is not content, it is the project's own counter, so it goes with the project rather than standing in the way of deleting an empty one.
func (*Queries) DeleteReauthWindowsForEnvironment ¶
func (q *Queries) DeleteReauthWindowsForEnvironment(ctx context.Context, environmentID string) (int64, error)
Invalidate every open window on one environment: the first of LowerEffective Window's five ADR items on the effective-window transition (#54 B6). hikyo:authn-resolution
func (*Queries) DeleteRegistrationPolicy ¶
func (q *Queries) DeleteRegistrationPolicy(ctx context.Context, arg DeleteRegistrationPolicyParams) (int64, error)
hikyo:authn-resolution
func (*Queries) DeleteRegistrationPolicyDomains ¶
hikyo:authn-resolution
func (*Queries) DeleteRegistrationPolicyEntries ¶
hikyo:authn-resolution
func (*Queries) DeleteRegistrationPolicyEntryValues ¶
hikyo:authn-resolution
func (*Queries) DeleteRegistrationSignup ¶
hikyo:authn-resolution
func (*Queries) DeleteRemote ¶
Removal destroys the credential and the snapshot with the entry (the snapshot by ON DELETE CASCADE). It does NOT revoke anything on the serving side, and the CLI says so every time. hikyo:instance-scoped
func (*Queries) DeleteRestoredRemotes ¶
hikyo:reason Authorized restore removes archive-controlled remote-instance trust and credentials across the instance. hikyo:authn-resolution
func (*Queries) DeleteRetiringSAMLSPKey ¶
Erasing a retired key deletes both ciphertext and certificate row. hikyo:authn-resolution
func (*Queries) DeleteRevisionKeyChangesForEnvironment ¶
func (*Queries) DeleteRevisionPin ¶
func (*Queries) DeleteRevisionPinsForEnvironment ¶
func (*Queries) DeleteRuleItem ¶
hikyo:authn-resolution
func (*Queries) DeleteRuleItems ¶
hikyo:authn-resolution
func (*Queries) DeleteRuleRow ¶
hikyo:authn-resolution
func (*Queries) DeleteSAMLProvider ¶
hikyo:authn-resolution
func (*Queries) DeleteSCIMAttentionForBinding ¶
func (*Queries) DeleteSCIMBinding ¶
func (*Queries) DeleteSCIMCredentialsForBinding ¶
func (q *Queries) DeleteSCIMCredentialsForBinding(ctx context.Context, arg DeleteSCIMCredentialsForBindingParams) error
hikyo:authn-resolution
func (*Queries) DeleteSCIMGroup ¶
func (*Queries) DeleteSCIMGroupMember ¶
func (*Queries) DeleteSCIMGroupMembersForBinding ¶
func (*Queries) DeleteSCIMGroupMembershipsForUser ¶
func (q *Queries) DeleteSCIMGroupMembershipsForUser(ctx context.Context, arg DeleteSCIMGroupMembershipsForUserParams) (int64, error)
DELETE removes every member reference to the user IN THE SAME TRANSACTION (ADR section 5.3), so a stale reference cannot exist after it.
func (*Queries) DeleteSCIMGroupsForBinding ¶
func (*Queries) DeleteSCIMMapping ¶
func (*Queries) DeleteSCIMMappingsForBinding ¶
func (*Queries) DeleteSCIMUser ¶
func (*Queries) DeleteSCIMUsersForBinding ¶
func (*Queries) DeleteScanningDismissalsForKey ¶
func (q *Queries) DeleteScanningDismissalsForKey(ctx context.Context, arg DeleteScanningDismissalsForKeyParams) (int64, error)
DeleteScanningDismissalsForKey drops one key's dismissals across every environment: reclassification to secret makes them moot, and key deletion needs them gone before the composite FK will let the key row go.
func (*Queries) DeleteScanningDismissalsForProject ¶
func (q *Queries) DeleteScanningDismissalsForProject(ctx context.Context, arg DeleteScanningDismissalsForProjectParams) (int64, error)
DeleteScanningDismissalsForProject removes a project's dismissals: the ADR's literal "project deletion removes the project's dismissal rows".
func (*Queries) DeleteSecretValueOccurrencesForEnvironment ¶
func (*Queries) DeleteSelfConfigNodes ¶
hikyo:instance-scoped
func (*Queries) DeleteSelfConfigRetention ¶
hikyo:instance-scoped
func (*Queries) DeleteServiceAccount ¶
func (q *Queries) DeleteServiceAccount(ctx context.Context, arg DeleteServiceAccountParams) (int64, error)
Deleting a service account revokes every credential and every grant in one transaction (#15's atomic revocation); this is the last statement of that sequence, so the FK from machine_credentials is already satisfied. hikyo:authn-resolution
func (*Queries) DeleteSession ¶
hikyo:authn-resolution
func (*Queries) DeleteSessionForPrincipal ¶
func (q *Queries) DeleteSessionForPrincipal(ctx context.Context, arg DeleteSessionForPrincipalParams) (int64, error)
Self-scoped revocation: the principal conjunct is what makes one caller unable to revoke another's session by guessing an id, and it is why the statement reports rows affected rather than succeeding silently. hikyo:authn-resolution
func (*Queries) DeleteSessionsForOAuth2Provider ¶
func (q *Queries) DeleteSessionsForOAuth2Provider(ctx context.Context, oauth2ProviderID sql.NullString) (int64, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) DeleteSessionsForOrigin ¶
func (q *Queries) DeleteSessionsForOrigin(ctx context.Context, requestingOrigin sql.NullString) (int64, error)
The origin kill switch (#71). Removing an origin from the allowlist atomically revokes every workspace session bound to it -- ONE statement over one indexed column, in the same transaction as the allowlist delete, which is what makes de-allowlisting a real kill switch rather than a headers change. Only workspace rows carry a requesting_origin, so no cli or browser session can be caught by it. hikyo:authn-resolution
func (*Queries) DeleteSessionsForPrincipal ¶
Every session of the principal dies, atomically and without reaching the client - the invalidation that token rotation structurally cannot do. hikyo:authn-resolution
func (*Queries) DeleteSessionsForProvider ¶
func (q *Queries) DeleteSessionsForProvider(ctx context.Context, providerID sql.NullString) (int64, error)
The federated-session sweep (A4): every session minted through a provider dies when the provider's issuer/client/assurance policy changes or the provider is disabled or deleted. reauth_windows cascade from the session. hikyo:authn-resolution
func (*Queries) DeleteSessionsForSAMLProvider ¶
func (q *Queries) DeleteSessionsForSAMLProvider(ctx context.Context, samlProviderID sql.NullString) (int64, error)
hikyo:authn-resolution
func (*Queries) DeleteSessionsForWebAuthnCredential ¶
func (q *Queries) DeleteSessionsForWebAuthnCredential(ctx context.Context, credentialID sql.NullString) (int64, error)
The clone session sweep (B9): every session a passkey login minted through a given credential dies when that credential is found cloned. A session traces to its credential through the ceremony it was minted from (sessions.ceremony_id -> webauthn_ceremonies.credential_id). hikyo:authn-resolution
func (*Queries) DeleteSnapshotEntriesForEnvironment ¶
func (*Queries) DeleteSnapshotsForEnvironment ¶
func (*Queries) DeleteTOTPForAccount ¶
hikyo:authn-resolution
func (*Queries) DeleteValueEntriesForEnvironment ¶
func (q *Queries) DeleteValueEntriesForEnvironment(ctx context.Context, arg DeleteValueEntriesForEnvironmentParams) (int64, error)
DeleteValueEntriesForEnvironment cascades an environment's whole set out when the environment itself is deleted: the values cannot outlive the only thing they attach to, and the composite foreign key would refuse the delete while they existed.
func (*Queries) DeleteValueEntriesForKey ¶
func (q *Queries) DeleteValueEntriesForKey(ctx context.Context, arg DeleteValueEntriesForKeyParams) (int64, error)
DeleteValueEntriesForKey removes a key's live occurrences across every environment under a PROJECT proof (key_id is an ordinary column) - the definitions-apply key-delete path clears them so the composite foreign key does not refuse the catalogue delete, exactly as an environment delete clears its own set (#70).
func (*Queries) DeleteValueEntry ¶
func (*Queries) DeleteWebAuthnCredential ¶
func (q *Queries) DeleteWebAuthnCredential(ctx context.Context, arg DeleteWebAuthnCredentialParams) (int64, error)
De-enrolment under an account_id predicate (defence in depth): even if the service-layer ownership check regresses, the DELETE cannot touch a row another account owns, and zero affected rows is the caller's fail-closed refusal. hikyo:authn-resolution
func (*Queries) DeleteWorkspaceOrigin ¶
Removal is the kill switch's first half; DeleteSessionsForOrigin is the second, and the two run in ONE transaction so no window exists in which the origin is de-allowlisted but its sessions still authenticate. hikyo:authn-resolution
func (*Queries) DemoteActiveTier3ToRetiring ¶
func (q *Queries) DemoteActiveTier3ToRetiring(ctx context.Context, arg DemoteActiveTier3ToRetiringParams) (int64, error)
DemoteActiveTier3ToRetiring is `rotate-dek`'s first half: the outgoing active version steps down to 'retiring' -- no longer written, still openable until reencrypt moves its ciphertext -- so the new active can take the one-active index slot. Compare-and-swap on the predecessor version: zero rows means a concurrent rotation already moved the active, and the caller must refuse.
func (*Queries) DeveloperCredentialByVerifier ¶
func (q *Queries) DeveloperCredentialByVerifier(ctx context.Context, verifier []byte) (DeveloperCredential, error)
hikyo:reason Authentication resolves the presented verifier before any authorization proof can exist. hikyo:authn-resolution
func (*Queries) DeveloperMaxCredentialEpoch ¶
Developer credentials arrive in 00074. Restore reads this only when the archive catalog contains the table, before migration roll-forward. hikyo:reason restore must outrun every attacker-controlled developer credential epoch stamp hikyo:authn-resolution
func (*Queries) DisableWebAuthnCredential ¶
func (q *Queries) DisableWebAuthnCredential(ctx context.Context, arg DisableWebAuthnCredentialParams) (int64, error)
The clone response (B9): a real sign-count regression on a non-backup credential disables it. Re-enable is an account-security mutation. hikyo:authn-resolution
func (*Queries) DropRestoredSCIMOrigins ¶
The operator's commit covers `manual` origins ONLY (#73, scim-provisioning ADR section 9.1). A restored `scim` origin is a claim about what an identity provider asserted BEFORE the backup was taken, and the whole point of the rule is that the restore must not re-activate it: the IdP's own next re-assertion recreates SCIM origins from live truth, so a user it no longer asserts is never re-authorized, not even for a window.
`structural` and `lockout-retention` survive deliberately. A structural origin holds a provisioning connection's own grant and is created with the binding, not by the identity provider, so nothing would ever recreate it; a retention exists precisely to keep an org administrable, and dropping it at restore would lock out the org the moment it most needs administering.
ARCHIVED, not merely `scim`. The reconciliation commit refuses archived truth; it does not get to destroy LIVE truth. A restore leaves every principal inert, but the operator reconciles the binding's provisioning connection first (that is the only way the wire comes back), so the identity provider's next cycle can assert something new about a user who is still unreconciled. Those origins are current truth. Filtering on kind and principal alone dropped them with the archived ones, and the originless cleanup below then deleted grants the IdP was asserting right then -- access lost until the next cycle, roughly forty minutes later, for a user whose authority never lapsed.
Provenance is `created_at` against `auth_instance_state.reactivated_at`, the instant the restored instance came back. It is #76's own anchor, used the same way the machine-identities ADR uses it for the federated `iat` floor: a row stamped at or before the restore came out of the archive, a row stamped after it was written by this instance since. NULL means this datastore was never restored, the comparison is NULL, and the statement matches nothing -- which is right, because a reconciliation with no restore behind it has no archived rows to refuse. The boundary is `<=` rather than `<` so an ambiguous stamp is treated as ARCHIVED: dropping a live origin costs one IdP cycle, re-activating an archived one is the security failure this rule exists to prevent. hikyo:authn-resolution
func (*Queries) DynamicActiveLeaseIDsForProvider ¶
func (q *Queries) DynamicActiveLeaseIDsForProvider(ctx context.Context, arg DynamicActiveLeaseIDsForProviderParams) ([]DynamicActiveLeaseIDsForProviderRow, error)
func (*Queries) DynamicCreateLease ¶
func (*Queries) DynamicCreateProvider ¶
func (*Queries) DynamicDeleteProvider ¶
func (*Queries) DynamicEnqueueRenewing ¶
func (*Queries) DynamicEnqueueRenewingWithTTL ¶
func (*Queries) DynamicEnqueueRevoking ¶
func (*Queries) DynamicEnqueueRevokingWithTTL ¶
func (*Queries) DynamicEnqueueUnknown ¶
func (*Queries) DynamicEnqueueUnknownWithTTL ¶
func (*Queries) DynamicFinishMint ¶
func (*Queries) DynamicGetLease ¶
func (q *Queries) DynamicGetLease(ctx context.Context, arg DynamicGetLeaseParams) (DynamicGetLeaseRow, error)
func (*Queries) DynamicGetProvider ¶
func (q *Queries) DynamicGetProvider(ctx context.Context, arg DynamicGetProviderParams) (DynamicGetProviderRow, error)
func (*Queries) DynamicListLeasesForEnvironment ¶
func (q *Queries) DynamicListLeasesForEnvironment(ctx context.Context, arg DynamicListLeasesForEnvironmentParams) ([]DynamicListLeasesForEnvironmentRow, error)
func (*Queries) DynamicListProviders ¶
func (q *Queries) DynamicListProviders(ctx context.Context, arg DynamicListProvidersParams) ([]DynamicListProvidersRow, error)
func (*Queries) DynamicListProvidersForReencrypt ¶
func (q *Queries) DynamicListProvidersForReencrypt(ctx context.Context, arg DynamicListProvidersForReencryptParams) ([]DynamicListProvidersForReencryptRow, error)
func (*Queries) DynamicProviderCredentialCiphertext ¶
func (*Queries) DynamicReencryptProvider ¶
func (*Queries) DynamicReplaceProviderCredential ¶
func (*Queries) DynamicRevokeProviderCredential ¶
func (*Queries) EnterSCIMAttention ¶
func (*Queries) EnvironmentChainByID ¶
func (q *Queries) EnvironmentChainByID(ctx context.Context, id string) (EnvironmentChainByIDRow, error)
Resolve an environment's chain from its id alone, for LowerEffectiveWindow's stranded-principal query (#54 B6): the denormalized chain columns make the row self-describing, so the grant-coverage predicate can be built from an env id. hikyo:authn-resolution
func (*Queries) EnvironmentReauthSettings ¶
func (q *Queries) EnvironmentReauthSettings(ctx context.Context, id string) (EnvironmentReauthSettingsRow, error)
The reveal guard reads the environment's own protection state and window. It is a resolution read, not a store read: the reauthentication machinery runs beside session resolution, before any operation proof exists. hikyo:authn-resolution
func (*Queries) FederatedBindingByIdentity ¶
func (q *Queries) FederatedBindingByIdentity(ctx context.Context, arg FederatedBindingByIdentityParams) (FederatedBindingByIdentityRow, error)
Federated authentication's single indexed read, over the LIVE-ROW partial unique index. `(issuer_id, subject)` is the whole predicate and the match is byte-exact: no wildcards, no namespace patterns, no path prefixes, no case folding. An unbound identity resolves to nothing, which is not a login.
Like the verifier read it returns the row unconditionally rather than filtering on liveness beyond the index predicate, so the caller evaluates every remaining predicate after a fixed number of reads. hikyo:authn-resolution
func (*Queries) FederationIssuerByID ¶
hikyo:authn-resolution
func (*Queries) FederationIssuerByIssuer ¶
func (q *Queries) FederationIssuerByIssuer(ctx context.Context, issuer string) (FederationIssuer, error)
The BYTE-EXACT issuer lookup. There is no LOWER(), no TRIM() and no URL normalization anywhere on this path: `iss` is case-sensitive by specification, so folding it here would merge two distinct external issuers into one configuration -- and the UNIQUE index would enforce the merge rather than catch it. hikyo:authn-resolution
func (*Queries) FenceSelfConfigRestored ¶
func (q *Queries) FenceSelfConfigRestored(ctx context.Context, arg FenceSelfConfigRestoredParams) (int64, error)
hikyo:instance-scoped
func (*Queries) FenceSelfConfigTopologyLease ¶
hikyo:instance-scoped
func (*Queries) GetAccessPolicy ¶
func (q *Queries) GetAccessPolicy(ctx context.Context, arg GetAccessPolicyParams) (AccessPolicy, error)
func (*Queries) GetAccessPolicyBypasser ¶
func (*Queries) GetAccessPolicyForEnvironment ¶
func (q *Queries) GetAccessPolicyForEnvironment(ctx context.Context, arg GetAccessPolicyForEnvironmentParams) (AccessPolicy, error)
GetAccessPolicyForEnvironment is the coverage lookup: the service asks for the concrete environment first, then ” for the project-wide policy. Disabled policies are returned too; the service refuses on them by name.
func (*Queries) GetAccessRequest ¶
func (q *Queries) GetAccessRequest(ctx context.Context, arg GetAccessRequestParams) (AccessRequest, error)
func (*Queries) GetAccessVote ¶
func (q *Queries) GetAccessVote(ctx context.Context, arg GetAccessVoteParams) (AccessVote, error)
func (*Queries) GetAccountByEmail ¶
func (q *Queries) GetAccountByEmail(ctx context.Context, email sql.NullString) (GetAccountByEmailRow, error)
hikyo:reason Local login resolves a canonical verified address only to an active principal, never as a federated linking key. hikyo:authn-resolution
func (*Queries) GetAccountByID ¶
hikyo:authn-resolution
func (*Queries) GetAccountByPrincipal ¶
func (q *Queries) GetAccountByPrincipal(ctx context.Context, principalID string) (GetAccountByPrincipalRow, error)
hikyo:authn-resolution
func (*Queries) GetAccountByUsername ¶
func (q *Queries) GetAccountByUsername(ctx context.Context, username string) (GetAccountByUsernameRow, error)
hikyo:authn-resolution
func (*Queries) GetAccountByWebAuthnUserHandle ¶
func (q *Queries) GetAccountByWebAuthnUserHandle(ctx context.Context, webauthnUserHandle []byte) (GetAccountByWebAuthnUserHandleRow, error)
WebAuthn / passkeys (#54, human-auth ADR -- WebAuthn relying-party policy, Passkey login). These read and write the credential, ceremony and user-handle rows that decide who a caller is and how strongly they authenticated: the resolution surface, proof-free, for the same reason the OIDC and factor writers are. Every write below is enumerated in lint.ResolutionSurfaceWriters. The discoverable-login resolver: an assertion carries only the opaque user handle, which resolves to exactly one account (partial UNIQUE index). hikyo:authn-resolution
func (*Queries) GetAccountProfile ¶
func (q *Queries) GetAccountProfile(ctx context.Context, accountID string) (GetAccountProfileRow, error)
The authenticated account owns these fields. SCIM ownership is only a boolean projection, never disclosure of another organisation's provisioning data. hikyo:authn-resolution
func (*Queries) GetActiveMasterKeys ¶
func (*Queries) GetActiveSAMLSPKey ¶
hikyo:authn-resolution
func (*Queries) GetActiveTier3Key ¶
func (*Queries) GetActiveTokenKeyForReceipt ¶
func (*Queries) GetApprovalPolicy ¶
func (q *Queries) GetApprovalPolicy(ctx context.Context, arg GetApprovalPolicyParams) (ApprovalPolicy, error)
func (*Queries) GetApprovalPolicyBypasser ¶
func (q *Queries) GetApprovalPolicyBypasser(ctx context.Context, arg GetApprovalPolicyBypasserParams) (string, error)
GetApprovalPolicyBypasser reports whether one principal is a named bypasser of one policy. Absence is sql.ErrNoRows.
func (*Queries) GetApprovalPolicyForEnvironment ¶
func (q *Queries) GetApprovalPolicyForEnvironment(ctx context.Context, arg GetApprovalPolicyForEnvironmentParams) (ApprovalPolicy, error)
GetApprovalPolicyForEnvironment is the coverage lookup. The service calls it with the concrete environment first, then with ” for the project-wide default: a concrete-environment policy beats the project-wide one. `enabled` is a bound parameter (always the true value) so the predicate analyzer sees a column-OP-param shape rather than a literal.
func (*Queries) GetApprovalRequest ¶
func (q *Queries) GetApprovalRequest(ctx context.Context, arg GetApprovalRequestParams) (ApprovalRequest, error)
func (*Queries) GetApprovalVote ¶
func (q *Queries) GetApprovalVote(ctx context.Context, arg GetApprovalVoteParams) (ApprovalVote, error)
GetApprovalVote returns one approver's existing vote on one request, so a repeated identical decision is idempotent and a conflicting one is refused.
func (*Queries) GetAuditRetentionPolicy ¶
func (q *Queries) GetAuditRetentionPolicy(ctx context.Context) (GetAuditRetentionPolicyRow, error)
hikyo:instance-scoped
func (*Queries) GetBackupState ¶
func (q *Queries) GetBackupState(ctx context.Context) (GetBackupStateRow, error)
backup_state is the single-row disaster-recovery health record (#145). Every statement here addresses no tenant: the row is instance operational state, so each query is annotated instance-scoped and content-pinned. hikyo:instance-scoped
func (*Queries) GetConfirmedTOTPForAccount ¶
func (q *Queries) GetConfirmedTOTPForAccount(ctx context.Context, accountID string) (TotpCredential, error)
Factors (#54, human-auth ADR). TOTP, recovery codes and the session-rotation writers join the enumerated resolution surface for the same reason the login writers did: they mutate the artifacts that decide how strongly a caller authenticated, which is resolved rather than authorized. hikyo:authn-resolution
func (*Queries) GetCredentialAuthorityByID ¶
func (q *Queries) GetCredentialAuthorityByID(ctx context.Context, id string) (CredentialAuthority, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) GetCredentialAuthorityByVerifier ¶
func (q *Queries) GetCredentialAuthorityByVerifier(ctx context.Context, verifier []byte) (GetCredentialAuthorityByVerifierRow, error)
hikyo:authn-resolution
func (*Queries) GetCredentialEpoch ¶
Human authentication (#47, human-auth ADR). These live in the resolution surface for the same reason chain resolution does: deciding WHO a caller is cannot run under a proof, because the proof is what the answer produces. The write paths below are enumerated and pinned; anything else that mutates inside this surface fails the sole-writer analyzer. hikyo:authn-resolution
func (*Queries) GetCredentialEstablish ¶
func (q *Queries) GetCredentialEstablish(ctx context.Context, arg GetCredentialEstablishParams) (GetCredentialEstablishRow, error)
hikyo:reason Account-security credential creation reads only the acting session's purpose-bound establish stamp; service rechecks its principal, expiry and live no-local-proof precondition inside the write transaction. hikyo:authn-resolution
func (*Queries) GetCredentialPolicy ¶
func (q *Queries) GetCredentialPolicy(ctx context.Context) (GetCredentialPolicyRow, error)
hikyo:authn-resolution
func (*Queries) GetDeliveryTargetReport ¶
func (q *Queries) GetDeliveryTargetReport(ctx context.Context, arg GetDeliveryTargetReportParams) (DeliveryTargetReport, error)
Delivery-target condition reporting (#788, k8s-condition-reporting ADR).
func (*Queries) GetDeveloperCredentialPolicy ¶
hikyo:reason Mint and policy tightening serialize on this shared instance policy before changing delegation authority. hikyo:authn-resolution
func (*Queries) GetEnabledProviderByIssuer ¶
func (q *Queries) GetEnabledProviderByIssuer(ctx context.Context, arg GetEnabledProviderByIssuerParams) (OidcProvider, error)
OIDC login/link/reauth resolution (#54, human-auth ADR -- The OIDC transaction). These read providers, transactions and external identities with request-supplied identifiers, and write the transaction/identity/session rows that decide who a caller is: the resolution surface, proof-free, for the same reason the login writers are. hikyo:authn-resolution
func (*Queries) GetEnabledProviderBySlug ¶
Start resolves the provider by slug for an enabled provider only: a login, link or reauth may only begin against a provider that is currently serving. hikyo:authn-resolution
func (*Queries) GetEnvironment ¶
func (q *Queries) GetEnvironment(ctx context.Context, arg GetEnvironmentParams) (GetEnvironmentRow, error)
func (*Queries) GetEnvironmentParameters ¶
func (*Queries) GetEnvironmentSettings ¶
func (q *Queries) GetEnvironmentSettings(ctx context.Context, arg GetEnvironmentSettingsParams) (GetEnvironmentSettingsRow, error)
Protected-environment flag and per-environment reauthentication window (#55, permission-model ADR - The reveal guard). Both live under `project-settings`; a NULL window means "inherit the instance default".
func (*Queries) GetExternalIdentity ¶
func (q *Queries) GetExternalIdentity(ctx context.Context, arg GetExternalIdentityParams) (ExternalIdentity, error)
hikyo:authn-resolution
func (*Queries) GetExternalIdentityByID ¶
hikyo:authn-resolution
func (*Queries) GetFileTarget ¶
func (q *Queries) GetFileTarget(ctx context.Context, arg GetFileTargetParams) (GetFileTargetRow, error)
func (*Queries) GetFileTargetForPrincipal ¶
func (q *Queries) GetFileTargetForPrincipal(ctx context.Context, arg GetFileTargetForPrincipalParams) (GetFileTargetForPrincipalRow, error)
func (*Queries) GetInstanceConnection ¶
func (q *Queries) GetInstanceConnection(ctx context.Context, id string) (GetInstanceConnectionRow, error)
hikyo:authn-resolution
func (*Queries) GetInstanceRegistrationPolicy ¶
func (q *Queries) GetInstanceRegistrationPolicy(ctx context.Context) (RegistrationPolicy, error)
hikyo:authn-resolution
func (*Queries) GetKeyGroup ¶
func (*Queries) GetKeyInProject ¶
GetKeyInProject resolves one key by id under the key.list authorization (StoreCatalogueList), so the MCP pending-change page can attach a page-bounded key name and classification without a JOIN or a whole-catalogue read.
func (*Queries) GetLastPruneSuccess ¶
hikyo:instance-scoped
func (*Queries) GetLatestAppliedPlan ¶
func (q *Queries) GetLatestAppliedPlan(ctx context.Context, arg GetLatestAppliedPlanParams) (DefinitionsPlan, error)
GetLatestAppliedPlan is the last-applied provenance record the settings view reads: the most recently applied plan for the project, or no row when none has ever been applied.
func (*Queries) GetLatestSelfConfigTopology ¶
hikyo:instance-scoped
func (*Queries) GetLatestSnapshot ¶
func (q *Queries) GetLatestSnapshot(ctx context.Context, arg GetLatestSnapshotParams) (Snapshot, error)
GetLatestSnapshot is the delivery-shaped read: a workload fetch defaults to the latest published snapshot for its (project, environment).
func (*Queries) GetLoginChallengeByID ¶
hikyo:authn-resolution
func (*Queries) GetOAuth2ProviderBySlug ¶
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) GetOAuth2ProviderForCallback ¶
func (q *Queries) GetOAuth2ProviderForCallback(ctx context.Context, id string) (Oauth2Provider, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) GetOAuth2TransactionByState ¶
func (q *Queries) GetOAuth2TransactionByState(ctx context.Context, stateVerifier []byte) (Oauth2Transaction, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) GetOIDCProviderBySlug ¶
hikyo:authn-resolution
func (*Queries) GetOIDCTransactionByState ¶
func (q *Queries) GetOIDCTransactionByState(ctx context.Context, stateVerifier []byte) (GetOIDCTransactionByStateRow, error)
hikyo:authn-resolution
func (*Queries) GetOpsDiagnostics ¶
func (q *Queries) GetOpsDiagnostics(ctx context.Context, arg GetOpsDiagnosticsParams) (GetOpsDiagnosticsRow, error)
Public instance-wide aggregate metadata. No tenant identities or key blobs. hikyo:instance-scoped
func (*Queries) GetOrgIdentity ¶
The org rail's identity lookup (#56). The caller's own org set is projected from their own grant rows, so there is no scope to authorize against and no proof to bind: the projection IS the authorization, and it can name only organisations the caller already holds a grant in. Identity only - an org's metadata and active flag are operator-set state and are read through the proof-gated GetOrg.
Not annotated, and it does not need to be: orgs is class=org chain=id, and the id equality is that chain as a top-level conjunct.
func (*Queries) GetOrgRegistrationPolicy ¶
func (q *Queries) GetOrgRegistrationPolicy(ctx context.Context, orgID sql.NullString) (RegistrationPolicy, error)
Registration policy (#606, social-signin spec section 2.1). The policy tables are class=authn: the policy decides whether an unknown identity may become an account, and the sign-up legs that read it (#607, #608) run before any principal exists, so every statement rides the proof-free, enumerated authn resolution surface. Administration is authorized at the chokepoint (registration-policy.*) before any writer here runs, exactly like provider administration. hikyo:authn-resolution
func (*Queries) GetPasswordCredential ¶
func (q *Queries) GetPasswordCredential(ctx context.Context, accountID string) (PasswordCredential, error)
hikyo:authn-resolution
func (*Queries) GetPendingTOTPForAccount ¶
func (q *Queries) GetPendingTOTPForAccount(ctx context.Context, accountID string) (TotpCredential, error)
hikyo:authn-resolution
func (*Queries) GetPinGeneration ¶
The pin generation the conditional cursor is bound to. An ABSENT row is generation 0 -- the truthful "this principal has never had a pin here" -- so the read tolerates no row rather than the caller materialising one. hikyo:authn-resolution
func (*Queries) GetPlan ¶
func (q *Queries) GetPlan(ctx context.Context, arg GetPlanParams) (DefinitionsPlan, error)
func (*Queries) GetPrincipalClass ¶
The machine allowlists key on the principal's class; kind discriminates human from machine. An unclassified machine principal fails closed in Go. hikyo:authn-resolution
func (*Queries) GetPrincipalGeneration ¶
hikyo:authn-resolution
func (*Queries) GetPrincipalKind ¶
The denial writer's actor-class lookup (#45, audit-model ADR amendment part 4): the flush transaction resolves the denied principal's kind for the event's actor class. Runs only inside authn.WriteDenial. hikyo:authn-resolution
func (*Queries) GetProject ¶
func (q *Queries) GetProject(ctx context.Context, arg GetProjectParams) (GetProjectRow, error)
Keep ordinary metadata reads compatible with pre-capacity recovery schemas. Capacity policy is read through its separate proof-gated query below.
func (*Queries) GetProjectCapacity ¶
func (q *Queries) GetProjectCapacity(ctx context.Context, arg GetProjectCapacityParams) (GetProjectCapacityRow, error)
func (*Queries) GetProjectSchemaRevision ¶
func (*Queries) GetProviderForCallback ¶
The recorded provider a callback exchanges at (A11): loaded by the id the transaction pinned, so the exchange happens only at that provider. hikyo:authn-resolution
func (*Queries) GetReauthWindow ¶
func (q *Queries) GetReauthWindow(ctx context.Context, arg GetReauthWindowParams) (ReauthWindow, error)
Reauth-window consumption at disclosure (#54, human-auth ADR - Reauthentication). A disclosure on environment E requires a live window for (session, E). These read the window, slide its sliding clock (never past the hard cap the service enforces), and claim a single_decision window exactly once via the consumed_at NULL guard. There is no reveal operation to call these yet (#50/#58); they ship as the library those verticals consume, exercised directly by fixtures. hikyo:authn-resolution
func (*Queries) GetRecoveryCodes ¶
hikyo:authn-resolution
func (*Queries) GetRegistrationSignupByEmail ¶
func (q *Queries) GetRegistrationSignupByEmail(ctx context.Context, email string) (RegistrationSignup, error)
hikyo:reason The admitted signup request resolves its canonical address to one pending signup row before issuing mail. hikyo:authn-resolution
func (*Queries) GetRegistrationSignupByVerifier ¶
func (q *Queries) GetRegistrationSignupByVerifier(ctx context.Context, tokenVerifier []byte) (RegistrationSignup, error)
hikyo:reason The signup ceremony resolves an opaque bearer verifier without exposing the pending row to authenticated callers. hikyo:authn-resolution
func (*Queries) GetRemoteByName ¶
hikyo:instance-scoped
func (*Queries) GetRemoteSnapshot ¶
hikyo:instance-scoped
func (*Queries) GetRestoreState ¶
func (q *Queries) GetRestoreState(ctx context.Context) (GetRestoreStateRow, error)
Restore reconciliation (#76, ops spec section 11). All four run under local host authority: after a restore every session is dead and every grant inert, so there is no principal who could authorize a network call to undo that. hikyo:authn-resolution
func (*Queries) GetRevisionPinForWorkload ¶
func (q *Queries) GetRevisionPinForWorkload(ctx context.Context, arg GetRevisionPinForWorkloadParams) (RevisionPin, error)
func (*Queries) GetRule ¶
One rule with its items, ungated: revocation and pruning act on the stored row whatever state its principal is in. hikyo:authn-resolution
func (*Queries) GetSAMLProviderBySlug ¶
hikyo:authn-resolution
func (*Queries) GetSAMLProviderForCallback ¶
hikyo:authn-resolution
func (*Queries) GetSAMLTransactionByRelayState ¶
func (q *Queries) GetSAMLTransactionByRelayState(ctx context.Context, relayStateVerifier []byte) (SamlTransaction, error)
RelayState is the pre-validation lookup key: it resolves the expected request/provider before the signed response is parsed and validated once. hikyo:authn-resolution
func (*Queries) GetSCIMBinding ¶
func (q *Queries) GetSCIMBinding(ctx context.Context, arg GetSCIMBindingParams) (ScimBinding, error)
func (*Queries) GetSCIMCredential ¶
func (q *Queries) GetSCIMCredential(ctx context.Context, arg GetSCIMCredentialParams) (GetSCIMCredentialRow, error)
hikyo:authn-resolution
func (*Queries) GetSCIMCredentialByVerifier ¶
func (q *Queries) GetSCIMCredentialByVerifier(ctx context.Context, verifier []byte) (ScimCredential, error)
Presentation resolves the verifier, never anything inside the value: kind, binding, expiry and epoch are read from the row (machine-identities ADR). hikyo:authn-resolution
func (*Queries) GetSCIMGroup ¶
func (*Queries) GetSCIMMapping ¶
func (q *Queries) GetSCIMMapping(ctx context.Context, arg GetSCIMMappingParams) (ScimMapping, error)
func (*Queries) GetSCIMUser ¶
func (*Queries) GetSCIMUserByAccount ¶
func (*Queries) GetSCIMUserBySubject ¶
func (*Queries) GetSCIMUserByUserName ¶
func (q *Queries) GetSCIMUserByUserName(ctx context.Context, arg GetSCIMUserByUserNameParams) (ScimUser, error)
The RFC 7643 caseExact:false lookup: userName compares case-insensitively, which is why the folded column exists rather than a LOWER() in the predicate.
func (*Queries) GetScanningDismissal ¶
func (q *Queries) GetScanningDismissal(ctx context.Context, arg GetScanningDismissalParams) (string, error)
GetScanningDismissal is the sticky-match lookup: a row for this exact (env, key, rule digest, fingerprint) means the value was accepted as-is and the warn must not re-fire. The WHERE names the full UNIQUE tuple, so at most one row matches: no LIMIT needed, and a nested SELECT EXISTS is rejected by the predicate analyzer anyway. Absence is sql.ErrNoRows.
func (*Queries) GetSelfConfigBinding ¶
func (q *Queries) GetSelfConfigBinding(ctx context.Context) (SelfConfigBinding, error)
Every query is singleton owner-local metadata; no secret material lives here. hikyo:instance-scoped
func (*Queries) GetSelfConfigClock ¶
hikyo:instance-scoped
func (*Queries) GetSelfConfigJob ¶
hikyo:instance-scoped
func (*Queries) GetSelfConfigJobByKey ¶
func (q *Queries) GetSelfConfigJobByKey(ctx context.Context, idempotencyKey string) (SelfConfigJob, error)
hikyo:instance-scoped
func (*Queries) GetSelfConfigPreviousRevision ¶
hikyo:instance-scoped
func (*Queries) GetSelfConfigRollout ¶
func (q *Queries) GetSelfConfigRollout(ctx context.Context, jobID string) (SelfConfigRollout, error)
hikyo:instance-scoped
func (*Queries) GetServiceAccount ¶
func (q *Queries) GetServiceAccount(ctx context.Context, arg GetServiceAccountParams) (ServiceAccount, error)
The management read. It carries the full chain in its predicate even though the annotation exempts it: a caller authorized for one project must not be able to address another project's service account by id. hikyo:authn-resolution
func (*Queries) GetServiceAccountByID ¶
The authentication read. It resolves BY ID with no chain predicate, which is the one place that is correct: the id came from the credential row the presented verifier resolved to, not from a caller. hikyo:authn-resolution
func (*Queries) GetServiceAccountByPrincipal ¶
func (q *Queries) GetServiceAccountByPrincipal(ctx context.Context, principalID string) (ServiceAccount, error)
The OWNING project of a machine principal, read from the row that records it rather than inferred from the grants it already holds. A freshly created service account holds none, so an inference has nothing to say and would let its FIRST grant name any project in any org. hikyo:authn-resolution
func (*Queries) GetSessionByID ¶
hikyo:authn-resolution
func (*Queries) GetSessionByVerifier ¶
func (q *Queries) GetSessionByVerifier(ctx context.Context, verifier []byte) (GetSessionByVerifierRow, error)
hikyo:authn-resolution
func (*Queries) GetSnapshotByRevision ¶
func (*Queries) GetSnapshotParameterContract ¶
func (*Queries) GetTier3Versions ¶
func (q *Queries) GetTier3Versions(ctx context.Context, arg GetTier3VersionsParams) ([]Tier3Key, error)
GetTier3Versions returns every still-openable version of one scope's key -- the 'active' version new writes use plus every 'retiring' version whose ciphertext a reencrypt has not yet moved. 'retired' rows are excluded: a version reaches that state only when zero ciphertexts reference it, so loading it would unwrap key material nothing can open. Newest version first.
func (*Queries) GetValueEntry ¶
func (q *Queries) GetValueEntry(ctx context.Context, arg GetValueEntryParams) (ValueEntry, error)
The flat value model (#50). Tenant-scoped statements: the reserved chain_* parameters are bound by the store's binding layer from proof fields only - never from caller arguments; the SQL predicate analyzer enforces the conjunct shape.
`environment_id` is an ordinary column here rather than a chain column (see the migration): every environment-addressed statement below still binds it from the proof's resolved chain, and the two project-scoped statements at the bottom are the ones that must span environments.
There is no UPDATE. A value write is delete-then-insert with a FRESH row id, because the row id is bound into the ciphertext's AAD and an id bound into an AAD is immutable and never reused (encryption-model ADR).
func (*Queries) GetWebAuthnCeremonyByChallenge ¶
func (q *Queries) GetWebAuthnCeremonyByChallenge(ctx context.Context, challengeVerifier []byte) (WebauthnCeremony, error)
hikyo:authn-resolution
func (*Queries) GetWebAuthnCeremonyByID ¶
Resolve a ceremony by id for single-decision reauth-window consumption (#54): the window row carries only ceremony_id, so the enumerated-unit binding the ceremony pinned is read here and matched byte-exact against the disclosure unit. hikyo:authn-resolution
func (*Queries) GetWebAuthnCredentialByCredentialID ¶
func (q *Queries) GetWebAuthnCredentialByCredentialID(ctx context.Context, credentialID []byte) (WebauthnCredential, error)
The assertion resolver: the authenticator-chosen credential id maps to one row. hikyo:authn-resolution
func (*Queries) GetWebAuthnCredentialByID ¶
func (q *Queries) GetWebAuthnCredentialByID(ctx context.Context, id string) (WebauthnCredential, error)
hikyo:authn-resolution
func (*Queries) GetWebAuthnUserHandle ¶
hikyo:authn-resolution
func (*Queries) GetWorkspaceOrigin ¶
Exact match, no wildcards and no subdomain logic: the primary key IS the origin string, so an inexact entry is unrepresentable rather than merely discouraged. This is the read CORS and handoff issuance both consult. hikyo:authn-resolution
func (*Queries) GrantAccessRequest ¶
func (q *Queries) GrantAccessRequest(ctx context.Context, arg GrantAccessRequestParams) (int64, error)
GrantAccessRequest moves an OPEN request to granted with its absolute expiry. The state guard (always 'open', bound as a parameter so the predicate analyzer sees a column-OP-param shape) makes a racing decision lose rather than grant twice.
func (*Queries) GuardOAuth2ProviderForMint ¶
func (q *Queries) GuardOAuth2ProviderForMint(ctx context.Context, arg GuardOAuth2ProviderForMintParams) (int64, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) GuardOIDCProviderForMint ¶
func (q *Queries) GuardOIDCProviderForMint(ctx context.Context, arg GuardOIDCProviderForMintParams) (int64, error)
A phase-C mint (login/link/reauth) guards the pinned provider row against a concurrent reconfigure: a no-op CAS that takes the row lock. 0 rows affected means the provider was disabled, deleted, re-issued or row_version-bumped since Phase A, so the mint must refuse (the A4 sweep always wins the TOCTOU). A matching row takes the lock, so a concurrent provider-change UPDATE serializes behind it (and vice-versa: whichever commits first, the other's guard sees the bumped row_version and fails). The no-op never bumps row_version, so it never spuriously fails an administrator's reconfigure CAS. hikyo:authn-resolution
func (*Queries) GuardSAMLProviderForMint ¶
func (q *Queries) GuardSAMLProviderForMint(ctx context.Context, arg GuardSAMLProviderForMintParams) (int64, error)
hikyo:authn-resolution
func (*Queries) GuardSingletonLease ¶
func (q *Queries) GuardSingletonLease(ctx context.Context, arg GuardSingletonLeaseParams) (int64, error)
Installation-wide coordination. These tables carry no tenant chain. hikyo:reason Installation singleton leader fencing. Coordination admitted datastore transaction; no tenant row or tenant payload; preserves exact owner/name/fence and expiry predicates. GuardSingletonLease is root-owned scheduler transaction admission and retains database/process clocks. hikyo:instance-scoped
func (*Queries) HoldRestoredPKIIssuers ¶
A restore can resurrect certificates revoked after the backup was taken, so every restored CA issuer is held (no fresh certificate or CRL signing) until an operator reconciles revocations and releases the hold with `hikyo pki issuer release-hold` (#154, pki ADR D8). Existing CRLs remain readable. hikyo:authn-resolution
func (*Queries) InsertAccessGrant ¶
func (q *Queries) InsertAccessGrant(ctx context.Context, arg InsertAccessGrantParams) error
Approval-mediated temporary access (#152). The time-bound grant rows are on the resolution surface for the same reason `grants` is: authorize() reads them. The writers take the principal-row lock like every grant writer. hikyo:authn-resolution
func (*Queries) InsertAccessPolicy ¶
func (q *Queries) InsertAccessPolicy(ctx context.Context, arg InsertAccessPolicyParams) error
Approval-mediated temporary access (#152). ASCII ONLY: sqlc's sqlite path silently mis-slices statements containing non-ASCII.
Tenant-scoped statements bind org_id and project_id from the proof's resolved chain, never from caller arguments; environment_id is bound from the proof on the environment-addressed statements. Every statement is single-table so the predicate analyzer can prove tenant scoping; the installation-wide sweep and metric statements carry the instance-scoped annotation and are content-pinned instead.
No statement here updates a request's capabilities, duration, reason or pinned policy version: a request cannot expand once written.
func (*Queries) InsertAccessPolicyApprover ¶
func (q *Queries) InsertAccessPolicyApprover(ctx context.Context, arg InsertAccessPolicyApproverParams) error
func (*Queries) InsertAccessPolicyBypasser ¶
func (q *Queries) InsertAccessPolicyBypasser(ctx context.Context, arg InsertAccessPolicyBypasserParams) error
func (*Queries) InsertAccessRequest ¶
func (q *Queries) InsertAccessRequest(ctx context.Context, arg InsertAccessRequestParams) error
func (*Queries) InsertAccessVote ¶
func (q *Queries) InsertAccessVote(ctx context.Context, arg InsertAccessVoteParams) error
func (*Queries) InsertAccount ¶
func (q *Queries) InsertAccount(ctx context.Context, arg InsertAccountParams) error
hikyo:authn-resolution
func (*Queries) InsertApprovalPolicy ¶
func (q *Queries) InsertApprovalPolicy(ctx context.Context, arg InsertApprovalPolicyParams) error
Secret-change approvals (#151). ASCII ONLY: sqlc's sqlite path silently mis-slices statements containing non-ASCII.
Tenant-scoped statements bind org_id and project_id from the proof's resolved chain, never from caller arguments; environment_id is bound from the proof on the environment-addressed statements. Policy, request and vote identity and the vote decision are caller data. Every statement is single-table so the predicate analyzer (analyzer 2) can prove tenant scoping; the two installation-wide sweep statements carry the instance-scoped annotation and are content-pinned instead.
func (*Queries) InsertApprovalPolicyApprover ¶
func (q *Queries) InsertApprovalPolicyApprover(ctx context.Context, arg InsertApprovalPolicyApproverParams) error
func (*Queries) InsertApprovalPolicyBypasser ¶
func (q *Queries) InsertApprovalPolicyBypasser(ctx context.Context, arg InsertApprovalPolicyBypasserParams) error
func (*Queries) InsertApprovalRequest ¶
func (q *Queries) InsertApprovalRequest(ctx context.Context, arg InsertApprovalRequestParams) error
func (*Queries) InsertApprovalVote ¶
func (q *Queries) InsertApprovalVote(ctx context.Context, arg InsertApprovalVoteParams) error
func (*Queries) InsertCLILogin ¶
func (q *Queries) InsertCLILogin(ctx context.Context, arg InsertCLILoginParams) error
hikyo:reason pre-authentication login transport owns its state and code verifiers before a caller exists hikyo:authn-resolution
func (*Queries) InsertCLIReauthHandoff ¶
func (q *Queries) InsertCLIReauthHandoff(ctx context.Context, arg InsertCLIReauthHandoffParams) error
hikyo:authn-resolution
func (*Queries) InsertCredentialAuthority ¶
func (q *Queries) InsertCredentialAuthority(ctx context.Context, arg InsertCredentialAuthorityParams) error
hikyo:authn-resolution
func (*Queries) InsertDeliveryTargetQuotaNotice ¶
func (q *Queries) InsertDeliveryTargetQuotaNotice(ctx context.Context, arg InsertDeliveryTargetQuotaNoticeParams) error
func (*Queries) InsertDeliveryTargetReport ¶
func (q *Queries) InsertDeliveryTargetReport(ctx context.Context, arg InsertDeliveryTargetReportParams) error
func (*Queries) InsertDeveloperCredential ¶
func (q *Queries) InsertDeveloperCredential(ctx context.Context, arg InsertDeveloperCredentialParams) error
hikyo:reason Mint authenticated human delegation only after exact scope-bound reauthentication and tenant authorization in this transaction. hikyo:authn-resolution
func (*Queries) InsertExternalIdentity ¶
func (q *Queries) InsertExternalIdentity(ctx context.Context, arg InsertExternalIdentityParams) error
hikyo:authn-resolution
func (*Queries) InsertFederationIssuer ¶
func (q *Queries) InsertFederationIssuer(ctx context.Context, arg InsertFederationIssuerParams) error
OIDC federation (#62, machine-identities ADR section Federation). Issuer configuration is instance-scoped; a federated binding is a row of machine_credentials under the credential-kind discriminator, so its statements live beside the credential ones on the resolution surface for the same reason: a machine credential resolves at the chokepoint that mints the proof, so it cannot be read from behind one. ASCII only: multibyte characters shift sqlite statement offsets. hikyo:authn-resolution
func (*Queries) InsertFileTarget ¶
func (q *Queries) InsertFileTarget(ctx context.Context, arg InsertFileTargetParams) error
Generic file synchronization (#164): file targets and their key selection.
func (*Queries) InsertFileTargetKey ¶
func (q *Queries) InsertFileTargetKey(ctx context.Context, arg InsertFileTargetKeyParams) error
func (*Queries) InsertGrant ¶
func (q *Queries) InsertGrant(ctx context.Context, arg InsertGrantParams) error
hikyo:authn-resolution
func (*Queries) InsertGrantOrigin ¶
func (q *Queries) InsertGrantOrigin(ctx context.Context, arg InsertGrantOriginParams) error
hikyo:authn-resolution
func (*Queries) InsertInstanceAuditEvent ¶
func (q *Queries) InsertInstanceAuditEvent(ctx context.Context, arg InsertInstanceAuditEventParams) error
func (*Queries) InsertKeyGeneration ¶
func (*Queries) InsertKeyPresence ¶
func (q *Queries) InsertKeyPresence(ctx context.Context, arg InsertKeyPresenceParams) error
func (*Queries) InsertLoginChallenge ¶
func (q *Queries) InsertLoginChallenge(ctx context.Context, arg InsertLoginChallengeParams) error
hikyo:authn-resolution
func (*Queries) InsertMachineCredential ¶
func (q *Queries) InsertMachineCredential(ctx context.Context, arg InsertMachineCredentialParams) error
The mint. It writes BOTH credential kinds: the binding columns are NULL for a bearer credential and the verifier/prefix columns are NULL for a federated binding, and the table's two shape CHECKs make each pairing total, so one statement cannot produce a half-shaped row of either kind. hikyo:authn-resolution
func (*Queries) InsertMachinePrincipal ¶
func (q *Queries) InsertMachinePrincipal(ctx context.Context, arg InsertMachinePrincipalParams) error
Born reconciled to the current restore epoch, for the reason InsertPrincipal states (#76). hikyo:authn-resolution
func (*Queries) InsertMasterKey ¶
func (q *Queries) InsertMasterKey(ctx context.Context, arg InsertMasterKeyParams) error
func (*Queries) InsertOAuth2Transaction ¶
func (q *Queries) InsertOAuth2Transaction(ctx context.Context, arg InsertOAuth2TransactionParams) error
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) InsertOIDCTransaction ¶
func (q *Queries) InsertOIDCTransaction(ctx context.Context, arg InsertOIDCTransactionParams) error
hikyo:authn-resolution
func (*Queries) InsertPasswordCredential ¶
func (q *Queries) InsertPasswordCredential(ctx context.Context, arg InsertPasswordCredentialParams) error
hikyo:authn-resolution
func (*Queries) InsertPendingChange ¶
func (q *Queries) InsertPendingChange(ctx context.Context, arg InsertPendingChangeParams) error
Revisions, drafts and publishing (#51). Tenant-scoped statements: the reserved chain parameters are bound by the store's binding layer from proof fields only - never from caller arguments; the SQL predicate analyzer enforces the conjunct shape.
`environment_id` is an ordinary column on all four tables (see the migration), and every environment-addressed statement below binds it from the proof's resolved chain. The project-scoped statements are the ones that must span environments: publish reads the publisher's whole working state across the project before it knows which environments it touches, the matrix signals are a project-wide question, and a key delete cascades across every environment at once.
func (*Queries) InsertPrincipal ¶
func (q *Queries) InsertPrincipal(ctx context.Context, arg InsertPrincipalParams) error
Enumerated writers. A principal is born reconciled to the CURRENT restore epoch (#76): it postdates the restore, so there is nothing about it to reconcile, and a literal default of zero would make every principal created after a restore inert until somebody reconciled a principal that never existed before it. hikyo:authn-resolution
func (*Queries) InsertProjectSchemaRevision ¶
func (q *Queries) InsertProjectSchemaRevision(ctx context.Context, arg InsertProjectSchemaRevisionParams) error
InsertProjectSchemaRevision runs inside projects.Create, where the project id is the row being created rather than an address the proof resolved - the same position `CreateProject`'s own `id` is in. The org half IS proof-bound. A new project starts at revision 0, written literally so there is no parameter a caller could set it through.
func (*Queries) InsertReauthWindow ¶
func (q *Queries) InsertReauthWindow(ctx context.Context, arg InsertReauthWindowParams) error
A FRESH CEREMONY SUPERSEDES THE PAIR'S PREVIOUS WINDOW (#58).
The table holds AT MOST ONE window per (session, environment) and that invariant is unchanged; what changes is that a fresh ceremony REPLACES the pair's row instead of colliding with it. Without this the unique constraint quietly meant "one window EVER per session and environment", which breaks the reveal guard's own headline case: a protected environment is capped at 0, so its disclosures are "a passkey ceremony per disclosure" (ceremony, disclose, ceremony again) and the second ceremony hit the first window's spent row. The same fault bit every opener, including a workspace step-up (#71) repeated on one environment, so the fix is shared by all of them.
It is ONE atomic statement rather than a delete followed by an insert, because two tabs finishing ceremonies at the same time are a real shape: on postgres both deletes can miss the other transaction's not-yet-visible row and the second insert then hits the unique constraint, turning a legitimate supersede into an intermittent failure. `ON CONFLICT DO UPDATE` makes the loser update instead of fail.
consumed_at resets to NULL because the row now describes the NEW ceremony, which nothing has spent. bound_operation and bound_key_set (#71) carry a workspace step-up's exact-consent binding; the human openers write NULLs. hikyo:authn-resolution
func (*Queries) InsertRecoveryCodes ¶
func (q *Queries) InsertRecoveryCodes(ctx context.Context, arg InsertRecoveryCodesParams) error
hikyo:authn-resolution
func (*Queries) InsertRegistrationPolicy ¶
func (q *Queries) InsertRegistrationPolicy(ctx context.Context, arg InsertRegistrationPolicyParams) error
hikyo:authn-resolution
func (*Queries) InsertRegistrationPolicyDomain ¶
func (q *Queries) InsertRegistrationPolicyDomain(ctx context.Context, arg InsertRegistrationPolicyDomainParams) error
hikyo:authn-resolution
func (*Queries) InsertRegistrationPolicyEntry ¶
func (q *Queries) InsertRegistrationPolicyEntry(ctx context.Context, arg InsertRegistrationPolicyEntryParams) error
hikyo:authn-resolution
func (*Queries) InsertRegistrationPolicyEntryValue ¶
func (q *Queries) InsertRegistrationPolicyEntryValue(ctx context.Context, arg InsertRegistrationPolicyEntryValueParams) error
hikyo:authn-resolution
func (*Queries) InsertRegistrationSignup ¶
func (q *Queries) InsertRegistrationSignup(ctx context.Context, arg InsertRegistrationSignupParams) error
Pending local sign-ups (#584). The request writer lands with #608; the policy delete below already has to clear them (spec section 4). hikyo:authn-resolution
func (*Queries) InsertRevisionKeyChange ¶
func (q *Queries) InsertRevisionKeyChange(ctx context.Context, arg InsertRevisionKeyChangeParams) error
func (*Queries) InsertRevisionPin ¶
func (q *Queries) InsertRevisionPin(ctx context.Context, arg InsertRevisionPinParams) error
func (*Queries) InsertRule ¶
func (q *Queries) InsertRule(ctx context.Context, arg InsertRuleParams) error
hikyo:authn-resolution
func (*Queries) InsertRuleItem ¶
func (q *Queries) InsertRuleItem(ctx context.Context, arg InsertRuleItemParams) error
hikyo:authn-resolution
func (*Queries) InsertSAMLProvider ¶
func (q *Queries) InsertSAMLProvider(ctx context.Context, arg InsertSAMLProviderParams) error
SAML SP resolution and lifecycle (#72, saml-sp ADR). These rows decide who a caller is and how strongly they authenticated, so they live on the same proof-free, enumerated authn resolution surface as OIDC. hikyo:authn-resolution
func (*Queries) InsertSAMLReplay ¶
ON CONFLICT is the atomic replay claim: exactly one concurrent presentation inserts, all others observe zero affected rows. hikyo:authn-resolution
func (*Queries) InsertSAMLSPKey ¶
func (q *Queries) InsertSAMLSPKey(ctx context.Context, arg InsertSAMLSPKeyParams) error
hikyo:authn-resolution
func (*Queries) InsertSAMLTransaction ¶
func (q *Queries) InsertSAMLTransaction(ctx context.Context, arg InsertSAMLTransactionParams) error
hikyo:authn-resolution
func (*Queries) InsertSCIMCredential ¶
func (q *Queries) InsertSCIMCredential(ctx context.Context, arg InsertSCIMCredentialParams) error
SCIM provisioning, authentication-resolution half (#73).
Two kinds of statement live here and both belong on the enumerated resolution surface rather than the proof-carrying repository surface:
- `scim_credentials` is what AUTHENTICATES a SCIM wire request. It is resolved before any operation is authorized - there is no proof yet to bind it to, exactly as `sessions` is. Its administration (mint, list, revoke) runs AFTER the ordinary `manage-members(org)` gate, following the OIDC/SAML provider-administration precedent where the operation registry owns the gate and the storage rides here.
- the grant-origin reads the release algorithm needs. `grants` and `grant_origins` are already this surface (authorize() reads them to mint a proof), so a SCIM-side origin release is the same class of write a human revoke is.
Every query is annotated and content-pinned. ASCII only: multibyte characters shift sqlite statement offsets. hikyo:authn-resolution
func (*Queries) InsertScanningDismissal ¶
func (q *Queries) InsertScanningDismissal(ctx context.Context, arg InsertScanningDismissalParams) error
Secret-scanning dismissal rows (#74, secret-scanning ADR section 4). ASCII ONLY: sqlc's sqlite path silently mis-slices statements containing non-ASCII.
Tenant-scoped statements bind org_id and project_id from the proof's resolved chain, never from caller arguments; environment_id is bound from the proof on the environment-addressed statements. The (key identity, rule digest, value fingerprint) triple is caller data: the finding's own coordinates.
func (*Queries) InsertSelfConfigJob ¶
func (q *Queries) InsertSelfConfigJob(ctx context.Context, arg InsertSelfConfigJobParams) (int64, error)
hikyo:instance-scoped
func (*Queries) InsertSelfConfigRollout ¶
func (q *Queries) InsertSelfConfigRollout(ctx context.Context, arg InsertSelfConfigRolloutParams) (int64, error)
hikyo:instance-scoped
func (*Queries) InsertServiceAccount ¶
func (q *Queries) InsertServiceAccount(ctx context.Context, arg InsertServiceAccountParams) error
Machine identities (#61). Service accounts and their credentials live on the enumerated resolution surface for the same reason the session lifecycle does: a machine credential resolves at the chokepoint that mints the proof, so it cannot be read from behind one. Every query here is annotated and pinned. ASCII only: multibyte characters shift sqlite statement offsets. hikyo:authn-resolution
func (*Queries) InsertSession ¶
func (q *Queries) InsertSession(ctx context.Context, arg InsertSessionParams) error
One insert for every session artifact, including the workspace session (#71). requesting_origin and handoff_id are NULL for cli and browser rows and NOT NULL for a workspace row; the table CHECK ties them to the artifact, so a second insert statement for the workspace case would buy nothing but a second place for the pairing to drift. hikyo:authn-resolution
func (*Queries) InsertSnapshot ¶
func (q *Queries) InsertSnapshot(ctx context.Context, arg InsertSnapshotParams) error
func (*Queries) InsertSnapshotEntry ¶
func (q *Queries) InsertSnapshotEntry(ctx context.Context, arg InsertSnapshotEntryParams) error
func (*Queries) InsertTOTP ¶
func (q *Queries) InsertTOTP(ctx context.Context, arg InsertTOTPParams) error
hikyo:authn-resolution
func (*Queries) InsertTenantAuditEvent ¶
func (q *Queries) InsertTenantAuditEvent(ctx context.Context, arg InsertTenantAuditEventParams) error
Audit trails (#45): the application layer holds INSERT and SELECT only on both audit tables - the append-only CI invariant scans this file. Chain parameters are bound by the store's binding layer (and, for the denial writer, by the authorization package's enumerated surface) from resolved chains only - never from caller arguments.
Interactive and export page order is seq (allocation equals commit order on sqlite). Export queries use the same seq column for their selection floor and internal page cursor. Timestamps are fixed-width UTC microsecond text, so recorded_at range predicates compare correctly.
func (*Queries) InsertTier3Key ¶
func (q *Queries) InsertTier3Key(ctx context.Context, arg InsertTier3KeyParams) error
func (*Queries) InsertValueEntry ¶
func (q *Queries) InsertValueEntry(ctx context.Context, arg InsertValueEntryParams) error
func (*Queries) InsertWebAuthnCeremony ¶
func (q *Queries) InsertWebAuthnCeremony(ctx context.Context, arg InsertWebAuthnCeremonyParams) error
hikyo:authn-resolution
func (*Queries) InsertWebAuthnCredential ¶
func (q *Queries) InsertWebAuthnCredential(ctx context.Context, arg InsertWebAuthnCredentialParams) error
hikyo:authn-resolution
func (*Queries) InsertWorkspaceHandoff ¶
func (q *Queries) InsertWorkspaceHandoff(ctx context.Context, arg InsertWorkspaceHandoffParams) error
The handoff transaction. state_verifier and code_verifier are stored as VERIFIERS and never as values, for the reason every other bearer in this schema is: both cross a redirect. code_verifier is NULL until approval, because a transaction nobody has approved has issued no code. hikyo:authn-resolution
func (*Queries) InsertWorkspaceOrigin ¶
func (q *Queries) InsertWorkspaceOrigin(ctx context.Context, arg InsertWorkspaceOriginParams) error
hikyo:authn-resolution
func (*Queries) InstanceConnectionByVerifier ¶
func (q *Queries) InstanceConnectionByVerifier(ctx context.Context, verifier []byte) (InstanceConnectionByVerifierRow, error)
Multi-instance (#71, multi-instance ADR). The serving side's instance connections live here; the viewing side's remotes and snapshots land with the directory service.
Every statement below is authn-resolution: the instance-connection credential resolves at the SAME chokepoint as authorize(), inside the authorizing transaction and uncached, exactly as a machine credential does. Resolution cannot itself run under a proof, because the proof is what the answer produces. The authentication read. One indexed lookup on the unsalted SHA-256 verifier, like every other bearer artifact in the system; the caller constant-time compares the returned verifier and runs the miss path's decoy work, so unknown / revoked / expired / live are work-shape uniform.
The predicates that decide LIVENESS are deliberately not in this WHERE clause. Filtering here would make an unknown credential cost one row and a revoked one zero, which is a query-count oracle for which credentials exist. hikyo:authn-resolution
func (*Queries) InstanceIdentity ¶
The instance's own opaque identity, minted by migration 00019. Read on every directory serve (it is the listing's first field) and on every fetch the viewing side performs, which is what makes self-connection detectable. hikyo:instance-scoped
func (*Queries) InvalidateRestoredAdapterCredentials ¶
Restored provider PATs are never trusted: unlike Hikyo authentication artifacts they carry no local epoch the provider checks, so restore must destroy custody and require operator re-entry. hikyo:authn-resolution
func (*Queries) InvalidateRestoredAdapterRouteMoves ¶
Pending origin moves retain a second copy of externally authenticating PATs. Restore must destroy that custody and retire the move before any reconciled authority can resume activation against an archive-selected destination. hikyo:authn-resolution
func (*Queries) InvalidateRestoredDynamicProviderCredentials ¶
Restored dynamic-secret provider admin credentials are never trusted for the same reason as adapter PATs (#147): the sealed credential authenticates to an external engine that has no local epoch, so a restore must destroy custody and require operator re-entry. Live leases are deliberately left alone: their roles carry the engine's own VALID UNTIL, and re-probing them here could drop a credential a workload restored alongside is still using. hikyo:authn-resolution
func (*Queries) InvalidateRestoredOAuth2ProviderCredentials ¶
func (q *Queries) InvalidateRestoredOAuth2ProviderCredentials(ctx context.Context, updatedAt string) error
hikyo:reason Authorized restore destroys all outbound OAuth2-provider credentials across the restored instance. hikyo:authn-resolution
func (*Queries) InvalidateRestoredOIDCProviderCredentials ¶
func (q *Queries) InvalidateRestoredOIDCProviderCredentials(ctx context.Context, updatedAt string) error
Restored human-login provider secrets and remote-instance credentials also authenticate to systems outside Hikyo's credential epoch. Disable providers, destroy their secret ciphertext, and remove remotes so no restored material can be presented to an archive-controlled endpoint. hikyo:reason Authorized restore destroys all outbound login-provider credentials across the restored instance. hikyo:authn-resolution
func (*Queries) LastDeliveryFetchAt ¶
func (q *Queries) LastDeliveryFetchAt(ctx context.Context, arg LastDeliveryFetchAtParams) (LastDeliveryFetchAtRow, error)
The server-observed layer (ADR D2): the last authenticated delivery fetch of one principal in one environment, from the audit trail.
func (*Queries) ListAccessPolicies ¶
func (q *Queries) ListAccessPolicies(ctx context.Context, arg ListAccessPoliciesParams) ([]AccessPolicy, error)
func (*Queries) ListAccessPolicyApprovers ¶
func (q *Queries) ListAccessPolicyApprovers(ctx context.Context, arg ListAccessPolicyApproversParams) ([]AccessPolicyApprover, error)
func (*Queries) ListAccessPolicyBypassers ¶
func (q *Queries) ListAccessPolicyBypassers(ctx context.Context, arg ListAccessPolicyBypassersParams) ([]AccessPolicyBypasser, error)
func (*Queries) ListAccessRequestsForEnvironment ¶
func (q *Queries) ListAccessRequestsForEnvironment(ctx context.Context, arg ListAccessRequestsForEnvironmentParams) ([]AccessRequest, error)
func (*Queries) ListAccessVotes ¶
func (q *Queries) ListAccessVotes(ctx context.Context, arg ListAccessVotesParams) ([]AccessVote, error)
func (*Queries) ListAdapterManifestKeys ¶
func (q *Queries) ListAdapterManifestKeys(ctx context.Context, arg ListAdapterManifestKeysParams) ([]ListAdapterManifestKeysRow, error)
func (*Queries) ListAdapterPinsForKey ¶
func (q *Queries) ListAdapterPinsForKey(ctx context.Context, arg ListAdapterPinsForKeyParams) ([]ListAdapterPinsForKeyRow, error)
func (*Queries) ListAllProjects ¶
func (q *Queries) ListAllProjects(ctx context.Context) ([]ListAllProjectsRow, error)
ListAllProjects is the multi-instance directory's cross-org enumeration (#71): the served listing is org/project names and counts across the whole instance, so it addresses no tenant and carries no chain conjunct. It is annotated instance-scoped for exactly the reason ListOrgs is - the read is cross-tenant by definition, not by omission. Only (org_id, name) is selected: the directory needs names and counts, and a row shape carrying created_at would be foreign structure nobody asked for. hikyo:instance-scoped
func (*Queries) ListApprovalPolicies ¶
func (q *Queries) ListApprovalPolicies(ctx context.Context, arg ListApprovalPoliciesParams) ([]ApprovalPolicy, error)
func (*Queries) ListApprovalPolicyApprovers ¶
func (q *Queries) ListApprovalPolicyApprovers(ctx context.Context, arg ListApprovalPolicyApproversParams) ([]ApprovalPolicyApprover, error)
func (*Queries) ListApprovalPolicyBypassers ¶
func (q *Queries) ListApprovalPolicyBypassers(ctx context.Context, arg ListApprovalPolicyBypassersParams) ([]ApprovalPolicyBypasser, error)
func (*Queries) ListApprovalRequestsForEnvironment ¶
func (q *Queries) ListApprovalRequestsForEnvironment(ctx context.Context, arg ListApprovalRequestsForEnvironmentParams) ([]ApprovalRequest, error)
func (*Queries) ListApprovalVotes ¶
func (q *Queries) ListApprovalVotes(ctx context.Context, arg ListApprovalVotesParams) ([]ApprovalVote, error)
func (*Queries) ListCredentialsBeyondCeiling ¶
func (q *Queries) ListCredentialsBeyondCeiling(ctx context.Context, expiresAt sql.NullString) ([]ListCredentialsBeyondCeilingRow, error)
The clamp's enumeration: every live finite credential whose expiry is beyond a proposed ceiling, listed to the actor BEFORE the change commits. hikyo:authn-resolution
func (*Queries) ListDeliveryTargetQuotaNotices ¶
func (q *Queries) ListDeliveryTargetQuotaNotices(ctx context.Context, arg ListDeliveryTargetQuotaNoticesParams) ([]ListDeliveryTargetQuotaNoticesRow, error)
The project's quota-refused notices (ADR D5), one per principal. The list shows a notice only for a principal that may report on the listed environment, which the service decides at the chokepoint.
func (*Queries) ListDeliveryTargetReports ¶
func (q *Queries) ListDeliveryTargetReports(ctx context.Context, arg ListDeliveryTargetReportsParams) ([]DeliveryTargetReport, error)
func (*Queries) ListDeveloperCredentials ¶
func (q *Queries) ListDeveloperCredentials(ctx context.Context) ([]DeveloperCredential, error)
hikyo:reason Transaction-local lifecycle administration filters this metadata after self or project authorization; no bearer can be recovered. hikyo:authn-resolution
func (*Queries) ListEligibleSnapshotPayloads ¶
func (q *Queries) ListEligibleSnapshotPayloads(ctx context.Context, arg ListEligibleSnapshotPayloadsParams) ([]ListEligibleSnapshotPayloadsRow, error)
ListEligibleSnapshotPayloads selects the next batch of collectable payloads. Walk at most the retained N lineage headers per environment using indexed predecessor lookups, then collect only below the Nth newest revision. A missing predecessor stops the walk: histories shorter than N have no cutoff. All lineage counts, including collected payloads and sparse revision numbers. The cutoff is recomputed in this statement's transaction snapshot each batch; it is never cached across policy changes or retries. This bounds ranking work, not the outer candidate scan or the complete sweep's transaction/audit work. hikyo:instance-scoped
func (*Queries) ListEnvironmentIDsInProject ¶
func (q *Queries) ListEnvironmentIDsInProject(ctx context.Context, arg ListEnvironmentIDsInProjectParams) ([]string, error)
The universe the mint and widen reachability computations range over. A service account's grants are confined to its owning project's subtree, so this project's environments ARE every environment its credentials reach. hikyo:authn-resolution
func (*Queries) ListEnvironmentProtection ¶
func (q *Queries) ListEnvironmentProtection(ctx context.Context, arg ListEnvironmentProtectionParams) ([]ListEnvironmentProtectionRow, error)
ListEnvironmentProtection reads every environment's protected flag under a PROJECT proof - the definitions plan/apply path pins the project's protected set and refuses if it grew (#70, permission-model ADR section 84). GetEnvironmentSettings is environment-addressed and cannot serve a project-scoped read.
func (*Queries) ListEnvironments ¶
func (q *Queries) ListEnvironments(ctx context.Context, arg ListEnvironmentsParams) ([]ListEnvironmentsRow, error)
func (*Queries) ListEnvironmentsPageAfterOrder ¶
func (q *Queries) ListEnvironmentsPageAfterOrder(ctx context.Context, arg ListEnvironmentsPageAfterOrderParams) ([]ListEnvironmentsPageAfterOrderRow, error)
func (*Queries) ListEnvironmentsPageAtOrder ¶
func (q *Queries) ListEnvironmentsPageAtOrder(ctx context.Context, arg ListEnvironmentsPageAtOrderParams) ([]ListEnvironmentsPageAtOrderRow, error)
These two bounded reads compose List's display_order/name keyset without an OR predicate the tenant-isolation analyzer cannot prove. The store reads the remainder of the cursor's current order first, then later orders.
func (*Queries) ListExpiredRegistrationSignups ¶
func (q *Queries) ListExpiredRegistrationSignups(ctx context.Context, expiresAt string) ([]ListExpiredRegistrationSignupsRow, error)
hikyo:reason The singleton registration reaper enumerates only expired pending rows for audited cleanup. hikyo:authn-resolution
func (*Queries) ListExternalIdentitiesForAccount ¶
func (q *Queries) ListExternalIdentitiesForAccount(ctx context.Context, accountID string) ([]ExternalIdentity, error)
hikyo:authn-resolution
func (*Queries) ListFederationIssuers ¶
func (q *Queries) ListFederationIssuers(ctx context.Context) ([]FederationIssuer, error)
Every configured issuer, read on the authentication path so a presented token's `iss` can be resolved, and on the administrative path so an operator can see what the instance trusts. One query serves both: the set is small (one row per platform) and bounded by an instance capability. hikyo:authn-resolution
func (*Queries) ListFileTargetCatalogue ¶
func (q *Queries) ListFileTargetCatalogue(ctx context.Context, arg ListFileTargetCatalogueParams) ([]ListFileTargetCatalogueRow, error)
The selection's names and classifications come from the project catalogue, read whole and filtered in Go: a JOIN is not a shape the predicate analyzer can prove, and a catalogue is small.
func (*Queries) ListFileTargetKeyIDs ¶
func (*Queries) ListFileTargets ¶
func (q *Queries) ListFileTargets(ctx context.Context, arg ListFileTargetsParams) ([]ListFileTargetsRow, error)
func (*Queries) ListFolders ¶
func (*Queries) ListGrantOriginsForGrant ¶
func (q *Queries) ListGrantOriginsForGrant(ctx context.Context, grantID string) ([]ListGrantOriginsForGrantRow, error)
The origins holding ONE grant row, for dedup (does this grantor already hold it?) and for revocation (which origins may this surface release?). hikyo:authn-resolution
func (*Queries) ListGrantOriginsForPrincipal ¶
func (q *Queries) ListGrantOriginsForPrincipal(ctx context.Context, principalID string) ([]ListGrantOriginsForPrincipalRow, error)
The release algorithm's read: every origin holding every grant row of one principal, in one statement. Walking grant rows and then their origins one-by-one would be the same information at N+1 queries, and a release decision that spans both tables should see them at one instant. hikyo:authn-resolution
func (*Queries) ListGrantRowsForPrincipal ¶
func (q *Queries) ListGrantRowsForPrincipal(ctx context.Context, principalID string) ([]ListGrantRowsForPrincipalRow, error)
Permission model, full (#55). The grant table and its origins live on the enumerated resolution surface for the same reason the session lifecycle does: authorize() reads grants to mint a proof, so a grant write cannot be gated behind one. Every query here is annotated and pinned. ASCII only: multibyte characters shift sqlite statement offsets. hikyo:authn-resolution
func (*Queries) ListGrantsForPrincipal ¶
func (q *Queries) ListGrantsForPrincipal(ctx context.Context, arg ListGrantsForPrincipalParams) ([]ListGrantsForPrincipalRow, error)
The grant lookup authorize() makes, carrying the restore-reconciliation gate (#76): after a restore, a principal's grants do not authorize until an operator reconciles that principal up to the restore epoch. The gate is a conjunct of the SAME query rather than a second read, so no caller can forget it and the pinned query count is unchanged. Never restored means restore_epoch = 0, which every principal's default already satisfies.
The second branch is approval-mediated temporary access (#152): the principal's access_grants rows whose absolute expiry is after the transaction clock. The expiry filter lives in THIS query, so it binds every protected operation, every session and every node without a sweep and without client cooperation, and a restored or privacy-erased principal's temporary rows are inert under exactly the same gates as their permanent ones. hikyo:authn-resolution
func (*Queries) ListGrantsForResetTarget ¶
func (q *Queries) ListGrantsForResetTarget(ctx context.Context, principalID string) ([]ListGrantsForResetTargetRow, error)
The target principal's grant set, for the credential-reset org-bounded test (#54 credential-reset, ADR - Recovery): reset reaches only a target whose grants lie entirely within one org and who holds no instance capability. hikyo:authn-resolution
func (*Queries) ListGrantsWithOriginsAtInstance ¶
func (q *Queries) ListGrantsWithOriginsAtInstance(ctx context.Context) ([]ListGrantsWithOriginsAtInstanceRow, error)
hikyo:authn-resolution
func (*Queries) ListGrantsWithOriginsForOrg ¶
func (q *Queries) ListGrantsWithOriginsForOrg(ctx context.Context, orgID sql.NullString) ([]ListGrantsWithOriginsForOrgRow, error)
Membership inspection, per capability line with its origin chips. The JOIN means a grant with no origin cannot appear at all, which is the invariant stated as a query. hikyo:authn-resolution
func (*Queries) ListGrantsWithOriginsForProject ¶
func (q *Queries) ListGrantsWithOriginsForProject(ctx context.Context, arg ListGrantsWithOriginsForProjectParams) ([]ListGrantsWithOriginsForProjectRow, error)
The project-scoped membership surface. A project member manager authorizes for ONE project, so the datastore must return one project's rows: filtering the org's rows in Go afterwards makes the work scale with sibling-project membership, which is a structural oracle, and materializes administrative data from projects the caller was never authorized to see. hikyo:authn-resolution
func (*Queries) ListIndefiniteCredentials ¶
func (q *Queries) ListIndefiniteCredentials(ctx context.Context) ([]ListIndefiniteCredentialsRow, error)
hikyo:authn-resolution
func (*Queries) ListInstanceConnections ¶
func (q *Queries) ListInstanceConnections(ctx context.Context) ([]ListInstanceConnectionsRow, error)
Metadata only, and never the value: the ADR inherits #17's list/get rule unchanged. There is no statement anywhere that reads `verifier` back out for display, because a credential is display-once at mint and write-only after. hikyo:authn-resolution
func (*Queries) ListKeyGroups ¶
func (*Queries) ListKeyPresence ¶
func (q *Queries) ListKeyPresence(ctx context.Context, arg ListKeyPresenceParams) ([]KeyPresenceEnvironment, error)
func (*Queries) ListKeyPresenceForKey ¶
func (q *Queries) ListKeyPresenceForKey(ctx context.Context, arg ListKeyPresenceForKeyParams) ([]KeyPresenceEnvironment, error)
ListKeyPresenceForKey reads one key's explicit presence rules, so the MCP definitions page resolves presence per page key instead of listing the whole project's presence rows.
func (*Queries) ListKeysPage ¶
ListKeysPage is the MCP-bounded keyset read (#629). name is UNIQUE per project, so it is a stable single-column cursor: the statement fetches strictly past the last returned name and never materializes the whole catalogue to slice a limit afterwards.
func (*Queries) ListLiveAccessGrantsForPrincipal ¶
func (q *Queries) ListLiveAccessGrantsForPrincipal(ctx context.Context, arg ListLiveAccessGrantsForPrincipalParams) ([]ListLiveAccessGrantsForPrincipalRow, error)
A principal's live temporary grants, for the membership surface. hikyo:authn-resolution
func (*Queries) ListLockoutRetentionOrigins ¶
func (q *Queries) ListLockoutRetentionOrigins(ctx context.Context) ([]ListLockoutRetentionOriginsRow, error)
Every lockout-retention origin in the instance, with the grant row it holds (ADR section 2.4). The cure sweep is global rather than per-org because an INSTANCE-scope manage-members grant cures every org at once, and a per-org sweep would silently leave those retentions standing. Retention origins are rare by construction -- one per grant the IdP withdrew from the last member manager -- so the whole set is cheap to walk. hikyo:authn-resolution
func (*Queries) ListLockoutRetentionOriginsInOrg ¶
func (q *Queries) ListLockoutRetentionOriginsInOrg(ctx context.Context, orgID sql.NullString) ([]ListLockoutRetentionOriginsInOrgRow, error)
The cure sweep bounded to ONE org. An org-scope `manage-members` grant cures that org and no other, so loading and locking every retention in the instance to then discard all but one org's is both tenant-triggerable O(instance) work and a cross-tenant timing signal. Only an INSTANCE-scope grant needs the unbounded walk above. hikyo:authn-resolution
func (*Queries) ListMachineCredentials ¶
func (q *Queries) ListMachineCredentials(ctx context.Context, serviceAccountID string) ([]ListMachineCredentialsRow, error)
hikyo:authn-resolution
func (*Queries) ListManageMembersHoldersAtInstance ¶
hikyo:authn-resolution
func (*Queries) ListManageMembersHoldersForOrg ¶
func (q *Queries) ListManageMembersHoldersForOrg(ctx context.Context, orgID sql.NullString) ([]string, error)
The lockout invariant's census. An org's manage-members holders are the principals holding it AT that org or ABOVE it (instance scope inherits downward), which is exactly what the grant evaluation would answer.
The project_id IS NULL conjunct is load-bearing: a project-scope manage-members grant lives at org_id = ? too, and without it a project member manager would count toward the org census. The permission-model ADR draws the lockout line at org and instance scope, so a project-scope holder is not one of the org's holders. hikyo:authn-resolution
func (*Queries) ListOAuth2Providers ¶
func (q *Queries) ListOAuth2Providers(ctx context.Context) ([]Oauth2Provider, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) ListOIDCProviders ¶
func (q *Queries) ListOIDCProviders(ctx context.Context) ([]OidcProvider, error)
hikyo:authn-resolution
func (*Queries) ListOauth2ProvidersForReencrypt ¶
func (q *Queries) ListOauth2ProvidersForReencrypt(ctx context.Context, arg ListOauth2ProvidersForReencryptParams) ([]ListOauth2ProvidersForReencryptRow, error)
hikyo:authn-resolution
func (*Queries) ListOidcProvidersForReencrypt ¶
func (q *Queries) ListOidcProvidersForReencrypt(ctx context.Context, arg ListOidcProvidersForReencryptParams) ([]ListOidcProvidersForReencryptRow, error)
hikyo:authn-resolution
func (*Queries) ListPairingExchangesForReencrypt ¶
func (q *Queries) ListPairingExchangesForReencrypt(ctx context.Context, arg ListPairingExchangesForReencryptParams) ([]ListPairingExchangesForReencryptRow, error)
Reencrypt preserves every retained pairing secret across instance-DEK retirement. hikyo:reason Instance reencrypt authorization precedes this bounded ciphertext scan; the proof-gated repository verifies the exact transaction and operation. hikyo:authn-resolution
func (*Queries) ListPairingInvitesForReencrypt ¶
func (q *Queries) ListPairingInvitesForReencrypt(ctx context.Context, arg ListPairingInvitesForReencryptParams) ([]ListPairingInvitesForReencryptRow, error)
Reencrypt preserves every retained pairing secret across instance-DEK retirement. hikyo:reason Instance reencrypt authorization precedes this bounded ciphertext scan; the proof-gated repository verifies the exact transaction and operation. hikyo:authn-resolution
func (*Queries) ListPasswordCredsForReencrypt ¶
func (q *Queries) ListPasswordCredsForReencrypt(ctx context.Context, arg ListPasswordCredsForReencryptParams) ([]ListPasswordCredsForReencryptRow, error)
Reencrypt walk (#75/#187): page instance credential ciphertext and re-seal in place under the active DEK version, CAS on row_version (anti-resurrection), stamping the new dek_version. class=authn: no tenant chain. hikyo:authn-resolution
func (*Queries) ListPendingChangesForOwner ¶
func (q *Queries) ListPendingChangesForOwner(ctx context.Context, arg ListPendingChangesForOwnerParams) ([]PendingChange, error)
ListPendingChangesForOwner is the publish path's read: a publish carries ONLY the publisher's own pending changes, so the query that returns draft material is keyed on the owner and there is no statement that hands one principal another's ciphertext.
func (*Queries) ListPendingChangesForOwnerInEnvironment ¶
func (q *Queries) ListPendingChangesForOwnerInEnvironment(ctx context.Context, arg ListPendingChangesForOwnerInEnvironmentParams) ([]PendingChange, error)
ListPendingChangesForOwnerInEnvironment is the preview read. Owner and environment are both predicates in SQL, so the preview cannot hand one principal another's ciphertext or material from another environment.
func (*Queries) ListPendingChangesForOwnerInEnvironmentPage ¶
func (q *Queries) ListPendingChangesForOwnerInEnvironmentPage(ctx context.Context, arg ListPendingChangesForOwnerInEnvironmentPageParams) ([]PendingChange, error)
ListPendingMarkers is the matrix signal's read and the group-closure collision check's read. It returns NO ciphertext: what another principal's draft may disclose is write-presence and nothing else, and the cheapest way to hold that rule is a statement that cannot carry the material. ListPendingChangesForOwnerInEnvironmentPage is the MCP-bounded keyset read (#629). (env, key, owner) is UNIQUE, so key_id is a stable single-column cursor for one owner's drafts in one environment. No JOIN: the caller resolves each page key's name and classification under the same key.list authorization.
func (*Queries) ListPendingForReencrypt ¶
func (q *Queries) ListPendingForReencrypt(ctx context.Context, arg ListPendingForReencryptParams) ([]ListPendingForReencryptRow, error)
pending_changes ciphertext is NULL for an `unset` draft; skip those rows.
func (*Queries) ListPendingMarkers ¶
func (q *Queries) ListPendingMarkers(ctx context.Context, arg ListPendingMarkersParams) ([]ListPendingMarkersRow, error)
func (*Queries) ListPkiIssuersForReencrypt ¶
func (q *Queries) ListPkiIssuersForReencrypt(ctx context.Context, arg ListPkiIssuersForReencryptParams) ([]ListPkiIssuersForReencryptRow, error)
Private PKI (#154). The issuer, profile and certificate lifecycle is hand-written dialect SQL in internal/store/pki.go; only the reencrypt walk lives here, beside the other instance-credential walks. Reencrypt walk: pki_issuers.encrypted_private_key (retired and revoked versions hold NULL, their key destroyed, and are skipped). hikyo:instance-scoped
func (*Queries) ListProjects ¶
func (*Queries) ListRecoveryCodesForReencrypt ¶
func (q *Queries) ListRecoveryCodesForReencrypt(ctx context.Context, arg ListRecoveryCodesForReencryptParams) ([]ListRecoveryCodesForReencryptRow, error)
hikyo:authn-resolution
func (*Queries) ListRegistrationPolicyDomains ¶
func (q *Queries) ListRegistrationPolicyDomains(ctx context.Context, policyID string) ([]string, error)
hikyo:authn-resolution
func (*Queries) ListRegistrationPolicyEntries ¶
func (q *Queries) ListRegistrationPolicyEntries(ctx context.Context, policyID string) ([]ListRegistrationPolicyEntriesRow, error)
hikyo:authn-resolution
func (*Queries) ListRegistrationPolicyEntryValues ¶
func (q *Queries) ListRegistrationPolicyEntryValues(ctx context.Context, policyID string) ([]RegistrationPolicyEntryValue, error)
hikyo:authn-resolution
func (*Queries) ListRegistrationSignupsForPolicy ¶
func (q *Queries) ListRegistrationSignupsForPolicy(ctx context.Context, policyID string) ([]ListRegistrationSignupsForPolicyRow, error)
hikyo:authn-resolution
func (*Queries) ListRemotePairingInvites ¶
func (q *Queries) ListRemotePairingInvites(ctx context.Context) ([]ListRemotePairingInvitesRow, error)
hikyo:reason Authorized instance custody listing returns metadata through its caller, never capability or PAKE records. hikyo:authn-resolution
func (*Queries) ListRemoteSnapshots ¶
func (q *Queries) ListRemoteSnapshots(ctx context.Context) ([]RemoteSnapshot, error)
hikyo:instance-scoped
func (*Queries) ListRemotes ¶
func (q *Queries) ListRemotes(ctx context.Context) ([]ListRemotesRow, error)
credential_sealed is deliberately NOT selected: it is write-only after storage and leaves the process only inside TLS to the pinned remote. The one statement that reads it is SealedRemoteCredential, below, and it exists so the fetch path can present it - never so a surface can display it. hikyo:instance-scoped
func (*Queries) ListRemotesForReencrypt ¶
func (q *Queries) ListRemotesForReencrypt(ctx context.Context, arg ListRemotesForReencryptParams) ([]ListRemotesForReencryptRow, error)
Reencrypt walk (#75/#187): remotes.credential_sealed has no dek_version, so the walk header-parses the envelope for the version and CASes on the blob. hikyo:instance-scoped
func (*Queries) ListRevisionKeyChanges ¶
func (q *Queries) ListRevisionKeyChanges(ctx context.Context, arg ListRevisionKeyChangesParams) ([]RevisionKeyChange, error)
func (*Queries) ListRevisionKeyChangesInRange ¶
func (q *Queries) ListRevisionKeyChangesInRange(ctx context.Context, arg ListRevisionKeyChangesInRangeParams) ([]RevisionKeyChange, error)
ListRevisionKeyChangesInRange is the history page's lineage read: every change row of the revisions in [min_revision, max_revision], newest revision first, so one statement serves a whole page instead of one per revision.
func (*Queries) ListRevisionPins ¶
func (q *Queries) ListRevisionPins(ctx context.Context, arg ListRevisionPinsParams) ([]RevisionPin, error)
func (*Queries) ListRuleIDsForEnvironment ¶
func (q *Queries) ListRuleIDsForEnvironment(ctx context.Context, arg ListRuleIDsForEnvironmentParams) ([]string, error)
The deletion paths' censuses: which rules name an object about to go. hikyo:authn-resolution
func (*Queries) ListRuleIDsForKey ¶
func (q *Queries) ListRuleIDsForKey(ctx context.Context, arg ListRuleIDsForKeyParams) ([]string, error)
hikyo:authn-resolution
func (*Queries) ListRuleIDsForOrg ¶
hikyo:authn-resolution
func (*Queries) ListRuleIDsForProject ¶
func (q *Queries) ListRuleIDsForProject(ctx context.Context, arg ListRuleIDsForProjectParams) ([]string, error)
hikyo:authn-resolution
func (*Queries) ListRuleLinesInOrg ¶
func (q *Queries) ListRuleLinesInOrg(ctx context.Context, orgID string) ([]ListRuleLinesInOrgRow, error)
The rule listing (the rules half of the membership surface), ungated like the grant listing: a member manager sees every stored rule in the org. hikyo:authn-resolution
func (*Queries) ListRuleLinesInProject ¶
func (q *Queries) ListRuleLinesInProject(ctx context.Context, arg ListRuleLinesInProjectParams) ([]ListRuleLinesInProjectRow, error)
The project rule listing. A project member manager authorizes for ONE project, so only that project's items are read (never a sibling project's environments, keys or folders); other_items counts, without naming, the items a rule holds elsewhere so the listing can say the rule spans more. hikyo:authn-resolution
func (*Queries) ListRulesForPrincipal ¶
func (q *Queries) ListRulesForPrincipal(ctx context.Context, principalID string) ([]ListRulesForPrincipalRow, error)
Member access rules (member-access-rules ADR). The rule tables live on the enumerated resolution surface for the same reason `grants` does: authorize() reads them to mint a proof, so a rule write cannot be gated behind one. Every writer takes the principal-row lock like every grant writer. ASCII only: multibyte characters shift sqlite statement offsets. The rule lookup authorize() makes when the principal's grants alone do not satisfy a formula. It carries EXACTLY the gates ListGrantsForPrincipal carries (active privacy state, reconciled up to the restore epoch) plus kind = 'human': rules are human-only, and a machine row that somehow exists is inert here rather than trusted. One row per selector item; every rule has at least its project items, so the inner join drops nothing real. hikyo:authn-resolution
func (*Queries) ListRulesForProject ¶
func (q *Queries) ListRulesForProject(ctx context.Context, arg ListRulesForProjectParams) ([]ListRulesForProjectRow, error)
Every rule of a human principal that names one project, for the folder-move widening census (ADR D9). The census must be a SUPERSET of what authorize() could ever honour, so it deliberately omits the chokepoint's privacy and restore-epoch gates: a principal restricted today whose rule gains on this move would otherwise regain that access later with nobody having confirmed it. hikyo:authn-resolution
func (*Queries) ListSAMLProviders ¶
func (q *Queries) ListSAMLProviders(ctx context.Context) ([]SamlProvider, error)
hikyo:authn-resolution
func (*Queries) ListSAMLSPKeys ¶
hikyo:authn-resolution
func (*Queries) ListSCIMAttention ¶
func (q *Queries) ListSCIMAttention(ctx context.Context, arg ListSCIMAttentionParams) ([]ScimAttention, error)
func (*Queries) ListSCIMBindings ¶
func (*Queries) ListSCIMCredentials ¶
func (q *Queries) ListSCIMCredentials(ctx context.Context, arg ListSCIMCredentialsParams) ([]ListSCIMCredentialsRow, error)
hikyo:authn-resolution
func (*Queries) ListSCIMGroupMembers ¶
func (q *Queries) ListSCIMGroupMembers(ctx context.Context, arg ListSCIMGroupMembersParams) ([]ScimGroupMember, error)
func (*Queries) ListSCIMGroupMembershipsForUser ¶
func (q *Queries) ListSCIMGroupMembershipsForUser(ctx context.Context, arg ListSCIMGroupMembershipsForUserParams) ([]ScimGroupMember, error)
Which groups a user belongs to: the `groups` attribute is response-only per RFC 7643, and this is the read that fills it.
func (*Queries) ListSCIMGroups ¶
func (*Queries) ListSCIMMappings ¶
func (q *Queries) ListSCIMMappings(ctx context.Context, arg ListSCIMMappingsParams) ([]ScimMapping, error)
func (*Queries) ListSCIMMappingsForGroup ¶
func (q *Queries) ListSCIMMappingsForGroup(ctx context.Context, arg ListSCIMMappingsForGroupParams) ([]ScimMapping, error)
func (*Queries) ListSCIMUsers ¶
func (*Queries) ListSamlKeysForReencrypt ¶
func (q *Queries) ListSamlKeysForReencrypt(ctx context.Context, arg ListSamlKeysForReencryptParams) ([]ListSamlKeysForReencryptRow, error)
Reencrypt walk (#75/#187): saml_sp_keys, class=authn. hikyo:authn-resolution
func (*Queries) ListSecretValueOccurrenceIDsIn ¶
func (q *Queries) ListSecretValueOccurrenceIDsIn(ctx context.Context, arg ListSecretValueOccurrenceIDsInParams) ([]string, error)
ListSecretValueOccurrenceIDsIn reads only the requested candidates in the proof's environment, never the lifetime sensitivity history.
func (*Queries) ListSelfConfigJobs ¶
func (q *Queries) ListSelfConfigJobs(ctx context.Context) ([]SelfConfigJob, error)
hikyo:instance-scoped
func (*Queries) ListSelfConfigNodes ¶
func (q *Queries) ListSelfConfigNodes(ctx context.Context) ([]SelfConfigNode, error)
hikyo:instance-scoped
func (*Queries) ListSelfConfigParticipants ¶
hikyo:instance-scoped
func (*Queries) ListSelfConfigRetained ¶
hikyo:instance-scoped
func (*Queries) ListSelfConfigSeedInputs ¶
func (q *Queries) ListSelfConfigSeedInputs(ctx context.Context) ([]ListSelfConfigSeedInputsRow, error)
hikyo:instance-scoped
func (*Queries) ListSelfConfigSeedInputsForReencrypt ¶
func (q *Queries) ListSelfConfigSeedInputsForReencrypt(ctx context.Context, arg ListSelfConfigSeedInputsForReencryptParams) ([]ListSelfConfigSeedInputsForReencryptRow, error)
Temporary node bootstrap inputs use the instance DEK, not a project key.
func (*Queries) ListServiceAccounts ¶
func (q *Queries) ListServiceAccounts(ctx context.Context, arg ListServiceAccountsParams) ([]ServiceAccount, error)
hikyo:authn-resolution
func (*Queries) ListSessionsForPrincipal ¶
func (q *Queries) ListSessionsForPrincipal(ctx context.Context, principalID string) ([]ListSessionsForPrincipalRow, error)
The active-session listing (#71 criterion 5). A workspace session appears here as its own artifact type, beside the cli and browser rows, which is the ADR's requirement and the reason it is a `sessions` row at all. Metadata only: no verifier is selected, here or anywhere. hikyo:authn-resolution
func (*Queries) ListSnapshotEntries ¶
func (q *Queries) ListSnapshotEntries(ctx context.Context, arg ListSnapshotEntriesParams) ([]SnapshotEntry, error)
func (*Queries) ListSnapshotEntriesForReencrypt ¶
func (q *Queries) ListSnapshotEntriesForReencrypt(ctx context.Context, arg ListSnapshotEntriesForReencryptParams) ([]ListSnapshotEntriesForReencryptRow, error)
Reencrypt walk (#75/#187): page and re-seal project_field ciphertext in place.
func (*Queries) ListSnapshots ¶
func (q *Queries) ListSnapshots(ctx context.Context, arg ListSnapshotsParams) ([]ListSnapshotsRow, error)
ListSnapshots is the environment's whole revision header set, newest first: the pin retention-consequence read, which ranks one snapshot against every sibling. Header projection only; the parameter contract has its own read.
func (*Queries) ListSnapshotsPage ¶
func (q *Queries) ListSnapshotsPage(ctx context.Context, arg ListSnapshotsPageParams) ([]ListSnapshotsPageRow, error)
ListSnapshotsPage is the bounded keyset read behind revision history (#629). revision is UNIQUE and monotonic per environment, so it is a stable single-column cursor in descending order: the statement fetches strictly below the last returned revision and never materializes the whole history to slice a limit afterwards. It is a metadata projection: the parameter contract is payload and has its own point read.
func (*Queries) ListTotpCredsForReencrypt ¶
func (q *Queries) ListTotpCredsForReencrypt(ctx context.Context, arg ListTotpCredsForReencryptParams) ([]ListTotpCredsForReencryptRow, error)
hikyo:authn-resolution
func (*Queries) ListUnreconciledPrincipals ¶
func (q *Queries) ListUnreconciledPrincipals(ctx context.Context) ([]ListUnreconciledPrincipalsRow, error)
Reading the outstanding set is not accepting it: the operator has to know who is waiting in order to reconcile them one at a time. hikyo:authn-resolution
func (*Queries) ListValueEntries ¶
func (q *Queries) ListValueEntries(ctx context.Context, arg ListValueEntriesParams) ([]ValueEntry, error)
ListValueEntries is the delivery-shaped read: one environment's entire set, which is exactly what "a `set` entry delivers, `absent` delivers nothing" means when absence is the absence of a row.
func (*Queries) ListValueEntriesForReencrypt ¶
func (q *Queries) ListValueEntriesForReencrypt(ctx context.Context, arg ListValueEntriesForReencryptParams) ([]ListValueEntriesForReencryptRow, error)
ListValueEntriesForReencrypt pages a project's entire value set by id (keyset cursor) so reencrypt walks it in fixed chunks. It spans every environment: a DEK covers the whole project. id > ” returns the first page.
func (*Queries) ListValueEnvironmentsForKey ¶
func (q *Queries) ListValueEnvironmentsForKey(ctx context.Context, arg ListValueEnvironmentsForKeyParams) ([]string, error)
ListValueEnvironmentsForKey spans the project's environments deliberately: it is the input to the key-delete refusal, which must be able to NAME the environments that still deliver material for the key.
func (*Queries) ListWebAuthnCredentialsForAccount ¶
func (q *Queries) ListWebAuthnCredentialsForAccount(ctx context.Context, accountID string) ([]WebauthnCredential, error)
hikyo:authn-resolution
func (*Queries) ListWorkspaceOrigins ¶
func (q *Queries) ListWorkspaceOrigins(ctx context.Context) ([]WorkspaceOrigin, error)
--------------------------------------------------------------------------- SERVING SIDE, continued: the origin allowlist and the handoff transaction.
Both are authn-resolution. The allowlist is consulted at handoff issuance, which is pre-authentication; the handoff transaction resolves the caller the same way a session verifier does, at the same chokepoint, and a proof cannot gate it because the proof is what the answer produces. --------------------------------------------------------------------------- hikyo:authn-resolution
func (*Queries) LockCredentialPolicy ¶
The policy row lock. A mint reads the ceiling and the cap and then inserts; a tightening reads the affected set and then clamps. Without a shared lock the two interleave and a credential is written under a ceiling that no longer exists. sqlite's single writer serializes; postgres takes FOR UPDATE. hikyo:authn-resolution
func (*Queries) LockInstanceIdentityRow ¶
Row locks that serialize a read-then-write decision. Postgres runs READ COMMITTED, so a transaction alone does NOT serialize "check, then write" -- two concurrent transactions each read the pre-state and each commit. sqlite's single writer serializes trivially; postgres takes FOR UPDATE. The shape mirrors LockPrincipalRow, which #54 added for exactly this class of race.
LockInstanceIdentityRow locks the instance-owned singleton `instance_identity` has been since migration 00019. It is the natural mutex for a decision about THIS INSTANCE AS A WHOLE -- the remote-count cap and the duplicate-identity refusal are both instance-wide census questions, and there is no per-remote row to lock because the row being decided about does not exist yet.
LockWorkspaceOrigin locks one allowlist entry so a redemption's membership check and the session it then mints cannot straddle a concurrent removal. Zero rows means the origin is gone, and the caller refuses. hikyo:instance-scoped
func (*Queries) LockOAuth2ProviderForDelete ¶
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) LockOIDCProviderForDelete ¶
Structural twin of the postgres lock: BEGIN IMMEDIATE already holds the database write lock for the whole delete tx, so a concurrent mint guard cannot interleave; this read confirms the row still exists (no-rows => ErrProviderNotFound) and keeps the delete path identical across engines. hikyo:authn-resolution
func (*Queries) LockOrg ¶
LockOrg serializes retention-cap changes with project override changes. SQLite write transactions are already instance-serialized by _txlock=immediate; this matching read keeps the cross-engine store seam.
func (*Queries) LockPrincipalRow ¶
Principal row lock (#54 B14): every grant writer takes it so the credential- reset org-bounded test serializes against a concurrent grant landing. sqlite's single writer serializes trivially; postgres takes FOR UPDATE. The grant-lock analyzer pins that this sits inside every grant writer. hikyo:authn-resolution
func (*Queries) LockProject ¶
LockProject takes the project row for the length of the transaction, so every environment-set mutation on one project serializes. It is what makes the environment cap and the append position race-free: two creates at cap-1 would otherwise both read the same count and both insert.
On sqlite this statement is a plain read: the write pool is a single connection opened with _txlock=immediate, so write transactions already serialize instance-wide and there is nothing finer to take. The query exists on both engines because the store method must, and because the cross-engine check requires the same query names.
func (*Queries) LockSAMLProviderForDelete ¶
SQLite write transactions already serialize; this existence read mirrors PostgreSQL's row lock and preserves one cross-engine delete sequence. hikyo:authn-resolution
func (*Queries) LockSCIMBinding ¶
Every mutation on a binding's subtree takes this lock FIRST. It is a no-op write, not a read: a SELECT takes no row lock, so two reconciliations for one binding would interleave. `last_contact_at` is deliberately untouched -- an administrator editing the mapping table is not the identity provider making contact (ADR section 9).
func (*Queries) LockSelfConfigBinding ¶
func (q *Queries) LockSelfConfigBinding(ctx context.Context) (SelfConfigBinding, error)
hikyo:instance-scoped
func (*Queries) LockSelfConfigMembership ¶
hikyo:instance-scoped
func (*Queries) LockSnapshotForRetentionConsequence ¶
func (q *Queries) LockSnapshotForRetentionConsequence(ctx context.Context, arg LockSnapshotForRetentionConsequenceParams) (string, error)
Retention/GC (#53). Scheduler statements are cross-tenant by definition and run only under the scheduler system-proof site. Tenant policy and pin reads carry the ordinary proof-bound chain conjuncts.
func (*Queries) LockWorkspaceOrigin ¶
hikyo:authn-resolution
func (*Queries) MachineCredentialByVerifier ¶
func (q *Queries) MachineCredentialByVerifier(ctx context.Context, verifier []byte) (MachineCredential, error)
Authentication's single indexed read. It returns the row unconditionally -- revoked, expired and epoch-superseded rows included -- because the caller evaluates every predicate together after a FIXED number of reads. Filtering here would make an unknown credential cost one query and a revoked one two, which is a query-count oracle for which credentials exist. hikyo:authn-resolution
func (*Queries) MarkAccessRequestExpired ¶
func (q *Queries) MarkAccessRequestExpired(ctx context.Context, arg MarkAccessRequestExpiredParams) (int64, error)
MarkAccessRequestExpired resolves one active request as expired, guarded by the state it was selected in so a concurrent decision or revoke wins. hikyo:instance-scoped
func (*Queries) MarkAllPrincipalsUnreconciled ¶
Restore strips every reconciliation stamp: reconciled_epoch is archive data like everything else, and a forged archive could stamp its principals "already reconciled" against any future restore epoch. Zero is always below the post-restore restore_epoch, so every restored principal starts inert. hikyo:authn-resolution
func (*Queries) MarkApprovalRequestExpired ¶
func (q *Queries) MarkApprovalRequestExpired(ctx context.Context, arg MarkApprovalRequestExpiredParams) (int64, error)
MarkApprovalRequestExpired resolves one request as expired, idempotent by the resolved_at IS NULL guard so a concurrent merge that already resolved it wins. Runs under scheduler authority (cross-tenant); annotated and content-pinned. hikyo:instance-scoped
func (*Queries) MarkPlanApplied ¶
MarkPlanApplied stamps the one-shot apply record. The applied = 0 guard makes a second apply of the same plan affect zero rows, which the service maps to the already-applied conflict.
func (*Queries) MarkSAMLSPKeyRetiringCAS ¶
func (q *Queries) MarkSAMLSPKeyRetiringCAS(ctx context.Context, arg MarkSAMLSPKeyRetiringCASParams) (int64, error)
hikyo:authn-resolution
func (*Queries) MarkSnapshotCollected ¶
func (q *Queries) MarkSnapshotCollected(ctx context.Context, arg MarkSnapshotCollectedParams) (int64, error)
MarkSnapshotCollected stamps the collection and drops the payload-class columns held on the header row itself. The parameter contract is payload: it is charged to the project storage quota beside the entries, every reader of it needs the entries the collection removes, and '{}' decodes as the valid empty contract. hikyo:instance-scoped
func (*Queries) MaxInstanceAudit ¶
func (*Queries) MaxKnownCredentialEpoch ¶
The largest credential epoch appearing ANYWHERE in the datastore - the instance row and every epoch-stamped artifact table. Restore derives its new epoch as this value + 1 rather than trusting the archive's own counter: an archive is attacker-forgeable by anyone holding the PUBLIC recipient, and a forged archive that understates the instance epoch while stamping its planted credentials one higher would otherwise come back to life on the bump (K2: restored verifiers never trusted - including their epoch stamps). hikyo:authn-resolution
func (*Queries) MaxTenantAuditEnv ¶
func (*Queries) MaxTenantAuditOrg ¶
Session ceiling reads (#502): the interactive query pins a stable upper seq bound on its first page so paging terminates across concurrent writes, and so a query never chases the audit.query events its own reads append. Chain- confined exactly like the page reads. The CAST pins the type for sqlc; an empty trail is a 0 ceiling, not NULL.
func (*Queries) MaxTenantAuditProject ¶
func (*Queries) NextEnvironmentOrder ¶
func (q *Queries) NextEnvironmentOrder(ctx context.Context, arg NextEnvironmentOrderParams) (int64, error)
NextEnvironmentOrder is the append position: one past the highest order in use, NOT the row count. Deleting an environment deliberately leaves a gap, so a count would hand the next create a position another row already holds. The CAST pins the column type; without it sqlc types COALESCE as untyped.
func (*Queries) NextSelfConfigRolloutSequence ¶
func (q *Queries) NextSelfConfigRolloutSequence(ctx context.Context, enrollmentID string) (int64, error)
hikyo:instance-scoped
func (*Queries) PKIActiveIssuer ¶
hikyo:reason StorePKIIssuersActivePublic permits the existing instance-wide active CA projection for a verified environment operation; sealed keys are excluded. hikyo:instance-scoped
func (*Queries) PKIBoundProfile ¶
func (q *Queries) PKIBoundProfile(ctx context.Context, arg PKIBoundProfileParams) (PkiProfile, error)
func (*Queries) PKIBoundProfiles ¶
func (q *Queries) PKIBoundProfiles(ctx context.Context, arg PKIBoundProfilesParams) ([]PkiProfile, error)
func (*Queries) PKIBumpCertificateRevocation ¶
hikyo:reason Called only after a proof-scoped certificate revoke CAS or closed PKIRuntime unknown-state CAS succeeds in the same transaction; bumps that certificate issuer CRL sequence. hikyo:instance-scoped
func (*Queries) PKIBumpIssuerRevocation ¶
hikyo:reason Called only after successful StorePKICertificatesRevokeLive changes in the same transaction; global CA sequence forces CRL refresh for those leaves. hikyo:instance-scoped
func (*Queries) PKIClaimRenewal ¶
func (*Queries) PKICompleteRenewal ¶
func (*Queries) PKICountLiveCertificates ¶
func (q *Queries) PKICountLiveCertificates(ctx context.Context, arg PKICountLiveCertificatesParams) (int64, error)
hikyo:reason StorePKICertificatesCountLive verifies instance-config authority; retiring a global CA must count all dependent unexpired tenant leaves and child CAs. hikyo:instance-scoped
func (*Queries) PKICreateBinding ¶
func (q *Queries) PKICreateBinding(ctx context.Context, arg PKICreateBindingParams) error
hikyo:reason StorePKIBindingsCreate verifies instance-config authority; operator explicitly names a policy reach, with existing tenant foreign-key and duplicate constraints. hikyo:instance-scoped
func (*Queries) PKICreateCertificate ¶
func (q *Queries) PKICreateCertificate(ctx context.Context, arg PKICreateCertificateParams) error
func (*Queries) PKICreateIssuer ¶
func (q *Queries) PKICreateIssuer(ctx context.Context, arg PKICreateIssuerParams) error
hikyo:reason StorePKIIssuersCreate verifies instance-config authority before creating an instance-wide CA key version. hikyo:instance-scoped
func (*Queries) PKICreateProfile ¶
func (q *Queries) PKICreateProfile(ctx context.Context, arg PKICreateProfileParams) error
hikyo:reason StorePKIProfilesCreate verifies instance-config authority before creating a global certificate policy definition. hikyo:instance-scoped
func (*Queries) PKIDeleteBinding ¶
hikyo:reason StorePKIBindingsDelete verifies instance-config authority; operator deletes only the named binding belonging to the named global policy. hikyo:instance-scoped
func (*Queries) PKIDeleteProfile ¶
hikyo:reason StorePKIProfilesDelete verifies instance-config authority; deletes the global policy after its bindings are removed in the same transaction. hikyo:instance-scoped
func (*Queries) PKIDeleteProfileBindings ¶
hikyo:reason StorePKIProfilesDelete verifies instance-config authority; removes an operator-owned global policy reach before deleting that policy in the same transaction. hikyo:instance-scoped
func (*Queries) PKIDestroyIssuerKey ¶
func (q *Queries) PKIDestroyIssuerKey(ctx context.Context, arg PKIDestroyIssuerKeyParams) (int64, error)
hikyo:reason StorePKIIssuersDestroyKey verifies instance-config authority; terminal CA transition destroys the sealed key under state/version CAS. hikyo:instance-scoped
func (*Queries) PKIFailCertificate ¶
func (*Queries) PKIFenceIssuance ¶
hikyo:reason StorePKIIssuersFence verifies issuance authority; writes the global CA counter only while active and not held, preserving the cross-node signing fence. hikyo:instance-scoped
func (*Queries) PKIFinishCertificate ¶
func (*Queries) PKIGetCertificate ¶
func (q *Queries) PKIGetCertificate(ctx context.Context, arg PKIGetCertificateParams) (PKIGetCertificateRow, error)
func (*Queries) PKIGetIssuer ¶
hikyo:reason StorePKIIssuersGet verifies instance-config, or StorePKIIssuersPublic permits the existing global public CA projection; this query excludes sealed keys. hikyo:instance-scoped
func (*Queries) PKIGetProfile ¶
hikyo:reason StorePKIProfilesGet verifies instance-config authority; resolves an instance-wide policy definition by name. hikyo:instance-scoped
func (*Queries) PKIInstallIssuer ¶
hikyo:reason StorePKIIssuersInstall verifies instance-config authority; pending CA activation retains the original state and row-version CAS. hikyo:instance-scoped
func (*Queries) PKIIssuerKey ¶
hikyo:reason StorePKIIssuersKey or StorePKIIssuersSigning verifies the closed in-process signer capability before reading sealed CA key material. hikyo:instance-scoped
func (*Queries) PKIListBindings ¶
func (q *Queries) PKIListBindings(ctx context.Context, profileID string) ([]PKIListBindingsRow, error)
hikyo:reason StorePKIBindingsList verifies instance-config authority; operator reads explicit tenant reaches of one global policy. hikyo:instance-scoped
func (*Queries) PKIListCertificates ¶
func (q *Queries) PKIListCertificates(ctx context.Context, arg PKIListCertificatesParams) ([]PKIListCertificatesRow, error)
func (*Queries) PKIListIssuers ¶
func (q *Queries) PKIListIssuers(ctx context.Context) ([]PKIListIssuersRow, error)
hikyo:reason StorePKIIssuersList verifies instance-config authority; CA issuer versions are instance-wide public metadata ordered by name/version. hikyo:instance-scoped
func (*Queries) PKIListProfiles ¶
func (q *Queries) PKIListProfiles(ctx context.Context) ([]PkiProfile, error)
hikyo:reason StorePKIProfilesList verifies instance-config authority; certificate policy definitions are instance-wide and contain no tenant certificate rows. hikyo:instance-scoped
func (*Queries) PKIPublishCRL ¶
hikyo:reason StorePKIIssuersPublishCRL verifies instance-config, or closed PKIRuntime publishes a signed global CA CRL; original active/retiring state and prior-number CAS remain. hikyo:instance-scoped
func (*Queries) PKIReleaseRenewal ¶
func (*Queries) PKIRevokeCertificate ¶
func (*Queries) PKIRevokeLiveCertificates ¶
func (q *Queries) PKIRevokeLiveCertificates(ctx context.Context, arg PKIRevokeLiveCertificatesParams) (int64, error)
hikyo:reason StorePKICertificatesRevokeLive verifies instance-config authority; compromised global CA revocation must cover all dependent tenant leaves. hikyo:instance-scoped
func (*Queries) PKIRevokeParent ¶
hikyo:reason Called only after successful StorePKIIssuersDestroyKey revocation CAS in the same transaction; the global parent CA revocation sequence covers the revoked child. hikyo:instance-scoped
func (*Queries) PKIRevokedChildren ¶
func (q *Queries) PKIRevokedChildren(ctx context.Context, arg PKIRevokedChildrenParams) ([]PKIRevokedChildrenRow, error)
hikyo:reason Same verified instance-config or closed PKIRuntime CRL assembly authority; a global parent CRL must include revoked child CA certificates. hikyo:instance-scoped
func (*Queries) PKIRevokedEntries ¶
func (q *Queries) PKIRevokedEntries(ctx context.Context, arg PKIRevokedEntriesParams) ([]PKIRevokedEntriesRow, error)
hikyo:reason StorePKICertificatesRevokedEntries verifies instance-config, or closed PKIRuntime CRL assembly reads all unexpired revoked/unknown leaves for one global CA. hikyo:instance-scoped
func (*Queries) PKISetIssuerHold ¶
hikyo:reason StorePKIIssuersHold verifies instance-config authority; global CA restore hold requires the original row-version CAS. hikyo:instance-scoped
func (*Queries) PKISigningIssuer ¶
hikyo:reason StorePKIIssuersSigning verifies signing authority before reading the active global CA public row; issuer fencing remains required before issuance. hikyo:instance-scoped
func (*Queries) PKITransitionIssuer ¶
func (q *Queries) PKITransitionIssuer(ctx context.Context, arg PKITransitionIssuerParams) (int64, error)
hikyo:reason StorePKIIssuersTransition verifies instance-config authority; global CA transition requires prior state and row-version CAS. hikyo:instance-scoped
func (*Queries) PKIUpdateProfile ¶
hikyo:reason StorePKIProfilesUpdate verifies instance-config authority; global policy update retains its row-version CAS and service narrowing checks. hikyo:instance-scoped
func (*Queries) PageInstanceAudit ¶
func (q *Queries) PageInstanceAudit(ctx context.Context, arg PageInstanceAuditParams) ([]AuditInstanceEvent, error)
func (*Queries) PageInstanceAuditExport ¶
func (q *Queries) PageInstanceAuditExport(ctx context.Context, arg PageInstanceAuditExportParams) ([]AuditInstanceEvent, error)
func (*Queries) PageSCIMGroups ¶
func (*Queries) PageSCIMGroupsByDisplayName ¶
func (*Queries) PageSCIMGroupsByExternalID ¶
func (*Queries) PageSCIMUsers ¶
func (*Queries) PageSCIMUsersByExternalID ¶
func (*Queries) PageSCIMUsersByUserName ¶
func (*Queries) PageTenantAuditEnv ¶
func (q *Queries) PageTenantAuditEnv(ctx context.Context, arg PageTenantAuditEnvParams) ([]AuditTenantEvent, error)
func (*Queries) PageTenantAuditExportEnv ¶
func (q *Queries) PageTenantAuditExportEnv(ctx context.Context, arg PageTenantAuditExportEnvParams) ([]AuditTenantEvent, error)
func (*Queries) PageTenantAuditExportOrg ¶
func (q *Queries) PageTenantAuditExportOrg(ctx context.Context, arg PageTenantAuditExportOrgParams) ([]AuditTenantEvent, error)
Export query names mirror postgres for the predicate-confinement parity invariant. sqlite's single writer makes commit order equal seq order.
func (*Queries) PageTenantAuditExportProject ¶
func (q *Queries) PageTenantAuditExportProject(ctx context.Context, arg PageTenantAuditExportProjectParams) ([]AuditTenantEvent, error)
func (*Queries) PageTenantAuditOrg ¶
func (q *Queries) PageTenantAuditOrg(ctx context.Context, arg PageTenantAuditOrgParams) ([]AuditTenantEvent, error)
func (*Queries) PageTenantAuditProject ¶
func (q *Queries) PageTenantAuditProject(ctx context.Context, arg PageTenantAuditProjectParams) ([]AuditTenantEvent, error)
func (*Queries) PeekDeveloperCredentialPolicy ¶
hikyo:reason Environment read authorization precedes the non-locking lifetime ceiling affordance. hikyo:authn-resolution
func (*Queries) PollCLILogin ¶
func (q *Queries) PollCLILogin(ctx context.Context, arg PollCLILoginParams) error
hikyo:reason durable per-transaction device polling timestamps and intervals enforce RFC 8628 slowdown hikyo:authn-resolution
func (*Queries) PostLegacyMaxCredentialEpoch ¶
The credential_epoch tables added after the pinned legacy genesis (00057). A restore bumps the epoch against the ARCHIVE's schema, before rolling forward, so these cannot join MaxKnownCredentialEpoch (a pre-00057 archive has no such tables). authn.AdvanceRestoreEpoch runs this query whenever the restored schema carries them; MaxKnownCredentialEpoch stays the frozen legacy set. A later epoch-stamped table joins this list. hikyo:authn-resolution
func (*Queries) PrivacyAccount ¶
func (q *Queries) PrivacyAccount(ctx context.Context, principalID string) (PrivacyAccountRow, error)
Host-local privacy operations. Explicit subject scope, never a network surface. hikyo:authn-resolution
func (*Queries) PrivacyAuditInstance ¶
func (q *Queries) PrivacyAuditInstance(ctx context.Context, principalID sql.NullString) ([]PrivacyAuditInstanceRow, error)
hikyo:authn-resolution
func (*Queries) PrivacyAuditTenant ¶
func (q *Queries) PrivacyAuditTenant(ctx context.Context, principalID sql.NullString) ([]PrivacyAuditTenantRow, error)
hikyo:authn-resolution
func (*Queries) PrivacyCorrectAccount ¶
func (q *Queries) PrivacyCorrectAccount(ctx context.Context, arg PrivacyCorrectAccountParams) error
hikyo:authn-resolution
func (*Queries) PrivacyEraseAccount ¶
func (q *Queries) PrivacyEraseAccount(ctx context.Context, arg PrivacyEraseAccountParams) error
hikyo:authn-resolution
func (*Queries) PrivacyEraseAuthorities ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseCeremonies ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseExternalIdentities ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseGrantOrigins ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseGrants ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseHandoffs ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseOIDCTransactions ¶
hikyo:authn-resolution
func (*Queries) PrivacyErasePasswords ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseRecoveryCodes ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseRuleItems ¶
Privacy erasure removes an erased principal's rules with their grants. hikyo:authn-resolution
func (*Queries) PrivacyEraseRules ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseSAMLTransactions ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseSCIMMembers ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseSCIMUsers ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseTOTP ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseTOTPChallenges ¶
hikyo:authn-resolution
func (*Queries) PrivacyEraseWebAuthn ¶
hikyo:authn-resolution
func (*Queries) PrivacySessions ¶
func (q *Queries) PrivacySessions(ctx context.Context, principalID string) ([]PrivacySessionsRow, error)
hikyo:authn-resolution
func (*Queries) PrivacySetState ¶
func (q *Queries) PrivacySetState(ctx context.Context, arg PrivacySetStateParams) error
hikyo:authn-resolution
func (*Queries) ProjectMachineReveal ¶
func (q *Queries) ProjectMachineReveal(ctx context.Context, id string) (ProjectMachineRevealRow, error)
The machine-reveal opt-in is read beside session resolution: the grant writer's class check and the chokepoint's machine conjunct both need it before (or while) an operation proof is minted. hikyo:authn-resolution
func (*Queries) ProjectSnapshotRevisions ¶
func (q *Queries) ProjectSnapshotRevisions(ctx context.Context, arg ProjectSnapshotRevisionsParams) ([]ProjectSnapshotRevisionsRow, error)
ProjectSnapshotRevisions returns the latest published revision per environment across the project, the definitions plan/apply pin (#70). The aggregate transfers one row per environment rather than the lifetime history; the analyzer proves the chain predicate through GROUP BY, which only groups rows the chain conjuncts already confined.
func (*Queries) PruneCLILogins ¶
hikyo:reason expired first-party login transaction metadata is removed opportunistically at issuance hikyo:authn-resolution
func (*Queries) PruneExpiredPlans ¶
PruneExpiredPlans deletes expired, unapplied plans across the instance, run by the hourly retention GC. Applied plans are kept as provenance records and never pruned. hikyo:instance-scoped
func (*Queries) PruneExpiredRegistrationSignup ¶
func (q *Queries) PruneExpiredRegistrationSignup(ctx context.Context, arg PruneExpiredRegistrationSignupParams) (int64, error)
hikyo:reason The singleton reaper deletes only its observed expired row and rechecks expiry to preserve concurrent resend. hikyo:authn-resolution
func (*Queries) PruneInstanceAuditRetention ¶
func (q *Queries) PruneInstanceAuditRetention(ctx context.Context, arg PruneInstanceAuditRetentionParams) ([]PruneInstanceAuditRetentionRow, error)
hikyo:instance-scoped
func (*Queries) PruneRemotePairingExchanges ¶
hikyo:reason Remove expired exchange secrets in bounded control-plane lifecycle work. hikyo:authn-resolution
func (*Queries) PruneRemotePairingInvites ¶
hikyo:reason Remove expired finite invitation state after retaining its audit trail separately. hikyo:authn-resolution
func (*Queries) PruneRemotePairingReplays ¶
hikyo:reason Remove only expired replay records before bounded admission. hikyo:authn-resolution
func (*Queries) PruneTenantAuditRetention ¶
func (q *Queries) PruneTenantAuditRetention(ctx context.Context, arg PruneTenantAuditRetentionParams) ([]PruneTenantAuditRetentionRow, error)
hikyo:instance-scoped
func (*Queries) PurgeDeliveryTargetReport ¶
func (q *Queries) PurgeDeliveryTargetReport(ctx context.Context, arg PurgeDeliveryTargetReportParams) (int64, error)
PurgeDeliveryTargetReport deletes one expired row, guarded by the same cutoff so a report accepted since the select keeps its row. hikyo:instance-scoped
func (*Queries) PutSelfConfigNode ¶
func (q *Queries) PutSelfConfigNode(ctx context.Context, arg PutSelfConfigNodeParams) error
hikyo:instance-scoped
func (*Queries) PutSelfConfigSeedAttestation ¶
func (q *Queries) PutSelfConfigSeedAttestation(ctx context.Context, arg PutSelfConfigSeedAttestationParams) error
hikyo:instance-scoped
func (*Queries) PutSelfConfigSeedInput ¶
func (q *Queries) PutSelfConfigSeedInput(ctx context.Context, arg PutSelfConfigSeedInputParams) error
hikyo:instance-scoped
func (*Queries) ReactivateFederatedBinding ¶
func (q *Queries) ReactivateFederatedBinding(ctx context.Context, arg ReactivateFederatedBindingParams) (int64, error)
The restore predicate's writer (section Restore). Re-activation is a RE-VALIDATION, not a trust: a restore can resurrect a binding that was removed precisely because that workload was compromised. The re-activation UX is #76's; the column and the refusal it drives land here, because a restore path that arrives later cannot retrofit a predicate onto tokens already accepted. hikyo:authn-resolution
func (*Queries) ReadAuthRefusalWindow ¶
func (q *Queries) ReadAuthRefusalWindow(ctx context.Context) (ReadAuthRefusalWindowRow, error)
hikyo:reason singleton pre-auth refusal accounting reads datastore time and bounded state under its transaction owner hikyo:authn-resolution
func (*Queries) RebindSAMLExternalIdentityProvider ¶
func (q *Queries) RebindSAMLExternalIdentityProvider(ctx context.Context, arg RebindSAMLExternalIdentityProviderParams) (int64, error)
Re-adding the same byte-exact SAML entity creates a new provider row while preserving the human link. The old provider id is a provenance CAS guard: only the identity just verified by that entity may move to the live row. hikyo:authn-resolution
func (*Queries) ReconcilePrincipal ¶
One principal, named explicitly. There is deliberately no statement here that reconciles a set: per-principal reconciliation is an informed assertion about one identity, and a bulk form would make it a keystroke. hikyo:authn-resolution
func (*Queries) RecordDeliveryTargetRefusal ¶
func (*Queries) RecordFileTargetReport ¶
func (q *Queries) RecordFileTargetReport(ctx context.Context, arg RecordFileTargetReportParams) (int64, error)
The report is accepted only from the bound principal, in the target's own environment: the WHERE clause is the authority, not a second check.
func (*Queries) RecordRemoteFetchFailure ¶
func (q *Queries) RecordRemoteFetchFailure(ctx context.Context, arg RecordRemoteFetchFailureParams) error
A failed fetch records the attempt and its outcome and PRESERVES the last known listing, which is what makes "unreachable 2h - last known state shown" possible. Writing NULLs here would discard the genuinely useful signal. hikyo:instance-scoped
func (*Queries) RecordSecretValueOccurrence ¶
func (q *Queries) RecordSecretValueOccurrence(ctx context.Context, arg RecordSecretValueOccurrenceParams) error
RecordSecretValueOccurrence is idempotent on the value-entry primary key: a publish records each secret occurrence it materializes without first enumerating the environment's lifetime occurrence history.
func (*Queries) RecoverSelfConfigTarget ¶
func (q *Queries) RecoverSelfConfigTarget(ctx context.Context, arg RecoverSelfConfigTargetParams) (int64, error)
hikyo:instance-scoped
func (*Queries) RecoveryListGrantsBeforeAccess ¶
func (q *Queries) RecoveryListGrantsBeforeAccess(ctx context.Context, principalID string) ([]RecoveryListGrantsBeforeAccessRow, error)
Verified source schemas 50 through 65 predate temporary access (#152): the chokepoint projection without the access_grants branch, for guarded historical recovery only. Same privacy and restore reconciliation gates. hikyo:authn-resolution
func (*Queries) RecoveryListGrantsBeforePrivacy ¶
func (q *Queries) RecoveryListGrantsBeforePrivacy(ctx context.Context, principalID string) ([]RecoveryListGrantsBeforePrivacyRow, error)
Authenticated historical scratch recovery before migration 47 only. Ordinary runtime and current-schema recovery use ListGrantsForPrincipal. hikyo:authn-resolution
func (*Queries) RecoveryListGrantsBeforeSelfConfig ¶
func (q *Queries) RecoveryListGrantsBeforeSelfConfig(ctx context.Context, principalID string) ([]RecoveryListGrantsBeforeSelfConfigRow, error)
Verified source schema 47 retains privacy and restore reconciliation gates. hikyo:authn-resolution
func (*Queries) ReencryptOauth2Provider ¶
func (q *Queries) ReencryptOauth2Provider(ctx context.Context, arg ReencryptOauth2ProviderParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ReencryptOidcProvider ¶
func (q *Queries) ReencryptOidcProvider(ctx context.Context, arg ReencryptOidcProviderParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ReencryptPairingExchanges ¶
func (q *Queries) ReencryptPairingExchanges(ctx context.Context, arg ReencryptPairingExchangesParams) (int64, error)
hikyo:reason Instance reencrypt authorization precedes ciphertext replacement guarded by the old blob; no pairing consent or credential authority is widened. hikyo:authn-resolution
func (*Queries) ReencryptPairingInvites ¶
func (q *Queries) ReencryptPairingInvites(ctx context.Context, arg ReencryptPairingInvitesParams) (int64, error)
hikyo:reason Instance reencrypt authorization precedes ciphertext replacement guarded by the old blob; no pairing consent or credential authority is widened. hikyo:authn-resolution
func (*Queries) ReencryptPasswordCred ¶
func (q *Queries) ReencryptPasswordCred(ctx context.Context, arg ReencryptPasswordCredParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ReencryptPendingChange ¶
func (*Queries) ReencryptPkiIssuer ¶
func (q *Queries) ReencryptPkiIssuer(ctx context.Context, arg ReencryptPkiIssuerParams) (int64, error)
hikyo:instance-scoped
func (*Queries) ReencryptRecoveryCodes ¶
func (q *Queries) ReencryptRecoveryCodes(ctx context.Context, arg ReencryptRecoveryCodesParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ReencryptRemote ¶
hikyo:instance-scoped
func (*Queries) ReencryptSamlKey ¶
hikyo:authn-resolution
func (*Queries) ReencryptSelfConfigSeedInput ¶
func (q *Queries) ReencryptSelfConfigSeedInput(ctx context.Context, arg ReencryptSelfConfigSeedInputParams) (int64, error)
The ciphertext guard also rejects delete/reinsert at the same row version.
func (*Queries) ReencryptSnapshotEntry ¶
func (*Queries) ReencryptTotpCred ¶
func (q *Queries) ReencryptTotpCred(ctx context.Context, arg ReencryptTotpCredParams) (int64, error)
hikyo:authn-resolution
func (*Queries) ReencryptValueEntry ¶
func (q *Queries) ReencryptValueEntry(ctx context.Context, arg ReencryptValueEntryParams) (int64, error)
ReencryptValueEntry re-seals one value row's ciphertext in place. The id (and thus the AAD) is unchanged -- only the DEK version moves -- so this is exempt from the delete-then-insert-with-fresh-id rule that governs value CHANGES. Compare-and-swap on the old ciphertext: if a concurrent write replaced it, the row is already on a fresh version and this matches zero rows (anti-resurrection).
func (*Queries) ReissueRegistrationSignup ¶
func (q *Queries) ReissueRegistrationSignup(ctx context.Context, arg ReissueRegistrationSignupParams) (int64, error)
hikyo:reason The admitted local signup request rotates only the matched pending signup row under the live registration policy. hikyo:authn-resolution
func (*Queries) RemotePairedConnectionByID ¶
func (q *Queries) RemotePairedConnectionByID(ctx context.Context, id string) (RemotePairedConnection, error)
hikyo:reason Authentication rechecks the enrolled public key inside every directory serve transaction. hikyo:authn-resolution
func (*Queries) RemotePairingExchangeByID ¶
func (q *Queries) RemotePairingExchangeByID(ctx context.Context, id string) (RemotePairingExchange, error)
hikyo:reason Resolve bounded exchange state before atomic invitation consumption. hikyo:authn-resolution
func (*Queries) RemotePairingInviteByCapability ¶
func (q *Queries) RemotePairingInviteByCapability(ctx context.Context, verifier []byte) (RemotePairingInvite, error)
hikyo:reason Resolve the unguessable invitation capability before invoking PAKE. hikyo:authn-resolution
func (*Queries) RemotePairingInviteByID ¶
func (q *Queries) RemotePairingInviteByID(ctx context.Context, id string) (RemotePairingInvite, error)
hikyo:reason Exchange continuation resolves its recorded invitation inside the consuming transaction. hikyo:authn-resolution
func (*Queries) RemotePairingMaxCredentialEpoch ¶
hikyo:reason A restored archive cannot choose an epoch that reactivates a future-stamped pairing artifact. hikyo:authn-resolution
func (*Queries) RenameEnvironment ¶
func (*Queries) RenameFolder ¶
func (*Queries) RenameKeyGroup ¶
func (*Queries) RenameProject ¶
func (*Queries) RenameRemote ¶
The display name is the one mutable field the ADR admits. hikyo:instance-scoped
func (*Queries) ResolveAccessRequest ¶
func (q *Queries) ResolveAccessRequest(ctx context.Context, arg ResolveAccessRequestParams) (int64, error)
ResolveAccessRequest moves an ACTIVE request to a terminal state. from_state is the state the caller read, so a concurrent resolution makes this a no-op the caller can detect.
func (*Queries) ResolveEnvChain ¶
func (q *Queries) ResolveEnvChain(ctx context.Context, arg ResolveEnvChainParams) (ResolveEnvChainRow, error)
hikyo:authn-resolution
func (*Queries) ResolveKeyByID ¶
func (q *Queries) ResolveKeyByID(ctx context.Context, arg ResolveKeyByIDParams) (ResolveKeyByIDRow, error)
The key a key-aware authorization addresses, resolved from the database in the authorizing transaction: the folder a rule matches on is never taken from the caller. Scoped by the already-resolved chain. hikyo:authn-resolution
func (*Queries) ResolveKeyByName ¶
func (q *Queries) ResolveKeyByName(ctx context.Context, arg ResolveKeyByNameParams) (ResolveKeyByNameRow, error)
hikyo:authn-resolution
func (*Queries) ResolveOrgChain ¶
The authorization package's enumerated resolution surface (tenant-isolation ADR bootstrap carve-out): the only statements that read chain tables with request-supplied identifiers, because authorize() runs them to mint the proof everything else requires. Each is annotated and content-pinned in the allowlist fixture - drift fails the build until re-reviewed. Chain resolution is one query, one round trip, regardless of which level is missing: the denormalized chain columns plus composite ancestry FKs make the addressed row's own chain authoritative, so no per-level walk exists. hikyo:authn-resolution
func (*Queries) ResolveProjectChain ¶
func (q *Queries) ResolveProjectChain(ctx context.Context, arg ResolveProjectChainParams) (ResolveProjectChainRow, error)
hikyo:authn-resolution
func (*Queries) ResolveRuleApprovalKeys ¶
func (q *Queries) ResolveRuleApprovalKeys(ctx context.Context, arg ResolveRuleApprovalKeysParams) (string, error)
Resolve only the pinned approval key ids before key-scoped Publish auth. hikyo:authn-resolution hikyo:reason authorize() resolves pinned approval key metadata within the resolved environment before minting a key-scoped proof; request details and ciphertext remain proof-gated.
func (*Queries) ResolveRulePendingKey ¶
func (q *Queries) ResolveRulePendingKey(ctx context.Context, arg ResolveRulePendingKeyParams) (ResolveRulePendingKeyRow, error)
Resolve only the addressed draft's key metadata for key-scoped Publish. hikyo:authn-resolution hikyo:reason authorize() resolves only the caller-owned draft key metadata within the resolved environment before minting a key-scoped Publish proof; ciphertext remains proof-gated.
func (*Queries) RestoreDeveloperPolicySeedOccupied ¶
Only untouched migration policy defaults may be replaced by a restore. hikyo:reason restore target admission checks developer policy without exposing authentication verifiers hikyo:authn-resolution
func (*Queries) RetireMasterAtVersion ¶
RetireMasterAtVersion retires the single active master as a compare-and-swap: zero rows means a concurrent master rotation already moved it. Refused while the root is dual-wrapped (two active masters) by the count check in the store.
func (*Queries) RetireMasterWrapperAtEpoch ¶
func (q *Queries) RetireMasterWrapperAtEpoch(ctx context.Context, arg RetireMasterWrapperAtEpochParams) (int64, error)
RetireMasterWrapperAtEpoch retires one wrapper of the dual-wrapped master by its epoch (rotate-root-key --finalize dropping the old root's wrapper). The other wrapper (same version, new epoch) stays active, so after finalize only the new root boots and the old root fails with a root-mismatch.
func (*Queries) RetireRestoredApprovedWorkspaceHandoffs ¶
Approved handoffs carry old assurance but no credential epoch. Keep consumed rows for workspace-session provenance and unapproved transactions harmless. hikyo:reason Local-host restore invalidation retires unconsumed approved assurance that lacks an epoch while retaining consumed session provenance. hikyo:authn-resolution
func (*Queries) RetireRestoredPendingLoginChallenges ¶
Pending password proofs have no epoch stamp. Retire them atomically with restore's epoch bump; consumed challenge history remains intact. hikyo:reason Local-host restore invalidation retires unconsumed password proofs that lack an epoch; no tenant request can authorize this recovery act. hikyo:authn-resolution
func (*Queries) RetireRetiringTier3ForScope ¶
func (q *Queries) RetireRetiringTier3ForScope(ctx context.Context, arg RetireRetiringTier3ForScopeParams) (int64, error)
RetireRetiringTier3ForScope completes a reencrypt: once the walk has moved every ciphertext in the scope onto the active version, its retiring versions reference nothing and are retired. Run inside the scope fence, which the writer fence's FOR SHARE blocks against, so no write lands under a version between the walk finishing and this retiring it.
func (*Queries) RetireSCIMConnectionPrincipal ¶
Step (3) of the binding-deletion state machine. It runs AFTER the binding row is gone -- scim_bindings.connection_principal_id references this row, so the reverse order is a foreign-key violation -- which is why the scoping is expressed as ORPHANHOOD rather than as a join onto a row that no longer exists: the statement can only remove a provisioning connection that NO binding still owns. Combined with an id read from the caller's own proof-scoped binding row, a caller cannot name another org's live connection: a live one is referenced and therefore unmatched, and an unreferenced one is already ownerless. The kind and class predicates keep the statement incapable of touching a human principal.
func (*Queries) RetireTier3KeyAtVersion ¶
func (q *Queries) RetireTier3KeyAtVersion(ctx context.Context, arg RetireTier3KeyAtVersionParams) (int64, error)
RetireTier3KeyAtVersion retires the active key for one scope as a compare-and-swap: only when it is still the version the caller prepared its successor against. It is an UPDATE rather than a delete: the superseded row's blob is what still opens material written under it. Zero rows means a concurrent rotation won -- the caller must refuse, not stack a second successor on the wrong predecessor.
func (*Queries) RevokeAllMachineCredentials ¶
func (q *Queries) RevokeAllMachineCredentials(ctx context.Context, arg RevokeAllMachineCredentialsParams) (int64, error)
hikyo:authn-resolution
func (*Queries) RevokeDeveloperCredential ¶
func (q *Queries) RevokeDeveloperCredential(ctx context.Context, arg RevokeDeveloperCredentialParams) error
hikyo:reason Terminal security invalidation writes authentication state atomically with its authorizing mutation. hikyo:authn-resolution
func (*Queries) RevokeInstanceConnection ¶
func (q *Queries) RevokeInstanceConnection(ctx context.Context, arg RevokeInstanceConnectionParams) (int64, error)
Revocation kills the credential and retires the principal with it, so no orphan principals accumulate and no revoked principal is re-armed.
`revoked_at` is set in place and the row survives, exactly as machine_credentials does: the audit trail's credential id must keep resolving to a describable row after an incident. The verifier is deliberately LEFT ALONE -- Live() already refuses a revoked row, the kind CHECK requires a bearer credential to have one, and a 256-bit random re-mint cannot collide with it. Revocation bites at the next presentation, read in the authenticating transaction, uncached. hikyo:authn-resolution
func (*Queries) RevokeMachineCredential ¶
func (q *Queries) RevokeMachineCredential(ctx context.Context, arg RevokeMachineCredentialParams) (int64, error)
hikyo:authn-resolution
func (*Queries) RevokeRemotePairingInvite ¶
func (q *Queries) RevokeRemotePairingInvite(ctx context.Context, arg RevokeRemotePairingInviteParams) (int64, error)
hikyo:reason Revoke the invitation atomically with its administrative audit record. hikyo:authn-resolution
func (*Queries) RevokeSCIMCredential ¶
func (q *Queries) RevokeSCIMCredential(ctx context.Context, arg RevokeSCIMCredentialParams) (int64, error)
Revocation bites at the NEXT request: the row is marked, not deleted, so the verifier stays occupied and the credential id keeps naming a real thing on the administration surface. hikyo:authn-resolution
func (*Queries) RevokeSCIMCredentialsForBinding ¶
func (q *Queries) RevokeSCIMCredentialsForBinding(ctx context.Context, arg RevokeSCIMCredentialsForBindingParams) (int64, error)
Step (1) of the binding-deletion state machine: every credential dies first, so no new wire transaction can begin. hikyo:authn-resolution
func (*Queries) RotateSessionFactors ¶
func (q *Queries) RotateSessionFactors(ctx context.Context, arg RotateSessionFactorsParams) error
Step-up rotates the session token and rewrites its factor set; the original authenticated_at and ceremony_id are preserved so absolute-age attribution cannot be reset by repeated step-ups. hikyo:authn-resolution enrolment_required is cleared on every rotation: a rotation follows a factor action (step-up or enrolment confirm), so the account now has a factor and the enrolment gate lifts (#760).
func (*Queries) RuleKeyConflictingDraftCount ¶
func (q *Queries) RuleKeyConflictingDraftCount(ctx context.Context, arg RuleKeyConflictingDraftCountParams) (int64, error)
Initial drafts cannot replace another owner's work or an existing-value draft. hikyo:authn-resolution hikyo:reason authorize() checks only draft ownership and absent-baseline metadata before minting an initial-cell draft proof; ciphertext is never selected.
func (*Queries) RuleKeyValueCount ¶
func (q *Queries) RuleKeyValueCount(ctx context.Context, arg RuleKeyValueCountParams) (int64, error)
Metadata-only schema proofs cannot alter a key's existing value delivery. hikyo:authn-resolution hikyo:reason authorize() checks target-key value absence before minting an internal metadata-only schema snapshot proof; ciphertext is never selected.
func (*Queries) RuntimeDynamicAssertLease ¶
func (*Queries) RuntimeDynamicClaimDueLease ¶
func (q *Queries) RuntimeDynamicClaimDueLease(ctx context.Context, now string) (RuntimeDynamicClaimDueLeaseRow, error)
hikyo:reason DynamicRuntime closed scheduler claims one due lease across tenants under the per-org concurrency cap; writes bind the selected immutable chain and crash-fence token. hikyo:instance-scoped
func (*Queries) RuntimeDynamicClaimLease ¶
func (q *Queries) RuntimeDynamicClaimLease(ctx context.Context, arg RuntimeDynamicClaimLeaseParams) error
func (*Queries) RuntimeDynamicCloseEffect ¶
func (q *Queries) RuntimeDynamicCloseEffect(ctx context.Context, arg RuntimeDynamicCloseEffectParams) error
func (*Queries) RuntimeDynamicCountActiveLeases ¶
hikyo:reason DynamicRuntime metrics scrape returns only the instance-wide count of active leases through the closed runtime boundary. hikyo:instance-scoped
func (*Queries) RuntimeDynamicCountUnknownEffects ¶
hikyo:reason DynamicRuntime metrics scrape returns only the instance-wide count of unknown effects through the closed runtime boundary. hikyo:instance-scoped
func (*Queries) RuntimeDynamicInsertEffect ¶
func (q *Queries) RuntimeDynamicInsertEffect(ctx context.Context, arg RuntimeDynamicInsertEffectParams) error
func (*Queries) RuntimeDynamicInsertLeaseAudit ¶
func (q *Queries) RuntimeDynamicInsertLeaseAudit(ctx context.Context, arg RuntimeDynamicInsertLeaseAuditParams) error
func (*Queries) RuntimeDynamicLatestEffectKind ¶
func (*Queries) RuntimeDynamicLoadProviderMaterial ¶
func (q *Queries) RuntimeDynamicLoadProviderMaterial(ctx context.Context, arg RuntimeDynamicLoadProviderMaterialParams) (RuntimeDynamicLoadProviderMaterialRow, error)
func (*Queries) RuntimeDynamicRetryLease ¶
func (*Queries) RuntimeDynamicSettleLease ¶
func (*Queries) RuntimePKICountHeld ¶
hikyo:reason Closed PKIRuntime scrape authority returns only the label-free global count of held pending/active/retiring CAs. hikyo:instance-scoped
func (*Queries) RuntimePKICountLive ¶
hikyo:reason Closed PKIRuntime scrape authority returns only the label-free global count of unexpired issued/renewed certificates. hikyo:instance-scoped
func (*Queries) RuntimePKICountUnknown ¶
hikyo:reason Closed PKIRuntime scrape authority returns only the label-free global count of unexpired unknown certificates. hikyo:instance-scoped
func (*Queries) RuntimePKIDueCRLs ¶
func (q *Queries) RuntimePKIDueCRLs(ctx context.Context, halfLife sql.NullString) ([]RuntimePKIDueCRLsRow, error)
hikyo:reason Closed PKIRuntime selects global active/retiring CAs with signing keys whose CRLs are missing, half-life due or behind committed revocation sequences. hikyo:instance-scoped
func (*Queries) RuntimePKIExpired ¶
func (q *Queries) RuntimePKIExpired(ctx context.Context, arg RuntimePKIExpiredParams) ([]RuntimePKIExpiredRow, error)
hikyo:reason Closed PKIRuntime sweep authority selects globally expired issued/renewed leaves; PostgreSQL retains FOR UPDATE OF c SKIP LOCKED and writes require state CAS. hikyo:instance-scoped
func (*Queries) RuntimePKIMarkExpired ¶
func (q *Queries) RuntimePKIMarkExpired(ctx context.Context, arg RuntimePKIMarkExpiredParams) (int64, error)
hikyo:reason Closed PKIRuntime expiry sweep writes only a selected certificate id/org still issued/renewed; transition and tenant audit share the transaction. hikyo:instance-scoped
func (*Queries) RuntimePKIMarkUnknown ¶
func (q *Queries) RuntimePKIMarkUnknown(ctx context.Context, arg RuntimePKIMarkUnknownParams) (int64, error)
hikyo:reason Closed PKIRuntime stale-issuing sweep writes only a selected certificate id/org still issuing; fail-closed unknown transition and audit share the transaction. hikyo:instance-scoped
func (*Queries) RuntimePKIPublishedAudit ¶
func (q *Queries) RuntimePKIPublishedAudit(ctx context.Context, arg RuntimePKIPublishedAuditParams) error
hikyo:reason Closed PKIRuntime appends the global CA publication audit only after successful prior-CRL-number CAS in the same transaction. hikyo:instance-scoped
func (*Queries) RuntimePKIReleaseRenewal ¶
func (q *Queries) RuntimePKIReleaseRenewal(ctx context.Context, arg RuntimePKIReleaseRenewalParams) error
hikyo:reason Closed PKIRuntime releases only the matching predecessor id/org/successor claim after its issuing successor becomes unknown in the same transaction. hikyo:instance-scoped
func (*Queries) RuntimePKIStaleIssuing ¶
func (q *Queries) RuntimePKIStaleIssuing(ctx context.Context, arg RuntimePKIStaleIssuingParams) ([]RuntimePKIStaleIssuingRow, error)
hikyo:reason Closed PKIRuntime sweep authority selects globally overdue issuing rows; PostgreSQL retains FOR UPDATE OF c SKIP LOCKED and writes require state CAS. hikyo:instance-scoped
func (*Queries) RuntimePKITransitionAudit ¶
func (q *Queries) RuntimePKITransitionAudit(ctx context.Context, arg RuntimePKITransitionAuditParams) error
hikyo:reason Closed PKIRuntime appends the original system transition outcome using the selected certificate tenant chain, principal and correlation id in the same state-CAS transaction. hikyo:instance-scoped
func (*Queries) RuntimeSSHCountActive ¶
hikyo:reason SSHRuntime metrics scrape returns only the instance-wide count of issued unexpired certificates through the closed runtime boundary. hikyo:instance-scoped
func (*Queries) RuntimeSSHCountKRLEntries ¶
hikyo:reason SSHRuntime metrics scrape returns only the instance-wide count of revoked unexpired certificates under still-trusted CA keys through the closed runtime boundary. hikyo:instance-scoped
func (*Queries) RuntimeSSHInsertAuthorityRevocationAudit ¶
func (q *Queries) RuntimeSSHInsertAuthorityRevocationAudit(ctx context.Context, arg RuntimeSSHInsertAuthorityRevocationAuditParams) error
func (*Queries) RuntimeSSHListLiveCertificates ¶
func (q *Queries) RuntimeSSHListLiveCertificates(ctx context.Context, arg RuntimeSSHListLiveCertificatesParams) ([]RuntimeSSHListLiveCertificatesRow, error)
hikyo:reason SSHRuntime closed sweeper pages live certificate authority facts across tenants; each candidate is reauthorized before its immutable chain can be revoked. hikyo:instance-scoped
func (*Queries) RuntimeSSHRevokeForAuthority ¶
func (*Queries) SSHActiveCAKey ¶
func (q *Queries) SSHActiveCAKey(ctx context.Context, arg SSHActiveCAKeyParams) (SSHActiveCAKeyRow, error)
func (*Queries) SSHActiveCAKeyID ¶
func (*Queries) SSHActiveKeyLastExpiry ¶
func (*Queries) SSHCAKeyExists ¶
func (*Queries) SSHCAKeys ¶
func (q *Queries) SSHCAKeys(ctx context.Context, arg SSHCAKeysParams) ([]SSHCAKeysRow, error)
func (*Queries) SSHCountLiveCAs ¶
func (*Queries) SSHCountLiveProfiles ¶
func (*Queries) SSHCreateCA ¶
func (*Queries) SSHCreateProfile ¶
func (*Queries) SSHDeleteCA ¶
func (*Queries) SSHDeleteProfile ¶
func (*Queries) SSHDeleteRequesters ¶
func (*Queries) SSHGetCA ¶
func (q *Queries) SSHGetCA(ctx context.Context, arg SSHGetCAParams) (SSHGetCARow, error)
func (*Queries) SSHGetCertificate ¶
func (q *Queries) SSHGetCertificate(ctx context.Context, arg SSHGetCertificateParams) (SSHGetCertificateRow, error)
func (*Queries) SSHGetProfile ¶
func (q *Queries) SSHGetProfile(ctx context.Context, arg SSHGetProfileParams) (SSHGetProfileRow, error)
func (*Queries) SSHInsertCAKey ¶
func (*Queries) SSHInsertCertificate ¶
func (*Queries) SSHInsertRequester ¶
func (*Queries) SSHIsRequester ¶
func (*Queries) SSHListCAs ¶
func (q *Queries) SSHListCAs(ctx context.Context, arg SSHListCAsParams) ([]SSHListCAsRow, error)
func (*Queries) SSHListCertificates ¶
func (q *Queries) SSHListCertificates(ctx context.Context, arg SSHListCertificatesParams) ([]SSHListCertificatesRow, error)
func (*Queries) SSHListKeysForReencrypt ¶
func (q *Queries) SSHListKeysForReencrypt(ctx context.Context, arg SSHListKeysForReencryptParams) ([]SSHListKeysForReencryptRow, error)
func (*Queries) SSHListProfiles ¶
func (q *Queries) SSHListProfiles(ctx context.Context, arg SSHListProfilesParams) ([]SSHListProfilesRow, error)
func (*Queries) SSHProfileRevocationCandidates ¶
func (q *Queries) SSHProfileRevocationCandidates(ctx context.Context, arg SSHProfileRevocationCandidatesParams) ([]SSHProfileRevocationCandidatesRow, error)
func (*Queries) SSHPurgeCAKeys ¶
func (q *Queries) SSHPurgeCAKeys(ctx context.Context, arg SSHPurgeCAKeysParams) error
func (*Queries) SSHPurgeCAs ¶
func (q *Queries) SSHPurgeCAs(ctx context.Context, arg SSHPurgeCAsParams) error
func (*Queries) SSHPurgeCertificates ¶
func (q *Queries) SSHPurgeCertificates(ctx context.Context, arg SSHPurgeCertificatesParams) error
func (*Queries) SSHPurgeProfiles ¶
func (q *Queries) SSHPurgeProfiles(ctx context.Context, arg SSHPurgeProfilesParams) error
func (*Queries) SSHPurgeRequesters ¶
func (q *Queries) SSHPurgeRequesters(ctx context.Context, arg SSHPurgeRequestersParams) error
func (*Queries) SSHReencryptCAKey ¶
func (*Queries) SSHRequesters ¶
func (q *Queries) SSHRequesters(ctx context.Context, arg SSHRequestersParams) ([]SSHRequestersRow, error)
func (*Queries) SSHRetireActiveCAKey ¶
func (*Queries) SSHRetireAllCAKeys ¶
func (*Queries) SSHRetireCAKey ¶
func (*Queries) SSHRevokeCertificate ¶
func (*Queries) SSHRevokedSerials ¶
func (q *Queries) SSHRevokedSerials(ctx context.Context, arg SSHRevokedSerialsParams) ([]SSHRevokedSerialsRow, error)
func (*Queries) SSHUpdateProfile ¶
func (*Queries) SampleSecretValueEntry ¶
func (q *Queries) SampleSecretValueEntry(ctx context.Context) (ValueEntry, error)
SampleSecretValueEntry returns ONE stored `secret` cell across the whole instance, ciphertext only, for the restore drill's decrypt proof (#145): the drill opens it under the separately supplied root key to prove restored values are readable. Cross-tenant by definition and deterministic by id, so it is annotated instance-scoped and content-pinned. Opening the ciphertext still needs the keyring; this read alone discloses nothing. hikyo:instance-scoped
func (*Queries) SaveAuthRefusalWindow ¶
func (q *Queries) SaveAuthRefusalWindow(ctx context.Context, arg SaveAuthRefusalWindowParams) error
hikyo:reason approved refusal writer atomically advances only the singleton accumulator hikyo:authn-resolution
func (*Queries) SealedRemoteCredential ¶
The only reader of the sealed credential. It is separate from GetRemote so that reaching the credential is a distinct, greppable act rather than a field every caller of the ordinary read happens to receive. hikyo:instance-scoped
func (*Queries) SelectDueAccessRequests ¶
func (q *Queries) SelectDueAccessRequests(ctx context.Context, now string) ([]SelectDueAccessRequestsRow, error)
SelectDueAccessRequests is one bounded installation-wide sweep batch: open requests whose review window lapsed and granted requests whose absolute expiry passed. Expiry is already enforced by the chokepoint's row filter; the sweep is bookkeeping, session rotation and the audit event. hikyo:instance-scoped
func (*Queries) SelectExpiredApprovalRequests ¶
func (q *Queries) SelectExpiredApprovalRequests(ctx context.Context, expiresAt string) ([]SelectExpiredApprovalRequestsRow, error)
SelectExpiredApprovalRequests is one bounded installation-wide expiry batch. Repeated scheduler runs commit progress without putting an unbounded backlog inside one transaction's deadline. hikyo:instance-scoped
func (*Queries) SelectExpiredDeliveryTargetReports ¶
func (q *Queries) SelectExpiredDeliveryTargetReports(ctx context.Context, arg SelectExpiredDeliveryTargetReportsParams) ([]SelectExpiredDeliveryTargetReportsRow, error)
SelectExpiredDeliveryTargetReports is one bounded installation-wide purge batch (ADR D6: no accepted report for 30 days). Repeated scheduler runs commit progress without an unbounded backlog inside one transaction. hikyo:instance-scoped
func (*Queries) SetAuditRetentionPolicy ¶
func (q *Queries) SetAuditRetentionPolicy(ctx context.Context, arg SetAuditRetentionPolicyParams) error
hikyo:instance-scoped
func (*Queries) SetBackupDrill ¶
func (q *Queries) SetBackupDrill(ctx context.Context, arg SetBackupDrillParams) error
hikyo:instance-scoped
func (*Queries) SetBackupExportFailure ¶
func (q *Queries) SetBackupExportFailure(ctx context.Context, arg SetBackupExportFailureParams) error
hikyo:instance-scoped
func (*Queries) SetBackupExportSuccess ¶
func (q *Queries) SetBackupExportSuccess(ctx context.Context, arg SetBackupExportSuccessParams) (int64, error)
hikyo:instance-scoped
func (*Queries) SetBackupPruneResult ¶
func (q *Queries) SetBackupPruneResult(ctx context.Context, arg SetBackupPruneResultParams) (int64, error)
hikyo:reason scheduler records instance-wide archive compliance in the singleton backup state; no tenant data is addressed hikyo:instance-scoped
func (*Queries) SetCredentialPolicy ¶
func (q *Queries) SetCredentialPolicy(ctx context.Context, arg SetCredentialPolicyParams) error
hikyo:authn-resolution
func (*Queries) SetDeveloperCredentialPolicy ¶
hikyo:reason Instance-config authorization precedes the shared lifetime policy mutation in the same transaction. hikyo:authn-resolution
func (*Queries) SetEnvironmentOrder ¶
func (q *Queries) SetEnvironmentOrder(ctx context.Context, arg SetEnvironmentOrderParams) (int64, error)
Reorder is authorized at PROJECT depth (it rewrites the project's whole ordered set), so the proof carries no environment id and `id` is an ordinary caller argument. The chain conjuncts confine it: an id from another project matches no row, which is the uniform nonexistent outcome the reorder service turns into a refusal.
func (*Queries) SetEnvironmentParameters ¶
func (*Queries) SetEnvironmentSettings ¶
func (*Queries) SetEscrowVerification ¶
func (q *Queries) SetEscrowVerification(ctx context.Context, arg SetEscrowVerificationParams) error
Local host escrow proof writes public metadata only under the hierarchy fence. hikyo:instance-scoped
func (*Queries) SetKeyClassification ¶
func (q *Queries) SetKeyClassification(ctx context.Context, arg SetKeyClassificationParams) (int64, error)
SetKeyClassification is its own statement because reclassification is its own ceremony: it is never a field of an ordinary update, so it is never a column of one either.
func (*Queries) SetKeyGroup ¶
func (*Queries) SetLastPruneSuccess ¶
hikyo:instance-scoped
func (*Queries) SetLocalAccountEmail ¶
func (q *Queries) SetLocalAccountEmail(ctx context.Context, arg SetLocalAccountEmailParams) error
hikyo:reason The successful single-use signup ceremony sets the verified address only on its newly created local account. hikyo:authn-resolution
func (*Queries) SetOrgRetention ¶
func (*Queries) SetPinGeneration ¶
func (q *Queries) SetPinGeneration(ctx context.Context, arg SetPinGenerationParams) error
The generation writer. #52 owns pin creation, reassignment and release; this is the counter each of those must advance, and it exists now because the cursor is bound to it now. hikyo:authn-resolution
func (*Queries) SetProjectCapacity ¶
func (q *Queries) SetProjectCapacity(ctx context.Context, arg SetProjectCapacityParams) (int64, error)
SetProjectCapacity advances the independent policy revision only if the caller still holds the policy version it read under the project lock.
func (*Queries) SetProjectDefinitionsSource ¶
func (q *Queries) SetProjectDefinitionsSource(ctx context.Context, arg SetProjectDefinitionsSourceParams) (int64, error)
SetProjectDefinitionsSource flips a project between db- and git-managed definitions (#70). It is a project-settings write, deliberately off the definitions-edit path so a blocked editor cannot disable its own guard.
func (*Queries) SetProjectMachineReveal ¶
func (q *Queries) SetProjectMachineReveal(ctx context.Context, arg SetProjectMachineRevealParams) (int64, error)
SetProjectMachineReveal flips the per-project machine-reveal opt-in. It is a project-settings write; the grant writer and the fetch path both read the column live, so flipping it back to 0 withdraws machine secret delivery on the next fetch without touching any grant row.
func (*Queries) SetProjectRetention ¶
func (*Queries) SetReencryptSuccess ¶
A successful complete reencrypt operation records its own completion. hikyo:instance-scoped
func (*Queries) SetSCIMMappingInert ¶
func (q *Queries) SetSCIMMappingInert(ctx context.Context, arg SetSCIMMappingInertParams) (int64, error)
A mapping row whose group was deleted flips to inert (ADR section 5.4) and raises an attention state; the human edits or deletes it. It is never silently removed.
func (*Queries) SetSelfConfigPrevious ¶
hikyo:instance-scoped
func (*Queries) SetSelfConfigRetention ¶
func (q *Queries) SetSelfConfigRetention(ctx context.Context, arg SetSelfConfigRetentionParams) error
hikyo:instance-scoped
func (*Queries) SetWebAuthnUserHandle ¶
func (q *Queries) SetWebAuthnUserHandle(ctx context.Context, arg SetWebAuthnUserHandleParams) (int64, error)
Set the opaque handle once, on first enrolment. The NULL guard keeps a second enrolment from rotating a handle other credentials already use. hikyo:authn-resolution
func (*Queries) SlideReauthWindow ¶
func (q *Queries) SlideReauthWindow(ctx context.Context, arg SlideReauthWindowParams) (int64, error)
Slide the idle window clock on a sliding (non single-decision) window. The hard cap is enforced by the service, which passes min(now+window, hard_expires_at); the NULL guard keeps a concurrently-claimed window from sliding. hikyo:authn-resolution
func (*Queries) StampCredentialEstablish ¶
func (q *Queries) StampCredentialEstablish(ctx context.Context, arg StampCredentialEstablishParams) error
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) StrandedRevealPrincipalsForEnvironment ¶
func (q *Queries) StrandedRevealPrincipalsForEnvironment(ctx context.Context, arg StrandedRevealPrincipalsForEnvironmentParams) ([]string, error)
Stranded-principal enumeration for LowerEffectiveWindow (#54 B6): principals holding reveal/reveal-history covering environment E (a grant at E, its project, its org, or the instance) who have no enabled WebAuthn authenticator, so a 0 effective window fails their disclosure closed until they enrol one. hikyo:authn-resolution
func (*Queries) SumSnapshotContractForProject ¶
func (*Queries) SumSnapshotPayloadByProject ¶
func (q *Queries) SumSnapshotPayloadByProject(ctx context.Context) ([]SumSnapshotPayloadByProjectRow, error)
SumSnapshotPayloadByProject groups the published snapshot-entry ciphertext bytes by owning project across the whole instance -- the operator storage surface (doctor warn, metric). Cross-tenant by definition, so it is annotated instance-scoped and content-pinned. hikyo:instance-scoped Project sizes only, never whole encrypted payloads in a sorter. LIMIT -1 OFFSET 0 prevents flattening this projection into the GROUP BY: the temporary sorter must retain integer sizes, not ciphertext/contract blobs.
func (*Queries) SumSnapshotPayloadForProject ¶
func (q *Queries) SumSnapshotPayloadForProject(ctx context.Context, arg SumSnapshotPayloadForProjectParams) (int64, error)
SumSnapshotPayloadForProject totals the ciphertext bytes of a project's published snapshot entries across every environment and revision. Paired with SumValuePayloadForProject, it is the other half of the per-project storage high-water accounting (ops-spec section 8 / section 141). Fully chain-scoped, so no annotation is needed.
func (*Queries) SumValuePayloadByProject ¶
func (q *Queries) SumValuePayloadByProject(ctx context.Context) ([]SumValuePayloadByProjectRow, error)
SumValuePayloadByProject groups the live value-cell ciphertext bytes by owning project across the whole instance -- the operator storage surface (doctor warn, metric). Cross-tenant by definition: it addresses no tenant and carries no chain conjunct, so it is annotated instance-scoped and content-pinned. hikyo:instance-scoped Project sizes before grouping. OFFSET 0 prevents SQLite flattening this projection into the sorter; LIMIT -1 preserves every row. Sorting whole ciphertext BLOBs instead can exceed the health transaction deadline.
func (*Queries) SumValuePayloadForProject ¶
func (q *Queries) SumValuePayloadForProject(ctx context.Context, arg SumValuePayloadForProjectParams) (int64, error)
SumValuePayloadForProject totals the ciphertext bytes of a project's live value cells across every environment. It backs the per-project storage high-water refusal at publish (ops-spec section 8 / section 141). LENGTH on a BLOB is its byte count; the CAST(COALESCE(...)) keeps an empty project's NULL sum a plain integer 0. Fully chain-scoped, so no annotation is needed.
func (*Queries) TouchInstanceConnection ¶
func (q *Queries) TouchInstanceConnection(ctx context.Context, arg TouchInstanceConnectionParams) error
The last-used stamp, written on a successful directory serve. It is the operator's answer to "is this connection still in use" before revoking it. hikyo:authn-resolution
func (*Queries) TouchMachineCredential ¶
func (q *Queries) TouchMachineCredential(ctx context.Context, arg TouchMachineCredentialParams) error
last_used_at is observability, not authorization: nothing reads it to decide anything, so it is the one machine-credential write that is not part of a decision. hikyo:authn-resolution
func (*Queries) TouchSCIMBinding ¶
Push-only staleness bookkeeping (ADR section 9): the binding records last-contact, and the surface reports it. Nothing self-heals from it.
func (*Queries) TouchSCIMCredential ¶
func (q *Queries) TouchSCIMCredential(ctx context.Context, arg TouchSCIMCredentialParams) error
hikyo:authn-resolution
func (*Queries) TouchSession ¶
func (q *Queries) TouchSession(ctx context.Context, arg TouchSessionParams) error
hikyo:authn-resolution
func (*Queries) TransitAdmissionLock ¶
func (*Queries) TransitAppendVersion ¶
func (*Queries) TransitAvailableTrimFloor ¶
func (*Queries) TransitChangeState ¶
func (*Queries) TransitCompromise ¶
func (*Queries) TransitCompromisedThrough ¶
func (*Queries) TransitConfigure ¶
func (*Queries) TransitCountExistingKey ¶
func (*Queries) TransitCountKeys ¶
func (*Queries) TransitCountLive ¶
hikyo:reason Closed TransitRuntime scrape authority returns only the installation-wide label-free live-key count, never key content or material. hikyo:instance-scoped
func (*Queries) TransitCountPendingDeletion ¶
hikyo:reason Closed TransitRuntime scrape authority returns only the installation-wide label-free pending-deletion count, never key content or material. hikyo:instance-scoped
func (*Queries) TransitCountVersions ¶
func (*Queries) TransitDeleteCallers ¶
func (q *Queries) TransitDeleteCallers(ctx context.Context, arg TransitDeleteCallersParams) error
func (*Queries) TransitDestroy ¶
func (*Queries) TransitEraseMaterial ¶
func (*Queries) TransitExternalVersions ¶
func (q *Queries) TransitExternalVersions(ctx context.Context, arg TransitExternalVersionsParams) ([]TransitExternalVersionsRow, error)
func (*Queries) TransitFencePurge ¶
func (*Queries) TransitFenceTrim ¶
func (*Queries) TransitGaugeRotationCandidates ¶
func (q *Queries) TransitGaugeRotationCandidates(ctx context.Context) ([]TransitGaugeRotationCandidatesRow, error)
hikyo:reason Closed TransitRuntime scrape authority reads only period/latest-created timestamps to compute the existing label-free rotation-due count; material and identities are excluded. hikyo:instance-scoped
func (*Queries) TransitGetKey ¶
func (q *Queries) TransitGetKey(ctx context.Context, arg TransitGetKeyParams) (TransitGetKeyRow, error)
func (*Queries) TransitGetKeyForUse ¶
func (q *Queries) TransitGetKeyForUse(ctx context.Context, arg TransitGetKeyForUseParams) (TransitGetKeyForUseRow, error)
func (*Queries) TransitInsertCaller ¶
func (q *Queries) TransitInsertCaller(ctx context.Context, arg TransitInsertCallerParams) error
func (*Queries) TransitInsertKey ¶
func (q *Queries) TransitInsertKey(ctx context.Context, arg TransitInsertKeyParams) error
func (*Queries) TransitInsertVersion ¶
func (q *Queries) TransitInsertVersion(ctx context.Context, arg TransitInsertVersionParams) error
func (*Queries) TransitKeyByID ¶
func (q *Queries) TransitKeyByID(ctx context.Context, arg TransitKeyByIDParams) (TransitKeyByIDRow, error)
func (*Queries) TransitListCallers ¶
func (q *Queries) TransitListCallers(ctx context.Context, arg TransitListCallersParams) ([]TransitListCallersRow, error)
func (*Queries) TransitListKeys ¶
func (q *Queries) TransitListKeys(ctx context.Context, arg TransitListKeysParams) ([]TransitListKeysRow, error)
func (*Queries) TransitListReencrypt ¶
func (q *Queries) TransitListReencrypt(ctx context.Context, arg TransitListReencryptParams) ([]TransitListReencryptRow, error)
func (*Queries) TransitListVersions ¶
func (q *Queries) TransitListVersions(ctx context.Context, arg TransitListVersionsParams) ([]TransitListVersionsRow, error)
func (*Queries) TransitReencrypt ¶
func (*Queries) TransitSelectDeletionDue ¶
func (q *Queries) TransitSelectDeletionDue(ctx context.Context, arg TransitSelectDeletionDueParams) ([]TransitSelectDeletionDueRow, error)
hikyo:reason StoreTransitSelectDeletionDue verifies the existing closed system scheduler authority; globally lists due pending-deletion keys so each subsequent purge resolves its own tenant chain in a transaction. hikyo:instance-scoped
func (*Queries) TransitSelectRotationDue ¶
func (q *Queries) TransitSelectRotationDue(ctx context.Context, arg TransitSelectRotationDueParams) ([]TransitSelectRotationDueRow, error)
hikyo:reason StoreTransitSelectRotationDue verifies the existing closed system scheduler authority; globally lists active rotation candidates with their latest-version timestamp before scoped worker authorization. hikyo:instance-scoped
func (*Queries) TransitTrimFloor ¶
func (*Queries) TransitTrimVersions ¶
func (*Queries) TransitVersionMaterial ¶
func (q *Queries) TransitVersionMaterial(ctx context.Context, arg TransitVersionMaterialParams) (TransitVersionMaterialRow, error)
func (*Queries) UpdateAccessPolicy ¶
func (q *Queries) UpdateAccessPolicy(ctx context.Context, arg UpdateAccessPolicyParams) (int64, error)
UpdateAccessPolicy bumps version so every open request pinned to the older version fails closed at its next decision.
func (*Queries) UpdateAccountProfile ¶
func (q *Queries) UpdateAccountProfile(ctx context.Context, arg UpdateAccountProfileParams) error
hikyo:authn-resolution
func (*Queries) UpdateApprovalPolicy ¶
func (q *Queries) UpdateApprovalPolicy(ctx context.Context, arg UpdateApprovalPolicyParams) (int64, error)
UpdateApprovalPolicy bumps version so any request pinned to the older version fails closed. The service invalidates open requests to the covered environment in the same transaction.
func (*Queries) UpdateApprovalRequestState ¶
func (q *Queries) UpdateApprovalRequestState(ctx context.Context, arg UpdateApprovalRequestStateParams) (int64, error)
UpdateApprovalRequestState transitions one request. resolved_at is NULL for the approved state and set for every terminal state; invalidated_cause is ” unless the terminal state is invalidated.
func (*Queries) UpdateDeliveryTargetQuotaNotice ¶
func (*Queries) UpdateDeliveryTargetReport ¶
func (q *Queries) UpdateDeliveryTargetReport(ctx context.Context, arg UpdateDeliveryTargetReportParams) (int64, error)
An accepted report replaces the row's asserted state and clears any recorded refusal: the refusal is older than the last accepted report now.
func (*Queries) UpdateEnvironmentNote ¶
func (*Queries) UpdateFederationIssuer ¶
func (q *Queries) UpdateFederationIssuer(ctx context.Context, arg UpdateFederationIssuerParams) (int64, error)
The issuer's own configuration is mutable (its JWKS source and the audiences it refuses); its IDENTITY is not. `issuer` and `issuer_type` are absent from the SET list on purpose: changing either would silently re-point every binding underneath at a different external authority, which is a replacement, not an edit. hikyo:authn-resolution
func (*Queries) UpdateKeyDeclaration ¶
func (q *Queries) UpdateKeyDeclaration(ctx context.Context, arg UpdateKeyDeclarationParams) (int64, error)
UpdateKeyDeclaration carries the value-dependent rules and the presence MODES together, because a declaration save replaces both as one unit.
func (*Queries) UpdateKeyMetadata ¶
func (q *Queries) UpdateKeyMetadata(ctx context.Context, arg UpdateKeyMetadataParams) (int64, error)
UpdateKeyMetadata carries exactly the NON-semantic fields (schema-model ADR section Authorization: description, deprecated, deprecation_note and folder path cannot change what any environment delivers or whether it validates). They are one statement precisely so no caller can smuggle a semantic field in beside them.
func (*Queries) UpdateOAuth2ProviderCAS ¶
func (q *Queries) UpdateOAuth2ProviderCAS(ctx context.Context, arg UpdateOAuth2ProviderCASParams) (int64, error)
hikyo:reason OAuth2 identity configuration and callback artifacts are instance-wide authentication resolution; service guards bind their provider, purpose, epoch and initiator before mutation. hikyo:authn-resolution
func (*Queries) UpdateOIDCProviderCAS ¶
func (q *Queries) UpdateOIDCProviderCAS(ctx context.Context, arg UpdateOIDCProviderCASParams) (int64, error)
The issuer is never in the SET list: it is immutable after create (A3), so a reconfiguration cannot silently move the identity space to a new authority. CAS on row_version so a concurrent reconfigure fails closed. hikyo:authn-resolution
func (*Queries) UpdatePasswordCredentialCAS ¶
func (q *Queries) UpdatePasswordCredentialCAS(ctx context.Context, arg UpdatePasswordCredentialCASParams) (int64, error)
Compare-and-swap on row_version: a resumable, lock-free `reencrypt` racing a password reset would otherwise write the stale verifier back under the new DEK version and silently resurrect a superseded password. hikyo:authn-resolution
func (*Queries) UpdateRecoveryCodesCAS ¶
func (q *Queries) UpdateRecoveryCodesCAS(ctx context.Context, arg UpdateRecoveryCodesCASParams) (int64, error)
Regeneration and consumption both rewrite the batch under a CAS, so a concurrent second presentation of the same code loses and fails closed. hikyo:authn-resolution
func (*Queries) UpdateRegistrationPolicyCAS ¶
func (q *Queries) UpdateRegistrationPolicyCAS(ctx context.Context, arg UpdateRegistrationPolicyCASParams) (int64, error)
hikyo:authn-resolution
func (*Queries) UpdateSAMLProviderCAS ¶
func (q *Queries) UpdateSAMLProviderCAS(ctx context.Context, arg UpdateSAMLProviderCASParams) (int64, error)
entity_id and slug are immutable. Every policy/trust-anchor change bumps the version so callback minting can detect reconfiguration and fail closed. hikyo:authn-resolution
func (*Queries) UpdateSCIMGroup ¶
func (*Queries) UpdateSCIMMappingTemplate ¶
func (q *Queries) UpdateSCIMMappingTemplate(ctx context.Context, arg UpdateSCIMMappingTemplateParams) (int64, error)
Narrowing a mapping row keeps its ID: origins key on it, so a delete-and- recreate would release every origin the row holds and immediately recreate most of them -- momentarily revoking capabilities that never stopped being granted, and logging the holders out for a bookkeeping change.
func (*Queries) UpdateSCIMUser ¶
func (*Queries) UpdateSelfConfigJob ¶
func (q *Queries) UpdateSelfConfigJob(ctx context.Context, arg UpdateSelfConfigJobParams) (int64, error)
hikyo:instance-scoped
func (*Queries) UpdateSelfConfigRollout ¶
func (q *Queries) UpdateSelfConfigRollout(ctx context.Context, arg UpdateSelfConfigRolloutParams) (int64, error)
hikyo:instance-scoped
func (*Queries) UpdateTier3Wrapping ¶
func (q *Queries) UpdateTier3Wrapping(ctx context.Context, arg UpdateTier3WrappingParams) (int64, error)
UpdateTier3Wrapping re-points one tier-3 key at a new master: same key material, re-sealed blob, new master_key_version. Addressed by (id, version) because a scope has one row per version and the id is unique.
func (*Queries) VerifiedAccountEmailExists ¶
func (q *Queries) VerifiedAccountEmailExists(ctx context.Context, email sql.NullString) (bool, error)
hikyo:reason The admitted signup request checks address ownership regardless of principal privacy only to select the no-link notice; its public answer remains uniform. hikyo:authn-resolution
func (*Queries) WorkloadPinState ¶
func (q *Queries) WorkloadPinState(ctx context.Context, arg WorkloadPinStateParams) (WorkloadPinStateRow, error)
The grant-time conditional admission for workload reveal-history. The pin and latest snapshot are read in one authn-resolution query under the target principal lock; the service evaluates expiry against its canonical clock. hikyo:authn-resolution
func (*Queries) WorkspaceHandoffByCode ¶
func (q *Queries) WorkspaceHandoffByCode(ctx context.Context, codeVerifier []byte) (WorkspaceHandoff, error)
hikyo:authn-resolution
func (*Queries) WorkspaceHandoffByState ¶
func (q *Queries) WorkspaceHandoffByState(ctx context.Context, stateVerifier []byte) (WorkspaceHandoff, error)
Liveness is deliberately NOT in this WHERE clause, for the reason the credential read states: filtering here would make an unknown state cost one row and a consumed one zero, which is an existence oracle. The caller decides expiry and single-use against the row it got. hikyo:authn-resolution
func (*Queries) WriteRemoteSnapshot ¶
func (q *Queries) WriteRemoteSnapshot(ctx context.Context, arg WriteRemoteSnapshotParams) error
The snapshot is upserted whole. last_attempt_at/last_outcome record the most recent FETCH; observed_at and the listing columns record the most recent SUCCESS, and a failing fetch leaves them alone - that split is the entire freshness model, and it is why a failure writes through the second statement rather than this one. hikyo:instance-scoped
type ReactivateFederatedBindingParams ¶
type ReactivateFederatedBindingParams struct {
ReactivatedAt sql.NullString
ID string
}
type ReauthWindow ¶
type ReauthWindow struct {
ID string
SessionID string
EnvironmentID string
CeremonyID string
FactorClass string
SingleDecision int64
AuthenticatedAt string
WindowExpiresAt string
HardExpiresAt string
CredentialEpoch int64
ConsumedAt sql.NullString
CreatedAt string
BoundOperation string
BoundKeySet string
BoundPurpose string
BoundEnvironmentSet string
}
type RecordDeliveryTargetRefusalParams ¶
type RecordDeliveryTargetRefusalParams struct {
RefusalCause sql.NullString
RefusedAt sql.NullString
OrgID string
ProjectID string
EnvironmentID string
ID string
}
type RecordFileTargetReportParams ¶
type RecordFileTargetReportParams struct {
ReportState sql.NullString
ReportRevision sql.NullInt64
ReportStamp sql.NullString
ReportGeneration sql.NullInt64
ReportedAt sql.NullString
ReceivedAt sql.NullString
ChainOrgID string
ChainProjectID string
ChainEnvID string
ID string
PrincipalID string
}
type RecoveryCode ¶
type RecoveryListGrantsBeforeAccessRow ¶
type RecoveryListGrantsBeforeAccessRow struct {
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
SelfConfigOrgID string
}
type RecoveryListGrantsBeforePrivacyRow ¶
type RecoveryListGrantsBeforePrivacyRow struct {
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
}
type RecoveryListGrantsBeforeSelfConfigRow ¶
type RecoveryListGrantsBeforeSelfConfigRow struct {
Capability string
OrgID sql.NullString
ProjectID sql.NullString
EnvID sql.NullString
}
type ReencryptRemoteParams ¶
type ReencryptSamlKeyParams ¶
type ReencryptTotpCredParams ¶
type RegistrationPolicy ¶
type RegistrationPolicy struct {
ID string
OrgID sql.NullString
AuthorityPrincipalID sql.NullString
Landing string
Template sql.NullString
LocalEnabled int64
FreshOrgCap sql.NullInt64
RowVersion int64
CreatedAt string
UpdatedAt string
}
type RegistrationPolicyEntry ¶
type RegistrationSignup ¶
type RemotePairedConnection ¶
type RemotePairingExchange ¶
type RemotePairingInvite ¶
type RemotePairingReplay ¶
type RemoteSnapshot ¶
type RemoteSnapshot struct {
RemoteID string
LastAttemptAt string
LastOutcome string
ObservedAt sql.NullString
InstanceIdentity sql.NullString
Version sql.NullString
OrgCount sql.NullInt64
ProjectCount sql.NullInt64
Listing sql.NullString
}
type RenameEnvironmentParams ¶
type RenameFolderParams ¶
type RenameKeyGroupParams ¶
type RenameKeyParams ¶
type RenameOrgParams ¶
type RenameProjectParams ¶
type RenameRemoteParams ¶
type ResolveEnvChainParams ¶
type ResolveEnvChainRow ¶
type ResolveKeyByIDParams ¶
type ResolveKeyByIDRow ¶
type ResolveKeyByNameParams ¶
type ResolveKeyByNameRow ¶
type ResolveProjectChainRow ¶
type RetentionRuntime ¶
type RetentionRuntime struct {
ID int64
LastPruneSuccess sql.NullString
}
type RevisionKeyChange ¶
type RevisionPin ¶
type RevokeAllMachineCredentialsParams ¶
type RevokeAllMachineCredentialsParams struct {
RevokedAt sql.NullString
ServiceAccountID string
}
type RevokeDeveloperCredentialParams ¶
type RevokeDeveloperCredentialParams struct {
RevokedAt sql.NullString
ID string
}
type RevokeInstanceConnectionParams ¶
type RevokeInstanceConnectionParams struct {
RevokedAt sql.NullString
ID string
}
type RevokeMachineCredentialParams ¶
type RevokeMachineCredentialParams struct {
RevokedAt sql.NullString
ID string
ServiceAccountID string
}
type RevokeRemotePairingInviteParams ¶
type RevokeRemotePairingInviteParams struct {
Now sql.NullString
ID string
}
type RevokeSCIMCredentialParams ¶
type RevokeSCIMCredentialParams struct {
RevokedAt sql.NullString
OrgID string
BindingID string
ID string
}
type RevokeSCIMCredentialsForBindingParams ¶
type RevokeSCIMCredentialsForBindingParams struct {
RevokedAt sql.NullString
OrgID string
BindingID string
}
type RuleItem ¶
type RuleItem struct {
ID string
RuleID string
OrgID string
Axis string
ProjectID string
EnvID sql.NullString
KeyID sql.NullString
FolderPath sql.NullString
}
type RuleKeyValueCountParams ¶
type RuntimeDynamicAssertLeaseParams ¶
type RuntimeDynamicAssertLeaseParams struct {
ID string
ChainOrg string
Worker sql.NullString
Now sql.NullString
ClaimToken int64
ChainProject string
ChainEnv string
}
type RuntimeDynamicClaimDueLeaseRow ¶
type RuntimeDynamicClaimDueLeaseRow struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
ProviderID string
ProviderHandle string
PrincipalID string
PrincipalClass string
State string
MaxTtlSeconds int64
IssuedAt sql.NullString
ExpiresAt sql.NullString
AttemptCount int64
LeaseClaimToken int64
}
type RuntimeDynamicClaimLeaseParams ¶
type RuntimeDynamicClaimLeaseParams struct {
Attempt int64
Worker sql.NullString
Until sql.NullString
ClaimToken int64
ID string
ChainOrg string
ChainProject string
ChainEnv string
}
type RuntimeDynamicCloseEffectParams ¶
type RuntimeDynamicCloseEffectParams struct {
Outcome sql.NullString
OutcomeAuditID sql.NullString
At sql.NullString
ID string
ChainOrg string
ChainProject string
ChainEnv string
}
type RuntimeDynamicInsertLeaseAuditParams ¶
type RuntimeDynamicInsertLeaseAuditParams struct {
ID string
Type string
At string
AuthorityID sql.NullString
ChainOrg string
ChainProject sql.NullString
ChainEnv sql.NullString
LeaseID sql.NullString
Outcome string
Payload string
}
type RuntimeDynamicLoadProviderMaterialParams ¶
type RuntimeDynamicLoadProviderMaterialParams struct {
LeaseID string
ChainOrg string
ChainProject string
Worker sql.NullString
Now sql.NullString
ClaimToken int64
ChainEnv string
}
type RuntimeDynamicRetryLeaseParams ¶
type RuntimeDynamicRetryLeaseParams struct {
NextAttempt string
ID string
ChainOrg string
Worker sql.NullString
Now sql.NullString
ClaimToken int64
ChainProject string
ChainEnv string
}
type RuntimeDynamicSettleLeaseParams ¶
type RuntimeDynamicSettleLeaseParams struct {
State string
IssuedAt sql.NullString
ExpiresAt sql.NullString
Now string
NextAttempt string
ID string
ChainOrg string
Worker sql.NullString
ClaimToken int64
ChainProject string
ChainEnv string
}
type RuntimePKIDueCRLsRow ¶
type RuntimePKIExpiredParams ¶
type RuntimePKIExpiredRow ¶
type RuntimePKIPublishedAuditParams ¶
type RuntimePKIPublishedAuditParams struct {
ID string
At string
IssuerID sql.NullString
Payload string
}
type RuntimePKIReleaseRenewalParams ¶
type RuntimePKIReleaseRenewalParams struct {
At string
ID string
OrgID string
SuccessorID sql.NullString
}
type RuntimePKITransitionAuditParams ¶
type RuntimePKITransitionAuditParams struct {
ID string
At string
AuthorityID sql.NullString
OrgID string
ProjectID sql.NullString
EnvID sql.NullString
CertificateID sql.NullString
Outcome string
Payload string
}
type RuntimeSSHInsertAuthorityRevocationAuditParams ¶
type RuntimeSSHInsertAuthorityRevocationAuditParams struct {
ID string
At string
AuthorityID sql.NullString
ChainOrg string
ChainProject sql.NullString
ChainEnv sql.NullString
CertificateID sql.NullString
Payload string
}
type SSHActiveCAKeyIDParams ¶
type SSHActiveCAKeyParams ¶
type SSHActiveCAKeyRow ¶
type SSHCAKeyExistsParams ¶
type SSHCAKeysParams ¶
type SSHCAKeysRow ¶
type SSHCAKeysRow struct {
ID string
CaID string
Algorithm string
PublicKey string
Fingerprint string
Origin string
State string
CreatedAt string
RetiringAt sql.NullString
RetireAfter sql.NullString
RetiredAt sql.NullString
}
type SSHCountLiveCAsParams ¶
type SSHCreateCAParams ¶
type SSHCreateProfileParams ¶
type SSHDeleteCAParams ¶
type SSHDeleteProfileParams ¶
type SSHGetCAParams ¶
type SSHGetCARow ¶
type SSHGetCertificateParams ¶
type SSHGetCertificateRow ¶
type SSHGetCertificateRow struct {
ID string
CaID string
CaKeyID string
ProfileID string
Serial int64
KeyID string
Principals string
PublicKeyFingerprint string
KeyAlgorithm string
KeyOrigin string
ValidAfter string
ValidBefore string
RequesterPrincipalID string
RequesterClass string
State string
RevokedAt sql.NullString
RevocationReason sql.NullString
CreatedAt string
CaKeyState string
CaKeyRetireAfter sql.NullString
CaState string
}
type SSHGetProfileParams ¶
type SSHGetProfileRow ¶
type SSHInsertCAKeyParams ¶
type SSHInsertCertificateParams ¶
type SSHInsertCertificateParams struct {
ID string
Serial int64
KeyID string
Principals string
PublicKeyFingerprint string
KeyAlgorithm string
KeyOrigin string
ValidAfter string
ValidBefore string
RequesterPrincipalID string
RequesterClass string
At string
CaKeyID string
CaID string
ProfileID string
ChainOrg string
ChainProject string
ChainEnv string
}
type SSHIsRequesterParams ¶
type SSHListCAsParams ¶
type SSHListCAsRow ¶
type SSHListCertificatesRow ¶
type SSHListCertificatesRow struct {
ID string
CaID string
CaKeyID string
ProfileID string
Serial int64
KeyID string
Principals string
PublicKeyFingerprint string
KeyAlgorithm string
KeyOrigin string
ValidAfter string
ValidBefore string
RequesterPrincipalID string
RequesterClass string
State string
RevokedAt sql.NullString
RevocationReason sql.NullString
CreatedAt string
CaKeyState string
CaKeyRetireAfter sql.NullString
CaState string
}
type SSHListProfilesParams ¶
type SSHListProfilesRow ¶
type SSHPurgeCAKeysParams ¶
type SSHPurgeCAsParams ¶
type SSHPurgeProfilesParams ¶
type SSHReencryptCAKeyParams ¶
type SSHRequestersParams ¶
type SSHRequestersRow ¶
type SSHRetireActiveCAKeyParams ¶
type SSHRetireActiveCAKeyParams struct {
At sql.NullString
RetireAfter sql.NullString
KeyID string
ChainOrg string
ChainProject string
ChainEnv string
}
type SSHRetireCAKeyParams ¶
type SSHRevokeCertificateParams ¶
type SSHRevokeCertificateParams struct {
At sql.NullString
Reason sql.NullString
CertificateID string
ChainOrg string
ChainProject string
ChainEnv string
}
type SSHRevokedSerialsParams ¶
type SSHRevokedSerialsRow ¶
type SSHUpdateProfileParams ¶
type SamlProvider ¶
type SamlProvider struct {
ID string
Slug string
DisplayName string
Kind string
EntityID string
AcsUrl string
SsoRedirectUrl string
SigningCertificates []byte
AssurancePolicy sql.NullString
AllowEmailNameid int64
ForceSignRequests int64
MetadataWantAuthnRequestsSigned int64
MetadataSource string
MetadataUrl sql.NullString
MetadataSigned int64
MetadataSigningFingerprint sql.NullString
MetadataValidUntil sql.NullString
Enabled int64
RowVersion int64
CreatedAt string
UpdatedAt string
}
type SamlReplay ¶
type SamlTransaction ¶
type SamlTransaction struct {
ID string
RequestID string
RelayStateVerifier []byte
InitiatorVerifier []byte
ProviderID string
EntityID string
AcsUrl string
Purpose string
InitiatingSessionID sql.NullString
AccountID sql.NullString
EnvironmentID sql.NullString
CeremonyID sql.NullString
CredentialEpoch int64
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
}
type ScanningDismissal ¶
type ScimAttention ¶
type ScimBinding ¶
type ScimBinding struct {
ID string
OrgID string
ProviderKind string
ProviderID string
ProviderSlug string
ProviderIssuer string
SubjectSource string
NameidFormat string
NameidQualifier string
NameidQualifierPresent int64
NameidSpQualifier string
NameidSpQualifierPresent int64
ConnectionPrincipalID string
LastContactAt sql.NullString
CreatedAt string
}
type ScimCredential ¶
type ScimCredential struct {
ID string
OrgID string
BindingID string
PrincipalID string
Verifier []byte
CredentialEpoch int64
CreatedAt string
ExpiresAt sql.NullString
RevokedAt sql.NullString
LastUsedAt sql.NullString
}
type ScimGroupMember ¶
type ScimMapping ¶
type SecretValueOccurrence ¶
type SelfConfigBinding ¶
type SelfConfigBinding struct {
ID int64
OwnerInstanceID string
AdoptionKey string
AdoptedBy string
OrgID string
ProjectID string
EnvironmentID string
SchemaVersion int64
Generation int64
DesiredRevision int64
DesiredSnapshotID string
PreviousSnapshotID string
Incarnation string
Suspended int64
CreatedAt string
UpdatedAt string
MigrationVersion int64
}
type SelfConfigJob ¶
type SelfConfigNode ¶
type SelfConfigRetention ¶
type SelfConfigRollout ¶
type SelfConfigSeedInput ¶
type ServiceAccount ¶
type Session ¶
type Session struct {
ID string
PrincipalID string
Verifier []byte
Artifact string
SessionGeneration int64
CredentialEpoch int64
AuthMethod string
Factors string
AuthenticatedAt string
CeremonyID sql.NullString
CreatedAt string
LastSeenAt string
IdleExpiresAt string
AbsoluteExpiresAt string
SourceIp string
UserAgent string
CsrfVerifier []byte
ProviderID sql.NullString
SamlProviderID sql.NullString
RequestingOrigin sql.NullString
HandoffID sql.NullString
EnrolmentRequired int64
Oauth2ProviderID sql.NullString
CliHandoffID sql.NullString
}
type SetBackupDrillParams ¶
type SetBackupExportFailureParams ¶
type SetBackupExportFailureParams struct {
LastFailureAt sql.NullString
LastFailureReason string
}
type SetBackupExportSuccessParams ¶
type SetBackupExportSuccessParams struct {
LastSuccessAt sql.NullString
LastArtifactName string
LastArtifactBytes int64
LastArtifactSha256 string
}
type SetBackupPruneResultParams ¶
type SetBackupPruneResultParams struct {
AttemptAt sql.NullString
AttemptID string
FailureReason string
RetainedExpiredArchives int64
}
type SetCredentialPolicyParams ¶
type SetCredentialPolicyParams struct {
MaxFiniteLifetimeSeconds int64
AllowIndefinite int64
MaxLiveCredentials int64
UpdatedAt sql.NullString
UpdatedBy sql.NullString
}
type SetEscrowVerificationParams ¶
type SetEscrowVerificationParams struct {
VerifiedAt sql.NullString
InstanceID string
Incarnation string
RootEpoch int64
}
type SetKeyGroupParams ¶
type SetKeyGroupParams struct {
GroupID sql.NullString
OrgID string
ProjectID string
ID string
}
type SetLocalAccountEmailParams ¶
type SetLocalAccountEmailParams struct {
Email sql.NullString
EmailVerifiedAt sql.NullString
ID string
}
type SetOrgRetentionParams ¶
type SetPinGenerationParams ¶
type SingletonLease ¶
type SlideReauthWindowParams ¶
type SnapshotEntry ¶
type SshCaKey ¶
type SshCaKey struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
CaID string
Algorithm string
PublicKey string
Fingerprint string
Origin string
PrivateKeyCiphertext []byte
State string
CreatedAt string
RetiringAt sql.NullString
RetireAfter sql.NullString
RetiredAt sql.NullString
}
type SshCertificate ¶
type SshCertificate struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
CaID string
CaKeyID string
ProfileID string
Serial int64
KeyID string
Principals string
PublicKeyFingerprint string
KeyAlgorithm string
KeyOrigin string
ValidAfter string
ValidBefore string
RequesterPrincipalID string
RequesterClass string
State string
RevokedAt sql.NullString
RevocationReason sql.NullString
CreatedAt string
}
type SshProfile ¶
type SshProfile struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
CaID string
Name string
Principals string
ForceCommand string
SourceAddresses string
Extensions string
KeyAlgorithms string
DefaultTtlSeconds int64
MaxTtlSeconds int64
State string
CreatedAt string
UpdatedAt string
}
type SshProfileRequester ¶
type StrandedRevealPrincipalsForEnvironmentParams ¶
type StrandedRevealPrincipalsForEnvironmentParams struct {
Org sql.NullString
Project sql.NullString
Env sql.NullString
}
type TotpChallenge ¶
type TotpChallenge struct {
ID string
AccountID string
SessionID sql.NullString
Purpose string
OperationBinding sql.NullString
EnvironmentID sql.NullString
CredentialEpoch int64
ExpiresAt string
ConsumedAt sql.NullString
CreatedAt string
}
type TotpCredential ¶
type TouchInstanceConnectionParams ¶
type TouchInstanceConnectionParams struct {
LastUsedAt sql.NullString
ID string
}
type TouchMachineCredentialParams ¶
type TouchMachineCredentialParams struct {
LastUsedAt sql.NullString
ID string
}
type TouchSCIMBindingParams ¶
type TouchSCIMBindingParams struct {
LastContactAt sql.NullString
OrgID string
ID string
}
type TouchSCIMCredentialParams ¶
type TouchSCIMCredentialParams struct {
LastUsedAt sql.NullString
ID string
}
type TouchSessionParams ¶
type TransitCompromiseParams ¶
type TransitConfigureParams ¶
type TransitCountKeysParams ¶
type TransitDestroyParams ¶
type TransitExternalVersionsRow ¶
type TransitExternalVersionsRow struct {
ID string
Version int64
ExternalRef sql.NullString
}
type TransitFencePurgeParams ¶
type TransitFenceTrimParams ¶
type TransitGetKeyForUseRow ¶
type TransitGetKeyForUseRow struct {
TransitKey TransitKey
}
type TransitGetKeyParams ¶
type TransitGetKeyRow ¶
type TransitGetKeyRow struct {
TransitKey TransitKey
}
type TransitInsertKeyParams ¶
type TransitKey ¶
type TransitKey struct {
ID string
OrgID string
ProjectID string
EnvironmentID string
Name string
Algorithm string
Custody string
AllowedOperations string
Exportable int64
State string
LatestVersion int64
MinEncryptVersion int64
MinDecryptVersion int64
MinAvailableVersion int64
CompromisedThroughVersion int64
RotationPeriodSeconds int64
PurgeStarted int64
DeletionAfter sql.NullString
CreatedBy string
CreatedAt string
UpdatedAt string
}
type TransitKeyByIDParams ¶
type TransitKeyByIDRow ¶
type TransitKeyByIDRow struct {
TransitKey TransitKey
}
type TransitKeyCaller ¶
type TransitKeyVersion ¶
type TransitListCallersRow ¶
type TransitListKeysParams ¶
type TransitListKeysRow ¶
type TransitListKeysRow struct {
TransitKey TransitKey
}
type TransitListReencryptRow ¶
type TransitListVersionsRow ¶
type TransitReencryptParams ¶
type TransitSelectDeletionDueParams ¶
type TransitSelectDeletionDueParams struct {
Now sql.NullString
AfterID string
PageLimit int64
}
type TransitSelectDeletionDueRow ¶
type TransitSelectDeletionDueRow struct {
TransitKey TransitKey
}
type TransitSelectRotationDueRow ¶
type TransitSelectRotationDueRow struct {
TransitKey TransitKey
LatestCreatedAt string
}
type TransitTrimFloorParams ¶
type UpdateDeliveryTargetReportParams ¶
type UpdateDeliveryTargetReportParams struct {
Namespace string
Name string
Vocabulary int64
Generation int64
ObservedGeneration int64
ReportedAt string
ReceivedAt string
ReportIntervalSeconds int64
Lifecycle string
Conditions string
Reporter string
ReporterVersion string
OrgID string
ProjectID string
EnvironmentID string
ID string
}
type UpdateFederationIssuerParams ¶
type UpdateFederationIssuerParams struct {
JwksMode string
StaticJwks sql.NullString
CaBundlePem string
RefusedAudiences string
UpdatedAt sql.NullString
UpdatedBy sql.NullString
ID string
}
type UpdateKeyMetadataParams ¶
type UpdateSAMLProviderCASParams ¶
type UpdateSAMLProviderCASParams struct {
DisplayName string
AcsUrl string
SsoRedirectUrl string
SigningCertificates []byte
AssurancePolicy sql.NullString
AllowEmailNameid int64
ForceSignRequests int64
MetadataWantAuthnRequestsSigned int64
MetadataSource string
MetadataUrl sql.NullString
MetadataSigned int64
MetadataSigningFingerprint sql.NullString
MetadataValidUntil sql.NullString
Enabled int64
UpdatedAt string
ID string
RowVersion int64
}
type UpdateSCIMGroupParams ¶
type UpdateSCIMUserParams ¶
type ValueEntry ¶
type WebauthnCeremony ¶
type WebauthnCeremony struct {
ID string
ChallengeVerifier []byte
SessionData []byte
AccountID sql.NullString
SessionID sql.NullString
Purpose string
OperationBinding sql.NullString
EnvironmentID sql.NullString
CredentialID sql.NullString
CredentialEpoch int64
ExpiresAt string
ConsumedAt sql.NullString
CreatedAt string
}
type WebauthnCredential ¶
type WebauthnCredential struct {
ID string
AccountID string
CredentialID []byte
PublicKey []byte
Aaguid []byte
SignCount int64
Transports string
Discoverable int64
BackupEligible int64
BackupState int64
Label string
CredentialEpoch int64
RowVersion int64
DisabledAt sql.NullString
CreatedAt string
LastUsedAt sql.NullString
}
type WorkloadPinStateParams ¶
type WorkloadPinStateRow ¶
type WorkspaceHandoff ¶
type WorkspaceHandoff struct {
ID string
StateVerifier []byte
CodeVerifier []byte
Origin string
RedirectUri string
PkceChallenge string
Purpose string
SessionID sql.NullString
Operation sql.NullString
EnvID sql.NullString
KeySet sql.NullString
PrincipalID sql.NullString
CreatedAt string
ExpiresAt string
ConsumedAt sql.NullString
Factors string
FactorClass string
AuthenticatedAt string
}
type WorkspaceOrigin ¶
type WriteRemoteSnapshotParams ¶
type WriteRemoteSnapshotParams struct {
RemoteID string
LastAttemptAt string
LastOutcome string
ObservedAt sql.NullString
InstanceIdentity sql.NullString
Version sql.NullString
OrgCount sql.NullInt64
ProjectCount sql.NullInt64
Listing sql.NullString
}
Source Files
¶
- access.sql.go
- adapter_config.sql.go
- adapter_manifest.sql.go
- adapter_moves.sql.go
- adapter_origin.sql.go
- adapter_repository.sql.go
- adapter_runtime.sql.go
- approvals.sql.go
- audit.sql.go
- audit_retention.sql.go
- auth_refusal.sql.go
- authn.sql.go
- backup_state.sql.go
- catalogue.sql.go
- cli_login.sql.go
- coordination_runtime.sql.go
- db.go
- definitions.sql.go
- delivery_targets.sql.go
- developer_credentials.sql.go
- dynamic_repository.sql.go
- dynamic_runtime.sql.go
- environments.sql.go
- federation.sql.go
- file_targets.sql.go
- folders.sql.go
- keyring.sql.go
- machine.sql.go
- models.go
- oauth2.sql.go
- ops_diagnostics.sql.go
- orgs.sql.go
- permission.sql.go
- pki.sql.go
- pki_repository.sql.go
- pki_runtime.sql.go
- privacy.sql.go
- profile.sql.go
- projects.sql.go
- providers.sql.go
- reencrypt.sql.go
- registration.sql.go
- remote.sql.go
- remote_pairing.sql.go
- retention.sql.go
- revisions.sql.go
- rules.sql.go
- saml.sql.go
- scanning.sql.go
- scim.sql.go
- scimauthn.sql.go
- self_config.sql.go
- snapshot_statements.go
- ssh.sql.go
- ssh_runtime.sql.go
- transit_repository.sql.go
- transit_runtime.sql.go
- values.sql.go
- webauthn.sql.go