Documentation
¶
Index ¶
- type AbortConnectorPeerRebindParams
- type AcceptServiceInvitationParams
- type AcceptTeamInvitationParams
- type AcknowledgeDeploymentPublisherConfigurationParams
- type ActivateConnectorPeerBindingParams
- type ActivateMemberSlugParams
- type ActiveCompanyMembershipParams
- type ActiveTeamSubjectParams
- type AddGuestShareServiceParams
- type AddPreviewServiceParams
- type AddServiceRunPreviewServiceParams
- type AddShareServiceParams
- type AdvanceGuestDemoNumberParams
- type AdvanceServiceRunNumberParams
- type AdvanceTeamPolicyRevisionParams
- type BeginAdminRelayDrainParams
- type BeginAdminRelayDrainRow
- type BeginGuestServiceRunParams
- type BeginIngressDrainParams
- type BeginRelayDrainParams
- type BeginRelayDrainRow
- type BindInitialOIDCMembershipParams
- type BindRelayRunSigningKeyParams
- type CancelOpenServiceRecoveryEpisodeParams
- type ClaimACMEOrderWorkParams
- type ClaimDNSAuthorityWorkParams
- type ClaimInvitationEmailParams
- type ClaimPublisherAssertionParams
- type ClaimRelayCertificateOrderWorkParams
- type ClaimRelayServiceForCertificateOrderParams
- type ClaimServiceConnectionSlotParams
- type ClaimServiceEndpointDNSWorkParams
- type CleanupExpiredConnectorPeerPairsParams
- type CleanupServiceAuditEventsParams
- type CleanupSupersededRelayRunSigningKeysParams
- type CleanupWorkloadAssertionsParams
- type CleanupWorkloadAuditParams
- type CleanupWorkloadCertificatesParams
- type CleanupWorkloadPublicServiceVisitorsParams
- type CleanupWorkloadServiceRightsParams
- type CleanupWorkloadSessionsParams
- type CloseServiceRunParams
- type ClosedServiceRunsRow
- type CompanySessionAuthorizedParams
- type CompanySessionRefreshValidParams
- type CompanySubjectDeadlineParams
- type CompanySubjectSessionAuthorizedParams
- type ConfirmConnectorPeerPairPreparedParams
- type ConfirmConnectorPeerPendingPreparedParams
- type ConsumeAuthenticationSeedParams
- type ConsumeCompanyLoginIntentParams
- type ConsumeOIDCAssertionParams
- type ConsumeServiceHTTPBrowserLoginParams
- type ConsumeShareHandoffParams
- type ConsumeShareHandoffRow
- type ControlAcmeAccount
- type ControlAcmeAuthorization
- type ControlAcmeOrder
- type ControlAdminAuditEvent
- type ControlAppliedProject
- type ControlAppliedProjectService
- type ControlAuthenticationSeed
- type ControlCompanyAccessAudit
- type ControlCompanyAdmissionRequest
- type ControlCompanyEligibility
- type ControlCompanyLoginIntent
- type ControlCompanySessionContext
- type ControlConnectorPeerAuditBinding
- type ControlConnectorPeerPair
- type ControlConnectorPeerPairLegClaim
- type ControlConnectorPeerPendingBinding
- type ControlConnectorPeerWatchVersion
- type ControlControlSession
- type ControlDeployment
- type ControlDeploymentManagementDeployment
- type ControlDeploymentManagementGrant
- type ControlDeploymentManagementService
- type ControlDeploymentName
- type ControlDeploymentNamespaceRename
- type ControlDeploymentPublisherEnrollment
- type ControlDeploymentPublisherEnrollmentService
- type ControlDeploymentPublisherLease
- type ControlDeploymentPublisherMember
- type ControlDeploymentPublisherServiceGrant
- type ControlDeviceLogin
- type ControlDnsAuthority
- type ControlDnsChallengeChange
- type ControlDomain
- type ControlDomainTransferOffer
- type ControlGuestTrial
- type ControlIdentity
- type ControlIdentityConnection
- type ControlIngressLease
- type ControlIngressPool
- type ControlIngressRunFence
- type ControlIngressServicePortRange
- type ControlLocalProjectService
- type ControlMaintenanceControl
- type ControlManagedLabelReservation
- type ControlMemberSlugReservation
- type ControlOidcAssertionExchange
- type ControlOpaqueServiceHost
- type ControlOperatorNameserverHostname
- type ControlPreview
- type ControlPreviewService
- type ControlProjectService
- type ControlPublicServiceVisitor
- type ControlPublisherAccessToken
- type ControlPublisherAliasWildcard
- type ControlPublisherAliasWildcardFact
- type ControlPublisherAssertion
- type ControlPublisherCertificateCheckpoint
- type ControlPublisherEnrollment
- type ControlPublisherGrant
- type ControlPublisherIdentity
- type ControlPublisherIdentityKey
- type ControlPublisherNamespaceAllocation
- type ControlPublisherRunPolicyBookmark
- type ControlPublisherRuntime
- type ControlReadDependencyVersion
- type ControlRegisteredKeyWatchVersion
- type ControlRelayCertificateOrder
- type ControlRelayLease
- type ControlRelayRunSigningKey
- type ControlRelayService
- type ControlRelayServiceReservation
- type ControlRunAliasWatchVersion
- type ControlService
- type ControlServiceAuditEvent
- type ControlServiceCertificateRequest
- type ControlServiceClientCertificate
- type ControlServiceClientCertificateIssuer
- type ControlServiceConnectionSlot
- type ControlServiceCreationRequest
- type ControlServiceEndpoint
- type ControlServiceHttpBrowserHandoff
- type ControlServiceHttpBrowserLogin
- type ControlServiceHttpBrowserSession
- type ControlServiceHttpGrant
- type ControlServiceInvitation
- type ControlServiceIpKey
- type ControlServiceNamespaceClaim
- type ControlServicePolicyWatchBookmark
- type ControlServicePortClaim
- type ControlServiceRecoveryEpisode
- type ControlServiceRecoveryHistogram
- type ControlServiceRun
- type ControlServiceSourceOwner
- type ControlServiceSuppliedCertificate
- type ControlServiceVisitorCapacity
- type ControlShare
- type ControlShareCookie
- type ControlShareHandoff
- type ControlShareService
- type ControlTeam
- type ControlTeamInvitation
- type ControlTeamInvitationEmailDelivery
- type ControlTeamMembership
- type ControlVisitorDevice
- type ControlVisitorGrant
- type ControlVisitorPolicy
- type ControlVisitorPolicyEvent
- type ControlVisitorPolicyWatchVersion
- type ControlVisitorTokenIssuer
- type ControlVisitorTokenKey
- type ControlVisitorVerificationKeyRevision
- type ControlWorkloadAssertion
- type ControlWorkloadAudit
- type ControlWorkloadClientCertificate
- type ControlWorkloadSession
- type ControlWorkloadSessionService
- type CopyCompanySessionContextsParams
- type CountActiveShareCookiesForServiceParams
- type CountActiveSharesForServiceParams
- type CountConnectorPeerPairOwnersParams
- type CountOpenServiceRunAssignmentsByRelayServiceRow
- type CountRecentGuestTrialsByIPParams
- type CountRelayActiveConnectionsParams
- type CreateActiveSlugReservationParams
- type CreateControlSessionParams
- type CreateCustomDNSAuthorityParams
- type CreateCustomDomainParams
- type CreateGuestShareParams
- type CreateInvitationEmailParams
- type CreateManagedDomainParams
- type CreateOIDCIdentityParams
- type CreateOrganizationTeamParams
- type CreateOrganizationTeamRow
- type CreateOwnerMembershipParams
- type CreatePersonalTeamParams
- type CreatePreviewParams
- type CreatePreviewRow
- type CreateSeedMemberParams
- type CreateServiceIPKeyParams
- type CreateServiceRunPreviewParams
- type CreateShareParams
- type CreateTeamInvitationParams
- type CreateTeamMembershipParams
- type CreateVisitorTokenSigningKeyParams
- type DBTX
- type DNSAuthorityReleaseReadyParams
- type DeleteServiceConnectionSlotParams
- type DeleteServiceParams
- type DemoteServiceRunParams
- type DeploymentManagementPublisherAllowedParams
- type DeploymentPublisherServiceAllowedParams
- type DisconnectServiceConnectionSlotParams
- type EnableIngressPoolParams
- type EnsureACMEAccountParams
- type ExpireServiceConnectionSlotParams
- type ExpireTeamInvitationsParams
- type FeedbackRunScopeParams
- type FeedbackRunScopeRow
- type FeedbackServiceScopeParams
- type FeedbackServiceScopeRow
- type FenceIngressRunParams
- type FindDeploymentManagementRequestParams
- type FindDeploymentManagementRequestRow
- type FindDeploymentPublisherEnrollmentRequestParams
- type FindGuestServiceAllocationParams
- type FindGuestShareRequestParams
- type FindOIDCIdentityParams
- type FindPublisherAllocationParams
- type FindServiceInvitationRequestParams
- type FindShareRequestParams
- type FinishGuestServiceRunParams
- type FinishInvitationEmailParams
- type ForgetExpiredGuestCredentialsParams
- type ForgetExpiredGuestServiceConfigurationsParams
- type ForgetOldGuestIssuanceDigestsParams
- type GetActiveShareForServiceParams
- type GetAdminRuntimeCountsRow
- type GetAppliedProjectParams
- type GetCompanyEligibilityParams
- type GetConnectorPeerPairForOwnerParams
- type GetControlSessionByAccessIDRow
- type GetCustomDomainByIdempotencyParams
- type GetCustomDomainByIdempotencyRow
- type GetDNSChallengeChangeParams
- type GetDNSChallengeChangeRow
- type GetDNSChallengeSubjectParams
- type GetDNSChallengeSubjectRow
- type GetDeploymentPublisherStatusParams
- type GetDeploymentPublisherStatusRow
- type GetDeploymentServiceConfigurationRow
- type GetIdentityContextIdentityRow
- type GetIdentityTeamDomainReleaseParams
- type GetIdentityTeamDomainReleaseRow
- type GetIdentityTeamParams
- type GetIdentityTeamRow
- type GetIngressLeaseParams
- type GetIngressServingLeaseParams
- type GetInvitationByIdempotencyParams
- type GetInvitationByIdempotencyRow
- type GetLocalProjectServiceParams
- type GetLocalProjectServiceRow
- type GetOrganizationTeamByIdempotencyParams
- type GetOrganizationTeamByIdempotencyRow
- type GetPreviewRow
- type GetPrivateDNSChallengeContextParams
- type GetPrivateDNSChallengeContextRow
- type GetPublisherDomainParams
- type GetPublisherGrantParams
- type GetPublisherKeyParams
- type GetRelayDNSChallengeContextRow
- type GetRelayLeaseForClaimRow
- type GetRelayLeaseForReadyRow
- type GetRelayTransportCertificateParams
- type GetServiceCertificateOrderByCSRParams
- type GetServiceCertificateRequestParams
- type GetServiceConfigurationRow
- type GetServiceCreationRequestParams
- type GetServiceCreationRequestRow
- type GetServiceRunPublisherIdentityParams
- type GetServiceSourceRow
- type GetTeamActorContextParams
- type GetTeamActorContextRow
- type GetTeamMembershipContextParams
- type GetTeamMembershipContextRow
- type GetTeamNamingRow
- type GuestOwnsServiceParams
- type GuestRunAllowanceSpentParams
- type GuestServiceServingDeadlineParams
- type HasRetainedConnectorPeerPairParams
- type HasTeamMembershipHistoryParams
- type IngressRegistrationDrainExpiredParams
- type InitializeConnectorPeerSessionParams
- type InsertAdminAuditEventParams
- type InsertCertificateIssuanceAuditEventParams
- type InsertCompanyAccessAuditParams
- type InsertCompanySessionContextParams
- type InsertConnectorPeerPairParams
- type InsertConnectorPeerPendingBindingParams
- type InsertDeviceLoginParams
- type InsertGuestTrialParams
- type InsertPublisherAccessParams
- type InsertPublisherAllocationParams
- type InsertPublisherEnrollmentParams
- type InsertPublisherGrantParams
- type InsertPublisherIdentityParams
- type InsertPublisherKeyParams
- type InsertRelayCertificateOrderParams
- type InsertServiceAuditEventsParams
- type InsertServiceCertificateOrderParams
- type InsertServiceCertificateRequestParams
- type InsertServiceConnectionSlotParams
- type InsertServiceCreationRequestParams
- type InsertServiceGrantParams
- type InsertServiceHTTPBrowserHandoffParams
- type InsertServiceHTTPBrowserLoginParams
- type InsertServiceHTTPBrowserSessionParams
- type InsertServiceHTTPGrantParams
- type InsertServiceInvitationParams
- type InsertServiceParams
- type InsertShareCookieParams
- type InsertShareHandoffParams
- type LimitConnectorPeerPairParams
- type LimitConnectorPeerPendingForClaimParams
- type LimitConnectorPeerPreparedForClaimParams
- type LimitGuestServiceRunExpiryParams
- type ListAdminRelayLeasesParams
- type ListAdminRelayLeasesRow
- type ListAppliedProjectServicesParams
- type ListAuthorizedDeploymentsParams
- type ListAvailableServicesParams
- type ListAvailableServicesRow
- type ListConnectorPeerPairCandidatesParams
- type ListConnectorPeerPairCandidatesRow
- type ListDNSChallengePresentationsRow
- type ListDeploymentPublisherIDsParams
- type ListDeploymentPublisherStatusParams
- type ListDeploymentPublisherStatusRow
- type ListDeploymentServiceConfigurationsRow
- type ListDeploymentsParams
- type ListDiscoverablePreviewsParams
- type ListDiscoverablePreviewsRow
- type ListDiscoverableProjectsParams
- type ListDiscoverableProjectsRow
- type ListIdentityMembershipContextsRow
- type ListIdentityTeamDomainsParams
- type ListIdentityTeamDomainsRow
- type ListIdentityTeamsRow
- type ListIngressServiceRelaysParams
- type ListIngressServiceRelaysRow
- type ListIngressServiceRunsParams
- type ListIngressServiceRunsRow
- type ListLiveIngressRunsParams
- type ListLiveIngressRunsRow
- type ListProjectDeploymentsParams
- type ListProjectPublicationsParams
- type ListProjectPublicationsRow
- type ListProjectServiceDeclarationsParams
- type ListProjectServiceDeclarationsRow
- type ListPublisherIdentitiesParams
- type ListReadDependencyVersionsRow
- type ListReadyShareServicesParams
- type ListReadyShareServicesRow
- type ListRelayDNSChallengePresentationsRow
- type ListRelayServiceAssignmentTotalsRow
- type ListServiceAuditEventsParams
- type ListServiceAuditOwnersRow
- type ListServiceConfigurationsRow
- type ListServiceConnectionSlotsNeedingReplacementParams
- type ListServiceConnectionSlotsNeedingReplacementRow
- type ListServiceGrantsParams
- type ListServiceHTTPGrantsRow
- type ListServiceInvitationsParams
- type ListServiceReservationCandidatesParams
- type ListServicesForTeamParams
- type ListSharesParams
- type ListTeamInvitationsRow
- type ListTeamMembershipContextsParams
- type ListTeamMembershipContextsRow
- type ListTeamNamespaceLabelsRow
- type ListTeamSharesParams
- type ListWorkloadSessionServicesRow
- type LockAppliedProjectParams
- type LockControlSessionByRefreshIDRow
- type LockDeploymentParams
- type LockEligibleRelayLeasesParams
- type LockEligibleRelayLeasesRow
- type LockIdentityConnectionParams
- type LockIdentityForTeamCreationRow
- type LockIngressLeaseParams
- type LockInvitationByTokenDigestParams
- type LockInvitationByTokenDigestRow
- type LockPendingServiceInvitationParams
- type LockPreviewForTeamAccessRow
- type LockServiceAuditClockParams
- type LockServiceRunFirstReadyEndpointParams
- type LockServiceRunParams
- type LockTeamActorContextParams
- type LockTeamActorContextRow
- type LockTeamDomainParams
- type LockTeamDomainRow
- type LockTeamInvitationParams
- type LockTeamInvitationRow
- type LockTeamMembershipParams
- type LockTeamMembershipRow
- type MarkACMEOrderInstalledParams
- type MarkCustomDomainReleasingParams
- type MarkDNSAuthorityReleasingParams
- type MarkGuestRunReadyParams
- type MarkSupersededRelayRunSigningKeysParams
- type ObserveAppliedProjectParams
- type ObserveDeploymentParams
- type ObserveServiceRecoveryEpisodeParams
- type ObserveServiceRunParams
- type OpenServiceRecoveryEpisodeParams
- type OtherPreviewForTeamAccessParams
- type OtherTeamAccessForServiceParams
- type PrepareConnectorPeerRebindParams
- type PrepareServiceRunParams
- type PreviewInvitationParams
- type PreviewInvitationRow
- type PrunePublisherAccessParams
- type PrunePublisherAssertionsParams
- type PublisherRuntimeActiveParams
- type PublisherScopeAvailableParams
- type PutCompanyEligibilityParams
- type QuarantineMemberSlugParams
- type Querier
- type Queries
- func (q *Queries) AbortConnectorPeerRebind(ctx context.Context, arg AbortConnectorPeerRebindParams) (int64, error)
- func (q *Queries) AcceptServiceInvitation(ctx context.Context, arg AcceptServiceInvitationParams) (ControlServiceInvitation, error)
- func (q *Queries) AcceptTeamInvitation(ctx context.Context, arg AcceptTeamInvitationParams) (int64, error)
- func (q *Queries) AcknowledgeDeploymentPublisherConfiguration(ctx context.Context, arg AcknowledgeDeploymentPublisherConfigurationParams) error
- func (q *Queries) ActivateConnectorPeerBinding(ctx context.Context, arg ActivateConnectorPeerBindingParams) (int64, error)
- func (q *Queries) ActivateMemberSlug(ctx context.Context, arg ActivateMemberSlugParams) (int64, error)
- func (q *Queries) ActiveCompanyMembership(ctx context.Context, arg ActiveCompanyMembershipParams) (bool, error)
- func (q *Queries) ActiveTeamSubject(ctx context.Context, arg ActiveTeamSubjectParams) (bool, error)
- func (q *Queries) AddGuestShareService(ctx context.Context, arg AddGuestShareServiceParams) (int64, error)
- func (q *Queries) AddPreviewService(ctx context.Context, arg AddPreviewServiceParams) (string, error)
- func (q *Queries) AddServiceRunPreviewService(ctx context.Context, arg AddServiceRunPreviewServiceParams) error
- func (q *Queries) AddShareService(ctx context.Context, arg AddShareServiceParams) (string, error)
- func (q *Queries) AdvanceGuestDemoNumber(ctx context.Context, arg AdvanceGuestDemoNumberParams) (int64, error)
- func (q *Queries) AdvanceServiceRunNumber(ctx context.Context, arg AdvanceServiceRunNumberParams) (int64, error)
- func (q *Queries) AdvanceTeamPolicyRevision(ctx context.Context, arg AdvanceTeamPolicyRevisionParams) (int64, error)
- func (q *Queries) BeginAdminRelayDrain(ctx context.Context, arg BeginAdminRelayDrainParams) (BeginAdminRelayDrainRow, error)
- func (q *Queries) BeginGuestServiceRun(ctx context.Context, arg BeginGuestServiceRunParams) (int64, error)
- func (q *Queries) BeginIngressDrain(ctx context.Context, arg BeginIngressDrainParams) (ControlIngressLease, error)
- func (q *Queries) BeginRelayDrain(ctx context.Context, arg BeginRelayDrainParams) (BeginRelayDrainRow, error)
- func (q *Queries) BindInitialOIDCMembership(ctx context.Context, arg BindInitialOIDCMembershipParams) error
- func (q *Queries) BindRelayRunSigningKey(ctx context.Context, arg BindRelayRunSigningKeyParams) (int64, error)
- func (q *Queries) CancelOpenServiceRecoveryEpisode(ctx context.Context, arg CancelOpenServiceRecoveryEpisodeParams) error
- func (q *Queries) ClaimACMEOrderWork(ctx context.Context, arg ClaimACMEOrderWorkParams) (ControlAcmeOrder, error)
- func (q *Queries) ClaimDNSAuthorityWork(ctx context.Context, arg ClaimDNSAuthorityWorkParams) (ControlDnsAuthority, error)
- func (q *Queries) ClaimInvitationEmail(ctx context.Context, arg ClaimInvitationEmailParams) (ControlTeamInvitationEmailDelivery, error)
- func (q *Queries) ClaimPublisherAssertion(ctx context.Context, arg ClaimPublisherAssertionParams) (int64, error)
- func (q *Queries) ClaimRelayCertificateOrderWork(ctx context.Context, arg ClaimRelayCertificateOrderWorkParams) (ControlRelayCertificateOrder, error)
- func (q *Queries) ClaimRelayServiceForCertificateOrder(ctx context.Context, arg ClaimRelayServiceForCertificateOrderParams) (ControlRelayService, error)
- func (q *Queries) ClaimServiceConnectionSlot(ctx context.Context, arg ClaimServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
- func (q *Queries) ClaimServiceEndpointDNSWork(ctx context.Context, arg ClaimServiceEndpointDNSWorkParams) (ControlServiceEndpoint, error)
- func (q *Queries) CleanupExpiredConnectorPeerPairs(ctx context.Context, arg CleanupExpiredConnectorPeerPairsParams) (int64, error)
- func (q *Queries) CleanupServiceAuditEvents(ctx context.Context, arg CleanupServiceAuditEventsParams) (int64, error)
- func (q *Queries) CleanupSupersededRelayRunSigningKeys(ctx context.Context, arg CleanupSupersededRelayRunSigningKeysParams) (int64, error)
- func (q *Queries) CleanupVisitorHandoffs(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) CleanupVisitorLogins(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) CleanupVisitorSessions(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) CleanupWorkloadAssertions(ctx context.Context, arg CleanupWorkloadAssertionsParams) (int64, error)
- func (q *Queries) CleanupWorkloadAudit(ctx context.Context, arg CleanupWorkloadAuditParams) (int64, error)
- func (q *Queries) CleanupWorkloadCertificates(ctx context.Context, arg CleanupWorkloadCertificatesParams) (int64, error)
- func (q *Queries) CleanupWorkloadPublicServiceVisitors(ctx context.Context, arg CleanupWorkloadPublicServiceVisitorsParams) (int64, error)
- func (q *Queries) CleanupWorkloadServiceRights(ctx context.Context, arg CleanupWorkloadServiceRightsParams) (int64, error)
- func (q *Queries) CleanupWorkloadSessions(ctx context.Context, arg CleanupWorkloadSessionsParams) (int64, error)
- func (q *Queries) CloseServiceRun(ctx context.Context, arg CloseServiceRunParams) (int64, error)
- func (q *Queries) ClosedServiceRuns(ctx context.Context, runIds []string) ([]ClosedServiceRunsRow, error)
- func (q *Queries) CompanySessionAuthorized(ctx context.Context, arg CompanySessionAuthorizedParams) (bool, error)
- func (q *Queries) CompanySessionRefreshValid(ctx context.Context, arg CompanySessionRefreshValidParams) (pgtype.Bool, error)
- func (q *Queries) CompanySubjectDeadline(ctx context.Context, arg CompanySubjectDeadlineParams) (pgtype.Timestamptz, error)
- func (q *Queries) CompanySubjectSessionAuthorized(ctx context.Context, arg CompanySubjectSessionAuthorizedParams) (bool, error)
- func (q *Queries) ConfirmConnectorPeerPairPrepared(ctx context.Context, arg ConfirmConnectorPeerPairPreparedParams) (int64, error)
- func (q *Queries) ConfirmConnectorPeerPendingPrepared(ctx context.Context, arg ConfirmConnectorPeerPendingPreparedParams) (int64, error)
- func (q *Queries) ConsumeAuthenticationSeed(ctx context.Context, arg ConsumeAuthenticationSeedParams) (int64, error)
- func (q *Queries) ConsumeCompanyLoginIntent(ctx context.Context, arg ConsumeCompanyLoginIntentParams) (int64, error)
- func (q *Queries) ConsumeOIDCAssertion(ctx context.Context, arg ConsumeOIDCAssertionParams) (int64, error)
- func (q *Queries) ConsumeServiceHTTPBrowserLogin(ctx context.Context, arg ConsumeServiceHTTPBrowserLoginParams) (ControlServiceHttpBrowserLogin, error)
- func (q *Queries) ConsumeShareHandoff(ctx context.Context, arg ConsumeShareHandoffParams) (ConsumeShareHandoffRow, error)
- func (q *Queries) CopyCompanySessionContexts(ctx context.Context, arg CopyCompanySessionContextsParams) error
- func (q *Queries) CountActiveShareCookiesForService(ctx context.Context, arg CountActiveShareCookiesForServiceParams) (int64, error)
- func (q *Queries) CountActiveSharesForService(ctx context.Context, arg CountActiveSharesForServiceParams) (int64, error)
- func (q *Queries) CountConnectorPeerPairOwners(ctx context.Context, arg CountConnectorPeerPairOwnersParams) (int64, error)
- func (q *Queries) CountGuestCurrentServices(ctx context.Context, guestID pgtype.Text) (int64, error)
- func (q *Queries) CountOpenServiceRunAssignmentsByRelayService(ctx context.Context) ([]CountOpenServiceRunAssignmentsByRelayServiceRow, error)
- func (q *Queries) CountRecentGuestTrialsByIP(ctx context.Context, arg CountRecentGuestTrialsByIPParams) (int64, error)
- func (q *Queries) CountRelayActiveConnections(ctx context.Context, arg CountRelayActiveConnectionsParams) (int64, error)
- func (q *Queries) CountTeamOwners(ctx context.Context, teamID string) (int64, error)
- func (q *Queries) CreateActiveSlugReservation(ctx context.Context, arg CreateActiveSlugReservationParams) error
- func (q *Queries) CreateControlSession(ctx context.Context, arg CreateControlSessionParams) error
- func (q *Queries) CreateCustomDNSAuthority(ctx context.Context, arg CreateCustomDNSAuthorityParams) error
- func (q *Queries) CreateCustomDomain(ctx context.Context, arg CreateCustomDomainParams) (ControlDomain, error)
- func (q *Queries) CreateGuestShare(ctx context.Context, arg CreateGuestShareParams) (ControlShare, error)
- func (q *Queries) CreateInvitationEmail(ctx context.Context, arg CreateInvitationEmailParams) error
- func (q *Queries) CreateManagedDomain(ctx context.Context, arg CreateManagedDomainParams) error
- func (q *Queries) CreateOIDCIdentity(ctx context.Context, arg CreateOIDCIdentityParams) (ControlIdentity, error)
- func (q *Queries) CreateOrganizationTeam(ctx context.Context, arg CreateOrganizationTeamParams) (CreateOrganizationTeamRow, error)
- func (q *Queries) CreateOwnerMembership(ctx context.Context, arg CreateOwnerMembershipParams) error
- func (q *Queries) CreatePersonalTeam(ctx context.Context, arg CreatePersonalTeamParams) error
- func (q *Queries) CreatePreview(ctx context.Context, arg CreatePreviewParams) (CreatePreviewRow, error)
- func (q *Queries) CreateSeedMember(ctx context.Context, arg CreateSeedMemberParams) error
- func (q *Queries) CreateServiceIPKey(ctx context.Context, arg CreateServiceIPKeyParams) error
- func (q *Queries) CreateServiceRunPreview(ctx context.Context, arg CreateServiceRunPreviewParams) (ControlPreview, error)
- func (q *Queries) CreateShare(ctx context.Context, arg CreateShareParams) (ControlShare, error)
- func (q *Queries) CreateTeamInvitation(ctx context.Context, arg CreateTeamInvitationParams) (ControlTeamInvitation, error)
- func (q *Queries) CreateTeamMembership(ctx context.Context, arg CreateTeamMembershipParams) error
- func (q *Queries) CreateVisitorTokenSigningKey(ctx context.Context, arg CreateVisitorTokenSigningKeyParams) (ControlVisitorTokenKey, error)
- func (q *Queries) DNSAuthorityReleaseReady(ctx context.Context, arg DNSAuthorityReleaseReadyParams) (pgtype.Bool, error)
- func (q *Queries) DeleteConnectorPeerPairLegClaims(ctx context.Context, pairID string) (int64, error)
- func (q *Queries) DeleteConnectorPeerPendingBinding(ctx context.Context, pairID string) (int64, error)
- func (q *Queries) DeleteExpiredDeviceLogins(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) DeleteExpiredOIDCAssertionExchanges(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) DeleteExpiredShareCookies(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) DeleteExpiredVisitorTokenSigningKeys(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) DeleteFinishedShareHandoffs(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) DeleteService(ctx context.Context, arg DeleteServiceParams) (ControlService, error)
- func (q *Queries) DeleteServiceConnectionSlot(ctx context.Context, arg DeleteServiceConnectionSlotParams) (int64, error)
- func (q *Queries) DemoteServiceRun(ctx context.Context, arg DemoteServiceRunParams) (int64, error)
- func (q *Queries) DeploymentManagementPublisherAllowed(ctx context.Context, arg DeploymentManagementPublisherAllowedParams) (bool, error)
- func (q *Queries) DeploymentPublisherServiceAllowed(ctx context.Context, arg DeploymentPublisherServiceAllowedParams) (bool, error)
- func (q *Queries) DiscardInactiveInvitationEmails(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) DisconnectServiceConnectionSlot(ctx context.Context, arg DisconnectServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
- func (q *Queries) EnableIngressPool(ctx context.Context, arg EnableIngressPoolParams) (ControlIngressPool, error)
- func (q *Queries) EnsureACMEAccount(ctx context.Context, arg EnsureACMEAccountParams) (ControlAcmeAccount, error)
- func (q *Queries) EnsureVisitorTokenIssuer(ctx context.Context, issuer string) error
- func (q *Queries) ExpireConnectorPeerRebind(ctx context.Context, pairID string) (int64, error)
- func (q *Queries) ExpireServiceConnectionSlot(ctx context.Context, arg ExpireServiceConnectionSlotParams) (int64, error)
- func (q *Queries) ExpireTeamInvitations(ctx context.Context, arg ExpireTeamInvitationsParams) ([]string, error)
- func (q *Queries) FeedbackRunScope(ctx context.Context, arg FeedbackRunScopeParams) (FeedbackRunScopeRow, error)
- func (q *Queries) FeedbackServiceScope(ctx context.Context, arg FeedbackServiceScopeParams) (FeedbackServiceScopeRow, error)
- func (q *Queries) FenceIngressRun(ctx context.Context, arg FenceIngressRunParams) (int64, error)
- func (q *Queries) FindDeploymentManagementRequest(ctx context.Context, arg FindDeploymentManagementRequestParams) (FindDeploymentManagementRequestRow, error)
- func (q *Queries) FindDeploymentPublisherEnrollmentRequest(ctx context.Context, arg FindDeploymentPublisherEnrollmentRequestParams) (ControlDeploymentPublisherEnrollment, error)
- func (q *Queries) FindGuestServiceAllocation(ctx context.Context, arg FindGuestServiceAllocationParams) (ControlService, error)
- func (q *Queries) FindGuestShareRequest(ctx context.Context, arg FindGuestShareRequestParams) (ControlShare, error)
- func (q *Queries) FindInvitationTeamByTokenDigest(ctx context.Context, tokenDigest []byte) (string, error)
- func (q *Queries) FindManagedDomain(ctx context.Context) (ControlDomain, error)
- func (q *Queries) FindOIDCIdentity(ctx context.Context, arg FindOIDCIdentityParams) (ControlIdentity, error)
- func (q *Queries) FindPublisherAllocation(ctx context.Context, arg FindPublisherAllocationParams) (ControlPublisherNamespaceAllocation, error)
- func (q *Queries) FindSeedTeam(ctx context.Context, displayName string) (ControlTeam, error)
- func (q *Queries) FindServiceInvitationRequest(ctx context.Context, arg FindServiceInvitationRequestParams) (ControlServiceInvitation, error)
- func (q *Queries) FindShareRequest(ctx context.Context, arg FindShareRequestParams) (ControlShare, error)
- func (q *Queries) FinishGuestServiceRun(ctx context.Context, arg FinishGuestServiceRunParams) (int64, error)
- func (q *Queries) FinishInvitationEmail(ctx context.Context, arg FinishInvitationEmailParams) (int64, error)
- func (q *Queries) ForgetExpiredGuestCredentials(ctx context.Context, arg ForgetExpiredGuestCredentialsParams) (int64, error)
- func (q *Queries) ForgetExpiredGuestServiceConfigurations(ctx context.Context, arg ForgetExpiredGuestServiceConfigurationsParams) (int64, error)
- func (q *Queries) ForgetOldGuestIssuanceDigests(ctx context.Context, arg ForgetOldGuestIssuanceDigestsParams) (int64, error)
- func (q *Queries) GetACMEAccountByDirectory(ctx context.Context, directoryUrl string) (ControlAcmeAccount, error)
- func (q *Queries) GetACMEOrder(ctx context.Context, issuanceID string) (ControlAcmeOrder, error)
- func (q *Queries) GetActiveShareForService(ctx context.Context, arg GetActiveShareForServiceParams) (ControlShare, error)
- func (q *Queries) GetAdminRuntimeCounts(ctx context.Context, now pgtype.Timestamptz) (GetAdminRuntimeCountsRow, error)
- func (q *Queries) GetAppliedProject(ctx context.Context, arg GetAppliedProjectParams) (ControlAppliedProject, error)
- func (q *Queries) GetCompanyAuthenticationDeadline(ctx context.Context, sessionID string) (pgtype.Timestamptz, error)
- func (q *Queries) GetCompanyEligibility(ctx context.Context, arg GetCompanyEligibilityParams) (ControlCompanyEligibility, error)
- func (q *Queries) GetConnectorPeerPairForOwner(ctx context.Context, arg GetConnectorPeerPairForOwnerParams) (ControlConnectorPeerPair, error)
- func (q *Queries) GetConnectorPeerPendingBinding(ctx context.Context, pairID string) (ControlConnectorPeerPendingBinding, error)
- func (q *Queries) GetControlSessionByAccessID(ctx context.Context, accessTokenID string) (GetControlSessionByAccessIDRow, error)
- func (q *Queries) GetCurrentIdentityConnection(ctx context.Context, teamID string) (ControlIdentityConnection, error)
- func (q *Queries) GetCustomDomainByIdempotency(ctx context.Context, arg GetCustomDomainByIdempotencyParams) (GetCustomDomainByIdempotencyRow, error)
- func (q *Queries) GetDNSAuthority(ctx context.Context, authorityReference string) (ControlDnsAuthority, error)
- func (q *Queries) GetDNSChallengeChange(ctx context.Context, arg GetDNSChallengeChangeParams) (GetDNSChallengeChangeRow, error)
- func (q *Queries) GetDNSChallengeSubject(ctx context.Context, arg GetDNSChallengeSubjectParams) (GetDNSChallengeSubjectRow, error)
- func (q *Queries) GetDeploymentManagementGrant(ctx context.Context, grantID string) (ControlDeploymentManagementGrant, error)
- func (q *Queries) GetDeploymentPublisherStatus(ctx context.Context, arg GetDeploymentPublisherStatusParams) (GetDeploymentPublisherStatusRow, error)
- func (q *Queries) GetDeploymentServiceConfiguration(ctx context.Context, serviceID pgtype.Text) (GetDeploymentServiceConfigurationRow, error)
- func (q *Queries) GetFeedbackService(ctx context.Context, id string) (ControlService, error)
- func (q *Queries) GetGuestTrialByCredentialID(ctx context.Context, credentialID pgtype.Text) (ControlGuestTrial, error)
- func (q *Queries) GetGuestTrialByID(ctx context.Context, id string) (ControlGuestTrial, error)
- func (q *Queries) GetIdentityContextIdentity(ctx context.Context, identityID string) (GetIdentityContextIdentityRow, error)
- func (q *Queries) GetIdentityTeam(ctx context.Context, arg GetIdentityTeamParams) (GetIdentityTeamRow, error)
- func (q *Queries) GetIdentityTeamDomainRelease(ctx context.Context, arg GetIdentityTeamDomainReleaseParams) (GetIdentityTeamDomainReleaseRow, error)
- func (q *Queries) GetIngressLease(ctx context.Context, arg GetIngressLeaseParams) (ControlIngressLease, error)
- func (q *Queries) GetIngressPool(ctx context.Context, id string) (ControlIngressPool, error)
- func (q *Queries) GetIngressServingLease(ctx context.Context, arg GetIngressServingLeaseParams) (ControlIngressLease, error)
- func (q *Queries) GetInvitationByIdempotency(ctx context.Context, arg GetInvitationByIdempotencyParams) (GetInvitationByIdempotencyRow, error)
- func (q *Queries) GetLocalProjectService(ctx context.Context, arg GetLocalProjectServiceParams) (GetLocalProjectServiceRow, error)
- func (q *Queries) GetManagedCertificateDomainKind(ctx context.Context, domainID string) (string, error)
- func (q *Queries) GetOpenServiceRecoveryEpisode(ctx context.Context, serviceRunID string) (ControlServiceRecoveryEpisode, error)
- func (q *Queries) GetOrganizationTeamByIdempotency(ctx context.Context, arg GetOrganizationTeamByIdempotencyParams) (GetOrganizationTeamByIdempotencyRow, error)
- func (q *Queries) GetPreview(ctx context.Context, id string) (GetPreviewRow, error)
- func (q *Queries) GetPrivateDNSChallengeContext(ctx context.Context, arg GetPrivateDNSChallengeContextParams) (GetPrivateDNSChallengeContextRow, error)
- func (q *Queries) GetPublisherAccess(ctx context.Context, accessTokenDigest []byte) (ControlPublisherAccessToken, error)
- func (q *Queries) GetPublisherAllocation(ctx context.Context, serviceID string) (ControlPublisherNamespaceAllocation, error)
- func (q *Queries) GetPublisherDomain(ctx context.Context, arg GetPublisherDomainParams) (ControlDomain, error)
- func (q *Queries) GetPublisherGrant(ctx context.Context, arg GetPublisherGrantParams) (ControlPublisherGrant, error)
- func (q *Queries) GetPublisherKey(ctx context.Context, arg GetPublisherKeyParams) (ControlPublisherIdentityKey, error)
- func (q *Queries) GetPublisherRuntime(ctx context.Context, publisherIdentityID string) (ControlPublisherRuntime, error)
- func (q *Queries) GetRelayDNSChallengeContext(ctx context.Context, orderID string) (GetRelayDNSChallengeContextRow, error)
- func (q *Queries) GetRelayLeaseForClaim(ctx context.Context, relayID string) (GetRelayLeaseForClaimRow, error)
- func (q *Queries) GetRelayLeaseForReady(ctx context.Context, relayID string) (GetRelayLeaseForReadyRow, error)
- func (q *Queries) GetRelayTransportCertificate(ctx context.Context, arg GetRelayTransportCertificateParams) (ControlRelayService, error)
- func (q *Queries) GetService(ctx context.Context, id string) (ControlService, error)
- func (q *Queries) GetServiceCertificateOrderByCSR(ctx context.Context, arg GetServiceCertificateOrderByCSRParams) (ControlAcmeOrder, error)
- func (q *Queries) GetServiceCertificateRequest(ctx context.Context, arg GetServiceCertificateRequestParams) (ControlServiceCertificateRequest, error)
- func (q *Queries) GetServiceConfiguration(ctx context.Context, serviceID string) (GetServiceConfigurationRow, error)
- func (q *Queries) GetServiceCreationRequest(ctx context.Context, arg GetServiceCreationRequestParams) (GetServiceCreationRequestRow, error)
- func (q *Queries) GetServiceRunPublisherIdentity(ctx context.Context, arg GetServiceRunPublisherIdentityParams) ([]byte, error)
- func (q *Queries) GetServiceSource(ctx context.Context, serviceID pgtype.Text) (GetServiceSourceRow, error)
- func (q *Queries) GetShare(ctx context.Context, id string) (ControlShare, error)
- func (q *Queries) GetTeamActorContext(ctx context.Context, arg GetTeamActorContextParams) (GetTeamActorContextRow, error)
- func (q *Queries) GetTeamMembershipContext(ctx context.Context, arg GetTeamMembershipContextParams) (GetTeamMembershipContextRow, error)
- func (q *Queries) GetTeamNaming(ctx context.Context, teamID string) (GetTeamNamingRow, error)
- func (q *Queries) GetVisitorParentSession(ctx context.Context, id string) (ControlControlSession, error)
- func (q *Queries) GetVisitorPolicyRevision(ctx context.Context, teamID string) (int64, error)
- func (q *Queries) GetWorkloadSession(ctx context.Context, id string) (ControlWorkloadSession, error)
- func (q *Queries) GuestForService(ctx context.Context, serviceID string) (pgtype.Text, error)
- func (q *Queries) GuestNamespaceReserved(ctx context.Context, label string) (bool, error)
- func (q *Queries) GuestOwnsService(ctx context.Context, arg GuestOwnsServiceParams) (bool, error)
- func (q *Queries) GuestRunAllowanceSpent(ctx context.Context, arg GuestRunAllowanceSpentParams) (string, error)
- func (q *Queries) GuestServiceServingDeadline(ctx context.Context, arg GuestServiceServingDeadlineParams) (pgtype.Timestamptz, error)
- func (q *Queries) HasRetainedConnectorPeerPair(ctx context.Context, arg HasRetainedConnectorPeerPairParams) (bool, error)
- func (q *Queries) HasTeamMembershipHistory(ctx context.Context, arg HasTeamMembershipHistoryParams) (bool, error)
- func (q *Queries) HasVisitorPolicyRegisteredKeyCandidates(ctx context.Context, serviceID string) (bool, error)
- func (q *Queries) IngressRegistrationDrainExpired(ctx context.Context, arg IngressRegistrationDrainExpiredParams) (bool, error)
- func (q *Queries) InitializeConnectorPeerSession(ctx context.Context, arg InitializeConnectorPeerSessionParams) (ControlConnectorPeerPair, error)
- func (q *Queries) InsertAdminAuditEvent(ctx context.Context, arg InsertAdminAuditEventParams) error
- func (q *Queries) InsertCertificateIssuanceAuditEvent(ctx context.Context, arg InsertCertificateIssuanceAuditEventParams) error
- func (q *Queries) InsertCompanyAccessAudit(ctx context.Context, arg InsertCompanyAccessAuditParams) error
- func (q *Queries) InsertCompanySessionContext(ctx context.Context, arg InsertCompanySessionContextParams) error
- func (q *Queries) InsertConnectorPeerPair(ctx context.Context, arg InsertConnectorPeerPairParams) (ControlConnectorPeerPair, error)
- func (q *Queries) InsertConnectorPeerPendingBinding(ctx context.Context, arg InsertConnectorPeerPendingBindingParams) (ControlConnectorPeerPendingBinding, error)
- func (q *Queries) InsertDeviceLogin(ctx context.Context, arg InsertDeviceLoginParams) (int64, error)
- func (q *Queries) InsertGuestTrial(ctx context.Context, arg InsertGuestTrialParams) (ControlGuestTrial, error)
- func (q *Queries) InsertPublisherAccess(ctx context.Context, arg InsertPublisherAccessParams) error
- func (q *Queries) InsertPublisherAllocation(ctx context.Context, arg InsertPublisherAllocationParams) error
- func (q *Queries) InsertPublisherEnrollment(ctx context.Context, arg InsertPublisherEnrollmentParams) (ControlPublisherEnrollment, error)
- func (q *Queries) InsertPublisherGrant(ctx context.Context, arg InsertPublisherGrantParams) (ControlPublisherGrant, error)
- func (q *Queries) InsertPublisherIdentity(ctx context.Context, arg InsertPublisherIdentityParams) (ControlPublisherIdentity, error)
- func (q *Queries) InsertPublisherKey(ctx context.Context, arg InsertPublisherKeyParams) error
- func (q *Queries) InsertRelayCertificateOrder(ctx context.Context, arg InsertRelayCertificateOrderParams) (ControlRelayCertificateOrder, error)
- func (q *Queries) InsertService(ctx context.Context, arg InsertServiceParams) (ControlService, error)
- func (q *Queries) InsertServiceAuditEvents(ctx context.Context, arg InsertServiceAuditEventsParams) ([]string, error)
- func (q *Queries) InsertServiceCertificateOrder(ctx context.Context, arg InsertServiceCertificateOrderParams) (ControlAcmeOrder, error)
- func (q *Queries) InsertServiceCertificateRequest(ctx context.Context, arg InsertServiceCertificateRequestParams) error
- func (q *Queries) InsertServiceConnectionSlot(ctx context.Context, arg InsertServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
- func (q *Queries) InsertServiceCreationRequest(ctx context.Context, arg InsertServiceCreationRequestParams) error
- func (q *Queries) InsertServiceGrant(ctx context.Context, arg InsertServiceGrantParams) (ControlVisitorGrant, error)
- func (q *Queries) InsertServiceHTTPBrowserHandoff(ctx context.Context, arg InsertServiceHTTPBrowserHandoffParams) error
- func (q *Queries) InsertServiceHTTPBrowserLogin(ctx context.Context, arg InsertServiceHTTPBrowserLoginParams) error
- func (q *Queries) InsertServiceHTTPBrowserSession(ctx context.Context, arg InsertServiceHTTPBrowserSessionParams) error
- func (q *Queries) InsertServiceHTTPGrant(ctx context.Context, arg InsertServiceHTTPGrantParams) error
- func (q *Queries) InsertServiceInvitation(ctx context.Context, arg InsertServiceInvitationParams) (ControlServiceInvitation, error)
- func (q *Queries) InsertShareCookie(ctx context.Context, arg InsertShareCookieParams) ([]byte, error)
- func (q *Queries) InsertShareHandoff(ctx context.Context, arg InsertShareHandoffParams) ([]byte, error)
- func (q *Queries) InvalidateDeploymentPublisherRuntimeHealth(ctx context.Context, publisherIdentityID string) error
- func (q *Queries) LimitConnectorPeerPair(ctx context.Context, arg LimitConnectorPeerPairParams) (ControlConnectorPeerPair, error)
- func (q *Queries) LimitConnectorPeerPendingForClaim(ctx context.Context, arg LimitConnectorPeerPendingForClaimParams) (int64, error)
- func (q *Queries) LimitConnectorPeerPreparedForClaim(ctx context.Context, arg LimitConnectorPeerPreparedForClaimParams) error
- func (q *Queries) LimitGuestServiceRunExpiry(ctx context.Context, arg LimitGuestServiceRunExpiryParams) (ControlServiceRun, error)
- func (q *Queries) ListACMEOrderAuthorizations(ctx context.Context, issuanceID string) ([]ControlAcmeAuthorization, error)
- func (q *Queries) ListAdminRelayLeases(ctx context.Context, arg ListAdminRelayLeasesParams) ([]ListAdminRelayLeasesRow, error)
- func (q *Queries) ListAppliedProjectServices(ctx context.Context, arg ListAppliedProjectServicesParams) ([]ControlAppliedProjectService, error)
- func (q *Queries) ListAuthorizedDeployments(ctx context.Context, arg ListAuthorizedDeploymentsParams) ([]ControlDeployment, error)
- func (q *Queries) ListAvailableServices(ctx context.Context, arg ListAvailableServicesParams) ([]ListAvailableServicesRow, error)
- func (q *Queries) ListConnectorPeerPairCandidates(ctx context.Context, arg ListConnectorPeerPairCandidatesParams) ([]ListConnectorPeerPairCandidatesRow, error)
- func (q *Queries) ListCurrentDomainNames(ctx context.Context) ([]string, error)
- func (q *Queries) ListDNSChallengePresentations(ctx context.Context, baseIdentifier string) ([]ListDNSChallengePresentationsRow, error)
- func (q *Queries) ListDeploymentManagementDeployments(ctx context.Context, grantID string) ([]string, error)
- func (q *Queries) ListDeploymentManagementServices(ctx context.Context, grantID string) ([]ControlDeploymentManagementService, error)
- func (q *Queries) ListDeploymentPublisherEnrollmentServices(ctx context.Context, enrollmentID string) ([]ControlDeploymentPublisherEnrollmentService, error)
- func (q *Queries) ListDeploymentPublisherIDs(ctx context.Context, arg ListDeploymentPublisherIDsParams) ([]string, error)
- func (q *Queries) ListDeploymentPublisherServices(ctx context.Context, deploymentID string) ([]ControlAppliedProjectService, error)
- func (q *Queries) ListDeploymentPublisherStatus(ctx context.Context, arg ListDeploymentPublisherStatusParams) ([]ListDeploymentPublisherStatusRow, error)
- func (q *Queries) ListDeploymentServiceConfigurations(ctx context.Context, serviceIds []string) ([]ListDeploymentServiceConfigurationsRow, error)
- func (q *Queries) ListDeployments(ctx context.Context, arg ListDeploymentsParams) ([]ControlDeployment, error)
- func (q *Queries) ListDiscoverablePreviews(ctx context.Context, arg ListDiscoverablePreviewsParams) ([]ListDiscoverablePreviewsRow, error)
- func (q *Queries) ListDiscoverableProjects(ctx context.Context, arg ListDiscoverableProjectsParams) ([]ListDiscoverableProjectsRow, error)
- func (q *Queries) ListIdentityMembershipContexts(ctx context.Context, identityID string) ([]ListIdentityMembershipContextsRow, error)
- func (q *Queries) ListIdentityTeamDomains(ctx context.Context, arg ListIdentityTeamDomainsParams) ([]ListIdentityTeamDomainsRow, error)
- func (q *Queries) ListIdentityTeams(ctx context.Context, identityID string) ([]ListIdentityTeamsRow, error)
- func (q *Queries) ListIngressServiceRelays(ctx context.Context, arg ListIngressServiceRelaysParams) ([]ListIngressServiceRelaysRow, error)
- func (q *Queries) ListIngressServiceRuns(ctx context.Context, arg ListIngressServiceRunsParams) ([]ListIngressServiceRunsRow, error)
- func (q *Queries) ListLiveIngressRuns(ctx context.Context, arg ListLiveIngressRunsParams) ([]ListLiveIngressRunsRow, error)
- func (q *Queries) ListMaintenanceControls(ctx context.Context) ([]ControlMaintenanceControl, error)
- func (q *Queries) ListOperatorNameserverHostnames(ctx context.Context) ([]string, error)
- func (q *Queries) ListPreviewServices(ctx context.Context, previewID string) ([]string, error)
- func (q *Queries) ListProjectDeployments(ctx context.Context, arg ListProjectDeploymentsParams) ([]ControlDeployment, error)
- func (q *Queries) ListProjectPublications(ctx context.Context, arg ListProjectPublicationsParams) ([]ListProjectPublicationsRow, error)
- func (q *Queries) ListProjectServiceDeclarations(ctx context.Context, arg ListProjectServiceDeclarationsParams) ([]ListProjectServiceDeclarationsRow, error)
- func (q *Queries) ListPublisherCertificateCheckpoints(ctx context.Context, publisherIdentityID string) ([][]byte, error)
- func (q *Queries) ListPublisherGrants(ctx context.Context, publisherIdentityID string) ([]ControlPublisherGrant, error)
- func (q *Queries) ListPublisherIdentities(ctx context.Context, arg ListPublisherIdentitiesParams) ([]ControlPublisherIdentity, error)
- func (q *Queries) ListReadDependencyVersions(ctx context.Context, topic string) ([]ListReadDependencyVersionsRow, error)
- func (q *Queries) ListReadyShareServices(ctx context.Context, arg ListReadyShareServicesParams) ([]ListReadyShareServicesRow, error)
- func (q *Queries) ListRelayDNSChallengePresentations(ctx context.Context, tlsServerName string) ([]ListRelayDNSChallengePresentationsRow, error)
- func (q *Queries) ListRelayServiceAssignmentTotals(ctx context.Context) ([]ListRelayServiceAssignmentTotalsRow, error)
- func (q *Queries) ListServiceAuditEvents(ctx context.Context, arg ListServiceAuditEventsParams) ([]ControlServiceAuditEvent, error)
- func (q *Queries) ListServiceAuditEventsByID(ctx context.Context, eventIds []string) ([]ControlServiceAuditEvent, error)
- func (q *Queries) ListServiceAuditOwners(ctx context.Context, serviceIds []string) ([]ListServiceAuditOwnersRow, error)
- func (q *Queries) ListServiceConfigurations(ctx context.Context, serviceIds []string) ([]ListServiceConfigurationsRow, error)
- func (q *Queries) ListServiceConnectionSlots(ctx context.Context, serviceRunID string) ([]ControlServiceConnectionSlot, error)
- func (q *Queries) ListServiceConnectionSlotsNeedingReplacement(ctx context.Context, arg ListServiceConnectionSlotsNeedingReplacementParams) ([]ListServiceConnectionSlotsNeedingReplacementRow, error)
- func (q *Queries) ListServiceGrants(ctx context.Context, arg ListServiceGrantsParams) ([]ControlVisitorGrant, error)
- func (q *Queries) ListServiceHTTPGrants(ctx context.Context, serviceID string) ([]ListServiceHTTPGrantsRow, error)
- func (q *Queries) ListServiceInvitations(ctx context.Context, arg ListServiceInvitationsParams) ([]ControlServiceInvitation, error)
- func (q *Queries) ListServiceReservationCandidates(ctx context.Context, arg ListServiceReservationCandidatesParams) ([]ControlService, error)
- func (q *Queries) ListServicesForTeam(ctx context.Context, arg ListServicesForTeamParams) ([]ControlService, error)
- func (q *Queries) ListShareServices(ctx context.Context, shareID string) ([]string, error)
- func (q *Queries) ListShares(ctx context.Context, arg ListSharesParams) ([]ControlShare, error)
- func (q *Queries) ListTeamInvitations(ctx context.Context, teamID string) ([]ListTeamInvitationsRow, error)
- func (q *Queries) ListTeamMembershipContexts(ctx context.Context, arg ListTeamMembershipContextsParams) ([]ListTeamMembershipContextsRow, error)
- func (q *Queries) ListTeamNamespaceLabels(ctx context.Context, teamID string) ([]ListTeamNamespaceLabelsRow, error)
- func (q *Queries) ListTeamShares(ctx context.Context, arg ListTeamSharesParams) ([]ControlShare, error)
- func (q *Queries) ListWorkloadSessionServices(ctx context.Context, workloadSessionID string) ([]ListWorkloadSessionServicesRow, error)
- func (q *Queries) LockACMEOrder(ctx context.Context, issuanceID string) (ControlAcmeOrder, error)
- func (q *Queries) LockAppliedProject(ctx context.Context, arg LockAppliedProjectParams) (ControlAppliedProject, error)
- func (q *Queries) LockCertificateIssuanceControl(ctx context.Context) (bool, error)
- func (q *Queries) LockCompanyLoginIntent(ctx context.Context, id string) (ControlCompanyLoginIntent, error)
- func (q *Queries) LockConnectorPeerPairForLegClaim(ctx context.Context, id string) (ControlConnectorPeerPair, error)
- func (q *Queries) LockConnectorPeerRetirementGuest(ctx context.Context, guestID string) (string, error)
- func (q *Queries) LockConnectorPeerRetirementTeam(ctx context.Context, teamID string) (string, error)
- func (q *Queries) LockControlSessionByRefreshID(ctx context.Context, refreshTokenID string) (LockControlSessionByRefreshIDRow, error)
- func (q *Queries) LockDNSAuthority(ctx context.Context, authorityReference string) (ControlDnsAuthority, error)
- func (q *Queries) LockDNSAuthorityLocalDomain(ctx context.Context, authorityReference pgtype.Text) error
- func (q *Queries) LockDNSAuthorityLocalTeam(ctx context.Context, authorityReference pgtype.Text) error
- func (q *Queries) LockDeployment(ctx context.Context, arg LockDeploymentParams) (ControlDeployment, error)
- func (q *Queries) LockDeploymentByID(ctx context.Context, id string) (ControlDeployment, error)
- func (q *Queries) LockDeploymentPublisherEnrollment(ctx context.Context, id string) (ControlDeploymentPublisherEnrollment, error)
- func (q *Queries) LockDeviceLoginByCode(ctx context.Context, userCode string) (ControlDeviceLogin, error)
- func (q *Queries) LockDeviceLoginByCredential(ctx context.Context, credentialDigest []byte) (ControlDeviceLogin, error)
- func (q *Queries) LockDeviceLoginByState(ctx context.Context, stateDigest []byte) (ControlDeviceLogin, error)
- func (q *Queries) LockDeviceLoginCapacity(ctx context.Context) error
- func (q *Queries) LockEligibleRelayLeases(ctx context.Context, arg LockEligibleRelayLeasesParams) ([]LockEligibleRelayLeasesRow, error)
- func (q *Queries) LockGuestTrialByID(ctx context.Context, id string) (ControlGuestTrial, error)
- func (q *Queries) LockIdentityBootstrap(ctx context.Context) error
- func (q *Queries) LockIdentityConnection(ctx context.Context, arg LockIdentityConnectionParams) (ControlIdentityConnection, error)
- func (q *Queries) LockIdentityForTeamCreation(ctx context.Context, identityID string) (LockIdentityForTeamCreationRow, error)
- func (q *Queries) LockIngressLease(ctx context.Context, arg LockIngressLeaseParams) (ControlIngressLease, error)
- func (q *Queries) LockIngressPoolForProvision(ctx context.Context, id string) (ControlIngressPool, error)
- func (q *Queries) LockIngressPoolMembership(ctx context.Context, id string) error
- func (q *Queries) LockInvitationByTokenDigest(ctx context.Context, arg LockInvitationByTokenDigestParams) (LockInvitationByTokenDigestRow, error)
- func (q *Queries) LockLocalTeamForMutation(ctx context.Context, teamID string) (string, error)
- func (q *Queries) LockLocalTeamForSession(ctx context.Context, teamID string) (string, error)
- func (q *Queries) LockMaintenanceControl(ctx context.Context, operation string) (bool, error)
- func (q *Queries) LockManagedDomainForClaim(ctx context.Context) (ControlDomain, error)
- func (q *Queries) LockPendingServiceInvitation(ctx context.Context, arg LockPendingServiceInvitationParams) (ControlServiceInvitation, error)
- func (q *Queries) LockPreviewForTeamAccess(ctx context.Context, id string) (LockPreviewForTeamAccessRow, error)
- func (q *Queries) LockPublisherEnrollment(ctx context.Context, id string) (ControlPublisherEnrollment, error)
- func (q *Queries) LockPublisherIdentity(ctx context.Context, id string) (ControlPublisherIdentity, error)
- func (q *Queries) LockRelayServiceForCertificate(ctx context.Context, relayServiceID string) (string, error)
- func (q *Queries) LockRelayServicesForPlacement(ctx context.Context, ids []string) ([]string, error)
- func (q *Queries) LockService(ctx context.Context, id string) (ControlService, error)
- func (q *Queries) LockServiceAuditClock(ctx context.Context, arg LockServiceAuditClockParams) error
- func (q *Queries) LockServiceCertificateOrdersForConsumer(ctx context.Context, serviceRunID string) ([]string, error)
- func (q *Queries) LockServiceHTTPBrowserSession(ctx context.Context, tokenDigest []byte) ([]byte, error)
- func (q *Queries) LockServiceRecoveryEpisode(ctx context.Context, id int64) (ControlServiceRecoveryEpisode, error)
- func (q *Queries) LockServiceRun(ctx context.Context, arg LockServiceRunParams) (ControlServiceRun, error)
- func (q *Queries) LockServiceRunFirstReadyEndpoint(ctx context.Context, arg LockServiceRunFirstReadyEndpointParams) (string, error)
- func (q *Queries) LockServiceRunsForClose(ctx context.Context, serviceID string) ([]ControlServiceRun, error)
- func (q *Queries) LockTeamActorContext(ctx context.Context, arg LockTeamActorContextParams) (LockTeamActorContextRow, error)
- func (q *Queries) LockTeamDomain(ctx context.Context, arg LockTeamDomainParams) (LockTeamDomainRow, error)
- func (q *Queries) LockTeamForInvitationAcceptance(ctx context.Context, teamID string) (string, error)
- func (q *Queries) LockTeamInvitation(ctx context.Context, arg LockTeamInvitationParams) (LockTeamInvitationRow, error)
- func (q *Queries) LockTeamMembership(ctx context.Context, arg LockTeamMembershipParams) (LockTeamMembershipRow, error)
- func (q *Queries) LockVisitorControlSession(ctx context.Context, accessTokenID string) (ControlControlSession, error)
- func (q *Queries) LockVisitorIdentity(ctx context.Context, id string) (ControlIdentity, error)
- func (q *Queries) LockVisitorTokenIssuer(ctx context.Context) (string, error)
- func (q *Queries) LockVisitorTokenSigningAuthority(ctx context.Context) (ControlVisitorTokenKey, error)
- func (q *Queries) LockVisitorTokenSigningKey(ctx context.Context) (ControlVisitorTokenKey, error)
- func (q *Queries) LockWorkloadSession(ctx context.Context, id string) (ControlWorkloadSession, error)
- func (q *Queries) LoginTeamRequiresCompany(ctx context.Context, id string) (bool, error)
- func (q *Queries) MarkACMEOrderInstalled(ctx context.Context, arg MarkACMEOrderInstalledParams) (ControlAcmeOrder, error)
- func (q *Queries) MarkCustomDomainReleasing(ctx context.Context, arg MarkCustomDomainReleasingParams) (int64, error)
- func (q *Queries) MarkDNSAuthorityReleasing(ctx context.Context, arg MarkDNSAuthorityReleasingParams) (int64, error)
- func (q *Queries) MarkGuestRunReady(ctx context.Context, arg MarkGuestRunReadyParams) (int64, error)
- func (q *Queries) MarkInvitationExpired(ctx context.Context, invitationID string) (int64, error)
- func (q *Queries) MarkSupersededRelayRunSigningKeys(ctx context.Context, arg MarkSupersededRelayRunSigningKeysParams) error
- func (q *Queries) ObserveAppliedProject(ctx context.Context, arg ObserveAppliedProjectParams) (ControlAppliedProject, error)
- func (q *Queries) ObserveDeployment(ctx context.Context, arg ObserveDeploymentParams) (ControlDeployment, error)
- func (q *Queries) ObserveIdentityBootstrap(ctx context.Context) error
- func (q *Queries) ObservePublisherEnrollmentService(ctx context.Context, id string) (ControlService, error)
- func (q *Queries) ObserveServiceRecoveryEpisode(ctx context.Context, arg ObserveServiceRecoveryEpisodeParams) (ControlServiceRecoveryEpisode, error)
- func (q *Queries) ObserveServiceRun(ctx context.Context, arg ObserveServiceRunParams) (ControlServiceRun, error)
- func (q *Queries) OpenServiceRecoveryEpisode(ctx context.Context, arg OpenServiceRecoveryEpisodeParams) error
- func (q *Queries) OtherPreviewForTeamAccess(ctx context.Context, arg OtherPreviewForTeamAccessParams) (string, error)
- func (q *Queries) OtherTeamAccessForService(ctx context.Context, arg OtherTeamAccessForServiceParams) (string, error)
- func (q *Queries) PrepareConnectorPeerRebind(ctx context.Context, arg PrepareConnectorPeerRebindParams) (int64, error)
- func (q *Queries) PrepareServiceRun(ctx context.Context, arg PrepareServiceRunParams) (ControlServiceRun, error)
- func (q *Queries) PreviewInvitation(ctx context.Context, arg PreviewInvitationParams) (PreviewInvitationRow, error)
- func (q *Queries) PrunePublisherAccess(ctx context.Context, arg PrunePublisherAccessParams) error
- func (q *Queries) PrunePublisherAssertions(ctx context.Context, arg PrunePublisherAssertionsParams) error
- func (q *Queries) PublisherRuntimeActive(ctx context.Context, arg PublisherRuntimeActiveParams) (bool, error)
- func (q *Queries) PublisherScopeAvailable(ctx context.Context, arg PublisherScopeAvailableParams) (bool, error)
- func (q *Queries) PutCompanyEligibility(ctx context.Context, arg PutCompanyEligibilityParams) error
- func (q *Queries) QuarantineMemberSlug(ctx context.Context, arg QuarantineMemberSlugParams) (int64, error)
- func (q *Queries) ReadConnectorPeerBindingClaims(ctx context.Context, arg ReadConnectorPeerBindingClaimsParams) ([]ControlConnectorPeerPairLegClaim, error)
- func (q *Queries) ReadConnectorPeerClaimBounds(ctx context.Context, pairID string) ([]ReadConnectorPeerClaimBoundsRow, error)
- func (q *Queries) ReadConnectorPeerObservationRelayBounds(ctx context.Context, arg ReadConnectorPeerObservationRelayBoundsParams) ([]ReadConnectorPeerObservationRelayBoundsRow, error)
- func (q *Queries) ReadConnectorPeerWatchVersions(ctx context.Context, runIds []string) ([]ReadConnectorPeerWatchVersionsRow, error)
- func (q *Queries) ReadPlacementAssignmentTotals(ctx context.Context, ids []string) ([]ReadPlacementAssignmentTotalsRow, error)
- func (q *Queries) ReadPublisherGrant(ctx context.Context, arg ReadPublisherGrantParams) (ControlPublisherGrant, error)
- func (q *Queries) ReadPublisherIdentity(ctx context.Context, id string) (ControlPublisherIdentity, error)
- func (q *Queries) ReadPublisherPolicyConfirmation(ctx context.Context, arg ReadPublisherPolicyConfirmationParams) (ReadPublisherPolicyConfirmationRow, error)
- func (q *Queries) ReadRegisteredKeyWatchVersion(ctx context.Context, serviceID string) (ReadRegisteredKeyWatchVersionRow, error)
- func (q *Queries) ReadRelayPlacementCandidates(ctx context.Context, now pgtype.Timestamptz) ([]ReadRelayPlacementCandidatesRow, error)
- func (q *Queries) ReadServiceHTTPBrowserSession(ctx context.Context, arg ReadServiceHTTPBrowserSessionParams) (ReadServiceHTTPBrowserSessionRow, error)
- func (q *Queries) ReadServiceIPKey(ctx context.Context, arg ReadServiceIPKeyParams) (ReadServiceIPKeyRow, error)
- func (q *Queries) ReadVisitorPolicyEvents(ctx context.Context, arg ReadVisitorPolicyEventsParams) ([]ReadVisitorPolicyEventsRow, error)
- func (q *Queries) ReadVisitorPolicyRegisteredKeys(ctx context.Context, arg ReadVisitorPolicyRegisteredKeysParams) ([]ReadVisitorPolicyRegisteredKeysRow, error)
- func (q *Queries) ReadVisitorPolicyRevision(ctx context.Context, resourceID string) (int64, error)
- func (q *Queries) ReadVisitorPolicyService(ctx context.Context, id string) (ControlService, error)
- func (q *Queries) ReadVisitorTokenIssuer(ctx context.Context) (string, error)
- func (q *Queries) ReadVisitorVerificationKeyRevision(ctx context.Context) (int64, error)
- func (q *Queries) ReadyServiceBrowserHosts(ctx context.Context, arg ReadyServiceBrowserHostsParams) ([]ReadyServiceBrowserHostsRow, error)
- func (q *Queries) ReadyServiceConnectionSlot(ctx context.Context, arg ReadyServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
- func (q *Queries) ReadyServiceRun(ctx context.Context, arg ReadyServiceRunParams) (ControlServiceRun, error)
- func (q *Queries) RecentGuestTrialStats(ctx context.Context, since pgtype.Timestamptz) (RecentGuestTrialStatsRow, error)
- func (q *Queries) RedeemPublisherEnrollment(ctx context.Context, arg RedeemPublisherEnrollmentParams) error
- func (q *Queries) RedeemServiceHTTPBrowserHandoff(ctx context.Context, arg RedeemServiceHTTPBrowserHandoffParams) (RedeemServiceHTTPBrowserHandoffRow, error)
- func (q *Queries) RegisterIngress(ctx context.Context, arg RegisterIngressParams) (ControlIngressLease, error)
- func (q *Queries) RegisterRelay(ctx context.Context, arg RegisterRelayParams) (RegisterRelayRow, error)
- func (q *Queries) ReleaseInvitedMemberSlug(ctx context.Context, arg ReleaseInvitedMemberSlugParams) (int64, error)
- func (q *Queries) RemoveProjectServiceDeclarations(ctx context.Context, arg RemoveProjectServiceDeclarationsParams) error
- func (q *Queries) RemoveTeamMembership(ctx context.Context, arg RemoveTeamMembershipParams) (int64, error)
- func (q *Queries) RenewConnectorPeerPair(ctx context.Context, arg RenewConnectorPeerPairParams) (ControlConnectorPeerPair, error)
- func (q *Queries) RenewIngress(ctx context.Context, arg RenewIngressParams) (ControlIngressLease, error)
- func (q *Queries) RenewPublisherRuntime(ctx context.Context, arg RenewPublisherRuntimeParams) (ControlPublisherRuntime, error)
- func (q *Queries) RenewRelay(ctx context.Context, arg RenewRelayParams) (RenewRelayRow, error)
- func (q *Queries) RenewServiceRun(ctx context.Context, arg RenewServiceRunParams) (ControlServiceRun, error)
- func (q *Queries) ReplaceConnectorPeerPair(ctx context.Context, id string) (int64, error)
- func (q *Queries) ReserveInvitedMemberSlug(ctx context.Context, arg ReserveInvitedMemberSlugParams) (string, error)
- func (q *Queries) ReserveManagedLabel(ctx context.Context, arg ReserveManagedLabelParams) (string, error)
- func (q *Queries) ResolveLoginTeam(ctx context.Context, selection string) (string, error)
- func (q *Queries) RetainVisitorTokenSigningKey(ctx context.Context, arg RetainVisitorTokenSigningKeyParams) (int64, error)
- func (q *Queries) RetireConnectorPeerAuditBindings(ctx context.Context, arg RetireConnectorPeerAuditBindingsParams) (int64, error)
- func (q *Queries) RetireConnectorPeerPair(ctx context.Context, arg RetireConnectorPeerPairParams) (ControlConnectorPeerPair, error)
- func (q *Queries) RetirePublisherKey(ctx context.Context, arg RetirePublisherKeyParams) (int64, error)
- func (q *Queries) RetireUnusedServiceCertificateOrder(ctx context.Context, arg RetireUnusedServiceCertificateOrderParams) error
- func (q *Queries) RetireVisitorTokenSigningKeys(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) RevokeControlSession(ctx context.Context, arg RevokeControlSessionParams) (int64, error)
- func (q *Queries) RevokeGuestShare(ctx context.Context, arg RevokeGuestShareParams) (ControlShare, error)
- func (q *Queries) RevokePublisherGrant(ctx context.Context, arg RevokePublisherGrantParams) (int64, error)
- func (q *Queries) RevokePublisherIdentity(ctx context.Context, arg RevokePublisherIdentityParams) (int64, error)
- func (q *Queries) RevokeServiceGrant(ctx context.Context, arg RevokeServiceGrantParams) (int64, error)
- func (q *Queries) RevokeServiceHTTPBrowserSession(ctx context.Context, arg RevokeServiceHTTPBrowserSessionParams) error
- func (q *Queries) RevokeServiceHTTPGrant(ctx context.Context, arg RevokeServiceHTTPGrantParams) (int64, error)
- func (q *Queries) RevokeServiceInvitation(ctx context.Context, arg RevokeServiceInvitationParams) (int64, error)
- func (q *Queries) RevokeServiceInvitationGrant(ctx context.Context, arg RevokeServiceInvitationGrantParams) (int64, error)
- func (q *Queries) RevokeShare(ctx context.Context, arg RevokeShareParams) (ControlShare, error)
- func (q *Queries) RevokeTeamInvitation(ctx context.Context, arg RevokeTeamInvitationParams) (int64, error)
- func (q *Queries) RevokeVisitorTokenSigningKeys(ctx context.Context, now pgtype.Timestamptz) error
- func (q *Queries) RotateACMEAccountKey(ctx context.Context, arg RotateACMEAccountKeyParams) error
- func (q *Queries) RotateControlSessionCredentials(ctx context.Context, arg RotateControlSessionCredentialsParams) (int64, error)
- func (q *Queries) RotateControlSessionRetrySecret(ctx context.Context, arg RotateControlSessionRetrySecretParams) error
- func (q *Queries) RotateRelayCertificateOrderPrivateKey(ctx context.Context, arg RotateRelayCertificateOrderPrivateKeyParams) error
- func (q *Queries) RotateRelayServicePrivateKey(ctx context.Context, arg RotateRelayServicePrivateKeyParams) error
- func (q *Queries) RotateServiceHTTPBrowserSession(ctx context.Context, arg RotateServiceHTTPBrowserSessionParams) error
- func (q *Queries) SaveACMEAuthorizationWork(ctx context.Context, arg SaveACMEAuthorizationWorkParams) (ControlAcmeAuthorization, error)
- func (q *Queries) SaveACMEOrderWork(ctx context.Context, arg SaveACMEOrderWorkParams) (ControlAcmeOrder, error)
- func (q *Queries) SaveConnectorPeerAuditBinding(ctx context.Context, arg SaveConnectorPeerAuditBindingParams) (int64, error)
- func (q *Queries) SaveConnectorPeerPairLegClaim(ctx context.Context, arg SaveConnectorPeerPairLegClaimParams) (string, error)
- func (q *Queries) SaveConnectorPeerPendingPublisherProof(ctx context.Context, arg SaveConnectorPeerPendingPublisherProofParams) (int64, error)
- func (q *Queries) SaveConnectorPeerPublisherProof(ctx context.Context, arg SaveConnectorPeerPublisherProofParams) (int64, error)
- func (q *Queries) SaveDNSAuthorityWork(ctx context.Context, arg SaveDNSAuthorityWorkParams) (ControlDnsAuthority, error)
- func (q *Queries) SaveProjectServiceDeclaration(ctx context.Context, arg SaveProjectServiceDeclarationParams) error
- func (q *Queries) SaveRelayCertificateOrderWork(ctx context.Context, arg SaveRelayCertificateOrderWorkParams) (ControlRelayCertificateOrder, error)
- func (q *Queries) SaveServiceEndpointDNSWork(ctx context.Context, arg SaveServiceEndpointDNSWorkParams) (ControlServiceEndpoint, error)
- func (q *Queries) SeedAdministrator(ctx context.Context, arg SeedAdministratorParams) error
- func (q *Queries) SelectServiceForPublisher(ctx context.Context, arg SelectServiceForPublisherParams) (ControlService, error)
- func (q *Queries) ServiceHTTPBrowserEndpoint(ctx context.Context, arg ServiceHTTPBrowserEndpointParams) (ServiceHTTPBrowserEndpointRow, error)
- func (q *Queries) ServiceHTTPBrowserPermission(ctx context.Context, arg ServiceHTTPBrowserPermissionParams) (ServiceHTTPBrowserPermissionRow, error)
- func (q *Queries) ServiceHTTPPreviewTeamPermission(ctx context.Context, arg ServiceHTTPPreviewTeamPermissionParams) (pgtype.Timestamptz, error)
- func (q *Queries) ServiceNamespaceOwnsHostname(ctx context.Context, hostname string) (bool, error)
- func (q *Queries) ServicePortPoolCapacity(ctx context.Context) ([]ServicePortPoolCapacityRow, error)
- func (q *Queries) ServicePublicEndpointBinding(ctx context.Context, visitorConnectionID string) (ServicePublicEndpointBindingRow, error)
- func (q *Queries) ServiceRunPublicEndpointReady(ctx context.Context, arg ServiceRunPublicEndpointReadyParams) (ServiceRunPublicEndpointReadyRow, error)
- func (q *Queries) SetDNSReadyDomainDefault(ctx context.Context, arg SetDNSReadyDomainDefaultParams) (int64, error)
- func (q *Queries) SetDomainAuthorityRevision(ctx context.Context, arg SetDomainAuthorityRevisionParams) error
- func (q *Queries) SetIdentityInitialTeam(ctx context.Context, arg SetIdentityInitialTeamParams) error
- func (q *Queries) SetMaintenanceControl(ctx context.Context, arg SetMaintenanceControlParams) (ControlMaintenanceControl, error)
- func (q *Queries) SetPersonalTeamDefaultDomain(ctx context.Context, arg SetPersonalTeamDefaultDomainParams) error
- func (q *Queries) SetPreviewTeamAccess(ctx context.Context, arg SetPreviewTeamAccessParams) error
- func (q *Queries) SetServiceConfiguration(ctx context.Context, arg SetServiceConfigurationParams) (int64, error)
- func (q *Queries) SetServiceEnabled(ctx context.Context, arg SetServiceEnabledParams) (ControlService, error)
- func (q *Queries) SetTeamDefaultDomain(ctx context.Context, arg SetTeamDefaultDomainParams) (int64, error)
- func (q *Queries) SetVisitorFeedbackPolicy(ctx context.Context, arg SetVisitorFeedbackPolicyParams) error
- func (q *Queries) StartPublisherRuntime(ctx context.Context, arg StartPublisherRuntimeParams) (ControlPublisherRuntime, error)
- func (q *Queries) StopPublisherRuntime(ctx context.Context, arg StopPublisherRuntimeParams) (ControlPublisherRuntime, error)
- func (q *Queries) StoreRelayTransportCertificate(ctx context.Context, arg StoreRelayTransportCertificateParams) (ControlRelayService, error)
- func (q *Queries) TeamMemberSlugReserved(ctx context.Context, arg TeamMemberSlugReservedParams) (bool, error)
- func (q *Queries) TeamMembershipIdentityExists(ctx context.Context, arg TeamMembershipIdentityExistsParams) (bool, error)
- func (q *Queries) TeamSharedNameInUse(ctx context.Context, arg TeamSharedNameInUseParams) (bool, error)
- func (q *Queries) UpdateACMEAccountRegistration(ctx context.Context, arg UpdateACMEAccountRegistrationParams) (ControlAcmeAccount, error)
- func (q *Queries) UpdateDeviceLogin(ctx context.Context, arg UpdateDeviceLoginParams) error
- func (q *Queries) UpdateGuestServingAuthority(ctx context.Context, arg UpdateGuestServingAuthorityParams) (pgtype.Timestamptz, error)
- func (q *Queries) UpdateLocalDomainForDNSAuthority(ctx context.Context, arg UpdateLocalDomainForDNSAuthorityParams) (UpdateLocalDomainForDNSAuthorityRow, error)
- func (q *Queries) UpdateMembershipRole(ctx context.Context, arg UpdateMembershipRoleParams) (int64, error)
- func (q *Queries) UpdateOIDCIdentity(ctx context.Context, arg UpdateOIDCIdentityParams) (ControlIdentity, error)
- func (q *Queries) UpdateServiceRecoveryHistogram(ctx context.Context, arg UpdateServiceRecoveryHistogramParams) error
- func (q *Queries) UpsertDNSChallengeChange(ctx context.Context, arg UpsertDNSChallengeChangeParams) error
- func (q *Queries) ValidateServiceEndpointDNSWork(ctx context.Context, arg ValidateServiceEndpointDNSWorkParams) (bool, error)
- func (q *Queries) ValidateVerifiedCompanyProof(ctx context.Context, arg ValidateVerifiedCompanyProofParams) (bool, error)
- func (q *Queries) VisitorCurrentMembership(ctx context.Context, arg VisitorCurrentMembershipParams) (string, error)
- func (q *Queries) VisitorFeedbackPolicy(ctx context.Context, id string) (string, error)
- func (q *Queries) VisitorPermission(ctx context.Context, arg VisitorPermissionParams) (VisitorPermissionRow, error)
- func (q *Queries) VisitorTokenVerificationKeys(ctx context.Context, now pgtype.Timestamptz) ([]VisitorTokenVerificationKeysRow, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type ReadConnectorPeerBindingClaimsParams
- type ReadConnectorPeerClaimBoundsRow
- type ReadConnectorPeerObservationRelayBoundsParams
- type ReadConnectorPeerObservationRelayBoundsRow
- type ReadConnectorPeerWatchVersionsRow
- type ReadPlacementAssignmentTotalsRow
- type ReadPublisherGrantParams
- type ReadPublisherPolicyConfirmationParams
- type ReadPublisherPolicyConfirmationRow
- type ReadRegisteredKeyWatchVersionRow
- type ReadRelayPlacementCandidatesRow
- type ReadServiceHTTPBrowserSessionParams
- type ReadServiceHTTPBrowserSessionRow
- type ReadServiceIPKeyParams
- type ReadServiceIPKeyRow
- type ReadVisitorPolicyEventsParams
- type ReadVisitorPolicyEventsRow
- type ReadVisitorPolicyRegisteredKeysParams
- type ReadVisitorPolicyRegisteredKeysRow
- type ReadyServiceBrowserHostsParams
- type ReadyServiceBrowserHostsRow
- type ReadyServiceConnectionSlotParams
- type ReadyServiceRunParams
- type RecentGuestTrialStatsRow
- type RedeemPublisherEnrollmentParams
- type RedeemServiceHTTPBrowserHandoffParams
- type RedeemServiceHTTPBrowserHandoffRow
- type RegisterIngressParams
- type RegisterRelayParams
- type RegisterRelayRow
- type ReleaseInvitedMemberSlugParams
- type RemoveProjectServiceDeclarationsParams
- type RemoveTeamMembershipParams
- type RenewConnectorPeerPairParams
- type RenewIngressParams
- type RenewPublisherRuntimeParams
- type RenewRelayParams
- type RenewRelayRow
- type RenewServiceRunParams
- type ReserveInvitedMemberSlugParams
- type ReserveManagedLabelParams
- type RetainVisitorTokenSigningKeyParams
- type RetireConnectorPeerAuditBindingsParams
- type RetireConnectorPeerPairParams
- type RetirePublisherKeyParams
- type RetireUnusedServiceCertificateOrderParams
- type RevokeControlSessionParams
- type RevokeGuestShareParams
- type RevokePublisherGrantParams
- type RevokePublisherIdentityParams
- type RevokeServiceGrantParams
- type RevokeServiceHTTPBrowserSessionParams
- type RevokeServiceHTTPGrantParams
- type RevokeServiceInvitationGrantParams
- type RevokeServiceInvitationParams
- type RevokeShareParams
- type RevokeTeamInvitationParams
- type RotateACMEAccountKeyParams
- type RotateControlSessionCredentialsParams
- type RotateControlSessionRetrySecretParams
- type RotateRelayCertificateOrderPrivateKeyParams
- type RotateRelayServicePrivateKeyParams
- type RotateServiceHTTPBrowserSessionParams
- type SaveACMEAuthorizationWorkParams
- type SaveACMEOrderWorkParams
- type SaveConnectorPeerAuditBindingParams
- type SaveConnectorPeerPairLegClaimParams
- type SaveConnectorPeerPendingPublisherProofParams
- type SaveConnectorPeerPublisherProofParams
- type SaveDNSAuthorityWorkParams
- type SaveProjectServiceDeclarationParams
- type SaveRelayCertificateOrderWorkParams
- type SaveServiceEndpointDNSWorkParams
- type SeedAdministratorParams
- type SelectServiceForPublisherParams
- type ServiceHTTPBrowserEndpointParams
- type ServiceHTTPBrowserEndpointRow
- type ServiceHTTPBrowserPermissionParams
- type ServiceHTTPBrowserPermissionRow
- type ServiceHTTPPreviewTeamPermissionParams
- type ServicePortPoolCapacityRow
- type ServicePublicEndpointBindingRow
- type ServiceRunPublicEndpointReadyParams
- type ServiceRunPublicEndpointReadyRow
- type SetDNSReadyDomainDefaultParams
- type SetDomainAuthorityRevisionParams
- type SetIdentityInitialTeamParams
- type SetMaintenanceControlParams
- type SetPersonalTeamDefaultDomainParams
- type SetPreviewTeamAccessParams
- type SetServiceConfigurationParams
- type SetServiceEnabledParams
- type SetTeamDefaultDomainParams
- type SetVisitorFeedbackPolicyParams
- type StartPublisherRuntimeParams
- type StopPublisherRuntimeParams
- type StoreRelayTransportCertificateParams
- type TeamMemberSlugReservedParams
- type TeamMembershipIdentityExistsParams
- type TeamSharedNameInUseParams
- type UpdateACMEAccountRegistrationParams
- type UpdateDeviceLoginParams
- type UpdateGuestServingAuthorityParams
- type UpdateLocalDomainForDNSAuthorityParams
- type UpdateLocalDomainForDNSAuthorityRow
- type UpdateMembershipRoleParams
- type UpdateOIDCIdentityParams
- type UpdateServiceRecoveryHistogramParams
- type UpsertDNSChallengeChangeParams
- type ValidateServiceEndpointDNSWorkParams
- type ValidateVerifiedCompanyProofParams
- type VisitorCurrentMembershipParams
- type VisitorPermissionParams
- type VisitorPermissionRow
- type VisitorTokenVerificationKeysRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcknowledgeDeploymentPublisherConfigurationParams ¶
type AcknowledgeDeploymentPublisherConfigurationParams struct {
Revision int64
Healthy bool
AcknowledgedAt pgtype.Timestamptz
PublisherIdentityID string
}
type ActivateConnectorPeerBindingParams ¶
type ActivateConnectorPeerBindingParams struct {
Slots []byte
DeliveryGeneration int64
KeyCiphertext []byte
KeyDigest []byte
StorageKeyID string
OperationID string
Challenge []byte
PublisherPreparedUntil pgtype.Timestamptz
PublisherProvedUntil pgtype.Timestamptz
PublisherProofDigest []byte
RequestDigest []byte
PairID string
}
type ActivateMemberSlugParams ¶
type ActivateMemberSlugParams struct {
IdentityID pgtype.Text
ActivatedAt pgtype.Timestamptz
SlugReservationID string
}
type ActiveCompanyMembershipParams ¶
type ActiveCompanyMembershipParams struct {
MembershipID string
Now pgtype.Timestamptz
}
type ActiveTeamSubjectParams ¶
type ActiveTeamSubjectParams struct {
TeamID string
IdentityID string
Now pgtype.Timestamptz
}
type AddGuestShareServiceParams ¶
type AddGuestShareServiceParams struct {
}
type AddPreviewServiceParams ¶
type AddServiceRunPreviewServiceParams ¶
type AddServiceRunPreviewServiceParams struct {
Now pgtype.Timestamptz
PreviewID string
}
type AddShareServiceParams ¶
type AddShareServiceParams struct {
}
type AdvanceGuestDemoNumberParams ¶
type AdvanceGuestDemoNumberParams struct {
AllocatedAt pgtype.Timestamptz
ID string
}
type AdvanceServiceRunNumberParams ¶
type AdvanceServiceRunNumberParams struct {
Now pgtype.Timestamptz
ID string
}
type AdvanceTeamPolicyRevisionParams ¶
type AdvanceTeamPolicyRevisionParams struct {
UpdatedAt pgtype.Timestamptz
TeamID string
}
type BeginAdminRelayDrainParams ¶
type BeginAdminRelayDrainParams struct {
DrainDeadline pgtype.Timestamptz
DrainedAt pgtype.Timestamptz
RelayID string
RelayRunID string
RelayLeaseRevision int64
}
type BeginAdminRelayDrainRow ¶
type BeginAdminRelayDrainRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type BeginGuestServiceRunParams ¶
type BeginGuestServiceRunParams struct {
StartedAt pgtype.Timestamptz
ServiceRunID string
ServiceID string
}
type BeginIngressDrainParams ¶
type BeginIngressDrainParams struct {
DrainDeadline pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
IngressID string
IngressRunID string
IngressLeaseRevision int64
}
type BeginRelayDrainParams ¶
type BeginRelayDrainParams struct {
DrainDeadline pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
RelayServiceID string
RelayID string
RelayRunID string
RelayLeaseRevision int64
}
type BeginRelayDrainRow ¶
type BeginRelayDrainRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type CancelOpenServiceRecoveryEpisodeParams ¶
type CancelOpenServiceRecoveryEpisodeParams struct {
CanceledAt pgtype.Timestamptz
ServiceRunID string
}
type ClaimACMEOrderWorkParams ¶
type ClaimACMEOrderWorkParams struct {
WorkOwner pgtype.Text
WorkExpiresAt pgtype.Timestamptz
ClaimedAt pgtype.Timestamptz
}
type ClaimDNSAuthorityWorkParams ¶
type ClaimDNSAuthorityWorkParams struct {
WorkOwner pgtype.Text
WorkExpiresAt pgtype.Timestamptz
ClaimedAt pgtype.Timestamptz
}
type ClaimInvitationEmailParams ¶
type ClaimInvitationEmailParams struct {
LeaseOwner pgtype.Text
LeaseExpiresAt pgtype.Timestamptz
Now pgtype.Timestamptz
}
type ClaimPublisherAssertionParams ¶
type ClaimPublisherAssertionParams struct {
PublisherIdentityID string
AssertionID string
ExpiresAt pgtype.Timestamptz
}
type ClaimRelayCertificateOrderWorkParams ¶
type ClaimRelayCertificateOrderWorkParams struct {
WorkOwner pgtype.Text
WorkExpiresAt pgtype.Timestamptz
ClaimedAt pgtype.Timestamptz
}
type ClaimRelayServiceForCertificateOrderParams ¶
type ClaimRelayServiceForCertificateOrderParams struct {
Now pgtype.Timestamptz
RetryFailedAfter pgtype.Timestamptz
}
type ClaimServiceEndpointDNSWorkParams ¶
type ClaimServiceEndpointDNSWorkParams struct {
Worker pgtype.Text
ExpiresAt pgtype.Timestamptz
Now pgtype.Timestamptz
}
type CleanupExpiredConnectorPeerPairsParams ¶
type CleanupExpiredConnectorPeerPairsParams struct {
Now pgtype.Timestamptz
BatchSize int32
}
type CleanupServiceAuditEventsParams ¶
type CleanupServiceAuditEventsParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CleanupSupersededRelayRunSigningKeysParams ¶
type CleanupSupersededRelayRunSigningKeysParams struct {
Cutoff pgtype.Timestamptz
BatchSize int32
}
type CleanupWorkloadAssertionsParams ¶
type CleanupWorkloadAssertionsParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CleanupWorkloadAuditParams ¶
type CleanupWorkloadAuditParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CleanupWorkloadCertificatesParams ¶
type CleanupWorkloadCertificatesParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CleanupWorkloadPublicServiceVisitorsParams ¶
type CleanupWorkloadPublicServiceVisitorsParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CleanupWorkloadServiceRightsParams ¶
type CleanupWorkloadServiceRightsParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CleanupWorkloadSessionsParams ¶
type CleanupWorkloadSessionsParams struct {
BeforeTime pgtype.Timestamptz
BatchSize int32
}
type CloseServiceRunParams ¶
type CloseServiceRunParams struct {
Now pgtype.Timestamptz
ID string
ServiceID string
RunNumber int64
}
type ClosedServiceRunsRow ¶
type CompanySessionAuthorizedParams ¶
type CompanySessionAuthorizedParams struct {
TeamID string
IdentityID string
SessionID string
Now pgtype.Timestamptz
}
type CompanySessionRefreshValidParams ¶
type CompanySessionRefreshValidParams struct {
SessionID string
IdentityID string
Now pgtype.Timestamptz
}
type CompanySubjectDeadlineParams ¶
type CompanySubjectDeadlineParams struct {
TeamID string
IdentityID string
SessionID string
Now pgtype.Timestamptz
}
type CompanySubjectSessionAuthorizedParams ¶
type CompanySubjectSessionAuthorizedParams struct {
TeamID string
IdentityID string
SessionID string
Now pgtype.Timestamptz
}
type ConfirmConnectorPeerPairPreparedParams ¶
type ConfirmConnectorPeerPairPreparedParams struct {
AuthorityExpiresAt pgtype.Timestamptz
BindingExpiresAt pgtype.Timestamptz
ID string
DeliveryGeneration int64
Now pgtype.Timestamptz
}
type ConfirmConnectorPeerPendingPreparedParams ¶
type ConfirmConnectorPeerPendingPreparedParams struct {
AuthorityExpiresAt pgtype.Timestamptz
BindingExpiresAt pgtype.Timestamptz
PairID string
}
type ConsumeAuthenticationSeedParams ¶
type ConsumeAuthenticationSeedParams struct {
SeedKey string
AppliedAt pgtype.Timestamptz
}
type ConsumeCompanyLoginIntentParams ¶
type ConsumeCompanyLoginIntentParams struct {
Now pgtype.Timestamptz
ID string
}
type ConsumeOIDCAssertionParams ¶
type ConsumeOIDCAssertionParams struct {
AssertionDigest []byte
ConsumedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type ConsumeServiceHTTPBrowserLoginParams ¶
type ConsumeServiceHTTPBrowserLoginParams struct {
Now pgtype.Timestamptz
StateDigest []byte
BindingDigest []byte
}
type ConsumeShareHandoffParams ¶
type ConsumeShareHandoffParams struct {
}
type ConsumeShareHandoffRow ¶
type ConsumeShareHandoffRow struct {
}
type ControlAcmeAccount ¶
type ControlAcmeAuthorization ¶
type ControlAcmeAuthorization struct {
ID string
OrderID string
Identifier string
AuthorizationUrl string
ChallengeType pgtype.Text
ChallengeUrl pgtype.Text
ChallengeToken pgtype.Text
ChallengeDigest []byte
PresentationReference pgtype.Text
State string
AuthorizationRevision int64
WorkOwner pgtype.Text
WorkEpoch int64
WorkExpiresAt pgtype.Timestamptz
Attempts int64
AvailableAt pgtype.Timestamptz
PresentedAt pgtype.Timestamptz
ValidatedAt pgtype.Timestamptz
CleanupCompletedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
LastError pgtype.Text
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlAcmeOrder ¶
type ControlAcmeOrder struct {
ID string
CreatedRevision int64
AccountID string
ServiceRunID string
ServiceID string
ServiceRunNumber int64
ServiceRunParent pgtype.Text
ServiceParent pgtype.Text
IdempotencyKey string
RequestDigest []byte
CertificateCacheKey string
CertificateScope string
CertificateDomainID pgtype.Text
CertificateIdentifiers []string
ChallengeMethod string
CsrDer []byte
CsrDigest []byte
State string
OrderRevision int64
OrderUrl pgtype.Text
FinalizeUrl pgtype.Text
FinalizationPossible bool
CertificateUrl pgtype.Text
CertificatePem []byte
NotBefore pgtype.Timestamptz
NotAfter pgtype.Timestamptz
RenewAt pgtype.Timestamptz
InstalledAt pgtype.Timestamptz
WorkOwner pgtype.Text
WorkEpoch int64
WorkExpiresAt pgtype.Timestamptz
Attempts int64
AvailableAt pgtype.Timestamptz
RetryNotBefore pgtype.Timestamptz
LastError pgtype.Text
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlAdminAuditEvent ¶
type ControlAppliedProject ¶
type ControlAuthenticationSeed ¶
type ControlAuthenticationSeed struct {
SeedKey string
AppliedAt pgtype.Timestamptz
}
type ControlCompanyEligibility ¶
type ControlCompanyEligibility struct {
IdentityConnectionID string
TeamID string
IdentityID string
Subject string
ConnectionRevision int64
Revision int64
Eligible bool
ValidUntil pgtype.Timestamptz
RequestDigest []byte
UpdatedAt pgtype.Timestamptz
ExpirationNotifiedAt pgtype.Timestamptz
}
type ControlCompanyLoginIntent ¶
type ControlCompanyLoginIntent struct {
ID string
TeamID string
IdentityConnectionID string
ConnectionRevision int64
Issuer string
ClientID string
RedirectUri string
Nonce string
BindingDigest []byte
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
ConsumedAt pgtype.Timestamptz
}
type ControlCompanySessionContext ¶
type ControlCompanySessionContext struct {
SessionID string
TeamID string
IdentityConnectionID string
ConnectionRevision int64
Subject string
AuthenticatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type ControlConnectorPeerAuditBinding ¶
type ControlConnectorPeerAuditBinding struct {
PairID string
ServiceID string
ServiceRunID string
RunNumber int64
PublisherIdentityID string
IdentityID pgtype.Text
DeviceID pgtype.Text
SourceDigest string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
DeliveryGeneration int64
RetiredAt pgtype.Timestamptz
}
type ControlConnectorPeerPair ¶
type ControlConnectorPeerPair struct {
ID string
ServiceID string
ServiceRunID string
RunNumber int64
PublisherIdentityID string
SubjectKind string
SubjectID string
ParentControlSessionID pgtype.Text
OwnerKey string
IdempotencyKey string
OwnerPublicKey []byte
OwnerRevision int64
RetiredAt pgtype.Timestamptz
RetireRequestDigest []byte
RequestDigest []byte
LastRenewalDigest []byte
PublisherPreparedUntil pgtype.Timestamptz
KeyDigest []byte
KeyCiphertext []byte
DeliveryID []byte
StorageKeyID string
Slots []byte
DeliveryGeneration int64
CreatedAt pgtype.Timestamptz
LastAuthorizedAt pgtype.Timestamptz
LastRequestAt pgtype.Timestamptz
ReplayFenceUntil pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
SessionKeyCiphertext []byte
SessionKeyDigest []byte
SessionKeyStorageKeyID pgtype.Text
TrustRevision int64
HighWaterGeneration int64
BindingOperationID string
BindingChallenge []byte
PublisherProvedUntil pgtype.Timestamptz
PublisherProofDigest []byte
RebindOperationID string
RebindGeneration pgtype.Int8
RebindStatus pgtype.Text
RebindPrepareDigest []byte
RebindActivateDigest []byte
RebindAbortDigest []byte
}
type ControlConnectorPeerPairLegClaim ¶
type ControlConnectorPeerPairLegClaim struct {
PairID string
ConnectionSlot int16
RequestedAt pgtype.Timestamptz
CheckedAt pgtype.Timestamptz
ConfirmedUntil pgtype.Timestamptz
NonceDigest []byte
SourceDigest string
SourceCiphertext []byte
SourceStorageKeyID string
RelayID string
RelayRunID string
RelayLeaseRevision int64
DeliveryGeneration int64
}
type ControlConnectorPeerPendingBinding ¶
type ControlConnectorPeerPendingBinding struct {
PairID string
DeliveryGeneration int64
OperationID string
Challenge []byte
Slots []byte
KeyCiphertext []byte
KeyDigest []byte
StorageKeyID string
CreatedAt pgtype.Timestamptz
PendingUntil pgtype.Timestamptz
PublisherPreparedUntil pgtype.Timestamptz
PublisherProvedUntil pgtype.Timestamptz
PublisherProofDigest []byte
}
type ControlControlSession ¶
type ControlControlSession struct {
ID string
IdentityID string
AccessTokenID string
AccessTokenDigest []byte
AccessExpiresAt pgtype.Timestamptz
RefreshTokenID string
RefreshTokenDigest []byte
RetrySecretCiphertext []byte
RetrySecretStorageKeyID string
RefreshExpiresAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
LastRefreshedAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
RevokedBy pgtype.Text
}
type ControlDeployment ¶
type ControlDeployment struct {
Ownership string
ID string
TeamID string
ProjectKey string
Name string
Description string
DomainID pgtype.Text
Namespace string
Revision int64
ConfigurationHash string
ConfigurationCiphertext []byte
StorageKeyID pgtype.Text
CreatePrincipalID pgtype.Text
CreateIdempotencyKey pgtype.Text
CreateRequestDigest []byte
DeletedAt pgtype.Timestamptz
}
type ControlDeploymentName ¶
type ControlDeploymentPublisherEnrollment ¶
type ControlDeploymentPublisherEnrollment struct {
ID string
DeploymentID string
SecretDigest []byte
MaxMembers int32
CreatedByIdentityID string
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
CreatePrincipalID string
IdempotencyKey string
RequestDigest []byte
SecretCiphertext []byte
StorageKeyID string
}
type ControlDeploymentPublisherLease ¶
type ControlDeploymentPublisherLease struct {
TokenDigest []byte
PublisherIdentityID string
KeyID string
ExpiresAt pgtype.Timestamptz
}
type ControlDeviceLogin ¶
type ControlDnsAuthority ¶
type ControlDnsAuthority struct {
ID int64
AuthorityReference string
TeamID string
DomainID string
CanonicalDomain string
CreateIdempotencyKey string
CreateRequestDigest []byte
ReleaseIdempotencyKey pgtype.Text
Provider string
ProviderZoneID pgtype.Text
State string
Nameservers []string
DelegationSetID string
NameserverDomain string
ClaimProofName string
ClaimProofValue string
ClaimProofVerifiedAt pgtype.Timestamptz
ClaimExpiresAt pgtype.Timestamptz
WorkRevision int64
WorkOwner pgtype.Text
WorkEpoch int64
WorkExpiresAt pgtype.Timestamptz
Attempts int64
AvailableAt pgtype.Timestamptz
LastError pgtype.Text
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlDomain ¶
type ControlDomain struct {
ID string
Kind string
TeamID pgtype.Text
CanonicalDomain string
DnsAuthorityReference pgtype.Text
State string
AuthorityRevision int64
VerificationTokenDigest []byte
CreatedByIdentityID pgtype.Text
ClaimIdempotencyKey pgtype.Text
ClaimRequestDigest []byte
MakeDefaultWhenReady bool
CreatedAt pgtype.Timestamptz
VerifiedAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
ReleasedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlGuestTrial ¶
type ControlGuestTrial struct {
ID string
CredentialID pgtype.Text
CredentialHash []byte
NamespaceLabel string
DomainID string
IngressPoolID string
DnsAuthorityReference string
SourceIpDigest pgtype.Text
SourceIpKeyID pgtype.Text
IssuanceIpDigest pgtype.Text
ExpiresAt pgtype.Timestamptz
UsedReadyNs int64
FirstDemoAllocatedAt pgtype.Timestamptz
FirstReadyAt pgtype.Timestamptz
EndReason pgtype.Text
EndedAt pgtype.Timestamptz
LastDemoNumber int64
ActiveServiceRunID pgtype.Text
ActiveReadyAt pgtype.Timestamptz
ReadyDeadline pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlIdentity ¶
type ControlIdentityConnection ¶
type ControlIdentityConnection struct {
ID string
TeamID string
Issuer string
SourceID string
Admission string
State string
Revision int64
ProvisioningDigest []byte
SetupDigest []byte
SetupExpiresAt pgtype.Timestamptz
ActivatedAt pgtype.Timestamptz
ReplacesID pgtype.Text
ReplacesRevision pgtype.Int8
CreatedByIdentityID string
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlIngressLease ¶
type ControlIngressLease struct {
Region string
ID int64
IngressID string
IngressRunID string
IngressLeaseRevision int64
ProtocolVersion int64
ConnectionCapacity int64
IngressPoolID string
Https bool
ServicePortRanges pgtype.Multirange[pgtype.Range[pgtype.Int4]]
ReportedConnections int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
}
type ControlIngressPool ¶
type ControlIngressRunFence ¶
type ControlManagedLabelReservation ¶
type ControlManagedLabelReservation struct {
ID int64
Label string
CreatedAt pgtype.Timestamptz
}
type ControlMemberSlugReservation ¶
type ControlMemberSlugReservation struct {
ID string
TeamID string
MemberSlug string
State string
ReservedByIdentityID pgtype.Text
CreatedAt pgtype.Timestamptz
ActivatedAt pgtype.Timestamptz
QuarantinedAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
ReleasedAt pgtype.Timestamptz
}
type ControlOidcAssertionExchange ¶
type ControlOidcAssertionExchange struct {
ID int64
AssertionDigest []byte
ConsumedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type ControlPreview ¶
type ControlPreviewService ¶
type ControlProjectService ¶
type ControlPublicServiceVisitor ¶
type ControlPublicServiceVisitor struct {
WorkloadSessionID pgtype.Text
VisitorConnectionID string
ServiceID string
ServiceRunID string
RunNumber int64
IngressID string
IngressRunID string
IngressLeaseRevision int64
DestinationPort int32
SourceDigest string
IdentityID pgtype.Text
DeviceID pgtype.Text
CertificateDigest []byte
PromotedAt pgtype.Timestamptz
ValidUntil pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
ClosedAt pgtype.Timestamptz
}
type ControlPublisherAccessToken ¶
type ControlPublisherAccessToken struct {
AccessTokenDigest []byte
PublisherIdentityID string
GrantID string
KeyID string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type ControlPublisherAliasWildcard ¶
type ControlPublisherAliasWildcard struct {
Parent string
TeamID string
DomainID string
DomainRevision int64
IngressPoolID string
ZoneID string
Ipv4Address *netip.Addr
Ipv6Address *netip.Addr
ShadowedLabels []string
VerifiedUntil pgtype.Timestamptz
AvailableAt pgtype.Timestamptz
WorkOwner pgtype.Text
WorkEpoch int64
WorkExpiresAt pgtype.Timestamptz
ConsecutiveErrors int64
}
type ControlPublisherAssertion ¶
type ControlPublisherAssertion struct {
PublisherIdentityID string
AssertionID string
ExpiresAt pgtype.Timestamptz
}
type ControlPublisherEnrollment ¶
type ControlPublisherEnrollment struct {
ID string
EnrollmentKeyDigest []byte
TeamID string
Name string
IdentityKind string
GrantKind string
ServiceID pgtype.Text
DomainID pgtype.Text
Namespace pgtype.Text
MembershipID pgtype.Text
NamespaceScope pgtype.Text
Protocols []string
CreatedByIdentityID string
Ownership string
OwnerMembershipID pgtype.Text
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
RedeemedIdentityID pgtype.Text
RedeemedKeyID pgtype.Text
RedeemedGrantID pgtype.Text
RedeemedPublicKey []byte
RedeemedAt pgtype.Timestamptz
}
type ControlPublisherGrant ¶
type ControlPublisherGrant struct {
ID string
PublisherIdentityID string
TeamID pgtype.Text
GuestID pgtype.Text
CreatedByIdentityID pgtype.Text
Kind string
ServiceID pgtype.Text
Protocols []string
DomainID pgtype.Text
Namespace pgtype.Text
MembershipID pgtype.Text
NamespaceScope pgtype.Text
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlPublisherIdentityKey ¶
type ControlPublisherIdentityKey struct {
ID string
PublisherIdentityID string
PublicKey []byte
Revision int64
CreatedAt pgtype.Timestamptz
RetiredAt pgtype.Timestamptz
}
type ControlPublisherRuntime ¶
type ControlPublisherRuntime struct {
PublisherIdentityID string
TeamID string
KeyID string
ScopeID string
ProcessRunID string
Epoch int64
AddressFamily string
Evidence string
StartedAt pgtype.Timestamptz
ObservedAt pgtype.Timestamptz
LastSeenAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
StoppedAt pgtype.Timestamptz
DeploymentReport []byte
DeploymentID pgtype.Text
DeploymentFirstObservedAt pgtype.Timestamptz
}
type ControlRelayCertificateOrder ¶
type ControlRelayCertificateOrder struct {
ID string
AccountID string
RelayServiceID string
TlsServerName string
PrivateKeyCiphertext []byte
PrivateKeyStorageKeyID string
CsrDer []byte
CsrDigest []byte
State string
OrderRevision int64
OrderUrl pgtype.Text
FinalizeUrl pgtype.Text
CertificateUrl pgtype.Text
AuthorizationUrl pgtype.Text
ChallengeUrl pgtype.Text
ChallengeToken pgtype.Text
ChallengeDigest []byte
PresentationReference pgtype.Text
CertificatePem []byte
NotBefore pgtype.Timestamptz
NotAfter pgtype.Timestamptz
RenewAt pgtype.Timestamptz
WorkOwner pgtype.Text
WorkEpoch int64
WorkExpiresAt pgtype.Timestamptz
Attempts int64
AvailableAt pgtype.Timestamptz
LastError pgtype.Text
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
AuthorizationExpiresAt pgtype.Timestamptz
}
type ControlRelayLease ¶
type ControlRelayLease struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
}
type ControlRelayRunSigningKey ¶
type ControlRelayRunSigningKey struct {
RelayID string
RelayRunID string
PeerSigningPublicKey []byte
SupersededAt pgtype.Timestamptz
}
type ControlRelayService ¶
type ControlRelayService struct {
Region string
ID int64
RelayServiceID string
RelayAddress string
TlsServerName string
TransportCertificatePem pgtype.Text
TransportPrivateKeyCiphertext []byte
TransportPrivateKeyStorageKeyID pgtype.Text
TransportCertificateSerial pgtype.Text
TransportCertificateExpiresAt pgtype.Timestamptz
Enabled bool
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ControlService ¶
type ControlService struct {
ID string
TeamID pgtype.Text
GuestID pgtype.Text
Name string
NameScope string
PlacementWorktreeKey string
PlacementWorktreeLabel string
Protocol string
TlsMetadata []byte
ConfigurationCiphertext []byte
StorageKeyID pgtype.Text
TrustRevision int64
EndpointRevision int64
ServiceRevision int64
VisitorRevision int64
PublisherPool bool
Ephemeral bool
ExpiresAt pgtype.Timestamptz
RequirePostQuantum bool
DomainID pgtype.Text
CertificateHostname string
CertificateScope string
RunAliasParent string
ServicePort pgtype.Int4
IngressPoolID string
Public bool
CreatedByIdentityID pgtype.Text
IdempotencyKey string
RequestDigest []byte
Enabled bool
NextRunNumber int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
}
type ControlServiceAuditEvent ¶
type ControlServiceAuditEvent struct {
Cursor int64
ID string
TeamID pgtype.Text
GuestID pgtype.Text
ServiceID string
EventType string
OccurredAt pgtype.Timestamptz
ReceivedAt pgtype.Timestamptz
ActorIdentityID pgtype.Text
DeviceID pgtype.Text
PublisherIdentityID pgtype.Text
RunID pgtype.Text
VisitorConnectionID pgtype.Text
SourceDigest pgtype.Text
Outcome pgtype.Text
Reason pgtype.Text
ConfigurationRevision pgtype.Int8
}
type ControlServiceClientCertificate ¶
type ControlServiceClientCertificate struct {
ControlSessionID pgtype.Text
CertificateDigest []byte
ServiceID string
IdentityID string
DeviceID string
CsrDigest []byte
CertificatePem []byte
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlServiceClientCertificateIssuer ¶
type ControlServiceClientCertificateIssuer struct {
ID bool
SeedCiphertext []byte
StorageKeyID string
CreatedAt pgtype.Timestamptz
}
type ControlServiceConnectionSlot ¶
type ControlServiceConnectionSlot struct {
ServiceRunID string
ServiceID string
RunNumber int64
ConnectionSlot int16
PublisherConnectionID string
ConnectionAssignmentRevision int64
RelayServiceID string
RelayAddress string
TlsServerName string
CredentialDigest []byte
CredentialExpiresAt pgtype.Timestamptz
RelayID pgtype.Text
RelayRunID pgtype.Text
RelayLeaseRevision pgtype.Int8
State string
AssignedAt pgtype.Timestamptz
SessionOpen bool
}
type ControlServiceEndpoint ¶
type ControlServiceEndpoint struct {
Hostname string
ServiceID string
ServiceRunID pgtype.Text
PublisherIdentityID pgtype.Text
PublisherAliasParent pgtype.Text
DeploymentID pgtype.Text
LocalSourceKey string
DomainID string
Namespace string
IngressPoolID string
Public bool
DnsAutomation bool
DnsAuthorityReference pgtype.Text
DnsState string
DnsRevision int64
DnsAttempts int64
DnsAvailableAt pgtype.Timestamptz
DnsLastError pgtype.Text
DnsWorkOwner pgtype.Text
DnsWorkEpoch int64
DnsWorkExpiresAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
RetiredAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
DnsConsecutiveErrors int64
WildcardDns bool
}
type ControlServiceHttpBrowserHandoff ¶
type ControlServiceHttpBrowserHandoff struct {
TokenDigest []byte
SessionDigest []byte
ServiceID string
Hostname string
RunIds []string
CookieCiphertext []byte
StorageKeyID string
ReturnPath string
RedirectUrl string
Bridge bool
ExpiresAt pgtype.Timestamptz
ConsumedAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlServiceHttpBrowserSession ¶
type ControlServiceHttpBrowserSession struct {
TokenDigest []byte
ControlSessionID string
ParentControlSessionID pgtype.Text
RefreshCiphertext []byte
StorageKeyID string
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlServiceHttpGrant ¶
type ControlServiceInvitation ¶
type ControlServiceInvitation struct {
ID string
ServiceID string
TeamID string
NormalizedEmail string
TokenDigest []byte
CreatedByIdentityID string
IdempotencyKey string
RequestDigest []byte
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
AcceptedAt pgtype.Timestamptz
AcceptedIdentityID pgtype.Text
RevokedAt pgtype.Timestamptz
}
type ControlServiceIpKey ¶
type ControlServiceNamespaceClaim ¶
type ControlServiceNamespaceClaim struct {
Namespace string
DeploymentID pgtype.Text
LocalSourceKey string
MembershipID pgtype.Text
OwnerTeamID pgtype.Text
DomainID string
CreatedAt pgtype.Timestamptz
RetiredAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
}
type ControlServicePortClaim ¶
type ControlServicePortClaim struct {
ID int64
ServiceID string
IngressPoolID string
Port int32
State string
ClaimedAt pgtype.Timestamptz
RetiredAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
RetiredIssuanceRevision pgtype.Int8
DnsClearedAt pgtype.Timestamptz
}
type ControlServiceRecoveryEpisode ¶
type ControlServiceRecoveryEpisode struct {
ID int64
ServiceID string
ServiceRunID string
RunNumber int64
State string
OpenedAt pgtype.Timestamptz
ObservedAt pgtype.Timestamptz
CanceledAt pgtype.Timestamptz
RecoverySeconds pgtype.Float8
}
type ControlServiceRecoveryHistogram ¶
type ControlServiceRecoveryHistogram struct {
ID int16
ObservationCount int64
ObservationSumSeconds float64
BucketLe025 int64
BucketLe05 int64
BucketLe1 int64
BucketLe2 int64
BucketLe5 int64
BucketLe10 int64
BucketLe20 int64
BucketLe30 int64
BucketLe45 int64
BucketLe60 int64
BucketLe120 int64
UpdatedAt pgtype.Timestamptz
}
type ControlServiceRun ¶
type ControlServiceRun struct {
PreferredRegions []string
TrafficLimits []byte
ID string
ServiceID string
TeamID pgtype.Text
GuestID pgtype.Text
Protocol string
RunNumber int64
PublisherIdentityID string
PublisherGrantID string
PublisherKeyID string
IdempotencyKey string
RequestDigest []byte
PreparationExpiresAt pgtype.Timestamptz
AssignmentSeedCiphertext []byte
AssignmentSeedStorageKeyID string
RunTokenDigest []byte
StartedAt pgtype.Timestamptz
State string
Healthy bool
StreamCapacity int32
ReportedStreams int32
CertificateCacheKey string
CertificateScope string
CertificateIdentifiers []string
CertificateDomainID pgtype.Text
CertificateHostname string
CertificateNamespace string
RunHostname string
RunAliasParent string
RequirePostQuantum bool
CertificateIssuanceID pgtype.Text
SuppliedCertificateSha256 pgtype.Text
CertificateExpiresAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
PublisherExpiresAt pgtype.Timestamptz
ServingObservedAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
ReadyAt pgtype.Timestamptz
ClosedAt pgtype.Timestamptz
AssignmentsOpen pgtype.Bool
}
type ControlServiceSuppliedCertificate ¶
type ControlServiceSuppliedCertificate struct {
ServiceRunID string
CertificateSha256 string
CertificateDomainID string
NotAfter pgtype.Timestamptz
InstalledAt pgtype.Timestamptz
}
type ControlServiceVisitorCapacity ¶
type ControlServiceVisitorCapacity struct {
VisitorConnectionID string
ServiceRunID string
ValidUntil pgtype.Timestamptz
ClosedAt pgtype.Timestamptz
}
type ControlShare ¶
type ControlShare struct {
}
type ControlShareCookie ¶
type ControlShareCookie struct {
}
type ControlShareHandoff ¶
type ControlShareHandoff struct {
}
type ControlShareService ¶
type ControlShareService struct {
}
type ControlTeam ¶
type ControlTeam struct {
ID string
Kind string
DisplayName string
ManagedLabel string
IngressPoolID string
DefaultDomainID pgtype.Text
PolicyRevision int64
FeedbackAuthors string
CreatedByIdentityID string
CreationIdempotencyKey pgtype.Text
CreationRequestDigest []byte
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
DeletedAt pgtype.Timestamptz
CompanySignInRequired bool
}
type ControlTeamInvitation ¶
type ControlTeamInvitation struct {
PersonalAccountException bool
ID string
TeamID string
SlugReservationID string
InitialRole string
InvitedByIdentityID string
IdempotencyKey string
RequestDigest []byte
TokenDigest []byte
NormalizedEmailRestriction pgtype.Text
State string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
AcceptedAt pgtype.Timestamptz
AcceptedByIdentityID pgtype.Text
AcceptedMembershipID pgtype.Text
RevokedAt pgtype.Timestamptz
RevokedByIdentityID pgtype.Text
}
type ControlTeamInvitationEmailDelivery ¶
type ControlTeamInvitationEmailDelivery struct {
DeliveryID string
PayloadCiphertext []byte
StorageKeyID pgtype.Text
AvailableAt pgtype.Timestamptz
Attempts int64
LeaseOwner pgtype.Text
LeaseExpiresAt pgtype.Timestamptz
CompletedAt pgtype.Timestamptz
LastHTTPStatus int32
}
type ControlTeamMembership ¶
type ControlTeamMembership struct {
ID string
TeamID string
IdentityID string
SlugReservationID string
ManagedLabel string
Role string
AuthorityRevision int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
RemovedAt pgtype.Timestamptz
RemovedByIdentityID pgtype.Text
IdentityConnectionID pgtype.Text
ManualSuspendedAt pgtype.Timestamptz
PersonalAccountException bool
}
type ControlVisitorDevice ¶
type ControlVisitorDevice struct {
ID string
IdentityID string
PublicKey []byte
CreatedAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlVisitorGrant ¶
type ControlVisitorGrant struct {
ID string
ServiceID pgtype.Text
TeamID string
Kind string
IdentityID pgtype.Text
AutoOwner bool
InvitationID pgtype.Text
CreatedByIdentityID string
IdempotencyKey string
RequestDigest []byte
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlVisitorPolicy ¶
type ControlVisitorPolicy struct {
ResourceID string
Revision int64
ChangedAt pgtype.Timestamptz
}
type ControlVisitorPolicyEvent ¶
type ControlVisitorPolicyEvent struct {
ResourceID string
Revision int64
ChangedAt pgtype.Timestamptz
}
type ControlVisitorTokenKey ¶
type ControlVisitorTokenKey struct {
ID string
PublicKey []byte
SeedCiphertext []byte
StorageKeyID string
CreatedAt pgtype.Timestamptz
RetainUntil pgtype.Timestamptz
RetiredAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ControlWorkloadAssertion ¶
type ControlWorkloadAssertion struct {
JtiDigest []byte
AssertionDigest []byte
WorkloadSessionID string
ExpiresAt pgtype.Timestamptz
}
type ControlWorkloadAudit ¶
type ControlWorkloadSession ¶
type ControlWorkloadSession struct {
ID string
TeamID string
ProjectKey string
WorkloadName string
Provider string
SessionNonce string
RepositoryID pgtype.Text
RunID pgtype.Text
RunAttempt pgtype.Text
CheckRunID pgtype.Text
PublicKey []byte
RequestDigest []byte
Claims []byte
Binding string
CredentialDigest []byte
CredentialCiphertext []byte
StorageKeyID string
CreatedAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
RenewalSequence int64
IdentityExpiresAt pgtype.Timestamptz
}
type CopyCompanySessionContextsParams ¶
type CopyCompanySessionContextsParams struct {
DestinationSessionID string
ExpiresAt pgtype.Timestamptz
SourceSessionID string
Now pgtype.Timestamptz
}
type CountActiveShareCookiesForServiceParams ¶
type CountActiveShareCookiesForServiceParams struct {
}
type CountActiveSharesForServiceParams ¶
type CountActiveSharesForServiceParams struct {
}
type CountConnectorPeerPairOwnersParams ¶
type CountConnectorPeerPairOwnersParams struct {
ServiceRunID string
Now pgtype.Timestamptz
OwnerLimit int32
}
type CreateControlSessionParams ¶
type CreateControlSessionParams struct {
ID string
IdentityID string
AccessTokenID string
AccessTokenDigest []byte
AccessExpiresAt pgtype.Timestamptz
RefreshTokenID string
RefreshTokenDigest []byte
RetrySecretCiphertext []byte
RetrySecretStorageKeyID string
RefreshExpiresAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
}
type CreateCustomDNSAuthorityParams ¶
type CreateCustomDNSAuthorityParams struct {
AuthorityReference string
TeamID string
DomainID string
CanonicalDomain string
CreateIdempotencyKey string
CreateRequestDigest []byte
DelegationSetID string
NameserverDomain string
ClaimProofName string
ClaimProofValue string
ClaimExpiresAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
}
type CreateGuestShareParams ¶
type CreateGuestShareParams struct {
}
type CreateManagedDomainParams ¶
type CreateManagedDomainParams struct {
ID string
CanonicalDomain string
CreatedAt pgtype.Timestamptz
}
type CreatePreviewParams ¶
type CreatePreviewRow ¶
type CreateSeedMemberParams ¶
type CreateShareParams ¶
type CreateShareParams struct {
}
type CreateTeamInvitationParams ¶
type CreateTeamInvitationParams struct {
PersonalAccountException bool
ID string
TeamID string
SlugReservationID string
InitialRole string
InvitedByIdentityID string
IdempotencyKey string
RequestDigest []byte
TokenDigest []byte
NormalizedEmailRestriction pgtype.Text
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type DNSAuthorityReleaseReadyParams ¶
type DNSAuthorityReleaseReadyParams struct {
AuthorityDomainID pgtype.Text
ObservedAt pgtype.Timestamptz
}
type DeleteServiceConnectionSlotParams ¶
type DeleteServiceConnectionSlotParams struct {
PublisherConnectionID string
ServiceRunID string
Now pgtype.Timestamptz
}
type DeleteServiceParams ¶
type DemoteServiceRunParams ¶
type EnableIngressPoolParams ¶
type EnsureACMEAccountParams ¶
type ExpireServiceConnectionSlotParams ¶
type ExpireServiceConnectionSlotParams struct {
PublisherConnectionID string
ServiceRunID string
Now pgtype.Timestamptz
}
type ExpireTeamInvitationsParams ¶
type ExpireTeamInvitationsParams struct {
TeamID string
Now pgtype.Timestamptz
}
type FeedbackRunScopeParams ¶
type FeedbackRunScopeRow ¶
type FeedbackServiceScopeRow ¶
type FenceIngressRunParams ¶
type FindDeploymentManagementRequestRow ¶
type FindDeploymentManagementRequestRow struct {
ControlDeploymentManagementGrant ControlDeploymentManagementGrant
PublisherIdentityID string
ExpiresAt pgtype.Timestamptz
}
type FindGuestShareRequestParams ¶
type FindGuestShareRequestParams struct {
}
type FindOIDCIdentityParams ¶
type FindShareRequestParams ¶
type FindShareRequestParams struct {
}
type FinishGuestServiceRunParams ¶
type FinishGuestServiceRunParams struct {
CloseReason string
ClosedAt pgtype.Timestamptz
ServiceRunID pgtype.Text
}
type FinishInvitationEmailParams ¶
type FinishInvitationEmailParams struct {
Complete bool
Now pgtype.Timestamptz
AvailableAt pgtype.Timestamptz
LastHTTPStatus int32
DeliveryID string
LeaseOwner pgtype.Text
}
type ForgetExpiredGuestCredentialsParams ¶
type ForgetExpiredGuestCredentialsParams struct {
Now pgtype.Timestamptz
BatchSize int32
}
type ForgetExpiredGuestServiceConfigurationsParams ¶
type ForgetExpiredGuestServiceConfigurationsParams struct {
Now pgtype.Timestamptz
BatchSize int32
}
type ForgetOldGuestIssuanceDigestsParams ¶
type ForgetOldGuestIssuanceDigestsParams struct {
Cutoff pgtype.Timestamptz
BatchSize int32
}
type GetActiveShareForServiceParams ¶
type GetActiveShareForServiceParams struct {
}
type GetAppliedProjectParams ¶
type GetCustomDomainByIdempotencyRow ¶
type GetCustomDomainByIdempotencyRow struct {
ID string
Kind string
TeamID pgtype.Text
CanonicalDomain string
DnsAuthorityReference pgtype.Text
State string
AuthorityRevision int64
VerificationTokenDigest []byte
CreatedByIdentityID pgtype.Text
ClaimIdempotencyKey pgtype.Text
ClaimRequestDigest []byte
MakeDefaultWhenReady bool
CreatedAt pgtype.Timestamptz
VerifiedAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
ReleasedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
Nameservers []string
ClaimProofName string
ClaimProofValue string
ClaimProofVerifiedAt pgtype.Timestamptz
ClaimExpiresAt pgtype.Timestamptz
ProviderZoneID pgtype.Text
}
type GetDeploymentPublisherStatusRow ¶
type GetDeploymentPublisherStatusRow struct {
ControlDeploymentPublisherMember ControlDeploymentPublisherMember
RevokedAt pgtype.Timestamptz
TeamID string
ProjectKey string
DeploymentName string
CurrentRevision int64
}
type GetDeploymentServiceConfigurationRow ¶
type GetDeploymentServiceConfigurationRow struct {
ControlDeployment ControlDeployment
Service string
}
type GetIdentityTeamDomainReleaseRow ¶
type GetIdentityTeamDomainReleaseRow struct {
ID string
Kind string
TeamID pgtype.Text
CanonicalDomain string
DnsAuthorityReference pgtype.Text
State string
AuthorityRevision int64
CreatedAt pgtype.Timestamptz
VerifiedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
ReleasedAt pgtype.Timestamptz
Nameservers []string
ClaimProofName string
ClaimProofValue string
ClaimProofVerifiedAt pgtype.Timestamptz
ClaimExpiresAt pgtype.Timestamptz
ProviderZoneID pgtype.Text
ObservedAt pgtype.Timestamptz
ReleaseBlockers []string
CertificateExpiresAt pgtype.Timestamptz
}
type GetIdentityTeamParams ¶
type GetIdentityTeamRow ¶
type GetIngressLeaseParams ¶
type GetIngressLeaseParams struct {
IngressID string
IngressRunID string
IngressLeaseRevision int64
Now pgtype.Timestamptz
}
type GetIngressServingLeaseParams ¶
type GetIngressServingLeaseParams struct {
IngressID string
IngressRunID string
IngressLeaseRevision int64
Now pgtype.Timestamptz
}
type GetInvitationByIdempotencyRow ¶
type GetInvitationByIdempotencyRow struct {
PersonalAccountException bool
ID string
TeamID string
SlugReservationID string
InitialRole string
InvitedByIdentityID string
IdempotencyKey string
RequestDigest []byte
TokenDigest []byte
NormalizedEmailRestriction pgtype.Text
State string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
AcceptedAt pgtype.Timestamptz
AcceptedByIdentityID pgtype.Text
AcceptedMembershipID pgtype.Text
RevokedAt pgtype.Timestamptz
RevokedByIdentityID pgtype.Text
MemberSlug string
}
type GetLocalProjectServiceRow ¶
type GetLocalProjectServiceRow struct {
SourceFingerprint string
ControlService ControlService
}
type GetPreviewRow ¶
type GetPrivateDNSChallengeContextRow ¶
type GetPrivateDNSChallengeContextRow struct {
ServiceID string
TeamID pgtype.Text
DomainID pgtype.Text
DnsAuthorityReference pgtype.Text
CertificateIdentifiers []string
CanonicalDomain string
AuthorizationID string
Identifier string
ChallengeDigest []byte
PresentationReference pgtype.Text
State string
}
type GetPublisherGrantParams ¶
type GetPublisherKeyParams ¶
type GetRelayLeaseForClaimRow ¶
type GetRelayLeaseForClaimRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type GetRelayLeaseForReadyRow ¶
type GetRelayLeaseForReadyRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type GetServiceSourceRow ¶
type GetTeamActorContextRow ¶
type GetTeamMembershipContextRow ¶
type GetTeamMembershipContextRow struct {
IdentityConnectionID pgtype.Text
ManualSuspendedAt pgtype.Timestamptz
PersonalAccountException bool
CompanySignInRequired bool
Active bool
ID string
TeamID string
IdentityID string
TeamDisplayName string
TeamKind string
Role string
MemberSlug string
ManagedLabel string
PolicyRevision int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type GetTeamNamingRow ¶
type GuestOwnsServiceParams ¶
type GuestRunAllowanceSpentParams ¶
type GuestRunAllowanceSpentParams struct {
Now pgtype.Timestamptz
ServiceRunID pgtype.Text
}
type GuestServiceServingDeadlineParams ¶
type GuestServiceServingDeadlineParams struct {
Now pgtype.Timestamptz
ServiceID string
}
type InsertCompanySessionContextParams ¶
type InsertCompanySessionContextParams struct {
SessionID string
TeamID string
ConnectionID string
ConnectionRevision int64
Subject string
AuthenticatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type InsertConnectorPeerPairParams ¶
type InsertConnectorPeerPairParams struct {
ID string
ServiceID string
ServiceRunID string
RunNumber int64
PublisherIdentityID string
SubjectKind string
SubjectID string
ParentControlSessionID pgtype.Text
OwnerKey string
IdempotencyKey string
OwnerPublicKey []byte
RequestDigest []byte
KeyDigest []byte
KeyCiphertext []byte
DeliveryID []byte
StorageKeyID string
Slots []byte
Now pgtype.Timestamptz
RequestAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type InsertDeviceLoginParams ¶
type InsertGuestTrialParams ¶
type InsertGuestTrialParams struct {
ID string
CredentialID pgtype.Text
CredentialHash []byte
NamespaceLabel string
DomainID string
IngressPoolID string
DnsAuthorityReference string
SourceIpDigest pgtype.Text
SourceIpKeyID pgtype.Text
IssuanceIpDigest pgtype.Text
ExpiresAt pgtype.Timestamptz
CreatedAt pgtype.Timestamptz
}
type InsertPublisherAccessParams ¶
type InsertPublisherAccessParams struct {
AccessTokenDigest []byte
PublisherIdentityID string
GrantID string
KeyID string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
}
type InsertPublisherEnrollmentParams ¶
type InsertPublisherEnrollmentParams struct {
ID string
EnrollmentKeyDigest []byte
TeamID string
Name string
IdentityKind string
GrantKind string
ServiceID pgtype.Text
DomainID pgtype.Text
Namespace pgtype.Text
MembershipID pgtype.Text
NamespaceScope pgtype.Text
Protocols []string
CreatedByIdentityID string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
Ownership string
OwnerMembershipID pgtype.Text
}
type InsertPublisherGrantParams ¶
type InsertPublisherGrantParams struct {
ID string
CreatedByIdentityID pgtype.Text
Kind string
ServiceID pgtype.Text
DomainID pgtype.Text
Namespace pgtype.Text
MembershipID pgtype.Text
NamespaceScope pgtype.Text
Protocols []string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
PublisherIdentityID string
}
type InsertServiceAuditEventsParams ¶
type InsertServiceAuditEventsParams struct {
ReceivedAt pgtype.Timestamptz
Ids []string
Teams []string
Services []string
Kinds []string
Times []pgtype.Timestamptz
Actors []string
Devices []string
Publishers []string
Runs []string
Visitors []string
Sources []string
Outcomes []string
Reasons []string
Revisions []int64
TeamID pgtype.Text
GuestID pgtype.Text
}
type InsertServiceConnectionSlotParams ¶
type InsertServiceConnectionSlotParams struct {
PublisherConnectionID string
ServiceRunID string
ServiceID string
RunNumber int64
ConnectionSlot int16
ConnectionAssignmentRevision int64
RelayServiceID string
RelayAddress string
TlsServerName string
CredentialDigest []byte
CredentialExpiresAt pgtype.Timestamptz
AssignedAt pgtype.Timestamptz
}
type InsertServiceParams ¶
type InsertShareCookieParams ¶
type InsertShareCookieParams struct {
}
type InsertShareHandoffParams ¶
type InsertShareHandoffParams struct {
}
type LimitConnectorPeerPairParams ¶
type LimitConnectorPeerPairParams struct {
AuthorityExpiresAt pgtype.Timestamptz
ID string
Now pgtype.Timestamptz
}
type LimitConnectorPeerPendingForClaimParams ¶
type LimitConnectorPeerPendingForClaimParams struct {
ConfirmedUntil pgtype.Timestamptz
PairID string
}
type LimitConnectorPeerPreparedForClaimParams ¶
type LimitConnectorPeerPreparedForClaimParams struct {
ConfirmedUntil pgtype.Timestamptz
PairID string
}
type LimitGuestServiceRunExpiryParams ¶
type LimitGuestServiceRunExpiryParams struct {
Deadline pgtype.Timestamptz
ServiceRunID string
}
type ListAdminRelayLeasesParams ¶
type ListAdminRelayLeasesParams struct {
Now pgtype.Timestamptz
Cursor pgtype.Text
PageLimit int32
}
type ListAdminRelayLeasesRow ¶
type ListAdminRelayLeasesRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type ListAvailableServicesRow ¶
type ListAvailableServicesRow struct {
ID string
TeamID pgtype.Text
TeamName string
Name string
CreatedAt pgtype.Timestamptz
Protocol string
PublisherPool bool
TrustRevision int64
RequirePostQuantum bool
CertificateHostname string
ServicePort pgtype.Int4
Public bool
ServiceRunID pgtype.Text
RunNumber pgtype.Int8
VisitorAccess string
}
type ListConnectorPeerPairCandidatesRow ¶
type ListConnectorPeerPairCandidatesRow struct {
ID string
DeliveryGeneration int64
OwnerRevision int64
RetiredAt pgtype.Timestamptz
RetainedUntil pgtype.Timestamptz
}
type ListDeploymentPublisherStatusParams ¶
type ListDeploymentPublisherStatusParams struct {
Now pgtype.Timestamptz
TeamID string
ProjectKey string
}
type ListDeploymentServiceConfigurationsRow ¶
type ListDeploymentServiceConfigurationsRow struct {
ServiceID pgtype.Text
Service string
ControlDeployment ControlDeployment
}
type ListDeploymentsParams ¶
type ListDiscoverablePreviewsRow ¶
type ListDiscoverablePreviewsRow struct {
ID string
CreatedAt pgtype.Timestamptz
}
type ListDiscoverableProjectsRow ¶
type ListDiscoverableProjectsRow struct {
ProjectKey string
ProjectLabel string
Revision int64
UpdatedAt pgtype.Timestamptz
}
type ListIdentityMembershipContextsRow ¶
type ListIdentityMembershipContextsRow struct {
IdentityConnectionID pgtype.Text
ManualSuspendedAt pgtype.Timestamptz
PersonalAccountException bool
CompanySignInRequired bool
Active bool
ID string
TeamID string
IdentityID string
TeamDisplayName string
TeamManagedLabel string
TeamKind string
Role string
MemberSlug string
ManagedLabel string
PolicyRevision int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ListIdentityTeamDomainsRow ¶
type ListIdentityTeamDomainsRow struct {
ID string
Kind string
TeamID pgtype.Text
CanonicalDomain string
DnsAuthorityReference pgtype.Text
State string
AuthorityRevision int64
Nameservers []string
ClaimProofName string
ClaimProofValue string
ClaimProofVerifiedAt pgtype.Timestamptz
ClaimExpiresAt pgtype.Timestamptz
ProviderZoneID pgtype.Text
CreatedAt pgtype.Timestamptz
VerifiedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ListIdentityTeamsRow ¶
type ListIngressServiceRelaysParams ¶
type ListIngressServiceRelaysParams struct {
ServiceRunIds []string
Now pgtype.Timestamptz
}
type ListIngressServiceRelaysRow ¶
type ListIngressServiceRelaysRow struct {
ServiceRunID string
PublisherConnectionID string
ConnectionSlot int16
ConnectionAssignmentRevision int64
RelayServiceID string
RelayID string
RelayRunID string
RelayLeaseRevision int64
InternalRelayAddress string
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
TlsServerName string
}
type ListIngressServiceRunsParams ¶
type ListIngressServiceRunsParams struct {
Now pgtype.Timestamptz
RunIds []string
}
type ListIngressServiceRunsRow ¶
type ListIngressServiceRunsRow struct {
ServiceID string
RunID string
RunNumber int64
Protocol string
CertificateHostname string
ServicePort pgtype.Int4
EndpointRevision int64
TrafficLimits []byte
VisitorPolicyRevision int64
PermissionUntil pgtype.Timestamptz
RecheckAt pgtype.Timestamptz
Buckets []int32
AliasHostname string
AliasDnsUntil pgtype.Timestamptz
}
type ListLiveIngressRunsParams ¶
type ListLiveIngressRunsParams struct {
IngressPoolID string
Now pgtype.Timestamptz
}
type ListLiveIngressRunsRow ¶
type ListProjectPublicationsRow ¶
type ListProjectPublicationsRow struct {
Service string
Deployment string
WorktreeKey string
ServiceID pgtype.Text
Hostname string
Port int32
Enabled bool
Public bool
DnsState string
RunID string
RunNumber int64
PublicationState string
PublisherExpiresAt pgtype.Timestamptz
CertificateExpiresAt pgtype.Timestamptz
Healthy bool
ReadyAt pgtype.Timestamptz
CursorKey string
}
type ListReadyShareServicesParams ¶
type ListReadyShareServicesParams struct {
}
type ListReadyShareServicesRow ¶
type ListReadyShareServicesRow struct {
}
type ListServiceAuditEventsParams ¶
type ListServiceAuditEventsParams struct {
TeamID pgtype.Text
AfterCursor int64
RetainedAfter pgtype.Timestamptz
Since pgtype.Timestamptz
ServiceID pgtype.Text
PageLimit int32
}
type ListServiceConnectionSlotsNeedingReplacementParams ¶
type ListServiceConnectionSlotsNeedingReplacementParams struct {
ServiceRunID string
Now pgtype.Timestamptz
}
type ListServiceConnectionSlotsNeedingReplacementRow ¶
type ListServiceConnectionSlotsNeedingReplacementRow struct {
ServiceRunID string
ServiceID string
RunNumber int64
ConnectionSlot int16
PublisherConnectionID string
ConnectionAssignmentRevision int64
RelayServiceID string
RelayAddress string
TlsServerName string
CredentialDigest []byte
CredentialExpiresAt pgtype.Timestamptz
RelayID pgtype.Text
RelayRunID pgtype.Text
RelayLeaseRevision pgtype.Int8
State string
AssignedAt pgtype.Timestamptz
SessionOpen bool
Unexpected bool
}
type ListServiceGrantsParams ¶
type ListServiceHTTPGrantsRow ¶
type ListServiceHTTPGrantsRow struct {
ID string
Kind string
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
}
type ListSharesParams ¶
type ListSharesParams struct {
}
type ListTeamInvitationsRow ¶
type ListTeamInvitationsRow struct {
PersonalAccountException bool
ID string
TeamID string
SlugReservationID string
InitialRole string
InvitedByIdentityID string
IdempotencyKey string
RequestDigest []byte
TokenDigest []byte
NormalizedEmailRestriction pgtype.Text
State string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
AcceptedAt pgtype.Timestamptz
AcceptedByIdentityID pgtype.Text
AcceptedMembershipID pgtype.Text
RevokedAt pgtype.Timestamptz
RevokedByIdentityID pgtype.Text
MemberSlug string
}
type ListTeamMembershipContextsRow ¶
type ListTeamMembershipContextsRow struct {
IdentityConnectionID pgtype.Text
ManualSuspendedAt pgtype.Timestamptz
PersonalAccountException bool
CompanySignInRequired bool
Active bool
ID string
TeamID string
IdentityID string
TeamDisplayName string
TeamKind string
Role string
MemberSlug string
ManagedLabel string
PolicyRevision int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
}
type ListTeamSharesParams ¶
type ListTeamSharesParams struct {
}
type LockDeploymentParams ¶
type LockEligibleRelayLeasesParams ¶
type LockEligibleRelayLeasesParams struct {
Now pgtype.Timestamptz
RelayServiceIds []string
ProtocolVersion int64
}
type LockEligibleRelayLeasesRow ¶
type LockEligibleRelayLeasesRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type LockIngressLeaseParams ¶
type LockIngressLeaseParams struct {
IngressID string
IngressRunID string
IngressLeaseRevision int64
Now pgtype.Timestamptz
}
type LockInvitationByTokenDigestRow ¶
type LockInvitationByTokenDigestRow struct {
PersonalAccountException bool
ID string
TeamID string
SlugReservationID string
InitialRole string
InvitedByIdentityID string
IdempotencyKey string
RequestDigest []byte
TokenDigest []byte
NormalizedEmailRestriction pgtype.Text
State string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
AcceptedAt pgtype.Timestamptz
AcceptedByIdentityID pgtype.Text
AcceptedMembershipID pgtype.Text
RevokedAt pgtype.Timestamptz
RevokedByIdentityID pgtype.Text
MemberSlug string
TeamKind string
TeamDisplayName string
AcceptingNormalizedEmail pgtype.Text
AcceptingEmailVerified bool
}
type LockPendingServiceInvitationParams ¶
type LockPendingServiceInvitationParams struct {
ID string
ServiceID string
Now pgtype.Timestamptz
}
type LockServiceRunParams ¶
type LockTeamActorContextRow ¶
type LockTeamDomainParams ¶
type LockTeamDomainRow ¶
type LockTeamDomainRow struct {
ID string
Kind string
TeamID pgtype.Text
CanonicalDomain string
DnsAuthorityReference pgtype.Text
State string
AuthorityRevision int64
VerificationTokenDigest []byte
CreatedByIdentityID pgtype.Text
ClaimIdempotencyKey pgtype.Text
ClaimRequestDigest []byte
MakeDefaultWhenReady bool
CreatedAt pgtype.Timestamptz
VerifiedAt pgtype.Timestamptz
ReusableAfter pgtype.Timestamptz
ReleasedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
Nameservers []string
}
type LockTeamInvitationRow ¶
type LockTeamInvitationRow struct {
PersonalAccountException bool
ID string
TeamID string
SlugReservationID string
InitialRole string
InvitedByIdentityID string
IdempotencyKey string
RequestDigest []byte
TokenDigest []byte
NormalizedEmailRestriction pgtype.Text
State string
CreatedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
AcceptedAt pgtype.Timestamptz
AcceptedByIdentityID pgtype.Text
AcceptedMembershipID pgtype.Text
RevokedAt pgtype.Timestamptz
RevokedByIdentityID pgtype.Text
MemberSlug string
}
type LockTeamMembershipRow ¶
type LockTeamMembershipRow struct {
ID string
TeamID string
IdentityID string
SlugReservationID string
ManagedLabel string
Role string
AuthorityRevision int64
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
RemovedAt pgtype.Timestamptz
RemovedByIdentityID pgtype.Text
IdentityConnectionID pgtype.Text
ManualSuspendedAt pgtype.Timestamptz
PersonalAccountException bool
MemberSlug string
}
type MarkACMEOrderInstalledParams ¶
type MarkACMEOrderInstalledParams struct {
InstalledAt pgtype.Timestamptz
IssuanceID string
}
type MarkDNSAuthorityReleasingParams ¶
type MarkDNSAuthorityReleasingParams struct {
UpdatedAt pgtype.Timestamptz
AuthorityReference string
}
type MarkGuestRunReadyParams ¶
type MarkGuestRunReadyParams struct {
ReadyAt pgtype.Timestamptz
ServiceRunID pgtype.Text
}
type MarkSupersededRelayRunSigningKeysParams ¶
type MarkSupersededRelayRunSigningKeysParams struct {
RelayRunID string
SupersededAt pgtype.Timestamptz
RelayID string
}
type ObserveDeploymentParams ¶
type ObserveServiceRecoveryEpisodeParams ¶
type ObserveServiceRecoveryEpisodeParams struct {
ObservedAt pgtype.Timestamptz
ObservedSeconds pgtype.Float8
RecoveryEpisodeID int64
}
type ObserveServiceRunParams ¶
type OpenServiceRecoveryEpisodeParams ¶
type OpenServiceRecoveryEpisodeParams struct {
ServiceID string
ServiceRunID string
RunNumber int64
OpenedAt pgtype.Timestamptz
}
type PrepareServiceRunParams ¶
type PrepareServiceRunParams struct {
PreferredRegions []string
TrafficLimits []byte
ID string
ServiceID string
TeamID pgtype.Text
RunNumber int64
PublisherIdentityID string
PublisherGrantID string
PublisherKeyID string
IdempotencyKey string
RequestDigest []byte
PreparationExpiresAt pgtype.Timestamptz
AssignmentSeedCiphertext []byte
AssignmentSeedStorageKeyID string
CertificateCacheKey string
CertificateScope string
CertificateIdentifiers []string
CertificateDomainID pgtype.Text
CertificateHostname string
RunHostname string
RunAliasParent string
RequirePostQuantum bool
Now pgtype.Timestamptz
PublisherExpiresAt pgtype.Timestamptz
}
type PreviewInvitationParams ¶
type PreviewInvitationRow ¶
type PrunePublisherAccessParams ¶
type PrunePublisherAccessParams struct {
PublisherIdentityID string
Now pgtype.Timestamptz
}
type PrunePublisherAssertionsParams ¶
type PrunePublisherAssertionsParams struct {
PublisherIdentityID string
Now pgtype.Timestamptz
}
type PublisherRuntimeActiveParams ¶
type PublisherRuntimeActiveParams struct {
PublisherIdentityID string
ProcessRunID string
Epoch int64
Now pgtype.Timestamptz
}
type PublisherScopeAvailableParams ¶
type PublisherScopeAvailableParams struct {
PublisherIdentityID string
GrantID string
Now pgtype.Timestamptz
}
type QuarantineMemberSlugParams ¶
type QuarantineMemberSlugParams struct {
QuarantinedAt pgtype.Timestamptz
SlugReservationID string
}
type Querier ¶
type Querier interface {
AbortConnectorPeerRebind(ctx context.Context, arg AbortConnectorPeerRebindParams) (int64, error)
// verified_actor_email comes only from the consumed configured-issuer assertion;
// control sessions retain their stored verified email check.
AcceptServiceInvitation(ctx context.Context, arg AcceptServiceInvitationParams) (ControlServiceInvitation, error)
AcceptTeamInvitation(ctx context.Context, arg AcceptTeamInvitationParams) (int64, error)
AcknowledgeDeploymentPublisherConfiguration(ctx context.Context, arg AcknowledgeDeploymentPublisherConfigurationParams) error
ActivateConnectorPeerBinding(ctx context.Context, arg ActivateConnectorPeerBindingParams) (int64, error)
ActivateMemberSlug(ctx context.Context, arg ActivateMemberSlugParams) (int64, error)
ActiveCompanyMembership(ctx context.Context, arg ActiveCompanyMembershipParams) (bool, error)
ActiveTeamSubject(ctx context.Context, arg ActiveTeamSubjectParams) (bool, error)
AddPreviewService(ctx context.Context, arg AddPreviewServiceParams) (string, error)
AddServiceRunPreviewService(ctx context.Context, arg AddServiceRunPreviewServiceParams) error
AdvanceGuestDemoNumber(ctx context.Context, arg AdvanceGuestDemoNumberParams) (int64, error)
AdvanceServiceRunNumber(ctx context.Context, arg AdvanceServiceRunNumberParams) (int64, error)
AdvanceTeamPolicyRevision(ctx context.Context, arg AdvanceTeamPolicyRevisionParams) (int64, error)
BeginAdminRelayDrain(ctx context.Context, arg BeginAdminRelayDrainParams) (BeginAdminRelayDrainRow, error)
BeginGuestServiceRun(ctx context.Context, arg BeginGuestServiceRunParams) (int64, error)
BeginIngressDrain(ctx context.Context, arg BeginIngressDrainParams) (ControlIngressLease, error)
BeginRelayDrain(ctx context.Context, arg BeginRelayDrainParams) (BeginRelayDrainRow, error)
BindInitialOIDCMembership(ctx context.Context, arg BindInitialOIDCMembershipParams) error
// run only after RegisterRelay succeeds, inside the same transaction. on a
// mismatched historical key the caller rolls back the lease replacement too.
BindRelayRunSigningKey(ctx context.Context, arg BindRelayRunSigningKeyParams) (int64, error)
CancelOpenServiceRecoveryEpisode(ctx context.Context, arg CancelOpenServiceRecoveryEpisodeParams) error
ClaimACMEOrderWork(ctx context.Context, arg ClaimACMEOrderWorkParams) (ControlAcmeOrder, error)
ClaimDNSAuthorityWork(ctx context.Context, arg ClaimDNSAuthorityWorkParams) (ControlDnsAuthority, error)
ClaimInvitationEmail(ctx context.Context, arg ClaimInvitationEmailParams) (ControlTeamInvitationEmailDelivery, error)
ClaimPublisherAssertion(ctx context.Context, arg ClaimPublisherAssertionParams) (int64, error)
ClaimRelayCertificateOrderWork(ctx context.Context, arg ClaimRelayCertificateOrderWorkParams) (ControlRelayCertificateOrder, error)
ClaimRelayServiceForCertificateOrder(ctx context.Context, arg ClaimRelayServiceForCertificateOrderParams) (ControlRelayService, error)
ClaimServiceConnectionSlot(ctx context.Context, arg ClaimServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
ClaimServiceEndpointDNSWork(ctx context.Context, arg ClaimServiceEndpointDNSWorkParams) (ControlServiceEndpoint, error)
CleanupExpiredConnectorPeerPairs(ctx context.Context, arg CleanupExpiredConnectorPeerPairsParams) (int64, error)
CleanupServiceAuditEvents(ctx context.Context, arg CleanupServiceAuditEventsParams) (int64, error)
// lock the lease before key rows, as registration does. skip a relay being
// registered: deleting its old binding before its key check would allow a
// different key on a returning run. never delete the current run's key.
CleanupSupersededRelayRunSigningKeys(ctx context.Context, arg CleanupSupersededRelayRunSigningKeysParams) (int64, error)
CleanupVisitorHandoffs(ctx context.Context, now pgtype.Timestamptz) error
CleanupVisitorLogins(ctx context.Context, now pgtype.Timestamptz) error
CleanupVisitorSessions(ctx context.Context, now pgtype.Timestamptz) error
CleanupWorkloadAssertions(ctx context.Context, arg CleanupWorkloadAssertionsParams) (int64, error)
CleanupWorkloadAudit(ctx context.Context, arg CleanupWorkloadAuditParams) (int64, error)
CleanupWorkloadCertificates(ctx context.Context, arg CleanupWorkloadCertificatesParams) (int64, error)
// each phase has its own budget so a busy leaf cannot starve its parents.
// select only unreferenced candidates before LIMIT; never cascade subject state.
CleanupWorkloadPublicServiceVisitors(ctx context.Context, arg CleanupWorkloadPublicServiceVisitorsParams) (int64, error)
// keep the exact service snapshot until all other session references are gone.
CleanupWorkloadServiceRights(ctx context.Context, arg CleanupWorkloadServiceRightsParams) (int64, error)
CleanupWorkloadSessions(ctx context.Context, arg CleanupWorkloadSessionsParams) (int64, error)
CloseServiceRun(ctx context.Context, arg CloseServiceRunParams) (int64, error)
// only an exact stored terminal tuple proves a finite traffic budget can retire.
ClosedServiceRuns(ctx context.Context, runIds []string) ([]ClosedServiceRunsRow, error)
CompanySessionAuthorized(ctx context.Context, arg CompanySessionAuthorizedParams) (bool, error)
CompanySessionRefreshValid(ctx context.Context, arg CompanySessionRefreshValidParams) (pgtype.Bool, error)
CompanySubjectDeadline(ctx context.Context, arg CompanySubjectDeadlineParams) (pgtype.Timestamptz, error)
CompanySubjectSessionAuthorized(ctx context.Context, arg CompanySubjectSessionAuthorizedParams) (bool, error)
// only a checked publisher report can advance this startup barrier. a retry
// retains a newer report, capped by the currently checked delivery authority.
ConfirmConnectorPeerPairPrepared(ctx context.Context, arg ConfirmConnectorPeerPairPreparedParams) (int64, error)
ConfirmConnectorPeerPendingPrepared(ctx context.Context, arg ConfirmConnectorPeerPendingPreparedParams) (int64, error)
ConsumeAuthenticationSeed(ctx context.Context, arg ConsumeAuthenticationSeedParams) (int64, error)
ConsumeCompanyLoginIntent(ctx context.Context, arg ConsumeCompanyLoginIntentParams) (int64, error)
ConsumeOIDCAssertion(ctx context.Context, arg ConsumeOIDCAssertionParams) (int64, error)
ConsumeServiceHTTPBrowserLogin(ctx context.Context, arg ConsumeServiceHTTPBrowserLoginParams) (ControlServiceHttpBrowserLogin, error)
CopyCompanySessionContexts(ctx context.Context, arg CopyCompanySessionContextsParams) error
CountConnectorPeerPairOwners(ctx context.Context, arg CountConnectorPeerPairOwnersParams) (int64, error)
CountGuestCurrentServices(ctx context.Context, guestID pgtype.Text) (int64, error)
// diagnostic/test oracle only; joins the parent to check slot eligibility.
CountOpenServiceRunAssignmentsByRelayService(ctx context.Context) ([]CountOpenServiceRunAssignmentsByRelayServiceRow, error)
CountRecentGuestTrialsByIP(ctx context.Context, arg CountRecentGuestTrialsByIPParams) (int64, error)
CountRelayActiveConnections(ctx context.Context, arg CountRelayActiveConnectionsParams) (int64, error)
CountTeamOwners(ctx context.Context, teamID string) (int64, error)
CreateActiveSlugReservation(ctx context.Context, arg CreateActiveSlugReservationParams) error
CreateControlSession(ctx context.Context, arg CreateControlSessionParams) error
CreateCustomDNSAuthority(ctx context.Context, arg CreateCustomDNSAuthorityParams) error
CreateCustomDomain(ctx context.Context, arg CreateCustomDomainParams) (ControlDomain, error)
// caller holds the trial and exact service and verifies the trial credential
// and observed source. publication permission alone never authorizes sharing.
CreateInvitationEmail(ctx context.Context, arg CreateInvitationEmailParams) error
CreateManagedDomain(ctx context.Context, arg CreateManagedDomainParams) error
CreateOIDCIdentity(ctx context.Context, arg CreateOIDCIdentityParams) (ControlIdentity, error)
CreateOrganizationTeam(ctx context.Context, arg CreateOrganizationTeamParams) (CreateOrganizationTeamRow, error)
CreateOwnerMembership(ctx context.Context, arg CreateOwnerMembershipParams) error
CreatePersonalTeam(ctx context.Context, arg CreatePersonalTeamParams) error
CreatePreview(ctx context.Context, arg CreatePreviewParams) (CreatePreviewRow, error)
CreateSeedMember(ctx context.Context, arg CreateSeedMemberParams) error
CreateServiceIPKey(ctx context.Context, arg CreateServiceIPKeyParams) error
CreateServiceRunPreview(ctx context.Context, arg CreateServiceRunPreviewParams) (ControlPreview, error)
CreateTeamInvitation(ctx context.Context, arg CreateTeamInvitationParams) (ControlTeamInvitation, error)
CreateTeamMembership(ctx context.Context, arg CreateTeamMembershipParams) error
CreateVisitorTokenSigningKey(ctx context.Context, arg CreateVisitorTokenSigningKeyParams) (ControlVisitorTokenKey, error)
DNSAuthorityReleaseReady(ctx context.Context, arg DNSAuthorityReleaseReadyParams) (pgtype.Bool, error)
DeleteConnectorPeerPairLegClaims(ctx context.Context, pairID string) (int64, error)
DeleteConnectorPeerPendingBinding(ctx context.Context, pairID string) (int64, error)
DeleteExpiredDeviceLogins(ctx context.Context, now pgtype.Timestamptz) error
DeleteExpiredOIDCAssertionExchanges(ctx context.Context, now pgtype.Timestamptz) error
DeleteExpiredVisitorTokenSigningKeys(ctx context.Context, now pgtype.Timestamptz) error
// caller closes all current runs and publishes a tombstone under this service
// lock in the same transaction.
DeleteService(ctx context.Context, arg DeleteServiceParams) (ControlService, error)
DeleteServiceConnectionSlot(ctx context.Context, arg DeleteServiceConnectionSlotParams) (int64, error)
DemoteServiceRun(ctx context.Context, arg DemoteServiceRunParams) (int64, error)
DeploymentManagementPublisherAllowed(ctx context.Context, arg DeploymentManagementPublisherAllowedParams) (bool, error)
DeploymentPublisherServiceAllowed(ctx context.Context, arg DeploymentPublisherServiceAllowedParams) (bool, error)
DiscardInactiveInvitationEmails(ctx context.Context, now pgtype.Timestamptz) error
DisconnectServiceConnectionSlot(ctx context.Context, arg DisconnectServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
EnableIngressPool(ctx context.Context, arg EnableIngressPoolParams) (ControlIngressPool, error)
EnsureACMEAccount(ctx context.Context, arg EnsureACMEAccountParams) (ControlAcmeAccount, error)
EnsureVisitorTokenIssuer(ctx context.Context, issuer string) error
ExpireConnectorPeerRebind(ctx context.Context, pairID string) (int64, error)
ExpireServiceConnectionSlot(ctx context.Context, arg ExpireServiceConnectionSlotParams) (int64, error)
ExpireTeamInvitations(ctx context.Context, arg ExpireTeamInvitationsParams) ([]string, error)
FeedbackRunScope(ctx context.Context, arg FeedbackRunScopeParams) (FeedbackRunScopeRow, error)
FeedbackServiceScope(ctx context.Context, arg FeedbackServiceScopeParams) (FeedbackServiceScopeRow, error)
FenceIngressRun(ctx context.Context, arg FenceIngressRunParams) (int64, error)
FindDeploymentManagementRequest(ctx context.Context, arg FindDeploymentManagementRequestParams) (FindDeploymentManagementRequestRow, error)
FindDeploymentPublisherEnrollmentRequest(ctx context.Context, arg FindDeploymentPublisherEnrollmentRequestParams) (ControlDeploymentPublisherEnrollment, error)
// terminal allocations remain discoverable so a retry cannot recreate them.
FindGuestServiceAllocation(ctx context.Context, arg FindGuestServiceAllocationParams) (ControlService, error)
FindInvitationTeamByTokenDigest(ctx context.Context, tokenDigest []byte) (string, error)
FindManagedDomain(ctx context.Context) (ControlDomain, error)
FindOIDCIdentity(ctx context.Context, arg FindOIDCIdentityParams) (ControlIdentity, error)
FindPublisherAllocation(ctx context.Context, arg FindPublisherAllocationParams) (ControlPublisherNamespaceAllocation, error)
FindSeedTeam(ctx context.Context, displayName string) (ControlTeam, error)
// the caller rechecks current management before recovering metadata, never secrets.
FindServiceInvitationRequest(ctx context.Context, arg FindServiceInvitationRequestParams) (ControlServiceInvitation, error)
FinishGuestServiceRun(ctx context.Context, arg FinishGuestServiceRunParams) (int64, error)
FinishInvitationEmail(ctx context.Context, arg FinishInvitationEmailParams) (int64, error)
ForgetExpiredGuestCredentials(ctx context.Context, arg ForgetExpiredGuestCredentialsParams) (int64, error)
// terminal allocation keys/digests remain; targets and declarations do not.
ForgetExpiredGuestServiceConfigurations(ctx context.Context, arg ForgetExpiredGuestServiceConfigurationsParams) (int64, error)
ForgetOldGuestIssuanceDigests(ctx context.Context, arg ForgetOldGuestIssuanceDigestsParams) (int64, error)
GetACMEAccountByDirectory(ctx context.Context, directoryUrl string) (ControlAcmeAccount, error)
GetACMEOrder(ctx context.Context, issuanceID string) (ControlAcmeOrder, error)
GetAdminRuntimeCounts(ctx context.Context, now pgtype.Timestamptz) (GetAdminRuntimeCountsRow, error)
GetAppliedProject(ctx context.Context, arg GetAppliedProjectParams) (ControlAppliedProject, error)
GetCompanyAuthenticationDeadline(ctx context.Context, sessionID string) (pgtype.Timestamptz, error)
GetCompanyEligibility(ctx context.Context, arg GetCompanyEligibilityParams) (ControlCompanyEligibility, error)
GetConnectorPeerPairForOwner(ctx context.Context, arg GetConnectorPeerPairForOwnerParams) (ControlConnectorPeerPair, error)
GetConnectorPeerPendingBinding(ctx context.Context, pairID string) (ControlConnectorPeerPendingBinding, error)
GetControlSessionByAccessID(ctx context.Context, accessTokenID string) (GetControlSessionByAccessIDRow, error)
GetCurrentIdentityConnection(ctx context.Context, teamID string) (ControlIdentityConnection, error)
GetCustomDomainByIdempotency(ctx context.Context, arg GetCustomDomainByIdempotencyParams) (GetCustomDomainByIdempotencyRow, error)
GetDNSAuthority(ctx context.Context, authorityReference string) (ControlDnsAuthority, error)
GetDNSChallengeChange(ctx context.Context, arg GetDNSChallengeChangeParams) (GetDNSChallengeChangeRow, error)
GetDNSChallengeSubject(ctx context.Context, arg GetDNSChallengeSubjectParams) (GetDNSChallengeSubjectRow, error)
GetDeploymentManagementGrant(ctx context.Context, grantID string) (ControlDeploymentManagementGrant, error)
GetDeploymentPublisherStatus(ctx context.Context, arg GetDeploymentPublisherStatusParams) (GetDeploymentPublisherStatusRow, error)
GetDeploymentServiceConfiguration(ctx context.Context, serviceID pgtype.Text) (GetDeploymentServiceConfigurationRow, error)
GetFeedbackService(ctx context.Context, id string) (ControlService, error)
GetGuestTrialByCredentialID(ctx context.Context, credentialID pgtype.Text) (ControlGuestTrial, error)
GetGuestTrialByID(ctx context.Context, id string) (ControlGuestTrial, error)
GetIdentityContextIdentity(ctx context.Context, identityID string) (GetIdentityContextIdentityRow, error)
GetIdentityTeam(ctx context.Context, arg GetIdentityTeamParams) (GetIdentityTeamRow, error)
GetIdentityTeamDomainRelease(ctx context.Context, arg GetIdentityTeamDomainReleaseParams) (GetIdentityTeamDomainReleaseRow, error)
GetIngressLease(ctx context.Context, arg GetIngressLeaseParams) (ControlIngressLease, error)
GetIngressPool(ctx context.Context, id string) (ControlIngressPool, error)
GetIngressServingLease(ctx context.Context, arg GetIngressServingLeaseParams) (ControlIngressLease, error)
GetInvitationByIdempotency(ctx context.Context, arg GetInvitationByIdempotencyParams) (GetInvitationByIdempotencyRow, error)
GetLocalProjectService(ctx context.Context, arg GetLocalProjectServiceParams) (GetLocalProjectServiceRow, error)
GetManagedCertificateDomainKind(ctx context.Context, domainID string) (string, error)
GetOpenServiceRecoveryEpisode(ctx context.Context, serviceRunID string) (ControlServiceRecoveryEpisode, error)
GetOrganizationTeamByIdempotency(ctx context.Context, arg GetOrganizationTeamByIdempotencyParams) (GetOrganizationTeamByIdempotencyRow, error)
GetPreview(ctx context.Context, id string) (GetPreviewRow, error)
GetPrivateDNSChallengeContext(ctx context.Context, arg GetPrivateDNSChallengeContextParams) (GetPrivateDNSChallengeContextRow, error)
GetPublisherAccess(ctx context.Context, accessTokenDigest []byte) (ControlPublisherAccessToken, error)
GetPublisherAllocation(ctx context.Context, serviceID string) (ControlPublisherNamespaceAllocation, error)
// publisher checks may already hold a service lock. never acquire a domain lock
// afterward: authority mutations hold team -> domain -> service. a snapshot read
// permits the heartbeat to commit before a waiting release closes its run.
GetPublisherDomain(ctx context.Context, arg GetPublisherDomainParams) (ControlDomain, error)
GetPublisherGrant(ctx context.Context, arg GetPublisherGrantParams) (ControlPublisherGrant, error)
GetPublisherKey(ctx context.Context, arg GetPublisherKeyParams) (ControlPublisherIdentityKey, error)
GetPublisherRuntime(ctx context.Context, publisherIdentityID string) (ControlPublisherRuntime, error)
GetRelayDNSChallengeContext(ctx context.Context, orderID string) (GetRelayDNSChallengeContextRow, error)
// claims and readiness share the relay-service guard across processes.
// claims take NO KEY UPDATE on the selected lease to serialize capacity with
// other claims, renewal, and drain. readiness takes compatible KEY SHARE
// because it uses an existing reservation. service guards precede lease rows.
GetRelayLeaseForClaim(ctx context.Context, relayID string) (GetRelayLeaseForClaimRow, error)
// keep the service guard through routing publication so registration cannot
// replace the relay process between readiness and the published projection.
// KEY SHARE does not block claims or other readiness work. renewal or drain may
// overlap; readiness checks its lease, and projection reads exclude drained leases.
GetRelayLeaseForReady(ctx context.Context, relayID string) (GetRelayLeaseForReadyRow, error)
GetRelayTransportCertificate(ctx context.Context, arg GetRelayTransportCertificateParams) (ControlRelayService, error)
GetService(ctx context.Context, id string) (ControlService, error)
GetServiceCertificateOrderByCSR(ctx context.Context, arg GetServiceCertificateOrderByCSRParams) (ControlAcmeOrder, error)
GetServiceCertificateRequest(ctx context.Context, arg GetServiceCertificateRequestParams) (ControlServiceCertificateRequest, error)
// local normalization uses the logical service key, not its generated saved name.
GetServiceConfiguration(ctx context.Context, serviceID string) (GetServiceConfigurationRow, error)
GetServiceCreationRequest(ctx context.Context, arg GetServiceCreationRequestParams) (GetServiceCreationRequestRow, error)
// starting a run requires its exact authenticated publisher, grant and key.
GetServiceRunPublisherIdentity(ctx context.Context, arg GetServiceRunPublisherIdentityParams) ([]byte, error)
GetServiceSource(ctx context.Context, serviceID pgtype.Text) (GetServiceSourceRow, error)
GetTeamActorContext(ctx context.Context, arg GetTeamActorContextParams) (GetTeamActorContextRow, error)
GetTeamMembershipContext(ctx context.Context, arg GetTeamMembershipContextParams) (GetTeamMembershipContextRow, error)
GetTeamNaming(ctx context.Context, teamID string) (GetTeamNamingRow, error)
GetVisitorParentSession(ctx context.Context, id string) (ControlControlSession, error)
GetVisitorPolicyRevision(ctx context.Context, teamID string) (int64, error)
GetWorkloadSession(ctx context.Context, id string) (ControlWorkloadSession, error)
GuestForService(ctx context.Context, serviceID string) (pgtype.Text, error)
GuestNamespaceReserved(ctx context.Context, label string) (bool, error)
GuestOwnsService(ctx context.Context, arg GuestOwnsServiceParams) (bool, error)
GuestRunAllowanceSpent(ctx context.Context, arg GuestRunAllowanceSpentParams) (string, error)
// preparation observations do not grant visitor permission or spend ready time.
GuestServiceServingDeadline(ctx context.Context, arg GuestServiceServingDeadlineParams) (pgtype.Timestamptz, error)
// the exact run token grants negative reads only while an existing window remains.
HasRetainedConnectorPeerPair(ctx context.Context, arg HasRetainedConnectorPeerPairParams) (bool, error)
HasTeamMembershipHistory(ctx context.Context, arg HasTeamMembershipHistoryParams) (bool, error)
HasVisitorPolicyRegisteredKeyCandidates(ctx context.Context, serviceID string) (bool, error)
// a refused upsert retains the lease row lock. distinguish only its expired
// same-run drain from configuration conflicts and another live process.
IngressRegistrationDrainExpired(ctx context.Context, arg IngressRegistrationDrainExpiredParams) (bool, error)
InitializeConnectorPeerSession(ctx context.Context, arg InitializeConnectorPeerSessionParams) (ControlConnectorPeerPair, error)
InsertAdminAuditEvent(ctx context.Context, arg InsertAdminAuditEventParams) error
InsertCertificateIssuanceAuditEvent(ctx context.Context, arg InsertCertificateIssuanceAuditEventParams) error
InsertCompanyAccessAudit(ctx context.Context, arg InsertCompanyAccessAuditParams) error
InsertCompanySessionContext(ctx context.Context, arg InsertCompanySessionContextParams) error
InsertConnectorPeerPair(ctx context.Context, arg InsertConnectorPeerPairParams) (ControlConnectorPeerPair, error)
// the following positive statements replace the operation owners' inline SQL
// after normal generation. storage guards fence those inline writers meanwhile.
InsertConnectorPeerPendingBinding(ctx context.Context, arg InsertConnectorPeerPendingBindingParams) (ControlConnectorPeerPendingBinding, error)
InsertDeviceLogin(ctx context.Context, arg InsertDeviceLoginParams) (int64, error)
InsertGuestTrial(ctx context.Context, arg InsertGuestTrialParams) (ControlGuestTrial, error)
InsertPublisherAccess(ctx context.Context, arg InsertPublisherAccessParams) error
InsertPublisherAllocation(ctx context.Context, arg InsertPublisherAllocationParams) error
InsertPublisherEnrollment(ctx context.Context, arg InsertPublisherEnrollmentParams) (ControlPublisherEnrollment, error)
InsertPublisherGrant(ctx context.Context, arg InsertPublisherGrantParams) (ControlPublisherGrant, error)
InsertPublisherIdentity(ctx context.Context, arg InsertPublisherIdentityParams) (ControlPublisherIdentity, error)
InsertPublisherKey(ctx context.Context, arg InsertPublisherKeyParams) error
InsertRelayCertificateOrder(ctx context.Context, arg InsertRelayCertificateOrderParams) (ControlRelayCertificateOrder, error)
InsertService(ctx context.Context, arg InsertServiceParams) (ControlService, error)
// earlier owners are already locked in order. take the final owner's clock
// before allocating a cursor; the arrays have one element per event.
InsertServiceAuditEvents(ctx context.Context, arg InsertServiceAuditEventsParams) ([]string, error)
InsertServiceCertificateOrder(ctx context.Context, arg InsertServiceCertificateOrderParams) (ControlAcmeOrder, error)
InsertServiceCertificateRequest(ctx context.Context, arg InsertServiceCertificateRequestParams) error
InsertServiceConnectionSlot(ctx context.Context, arg InsertServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
InsertServiceCreationRequest(ctx context.Context, arg InsertServiceCreationRequestParams) error
InsertServiceGrant(ctx context.Context, arg InsertServiceGrantParams) (ControlVisitorGrant, error)
InsertServiceHTTPBrowserHandoff(ctx context.Context, arg InsertServiceHTTPBrowserHandoffParams) error
InsertServiceHTTPBrowserLogin(ctx context.Context, arg InsertServiceHTTPBrowserLoginParams) error
InsertServiceHTTPBrowserSession(ctx context.Context, arg InsertServiceHTTPBrowserSessionParams) error
InsertServiceHTTPGrant(ctx context.Context, arg InsertServiceHTTPGrantParams) error
InsertServiceInvitation(ctx context.Context, arg InsertServiceInvitationParams) (ControlServiceInvitation, error)
InvalidateDeploymentPublisherRuntimeHealth(ctx context.Context, publisherIdentityID string) error
// an uncertain delivery retry may only shorten the existing deadline.
LimitConnectorPeerPair(ctx context.Context, arg LimitConnectorPeerPairParams) (ControlConnectorPeerPair, error)
LimitConnectorPeerPendingForClaim(ctx context.Context, arg LimitConnectorPeerPendingForClaimParams) (int64, error)
// a fresh claim may shorten a prior installation, never silently grow it.
LimitConnectorPeerPreparedForClaim(ctx context.Context, arg LimitConnectorPeerPreparedForClaimParams) error
LimitGuestServiceRunExpiry(ctx context.Context, arg LimitGuestServiceRunExpiryParams) (ControlServiceRun, error)
ListACMEOrderAuthorizations(ctx context.Context, issuanceID string) ([]ControlAcmeAuthorization, error)
ListAdminRelayLeases(ctx context.Context, arg ListAdminRelayLeasesParams) ([]ListAdminRelayLeasesRow, error)
ListAppliedProjectServices(ctx context.Context, arg ListAppliedProjectServicesParams) ([]ControlAppliedProjectService, error)
ListAuthorizedDeployments(ctx context.Context, arg ListAuthorizedDeploymentsParams) ([]ControlDeployment, error)
// connector candidates already have native identity permission. public HTTP
// candidates are authorized by the existing HTTP permission owner before paging.
// keep offline services, bound each scan, and never select publisher-only trust.
ListAvailableServices(ctx context.Context, arg ListAvailableServicesParams) ([]ListAvailableServicesRow, error)
// candidates convey no delivery authority. the publisher checks each delivery
// separately after the exact relay claims have been accepted.
ListConnectorPeerPairCandidates(ctx context.Context, arg ListConnectorPeerPairCandidatesParams) ([]ListConnectorPeerPairCandidatesRow, error)
ListCurrentDomainNames(ctx context.Context) ([]string, error)
ListDNSChallengePresentations(ctx context.Context, baseIdentifier string) ([]ListDNSChallengePresentationsRow, error)
ListDeploymentManagementDeployments(ctx context.Context, grantID string) ([]string, error)
ListDeploymentManagementServices(ctx context.Context, grantID string) ([]ControlDeploymentManagementService, error)
ListDeploymentPublisherEnrollmentServices(ctx context.Context, enrollmentID string) ([]ControlDeploymentPublisherEnrollmentService, error)
ListDeploymentPublisherIDs(ctx context.Context, arg ListDeploymentPublisherIDsParams) ([]string, error)
ListDeploymentPublisherServices(ctx context.Context, deploymentID string) ([]ControlAppliedProjectService, error)
ListDeploymentPublisherStatus(ctx context.Context, arg ListDeploymentPublisherStatusParams) ([]ListDeploymentPublisherStatusRow, error)
ListDeploymentServiceConfigurations(ctx context.Context, serviceIds []string) ([]ListDeploymentServiceConfigurationsRow, error)
ListDeployments(ctx context.Context, arg ListDeploymentsParams) ([]ControlDeployment, error)
ListDiscoverablePreviews(ctx context.Context, arg ListDiscoverablePreviewsParams) ([]ListDiscoverablePreviewsRow, error)
ListDiscoverableProjects(ctx context.Context, arg ListDiscoverableProjectsParams) ([]ListDiscoverableProjectsRow, error)
ListIdentityMembershipContexts(ctx context.Context, identityID string) ([]ListIdentityMembershipContextsRow, error)
ListIdentityTeamDomains(ctx context.Context, arg ListIdentityTeamDomainsParams) ([]ListIdentityTeamDomainsRow, error)
ListIdentityTeams(ctx context.Context, identityID string) ([]ListIdentityTeamsRow, error)
ListIngressServiceRelays(ctx context.Context, arg ListIngressServiceRelaysParams) ([]ListIngressServiceRelaysRow, error)
// only recompute permission and DNS for runs with changed inputs. membership
// eligibility may expire without changing a row or the grant's own deadline.
ListIngressServiceRuns(ctx context.Context, arg ListIngressServiceRunsParams) ([]ListIngressServiceRunsRow, error)
// heartbeat deadlines and signing input always come from the current snapshot.
ListLiveIngressRuns(ctx context.Context, arg ListLiveIngressRunsParams) ([]ListLiveIngressRunsRow, error)
ListMaintenanceControls(ctx context.Context) ([]ControlMaintenanceControl, error)
ListOperatorNameserverHostnames(ctx context.Context) ([]string, error)
ListPreviewServices(ctx context.Context, previewID string) ([]string, error)
ListProjectDeployments(ctx context.Context, arg ListProjectDeploymentsParams) ([]ControlDeployment, error)
// one row per open publication, or one row for an idle/unrealized resource.
// worktree bytes are encoded so separators cannot alias another cursor key.
ListProjectPublications(ctx context.Context, arg ListProjectPublicationsParams) ([]ListProjectPublicationsRow, error)
ListProjectServiceDeclarations(ctx context.Context, arg ListProjectServiceDeclarationsParams) ([]ListProjectServiceDeclarationsRow, error)
ListPublisherCertificateCheckpoints(ctx context.Context, publisherIdentityID string) ([][]byte, error)
ListPublisherGrants(ctx context.Context, publisherIdentityID string) ([]ControlPublisherGrant, error)
ListPublisherIdentities(ctx context.Context, arg ListPublisherIdentitiesParams) ([]ControlPublisherIdentity, error)
ListReadDependencyVersions(ctx context.Context, topic string) ([]ListReadDependencyVersionsRow, error)
// aggregate replica runs before building one redirect per service hostname.
ListRelayDNSChallengePresentations(ctx context.Context, tlsServerName string) ([]ListRelayDNSChallengePresentationsRow, error)
ListRelayServiceAssignmentTotals(ctx context.Context) ([]ListRelayServiceAssignmentTotalsRow, error)
ListServiceAuditEvents(ctx context.Context, arg ListServiceAuditEventsParams) ([]ControlServiceAuditEvent, error)
ListServiceAuditEventsByID(ctx context.Context, eventIds []string) ([]ControlServiceAuditEvent, error)
ListServiceAuditOwners(ctx context.Context, serviceIds []string) ([]ListServiceAuditOwnersRow, error)
// service_id is unique on each binding. join it once rather than planning an
// existence subquery for every row of a batch, including single-service reads.
ListServiceConfigurations(ctx context.Context, serviceIds []string) ([]ListServiceConfigurationsRow, error)
ListServiceConnectionSlots(ctx context.Context, serviceRunID string) ([]ControlServiceConnectionSlot, error)
// replace expired never-ready claims even with a live relay lease.
// disabled services cannot accept their outstanding unclaimed assignments.
// ready slots retain ownership and streams while their matching lease is live.
ListServiceConnectionSlotsNeedingReplacement(ctx context.Context, arg ListServiceConnectionSlotsNeedingReplacementParams) ([]ListServiceConnectionSlotsNeedingReplacementRow, error)
ListServiceGrants(ctx context.Context, arg ListServiceGrantsParams) ([]ControlVisitorGrant, error)
ListServiceHTTPGrants(ctx context.Context, serviceID string) ([]ListServiceHTTPGrantsRow, error)
ListServiceInvitations(ctx context.Context, arg ListServiceInvitationsParams) ([]ControlServiceInvitation, error)
// current exact namespace authority is checked under the team guard before this
// bounded point selection; it is never an administrator inventory fallback.
ListServiceReservationCandidates(ctx context.Context, arg ListServiceReservationCandidatesParams) ([]ControlService, error)
ListServicesForTeam(ctx context.Context, arg ListServicesForTeamParams) ([]ControlService, error)
ListTeamInvitations(ctx context.Context, teamID string) ([]ListTeamInvitationsRow, error)
ListTeamMembershipContexts(ctx context.Context, arg ListTeamMembershipContextsParams) ([]ListTeamMembershipContextsRow, error)
// invitations and quarantined memberships still own their reserved namespaces.
ListTeamNamespaceLabels(ctx context.Context, teamID string) ([]ListTeamNamespaceLabelsRow, error)
ListWorkloadSessionServices(ctx context.Context, workloadSessionID string) ([]ListWorkloadSessionServicesRow, error)
LockACMEOrder(ctx context.Context, issuanceID string) (ControlAcmeOrder, error)
LockAppliedProject(ctx context.Context, arg LockAppliedProjectParams) (ControlAppliedProject, error)
LockCertificateIssuanceControl(ctx context.Context) (bool, error)
LockCompanyLoginIntent(ctx context.Context, id string) (ControlCompanyLoginIntent, error)
LockConnectorPeerPairForLegClaim(ctx context.Context, id string) (ControlConnectorPeerPair, error)
LockConnectorPeerRetirementGuest(ctx context.Context, guestID string) (string, error)
// use the existing owner guard without requiring current team authority.
LockConnectorPeerRetirementTeam(ctx context.Context, teamID string) (string, error)
LockControlSessionByRefreshID(ctx context.Context, refreshTokenID string) (LockControlSessionByRefreshIDRow, error)
LockDNSAuthority(ctx context.Context, authorityReference string) (ControlDnsAuthority, error)
LockDNSAuthorityLocalDomain(ctx context.Context, authorityReference pgtype.Text) error
LockDNSAuthorityLocalTeam(ctx context.Context, authorityReference pgtype.Text) error
LockDeployment(ctx context.Context, arg LockDeploymentParams) (ControlDeployment, error)
LockDeploymentByID(ctx context.Context, id string) (ControlDeployment, error)
LockDeploymentPublisherEnrollment(ctx context.Context, id string) (ControlDeploymentPublisherEnrollment, error)
LockDeviceLoginByCode(ctx context.Context, userCode string) (ControlDeviceLogin, error)
LockDeviceLoginByCredential(ctx context.Context, credentialDigest []byte) (ControlDeviceLogin, error)
LockDeviceLoginByState(ctx context.Context, stateDigest []byte) (ControlDeviceLogin, error)
LockDeviceLoginCapacity(ctx context.Context) error
LockEligibleRelayLeases(ctx context.Context, arg LockEligibleRelayLeasesParams) ([]LockEligibleRelayLeasesRow, error)
LockGuestTrialByID(ctx context.Context, id string) (ControlGuestTrial, error)
LockIdentityBootstrap(ctx context.Context) error
LockIdentityConnection(ctx context.Context, arg LockIdentityConnectionParams) (ControlIdentityConnection, error)
LockIdentityForTeamCreation(ctx context.Context, identityID string) (LockIdentityForTeamCreationRow, error)
LockIngressLease(ctx context.Context, arg LockIngressLeaseParams) (ControlIngressLease, error)
LockIngressPoolForProvision(ctx context.Context, id string) (ControlIngressPool, error)
// registration and the final ready transition serialize membership, without
// taking ingress lease locks beneath the public URL/run locks.
LockIngressPoolMembership(ctx context.Context, id string) error
LockInvitationByTokenDigest(ctx context.Context, arg LockInvitationByTokenDigestParams) (LockInvitationByTokenDigestRow, error)
// local authority mutations lock the team before identities, memberships,
// domains, DNS authorities, and public URLs. recheck authorization under this
// transaction-held guard; hosted teams need no fabricated local rows.
// queue writers with publish run readers through the advisory lock: row-lock
// readers alone can bypass a waiting writer indefinitely.
LockLocalTeamForMutation(ctx context.Context, teamID string) (string, error)
// publish run creation reads authority under this guard before locking its
// public URL. different public URLs may start together while team, role, or
// domain mutations wait. callers must not upgrade this guard by writing the team.
LockLocalTeamForSession(ctx context.Context, teamID string) (string, error)
LockMaintenanceControl(ctx context.Context, operation string) (bool, error)
LockManagedDomainForClaim(ctx context.Context) (ControlDomain, error)
LockPendingServiceInvitation(ctx context.Context, arg LockPendingServiceInvitationParams) (ControlServiceInvitation, error)
LockPreviewForTeamAccess(ctx context.Context, id string) (LockPreviewForTeamAccessRow, error)
LockPublisherEnrollment(ctx context.Context, id string) (ControlPublisherEnrollment, error)
LockPublisherIdentity(ctx context.Context, id string) (ControlPublisherIdentity, error)
LockRelayServiceForCertificate(ctx context.Context, relayServiceID string) (string, error)
LockRelayServicesForPlacement(ctx context.Context, ids []string) ([]string, error)
LockService(ctx context.Context, id string) (ControlService, error)
LockServiceAuditClock(ctx context.Context, arg LockServiceAuditClockParams) error
// run closure holds its parent first. lock shared orders in stable order before
// taking a fresh consumer snapshot, so concurrent final closes cannot miss both.
LockServiceCertificateOrdersForConsumer(ctx context.Context, serviceRunID string) ([]string, error)
LockServiceHTTPBrowserSession(ctx context.Context, tokenDigest []byte) ([]byte, error)
LockServiceRecoveryEpisode(ctx context.Context, id int64) (ControlServiceRecoveryEpisode, error)
LockServiceRun(ctx context.Context, arg LockServiceRunParams) (ControlServiceRun, error)
// guest first readiness retains DNS publication through the clock transition.
LockServiceRunFirstReadyEndpoint(ctx context.Context, arg LockServiceRunFirstReadyEndpointParams) (string, error)
LockServiceRunsForClose(ctx context.Context, serviceID string) ([]ControlServiceRun, error)
LockTeamActorContext(ctx context.Context, arg LockTeamActorContextParams) (LockTeamActorContextRow, error)
LockTeamDomain(ctx context.Context, arg LockTeamDomainParams) (LockTeamDomainRow, error)
LockTeamForInvitationAcceptance(ctx context.Context, teamID string) (string, error)
LockTeamInvitation(ctx context.Context, arg LockTeamInvitationParams) (LockTeamInvitationRow, error)
LockTeamMembership(ctx context.Context, arg LockTeamMembershipParams) (LockTeamMembershipRow, error)
LockVisitorControlSession(ctx context.Context, accessTokenID string) (ControlControlSession, error)
LockVisitorIdentity(ctx context.Context, id string) (ControlIdentity, error)
LockVisitorTokenIssuer(ctx context.Context) (string, error)
LockVisitorTokenSigningAuthority(ctx context.Context) (ControlVisitorTokenKey, error)
LockVisitorTokenSigningKey(ctx context.Context) (ControlVisitorTokenKey, error)
LockWorkloadSession(ctx context.Context, id string) (ControlWorkloadSession, error)
LoginTeamRequiresCompany(ctx context.Context, id string) (bool, error)
MarkACMEOrderInstalled(ctx context.Context, arg MarkACMEOrderInstalledParams) (ControlAcmeOrder, error)
MarkCustomDomainReleasing(ctx context.Context, arg MarkCustomDomainReleasingParams) (int64, error)
MarkDNSAuthorityReleasing(ctx context.Context, arg MarkDNSAuthorityReleasingParams) (int64, error)
MarkGuestRunReady(ctx context.Context, arg MarkGuestRunReadyParams) (int64, error)
MarkInvitationExpired(ctx context.Context, invitationID string) (int64, error)
// registration holds the lease row lock until this update commits. a matching
// old run clears its supersession only after it has passed lease and key checks.
MarkSupersededRelayRunSigningKeys(ctx context.Context, arg MarkSupersededRelayRunSigningKeysParams) error
ObserveAppliedProject(ctx context.Context, arg ObserveAppliedProjectParams) (ControlAppliedProject, error)
ObserveDeployment(ctx context.Context, arg ObserveDeploymentParams) (ControlDeployment, error)
ObserveIdentityBootstrap(ctx context.Context) error
// redemption checks the approved service but only writes the enrollment and
// the new publisher. serialize with service edits, not sibling observations.
ObservePublisherEnrollmentService(ctx context.Context, id string) (ControlService, error)
ObserveServiceRecoveryEpisode(ctx context.Context, arg ObserveServiceRecoveryEpisodeParams) (ControlServiceRecoveryEpisode, error)
ObserveServiceRun(ctx context.Context, arg ObserveServiceRunParams) (ControlServiceRun, error)
OpenServiceRecoveryEpisode(ctx context.Context, arg OpenServiceRecoveryEpisodeParams) error
OtherPreviewForTeamAccess(ctx context.Context, arg OtherPreviewForTeamAccessParams) (string, error)
OtherTeamAccessForService(ctx context.Context, arg OtherTeamAccessForServiceParams) (string, error)
PrepareConnectorPeerRebind(ctx context.Context, arg PrepareConnectorPeerRebindParams) (int64, error)
// caller locks the service, checks the live publisher grant and enrolled key,
// allocates one run number and captures its protocol and managed certificate plan.
// a retry with the same idempotency key returns the same prepared row.
// endpoint retirement does not revoke the saved connector identity. capture
// retained provenance only for this exact service, hostname and domain.
PrepareServiceRun(ctx context.Context, arg PrepareServiceRunParams) (ControlServiceRun, error)
PreviewInvitation(ctx context.Context, arg PreviewInvitationParams) (PreviewInvitationRow, error)
PrunePublisherAccess(ctx context.Context, arg PrunePublisherAccessParams) error
PrunePublisherAssertions(ctx context.Context, arg PrunePublisherAssertionsParams) error
PublisherRuntimeActive(ctx context.Context, arg PublisherRuntimeActiveParams) (bool, error)
// this read does not lock resources after identities. service run
// transactions lock their saved service first and recheck the grant.
PublisherScopeAvailable(ctx context.Context, arg PublisherScopeAvailableParams) (bool, error)
PutCompanyEligibility(ctx context.Context, arg PutCompanyEligibilityParams) error
QuarantineMemberSlug(ctx context.Context, arg QuarantineMemberSlugParams) (int64, error)
ReadConnectorPeerBindingClaims(ctx context.Context, arg ReadConnectorPeerBindingClaimsParams) ([]ControlConnectorPeerPairLegClaim, error)
ReadConnectorPeerClaimBounds(ctx context.Context, pairID string) ([]ReadConnectorPeerClaimBoundsRow, error)
// relay leases are current-state recheck deadlines, not pair renewals.
ReadConnectorPeerObservationRelayBounds(ctx context.Context, arg ReadConnectorPeerObservationRelayBoundsParams) ([]ReadConnectorPeerObservationRelayBoundsRow, error)
// called only for scopes whose change records differ, in the same snapshot.
ReadConnectorPeerWatchVersions(ctx context.Context, runIds []string) ([]ReadConnectorPeerWatchVersionsRow, error)
ReadPlacementAssignmentTotals(ctx context.Context, ids []string) ([]ReadPlacementAssignmentTotalsRow, error)
ReadPublisherGrant(ctx context.Context, arg ReadPublisherGrantParams) (ControlPublisherGrant, error)
ReadPublisherIdentity(ctx context.Context, id string) (ControlPublisherIdentity, error)
// confirm only ordinary scopes without time-dependent parents.
// every check, including the change bookmark, uses one statement snapshot.
ReadPublisherPolicyConfirmation(ctx context.Context, arg ReadPublisherPolicyConfirmationParams) (ReadPublisherPolicyConfirmationRow, error)
// an unbound service cannot gain a registered key from a change to another
// service's project. the binding counter survives removal and recreation.
ReadRegisteredKeyWatchVersion(ctx context.Context, serviceID string) (ReadRegisteredKeyWatchVersionRow, error)
// a ranking hint only. recheck the selected services and leases under lock.
ReadRelayPlacementCandidates(ctx context.Context, now pgtype.Timestamptz) ([]ReadRelayPlacementCandidatesRow, error)
ReadServiceHTTPBrowserSession(ctx context.Context, arg ReadServiceHTTPBrowserSessionParams) (ReadServiceHTTPBrowserSessionRow, error)
ReadServiceIPKey(ctx context.Context, arg ReadServiceIPKeyParams) (ReadServiceIPKeyRow, error)
ReadVisitorPolicyEvents(ctx context.Context, arg ReadVisitorPolicyEventsParams) ([]ReadVisitorPolicyEventsRow, error)
ReadVisitorPolicyRegisteredKeys(ctx context.Context, arg ReadVisitorPolicyRegisteredKeysParams) ([]ReadVisitorPolicyRegisteredKeysRow, error)
ReadVisitorPolicyRevision(ctx context.Context, resourceID string) (int64, error)
ReadVisitorPolicyService(ctx context.Context, id string) (ControlService, error)
ReadVisitorTokenIssuer(ctx context.Context) (string, error)
ReadVisitorVerificationKeyRevision(ctx context.Context) (int64, error)
ReadyServiceBrowserHosts(ctx context.Context, arg ReadyServiceBrowserHostsParams) ([]ReadyServiceBrowserHostsRow, error)
ReadyServiceConnectionSlot(ctx context.Context, arg ReadyServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
ReadyServiceRun(ctx context.Context, arg ReadyServiceRunParams) (ControlServiceRun, error)
RecentGuestTrialStats(ctx context.Context, since pgtype.Timestamptz) (RecentGuestTrialStatsRow, error)
RedeemPublisherEnrollment(ctx context.Context, arg RedeemPublisherEnrollmentParams) error
RedeemServiceHTTPBrowserHandoff(ctx context.Context, arg RedeemServiceHTTPBrowserHandoffParams) (RedeemServiceHTTPBrowserHandoffRow, error)
RegisterIngress(ctx context.Context, arg RegisterIngressParams) (ControlIngressLease, error)
// blocking relay-service operations take the transaction advisory guard before
// service and lease rows. row readers can bypass a waiting writer without this
// queue, starving registration, placement, or certificate updates.
// SKIP LOCKED certificate preparation and key rotation only take row locks;
// they must not wait for this guard while holding a row.
RegisterRelay(ctx context.Context, arg RegisterRelayParams) (RegisterRelayRow, error)
ReleaseInvitedMemberSlug(ctx context.Context, arg ReleaseInvitedMemberSlugParams) (int64, error)
RemoveProjectServiceDeclarations(ctx context.Context, arg RemoveProjectServiceDeclarationsParams) error
RemoveTeamMembership(ctx context.Context, arg RemoveTeamMembershipParams) (int64, error)
// only a fresh signed renewal after the last successful authorization can
// extend the same pair; an expired row never regains serving authority.
RenewConnectorPeerPair(ctx context.Context, arg RenewConnectorPeerPairParams) (ControlConnectorPeerPair, error)
RenewIngress(ctx context.Context, arg RenewIngressParams) (ControlIngressLease, error)
RenewPublisherRuntime(ctx context.Context, arg RenewPublisherRuntimeParams) (ControlPublisherRuntime, error)
RenewRelay(ctx context.Context, arg RenewRelayParams) (RenewRelayRow, error)
RenewServiceRun(ctx context.Context, arg RenewServiceRunParams) (ControlServiceRun, error)
ReplaceConnectorPeerPair(ctx context.Context, id string) (int64, error)
ReserveInvitedMemberSlug(ctx context.Context, arg ReserveInvitedMemberSlugParams) (string, error)
ReserveManagedLabel(ctx context.Context, arg ReserveManagedLabelParams) (string, error)
ResolveLoginTeam(ctx context.Context, selection string) (string, error)
RetainVisitorTokenSigningKey(ctx context.Context, arg RetainVisitorTokenSigningKeyParams) (int64, error)
RetireConnectorPeerAuditBindings(ctx context.Context, arg RetireConnectorPeerAuditBindingsParams) (int64, error)
// the caller holds owner -> service -> run -> exact pair and verifies both proofs.
// terminal retries compare the stored digest; no upsert or deadline advance exists.
RetireConnectorPeerPair(ctx context.Context, arg RetireConnectorPeerPairParams) (ControlConnectorPeerPair, error)
RetirePublisherKey(ctx context.Context, arg RetirePublisherKeyParams) (int64, error)
// a captured, current plan is interest even before its sibling submits a CSR.
// publisher_service_permission remains the authority for service/grant/owner
// policy. serving_until is authority; shorter publisher liveness is not expiry.
RetireUnusedServiceCertificateOrder(ctx context.Context, arg RetireUnusedServiceCertificateOrderParams) error
RetireVisitorTokenSigningKeys(ctx context.Context, now pgtype.Timestamptz) error
RevokeControlSession(ctx context.Context, arg RevokeControlSessionParams) (int64, error)
RevokePublisherGrant(ctx context.Context, arg RevokePublisherGrantParams) (int64, error)
RevokePublisherIdentity(ctx context.Context, arg RevokePublisherIdentityParams) (int64, error)
RevokeServiceGrant(ctx context.Context, arg RevokeServiceGrantParams) (int64, error)
RevokeServiceHTTPBrowserSession(ctx context.Context, arg RevokeServiceHTTPBrowserSessionParams) error
RevokeServiceHTTPGrant(ctx context.Context, arg RevokeServiceHTTPGrantParams) (int64, error)
RevokeServiceInvitation(ctx context.Context, arg RevokeServiceInvitationParams) (int64, error)
// caller revokes invitation and accepted grant in the same transaction.
RevokeServiceInvitationGrant(ctx context.Context, arg RevokeServiceInvitationGrantParams) (int64, error)
RevokeTeamInvitation(ctx context.Context, arg RevokeTeamInvitationParams) (int64, error)
RevokeVisitorTokenSigningKeys(ctx context.Context, now pgtype.Timestamptz) error
RotateACMEAccountKey(ctx context.Context, arg RotateACMEAccountKeyParams) error
RotateControlSessionCredentials(ctx context.Context, arg RotateControlSessionCredentialsParams) (int64, error)
RotateControlSessionRetrySecret(ctx context.Context, arg RotateControlSessionRetrySecretParams) error
RotateRelayCertificateOrderPrivateKey(ctx context.Context, arg RotateRelayCertificateOrderPrivateKeyParams) error
RotateRelayServicePrivateKey(ctx context.Context, arg RotateRelayServicePrivateKeyParams) error
RotateServiceHTTPBrowserSession(ctx context.Context, arg RotateServiceHTTPBrowserSessionParams) error
SaveACMEAuthorizationWork(ctx context.Context, arg SaveACMEAuthorizationWorkParams) (ControlAcmeAuthorization, error)
SaveACMEOrderWork(ctx context.Context, arg SaveACMEOrderWorkParams) (ControlAcmeOrder, error)
SaveConnectorPeerAuditBinding(ctx context.Context, arg SaveConnectorPeerAuditBindingParams) (int64, error)
// two rows maximum per binding. an uncertain response requires a fresh proof from
// the same observed source and the same relay process, never the old nonce.
SaveConnectorPeerPairLegClaim(ctx context.Context, arg SaveConnectorPeerPairLegClaimParams) (string, error)
SaveConnectorPeerPendingPublisherProof(ctx context.Context, arg SaveConnectorPeerPendingPublisherProofParams) (int64, error)
SaveConnectorPeerPublisherProof(ctx context.Context, arg SaveConnectorPeerPublisherProofParams) (int64, error)
SaveDNSAuthorityWork(ctx context.Context, arg SaveDNSAuthorityWorkParams) (ControlDnsAuthority, error)
SaveProjectServiceDeclaration(ctx context.Context, arg SaveProjectServiceDeclarationParams) error
SaveRelayCertificateOrderWork(ctx context.Context, arg SaveRelayCertificateOrderWorkParams) (ControlRelayCertificateOrder, error)
SaveServiceEndpointDNSWork(ctx context.Context, arg SaveServiceEndpointDNSWorkParams) (ControlServiceEndpoint, error)
SeedAdministrator(ctx context.Context, arg SeedAdministratorParams) error
// current permission covers the selected service using the original grant.
SelectServiceForPublisher(ctx context.Context, arg SelectServiceForPublisherParams) (ControlService, error)
ServiceHTTPBrowserEndpoint(ctx context.Context, arg ServiceHTTPBrowserEndpointParams) (ServiceHTTPBrowserEndpointRow, error)
ServiceHTTPBrowserPermission(ctx context.Context, arg ServiceHTTPBrowserPermissionParams) (ServiceHTTPBrowserPermissionRow, error)
ServiceHTTPPreviewTeamPermission(ctx context.Context, arg ServiceHTTPPreviewTeamPermissionParams) (pgtype.Timestamptz, error)
ServiceNamespaceOwnsHostname(ctx context.Context, hostname string) (bool, error)
ServicePortPoolCapacity(ctx context.Context) ([]ServicePortPoolCapacityRow, error)
ServicePublicEndpointBinding(ctx context.Context, visitorConnectionID string) (ServicePublicEndpointBindingRow, error)
// the caller holds the service lock and validates the run's preparation facts.
// use current DNS, relay, and ingress facts without authorizing visitor access.
ServiceRunPublicEndpointReady(ctx context.Context, arg ServiceRunPublicEndpointReadyParams) (ServiceRunPublicEndpointReadyRow, error)
SetDNSReadyDomainDefault(ctx context.Context, arg SetDNSReadyDomainDefaultParams) (int64, error)
SetDomainAuthorityRevision(ctx context.Context, arg SetDomainAuthorityRevisionParams) error
SetIdentityInitialTeam(ctx context.Context, arg SetIdentityInitialTeamParams) error
SetMaintenanceControl(ctx context.Context, arg SetMaintenanceControlParams) (ControlMaintenanceControl, error)
SetPersonalTeamDefaultDomain(ctx context.Context, arg SetPersonalTeamDefaultDomainParams) error
SetPreviewTeamAccess(ctx context.Context, arg SetPreviewTeamAccessParams) error
SetServiceConfiguration(ctx context.Context, arg SetServiceConfigurationParams) (int64, error)
SetServiceEnabled(ctx context.Context, arg SetServiceEnabledParams) (ControlService, error)
SetTeamDefaultDomain(ctx context.Context, arg SetTeamDefaultDomainParams) (int64, error)
SetVisitorFeedbackPolicy(ctx context.Context, arg SetVisitorFeedbackPolicyParams) error
StartPublisherRuntime(ctx context.Context, arg StartPublisherRuntimeParams) (ControlPublisherRuntime, error)
StopPublisherRuntime(ctx context.Context, arg StopPublisherRuntimeParams) (ControlPublisherRuntime, error)
StoreRelayTransportCertificate(ctx context.Context, arg StoreRelayTransportCertificateParams) (ControlRelayService, error)
TeamMemberSlugReserved(ctx context.Context, arg TeamMemberSlugReservedParams) (bool, error)
TeamMembershipIdentityExists(ctx context.Context, arg TeamMembershipIdentityExistsParams) (bool, error)
UpdateACMEAccountRegistration(ctx context.Context, arg UpdateACMEAccountRegistrationParams) (ControlAcmeAccount, error)
UpdateDeviceLogin(ctx context.Context, arg UpdateDeviceLoginParams) error
// retain issued ready authority after closure so an offline owner cannot overlap
// its replacement. the run lock serializes readiness, heartbeat and settlement.
UpdateGuestServingAuthority(ctx context.Context, arg UpdateGuestServingAuthorityParams) (pgtype.Timestamptz, error)
UpdateLocalDomainForDNSAuthority(ctx context.Context, arg UpdateLocalDomainForDNSAuthorityParams) (UpdateLocalDomainForDNSAuthorityRow, error)
UpdateMembershipRole(ctx context.Context, arg UpdateMembershipRoleParams) (int64, error)
UpdateOIDCIdentity(ctx context.Context, arg UpdateOIDCIdentityParams) (ControlIdentity, error)
UpdateServiceRecoveryHistogram(ctx context.Context, arg UpdateServiceRecoveryHistogramParams) error
UpsertDNSChallengeChange(ctx context.Context, arg UpsertDNSChallengeChangeParams) error
// use the same publication candidate as claim, including first-ready guests.
ValidateServiceEndpointDNSWork(ctx context.Context, arg ValidateServiceEndpointDNSWorkParams) (bool, error)
ValidateVerifiedCompanyProof(ctx context.Context, arg ValidateVerifiedCompanyProofParams) (bool, error)
VisitorCurrentMembership(ctx context.Context, arg VisitorCurrentMembershipParams) (string, error)
VisitorFeedbackPolicy(ctx context.Context, id string) (string, error)
VisitorPermission(ctx context.Context, arg VisitorPermissionParams) (VisitorPermissionRow, error)
VisitorTokenVerificationKeys(ctx context.Context, now pgtype.Timestamptz) ([]VisitorTokenVerificationKeysRow, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AbortConnectorPeerRebind ¶
func (*Queries) AcceptServiceInvitation ¶
func (q *Queries) AcceptServiceInvitation(ctx context.Context, arg AcceptServiceInvitationParams) (ControlServiceInvitation, error)
verified_actor_email comes only from the consumed configured-issuer assertion; control sessions retain their stored verified email check.
func (*Queries) AcceptTeamInvitation ¶
func (*Queries) AcknowledgeDeploymentPublisherConfiguration ¶
func (q *Queries) AcknowledgeDeploymentPublisherConfiguration(ctx context.Context, arg AcknowledgeDeploymentPublisherConfigurationParams) error
func (*Queries) ActivateConnectorPeerBinding ¶
func (*Queries) ActivateMemberSlug ¶
func (*Queries) ActiveCompanyMembership ¶
func (*Queries) ActiveTeamSubject ¶
func (*Queries) AddGuestShareService ¶
func (*Queries) AddPreviewService ¶
func (*Queries) AddServiceRunPreviewService ¶
func (q *Queries) AddServiceRunPreviewService(ctx context.Context, arg AddServiceRunPreviewServiceParams) error
func (*Queries) AddShareService ¶
func (*Queries) AdvanceGuestDemoNumber ¶
func (*Queries) AdvanceServiceRunNumber ¶
func (*Queries) AdvanceTeamPolicyRevision ¶
func (*Queries) BeginAdminRelayDrain ¶
func (q *Queries) BeginAdminRelayDrain(ctx context.Context, arg BeginAdminRelayDrainParams) (BeginAdminRelayDrainRow, error)
func (*Queries) BeginGuestServiceRun ¶
func (*Queries) BeginIngressDrain ¶
func (q *Queries) BeginIngressDrain(ctx context.Context, arg BeginIngressDrainParams) (ControlIngressLease, error)
func (*Queries) BeginRelayDrain ¶
func (q *Queries) BeginRelayDrain(ctx context.Context, arg BeginRelayDrainParams) (BeginRelayDrainRow, error)
func (*Queries) BindInitialOIDCMembership ¶
func (q *Queries) BindInitialOIDCMembership(ctx context.Context, arg BindInitialOIDCMembershipParams) error
func (*Queries) BindRelayRunSigningKey ¶
func (q *Queries) BindRelayRunSigningKey(ctx context.Context, arg BindRelayRunSigningKeyParams) (int64, error)
run only after RegisterRelay succeeds, inside the same transaction. on a mismatched historical key the caller rolls back the lease replacement too.
func (*Queries) CancelOpenServiceRecoveryEpisode ¶
func (q *Queries) CancelOpenServiceRecoveryEpisode(ctx context.Context, arg CancelOpenServiceRecoveryEpisodeParams) error
func (*Queries) ClaimACMEOrderWork ¶
func (q *Queries) ClaimACMEOrderWork(ctx context.Context, arg ClaimACMEOrderWorkParams) (ControlAcmeOrder, error)
func (*Queries) ClaimDNSAuthorityWork ¶
func (q *Queries) ClaimDNSAuthorityWork(ctx context.Context, arg ClaimDNSAuthorityWorkParams) (ControlDnsAuthority, error)
func (*Queries) ClaimInvitationEmail ¶
func (q *Queries) ClaimInvitationEmail(ctx context.Context, arg ClaimInvitationEmailParams) (ControlTeamInvitationEmailDelivery, error)
func (*Queries) ClaimPublisherAssertion ¶
func (*Queries) ClaimRelayCertificateOrderWork ¶
func (q *Queries) ClaimRelayCertificateOrderWork(ctx context.Context, arg ClaimRelayCertificateOrderWorkParams) (ControlRelayCertificateOrder, error)
func (*Queries) ClaimRelayServiceForCertificateOrder ¶
func (q *Queries) ClaimRelayServiceForCertificateOrder(ctx context.Context, arg ClaimRelayServiceForCertificateOrderParams) (ControlRelayService, error)
func (*Queries) ClaimServiceConnectionSlot ¶
func (q *Queries) ClaimServiceConnectionSlot(ctx context.Context, arg ClaimServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
func (*Queries) ClaimServiceEndpointDNSWork ¶
func (q *Queries) ClaimServiceEndpointDNSWork(ctx context.Context, arg ClaimServiceEndpointDNSWorkParams) (ControlServiceEndpoint, error)
func (*Queries) CleanupExpiredConnectorPeerPairs ¶
func (*Queries) CleanupServiceAuditEvents ¶
func (*Queries) CleanupSupersededRelayRunSigningKeys ¶
func (q *Queries) CleanupSupersededRelayRunSigningKeys(ctx context.Context, arg CleanupSupersededRelayRunSigningKeysParams) (int64, error)
lock the lease before key rows, as registration does. skip a relay being registered: deleting its old binding before its key check would allow a different key on a returning run. never delete the current run's key.
func (*Queries) CleanupVisitorHandoffs ¶
func (*Queries) CleanupVisitorLogins ¶
func (*Queries) CleanupVisitorSessions ¶
func (*Queries) CleanupWorkloadAssertions ¶
func (*Queries) CleanupWorkloadAudit ¶
func (*Queries) CleanupWorkloadCertificates ¶
func (*Queries) CleanupWorkloadPublicServiceVisitors ¶
func (q *Queries) CleanupWorkloadPublicServiceVisitors(ctx context.Context, arg CleanupWorkloadPublicServiceVisitorsParams) (int64, error)
each phase has its own budget so a busy leaf cannot starve its parents. select only unreferenced candidates before LIMIT; never cascade subject state.
func (*Queries) CleanupWorkloadServiceRights ¶
func (q *Queries) CleanupWorkloadServiceRights(ctx context.Context, arg CleanupWorkloadServiceRightsParams) (int64, error)
keep the exact service snapshot until all other session references are gone.
func (*Queries) CleanupWorkloadSessions ¶
func (*Queries) CloseServiceRun ¶
func (*Queries) ClosedServiceRuns ¶
func (q *Queries) ClosedServiceRuns(ctx context.Context, runIds []string) ([]ClosedServiceRunsRow, error)
only an exact stored terminal tuple proves a finite traffic budget can retire.
func (*Queries) CompanySessionAuthorized ¶
func (*Queries) CompanySessionRefreshValid ¶
func (*Queries) CompanySubjectDeadline ¶
func (q *Queries) CompanySubjectDeadline(ctx context.Context, arg CompanySubjectDeadlineParams) (pgtype.Timestamptz, error)
func (*Queries) CompanySubjectSessionAuthorized ¶
func (*Queries) ConfirmConnectorPeerPairPrepared ¶
func (q *Queries) ConfirmConnectorPeerPairPrepared(ctx context.Context, arg ConfirmConnectorPeerPairPreparedParams) (int64, error)
only a checked publisher report can advance this startup barrier. a retry retains a newer report, capped by the currently checked delivery authority.
func (*Queries) ConfirmConnectorPeerPendingPrepared ¶
func (*Queries) ConsumeAuthenticationSeed ¶
func (*Queries) ConsumeCompanyLoginIntent ¶
func (*Queries) ConsumeOIDCAssertion ¶
func (*Queries) ConsumeServiceHTTPBrowserLogin ¶
func (q *Queries) ConsumeServiceHTTPBrowserLogin(ctx context.Context, arg ConsumeServiceHTTPBrowserLoginParams) (ControlServiceHttpBrowserLogin, error)
func (*Queries) ConsumeShareHandoff ¶
func (q *Queries) ConsumeShareHandoff(ctx context.Context, arg ConsumeShareHandoffParams) (ConsumeShareHandoffRow, error)
func (*Queries) CopyCompanySessionContexts ¶
func (q *Queries) CopyCompanySessionContexts(ctx context.Context, arg CopyCompanySessionContextsParams) error
func (*Queries) CountActiveShareCookiesForService ¶
func (*Queries) CountActiveSharesForService ¶
func (*Queries) CountConnectorPeerPairOwners ¶
func (*Queries) CountGuestCurrentServices ¶
func (*Queries) CountOpenServiceRunAssignmentsByRelayService ¶
func (q *Queries) CountOpenServiceRunAssignmentsByRelayService(ctx context.Context) ([]CountOpenServiceRunAssignmentsByRelayServiceRow, error)
diagnostic/test oracle only; joins the parent to check slot eligibility.
func (*Queries) CountRecentGuestTrialsByIP ¶
func (*Queries) CountRelayActiveConnections ¶
func (*Queries) CountTeamOwners ¶
func (*Queries) CreateActiveSlugReservation ¶
func (q *Queries) CreateActiveSlugReservation(ctx context.Context, arg CreateActiveSlugReservationParams) error
func (*Queries) CreateControlSession ¶
func (q *Queries) CreateControlSession(ctx context.Context, arg CreateControlSessionParams) error
func (*Queries) CreateCustomDNSAuthority ¶
func (q *Queries) CreateCustomDNSAuthority(ctx context.Context, arg CreateCustomDNSAuthorityParams) error
func (*Queries) CreateCustomDomain ¶
func (q *Queries) CreateCustomDomain(ctx context.Context, arg CreateCustomDomainParams) (ControlDomain, error)
func (*Queries) CreateGuestShare ¶
func (q *Queries) CreateGuestShare(ctx context.Context, arg CreateGuestShareParams) (ControlShare, error)
caller holds the trial and exact service and verifies the trial credential and observed source. publication permission alone never authorizes sharing.
func (*Queries) CreateInvitationEmail ¶
func (q *Queries) CreateInvitationEmail(ctx context.Context, arg CreateInvitationEmailParams) error
func (*Queries) CreateManagedDomain ¶
func (q *Queries) CreateManagedDomain(ctx context.Context, arg CreateManagedDomainParams) error
func (*Queries) CreateOIDCIdentity ¶
func (q *Queries) CreateOIDCIdentity(ctx context.Context, arg CreateOIDCIdentityParams) (ControlIdentity, error)
func (*Queries) CreateOrganizationTeam ¶
func (q *Queries) CreateOrganizationTeam(ctx context.Context, arg CreateOrganizationTeamParams) (CreateOrganizationTeamRow, error)
func (*Queries) CreateOwnerMembership ¶
func (q *Queries) CreateOwnerMembership(ctx context.Context, arg CreateOwnerMembershipParams) error
func (*Queries) CreatePersonalTeam ¶
func (q *Queries) CreatePersonalTeam(ctx context.Context, arg CreatePersonalTeamParams) error
func (*Queries) CreatePreview ¶
func (q *Queries) CreatePreview(ctx context.Context, arg CreatePreviewParams) (CreatePreviewRow, error)
func (*Queries) CreateSeedMember ¶
func (q *Queries) CreateSeedMember(ctx context.Context, arg CreateSeedMemberParams) error
func (*Queries) CreateServiceIPKey ¶
func (q *Queries) CreateServiceIPKey(ctx context.Context, arg CreateServiceIPKeyParams) error
func (*Queries) CreateServiceRunPreview ¶
func (q *Queries) CreateServiceRunPreview(ctx context.Context, arg CreateServiceRunPreviewParams) (ControlPreview, error)
func (*Queries) CreateShare ¶
func (q *Queries) CreateShare(ctx context.Context, arg CreateShareParams) (ControlShare, error)
func (*Queries) CreateTeamInvitation ¶
func (q *Queries) CreateTeamInvitation(ctx context.Context, arg CreateTeamInvitationParams) (ControlTeamInvitation, error)
func (*Queries) CreateTeamMembership ¶
func (q *Queries) CreateTeamMembership(ctx context.Context, arg CreateTeamMembershipParams) error
func (*Queries) CreateVisitorTokenSigningKey ¶
func (q *Queries) CreateVisitorTokenSigningKey(ctx context.Context, arg CreateVisitorTokenSigningKeyParams) (ControlVisitorTokenKey, error)
func (*Queries) DNSAuthorityReleaseReady ¶
func (*Queries) DeleteConnectorPeerPairLegClaims ¶
func (*Queries) DeleteConnectorPeerPendingBinding ¶
func (*Queries) DeleteExpiredDeviceLogins ¶
func (*Queries) DeleteExpiredOIDCAssertionExchanges ¶
func (*Queries) DeleteExpiredShareCookies ¶
func (*Queries) DeleteExpiredVisitorTokenSigningKeys ¶
func (*Queries) DeleteFinishedShareHandoffs ¶
func (*Queries) DeleteService ¶
func (q *Queries) DeleteService(ctx context.Context, arg DeleteServiceParams) (ControlService, error)
caller closes all current runs and publishes a tombstone under this service lock in the same transaction.
func (*Queries) DeleteServiceConnectionSlot ¶
func (*Queries) DemoteServiceRun ¶
func (*Queries) DeploymentManagementPublisherAllowed ¶
func (*Queries) DeploymentPublisherServiceAllowed ¶
func (*Queries) DiscardInactiveInvitationEmails ¶
func (*Queries) DisconnectServiceConnectionSlot ¶
func (q *Queries) DisconnectServiceConnectionSlot(ctx context.Context, arg DisconnectServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
func (*Queries) EnableIngressPool ¶
func (q *Queries) EnableIngressPool(ctx context.Context, arg EnableIngressPoolParams) (ControlIngressPool, error)
func (*Queries) EnsureACMEAccount ¶
func (q *Queries) EnsureACMEAccount(ctx context.Context, arg EnsureACMEAccountParams) (ControlAcmeAccount, error)
func (*Queries) EnsureVisitorTokenIssuer ¶
func (*Queries) ExpireConnectorPeerRebind ¶
func (*Queries) ExpireServiceConnectionSlot ¶
func (*Queries) ExpireTeamInvitations ¶
func (*Queries) FeedbackRunScope ¶
func (q *Queries) FeedbackRunScope(ctx context.Context, arg FeedbackRunScopeParams) (FeedbackRunScopeRow, error)
func (*Queries) FeedbackServiceScope ¶
func (q *Queries) FeedbackServiceScope(ctx context.Context, arg FeedbackServiceScopeParams) (FeedbackServiceScopeRow, error)
func (*Queries) FenceIngressRun ¶
func (*Queries) FindDeploymentManagementRequest ¶
func (q *Queries) FindDeploymentManagementRequest(ctx context.Context, arg FindDeploymentManagementRequestParams) (FindDeploymentManagementRequestRow, error)
func (*Queries) FindDeploymentPublisherEnrollmentRequest ¶
func (q *Queries) FindDeploymentPublisherEnrollmentRequest(ctx context.Context, arg FindDeploymentPublisherEnrollmentRequestParams) (ControlDeploymentPublisherEnrollment, error)
func (*Queries) FindGuestServiceAllocation ¶
func (q *Queries) FindGuestServiceAllocation(ctx context.Context, arg FindGuestServiceAllocationParams) (ControlService, error)
terminal allocations remain discoverable so a retry cannot recreate them.
func (*Queries) FindGuestShareRequest ¶
func (q *Queries) FindGuestShareRequest(ctx context.Context, arg FindGuestShareRequestParams) (ControlShare, error)
func (*Queries) FindInvitationTeamByTokenDigest ¶
func (*Queries) FindManagedDomain ¶
func (q *Queries) FindManagedDomain(ctx context.Context) (ControlDomain, error)
func (*Queries) FindOIDCIdentity ¶
func (q *Queries) FindOIDCIdentity(ctx context.Context, arg FindOIDCIdentityParams) (ControlIdentity, error)
func (*Queries) FindPublisherAllocation ¶
func (q *Queries) FindPublisherAllocation(ctx context.Context, arg FindPublisherAllocationParams) (ControlPublisherNamespaceAllocation, error)
func (*Queries) FindSeedTeam ¶
func (*Queries) FindServiceInvitationRequest ¶
func (q *Queries) FindServiceInvitationRequest(ctx context.Context, arg FindServiceInvitationRequestParams) (ControlServiceInvitation, error)
the caller rechecks current management before recovering metadata, never secrets.
func (*Queries) FindShareRequest ¶
func (q *Queries) FindShareRequest(ctx context.Context, arg FindShareRequestParams) (ControlShare, error)
func (*Queries) FinishGuestServiceRun ¶
func (*Queries) FinishInvitationEmail ¶
func (*Queries) ForgetExpiredGuestCredentials ¶
func (*Queries) ForgetExpiredGuestServiceConfigurations ¶
func (q *Queries) ForgetExpiredGuestServiceConfigurations(ctx context.Context, arg ForgetExpiredGuestServiceConfigurationsParams) (int64, error)
terminal allocation keys/digests remain; targets and declarations do not.
func (*Queries) ForgetOldGuestIssuanceDigests ¶
func (*Queries) GetACMEAccountByDirectory ¶
func (*Queries) GetACMEOrder ¶
func (*Queries) GetActiveShareForService ¶
func (q *Queries) GetActiveShareForService(ctx context.Context, arg GetActiveShareForServiceParams) (ControlShare, error)
func (*Queries) GetAdminRuntimeCounts ¶
func (q *Queries) GetAdminRuntimeCounts(ctx context.Context, now pgtype.Timestamptz) (GetAdminRuntimeCountsRow, error)
func (*Queries) GetAppliedProject ¶
func (q *Queries) GetAppliedProject(ctx context.Context, arg GetAppliedProjectParams) (ControlAppliedProject, error)
func (*Queries) GetCompanyAuthenticationDeadline ¶
func (*Queries) GetCompanyEligibility ¶
func (q *Queries) GetCompanyEligibility(ctx context.Context, arg GetCompanyEligibilityParams) (ControlCompanyEligibility, error)
func (*Queries) GetConnectorPeerPairForOwner ¶
func (q *Queries) GetConnectorPeerPairForOwner(ctx context.Context, arg GetConnectorPeerPairForOwnerParams) (ControlConnectorPeerPair, error)
func (*Queries) GetConnectorPeerPendingBinding ¶
func (*Queries) GetControlSessionByAccessID ¶
func (*Queries) GetCurrentIdentityConnection ¶
func (*Queries) GetCustomDomainByIdempotency ¶
func (q *Queries) GetCustomDomainByIdempotency(ctx context.Context, arg GetCustomDomainByIdempotencyParams) (GetCustomDomainByIdempotencyRow, error)
func (*Queries) GetDNSAuthority ¶
func (*Queries) GetDNSChallengeChange ¶
func (q *Queries) GetDNSChallengeChange(ctx context.Context, arg GetDNSChallengeChangeParams) (GetDNSChallengeChangeRow, error)
func (*Queries) GetDNSChallengeSubject ¶
func (q *Queries) GetDNSChallengeSubject(ctx context.Context, arg GetDNSChallengeSubjectParams) (GetDNSChallengeSubjectRow, error)
func (*Queries) GetDeploymentManagementGrant ¶
func (*Queries) GetDeploymentPublisherStatus ¶
func (q *Queries) GetDeploymentPublisherStatus(ctx context.Context, arg GetDeploymentPublisherStatusParams) (GetDeploymentPublisherStatusRow, error)
func (*Queries) GetDeploymentServiceConfiguration ¶
func (*Queries) GetFeedbackService ¶
func (*Queries) GetGuestTrialByCredentialID ¶
func (*Queries) GetGuestTrialByID ¶
func (*Queries) GetIdentityContextIdentity ¶
func (*Queries) GetIdentityTeam ¶
func (q *Queries) GetIdentityTeam(ctx context.Context, arg GetIdentityTeamParams) (GetIdentityTeamRow, error)
func (*Queries) GetIdentityTeamDomainRelease ¶
func (q *Queries) GetIdentityTeamDomainRelease(ctx context.Context, arg GetIdentityTeamDomainReleaseParams) (GetIdentityTeamDomainReleaseRow, error)
func (*Queries) GetIngressLease ¶
func (q *Queries) GetIngressLease(ctx context.Context, arg GetIngressLeaseParams) (ControlIngressLease, error)
func (*Queries) GetIngressPool ¶
func (*Queries) GetIngressServingLease ¶
func (q *Queries) GetIngressServingLease(ctx context.Context, arg GetIngressServingLeaseParams) (ControlIngressLease, error)
func (*Queries) GetInvitationByIdempotency ¶
func (q *Queries) GetInvitationByIdempotency(ctx context.Context, arg GetInvitationByIdempotencyParams) (GetInvitationByIdempotencyRow, error)
func (*Queries) GetLocalProjectService ¶
func (q *Queries) GetLocalProjectService(ctx context.Context, arg GetLocalProjectServiceParams) (GetLocalProjectServiceRow, error)
func (*Queries) GetManagedCertificateDomainKind ¶
func (*Queries) GetOpenServiceRecoveryEpisode ¶
func (*Queries) GetOrganizationTeamByIdempotency ¶
func (q *Queries) GetOrganizationTeamByIdempotency(ctx context.Context, arg GetOrganizationTeamByIdempotencyParams) (GetOrganizationTeamByIdempotencyRow, error)
func (*Queries) GetPreview ¶
func (*Queries) GetPrivateDNSChallengeContext ¶
func (q *Queries) GetPrivateDNSChallengeContext(ctx context.Context, arg GetPrivateDNSChallengeContextParams) (GetPrivateDNSChallengeContextRow, error)
func (*Queries) GetPublisherAccess ¶
func (*Queries) GetPublisherAllocation ¶
func (*Queries) GetPublisherDomain ¶
func (q *Queries) GetPublisherDomain(ctx context.Context, arg GetPublisherDomainParams) (ControlDomain, error)
publisher checks may already hold a service lock. never acquire a domain lock afterward: authority mutations hold team -> domain -> service. a snapshot read permits the heartbeat to commit before a waiting release closes its run.
func (*Queries) GetPublisherGrant ¶
func (q *Queries) GetPublisherGrant(ctx context.Context, arg GetPublisherGrantParams) (ControlPublisherGrant, error)
func (*Queries) GetPublisherKey ¶
func (q *Queries) GetPublisherKey(ctx context.Context, arg GetPublisherKeyParams) (ControlPublisherIdentityKey, error)
func (*Queries) GetPublisherRuntime ¶
func (*Queries) GetRelayDNSChallengeContext ¶
func (*Queries) GetRelayLeaseForClaim ¶
func (q *Queries) GetRelayLeaseForClaim(ctx context.Context, relayID string) (GetRelayLeaseForClaimRow, error)
claims and readiness share the relay-service guard across processes. claims take NO KEY UPDATE on the selected lease to serialize capacity with other claims, renewal, and drain. readiness takes compatible KEY SHARE because it uses an existing reservation. service guards precede lease rows.
func (*Queries) GetRelayLeaseForReady ¶
func (q *Queries) GetRelayLeaseForReady(ctx context.Context, relayID string) (GetRelayLeaseForReadyRow, error)
keep the service guard through routing publication so registration cannot replace the relay process between readiness and the published projection. KEY SHARE does not block claims or other readiness work. renewal or drain may overlap; readiness checks its lease, and projection reads exclude drained leases.
func (*Queries) GetRelayTransportCertificate ¶
func (q *Queries) GetRelayTransportCertificate(ctx context.Context, arg GetRelayTransportCertificateParams) (ControlRelayService, error)
func (*Queries) GetService ¶
func (*Queries) GetServiceCertificateOrderByCSR ¶
func (q *Queries) GetServiceCertificateOrderByCSR(ctx context.Context, arg GetServiceCertificateOrderByCSRParams) (ControlAcmeOrder, error)
func (*Queries) GetServiceCertificateRequest ¶
func (q *Queries) GetServiceCertificateRequest(ctx context.Context, arg GetServiceCertificateRequestParams) (ControlServiceCertificateRequest, error)
func (*Queries) GetServiceConfiguration ¶
func (q *Queries) GetServiceConfiguration(ctx context.Context, serviceID string) (GetServiceConfigurationRow, error)
local normalization uses the logical service key, not its generated saved name.
func (*Queries) GetServiceCreationRequest ¶
func (q *Queries) GetServiceCreationRequest(ctx context.Context, arg GetServiceCreationRequestParams) (GetServiceCreationRequestRow, error)
func (*Queries) GetServiceRunPublisherIdentity ¶
func (q *Queries) GetServiceRunPublisherIdentity(ctx context.Context, arg GetServiceRunPublisherIdentityParams) ([]byte, error)
starting a run requires its exact authenticated publisher, grant and key.
func (*Queries) GetServiceSource ¶
func (*Queries) GetTeamActorContext ¶
func (q *Queries) GetTeamActorContext(ctx context.Context, arg GetTeamActorContextParams) (GetTeamActorContextRow, error)
func (*Queries) GetTeamMembershipContext ¶
func (q *Queries) GetTeamMembershipContext(ctx context.Context, arg GetTeamMembershipContextParams) (GetTeamMembershipContextRow, error)
func (*Queries) GetTeamNaming ¶
func (*Queries) GetVisitorParentSession ¶
func (*Queries) GetVisitorPolicyRevision ¶
func (*Queries) GetWorkloadSession ¶
func (*Queries) GuestForService ¶
func (*Queries) GuestNamespaceReserved ¶
func (*Queries) GuestOwnsService ¶
func (*Queries) GuestRunAllowanceSpent ¶
func (*Queries) GuestServiceServingDeadline ¶
func (q *Queries) GuestServiceServingDeadline(ctx context.Context, arg GuestServiceServingDeadlineParams) (pgtype.Timestamptz, error)
preparation observations do not grant visitor permission or spend ready time.
func (*Queries) HasRetainedConnectorPeerPair ¶
func (q *Queries) HasRetainedConnectorPeerPair(ctx context.Context, arg HasRetainedConnectorPeerPairParams) (bool, error)
the exact run token grants negative reads only while an existing window remains.
func (*Queries) HasTeamMembershipHistory ¶
func (*Queries) HasVisitorPolicyRegisteredKeyCandidates ¶
func (*Queries) IngressRegistrationDrainExpired ¶
func (q *Queries) IngressRegistrationDrainExpired(ctx context.Context, arg IngressRegistrationDrainExpiredParams) (bool, error)
a refused upsert retains the lease row lock. distinguish only its expired same-run drain from configuration conflicts and another live process.
func (*Queries) InitializeConnectorPeerSession ¶
func (q *Queries) InitializeConnectorPeerSession(ctx context.Context, arg InitializeConnectorPeerSessionParams) (ControlConnectorPeerPair, error)
func (*Queries) InsertAdminAuditEvent ¶
func (q *Queries) InsertAdminAuditEvent(ctx context.Context, arg InsertAdminAuditEventParams) error
func (*Queries) InsertCertificateIssuanceAuditEvent ¶
func (q *Queries) InsertCertificateIssuanceAuditEvent(ctx context.Context, arg InsertCertificateIssuanceAuditEventParams) error
func (*Queries) InsertCompanyAccessAudit ¶
func (q *Queries) InsertCompanyAccessAudit(ctx context.Context, arg InsertCompanyAccessAuditParams) error
func (*Queries) InsertCompanySessionContext ¶
func (q *Queries) InsertCompanySessionContext(ctx context.Context, arg InsertCompanySessionContextParams) error
func (*Queries) InsertConnectorPeerPair ¶
func (q *Queries) InsertConnectorPeerPair(ctx context.Context, arg InsertConnectorPeerPairParams) (ControlConnectorPeerPair, error)
func (*Queries) InsertConnectorPeerPendingBinding ¶
func (q *Queries) InsertConnectorPeerPendingBinding(ctx context.Context, arg InsertConnectorPeerPendingBindingParams) (ControlConnectorPeerPendingBinding, error)
the following positive statements replace the operation owners' inline SQL after normal generation. storage guards fence those inline writers meanwhile.
func (*Queries) InsertDeviceLogin ¶
func (*Queries) InsertGuestTrial ¶
func (q *Queries) InsertGuestTrial(ctx context.Context, arg InsertGuestTrialParams) (ControlGuestTrial, error)
func (*Queries) InsertPublisherAccess ¶
func (q *Queries) InsertPublisherAccess(ctx context.Context, arg InsertPublisherAccessParams) error
func (*Queries) InsertPublisherAllocation ¶
func (q *Queries) InsertPublisherAllocation(ctx context.Context, arg InsertPublisherAllocationParams) error
func (*Queries) InsertPublisherEnrollment ¶
func (q *Queries) InsertPublisherEnrollment(ctx context.Context, arg InsertPublisherEnrollmentParams) (ControlPublisherEnrollment, error)
func (*Queries) InsertPublisherGrant ¶
func (q *Queries) InsertPublisherGrant(ctx context.Context, arg InsertPublisherGrantParams) (ControlPublisherGrant, error)
func (*Queries) InsertPublisherIdentity ¶
func (q *Queries) InsertPublisherIdentity(ctx context.Context, arg InsertPublisherIdentityParams) (ControlPublisherIdentity, error)
func (*Queries) InsertPublisherKey ¶
func (q *Queries) InsertPublisherKey(ctx context.Context, arg InsertPublisherKeyParams) error
func (*Queries) InsertRelayCertificateOrder ¶
func (q *Queries) InsertRelayCertificateOrder(ctx context.Context, arg InsertRelayCertificateOrderParams) (ControlRelayCertificateOrder, error)
func (*Queries) InsertService ¶
func (q *Queries) InsertService(ctx context.Context, arg InsertServiceParams) (ControlService, error)
func (*Queries) InsertServiceAuditEvents ¶
func (q *Queries) InsertServiceAuditEvents(ctx context.Context, arg InsertServiceAuditEventsParams) ([]string, error)
earlier owners are already locked in order. take the final owner's clock before allocating a cursor; the arrays have one element per event.
func (*Queries) InsertServiceCertificateOrder ¶
func (q *Queries) InsertServiceCertificateOrder(ctx context.Context, arg InsertServiceCertificateOrderParams) (ControlAcmeOrder, error)
func (*Queries) InsertServiceCertificateRequest ¶
func (q *Queries) InsertServiceCertificateRequest(ctx context.Context, arg InsertServiceCertificateRequestParams) error
func (*Queries) InsertServiceConnectionSlot ¶
func (q *Queries) InsertServiceConnectionSlot(ctx context.Context, arg InsertServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
func (*Queries) InsertServiceCreationRequest ¶
func (q *Queries) InsertServiceCreationRequest(ctx context.Context, arg InsertServiceCreationRequestParams) error
func (*Queries) InsertServiceGrant ¶
func (q *Queries) InsertServiceGrant(ctx context.Context, arg InsertServiceGrantParams) (ControlVisitorGrant, error)
func (*Queries) InsertServiceHTTPBrowserHandoff ¶
func (q *Queries) InsertServiceHTTPBrowserHandoff(ctx context.Context, arg InsertServiceHTTPBrowserHandoffParams) error
func (*Queries) InsertServiceHTTPBrowserLogin ¶
func (q *Queries) InsertServiceHTTPBrowserLogin(ctx context.Context, arg InsertServiceHTTPBrowserLoginParams) error
func (*Queries) InsertServiceHTTPBrowserSession ¶
func (q *Queries) InsertServiceHTTPBrowserSession(ctx context.Context, arg InsertServiceHTTPBrowserSessionParams) error
func (*Queries) InsertServiceHTTPGrant ¶
func (q *Queries) InsertServiceHTTPGrant(ctx context.Context, arg InsertServiceHTTPGrantParams) error
func (*Queries) InsertServiceInvitation ¶
func (q *Queries) InsertServiceInvitation(ctx context.Context, arg InsertServiceInvitationParams) (ControlServiceInvitation, error)
func (*Queries) InsertShareCookie ¶
func (*Queries) InsertShareHandoff ¶
func (*Queries) InvalidateDeploymentPublisherRuntimeHealth ¶
func (*Queries) LimitConnectorPeerPair ¶
func (q *Queries) LimitConnectorPeerPair(ctx context.Context, arg LimitConnectorPeerPairParams) (ControlConnectorPeerPair, error)
an uncertain delivery retry may only shorten the existing deadline.
func (*Queries) LimitConnectorPeerPendingForClaim ¶
func (*Queries) LimitConnectorPeerPreparedForClaim ¶
func (q *Queries) LimitConnectorPeerPreparedForClaim(ctx context.Context, arg LimitConnectorPeerPreparedForClaimParams) error
a fresh claim may shorten a prior installation, never silently grow it.
func (*Queries) LimitGuestServiceRunExpiry ¶
func (q *Queries) LimitGuestServiceRunExpiry(ctx context.Context, arg LimitGuestServiceRunExpiryParams) (ControlServiceRun, error)
func (*Queries) ListACMEOrderAuthorizations ¶
func (*Queries) ListAdminRelayLeases ¶
func (q *Queries) ListAdminRelayLeases(ctx context.Context, arg ListAdminRelayLeasesParams) ([]ListAdminRelayLeasesRow, error)
func (*Queries) ListAppliedProjectServices ¶
func (q *Queries) ListAppliedProjectServices(ctx context.Context, arg ListAppliedProjectServicesParams) ([]ControlAppliedProjectService, error)
func (*Queries) ListAuthorizedDeployments ¶
func (q *Queries) ListAuthorizedDeployments(ctx context.Context, arg ListAuthorizedDeploymentsParams) ([]ControlDeployment, error)
func (*Queries) ListAvailableServices ¶
func (q *Queries) ListAvailableServices(ctx context.Context, arg ListAvailableServicesParams) ([]ListAvailableServicesRow, error)
connector candidates already have native identity permission. public HTTP candidates are authorized by the existing HTTP permission owner before paging. keep offline services, bound each scan, and never select publisher-only trust.
func (*Queries) ListConnectorPeerPairCandidates ¶
func (q *Queries) ListConnectorPeerPairCandidates(ctx context.Context, arg ListConnectorPeerPairCandidatesParams) ([]ListConnectorPeerPairCandidatesRow, error)
candidates convey no delivery authority. the publisher checks each delivery separately after the exact relay claims have been accepted.
func (*Queries) ListCurrentDomainNames ¶
func (*Queries) ListDNSChallengePresentations ¶
func (*Queries) ListDeploymentManagementDeployments ¶
func (*Queries) ListDeploymentManagementServices ¶
func (*Queries) ListDeploymentPublisherEnrollmentServices ¶
func (*Queries) ListDeploymentPublisherIDs ¶
func (*Queries) ListDeploymentPublisherServices ¶
func (*Queries) ListDeploymentPublisherStatus ¶
func (q *Queries) ListDeploymentPublisherStatus(ctx context.Context, arg ListDeploymentPublisherStatusParams) ([]ListDeploymentPublisherStatusRow, error)
func (*Queries) ListDeploymentServiceConfigurations ¶
func (*Queries) ListDeployments ¶
func (q *Queries) ListDeployments(ctx context.Context, arg ListDeploymentsParams) ([]ControlDeployment, error)
func (*Queries) ListDiscoverablePreviews ¶
func (q *Queries) ListDiscoverablePreviews(ctx context.Context, arg ListDiscoverablePreviewsParams) ([]ListDiscoverablePreviewsRow, error)
func (*Queries) ListDiscoverableProjects ¶
func (q *Queries) ListDiscoverableProjects(ctx context.Context, arg ListDiscoverableProjectsParams) ([]ListDiscoverableProjectsRow, error)
func (*Queries) ListIdentityMembershipContexts ¶
func (*Queries) ListIdentityTeamDomains ¶
func (q *Queries) ListIdentityTeamDomains(ctx context.Context, arg ListIdentityTeamDomainsParams) ([]ListIdentityTeamDomainsRow, error)
func (*Queries) ListIdentityTeams ¶
func (*Queries) ListIngressServiceRelays ¶
func (q *Queries) ListIngressServiceRelays(ctx context.Context, arg ListIngressServiceRelaysParams) ([]ListIngressServiceRelaysRow, error)
func (*Queries) ListIngressServiceRuns ¶
func (q *Queries) ListIngressServiceRuns(ctx context.Context, arg ListIngressServiceRunsParams) ([]ListIngressServiceRunsRow, error)
only recompute permission and DNS for runs with changed inputs. membership eligibility may expire without changing a row or the grant's own deadline.
func (*Queries) ListLiveIngressRuns ¶
func (q *Queries) ListLiveIngressRuns(ctx context.Context, arg ListLiveIngressRunsParams) ([]ListLiveIngressRunsRow, error)
heartbeat deadlines and signing input always come from the current snapshot.
func (*Queries) ListMaintenanceControls ¶
func (q *Queries) ListMaintenanceControls(ctx context.Context) ([]ControlMaintenanceControl, error)
func (*Queries) ListOperatorNameserverHostnames ¶
func (*Queries) ListPreviewServices ¶
func (*Queries) ListProjectDeployments ¶
func (q *Queries) ListProjectDeployments(ctx context.Context, arg ListProjectDeploymentsParams) ([]ControlDeployment, error)
func (*Queries) ListProjectPublications ¶
func (q *Queries) ListProjectPublications(ctx context.Context, arg ListProjectPublicationsParams) ([]ListProjectPublicationsRow, error)
one row per open publication, or one row for an idle/unrealized resource. worktree bytes are encoded so separators cannot alias another cursor key.
func (*Queries) ListProjectServiceDeclarations ¶
func (q *Queries) ListProjectServiceDeclarations(ctx context.Context, arg ListProjectServiceDeclarationsParams) ([]ListProjectServiceDeclarationsRow, error)
func (*Queries) ListPublisherCertificateCheckpoints ¶
func (*Queries) ListPublisherGrants ¶
func (*Queries) ListPublisherIdentities ¶
func (q *Queries) ListPublisherIdentities(ctx context.Context, arg ListPublisherIdentitiesParams) ([]ControlPublisherIdentity, error)
func (*Queries) ListReadDependencyVersions ¶
func (*Queries) ListReadyShareServices ¶
func (q *Queries) ListReadyShareServices(ctx context.Context, arg ListReadyShareServicesParams) ([]ListReadyShareServicesRow, error)
aggregate replica runs before building one redirect per service hostname.
func (*Queries) ListRelayDNSChallengePresentations ¶
func (*Queries) ListRelayServiceAssignmentTotals ¶
func (q *Queries) ListRelayServiceAssignmentTotals(ctx context.Context) ([]ListRelayServiceAssignmentTotalsRow, error)
func (*Queries) ListServiceAuditEvents ¶
func (q *Queries) ListServiceAuditEvents(ctx context.Context, arg ListServiceAuditEventsParams) ([]ControlServiceAuditEvent, error)
func (*Queries) ListServiceAuditEventsByID ¶
func (*Queries) ListServiceAuditOwners ¶
func (*Queries) ListServiceConfigurations ¶
func (q *Queries) ListServiceConfigurations(ctx context.Context, serviceIds []string) ([]ListServiceConfigurationsRow, error)
service_id is unique on each binding. join it once rather than planning an existence subquery for every row of a batch, including single-service reads.
func (*Queries) ListServiceConnectionSlots ¶
func (*Queries) ListServiceConnectionSlotsNeedingReplacement ¶
func (q *Queries) ListServiceConnectionSlotsNeedingReplacement(ctx context.Context, arg ListServiceConnectionSlotsNeedingReplacementParams) ([]ListServiceConnectionSlotsNeedingReplacementRow, error)
replace expired never-ready claims even with a live relay lease. disabled services cannot accept their outstanding unclaimed assignments. ready slots retain ownership and streams while their matching lease is live.
func (*Queries) ListServiceGrants ¶
func (q *Queries) ListServiceGrants(ctx context.Context, arg ListServiceGrantsParams) ([]ControlVisitorGrant, error)
func (*Queries) ListServiceHTTPGrants ¶
func (*Queries) ListServiceInvitations ¶
func (q *Queries) ListServiceInvitations(ctx context.Context, arg ListServiceInvitationsParams) ([]ControlServiceInvitation, error)
func (*Queries) ListServiceReservationCandidates ¶
func (q *Queries) ListServiceReservationCandidates(ctx context.Context, arg ListServiceReservationCandidatesParams) ([]ControlService, error)
current exact namespace authority is checked under the team guard before this bounded point selection; it is never an administrator inventory fallback.
func (*Queries) ListServicesForTeam ¶
func (q *Queries) ListServicesForTeam(ctx context.Context, arg ListServicesForTeamParams) ([]ControlService, error)
func (*Queries) ListShareServices ¶
func (*Queries) ListShares ¶
func (q *Queries) ListShares(ctx context.Context, arg ListSharesParams) ([]ControlShare, error)
func (*Queries) ListTeamInvitations ¶
func (*Queries) ListTeamMembershipContexts ¶
func (q *Queries) ListTeamMembershipContexts(ctx context.Context, arg ListTeamMembershipContextsParams) ([]ListTeamMembershipContextsRow, error)
func (*Queries) ListTeamNamespaceLabels ¶
func (q *Queries) ListTeamNamespaceLabels(ctx context.Context, teamID string) ([]ListTeamNamespaceLabelsRow, error)
invitations and quarantined memberships still own their reserved namespaces.
func (*Queries) ListTeamShares ¶
func (q *Queries) ListTeamShares(ctx context.Context, arg ListTeamSharesParams) ([]ControlShare, error)
func (*Queries) ListWorkloadSessionServices ¶
func (*Queries) LockACMEOrder ¶
func (*Queries) LockAppliedProject ¶
func (q *Queries) LockAppliedProject(ctx context.Context, arg LockAppliedProjectParams) (ControlAppliedProject, error)
func (*Queries) LockCertificateIssuanceControl ¶
func (*Queries) LockCompanyLoginIntent ¶
func (*Queries) LockConnectorPeerPairForLegClaim ¶
func (*Queries) LockConnectorPeerRetirementGuest ¶
func (*Queries) LockConnectorPeerRetirementTeam ¶
func (q *Queries) LockConnectorPeerRetirementTeam(ctx context.Context, teamID string) (string, error)
use the existing owner guard without requiring current team authority.
func (*Queries) LockControlSessionByRefreshID ¶
func (*Queries) LockDNSAuthority ¶
func (*Queries) LockDNSAuthorityLocalDomain ¶
func (*Queries) LockDNSAuthorityLocalTeam ¶
func (*Queries) LockDeployment ¶
func (q *Queries) LockDeployment(ctx context.Context, arg LockDeploymentParams) (ControlDeployment, error)
func (*Queries) LockDeploymentByID ¶
func (*Queries) LockDeploymentPublisherEnrollment ¶
func (*Queries) LockDeviceLoginByCode ¶
func (*Queries) LockDeviceLoginByCredential ¶
func (*Queries) LockDeviceLoginByState ¶
func (*Queries) LockDeviceLoginCapacity ¶
func (*Queries) LockEligibleRelayLeases ¶
func (q *Queries) LockEligibleRelayLeases(ctx context.Context, arg LockEligibleRelayLeasesParams) ([]LockEligibleRelayLeasesRow, error)
func (*Queries) LockGuestTrialByID ¶
func (*Queries) LockIdentityBootstrap ¶
func (*Queries) LockIdentityConnection ¶
func (q *Queries) LockIdentityConnection(ctx context.Context, arg LockIdentityConnectionParams) (ControlIdentityConnection, error)
func (*Queries) LockIdentityForTeamCreation ¶
func (*Queries) LockIngressLease ¶
func (q *Queries) LockIngressLease(ctx context.Context, arg LockIngressLeaseParams) (ControlIngressLease, error)
func (*Queries) LockIngressPoolForProvision ¶
func (*Queries) LockIngressPoolMembership ¶
registration and the final ready transition serialize membership, without taking ingress lease locks beneath the public URL/run locks.
func (*Queries) LockInvitationByTokenDigest ¶
func (q *Queries) LockInvitationByTokenDigest(ctx context.Context, arg LockInvitationByTokenDigestParams) (LockInvitationByTokenDigestRow, error)
func (*Queries) LockLocalTeamForMutation ¶
local authority mutations lock the team before identities, memberships, domains, DNS authorities, and public URLs. recheck authorization under this transaction-held guard; hosted teams need no fabricated local rows. queue writers with publish run readers through the advisory lock: row-lock readers alone can bypass a waiting writer indefinitely.
func (*Queries) LockLocalTeamForSession ¶
publish run creation reads authority under this guard before locking its public URL. different public URLs may start together while team, role, or domain mutations wait. callers must not upgrade this guard by writing the team.
func (*Queries) LockMaintenanceControl ¶
func (*Queries) LockManagedDomainForClaim ¶
func (q *Queries) LockManagedDomainForClaim(ctx context.Context) (ControlDomain, error)
func (*Queries) LockPendingServiceInvitation ¶
func (q *Queries) LockPendingServiceInvitation(ctx context.Context, arg LockPendingServiceInvitationParams) (ControlServiceInvitation, error)
func (*Queries) LockPreviewForTeamAccess ¶
func (*Queries) LockPublisherEnrollment ¶
func (*Queries) LockPublisherIdentity ¶
func (*Queries) LockRelayServiceForCertificate ¶
func (*Queries) LockRelayServicesForPlacement ¶
func (*Queries) LockService ¶
func (*Queries) LockServiceAuditClock ¶
func (q *Queries) LockServiceAuditClock(ctx context.Context, arg LockServiceAuditClockParams) error
func (*Queries) LockServiceCertificateOrdersForConsumer ¶
func (q *Queries) LockServiceCertificateOrdersForConsumer(ctx context.Context, serviceRunID string) ([]string, error)
run closure holds its parent first. lock shared orders in stable order before taking a fresh consumer snapshot, so concurrent final closes cannot miss both.
func (*Queries) LockServiceHTTPBrowserSession ¶
func (*Queries) LockServiceRecoveryEpisode ¶
func (*Queries) LockServiceRun ¶
func (q *Queries) LockServiceRun(ctx context.Context, arg LockServiceRunParams) (ControlServiceRun, error)
func (*Queries) LockServiceRunFirstReadyEndpoint ¶
func (q *Queries) LockServiceRunFirstReadyEndpoint(ctx context.Context, arg LockServiceRunFirstReadyEndpointParams) (string, error)
guest first readiness retains DNS publication through the clock transition.
func (*Queries) LockServiceRunsForClose ¶
func (*Queries) LockTeamActorContext ¶
func (q *Queries) LockTeamActorContext(ctx context.Context, arg LockTeamActorContextParams) (LockTeamActorContextRow, error)
func (*Queries) LockTeamDomain ¶
func (q *Queries) LockTeamDomain(ctx context.Context, arg LockTeamDomainParams) (LockTeamDomainRow, error)
func (*Queries) LockTeamForInvitationAcceptance ¶
func (*Queries) LockTeamInvitation ¶
func (q *Queries) LockTeamInvitation(ctx context.Context, arg LockTeamInvitationParams) (LockTeamInvitationRow, error)
func (*Queries) LockTeamMembership ¶
func (q *Queries) LockTeamMembership(ctx context.Context, arg LockTeamMembershipParams) (LockTeamMembershipRow, error)
func (*Queries) LockVisitorControlSession ¶
func (*Queries) LockVisitorIdentity ¶
func (*Queries) LockVisitorTokenIssuer ¶
func (*Queries) LockVisitorTokenSigningAuthority ¶
func (q *Queries) LockVisitorTokenSigningAuthority(ctx context.Context) (ControlVisitorTokenKey, error)
func (*Queries) LockVisitorTokenSigningKey ¶
func (q *Queries) LockVisitorTokenSigningKey(ctx context.Context) (ControlVisitorTokenKey, error)
func (*Queries) LockWorkloadSession ¶
func (*Queries) LoginTeamRequiresCompany ¶
func (*Queries) MarkACMEOrderInstalled ¶
func (q *Queries) MarkACMEOrderInstalled(ctx context.Context, arg MarkACMEOrderInstalledParams) (ControlAcmeOrder, error)
func (*Queries) MarkCustomDomainReleasing ¶
func (*Queries) MarkDNSAuthorityReleasing ¶
func (*Queries) MarkGuestRunReady ¶
func (*Queries) MarkInvitationExpired ¶
func (*Queries) MarkSupersededRelayRunSigningKeys ¶
func (q *Queries) MarkSupersededRelayRunSigningKeys(ctx context.Context, arg MarkSupersededRelayRunSigningKeysParams) error
registration holds the lease row lock until this update commits. a matching old run clears its supersession only after it has passed lease and key checks.
func (*Queries) ObserveAppliedProject ¶
func (q *Queries) ObserveAppliedProject(ctx context.Context, arg ObserveAppliedProjectParams) (ControlAppliedProject, error)
func (*Queries) ObserveDeployment ¶
func (q *Queries) ObserveDeployment(ctx context.Context, arg ObserveDeploymentParams) (ControlDeployment, error)
func (*Queries) ObserveIdentityBootstrap ¶
func (*Queries) ObservePublisherEnrollmentService ¶
func (q *Queries) ObservePublisherEnrollmentService(ctx context.Context, id string) (ControlService, error)
redemption checks the approved service but only writes the enrollment and the new publisher. serialize with service edits, not sibling observations.
func (*Queries) ObserveServiceRecoveryEpisode ¶
func (q *Queries) ObserveServiceRecoveryEpisode(ctx context.Context, arg ObserveServiceRecoveryEpisodeParams) (ControlServiceRecoveryEpisode, error)
func (*Queries) ObserveServiceRun ¶
func (q *Queries) ObserveServiceRun(ctx context.Context, arg ObserveServiceRunParams) (ControlServiceRun, error)
func (*Queries) OpenServiceRecoveryEpisode ¶
func (q *Queries) OpenServiceRecoveryEpisode(ctx context.Context, arg OpenServiceRecoveryEpisodeParams) error
func (*Queries) OtherPreviewForTeamAccess ¶
func (*Queries) OtherTeamAccessForService ¶
func (*Queries) PrepareConnectorPeerRebind ¶
func (*Queries) PrepareServiceRun ¶
func (q *Queries) PrepareServiceRun(ctx context.Context, arg PrepareServiceRunParams) (ControlServiceRun, error)
caller locks the service, checks the live publisher grant and enrolled key, allocates one run number and captures its protocol and managed certificate plan. a retry with the same idempotency key returns the same prepared row. endpoint retirement does not revoke the saved connector identity. capture retained provenance only for this exact service, hostname and domain.
func (*Queries) PreviewInvitation ¶
func (q *Queries) PreviewInvitation(ctx context.Context, arg PreviewInvitationParams) (PreviewInvitationRow, error)
func (*Queries) PrunePublisherAccess ¶
func (q *Queries) PrunePublisherAccess(ctx context.Context, arg PrunePublisherAccessParams) error
func (*Queries) PrunePublisherAssertions ¶
func (q *Queries) PrunePublisherAssertions(ctx context.Context, arg PrunePublisherAssertionsParams) error
func (*Queries) PublisherRuntimeActive ¶
func (*Queries) PublisherScopeAvailable ¶
func (q *Queries) PublisherScopeAvailable(ctx context.Context, arg PublisherScopeAvailableParams) (bool, error)
this read does not lock resources after identities. service run transactions lock their saved service first and recheck the grant.
func (*Queries) PutCompanyEligibility ¶
func (q *Queries) PutCompanyEligibility(ctx context.Context, arg PutCompanyEligibilityParams) error
func (*Queries) QuarantineMemberSlug ¶
func (*Queries) ReadConnectorPeerBindingClaims ¶
func (q *Queries) ReadConnectorPeerBindingClaims(ctx context.Context, arg ReadConnectorPeerBindingClaimsParams) ([]ControlConnectorPeerPairLegClaim, error)
func (*Queries) ReadConnectorPeerClaimBounds ¶
func (*Queries) ReadConnectorPeerObservationRelayBounds ¶
func (q *Queries) ReadConnectorPeerObservationRelayBounds(ctx context.Context, arg ReadConnectorPeerObservationRelayBoundsParams) ([]ReadConnectorPeerObservationRelayBoundsRow, error)
relay leases are current-state recheck deadlines, not pair renewals.
func (*Queries) ReadConnectorPeerWatchVersions ¶
func (q *Queries) ReadConnectorPeerWatchVersions(ctx context.Context, runIds []string) ([]ReadConnectorPeerWatchVersionsRow, error)
called only for scopes whose change records differ, in the same snapshot.
func (*Queries) ReadPlacementAssignmentTotals ¶
func (*Queries) ReadPublisherGrant ¶
func (q *Queries) ReadPublisherGrant(ctx context.Context, arg ReadPublisherGrantParams) (ControlPublisherGrant, error)
func (*Queries) ReadPublisherIdentity ¶
func (*Queries) ReadPublisherPolicyConfirmation ¶
func (q *Queries) ReadPublisherPolicyConfirmation(ctx context.Context, arg ReadPublisherPolicyConfirmationParams) (ReadPublisherPolicyConfirmationRow, error)
confirm only ordinary scopes without time-dependent parents. every check, including the change bookmark, uses one statement snapshot.
func (*Queries) ReadRegisteredKeyWatchVersion ¶
func (q *Queries) ReadRegisteredKeyWatchVersion(ctx context.Context, serviceID string) (ReadRegisteredKeyWatchVersionRow, error)
an unbound service cannot gain a registered key from a change to another service's project. the binding counter survives removal and recreation.
func (*Queries) ReadRelayPlacementCandidates ¶
func (q *Queries) ReadRelayPlacementCandidates(ctx context.Context, now pgtype.Timestamptz) ([]ReadRelayPlacementCandidatesRow, error)
a ranking hint only. recheck the selected services and leases under lock.
func (*Queries) ReadServiceHTTPBrowserSession ¶
func (q *Queries) ReadServiceHTTPBrowserSession(ctx context.Context, arg ReadServiceHTTPBrowserSessionParams) (ReadServiceHTTPBrowserSessionRow, error)
func (*Queries) ReadServiceIPKey ¶
func (q *Queries) ReadServiceIPKey(ctx context.Context, arg ReadServiceIPKeyParams) (ReadServiceIPKeyRow, error)
func (*Queries) ReadVisitorPolicyEvents ¶
func (q *Queries) ReadVisitorPolicyEvents(ctx context.Context, arg ReadVisitorPolicyEventsParams) ([]ReadVisitorPolicyEventsRow, error)
func (*Queries) ReadVisitorPolicyRegisteredKeys ¶
func (q *Queries) ReadVisitorPolicyRegisteredKeys(ctx context.Context, arg ReadVisitorPolicyRegisteredKeysParams) ([]ReadVisitorPolicyRegisteredKeysRow, error)
func (*Queries) ReadVisitorPolicyRevision ¶
func (*Queries) ReadVisitorPolicyService ¶
func (*Queries) ReadVisitorTokenIssuer ¶
func (*Queries) ReadVisitorVerificationKeyRevision ¶
func (*Queries) ReadyServiceBrowserHosts ¶
func (q *Queries) ReadyServiceBrowserHosts(ctx context.Context, arg ReadyServiceBrowserHostsParams) ([]ReadyServiceBrowserHostsRow, error)
func (*Queries) ReadyServiceConnectionSlot ¶
func (q *Queries) ReadyServiceConnectionSlot(ctx context.Context, arg ReadyServiceConnectionSlotParams) (ControlServiceConnectionSlot, error)
func (*Queries) ReadyServiceRun ¶
func (q *Queries) ReadyServiceRun(ctx context.Context, arg ReadyServiceRunParams) (ControlServiceRun, error)
func (*Queries) RecentGuestTrialStats ¶
func (q *Queries) RecentGuestTrialStats(ctx context.Context, since pgtype.Timestamptz) (RecentGuestTrialStatsRow, error)
func (*Queries) RedeemPublisherEnrollment ¶
func (q *Queries) RedeemPublisherEnrollment(ctx context.Context, arg RedeemPublisherEnrollmentParams) error
func (*Queries) RedeemServiceHTTPBrowserHandoff ¶
func (q *Queries) RedeemServiceHTTPBrowserHandoff(ctx context.Context, arg RedeemServiceHTTPBrowserHandoffParams) (RedeemServiceHTTPBrowserHandoffRow, error)
func (*Queries) RegisterIngress ¶
func (q *Queries) RegisterIngress(ctx context.Context, arg RegisterIngressParams) (ControlIngressLease, error)
func (*Queries) RegisterRelay ¶
func (q *Queries) RegisterRelay(ctx context.Context, arg RegisterRelayParams) (RegisterRelayRow, error)
blocking relay-service operations take the transaction advisory guard before service and lease rows. row readers can bypass a waiting writer without this queue, starving registration, placement, or certificate updates. SKIP LOCKED certificate preparation and key rotation only take row locks; they must not wait for this guard while holding a row.
func (*Queries) ReleaseInvitedMemberSlug ¶
func (*Queries) RemoveProjectServiceDeclarations ¶
func (q *Queries) RemoveProjectServiceDeclarations(ctx context.Context, arg RemoveProjectServiceDeclarationsParams) error
func (*Queries) RemoveTeamMembership ¶
func (*Queries) RenewConnectorPeerPair ¶
func (q *Queries) RenewConnectorPeerPair(ctx context.Context, arg RenewConnectorPeerPairParams) (ControlConnectorPeerPair, error)
only a fresh signed renewal after the last successful authorization can extend the same pair; an expired row never regains serving authority.
func (*Queries) RenewIngress ¶
func (q *Queries) RenewIngress(ctx context.Context, arg RenewIngressParams) (ControlIngressLease, error)
func (*Queries) RenewPublisherRuntime ¶
func (q *Queries) RenewPublisherRuntime(ctx context.Context, arg RenewPublisherRuntimeParams) (ControlPublisherRuntime, error)
func (*Queries) RenewRelay ¶
func (q *Queries) RenewRelay(ctx context.Context, arg RenewRelayParams) (RenewRelayRow, error)
func (*Queries) RenewServiceRun ¶
func (q *Queries) RenewServiceRun(ctx context.Context, arg RenewServiceRunParams) (ControlServiceRun, error)
func (*Queries) ReplaceConnectorPeerPair ¶
func (*Queries) ReserveInvitedMemberSlug ¶
func (*Queries) ReserveManagedLabel ¶
func (*Queries) ResolveLoginTeam ¶
func (*Queries) RetainVisitorTokenSigningKey ¶
func (*Queries) RetireConnectorPeerAuditBindings ¶
func (*Queries) RetireConnectorPeerPair ¶
func (q *Queries) RetireConnectorPeerPair(ctx context.Context, arg RetireConnectorPeerPairParams) (ControlConnectorPeerPair, error)
the caller holds owner -> service -> run -> exact pair and verifies both proofs. terminal retries compare the stored digest; no upsert or deadline advance exists.
func (*Queries) RetirePublisherKey ¶
func (*Queries) RetireUnusedServiceCertificateOrder ¶
func (q *Queries) RetireUnusedServiceCertificateOrder(ctx context.Context, arg RetireUnusedServiceCertificateOrderParams) error
a captured, current plan is interest even before its sibling submits a CSR. publisher_service_permission remains the authority for service/grant/owner policy. serving_until is authority; shorter publisher liveness is not expiry.
func (*Queries) RetireVisitorTokenSigningKeys ¶
func (*Queries) RevokeControlSession ¶
func (*Queries) RevokeGuestShare ¶
func (q *Queries) RevokeGuestShare(ctx context.Context, arg RevokeGuestShareParams) (ControlShare, error)
func (*Queries) RevokePublisherGrant ¶
func (*Queries) RevokePublisherIdentity ¶
func (*Queries) RevokeServiceGrant ¶
func (*Queries) RevokeServiceHTTPBrowserSession ¶
func (q *Queries) RevokeServiceHTTPBrowserSession(ctx context.Context, arg RevokeServiceHTTPBrowserSessionParams) error
func (*Queries) RevokeServiceHTTPGrant ¶
func (*Queries) RevokeServiceInvitation ¶
func (*Queries) RevokeServiceInvitationGrant ¶
func (q *Queries) RevokeServiceInvitationGrant(ctx context.Context, arg RevokeServiceInvitationGrantParams) (int64, error)
caller revokes invitation and accepted grant in the same transaction.
func (*Queries) RevokeShare ¶
func (q *Queries) RevokeShare(ctx context.Context, arg RevokeShareParams) (ControlShare, error)
func (*Queries) RevokeTeamInvitation ¶
func (*Queries) RevokeVisitorTokenSigningKeys ¶
func (*Queries) RotateACMEAccountKey ¶
func (q *Queries) RotateACMEAccountKey(ctx context.Context, arg RotateACMEAccountKeyParams) error
func (*Queries) RotateControlSessionCredentials ¶
func (*Queries) RotateControlSessionRetrySecret ¶
func (q *Queries) RotateControlSessionRetrySecret(ctx context.Context, arg RotateControlSessionRetrySecretParams) error
func (*Queries) RotateRelayCertificateOrderPrivateKey ¶
func (q *Queries) RotateRelayCertificateOrderPrivateKey(ctx context.Context, arg RotateRelayCertificateOrderPrivateKeyParams) error
func (*Queries) RotateRelayServicePrivateKey ¶
func (q *Queries) RotateRelayServicePrivateKey(ctx context.Context, arg RotateRelayServicePrivateKeyParams) error
func (*Queries) RotateServiceHTTPBrowserSession ¶
func (q *Queries) RotateServiceHTTPBrowserSession(ctx context.Context, arg RotateServiceHTTPBrowserSessionParams) error
func (*Queries) SaveACMEAuthorizationWork ¶
func (q *Queries) SaveACMEAuthorizationWork(ctx context.Context, arg SaveACMEAuthorizationWorkParams) (ControlAcmeAuthorization, error)
func (*Queries) SaveACMEOrderWork ¶
func (q *Queries) SaveACMEOrderWork(ctx context.Context, arg SaveACMEOrderWorkParams) (ControlAcmeOrder, error)
func (*Queries) SaveConnectorPeerAuditBinding ¶
func (*Queries) SaveConnectorPeerPairLegClaim ¶
func (q *Queries) SaveConnectorPeerPairLegClaim(ctx context.Context, arg SaveConnectorPeerPairLegClaimParams) (string, error)
two rows maximum per binding. an uncertain response requires a fresh proof from the same observed source and the same relay process, never the old nonce.
func (*Queries) SaveConnectorPeerPendingPublisherProof ¶
func (*Queries) SaveConnectorPeerPublisherProof ¶
func (*Queries) SaveDNSAuthorityWork ¶
func (q *Queries) SaveDNSAuthorityWork(ctx context.Context, arg SaveDNSAuthorityWorkParams) (ControlDnsAuthority, error)
func (*Queries) SaveProjectServiceDeclaration ¶
func (q *Queries) SaveProjectServiceDeclaration(ctx context.Context, arg SaveProjectServiceDeclarationParams) error
func (*Queries) SaveRelayCertificateOrderWork ¶
func (q *Queries) SaveRelayCertificateOrderWork(ctx context.Context, arg SaveRelayCertificateOrderWorkParams) (ControlRelayCertificateOrder, error)
func (*Queries) SaveServiceEndpointDNSWork ¶
func (q *Queries) SaveServiceEndpointDNSWork(ctx context.Context, arg SaveServiceEndpointDNSWorkParams) (ControlServiceEndpoint, error)
func (*Queries) SeedAdministrator ¶
func (q *Queries) SeedAdministrator(ctx context.Context, arg SeedAdministratorParams) error
func (*Queries) SelectServiceForPublisher ¶
func (q *Queries) SelectServiceForPublisher(ctx context.Context, arg SelectServiceForPublisherParams) (ControlService, error)
current permission covers the selected service using the original grant.
func (*Queries) ServiceHTTPBrowserEndpoint ¶
func (q *Queries) ServiceHTTPBrowserEndpoint(ctx context.Context, arg ServiceHTTPBrowserEndpointParams) (ServiceHTTPBrowserEndpointRow, error)
func (*Queries) ServiceHTTPBrowserPermission ¶
func (q *Queries) ServiceHTTPBrowserPermission(ctx context.Context, arg ServiceHTTPBrowserPermissionParams) (ServiceHTTPBrowserPermissionRow, error)
func (*Queries) ServiceHTTPPreviewTeamPermission ¶
func (q *Queries) ServiceHTTPPreviewTeamPermission(ctx context.Context, arg ServiceHTTPPreviewTeamPermissionParams) (pgtype.Timestamptz, error)
func (*Queries) ServiceNamespaceOwnsHostname ¶
func (*Queries) ServicePortPoolCapacity ¶
func (q *Queries) ServicePortPoolCapacity(ctx context.Context) ([]ServicePortPoolCapacityRow, error)
func (*Queries) ServicePublicEndpointBinding ¶
func (*Queries) ServiceRunPublicEndpointReady ¶
func (q *Queries) ServiceRunPublicEndpointReady(ctx context.Context, arg ServiceRunPublicEndpointReadyParams) (ServiceRunPublicEndpointReadyRow, error)
the caller holds the service lock and validates the run's preparation facts. use current DNS, relay, and ingress facts without authorizing visitor access.
func (*Queries) SetDNSReadyDomainDefault ¶
func (*Queries) SetDomainAuthorityRevision ¶
func (q *Queries) SetDomainAuthorityRevision(ctx context.Context, arg SetDomainAuthorityRevisionParams) error
func (*Queries) SetIdentityInitialTeam ¶
func (q *Queries) SetIdentityInitialTeam(ctx context.Context, arg SetIdentityInitialTeamParams) error
func (*Queries) SetMaintenanceControl ¶
func (q *Queries) SetMaintenanceControl(ctx context.Context, arg SetMaintenanceControlParams) (ControlMaintenanceControl, error)
func (*Queries) SetPersonalTeamDefaultDomain ¶
func (q *Queries) SetPersonalTeamDefaultDomain(ctx context.Context, arg SetPersonalTeamDefaultDomainParams) error
func (*Queries) SetPreviewTeamAccess ¶
func (q *Queries) SetPreviewTeamAccess(ctx context.Context, arg SetPreviewTeamAccessParams) error
func (*Queries) SetServiceConfiguration ¶
func (*Queries) SetServiceEnabled ¶
func (q *Queries) SetServiceEnabled(ctx context.Context, arg SetServiceEnabledParams) (ControlService, error)
func (*Queries) SetTeamDefaultDomain ¶
func (*Queries) SetVisitorFeedbackPolicy ¶
func (q *Queries) SetVisitorFeedbackPolicy(ctx context.Context, arg SetVisitorFeedbackPolicyParams) error
func (*Queries) StartPublisherRuntime ¶
func (q *Queries) StartPublisherRuntime(ctx context.Context, arg StartPublisherRuntimeParams) (ControlPublisherRuntime, error)
func (*Queries) StopPublisherRuntime ¶
func (q *Queries) StopPublisherRuntime(ctx context.Context, arg StopPublisherRuntimeParams) (ControlPublisherRuntime, error)
func (*Queries) StoreRelayTransportCertificate ¶
func (q *Queries) StoreRelayTransportCertificate(ctx context.Context, arg StoreRelayTransportCertificateParams) (ControlRelayService, error)
func (*Queries) TeamMemberSlugReserved ¶
func (*Queries) TeamMembershipIdentityExists ¶
func (*Queries) TeamSharedNameInUse ¶
func (*Queries) UpdateACMEAccountRegistration ¶
func (q *Queries) UpdateACMEAccountRegistration(ctx context.Context, arg UpdateACMEAccountRegistrationParams) (ControlAcmeAccount, error)
func (*Queries) UpdateDeviceLogin ¶
func (q *Queries) UpdateDeviceLogin(ctx context.Context, arg UpdateDeviceLoginParams) error
func (*Queries) UpdateGuestServingAuthority ¶
func (q *Queries) UpdateGuestServingAuthority(ctx context.Context, arg UpdateGuestServingAuthorityParams) (pgtype.Timestamptz, error)
retain issued ready authority after closure so an offline owner cannot overlap its replacement. the run lock serializes readiness, heartbeat and settlement.
func (*Queries) UpdateLocalDomainForDNSAuthority ¶
func (q *Queries) UpdateLocalDomainForDNSAuthority(ctx context.Context, arg UpdateLocalDomainForDNSAuthorityParams) (UpdateLocalDomainForDNSAuthorityRow, error)
func (*Queries) UpdateMembershipRole ¶
func (*Queries) UpdateOIDCIdentity ¶
func (q *Queries) UpdateOIDCIdentity(ctx context.Context, arg UpdateOIDCIdentityParams) (ControlIdentity, error)
func (*Queries) UpdateServiceRecoveryHistogram ¶
func (q *Queries) UpdateServiceRecoveryHistogram(ctx context.Context, arg UpdateServiceRecoveryHistogramParams) error
func (*Queries) UpsertDNSChallengeChange ¶
func (q *Queries) UpsertDNSChallengeChange(ctx context.Context, arg UpsertDNSChallengeChangeParams) error
func (*Queries) ValidateServiceEndpointDNSWork ¶
func (q *Queries) ValidateServiceEndpointDNSWork(ctx context.Context, arg ValidateServiceEndpointDNSWorkParams) (bool, error)
use the same publication candidate as claim, including first-ready guests.
func (*Queries) ValidateVerifiedCompanyProof ¶
func (*Queries) VisitorCurrentMembership ¶
func (*Queries) VisitorFeedbackPolicy ¶
func (*Queries) VisitorPermission ¶
func (q *Queries) VisitorPermission(ctx context.Context, arg VisitorPermissionParams) (VisitorPermissionRow, error)
func (*Queries) VisitorTokenVerificationKeys ¶
func (q *Queries) VisitorTokenVerificationKeys(ctx context.Context, now pgtype.Timestamptz) ([]VisitorTokenVerificationKeysRow, error)
type ReadConnectorPeerClaimBoundsRow ¶
type ReadConnectorPeerClaimBoundsRow struct {
ConnectionSlot int16
CheckedAt pgtype.Timestamptz
ConfirmedUntil pgtype.Timestamptz
SourceDigest string
RelayID string
RelayRunID string
RelayLeaseRevision int64
}
type ReadConnectorPeerObservationRelayBoundsParams ¶
type ReadConnectorPeerObservationRelayBoundsParams struct {
ServiceRunID string
ServiceID string
Now pgtype.Timestamptz
}
type ReadConnectorPeerObservationRelayBoundsRow ¶
type ReadConnectorPeerObservationRelayBoundsRow struct {
ConnectionSlot int16
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type ReadPublisherPolicyConfirmationParams ¶
type ReadPublisherPolicyConfirmationParams struct {
MaxUntil pgtype.Timestamptz
RunID string
ServiceID string
RunNumber int64
}
type ReadServiceHTTPBrowserSessionParams ¶
type ReadServiceHTTPBrowserSessionParams struct {
CookieDigest []byte
ExpiresAt pgtype.Timestamptz
ServiceID string
Hostname string
}
type ReadServiceHTTPBrowserSessionRow ¶
type ReadServiceHTTPBrowserSessionRow struct {
TokenDigest []byte
ControlSessionID string
ParentControlSessionID pgtype.Text
RefreshCiphertext []byte
StorageKeyID string
ExpiresAt pgtype.Timestamptz
RevokedAt pgtype.Timestamptz
IdentityID string
DisplayName string
AccessExpiresAt pgtype.Timestamptz
RefreshExpiresAt pgtype.Timestamptz
ParentRevokedAt pgtype.Timestamptz
}
type ReadServiceIPKeyParams ¶
type ReadServiceIPKeyRow ¶
type ReadVisitorPolicyEventsRow ¶
type ReadVisitorPolicyEventsRow struct {
Revision int64
ChangedAt pgtype.Timestamptz
}
type ReadVisitorPolicyRegisteredKeysParams ¶
type ReadVisitorPolicyRegisteredKeysParams struct {
ServiceID string
AtTime pgtype.Timestamptz
}
type ReadVisitorPolicyRegisteredKeysRow ¶
type ReadVisitorPolicyRegisteredKeysRow struct {
GrantID string
KeyID string
PublicKey []byte
ExpiresAt pgtype.Timestamptz
}
type ReadyServiceBrowserHostsParams ¶
type ReadyServiceBrowserHostsParams struct {
Now pgtype.Timestamptz
ServiceID string
PreviewID string
}
type ReadyServiceConnectionSlotParams ¶
type ReadyServiceConnectionSlotParams struct {
PublisherConnectionID string
ConnectionAssignmentRevision int64
Now pgtype.Timestamptz
}
type ReadyServiceRunParams ¶
type ReadyServiceRunParams struct {
Now pgtype.Timestamptz
ID string
RunNumber int64
ServiceID string
}
type RegisterIngressParams ¶
type RegisterIngressParams struct {
Region string
IngressID string
IngressRunID string
ProtocolVersion int64
ConnectionCapacity int64
IngressPoolID string
Https bool
ServicePortRanges pgtype.Multirange[pgtype.Range[pgtype.Int4]]
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
}
type RegisterRelayParams ¶
type RegisterRelayParams struct {
RelayServiceID string
Region string
RelayAddress string
TlsServerName string
RegisteredAt pgtype.Timestamptz
RelayID string
RelayRunID string
PeerSigningPublicKey []byte
ProtocolVersion int64
InternalRelayAddress string
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
}
type RegisterRelayRow ¶
type RegisterRelayRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type ReleaseInvitedMemberSlugParams ¶
type ReleaseInvitedMemberSlugParams struct {
ReleasedAt pgtype.Timestamptz
SlugReservationID string
}
type RenewConnectorPeerPairParams ¶
type RenewConnectorPeerPairParams struct {
AuthorityExpiresAt pgtype.Timestamptz
Now pgtype.Timestamptz
RequestAt pgtype.Timestamptz
RenewalDigest []byte
ID string
}
type RenewIngressParams ¶
type RenewIngressParams struct {
ReportedConnections int64
RenewedAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
IngressID string
IngressRunID string
IngressLeaseRevision int64
}
type RenewPublisherRuntimeParams ¶
type RenewPublisherRuntimeParams struct {
AddressFamily string
Now pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
PublisherIdentityID string
ProcessRunID string
Epoch int64
}
type RenewRelayParams ¶
type RenewRelayParams struct {
ReportedConnections int64
ReportedStreams int64
RenewedAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
RelayServiceID string
RelayID string
RelayRunID string
RelayLeaseRevision int64
}
type RenewRelayRow ¶
type RenewRelayRow struct {
Region string
PeerSigningPublicKey []byte
ID int64
RelayID string
RelayServiceID string
RelayRunID string
RelayLeaseRevision int64
ProtocolVersion int64
InternalRelayAddress string
ObservedAddress *netip.Addr
InternalNetworks []netip.Prefix
ConnectionCapacity int64
StreamCapacity int64
ReportedConnections int64
ReportedStreams int64
Draining bool
DrainDeadline pgtype.Timestamptz
RegisteredAt pgtype.Timestamptz
RenewedAt pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
RelayAddress string
TlsServerName string
}
type RenewServiceRunParams ¶
type RenewServiceRunParams struct {
PublisherExpiresAt pgtype.Timestamptz
Healthy bool
StreamCapacity int32
ReportedStreams int32
ServingObservedAt pgtype.Timestamptz
ServingUntil pgtype.Timestamptz
ID string
RunNumber int64
ServiceID string
RunTokenDigest []byte
Now pgtype.Timestamptz
}
type ReserveManagedLabelParams ¶
type ReserveManagedLabelParams struct {
Label string
CreatedAt pgtype.Timestamptz
}
type RetainVisitorTokenSigningKeyParams ¶
type RetainVisitorTokenSigningKeyParams struct {
ExpiresAt pgtype.Timestamptz
ID string
}
type RetireConnectorPeerAuditBindingsParams ¶
type RetireConnectorPeerAuditBindingsParams struct {
Now pgtype.Timestamptz
PairID string
}
type RetirePublisherKeyParams ¶
type RetirePublisherKeyParams struct {
Now pgtype.Timestamptz
ID string
}
type RetireUnusedServiceCertificateOrderParams ¶
type RetireUnusedServiceCertificateOrderParams struct {
Now pgtype.Timestamptz
IssuanceID string
}
type RevokeControlSessionParams ¶
type RevokeControlSessionParams struct {
RevokedAt pgtype.Timestamptz
RevokedBy pgtype.Text
ID string
}
type RevokeGuestShareParams ¶
type RevokeGuestShareParams struct {
}
type RevokePublisherGrantParams ¶
type RevokePublisherGrantParams struct {
Now pgtype.Timestamptz
ID string
PublisherIdentityID string
}
type RevokePublisherIdentityParams ¶
type RevokePublisherIdentityParams struct {
Now pgtype.Timestamptz
ID string
TeamID pgtype.Text
}
type RevokeServiceGrantParams ¶
type RevokeServiceGrantParams struct {
Now pgtype.Timestamptz
ID string
ServiceID pgtype.Text
}
type RevokeServiceHTTPBrowserSessionParams ¶
type RevokeServiceHTTPBrowserSessionParams struct {
Now pgtype.Timestamptz
CookieDigest []byte
ServiceID string
Hostname string
}
type RevokeServiceHTTPGrantParams ¶
type RevokeServiceHTTPGrantParams struct {
Now pgtype.Timestamptz
ID string
ServiceID string
}
type RevokeServiceInvitationParams ¶
type RevokeServiceInvitationParams struct {
Now pgtype.Timestamptz
ID string
ServiceID string
}
type RevokeShareParams ¶
type RevokeShareParams struct {
}
type RevokeTeamInvitationParams ¶
type RevokeTeamInvitationParams struct {
RevokedAt pgtype.Timestamptz
IdentityID pgtype.Text
InvitationID string
}
type RotateControlSessionCredentialsParams ¶
type RotateControlSessionCredentialsParams struct {
AccessTokenID string
AccessTokenDigest []byte
AccessExpiresAt pgtype.Timestamptz
RefreshTokenID string
RefreshTokenDigest []byte
RefreshedAt pgtype.Timestamptz
ID string
}
type SaveACMEAuthorizationWorkParams ¶
type SaveACMEAuthorizationWorkParams struct {
ID string
OrderID string
Identifier string
AuthorizationUrl string
ChallengeType pgtype.Text
ChallengeUrl pgtype.Text
ChallengeToken pgtype.Text
ChallengeDigest []byte
PresentationReference pgtype.Text
State string
AuthorizationRevision int64
Attempts int64
AvailableAt pgtype.Timestamptz
PresentedAt pgtype.Timestamptz
ValidatedAt pgtype.Timestamptz
CleanupCompletedAt pgtype.Timestamptz
ExpiresAt pgtype.Timestamptz
LastError pgtype.Text
CreatedAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
ExpectedAuthorizationRevision int64
}
type SaveACMEOrderWorkParams ¶
type SaveACMEOrderWorkParams struct {
State string
OrderUrl pgtype.Text
FinalizeUrl pgtype.Text
FinalizationPossible bool
CertificateUrl pgtype.Text
CertificatePem []byte
NotBefore pgtype.Timestamptz
NotAfter pgtype.Timestamptz
RenewAt pgtype.Timestamptz
AvailableAt pgtype.Timestamptz
LastError pgtype.Text
CompletedAt pgtype.Timestamptz
IssuanceID string
WorkOwner pgtype.Text
WorkEpoch int64
ExpectedOrderRevision int64
}
type SaveConnectorPeerPairLegClaimParams ¶
type SaveConnectorPeerPairLegClaimParams struct {
PairID string
ConnectionSlot int16
RequestedAt pgtype.Timestamptz
NonceDigest []byte
SourceDigest string
SourceCiphertext []byte
SourceStorageKeyID string
RelayID string
RelayRunID string
RelayLeaseRevision int64
CheckedAt pgtype.Timestamptz
ConfirmedUntil pgtype.Timestamptz
DeliveryGeneration int64
}
type SaveConnectorPeerPendingPublisherProofParams ¶
type SaveConnectorPeerPendingPublisherProofParams struct {
ProvedUntil pgtype.Timestamptz
ProofDigest []byte
PairID string
}
type SaveConnectorPeerPublisherProofParams ¶
type SaveConnectorPeerPublisherProofParams struct {
ProvedUntil pgtype.Timestamptz
ProofDigest []byte
PairID string
}
type SaveDNSAuthorityWorkParams ¶
type SaveDNSAuthorityWorkParams struct {
ProviderZoneID pgtype.Text
State string
Nameservers []string
ClaimProofVerifiedAt pgtype.Timestamptz
AvailableAt pgtype.Timestamptz
LastError pgtype.Text
CompletedAt pgtype.Timestamptz
AuthorityReference string
WorkOwner pgtype.Text
WorkEpoch int64
ExpectedWorkRevision int64
}
type SaveRelayCertificateOrderWorkParams ¶
type SaveRelayCertificateOrderWorkParams struct {
State string
OrderUrl pgtype.Text
FinalizeUrl pgtype.Text
CertificateUrl pgtype.Text
AuthorizationUrl pgtype.Text
AuthorizationExpiresAt pgtype.Timestamptz
ChallengeUrl pgtype.Text
ChallengeToken pgtype.Text
ChallengeDigest []byte
PresentationReference pgtype.Text
CertificatePem []byte
NotBefore pgtype.Timestamptz
NotAfter pgtype.Timestamptz
RenewAt pgtype.Timestamptz
AvailableAt pgtype.Timestamptz
LastError pgtype.Text
CompletedAt pgtype.Timestamptz
OrderID string
WorkOwner pgtype.Text
WorkEpoch int64
ExpectedOrderRevision int64
}
type SeedAdministratorParams ¶
type SeedAdministratorParams struct {
IdentityID string
SeedKey string
AppliedAt pgtype.Timestamptz
}
type SelectServiceForPublisherParams ¶
type SelectServiceForPublisherParams struct {
ServiceID string
PublisherIdentityID string
PublisherGrantID string
Now pgtype.Timestamptz
}
type ServiceHTTPBrowserEndpointParams ¶
type ServiceHTTPBrowserEndpointParams struct {
Hostname string
Now pgtype.Timestamptz
ServiceID string
}
type ServiceHTTPBrowserPermissionParams ¶
type ServiceHTTPBrowserPermissionParams struct {
CookieDigest []byte
Now pgtype.Timestamptz
ServiceID string
Hostname string
}
type ServiceHTTPBrowserPermissionRow ¶
type ServiceHTTPBrowserPermissionRow struct {
IdentityID string
ControlSessionID string
DisplayName string
ExpiresAt pgtype.Timestamptz
}
type ServiceHTTPPreviewTeamPermissionParams ¶
type ServiceHTTPPreviewTeamPermissionParams struct {
IdentityID string
ControlSessionID string
Now pgtype.Timestamptz
ServiceID string
}
type SetDNSReadyDomainDefaultParams ¶
type SetDNSReadyDomainDefaultParams struct {
UpdatedAt pgtype.Timestamptz
AuthorityReference pgtype.Text
}
type SetDomainAuthorityRevisionParams ¶
type SetDomainAuthorityRevisionParams struct {
AuthorityRevision int64
UpdatedAt pgtype.Timestamptz
AuthorityReference pgtype.Text
}
type SetMaintenanceControlParams ¶
type SetMaintenanceControlParams struct {
Allowed bool
UpdatedAt pgtype.Timestamptz
UpdatedBy string
ControlName string
}
type SetPersonalTeamDefaultDomainParams ¶
type SetPersonalTeamDefaultDomainParams struct {
DomainID pgtype.Text
UpdatedAt pgtype.Timestamptz
TeamID string
}
type SetServiceEnabledParams ¶
type SetServiceEnabledParams struct {
Enabled bool
Now pgtype.Timestamptz
ID string
}
type SetTeamDefaultDomainParams ¶
type SetTeamDefaultDomainParams struct {
DomainID pgtype.Text
UpdatedAt pgtype.Timestamptz
TeamID string
}
type StartPublisherRuntimeParams ¶
type StartPublisherRuntimeParams struct {
PublisherIdentityID string
TeamID string
KeyID string
ScopeID string
ProcessRunID string
Epoch int64
AddressFamily string
Now pgtype.Timestamptz
LeaseExpiresAt pgtype.Timestamptz
DeploymentReport []byte
DeploymentID pgtype.Text
DeploymentFirstObservedAt pgtype.Timestamptz
}
type StopPublisherRuntimeParams ¶
type StopPublisherRuntimeParams struct {
Now pgtype.Timestamptz
PublisherIdentityID string
ProcessRunID string
Epoch int64
}
type StoreRelayTransportCertificateParams ¶
type StoreRelayTransportCertificateParams struct {
TransportCertificatePem pgtype.Text
TransportPrivateKeyCiphertext []byte
TransportPrivateKeyStorageKeyID pgtype.Text
TransportCertificateSerial pgtype.Text
TransportCertificateExpiresAt pgtype.Timestamptz
UpdatedAt pgtype.Timestamptz
RelayServiceID string
TlsServerName string
}
type TeamSharedNameInUseParams ¶
type TeamSharedNameInUseParams struct {
}
type UpdateDeviceLoginParams ¶
type UpdateGuestServingAuthorityParams ¶
type UpdateGuestServingAuthorityParams struct {
ServiceRunID string
Now pgtype.Timestamptz
}
type UpdateLocalDomainForDNSAuthorityParams ¶
type UpdateLocalDomainForDNSAuthorityParams struct {
State string
UpdatedAt pgtype.Timestamptz
AuthorityReference pgtype.Text
}
type UpdateServiceRecoveryHistogramParams ¶
type UpdateServiceRecoveryHistogramParams struct {
ObservedSeconds float64
UpdatedAt pgtype.Timestamptz
}
type VisitorPermissionParams ¶
type VisitorPermissionRow ¶
type VisitorPermissionRow struct {
Reason string
ExpiresAt pgtype.Timestamptz
GrantID string
}
Source Files
¶
- admin.sql.go
- applied_projects.sql.go
- authentication.sql.go
- authentication_seeds.sql.go
- certificate_consumers.sql.go
- certificates.sql.go
- company_access.sql.go
- connector_peer_pairs.sql.go
- connector_peer_watch.sql.go
- db.go
- deployment_management.sql.go
- deployment_publishers.sql.go
- device_logins.sql.go
- dns_authorities.sql.go
- dns_challenges.sql.go
- domain_release.sql.go
- email_deliveries.sql.go
- feedback.sql.go
- guest_trials.sql.go
- ingress_pools.sql.go
- ingress_services.sql.go
- ingresses.sql.go
- models.go
- observability.sql.go
- previews.sql.go
- project_status.sql.go
- publisher_identities.sql.go
- publisher_runtimes.sql.go
- querier.go
- relay_certificates.sql.go
- relays.sql.go
- service_audit.sql.go
- service_certificates.sql.go
- service_endpoints.sql.go
- service_http.sql.go
- service_ip_keys.sql.go
- service_recovery.sql.go
- service_run_endpoint_readiness.sql.go
- services.sql.go
- share_access.sql.go
- shares.sql.go
- teams.sql.go
- visitor_permissions.sql.go
- visitor_policy.sql.go
- visitor_tokens.sql.go
- workload_retention.sql.go
- workloads.sql.go