Documentation
¶
Index ¶
- func PrepareAllQueries(ctx context.Context, p preparer) error
- type ConfigurationVersionStatusTimestamps
- type CountRunsParams
- type DBQuerier
- func (q *DBQuerier) CountConfigurationVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (*int, error)
- func (q *DBQuerier) CountConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) CountConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) CountOrganizations(ctx context.Context, names []string) (*int, error)
- func (q *DBQuerier) CountOrganizationsBatch(batch genericBatch, names []string)
- func (q *DBQuerier) CountOrganizationsScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) CountRepoConnectionsByID(ctx context.Context, webhookID pgtype.UUID) (*int, error)
- func (q *DBQuerier) CountRepoConnectionsByIDBatch(batch genericBatch, webhookID pgtype.UUID)
- func (q *DBQuerier) CountRepoConnectionsByIDScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) CountRuns(ctx context.Context, params CountRunsParams) (*int, error)
- func (q *DBQuerier) CountRunsBatch(batch genericBatch, params CountRunsParams)
- func (q *DBQuerier) CountRunsScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) CountStateVersionsByWorkspaceName(ctx context.Context, workspaceName pgtype.Text, organizationName pgtype.Text) (*int, error)
- func (q *DBQuerier) CountStateVersionsByWorkspaceNameBatch(batch genericBatch, workspaceName pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) CountStateVersionsByWorkspaceNameScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) CountWorkspaces(ctx context.Context, prefix pgtype.Text, organizationNames []string) (*int, error)
- func (q *DBQuerier) CountWorkspacesBatch(batch genericBatch, prefix pgtype.Text, organizationNames []string)
- func (q *DBQuerier) CountWorkspacesByUsername(ctx context.Context, organizationName pgtype.Text, username pgtype.Text) (*int, error)
- func (q *DBQuerier) CountWorkspacesByUsernameBatch(batch genericBatch, organizationName pgtype.Text, username pgtype.Text)
- func (q *DBQuerier) CountWorkspacesByUsernameScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) CountWorkspacesScan(results pgx.BatchResults) (*int, error)
- func (q *DBQuerier) DeleteAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteAgentTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)
- func (q *DBQuerier) DeleteAgentTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteConfigurationVersionByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteConfigurationVersionByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) DeleteConfigurationVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteModuleByID(ctx context.Context, moduleID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteModuleByIDBatch(batch genericBatch, moduleID pgtype.Text)
- func (q *DBQuerier) DeleteModuleByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteModuleConnectionByID(ctx context.Context, id pgtype.Text) (DeleteModuleConnectionByIDRow, error)
- func (q *DBQuerier) DeleteModuleConnectionByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) DeleteModuleConnectionByIDScan(results pgx.BatchResults) (DeleteModuleConnectionByIDRow, error)
- func (q *DBQuerier) DeleteModuleVersionByID(ctx context.Context, moduleVersionID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteModuleVersionByIDBatch(batch genericBatch, moduleVersionID pgtype.Text)
- func (q *DBQuerier) DeleteModuleVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteOrganizationByName(ctx context.Context, name pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteOrganizationByNameBatch(batch genericBatch, name pgtype.Text)
- func (q *DBQuerier) DeleteOrganizationByNameScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteOrganizationMembership(ctx context.Context, username pgtype.Text, organizationName pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteOrganizationMembershipBatch(batch genericBatch, username pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) DeleteOrganizationMembershipScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteRunByID(ctx context.Context, runID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteRunByIDBatch(batch genericBatch, runID pgtype.Text)
- func (q *DBQuerier) DeleteRunByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteStateVersionByID(ctx context.Context, stateVersionID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteStateVersionByIDBatch(batch genericBatch, stateVersionID pgtype.Text)
- func (q *DBQuerier) DeleteStateVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamByIDBatch(batch genericBatch, teamID pgtype.Text)
- func (q *DBQuerier) DeleteTeamByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamMembership(ctx context.Context, username pgtype.Text, teamID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamMembershipBatch(batch genericBatch, username pgtype.Text, teamID pgtype.Text)
- func (q *DBQuerier) DeleteTeamMembershipScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)
- func (q *DBQuerier) DeleteTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteUserByID(ctx context.Context, userID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteUserByIDBatch(batch genericBatch, userID pgtype.Text)
- func (q *DBQuerier) DeleteUserByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteUserByUsername(ctx context.Context, username pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteUserByUsernameBatch(batch genericBatch, username pgtype.Text)
- func (q *DBQuerier) DeleteUserByUsernameScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteVCSProviderByID(ctx context.Context, vcsProviderID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteVCSProviderByIDBatch(batch genericBatch, vcsProviderID pgtype.Text)
- func (q *DBQuerier) DeleteVCSProviderByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteVariableByIDRow, error)
- func (q *DBQuerier) DeleteVariableByIDBatch(batch genericBatch, variableID pgtype.Text)
- func (q *DBQuerier) DeleteVariableByIDScan(results pgx.BatchResults) (DeleteVariableByIDRow, error)
- func (q *DBQuerier) DeleteWebhookByID(ctx context.Context, webhookID pgtype.UUID) (DeleteWebhookByIDRow, error)
- func (q *DBQuerier) DeleteWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID)
- func (q *DBQuerier) DeleteWebhookByIDScan(results pgx.BatchResults) (DeleteWebhookByIDRow, error)
- func (q *DBQuerier) DeleteWorkspaceByID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteWorkspaceByIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) DeleteWorkspaceByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteWorkspaceConnectionByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceConnectionByIDRow, error)
- func (q *DBQuerier) DeleteWorkspaceConnectionByIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) DeleteWorkspaceConnectionByIDScan(results pgx.BatchResults) (DeleteWorkspaceConnectionByIDRow, error)
- func (q *DBQuerier) DeleteWorkspaceLock(ctx context.Context, workspaceID string) (string, error)
- func (q *DBQuerier) DeleteWorkspaceLockBatch(batch genericBatch, workspaceID string)
- func (q *DBQuerier) DeleteWorkspaceLockScan(results pgx.BatchResults) (string, error)
- func (q *DBQuerier) DeleteWorkspacePermissionByID(ctx context.Context, workspaceID pgtype.Text, teamName pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteWorkspacePermissionByIDBatch(batch genericBatch, workspaceID pgtype.Text, teamName pgtype.Text)
- func (q *DBQuerier) DeleteWorkspacePermissionByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteWorkspaceRepoByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceRepoByIDRow, error)
- func (q *DBQuerier) DeleteWorkspaceRepoByIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) DeleteWorkspaceRepoByIDScan(results pgx.BatchResults) (DeleteWorkspaceRepoByIDRow, error)
- func (q *DBQuerier) DownloadConfigurationVersion(ctx context.Context, configurationVersionID pgtype.Text) ([]byte, error)
- func (q *DBQuerier) DownloadConfigurationVersionBatch(batch genericBatch, configurationVersionID pgtype.Text)
- func (q *DBQuerier) DownloadConfigurationVersionScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) FindAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (FindAgentTokenByIDRow, error)
- func (q *DBQuerier) FindAgentTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)
- func (q *DBQuerier) FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error)
- func (q *DBQuerier) FindAgentTokens(ctx context.Context, organizationName pgtype.Text) ([]FindAgentTokensRow, error)
- func (q *DBQuerier) FindAgentTokensBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindAgentTokensScan(results pgx.BatchResults) ([]FindAgentTokensRow, error)
- func (q *DBQuerier) FindConfigurationVersionByID(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDRow, error)
- func (q *DBQuerier) FindConfigurationVersionByIDBatch(batch genericBatch, configurationVersionID pgtype.Text)
- func (q *DBQuerier) FindConfigurationVersionByIDForUpdate(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDForUpdateRow, error)
- func (q *DBQuerier) FindConfigurationVersionByIDForUpdateBatch(batch genericBatch, configurationVersionID pgtype.Text)
- func (q *DBQuerier) FindConfigurationVersionByIDForUpdateScan(results pgx.BatchResults) (FindConfigurationVersionByIDForUpdateRow, error)
- func (q *DBQuerier) FindConfigurationVersionByIDScan(results pgx.BatchResults) (FindConfigurationVersionByIDRow, error)
- func (q *DBQuerier) FindConfigurationVersionLatestByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindConfigurationVersionLatestByWorkspaceIDRow, error)
- func (q *DBQuerier) FindConfigurationVersionLatestByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindConfigurationVersionLatestByWorkspaceIDScan(results pgx.BatchResults) (FindConfigurationVersionLatestByWorkspaceIDRow, error)
- func (q *DBQuerier) FindConfigurationVersionsByWorkspaceID(ctx context.Context, params FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, params FindConfigurationVersionsByWorkspaceIDParams)
- func (q *DBQuerier) FindConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindCurrentStateVersionByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindCurrentStateVersionByWorkspaceIDRow, error)
- func (q *DBQuerier) FindCurrentStateVersionByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindCurrentStateVersionByWorkspaceIDScan(results pgx.BatchResults) (FindCurrentStateVersionByWorkspaceIDRow, error)
- func (q *DBQuerier) FindLogChunkByID(ctx context.Context, chunkID int) (FindLogChunkByIDRow, error)
- func (q *DBQuerier) FindLogChunkByIDBatch(batch genericBatch, chunkID int)
- func (q *DBQuerier) FindLogChunkByIDScan(results pgx.BatchResults) (FindLogChunkByIDRow, error)
- func (q *DBQuerier) FindLogs(ctx context.Context, runID pgtype.Text, phase pgtype.Text) ([]byte, error)
- func (q *DBQuerier) FindLogsBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text)
- func (q *DBQuerier) FindLogsScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) FindModuleByID(ctx context.Context, id pgtype.Text) (FindModuleByIDRow, error)
- func (q *DBQuerier) FindModuleByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindModuleByIDScan(results pgx.BatchResults) (FindModuleByIDRow, error)
- func (q *DBQuerier) FindModuleByModuleVersionID(ctx context.Context, moduleVersionID pgtype.Text) (FindModuleByModuleVersionIDRow, error)
- func (q *DBQuerier) FindModuleByModuleVersionIDBatch(batch genericBatch, moduleVersionID pgtype.Text)
- func (q *DBQuerier) FindModuleByModuleVersionIDScan(results pgx.BatchResults) (FindModuleByModuleVersionIDRow, error)
- func (q *DBQuerier) FindModuleByName(ctx context.Context, params FindModuleByNameParams) (FindModuleByNameRow, error)
- func (q *DBQuerier) FindModuleByNameBatch(batch genericBatch, params FindModuleByNameParams)
- func (q *DBQuerier) FindModuleByNameScan(results pgx.BatchResults) (FindModuleByNameRow, error)
- func (q *DBQuerier) FindModuleByWebhookID(ctx context.Context, webhookID pgtype.UUID) (FindModuleByWebhookIDRow, error)
- func (q *DBQuerier) FindModuleByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID)
- func (q *DBQuerier) FindModuleByWebhookIDScan(results pgx.BatchResults) (FindModuleByWebhookIDRow, error)
- func (q *DBQuerier) FindModuleTarball(ctx context.Context, moduleVersionID pgtype.Text) ([]byte, error)
- func (q *DBQuerier) FindModuleTarballBatch(batch genericBatch, moduleVersionID pgtype.Text)
- func (q *DBQuerier) FindModuleTarballScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) FindOrganizationByID(ctx context.Context, organizationID pgtype.Text) (FindOrganizationByIDRow, error)
- func (q *DBQuerier) FindOrganizationByIDBatch(batch genericBatch, organizationID pgtype.Text)
- func (q *DBQuerier) FindOrganizationByIDScan(results pgx.BatchResults) (FindOrganizationByIDRow, error)
- func (q *DBQuerier) FindOrganizationByName(ctx context.Context, name pgtype.Text) (FindOrganizationByNameRow, error)
- func (q *DBQuerier) FindOrganizationByNameBatch(batch genericBatch, name pgtype.Text)
- func (q *DBQuerier) FindOrganizationByNameForUpdate(ctx context.Context, name pgtype.Text) (FindOrganizationByNameForUpdateRow, error)
- func (q *DBQuerier) FindOrganizationByNameForUpdateBatch(batch genericBatch, name pgtype.Text)
- func (q *DBQuerier) FindOrganizationByNameForUpdateScan(results pgx.BatchResults) (FindOrganizationByNameForUpdateRow, error)
- func (q *DBQuerier) FindOrganizationByNameScan(results pgx.BatchResults) (FindOrganizationByNameRow, error)
- func (q *DBQuerier) FindOrganizationNameByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) FindOrganizationNameByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindOrganizationNameByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) FindOrganizations(ctx context.Context, params FindOrganizationsParams) ([]FindOrganizationsRow, error)
- func (q *DBQuerier) FindOrganizationsBatch(batch genericBatch, params FindOrganizationsParams)
- func (q *DBQuerier) FindOrganizationsScan(results pgx.BatchResults) ([]FindOrganizationsRow, error)
- func (q *DBQuerier) FindRunByID(ctx context.Context, runID pgtype.Text) (FindRunByIDRow, error)
- func (q *DBQuerier) FindRunByIDBatch(batch genericBatch, runID pgtype.Text)
- func (q *DBQuerier) FindRunByIDForUpdate(ctx context.Context, runID pgtype.Text) (FindRunByIDForUpdateRow, error)
- func (q *DBQuerier) FindRunByIDForUpdateBatch(batch genericBatch, runID pgtype.Text)
- func (q *DBQuerier) FindRunByIDForUpdateScan(results pgx.BatchResults) (FindRunByIDForUpdateRow, error)
- func (q *DBQuerier) FindRunByIDScan(results pgx.BatchResults) (FindRunByIDRow, error)
- func (q *DBQuerier) FindRuns(ctx context.Context, params FindRunsParams) ([]FindRunsRow, error)
- func (q *DBQuerier) FindRunsBatch(batch genericBatch, params FindRunsParams)
- func (q *DBQuerier) FindRunsScan(results pgx.BatchResults) ([]FindRunsRow, error)
- func (q *DBQuerier) FindStateVersionByID(ctx context.Context, id pgtype.Text) (FindStateVersionByIDRow, error)
- func (q *DBQuerier) FindStateVersionByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindStateVersionByIDScan(results pgx.BatchResults) (FindStateVersionByIDRow, error)
- func (q *DBQuerier) FindStateVersionOutputByID(ctx context.Context, id pgtype.Text) (FindStateVersionOutputByIDRow, error)
- func (q *DBQuerier) FindStateVersionOutputByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindStateVersionOutputByIDScan(results pgx.BatchResults) (FindStateVersionOutputByIDRow, error)
- func (q *DBQuerier) FindStateVersionStateByID(ctx context.Context, id pgtype.Text) ([]byte, error)
- func (q *DBQuerier) FindStateVersionStateByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindStateVersionStateByIDScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) FindStateVersionsByWorkspaceName(ctx context.Context, params FindStateVersionsByWorkspaceNameParams) ([]FindStateVersionsByWorkspaceNameRow, error)
- func (q *DBQuerier) FindStateVersionsByWorkspaceNameBatch(batch genericBatch, params FindStateVersionsByWorkspaceNameParams)
- func (q *DBQuerier) FindStateVersionsByWorkspaceNameScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceNameRow, error)
- func (q *DBQuerier) FindTeamByID(ctx context.Context, teamID pgtype.Text) (FindTeamByIDRow, error)
- func (q *DBQuerier) FindTeamByIDBatch(batch genericBatch, teamID pgtype.Text)
- func (q *DBQuerier) FindTeamByIDForUpdate(ctx context.Context, teamID pgtype.Text) (FindTeamByIDForUpdateRow, error)
- func (q *DBQuerier) FindTeamByIDForUpdateBatch(batch genericBatch, teamID pgtype.Text)
- func (q *DBQuerier) FindTeamByIDForUpdateScan(results pgx.BatchResults) (FindTeamByIDForUpdateRow, error)
- func (q *DBQuerier) FindTeamByIDScan(results pgx.BatchResults) (FindTeamByIDRow, error)
- func (q *DBQuerier) FindTeamByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTeamByNameRow, error)
- func (q *DBQuerier) FindTeamByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) FindTeamByNameScan(results pgx.BatchResults) (FindTeamByNameRow, error)
- func (q *DBQuerier) FindTeamsByOrg(ctx context.Context, organizationName pgtype.Text) ([]FindTeamsByOrgRow, error)
- func (q *DBQuerier) FindTeamsByOrgBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindTeamsByOrgScan(results pgx.BatchResults) ([]FindTeamsByOrgRow, error)
- func (q *DBQuerier) FindTokenByID(ctx context.Context, tokenID pgtype.Text) (FindTokenByIDRow, error)
- func (q *DBQuerier) FindTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)
- func (q *DBQuerier) FindTokenByIDScan(results pgx.BatchResults) (FindTokenByIDRow, error)
- func (q *DBQuerier) FindTokensByUsername(ctx context.Context, username pgtype.Text) ([]FindTokensByUsernameRow, error)
- func (q *DBQuerier) FindTokensByUsernameBatch(batch genericBatch, username pgtype.Text)
- func (q *DBQuerier) FindTokensByUsernameScan(results pgx.BatchResults) ([]FindTokensByUsernameRow, error)
- func (q *DBQuerier) FindUserByAuthenticationTokenID(ctx context.Context, tokenID pgtype.Text) (FindUserByAuthenticationTokenIDRow, error)
- func (q *DBQuerier) FindUserByAuthenticationTokenIDBatch(batch genericBatch, tokenID pgtype.Text)
- func (q *DBQuerier) FindUserByAuthenticationTokenIDScan(results pgx.BatchResults) (FindUserByAuthenticationTokenIDRow, error)
- func (q *DBQuerier) FindUserByID(ctx context.Context, userID pgtype.Text) (FindUserByIDRow, error)
- func (q *DBQuerier) FindUserByIDBatch(batch genericBatch, userID pgtype.Text)
- func (q *DBQuerier) FindUserByIDScan(results pgx.BatchResults) (FindUserByIDRow, error)
- func (q *DBQuerier) FindUserByUsername(ctx context.Context, username pgtype.Text) (FindUserByUsernameRow, error)
- func (q *DBQuerier) FindUserByUsernameBatch(batch genericBatch, username pgtype.Text)
- func (q *DBQuerier) FindUserByUsernameScan(results pgx.BatchResults) (FindUserByUsernameRow, error)
- func (q *DBQuerier) FindUsers(ctx context.Context) ([]FindUsersRow, error)
- func (q *DBQuerier) FindUsersBatch(batch genericBatch)
- func (q *DBQuerier) FindUsersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindUsersByOrganizationRow, error)
- func (q *DBQuerier) FindUsersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindUsersByOrganizationScan(results pgx.BatchResults) ([]FindUsersByOrganizationRow, error)
- func (q *DBQuerier) FindUsersByTeamID(ctx context.Context, teamID pgtype.Text) ([]FindUsersByTeamIDRow, error)
- func (q *DBQuerier) FindUsersByTeamIDBatch(batch genericBatch, teamID pgtype.Text)
- func (q *DBQuerier) FindUsersByTeamIDScan(results pgx.BatchResults) ([]FindUsersByTeamIDRow, error)
- func (q *DBQuerier) FindUsersScan(results pgx.BatchResults) ([]FindUsersRow, error)
- func (q *DBQuerier) FindVCSProvider(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderRow, error)
- func (q *DBQuerier) FindVCSProviderBatch(batch genericBatch, vcsProviderID pgtype.Text)
- func (q *DBQuerier) FindVCSProviderScan(results pgx.BatchResults) (FindVCSProviderRow, error)
- func (q *DBQuerier) FindVCSProviders(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersRow, error)
- func (q *DBQuerier) FindVCSProvidersBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindVCSProvidersScan(results pgx.BatchResults) ([]FindVCSProvidersRow, error)
- func (q *DBQuerier) FindVariable(ctx context.Context, variableID pgtype.Text) (FindVariableRow, error)
- func (q *DBQuerier) FindVariableBatch(batch genericBatch, variableID pgtype.Text)
- func (q *DBQuerier) FindVariableForUpdate(ctx context.Context, variableID pgtype.Text) (FindVariableForUpdateRow, error)
- func (q *DBQuerier) FindVariableForUpdateBatch(batch genericBatch, variableID pgtype.Text)
- func (q *DBQuerier) FindVariableForUpdateScan(results pgx.BatchResults) (FindVariableForUpdateRow, error)
- func (q *DBQuerier) FindVariableScan(results pgx.BatchResults) (FindVariableRow, error)
- func (q *DBQuerier) FindVariables(ctx context.Context, workspaceID pgtype.Text) ([]FindVariablesRow, error)
- func (q *DBQuerier) FindVariablesBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindVariablesScan(results pgx.BatchResults) ([]FindVariablesRow, error)
- func (q *DBQuerier) FindWebhookByID(ctx context.Context, webhookID pgtype.UUID) (FindWebhookByIDRow, error)
- func (q *DBQuerier) FindWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID)
- func (q *DBQuerier) FindWebhookByIDScan(results pgx.BatchResults) (FindWebhookByIDRow, error)
- func (q *DBQuerier) FindWebhooksByRepo(ctx context.Context, identifier pgtype.Text, cloud pgtype.Text) ([]FindWebhooksByRepoRow, error)
- func (q *DBQuerier) FindWebhooksByRepoBatch(batch genericBatch, identifier pgtype.Text, cloud pgtype.Text)
- func (q *DBQuerier) FindWebhooksByRepoScan(results pgx.BatchResults) ([]FindWebhooksByRepoRow, error)
- func (q *DBQuerier) FindWorkspaceByID(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDRow, error)
- func (q *DBQuerier) FindWorkspaceByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindWorkspaceByIDForUpdate(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDForUpdateRow, error)
- func (q *DBQuerier) FindWorkspaceByIDForUpdateBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindWorkspaceByIDForUpdateScan(results pgx.BatchResults) (FindWorkspaceByIDForUpdateRow, error)
- func (q *DBQuerier) FindWorkspaceByIDScan(results pgx.BatchResults) (FindWorkspaceByIDRow, error)
- func (q *DBQuerier) FindWorkspaceByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindWorkspaceByNameRow, error)
- func (q *DBQuerier) FindWorkspaceByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) FindWorkspaceByNameScan(results pgx.BatchResults) (FindWorkspaceByNameRow, error)
- func (q *DBQuerier) FindWorkspaceLockForUpdate(ctx context.Context, workspaceID string) (FindWorkspaceLockForUpdateRow, error)
- func (q *DBQuerier) FindWorkspaceLockForUpdateBatch(batch genericBatch, workspaceID string)
- func (q *DBQuerier) FindWorkspaceLockForUpdateScan(results pgx.BatchResults) (FindWorkspaceLockForUpdateRow, error)
- func (q *DBQuerier) FindWorkspacePolicyByID(ctx context.Context, workspaceID pgtype.Text) (FindWorkspacePolicyByIDRow, error)
- func (q *DBQuerier) FindWorkspacePolicyByIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindWorkspacePolicyByIDScan(results pgx.BatchResults) (FindWorkspacePolicyByIDRow, error)
- func (q *DBQuerier) FindWorkspaces(ctx context.Context, params FindWorkspacesParams) ([]FindWorkspacesRow, error)
- func (q *DBQuerier) FindWorkspacesBatch(batch genericBatch, params FindWorkspacesParams)
- func (q *DBQuerier) FindWorkspacesByUsername(ctx context.Context, params FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error)
- func (q *DBQuerier) FindWorkspacesByUsernameBatch(batch genericBatch, params FindWorkspacesByUsernameParams)
- func (q *DBQuerier) FindWorkspacesByUsernameScan(results pgx.BatchResults) ([]FindWorkspacesByUsernameRow, error)
- func (q *DBQuerier) FindWorkspacesByWebhookID(ctx context.Context, webhookID pgtype.UUID) ([]FindWorkspacesByWebhookIDRow, error)
- func (q *DBQuerier) FindWorkspacesByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID)
- func (q *DBQuerier) FindWorkspacesByWebhookIDScan(results pgx.BatchResults) ([]FindWorkspacesByWebhookIDRow, error)
- func (q *DBQuerier) FindWorkspacesScan(results pgx.BatchResults) ([]FindWorkspacesRow, error)
- func (q *DBQuerier) GetLockFileByID(ctx context.Context, runID pgtype.Text) ([]byte, error)
- func (q *DBQuerier) GetLockFileByIDBatch(batch genericBatch, runID pgtype.Text)
- func (q *DBQuerier) GetLockFileByIDScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) GetPlanBinByID(ctx context.Context, runID pgtype.Text) ([]byte, error)
- func (q *DBQuerier) GetPlanBinByIDBatch(batch genericBatch, runID pgtype.Text)
- func (q *DBQuerier) GetPlanBinByIDScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) GetPlanJSONByID(ctx context.Context, runID pgtype.Text) ([]byte, error)
- func (q *DBQuerier) GetPlanJSONByIDBatch(batch genericBatch, runID pgtype.Text)
- func (q *DBQuerier) GetPlanJSONByIDScan(results pgx.BatchResults) ([]byte, error)
- func (q *DBQuerier) InsertAgentToken(ctx context.Context, params InsertAgentTokenParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertAgentTokenBatch(batch genericBatch, params InsertAgentTokenParams)
- func (q *DBQuerier) InsertAgentTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertApply(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertApplyBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text)
- func (q *DBQuerier) InsertApplyScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertConfigurationVersion(ctx context.Context, params InsertConfigurationVersionParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertConfigurationVersionBatch(batch genericBatch, params InsertConfigurationVersionParams)
- func (q *DBQuerier) InsertConfigurationVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertConfigurationVersionStatusTimestamp(ctx context.Context, params InsertConfigurationVersionStatusTimestampParams) (InsertConfigurationVersionStatusTimestampRow, error)
- func (q *DBQuerier) InsertConfigurationVersionStatusTimestampBatch(batch genericBatch, params InsertConfigurationVersionStatusTimestampParams)
- func (q *DBQuerier) InsertConfigurationVersionStatusTimestampScan(results pgx.BatchResults) (InsertConfigurationVersionStatusTimestampRow, error)
- func (q *DBQuerier) InsertIngressAttributes(ctx context.Context, params InsertIngressAttributesParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertIngressAttributesBatch(batch genericBatch, params InsertIngressAttributesParams)
- func (q *DBQuerier) InsertIngressAttributesScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertLogChunk(ctx context.Context, params InsertLogChunkParams) (int, error)
- func (q *DBQuerier) InsertLogChunkBatch(batch genericBatch, params InsertLogChunkParams)
- func (q *DBQuerier) InsertLogChunkScan(results pgx.BatchResults) (int, error)
- func (q *DBQuerier) InsertModule(ctx context.Context, params InsertModuleParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertModuleBatch(batch genericBatch, params InsertModuleParams)
- func (q *DBQuerier) InsertModuleScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertModuleTarball(ctx context.Context, tarball []byte, moduleVersionID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) InsertModuleTarballBatch(batch genericBatch, tarball []byte, moduleVersionID pgtype.Text)
- func (q *DBQuerier) InsertModuleTarballScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) InsertModuleVersion(ctx context.Context, params InsertModuleVersionParams) (InsertModuleVersionRow, error)
- func (q *DBQuerier) InsertModuleVersionBatch(batch genericBatch, params InsertModuleVersionParams)
- func (q *DBQuerier) InsertModuleVersionScan(results pgx.BatchResults) (InsertModuleVersionRow, error)
- func (q *DBQuerier) InsertOrganization(ctx context.Context, params InsertOrganizationParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertOrganizationBatch(batch genericBatch, params InsertOrganizationParams)
- func (q *DBQuerier) InsertOrganizationMembership(ctx context.Context, username pgtype.Text, organizationName pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertOrganizationMembershipBatch(batch genericBatch, username pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) InsertOrganizationMembershipScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertOrganizationScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertPhaseStatusTimestamp(ctx context.Context, params InsertPhaseStatusTimestampParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertPhaseStatusTimestampBatch(batch genericBatch, params InsertPhaseStatusTimestampParams)
- func (q *DBQuerier) InsertPhaseStatusTimestampScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertPlan(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertPlanBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text)
- func (q *DBQuerier) InsertPlanScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRepoConnection(ctx context.Context, params InsertRepoConnectionParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRepoConnectionBatch(batch genericBatch, params InsertRepoConnectionParams)
- func (q *DBQuerier) InsertRepoConnectionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRun(ctx context.Context, params InsertRunParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRunBatch(batch genericBatch, params InsertRunParams)
- func (q *DBQuerier) InsertRunScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRunStatusTimestamp(ctx context.Context, params InsertRunStatusTimestampParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRunStatusTimestampBatch(batch genericBatch, params InsertRunStatusTimestampParams)
- func (q *DBQuerier) InsertRunStatusTimestampScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertStateVersion(ctx context.Context, params InsertStateVersionParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertStateVersionBatch(batch genericBatch, params InsertStateVersionParams)
- func (q *DBQuerier) InsertStateVersionOutput(ctx context.Context, params InsertStateVersionOutputParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertStateVersionOutputBatch(batch genericBatch, params InsertStateVersionOutputParams)
- func (q *DBQuerier) InsertStateVersionOutputScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertStateVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTeam(ctx context.Context, params InsertTeamParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTeamBatch(batch genericBatch, params InsertTeamParams)
- func (q *DBQuerier) InsertTeamMembership(ctx context.Context, username pgtype.Text, teamID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTeamMembershipBatch(batch genericBatch, username pgtype.Text, teamID pgtype.Text)
- func (q *DBQuerier) InsertTeamMembershipScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTeamScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertToken(ctx context.Context, params InsertTokenParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTokenBatch(batch genericBatch, params InsertTokenParams)
- func (q *DBQuerier) InsertTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertUser(ctx context.Context, params InsertUserParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertUserBatch(batch genericBatch, params InsertUserParams)
- func (q *DBQuerier) InsertUserScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVCSProvider(ctx context.Context, params InsertVCSProviderParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVCSProviderBatch(batch genericBatch, params InsertVCSProviderParams)
- func (q *DBQuerier) InsertVCSProviderScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariable(ctx context.Context, params InsertVariableParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariableBatch(batch genericBatch, params InsertVariableParams)
- func (q *DBQuerier) InsertVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWebhook(ctx context.Context, params InsertWebhookParams) (InsertWebhookRow, error)
- func (q *DBQuerier) InsertWebhookBatch(batch genericBatch, params InsertWebhookParams)
- func (q *DBQuerier) InsertWebhookScan(results pgx.BatchResults) (InsertWebhookRow, error)
- func (q *DBQuerier) InsertWorkspace(ctx context.Context, params InsertWorkspaceParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceBatch(batch genericBatch, params InsertWorkspaceParams)
- func (q *DBQuerier) InsertWorkspaceLockRun(ctx context.Context, workspaceID string, runID string) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceLockRunBatch(batch genericBatch, workspaceID string, runID string)
- func (q *DBQuerier) InsertWorkspaceLockRunScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceLockUser(ctx context.Context, workspaceID string, userID string) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceLockUserBatch(batch genericBatch, workspaceID string, userID string)
- func (q *DBQuerier) InsertWorkspaceLockUserScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceRepo(ctx context.Context, params InsertWorkspaceRepoParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceRepoBatch(batch genericBatch, params InsertWorkspaceRepoParams)
- func (q *DBQuerier) InsertWorkspaceRepoScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) ListModulesByOrganization(ctx context.Context, organizationName pgtype.Text) ([]ListModulesByOrganizationRow, error)
- func (q *DBQuerier) ListModulesByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) ListModulesByOrganizationScan(results pgx.BatchResults) ([]ListModulesByOrganizationRow, error)
- func (q *DBQuerier) PutLockFile(ctx context.Context, lockFile []byte, runID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) PutLockFileBatch(batch genericBatch, lockFile []byte, runID pgtype.Text)
- func (q *DBQuerier) PutLockFileScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) ResetUserSiteAdmins(ctx context.Context) ([]pgtype.Text, error)
- func (q *DBQuerier) ResetUserSiteAdminsBatch(batch genericBatch)
- func (q *DBQuerier) ResetUserSiteAdminsScan(results pgx.BatchResults) ([]pgtype.Text, error)
- func (q *DBQuerier) UpdateAppliedChangesByID(ctx context.Context, params UpdateAppliedChangesByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateAppliedChangesByIDBatch(batch genericBatch, params UpdateAppliedChangesByIDParams)
- func (q *DBQuerier) UpdateAppliedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateApplyStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateApplyStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text)
- func (q *DBQuerier) UpdateApplyStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateConfigurationVersionConfigByID(ctx context.Context, config []byte, id pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateConfigurationVersionConfigByIDBatch(batch genericBatch, config []byte, id pgtype.Text)
- func (q *DBQuerier) UpdateConfigurationVersionConfigByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateConfigurationVersionErroredByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateConfigurationVersionErroredByIDBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) UpdateConfigurationVersionErroredByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateModuleStatusByID(ctx context.Context, status pgtype.Text, moduleID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateModuleStatusByIDBatch(batch genericBatch, status pgtype.Text, moduleID pgtype.Text)
- func (q *DBQuerier) UpdateModuleStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateModuleVersionStatusByID(ctx context.Context, params UpdateModuleVersionStatusByIDParams) (UpdateModuleVersionStatusByIDRow, error)
- func (q *DBQuerier) UpdateModuleVersionStatusByIDBatch(batch genericBatch, params UpdateModuleVersionStatusByIDParams)
- func (q *DBQuerier) UpdateModuleVersionStatusByIDScan(results pgx.BatchResults) (UpdateModuleVersionStatusByIDRow, error)
- func (q *DBQuerier) UpdateOrganizationByName(ctx context.Context, params UpdateOrganizationByNameParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateOrganizationByNameBatch(batch genericBatch, params UpdateOrganizationByNameParams)
- func (q *DBQuerier) UpdateOrganizationByNameScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlanBinByID(ctx context.Context, planBin []byte, runID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlanBinByIDBatch(batch genericBatch, planBin []byte, runID pgtype.Text)
- func (q *DBQuerier) UpdatePlanBinByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlanJSONByID(ctx context.Context, planJSON []byte, runID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlanJSONByIDBatch(batch genericBatch, planJSON []byte, runID pgtype.Text)
- func (q *DBQuerier) UpdatePlanJSONByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlanStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlanStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text)
- func (q *DBQuerier) UpdatePlanStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlannedChangesByID(ctx context.Context, params UpdatePlannedChangesByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdatePlannedChangesByIDBatch(batch genericBatch, params UpdatePlannedChangesByIDParams)
- func (q *DBQuerier) UpdatePlannedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateRunForceCancelAvailableAt(ctx context.Context, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateRunForceCancelAvailableAtBatch(batch genericBatch, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text)
- func (q *DBQuerier) UpdateRunForceCancelAvailableAtScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateRunStatus(ctx context.Context, status pgtype.Text, id pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateRunStatusBatch(batch genericBatch, status pgtype.Text, id pgtype.Text)
- func (q *DBQuerier) UpdateRunStatusScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateTeamByID(ctx context.Context, params UpdateTeamByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateTeamByIDBatch(batch genericBatch, params UpdateTeamByIDParams)
- func (q *DBQuerier) UpdateTeamByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateUserSiteAdmins(ctx context.Context, usernames []string) ([]pgtype.Text, error)
- func (q *DBQuerier) UpdateUserSiteAdminsBatch(batch genericBatch, usernames []string)
- func (q *DBQuerier) UpdateUserSiteAdminsScan(results pgx.BatchResults) ([]pgtype.Text, error)
- func (q *DBQuerier) UpdateVariableByID(ctx context.Context, params UpdateVariableByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateVariableByIDBatch(batch genericBatch, params UpdateVariableByIDParams)
- func (q *DBQuerier) UpdateVariableByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateWebhookVCSID(ctx context.Context, vcsID pgtype.Text, webhookID pgtype.UUID) (UpdateWebhookVCSIDRow, error)
- func (q *DBQuerier) UpdateWebhookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, webhookID pgtype.UUID)
- func (q *DBQuerier) UpdateWebhookVCSIDScan(results pgx.BatchResults) (UpdateWebhookVCSIDRow, error)
- func (q *DBQuerier) UpdateWorkspaceByID(ctx context.Context, params UpdateWorkspaceByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateWorkspaceByIDBatch(batch genericBatch, params UpdateWorkspaceByIDParams)
- func (q *DBQuerier) UpdateWorkspaceByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionID(ctx context.Context, stateVersionID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionIDBatch(batch genericBatch, stateVersionID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpdateWorkspaceLatestRun(ctx context.Context, runID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpdateWorkspaceLatestRunBatch(batch genericBatch, runID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) UpdateWorkspaceLatestRunScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpdateWorkspaceLockByID(ctx context.Context, params UpdateWorkspaceLockByIDParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpdateWorkspaceLockByIDBatch(batch genericBatch, params UpdateWorkspaceLockByIDParams)
- func (q *DBQuerier) UpdateWorkspaceLockByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpdateWorkspaceRepoByID(ctx context.Context, branch pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateWorkspaceRepoByIDBatch(batch genericBatch, branch pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) UpdateWorkspaceRepoByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) UpsertWorkspacePermission(ctx context.Context, params UpsertWorkspacePermissionParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpsertWorkspacePermissionBatch(batch genericBatch, params UpsertWorkspacePermissionParams)
- func (q *DBQuerier) UpsertWorkspacePermissionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) WithTx(tx pgx.Tx) (*DBQuerier, error)
- type DeleteModuleConnectionByIDRow
- type DeleteVariableByIDRow
- type DeleteWebhookByIDRow
- type DeleteWorkspaceConnectionByIDRow
- type DeleteWorkspaceRepoByIDRow
- type FindAgentTokenByIDRow
- type FindAgentTokensRow
- type FindConfigurationVersionByIDForUpdateRow
- type FindConfigurationVersionByIDRow
- type FindConfigurationVersionLatestByWorkspaceIDRow
- type FindConfigurationVersionsByWorkspaceIDParams
- type FindConfigurationVersionsByWorkspaceIDRow
- type FindCurrentStateVersionByWorkspaceIDRow
- type FindLogChunkByIDRow
- type FindModuleByIDRow
- type FindModuleByModuleVersionIDRow
- type FindModuleByNameParams
- type FindModuleByNameRow
- type FindModuleByWebhookIDRow
- type FindOrganizationByIDRow
- type FindOrganizationByNameForUpdateRow
- type FindOrganizationByNameRow
- type FindOrganizationsParams
- type FindOrganizationsRow
- type FindRunByIDForUpdateRow
- type FindRunByIDRow
- type FindRunsParams
- type FindRunsRow
- type FindStateVersionByIDRow
- type FindStateVersionOutputByIDRow
- type FindStateVersionsByWorkspaceNameParams
- type FindStateVersionsByWorkspaceNameRow
- type FindTeamByIDForUpdateRow
- type FindTeamByIDRow
- type FindTeamByNameRow
- type FindTeamsByOrgRow
- type FindTokenByIDRow
- type FindTokensByUsernameRow
- type FindUserByAuthenticationTokenIDRow
- type FindUserByIDRow
- type FindUserByUsernameRow
- type FindUsersByOrganizationRow
- type FindUsersByTeamIDRow
- type FindUsersRow
- type FindVCSProviderRow
- type FindVCSProvidersRow
- type FindVariableForUpdateRow
- type FindVariableRow
- type FindVariablesRow
- type FindWebhookByIDRow
- type FindWebhooksByRepoRow
- type FindWorkspaceByIDForUpdateRow
- type FindWorkspaceByIDRow
- type FindWorkspaceByNameRow
- type FindWorkspaceLockForUpdateRow
- type FindWorkspacePolicyByIDRow
- type FindWorkspacesByUsernameParams
- type FindWorkspacesByUsernameRow
- type FindWorkspacesByWebhookIDRow
- type FindWorkspacesParams
- type FindWorkspacesRow
- type IngressAttributes
- type InsertAgentTokenParams
- type InsertConfigurationVersionParams
- type InsertConfigurationVersionStatusTimestampParams
- type InsertConfigurationVersionStatusTimestampRow
- type InsertIngressAttributesParams
- type InsertLogChunkParams
- type InsertModuleParams
- type InsertModuleVersionParams
- type InsertModuleVersionRow
- type InsertOrganizationParams
- type InsertPhaseStatusTimestampParams
- type InsertRepoConnectionParams
- type InsertRunParams
- type InsertRunStatusTimestampParams
- type InsertStateVersionOutputParams
- type InsertStateVersionParams
- type InsertTeamParams
- type InsertTokenParams
- type InsertUserParams
- type InsertVCSProviderParams
- type InsertVariableParams
- type InsertWebhookParams
- type InsertWebhookRow
- type InsertWorkspaceParams
- type InsertWorkspaceRepoParams
- type ListModulesByOrganizationRow
- type ModuleVersions
- type PhaseStatusTimestamps
- type Querier
- type QuerierConfig
- type RepoConnections
- type Report
- type RunStatusTimestamps
- type Runs
- type StateVersionOutputs
- type Teams
- type UpdateAppliedChangesByIDParams
- type UpdateModuleVersionStatusByIDParams
- type UpdateModuleVersionStatusByIDRow
- type UpdateOrganizationByNameParams
- type UpdatePlannedChangesByIDParams
- type UpdateTeamByIDParams
- type UpdateVariableByIDParams
- type UpdateWebhookVCSIDRow
- type UpdateWorkspaceByIDParams
- type UpdateWorkspaceLockByIDParams
- type UpsertWorkspacePermissionParams
- type Users
- type Webhooks
- type WorkspacePermissions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareAllQueries ¶
PrepareAllQueries executes a PREPARE statement for all pggen generated SQL queries in querier files. Typical usage is as the AfterConnect callback for pgxpool.Config
pgx will use the prepared statement if available. Calling PrepareAllQueries is an optional optimization to avoid a network round-trip the first time pgx runs a query if pgx statement caching is enabled.
Types ¶
type ConfigurationVersionStatusTimestamps ¶
type ConfigurationVersionStatusTimestamps struct { ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` Status pgtype.Text `json:"status"` Timestamp pgtype.Timestamptz `json:"timestamp"` }
ConfigurationVersionStatusTimestamps represents the Postgres composite type "configuration_version_status_timestamps".
type CountRunsParams ¶
type DBQuerier ¶
type DBQuerier struct {
// contains filtered or unexported fields
}
func NewQuerier ¶
func NewQuerier(conn genericConn) *DBQuerier
NewQuerier creates a DBQuerier that implements Querier. conn is typically *pgx.Conn, pgx.Tx, or *pgxpool.Pool.
func NewQuerierConfig ¶
func NewQuerierConfig(conn genericConn, cfg QuerierConfig) *DBQuerier
NewQuerierConfig creates a DBQuerier that implements Querier with the given config. conn is typically *pgx.Conn, pgx.Tx, or *pgxpool.Pool.
func (*DBQuerier) CountConfigurationVersionsByWorkspaceID ¶
func (q *DBQuerier) CountConfigurationVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (*int, error)
CountConfigurationVersionsByWorkspaceID implements Querier.CountConfigurationVersionsByWorkspaceID.
func (*DBQuerier) CountConfigurationVersionsByWorkspaceIDBatch ¶
func (q *DBQuerier) CountConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
CountConfigurationVersionsByWorkspaceIDBatch implements Querier.CountConfigurationVersionsByWorkspaceIDBatch.
func (*DBQuerier) CountConfigurationVersionsByWorkspaceIDScan ¶
func (q *DBQuerier) CountConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) (*int, error)
CountConfigurationVersionsByWorkspaceIDScan implements Querier.CountConfigurationVersionsByWorkspaceIDScan.
func (*DBQuerier) CountOrganizations ¶
CountOrganizations implements Querier.CountOrganizations.
func (*DBQuerier) CountOrganizationsBatch ¶
CountOrganizationsBatch implements Querier.CountOrganizationsBatch.
func (*DBQuerier) CountOrganizationsScan ¶
CountOrganizationsScan implements Querier.CountOrganizationsScan.
func (*DBQuerier) CountRepoConnectionsByID ¶ added in v0.0.32
func (q *DBQuerier) CountRepoConnectionsByID(ctx context.Context, webhookID pgtype.UUID) (*int, error)
CountRepoConnectionsByID implements Querier.CountRepoConnectionsByID.
func (*DBQuerier) CountRepoConnectionsByIDBatch ¶ added in v0.0.32
CountRepoConnectionsByIDBatch implements Querier.CountRepoConnectionsByIDBatch.
func (*DBQuerier) CountRepoConnectionsByIDScan ¶ added in v0.0.32
CountRepoConnectionsByIDScan implements Querier.CountRepoConnectionsByIDScan.
func (*DBQuerier) CountRunsBatch ¶
func (q *DBQuerier) CountRunsBatch(batch genericBatch, params CountRunsParams)
CountRunsBatch implements Querier.CountRunsBatch.
func (*DBQuerier) CountRunsScan ¶
CountRunsScan implements Querier.CountRunsScan.
func (*DBQuerier) CountStateVersionsByWorkspaceName ¶
func (q *DBQuerier) CountStateVersionsByWorkspaceName(ctx context.Context, workspaceName pgtype.Text, organizationName pgtype.Text) (*int, error)
CountStateVersionsByWorkspaceName implements Querier.CountStateVersionsByWorkspaceName.
func (*DBQuerier) CountStateVersionsByWorkspaceNameBatch ¶
func (q *DBQuerier) CountStateVersionsByWorkspaceNameBatch(batch genericBatch, workspaceName pgtype.Text, organizationName pgtype.Text)
CountStateVersionsByWorkspaceNameBatch implements Querier.CountStateVersionsByWorkspaceNameBatch.
func (*DBQuerier) CountStateVersionsByWorkspaceNameScan ¶
CountStateVersionsByWorkspaceNameScan implements Querier.CountStateVersionsByWorkspaceNameScan.
func (*DBQuerier) CountWorkspaces ¶
func (q *DBQuerier) CountWorkspaces(ctx context.Context, prefix pgtype.Text, organizationNames []string) (*int, error)
CountWorkspaces implements Querier.CountWorkspaces.
func (*DBQuerier) CountWorkspacesBatch ¶
func (q *DBQuerier) CountWorkspacesBatch(batch genericBatch, prefix pgtype.Text, organizationNames []string)
CountWorkspacesBatch implements Querier.CountWorkspacesBatch.
func (*DBQuerier) CountWorkspacesByUsername ¶ added in v0.0.32
func (q *DBQuerier) CountWorkspacesByUsername(ctx context.Context, organizationName pgtype.Text, username pgtype.Text) (*int, error)
CountWorkspacesByUsername implements Querier.CountWorkspacesByUsername.
func (*DBQuerier) CountWorkspacesByUsernameBatch ¶ added in v0.0.32
func (q *DBQuerier) CountWorkspacesByUsernameBatch(batch genericBatch, organizationName pgtype.Text, username pgtype.Text)
CountWorkspacesByUsernameBatch implements Querier.CountWorkspacesByUsernameBatch.
func (*DBQuerier) CountWorkspacesByUsernameScan ¶ added in v0.0.32
CountWorkspacesByUsernameScan implements Querier.CountWorkspacesByUsernameScan.
func (*DBQuerier) CountWorkspacesScan ¶
CountWorkspacesScan implements Querier.CountWorkspacesScan.
func (*DBQuerier) DeleteAgentTokenByID ¶
func (q *DBQuerier) DeleteAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error)
DeleteAgentTokenByID implements Querier.DeleteAgentTokenByID.
func (*DBQuerier) DeleteAgentTokenByIDBatch ¶
DeleteAgentTokenByIDBatch implements Querier.DeleteAgentTokenByIDBatch.
func (*DBQuerier) DeleteAgentTokenByIDScan ¶
DeleteAgentTokenByIDScan implements Querier.DeleteAgentTokenByIDScan.
func (*DBQuerier) DeleteConfigurationVersionByID ¶
func (q *DBQuerier) DeleteConfigurationVersionByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error)
DeleteConfigurationVersionByID implements Querier.DeleteConfigurationVersionByID.
func (*DBQuerier) DeleteConfigurationVersionByIDBatch ¶
DeleteConfigurationVersionByIDBatch implements Querier.DeleteConfigurationVersionByIDBatch.
func (*DBQuerier) DeleteConfigurationVersionByIDScan ¶
func (q *DBQuerier) DeleteConfigurationVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)
DeleteConfigurationVersionByIDScan implements Querier.DeleteConfigurationVersionByIDScan.
func (*DBQuerier) DeleteModuleByID ¶ added in v0.0.19
func (q *DBQuerier) DeleteModuleByID(ctx context.Context, moduleID pgtype.Text) (pgtype.Text, error)
DeleteModuleByID implements Querier.DeleteModuleByID.
func (*DBQuerier) DeleteModuleByIDBatch ¶ added in v0.0.19
DeleteModuleByIDBatch implements Querier.DeleteModuleByIDBatch.
func (*DBQuerier) DeleteModuleByIDScan ¶ added in v0.0.19
DeleteModuleByIDScan implements Querier.DeleteModuleByIDScan.
func (*DBQuerier) DeleteModuleConnectionByID ¶ added in v0.0.32
func (q *DBQuerier) DeleteModuleConnectionByID(ctx context.Context, id pgtype.Text) (DeleteModuleConnectionByIDRow, error)
DeleteModuleConnectionByID implements Querier.DeleteModuleConnectionByID.
func (*DBQuerier) DeleteModuleConnectionByIDBatch ¶ added in v0.0.32
DeleteModuleConnectionByIDBatch implements Querier.DeleteModuleConnectionByIDBatch.
func (*DBQuerier) DeleteModuleConnectionByIDScan ¶ added in v0.0.32
func (q *DBQuerier) DeleteModuleConnectionByIDScan(results pgx.BatchResults) (DeleteModuleConnectionByIDRow, error)
DeleteModuleConnectionByIDScan implements Querier.DeleteModuleConnectionByIDScan.
func (*DBQuerier) DeleteModuleVersionByID ¶ added in v0.0.32
func (q *DBQuerier) DeleteModuleVersionByID(ctx context.Context, moduleVersionID pgtype.Text) (pgtype.Text, error)
DeleteModuleVersionByID implements Querier.DeleteModuleVersionByID.
func (*DBQuerier) DeleteModuleVersionByIDBatch ¶ added in v0.0.32
DeleteModuleVersionByIDBatch implements Querier.DeleteModuleVersionByIDBatch.
func (*DBQuerier) DeleteModuleVersionByIDScan ¶ added in v0.0.32
DeleteModuleVersionByIDScan implements Querier.DeleteModuleVersionByIDScan.
func (*DBQuerier) DeleteOrganizationByName ¶ added in v0.0.23
func (q *DBQuerier) DeleteOrganizationByName(ctx context.Context, name pgtype.Text) (pgtype.Text, error)
DeleteOrganizationByName implements Querier.DeleteOrganizationByName.
func (*DBQuerier) DeleteOrganizationByNameBatch ¶ added in v0.0.23
DeleteOrganizationByNameBatch implements Querier.DeleteOrganizationByNameBatch.
func (*DBQuerier) DeleteOrganizationByNameScan ¶ added in v0.0.23
DeleteOrganizationByNameScan implements Querier.DeleteOrganizationByNameScan.
func (*DBQuerier) DeleteOrganizationMembership ¶
func (q *DBQuerier) DeleteOrganizationMembership(ctx context.Context, username pgtype.Text, organizationName pgtype.Text) (pgtype.Text, error)
DeleteOrganizationMembership implements Querier.DeleteOrganizationMembership.
func (*DBQuerier) DeleteOrganizationMembershipBatch ¶
func (q *DBQuerier) DeleteOrganizationMembershipBatch(batch genericBatch, username pgtype.Text, organizationName pgtype.Text)
DeleteOrganizationMembershipBatch implements Querier.DeleteOrganizationMembershipBatch.
func (*DBQuerier) DeleteOrganizationMembershipScan ¶
DeleteOrganizationMembershipScan implements Querier.DeleteOrganizationMembershipScan.
func (*DBQuerier) DeleteRunByID ¶
DeleteRunByID implements Querier.DeleteRunByID.
func (*DBQuerier) DeleteRunByIDBatch ¶
DeleteRunByIDBatch implements Querier.DeleteRunByIDBatch.
func (*DBQuerier) DeleteRunByIDScan ¶
DeleteRunByIDScan implements Querier.DeleteRunByIDScan.
func (*DBQuerier) DeleteStateVersionByID ¶
func (q *DBQuerier) DeleteStateVersionByID(ctx context.Context, stateVersionID pgtype.Text) (pgtype.Text, error)
DeleteStateVersionByID implements Querier.DeleteStateVersionByID.
func (*DBQuerier) DeleteStateVersionByIDBatch ¶
DeleteStateVersionByIDBatch implements Querier.DeleteStateVersionByIDBatch.
func (*DBQuerier) DeleteStateVersionByIDScan ¶
DeleteStateVersionByIDScan implements Querier.DeleteStateVersionByIDScan.
func (*DBQuerier) DeleteTeamByID ¶ added in v0.0.19
DeleteTeamByID implements Querier.DeleteTeamByID.
func (*DBQuerier) DeleteTeamByIDBatch ¶ added in v0.0.19
DeleteTeamByIDBatch implements Querier.DeleteTeamByIDBatch.
func (*DBQuerier) DeleteTeamByIDScan ¶ added in v0.0.19
DeleteTeamByIDScan implements Querier.DeleteTeamByIDScan.
func (*DBQuerier) DeleteTeamMembership ¶
func (q *DBQuerier) DeleteTeamMembership(ctx context.Context, username pgtype.Text, teamID pgtype.Text) (pgtype.Text, error)
DeleteTeamMembership implements Querier.DeleteTeamMembership.
func (*DBQuerier) DeleteTeamMembershipBatch ¶
func (q *DBQuerier) DeleteTeamMembershipBatch(batch genericBatch, username pgtype.Text, teamID pgtype.Text)
DeleteTeamMembershipBatch implements Querier.DeleteTeamMembershipBatch.
func (*DBQuerier) DeleteTeamMembershipScan ¶
DeleteTeamMembershipScan implements Querier.DeleteTeamMembershipScan.
func (*DBQuerier) DeleteTokenByID ¶
DeleteTokenByID implements Querier.DeleteTokenByID.
func (*DBQuerier) DeleteTokenByIDBatch ¶
DeleteTokenByIDBatch implements Querier.DeleteTokenByIDBatch.
func (*DBQuerier) DeleteTokenByIDScan ¶
DeleteTokenByIDScan implements Querier.DeleteTokenByIDScan.
func (*DBQuerier) DeleteUserByID ¶
DeleteUserByID implements Querier.DeleteUserByID.
func (*DBQuerier) DeleteUserByIDBatch ¶
DeleteUserByIDBatch implements Querier.DeleteUserByIDBatch.
func (*DBQuerier) DeleteUserByIDScan ¶
DeleteUserByIDScan implements Querier.DeleteUserByIDScan.
func (*DBQuerier) DeleteUserByUsername ¶
func (q *DBQuerier) DeleteUserByUsername(ctx context.Context, username pgtype.Text) (pgtype.Text, error)
DeleteUserByUsername implements Querier.DeleteUserByUsername.
func (*DBQuerier) DeleteUserByUsernameBatch ¶
DeleteUserByUsernameBatch implements Querier.DeleteUserByUsernameBatch.
func (*DBQuerier) DeleteUserByUsernameScan ¶
DeleteUserByUsernameScan implements Querier.DeleteUserByUsernameScan.
func (*DBQuerier) DeleteVCSProviderByID ¶ added in v0.0.16
func (q *DBQuerier) DeleteVCSProviderByID(ctx context.Context, vcsProviderID pgtype.Text) (pgtype.Text, error)
DeleteVCSProviderByID implements Querier.DeleteVCSProviderByID.
func (*DBQuerier) DeleteVCSProviderByIDBatch ¶ added in v0.0.16
DeleteVCSProviderByIDBatch implements Querier.DeleteVCSProviderByIDBatch.
func (*DBQuerier) DeleteVCSProviderByIDScan ¶ added in v0.0.16
DeleteVCSProviderByIDScan implements Querier.DeleteVCSProviderByIDScan.
func (*DBQuerier) DeleteVariableByID ¶ added in v0.0.23
func (q *DBQuerier) DeleteVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteVariableByIDRow, error)
DeleteVariableByID implements Querier.DeleteVariableByID.
func (*DBQuerier) DeleteVariableByIDBatch ¶ added in v0.0.23
DeleteVariableByIDBatch implements Querier.DeleteVariableByIDBatch.
func (*DBQuerier) DeleteVariableByIDScan ¶ added in v0.0.23
func (q *DBQuerier) DeleteVariableByIDScan(results pgx.BatchResults) (DeleteVariableByIDRow, error)
DeleteVariableByIDScan implements Querier.DeleteVariableByIDScan.
func (*DBQuerier) DeleteWebhookByID ¶ added in v0.0.23
func (q *DBQuerier) DeleteWebhookByID(ctx context.Context, webhookID pgtype.UUID) (DeleteWebhookByIDRow, error)
DeleteWebhookByID implements Querier.DeleteWebhookByID.
func (*DBQuerier) DeleteWebhookByIDBatch ¶ added in v0.0.23
DeleteWebhookByIDBatch implements Querier.DeleteWebhookByIDBatch.
func (*DBQuerier) DeleteWebhookByIDScan ¶ added in v0.0.23
func (q *DBQuerier) DeleteWebhookByIDScan(results pgx.BatchResults) (DeleteWebhookByIDRow, error)
DeleteWebhookByIDScan implements Querier.DeleteWebhookByIDScan.
func (*DBQuerier) DeleteWorkspaceByID ¶
func (q *DBQuerier) DeleteWorkspaceByID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error)
DeleteWorkspaceByID implements Querier.DeleteWorkspaceByID.
func (*DBQuerier) DeleteWorkspaceByIDBatch ¶
DeleteWorkspaceByIDBatch implements Querier.DeleteWorkspaceByIDBatch.
func (*DBQuerier) DeleteWorkspaceByIDScan ¶
func (q *DBQuerier) DeleteWorkspaceByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
DeleteWorkspaceByIDScan implements Querier.DeleteWorkspaceByIDScan.
func (*DBQuerier) DeleteWorkspaceConnectionByID ¶ added in v0.0.32
func (q *DBQuerier) DeleteWorkspaceConnectionByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceConnectionByIDRow, error)
DeleteWorkspaceConnectionByID implements Querier.DeleteWorkspaceConnectionByID.
func (*DBQuerier) DeleteWorkspaceConnectionByIDBatch ¶ added in v0.0.32
DeleteWorkspaceConnectionByIDBatch implements Querier.DeleteWorkspaceConnectionByIDBatch.
func (*DBQuerier) DeleteWorkspaceConnectionByIDScan ¶ added in v0.0.32
func (q *DBQuerier) DeleteWorkspaceConnectionByIDScan(results pgx.BatchResults) (DeleteWorkspaceConnectionByIDRow, error)
DeleteWorkspaceConnectionByIDScan implements Querier.DeleteWorkspaceConnectionByIDScan.
func (*DBQuerier) DeleteWorkspaceLock ¶
DeleteWorkspaceLock implements Querier.DeleteWorkspaceLock.
func (*DBQuerier) DeleteWorkspaceLockBatch ¶
DeleteWorkspaceLockBatch implements Querier.DeleteWorkspaceLockBatch.
func (*DBQuerier) DeleteWorkspaceLockScan ¶
DeleteWorkspaceLockScan implements Querier.DeleteWorkspaceLockScan.
func (*DBQuerier) DeleteWorkspacePermissionByID ¶
func (q *DBQuerier) DeleteWorkspacePermissionByID(ctx context.Context, workspaceID pgtype.Text, teamName pgtype.Text) (pgconn.CommandTag, error)
DeleteWorkspacePermissionByID implements Querier.DeleteWorkspacePermissionByID.
func (*DBQuerier) DeleteWorkspacePermissionByIDBatch ¶
func (q *DBQuerier) DeleteWorkspacePermissionByIDBatch(batch genericBatch, workspaceID pgtype.Text, teamName pgtype.Text)
DeleteWorkspacePermissionByIDBatch implements Querier.DeleteWorkspacePermissionByIDBatch.
func (*DBQuerier) DeleteWorkspacePermissionByIDScan ¶
func (q *DBQuerier) DeleteWorkspacePermissionByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
DeleteWorkspacePermissionByIDScan implements Querier.DeleteWorkspacePermissionByIDScan.
func (*DBQuerier) DeleteWorkspaceRepoByID ¶ added in v0.0.23
func (q *DBQuerier) DeleteWorkspaceRepoByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceRepoByIDRow, error)
DeleteWorkspaceRepoByID implements Querier.DeleteWorkspaceRepoByID.
func (*DBQuerier) DeleteWorkspaceRepoByIDBatch ¶ added in v0.0.23
DeleteWorkspaceRepoByIDBatch implements Querier.DeleteWorkspaceRepoByIDBatch.
func (*DBQuerier) DeleteWorkspaceRepoByIDScan ¶ added in v0.0.23
func (q *DBQuerier) DeleteWorkspaceRepoByIDScan(results pgx.BatchResults) (DeleteWorkspaceRepoByIDRow, error)
DeleteWorkspaceRepoByIDScan implements Querier.DeleteWorkspaceRepoByIDScan.
func (*DBQuerier) DownloadConfigurationVersion ¶
func (q *DBQuerier) DownloadConfigurationVersion(ctx context.Context, configurationVersionID pgtype.Text) ([]byte, error)
DownloadConfigurationVersion implements Querier.DownloadConfigurationVersion.
func (*DBQuerier) DownloadConfigurationVersionBatch ¶
func (q *DBQuerier) DownloadConfigurationVersionBatch(batch genericBatch, configurationVersionID pgtype.Text)
DownloadConfigurationVersionBatch implements Querier.DownloadConfigurationVersionBatch.
func (*DBQuerier) DownloadConfigurationVersionScan ¶
DownloadConfigurationVersionScan implements Querier.DownloadConfigurationVersionScan.
func (*DBQuerier) FindAgentTokenByID ¶ added in v0.0.19
func (q *DBQuerier) FindAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (FindAgentTokenByIDRow, error)
FindAgentTokenByID implements Querier.FindAgentTokenByID.
func (*DBQuerier) FindAgentTokenByIDBatch ¶ added in v0.0.19
FindAgentTokenByIDBatch implements Querier.FindAgentTokenByIDBatch.
func (*DBQuerier) FindAgentTokenByIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error)
FindAgentTokenByIDScan implements Querier.FindAgentTokenByIDScan.
func (*DBQuerier) FindAgentTokens ¶
func (q *DBQuerier) FindAgentTokens(ctx context.Context, organizationName pgtype.Text) ([]FindAgentTokensRow, error)
FindAgentTokens implements Querier.FindAgentTokens.
func (*DBQuerier) FindAgentTokensBatch ¶
FindAgentTokensBatch implements Querier.FindAgentTokensBatch.
func (*DBQuerier) FindAgentTokensScan ¶
func (q *DBQuerier) FindAgentTokensScan(results pgx.BatchResults) ([]FindAgentTokensRow, error)
FindAgentTokensScan implements Querier.FindAgentTokensScan.
func (*DBQuerier) FindConfigurationVersionByID ¶
func (q *DBQuerier) FindConfigurationVersionByID(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDRow, error)
FindConfigurationVersionByID implements Querier.FindConfigurationVersionByID.
func (*DBQuerier) FindConfigurationVersionByIDBatch ¶
func (q *DBQuerier) FindConfigurationVersionByIDBatch(batch genericBatch, configurationVersionID pgtype.Text)
FindConfigurationVersionByIDBatch implements Querier.FindConfigurationVersionByIDBatch.
func (*DBQuerier) FindConfigurationVersionByIDForUpdate ¶
func (q *DBQuerier) FindConfigurationVersionByIDForUpdate(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDForUpdateRow, error)
FindConfigurationVersionByIDForUpdate implements Querier.FindConfigurationVersionByIDForUpdate.
func (*DBQuerier) FindConfigurationVersionByIDForUpdateBatch ¶
func (q *DBQuerier) FindConfigurationVersionByIDForUpdateBatch(batch genericBatch, configurationVersionID pgtype.Text)
FindConfigurationVersionByIDForUpdateBatch implements Querier.FindConfigurationVersionByIDForUpdateBatch.
func (*DBQuerier) FindConfigurationVersionByIDForUpdateScan ¶
func (q *DBQuerier) FindConfigurationVersionByIDForUpdateScan(results pgx.BatchResults) (FindConfigurationVersionByIDForUpdateRow, error)
FindConfigurationVersionByIDForUpdateScan implements Querier.FindConfigurationVersionByIDForUpdateScan.
func (*DBQuerier) FindConfigurationVersionByIDScan ¶
func (q *DBQuerier) FindConfigurationVersionByIDScan(results pgx.BatchResults) (FindConfigurationVersionByIDRow, error)
FindConfigurationVersionByIDScan implements Querier.FindConfigurationVersionByIDScan.
func (*DBQuerier) FindConfigurationVersionLatestByWorkspaceID ¶
func (q *DBQuerier) FindConfigurationVersionLatestByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindConfigurationVersionLatestByWorkspaceIDRow, error)
FindConfigurationVersionLatestByWorkspaceID implements Querier.FindConfigurationVersionLatestByWorkspaceID.
func (*DBQuerier) FindConfigurationVersionLatestByWorkspaceIDBatch ¶
func (q *DBQuerier) FindConfigurationVersionLatestByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindConfigurationVersionLatestByWorkspaceIDBatch implements Querier.FindConfigurationVersionLatestByWorkspaceIDBatch.
func (*DBQuerier) FindConfigurationVersionLatestByWorkspaceIDScan ¶
func (q *DBQuerier) FindConfigurationVersionLatestByWorkspaceIDScan(results pgx.BatchResults) (FindConfigurationVersionLatestByWorkspaceIDRow, error)
FindConfigurationVersionLatestByWorkspaceIDScan implements Querier.FindConfigurationVersionLatestByWorkspaceIDScan.
func (*DBQuerier) FindConfigurationVersionsByWorkspaceID ¶
func (q *DBQuerier) FindConfigurationVersionsByWorkspaceID(ctx context.Context, params FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
FindConfigurationVersionsByWorkspaceID implements Querier.FindConfigurationVersionsByWorkspaceID.
func (*DBQuerier) FindConfigurationVersionsByWorkspaceIDBatch ¶
func (q *DBQuerier) FindConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, params FindConfigurationVersionsByWorkspaceIDParams)
FindConfigurationVersionsByWorkspaceIDBatch implements Querier.FindConfigurationVersionsByWorkspaceIDBatch.
func (*DBQuerier) FindConfigurationVersionsByWorkspaceIDScan ¶
func (q *DBQuerier) FindConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
FindConfigurationVersionsByWorkspaceIDScan implements Querier.FindConfigurationVersionsByWorkspaceIDScan.
func (*DBQuerier) FindCurrentStateVersionByWorkspaceID ¶ added in v0.0.34
func (q *DBQuerier) FindCurrentStateVersionByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindCurrentStateVersionByWorkspaceIDRow, error)
FindCurrentStateVersionByWorkspaceID implements Querier.FindCurrentStateVersionByWorkspaceID.
func (*DBQuerier) FindCurrentStateVersionByWorkspaceIDBatch ¶ added in v0.0.34
func (q *DBQuerier) FindCurrentStateVersionByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindCurrentStateVersionByWorkspaceIDBatch implements Querier.FindCurrentStateVersionByWorkspaceIDBatch.
func (*DBQuerier) FindCurrentStateVersionByWorkspaceIDScan ¶ added in v0.0.34
func (q *DBQuerier) FindCurrentStateVersionByWorkspaceIDScan(results pgx.BatchResults) (FindCurrentStateVersionByWorkspaceIDRow, error)
FindCurrentStateVersionByWorkspaceIDScan implements Querier.FindCurrentStateVersionByWorkspaceIDScan.
func (*DBQuerier) FindLogChunkByID ¶
FindLogChunkByID implements Querier.FindLogChunkByID.
func (*DBQuerier) FindLogChunkByIDBatch ¶
FindLogChunkByIDBatch implements Querier.FindLogChunkByIDBatch.
func (*DBQuerier) FindLogChunkByIDScan ¶
func (q *DBQuerier) FindLogChunkByIDScan(results pgx.BatchResults) (FindLogChunkByIDRow, error)
FindLogChunkByIDScan implements Querier.FindLogChunkByIDScan.
func (*DBQuerier) FindLogs ¶ added in v0.0.32
func (q *DBQuerier) FindLogs(ctx context.Context, runID pgtype.Text, phase pgtype.Text) ([]byte, error)
FindLogs implements Querier.FindLogs.
func (*DBQuerier) FindLogsBatch ¶ added in v0.0.32
FindLogsBatch implements Querier.FindLogsBatch.
func (*DBQuerier) FindLogsScan ¶ added in v0.0.32
FindLogsScan implements Querier.FindLogsScan.
func (*DBQuerier) FindModuleByID ¶ added in v0.0.19
FindModuleByID implements Querier.FindModuleByID.
func (*DBQuerier) FindModuleByIDBatch ¶ added in v0.0.19
FindModuleByIDBatch implements Querier.FindModuleByIDBatch.
func (*DBQuerier) FindModuleByIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindModuleByIDScan(results pgx.BatchResults) (FindModuleByIDRow, error)
FindModuleByIDScan implements Querier.FindModuleByIDScan.
func (*DBQuerier) FindModuleByModuleVersionID ¶ added in v0.0.32
func (q *DBQuerier) FindModuleByModuleVersionID(ctx context.Context, moduleVersionID pgtype.Text) (FindModuleByModuleVersionIDRow, error)
FindModuleByModuleVersionID implements Querier.FindModuleByModuleVersionID.
func (*DBQuerier) FindModuleByModuleVersionIDBatch ¶ added in v0.0.32
func (q *DBQuerier) FindModuleByModuleVersionIDBatch(batch genericBatch, moduleVersionID pgtype.Text)
FindModuleByModuleVersionIDBatch implements Querier.FindModuleByModuleVersionIDBatch.
func (*DBQuerier) FindModuleByModuleVersionIDScan ¶ added in v0.0.32
func (q *DBQuerier) FindModuleByModuleVersionIDScan(results pgx.BatchResults) (FindModuleByModuleVersionIDRow, error)
FindModuleByModuleVersionIDScan implements Querier.FindModuleByModuleVersionIDScan.
func (*DBQuerier) FindModuleByName ¶ added in v0.0.19
func (q *DBQuerier) FindModuleByName(ctx context.Context, params FindModuleByNameParams) (FindModuleByNameRow, error)
FindModuleByName implements Querier.FindModuleByName.
func (*DBQuerier) FindModuleByNameBatch ¶ added in v0.0.19
func (q *DBQuerier) FindModuleByNameBatch(batch genericBatch, params FindModuleByNameParams)
FindModuleByNameBatch implements Querier.FindModuleByNameBatch.
func (*DBQuerier) FindModuleByNameScan ¶ added in v0.0.19
func (q *DBQuerier) FindModuleByNameScan(results pgx.BatchResults) (FindModuleByNameRow, error)
FindModuleByNameScan implements Querier.FindModuleByNameScan.
func (*DBQuerier) FindModuleByWebhookID ¶ added in v0.0.19
func (q *DBQuerier) FindModuleByWebhookID(ctx context.Context, webhookID pgtype.UUID) (FindModuleByWebhookIDRow, error)
FindModuleByWebhookID implements Querier.FindModuleByWebhookID.
func (*DBQuerier) FindModuleByWebhookIDBatch ¶ added in v0.0.19
FindModuleByWebhookIDBatch implements Querier.FindModuleByWebhookIDBatch.
func (*DBQuerier) FindModuleByWebhookIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindModuleByWebhookIDScan(results pgx.BatchResults) (FindModuleByWebhookIDRow, error)
FindModuleByWebhookIDScan implements Querier.FindModuleByWebhookIDScan.
func (*DBQuerier) FindModuleTarball ¶ added in v0.0.19
func (q *DBQuerier) FindModuleTarball(ctx context.Context, moduleVersionID pgtype.Text) ([]byte, error)
FindModuleTarball implements Querier.FindModuleTarball.
func (*DBQuerier) FindModuleTarballBatch ¶ added in v0.0.19
FindModuleTarballBatch implements Querier.FindModuleTarballBatch.
func (*DBQuerier) FindModuleTarballScan ¶ added in v0.0.19
FindModuleTarballScan implements Querier.FindModuleTarballScan.
func (*DBQuerier) FindOrganizationByID ¶ added in v0.0.19
func (q *DBQuerier) FindOrganizationByID(ctx context.Context, organizationID pgtype.Text) (FindOrganizationByIDRow, error)
FindOrganizationByID implements Querier.FindOrganizationByID.
func (*DBQuerier) FindOrganizationByIDBatch ¶ added in v0.0.19
FindOrganizationByIDBatch implements Querier.FindOrganizationByIDBatch.
func (*DBQuerier) FindOrganizationByIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindOrganizationByIDScan(results pgx.BatchResults) (FindOrganizationByIDRow, error)
FindOrganizationByIDScan implements Querier.FindOrganizationByIDScan.
func (*DBQuerier) FindOrganizationByName ¶
func (q *DBQuerier) FindOrganizationByName(ctx context.Context, name pgtype.Text) (FindOrganizationByNameRow, error)
FindOrganizationByName implements Querier.FindOrganizationByName.
func (*DBQuerier) FindOrganizationByNameBatch ¶
FindOrganizationByNameBatch implements Querier.FindOrganizationByNameBatch.
func (*DBQuerier) FindOrganizationByNameForUpdate ¶
func (q *DBQuerier) FindOrganizationByNameForUpdate(ctx context.Context, name pgtype.Text) (FindOrganizationByNameForUpdateRow, error)
FindOrganizationByNameForUpdate implements Querier.FindOrganizationByNameForUpdate.
func (*DBQuerier) FindOrganizationByNameForUpdateBatch ¶
FindOrganizationByNameForUpdateBatch implements Querier.FindOrganizationByNameForUpdateBatch.
func (*DBQuerier) FindOrganizationByNameForUpdateScan ¶
func (q *DBQuerier) FindOrganizationByNameForUpdateScan(results pgx.BatchResults) (FindOrganizationByNameForUpdateRow, error)
FindOrganizationByNameForUpdateScan implements Querier.FindOrganizationByNameForUpdateScan.
func (*DBQuerier) FindOrganizationByNameScan ¶
func (q *DBQuerier) FindOrganizationByNameScan(results pgx.BatchResults) (FindOrganizationByNameRow, error)
FindOrganizationByNameScan implements Querier.FindOrganizationByNameScan.
func (*DBQuerier) FindOrganizationNameByWorkspaceID ¶
func (q *DBQuerier) FindOrganizationNameByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Text, error)
FindOrganizationNameByWorkspaceID implements Querier.FindOrganizationNameByWorkspaceID.
func (*DBQuerier) FindOrganizationNameByWorkspaceIDBatch ¶
func (q *DBQuerier) FindOrganizationNameByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindOrganizationNameByWorkspaceIDBatch implements Querier.FindOrganizationNameByWorkspaceIDBatch.
func (*DBQuerier) FindOrganizationNameByWorkspaceIDScan ¶
func (q *DBQuerier) FindOrganizationNameByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Text, error)
FindOrganizationNameByWorkspaceIDScan implements Querier.FindOrganizationNameByWorkspaceIDScan.
func (*DBQuerier) FindOrganizations ¶
func (q *DBQuerier) FindOrganizations(ctx context.Context, params FindOrganizationsParams) ([]FindOrganizationsRow, error)
FindOrganizations implements Querier.FindOrganizations.
func (*DBQuerier) FindOrganizationsBatch ¶
func (q *DBQuerier) FindOrganizationsBatch(batch genericBatch, params FindOrganizationsParams)
FindOrganizationsBatch implements Querier.FindOrganizationsBatch.
func (*DBQuerier) FindOrganizationsScan ¶
func (q *DBQuerier) FindOrganizationsScan(results pgx.BatchResults) ([]FindOrganizationsRow, error)
FindOrganizationsScan implements Querier.FindOrganizationsScan.
func (*DBQuerier) FindRunByID ¶
FindRunByID implements Querier.FindRunByID.
func (*DBQuerier) FindRunByIDBatch ¶
FindRunByIDBatch implements Querier.FindRunByIDBatch.
func (*DBQuerier) FindRunByIDForUpdate ¶
func (q *DBQuerier) FindRunByIDForUpdate(ctx context.Context, runID pgtype.Text) (FindRunByIDForUpdateRow, error)
FindRunByIDForUpdate implements Querier.FindRunByIDForUpdate.
func (*DBQuerier) FindRunByIDForUpdateBatch ¶
FindRunByIDForUpdateBatch implements Querier.FindRunByIDForUpdateBatch.
func (*DBQuerier) FindRunByIDForUpdateScan ¶
func (q *DBQuerier) FindRunByIDForUpdateScan(results pgx.BatchResults) (FindRunByIDForUpdateRow, error)
FindRunByIDForUpdateScan implements Querier.FindRunByIDForUpdateScan.
func (*DBQuerier) FindRunByIDScan ¶
func (q *DBQuerier) FindRunByIDScan(results pgx.BatchResults) (FindRunByIDRow, error)
FindRunByIDScan implements Querier.FindRunByIDScan.
func (*DBQuerier) FindRuns ¶
func (q *DBQuerier) FindRuns(ctx context.Context, params FindRunsParams) ([]FindRunsRow, error)
FindRuns implements Querier.FindRuns.
func (*DBQuerier) FindRunsBatch ¶
func (q *DBQuerier) FindRunsBatch(batch genericBatch, params FindRunsParams)
FindRunsBatch implements Querier.FindRunsBatch.
func (*DBQuerier) FindRunsScan ¶
func (q *DBQuerier) FindRunsScan(results pgx.BatchResults) ([]FindRunsRow, error)
FindRunsScan implements Querier.FindRunsScan.
func (*DBQuerier) FindStateVersionByID ¶
func (q *DBQuerier) FindStateVersionByID(ctx context.Context, id pgtype.Text) (FindStateVersionByIDRow, error)
FindStateVersionByID implements Querier.FindStateVersionByID.
func (*DBQuerier) FindStateVersionByIDBatch ¶
FindStateVersionByIDBatch implements Querier.FindStateVersionByIDBatch.
func (*DBQuerier) FindStateVersionByIDScan ¶
func (q *DBQuerier) FindStateVersionByIDScan(results pgx.BatchResults) (FindStateVersionByIDRow, error)
FindStateVersionByIDScan implements Querier.FindStateVersionByIDScan.
func (*DBQuerier) FindStateVersionOutputByID ¶ added in v0.0.30
func (q *DBQuerier) FindStateVersionOutputByID(ctx context.Context, id pgtype.Text) (FindStateVersionOutputByIDRow, error)
FindStateVersionOutputByID implements Querier.FindStateVersionOutputByID.
func (*DBQuerier) FindStateVersionOutputByIDBatch ¶ added in v0.0.30
FindStateVersionOutputByIDBatch implements Querier.FindStateVersionOutputByIDBatch.
func (*DBQuerier) FindStateVersionOutputByIDScan ¶ added in v0.0.30
func (q *DBQuerier) FindStateVersionOutputByIDScan(results pgx.BatchResults) (FindStateVersionOutputByIDRow, error)
FindStateVersionOutputByIDScan implements Querier.FindStateVersionOutputByIDScan.
func (*DBQuerier) FindStateVersionStateByID ¶
FindStateVersionStateByID implements Querier.FindStateVersionStateByID.
func (*DBQuerier) FindStateVersionStateByIDBatch ¶
FindStateVersionStateByIDBatch implements Querier.FindStateVersionStateByIDBatch.
func (*DBQuerier) FindStateVersionStateByIDScan ¶
FindStateVersionStateByIDScan implements Querier.FindStateVersionStateByIDScan.
func (*DBQuerier) FindStateVersionsByWorkspaceName ¶
func (q *DBQuerier) FindStateVersionsByWorkspaceName(ctx context.Context, params FindStateVersionsByWorkspaceNameParams) ([]FindStateVersionsByWorkspaceNameRow, error)
FindStateVersionsByWorkspaceName implements Querier.FindStateVersionsByWorkspaceName.
func (*DBQuerier) FindStateVersionsByWorkspaceNameBatch ¶
func (q *DBQuerier) FindStateVersionsByWorkspaceNameBatch(batch genericBatch, params FindStateVersionsByWorkspaceNameParams)
FindStateVersionsByWorkspaceNameBatch implements Querier.FindStateVersionsByWorkspaceNameBatch.
func (*DBQuerier) FindStateVersionsByWorkspaceNameScan ¶
func (q *DBQuerier) FindStateVersionsByWorkspaceNameScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceNameRow, error)
FindStateVersionsByWorkspaceNameScan implements Querier.FindStateVersionsByWorkspaceNameScan.
func (*DBQuerier) FindTeamByID ¶ added in v0.0.19
FindTeamByID implements Querier.FindTeamByID.
func (*DBQuerier) FindTeamByIDBatch ¶ added in v0.0.19
FindTeamByIDBatch implements Querier.FindTeamByIDBatch.
func (*DBQuerier) FindTeamByIDForUpdate ¶ added in v0.0.19
func (q *DBQuerier) FindTeamByIDForUpdate(ctx context.Context, teamID pgtype.Text) (FindTeamByIDForUpdateRow, error)
FindTeamByIDForUpdate implements Querier.FindTeamByIDForUpdate.
func (*DBQuerier) FindTeamByIDForUpdateBatch ¶ added in v0.0.19
FindTeamByIDForUpdateBatch implements Querier.FindTeamByIDForUpdateBatch.
func (*DBQuerier) FindTeamByIDForUpdateScan ¶ added in v0.0.19
func (q *DBQuerier) FindTeamByIDForUpdateScan(results pgx.BatchResults) (FindTeamByIDForUpdateRow, error)
FindTeamByIDForUpdateScan implements Querier.FindTeamByIDForUpdateScan.
func (*DBQuerier) FindTeamByIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindTeamByIDScan(results pgx.BatchResults) (FindTeamByIDRow, error)
FindTeamByIDScan implements Querier.FindTeamByIDScan.
func (*DBQuerier) FindTeamByName ¶
func (q *DBQuerier) FindTeamByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTeamByNameRow, error)
FindTeamByName implements Querier.FindTeamByName.
func (*DBQuerier) FindTeamByNameBatch ¶
func (q *DBQuerier) FindTeamByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text)
FindTeamByNameBatch implements Querier.FindTeamByNameBatch.
func (*DBQuerier) FindTeamByNameScan ¶
func (q *DBQuerier) FindTeamByNameScan(results pgx.BatchResults) (FindTeamByNameRow, error)
FindTeamByNameScan implements Querier.FindTeamByNameScan.
func (*DBQuerier) FindTeamsByOrg ¶
func (q *DBQuerier) FindTeamsByOrg(ctx context.Context, organizationName pgtype.Text) ([]FindTeamsByOrgRow, error)
FindTeamsByOrg implements Querier.FindTeamsByOrg.
func (*DBQuerier) FindTeamsByOrgBatch ¶
FindTeamsByOrgBatch implements Querier.FindTeamsByOrgBatch.
func (*DBQuerier) FindTeamsByOrgScan ¶
func (q *DBQuerier) FindTeamsByOrgScan(results pgx.BatchResults) ([]FindTeamsByOrgRow, error)
FindTeamsByOrgScan implements Querier.FindTeamsByOrgScan.
func (*DBQuerier) FindTokenByID ¶ added in v0.0.32
func (q *DBQuerier) FindTokenByID(ctx context.Context, tokenID pgtype.Text) (FindTokenByIDRow, error)
FindTokenByID implements Querier.FindTokenByID.
func (*DBQuerier) FindTokenByIDBatch ¶ added in v0.0.32
FindTokenByIDBatch implements Querier.FindTokenByIDBatch.
func (*DBQuerier) FindTokenByIDScan ¶ added in v0.0.32
func (q *DBQuerier) FindTokenByIDScan(results pgx.BatchResults) (FindTokenByIDRow, error)
FindTokenByIDScan implements Querier.FindTokenByIDScan.
func (*DBQuerier) FindTokensByUsername ¶ added in v0.0.32
func (q *DBQuerier) FindTokensByUsername(ctx context.Context, username pgtype.Text) ([]FindTokensByUsernameRow, error)
FindTokensByUsername implements Querier.FindTokensByUsername.
func (*DBQuerier) FindTokensByUsernameBatch ¶ added in v0.0.32
FindTokensByUsernameBatch implements Querier.FindTokensByUsernameBatch.
func (*DBQuerier) FindTokensByUsernameScan ¶ added in v0.0.32
func (q *DBQuerier) FindTokensByUsernameScan(results pgx.BatchResults) ([]FindTokensByUsernameRow, error)
FindTokensByUsernameScan implements Querier.FindTokensByUsernameScan.
func (*DBQuerier) FindUserByAuthenticationTokenID ¶ added in v0.0.33
func (q *DBQuerier) FindUserByAuthenticationTokenID(ctx context.Context, tokenID pgtype.Text) (FindUserByAuthenticationTokenIDRow, error)
FindUserByAuthenticationTokenID implements Querier.FindUserByAuthenticationTokenID.
func (*DBQuerier) FindUserByAuthenticationTokenIDBatch ¶ added in v0.0.33
FindUserByAuthenticationTokenIDBatch implements Querier.FindUserByAuthenticationTokenIDBatch.
func (*DBQuerier) FindUserByAuthenticationTokenIDScan ¶ added in v0.0.33
func (q *DBQuerier) FindUserByAuthenticationTokenIDScan(results pgx.BatchResults) (FindUserByAuthenticationTokenIDRow, error)
FindUserByAuthenticationTokenIDScan implements Querier.FindUserByAuthenticationTokenIDScan.
func (*DBQuerier) FindUserByID ¶
FindUserByID implements Querier.FindUserByID.
func (*DBQuerier) FindUserByIDBatch ¶
FindUserByIDBatch implements Querier.FindUserByIDBatch.
func (*DBQuerier) FindUserByIDScan ¶
func (q *DBQuerier) FindUserByIDScan(results pgx.BatchResults) (FindUserByIDRow, error)
FindUserByIDScan implements Querier.FindUserByIDScan.
func (*DBQuerier) FindUserByUsername ¶
func (q *DBQuerier) FindUserByUsername(ctx context.Context, username pgtype.Text) (FindUserByUsernameRow, error)
FindUserByUsername implements Querier.FindUserByUsername.
func (*DBQuerier) FindUserByUsernameBatch ¶
FindUserByUsernameBatch implements Querier.FindUserByUsernameBatch.
func (*DBQuerier) FindUserByUsernameScan ¶
func (q *DBQuerier) FindUserByUsernameScan(results pgx.BatchResults) (FindUserByUsernameRow, error)
FindUserByUsernameScan implements Querier.FindUserByUsernameScan.
func (*DBQuerier) FindUsers ¶
func (q *DBQuerier) FindUsers(ctx context.Context) ([]FindUsersRow, error)
FindUsers implements Querier.FindUsers.
func (*DBQuerier) FindUsersBatch ¶
func (q *DBQuerier) FindUsersBatch(batch genericBatch)
FindUsersBatch implements Querier.FindUsersBatch.
func (*DBQuerier) FindUsersByOrganization ¶
func (q *DBQuerier) FindUsersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindUsersByOrganizationRow, error)
FindUsersByOrganization implements Querier.FindUsersByOrganization.
func (*DBQuerier) FindUsersByOrganizationBatch ¶
FindUsersByOrganizationBatch implements Querier.FindUsersByOrganizationBatch.
func (*DBQuerier) FindUsersByOrganizationScan ¶
func (q *DBQuerier) FindUsersByOrganizationScan(results pgx.BatchResults) ([]FindUsersByOrganizationRow, error)
FindUsersByOrganizationScan implements Querier.FindUsersByOrganizationScan.
func (*DBQuerier) FindUsersByTeamID ¶ added in v0.0.19
func (q *DBQuerier) FindUsersByTeamID(ctx context.Context, teamID pgtype.Text) ([]FindUsersByTeamIDRow, error)
FindUsersByTeamID implements Querier.FindUsersByTeamID.
func (*DBQuerier) FindUsersByTeamIDBatch ¶ added in v0.0.19
FindUsersByTeamIDBatch implements Querier.FindUsersByTeamIDBatch.
func (*DBQuerier) FindUsersByTeamIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindUsersByTeamIDScan(results pgx.BatchResults) ([]FindUsersByTeamIDRow, error)
FindUsersByTeamIDScan implements Querier.FindUsersByTeamIDScan.
func (*DBQuerier) FindUsersScan ¶
func (q *DBQuerier) FindUsersScan(results pgx.BatchResults) ([]FindUsersRow, error)
FindUsersScan implements Querier.FindUsersScan.
func (*DBQuerier) FindVCSProvider ¶ added in v0.0.16
func (q *DBQuerier) FindVCSProvider(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderRow, error)
FindVCSProvider implements Querier.FindVCSProvider.
func (*DBQuerier) FindVCSProviderBatch ¶ added in v0.0.16
FindVCSProviderBatch implements Querier.FindVCSProviderBatch.
func (*DBQuerier) FindVCSProviderScan ¶ added in v0.0.16
func (q *DBQuerier) FindVCSProviderScan(results pgx.BatchResults) (FindVCSProviderRow, error)
FindVCSProviderScan implements Querier.FindVCSProviderScan.
func (*DBQuerier) FindVCSProviders ¶ added in v0.0.16
func (q *DBQuerier) FindVCSProviders(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersRow, error)
FindVCSProviders implements Querier.FindVCSProviders.
func (*DBQuerier) FindVCSProvidersBatch ¶ added in v0.0.16
FindVCSProvidersBatch implements Querier.FindVCSProvidersBatch.
func (*DBQuerier) FindVCSProvidersScan ¶ added in v0.0.16
func (q *DBQuerier) FindVCSProvidersScan(results pgx.BatchResults) ([]FindVCSProvidersRow, error)
FindVCSProvidersScan implements Querier.FindVCSProvidersScan.
func (*DBQuerier) FindVariable ¶ added in v0.0.20
func (q *DBQuerier) FindVariable(ctx context.Context, variableID pgtype.Text) (FindVariableRow, error)
FindVariable implements Querier.FindVariable.
func (*DBQuerier) FindVariableBatch ¶ added in v0.0.20
FindVariableBatch implements Querier.FindVariableBatch.
func (*DBQuerier) FindVariableForUpdate ¶ added in v0.0.20
func (q *DBQuerier) FindVariableForUpdate(ctx context.Context, variableID pgtype.Text) (FindVariableForUpdateRow, error)
FindVariableForUpdate implements Querier.FindVariableForUpdate.
func (*DBQuerier) FindVariableForUpdateBatch ¶ added in v0.0.20
FindVariableForUpdateBatch implements Querier.FindVariableForUpdateBatch.
func (*DBQuerier) FindVariableForUpdateScan ¶ added in v0.0.20
func (q *DBQuerier) FindVariableForUpdateScan(results pgx.BatchResults) (FindVariableForUpdateRow, error)
FindVariableForUpdateScan implements Querier.FindVariableForUpdateScan.
func (*DBQuerier) FindVariableScan ¶ added in v0.0.20
func (q *DBQuerier) FindVariableScan(results pgx.BatchResults) (FindVariableRow, error)
FindVariableScan implements Querier.FindVariableScan.
func (*DBQuerier) FindVariables ¶ added in v0.0.20
func (q *DBQuerier) FindVariables(ctx context.Context, workspaceID pgtype.Text) ([]FindVariablesRow, error)
FindVariables implements Querier.FindVariables.
func (*DBQuerier) FindVariablesBatch ¶ added in v0.0.20
FindVariablesBatch implements Querier.FindVariablesBatch.
func (*DBQuerier) FindVariablesScan ¶ added in v0.0.20
func (q *DBQuerier) FindVariablesScan(results pgx.BatchResults) ([]FindVariablesRow, error)
FindVariablesScan implements Querier.FindVariablesScan.
func (*DBQuerier) FindWebhookByID ¶ added in v0.0.19
func (q *DBQuerier) FindWebhookByID(ctx context.Context, webhookID pgtype.UUID) (FindWebhookByIDRow, error)
FindWebhookByID implements Querier.FindWebhookByID.
func (*DBQuerier) FindWebhookByIDBatch ¶ added in v0.0.19
FindWebhookByIDBatch implements Querier.FindWebhookByIDBatch.
func (*DBQuerier) FindWebhookByIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindWebhookByIDScan(results pgx.BatchResults) (FindWebhookByIDRow, error)
FindWebhookByIDScan implements Querier.FindWebhookByIDScan.
func (*DBQuerier) FindWebhooksByRepo ¶ added in v0.0.32
func (q *DBQuerier) FindWebhooksByRepo(ctx context.Context, identifier pgtype.Text, cloud pgtype.Text) ([]FindWebhooksByRepoRow, error)
FindWebhooksByRepo implements Querier.FindWebhooksByRepo.
func (*DBQuerier) FindWebhooksByRepoBatch ¶ added in v0.0.32
func (q *DBQuerier) FindWebhooksByRepoBatch(batch genericBatch, identifier pgtype.Text, cloud pgtype.Text)
FindWebhooksByRepoBatch implements Querier.FindWebhooksByRepoBatch.
func (*DBQuerier) FindWebhooksByRepoScan ¶ added in v0.0.32
func (q *DBQuerier) FindWebhooksByRepoScan(results pgx.BatchResults) ([]FindWebhooksByRepoRow, error)
FindWebhooksByRepoScan implements Querier.FindWebhooksByRepoScan.
func (*DBQuerier) FindWorkspaceByID ¶
func (q *DBQuerier) FindWorkspaceByID(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDRow, error)
FindWorkspaceByID implements Querier.FindWorkspaceByID.
func (*DBQuerier) FindWorkspaceByIDBatch ¶
FindWorkspaceByIDBatch implements Querier.FindWorkspaceByIDBatch.
func (*DBQuerier) FindWorkspaceByIDForUpdate ¶
func (q *DBQuerier) FindWorkspaceByIDForUpdate(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDForUpdateRow, error)
FindWorkspaceByIDForUpdate implements Querier.FindWorkspaceByIDForUpdate.
func (*DBQuerier) FindWorkspaceByIDForUpdateBatch ¶
FindWorkspaceByIDForUpdateBatch implements Querier.FindWorkspaceByIDForUpdateBatch.
func (*DBQuerier) FindWorkspaceByIDForUpdateScan ¶
func (q *DBQuerier) FindWorkspaceByIDForUpdateScan(results pgx.BatchResults) (FindWorkspaceByIDForUpdateRow, error)
FindWorkspaceByIDForUpdateScan implements Querier.FindWorkspaceByIDForUpdateScan.
func (*DBQuerier) FindWorkspaceByIDScan ¶
func (q *DBQuerier) FindWorkspaceByIDScan(results pgx.BatchResults) (FindWorkspaceByIDRow, error)
FindWorkspaceByIDScan implements Querier.FindWorkspaceByIDScan.
func (*DBQuerier) FindWorkspaceByName ¶
func (q *DBQuerier) FindWorkspaceByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindWorkspaceByNameRow, error)
FindWorkspaceByName implements Querier.FindWorkspaceByName.
func (*DBQuerier) FindWorkspaceByNameBatch ¶
func (q *DBQuerier) FindWorkspaceByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text)
FindWorkspaceByNameBatch implements Querier.FindWorkspaceByNameBatch.
func (*DBQuerier) FindWorkspaceByNameScan ¶
func (q *DBQuerier) FindWorkspaceByNameScan(results pgx.BatchResults) (FindWorkspaceByNameRow, error)
FindWorkspaceByNameScan implements Querier.FindWorkspaceByNameScan.
func (*DBQuerier) FindWorkspaceLockForUpdate ¶
func (q *DBQuerier) FindWorkspaceLockForUpdate(ctx context.Context, workspaceID string) (FindWorkspaceLockForUpdateRow, error)
FindWorkspaceLockForUpdate implements Querier.FindWorkspaceLockForUpdate.
func (*DBQuerier) FindWorkspaceLockForUpdateBatch ¶
FindWorkspaceLockForUpdateBatch implements Querier.FindWorkspaceLockForUpdateBatch.
func (*DBQuerier) FindWorkspaceLockForUpdateScan ¶
func (q *DBQuerier) FindWorkspaceLockForUpdateScan(results pgx.BatchResults) (FindWorkspaceLockForUpdateRow, error)
FindWorkspaceLockForUpdateScan implements Querier.FindWorkspaceLockForUpdateScan.
func (*DBQuerier) FindWorkspacePolicyByID ¶ added in v0.0.32
func (q *DBQuerier) FindWorkspacePolicyByID(ctx context.Context, workspaceID pgtype.Text) (FindWorkspacePolicyByIDRow, error)
FindWorkspacePolicyByID implements Querier.FindWorkspacePolicyByID.
func (*DBQuerier) FindWorkspacePolicyByIDBatch ¶ added in v0.0.32
FindWorkspacePolicyByIDBatch implements Querier.FindWorkspacePolicyByIDBatch.
func (*DBQuerier) FindWorkspacePolicyByIDScan ¶ added in v0.0.32
func (q *DBQuerier) FindWorkspacePolicyByIDScan(results pgx.BatchResults) (FindWorkspacePolicyByIDRow, error)
FindWorkspacePolicyByIDScan implements Querier.FindWorkspacePolicyByIDScan.
func (*DBQuerier) FindWorkspaces ¶
func (q *DBQuerier) FindWorkspaces(ctx context.Context, params FindWorkspacesParams) ([]FindWorkspacesRow, error)
FindWorkspaces implements Querier.FindWorkspaces.
func (*DBQuerier) FindWorkspacesBatch ¶
func (q *DBQuerier) FindWorkspacesBatch(batch genericBatch, params FindWorkspacesParams)
FindWorkspacesBatch implements Querier.FindWorkspacesBatch.
func (*DBQuerier) FindWorkspacesByUsername ¶ added in v0.0.32
func (q *DBQuerier) FindWorkspacesByUsername(ctx context.Context, params FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error)
FindWorkspacesByUsername implements Querier.FindWorkspacesByUsername.
func (*DBQuerier) FindWorkspacesByUsernameBatch ¶ added in v0.0.32
func (q *DBQuerier) FindWorkspacesByUsernameBatch(batch genericBatch, params FindWorkspacesByUsernameParams)
FindWorkspacesByUsernameBatch implements Querier.FindWorkspacesByUsernameBatch.
func (*DBQuerier) FindWorkspacesByUsernameScan ¶ added in v0.0.32
func (q *DBQuerier) FindWorkspacesByUsernameScan(results pgx.BatchResults) ([]FindWorkspacesByUsernameRow, error)
FindWorkspacesByUsernameScan implements Querier.FindWorkspacesByUsernameScan.
func (*DBQuerier) FindWorkspacesByWebhookID ¶ added in v0.0.19
func (q *DBQuerier) FindWorkspacesByWebhookID(ctx context.Context, webhookID pgtype.UUID) ([]FindWorkspacesByWebhookIDRow, error)
FindWorkspacesByWebhookID implements Querier.FindWorkspacesByWebhookID.
func (*DBQuerier) FindWorkspacesByWebhookIDBatch ¶ added in v0.0.19
FindWorkspacesByWebhookIDBatch implements Querier.FindWorkspacesByWebhookIDBatch.
func (*DBQuerier) FindWorkspacesByWebhookIDScan ¶ added in v0.0.19
func (q *DBQuerier) FindWorkspacesByWebhookIDScan(results pgx.BatchResults) ([]FindWorkspacesByWebhookIDRow, error)
FindWorkspacesByWebhookIDScan implements Querier.FindWorkspacesByWebhookIDScan.
func (*DBQuerier) FindWorkspacesScan ¶
func (q *DBQuerier) FindWorkspacesScan(results pgx.BatchResults) ([]FindWorkspacesRow, error)
FindWorkspacesScan implements Querier.FindWorkspacesScan.
func (*DBQuerier) GetLockFileByID ¶ added in v0.0.23
GetLockFileByID implements Querier.GetLockFileByID.
func (*DBQuerier) GetLockFileByIDBatch ¶ added in v0.0.23
GetLockFileByIDBatch implements Querier.GetLockFileByIDBatch.
func (*DBQuerier) GetLockFileByIDScan ¶ added in v0.0.23
GetLockFileByIDScan implements Querier.GetLockFileByIDScan.
func (*DBQuerier) GetPlanBinByID ¶
GetPlanBinByID implements Querier.GetPlanBinByID.
func (*DBQuerier) GetPlanBinByIDBatch ¶
GetPlanBinByIDBatch implements Querier.GetPlanBinByIDBatch.
func (*DBQuerier) GetPlanBinByIDScan ¶
GetPlanBinByIDScan implements Querier.GetPlanBinByIDScan.
func (*DBQuerier) GetPlanJSONByID ¶
GetPlanJSONByID implements Querier.GetPlanJSONByID.
func (*DBQuerier) GetPlanJSONByIDBatch ¶
GetPlanJSONByIDBatch implements Querier.GetPlanJSONByIDBatch.
func (*DBQuerier) GetPlanJSONByIDScan ¶
GetPlanJSONByIDScan implements Querier.GetPlanJSONByIDScan.
func (*DBQuerier) InsertAgentToken ¶
func (q *DBQuerier) InsertAgentToken(ctx context.Context, params InsertAgentTokenParams) (pgconn.CommandTag, error)
InsertAgentToken implements Querier.InsertAgentToken.
func (*DBQuerier) InsertAgentTokenBatch ¶
func (q *DBQuerier) InsertAgentTokenBatch(batch genericBatch, params InsertAgentTokenParams)
InsertAgentTokenBatch implements Querier.InsertAgentTokenBatch.
func (*DBQuerier) InsertAgentTokenScan ¶
func (q *DBQuerier) InsertAgentTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertAgentTokenScan implements Querier.InsertAgentTokenScan.
func (*DBQuerier) InsertApply ¶
func (q *DBQuerier) InsertApply(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error)
InsertApply implements Querier.InsertApply.
func (*DBQuerier) InsertApplyBatch ¶
InsertApplyBatch implements Querier.InsertApplyBatch.
func (*DBQuerier) InsertApplyScan ¶
func (q *DBQuerier) InsertApplyScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertApplyScan implements Querier.InsertApplyScan.
func (*DBQuerier) InsertConfigurationVersion ¶
func (q *DBQuerier) InsertConfigurationVersion(ctx context.Context, params InsertConfigurationVersionParams) (pgconn.CommandTag, error)
InsertConfigurationVersion implements Querier.InsertConfigurationVersion.
func (*DBQuerier) InsertConfigurationVersionBatch ¶
func (q *DBQuerier) InsertConfigurationVersionBatch(batch genericBatch, params InsertConfigurationVersionParams)
InsertConfigurationVersionBatch implements Querier.InsertConfigurationVersionBatch.
func (*DBQuerier) InsertConfigurationVersionScan ¶
func (q *DBQuerier) InsertConfigurationVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertConfigurationVersionScan implements Querier.InsertConfigurationVersionScan.
func (*DBQuerier) InsertConfigurationVersionStatusTimestamp ¶
func (q *DBQuerier) InsertConfigurationVersionStatusTimestamp(ctx context.Context, params InsertConfigurationVersionStatusTimestampParams) (InsertConfigurationVersionStatusTimestampRow, error)
InsertConfigurationVersionStatusTimestamp implements Querier.InsertConfigurationVersionStatusTimestamp.
func (*DBQuerier) InsertConfigurationVersionStatusTimestampBatch ¶
func (q *DBQuerier) InsertConfigurationVersionStatusTimestampBatch(batch genericBatch, params InsertConfigurationVersionStatusTimestampParams)
InsertConfigurationVersionStatusTimestampBatch implements Querier.InsertConfigurationVersionStatusTimestampBatch.
func (*DBQuerier) InsertConfigurationVersionStatusTimestampScan ¶
func (q *DBQuerier) InsertConfigurationVersionStatusTimestampScan(results pgx.BatchResults) (InsertConfigurationVersionStatusTimestampRow, error)
InsertConfigurationVersionStatusTimestampScan implements Querier.InsertConfigurationVersionStatusTimestampScan.
func (*DBQuerier) InsertIngressAttributes ¶ added in v0.0.19
func (q *DBQuerier) InsertIngressAttributes(ctx context.Context, params InsertIngressAttributesParams) (pgconn.CommandTag, error)
InsertIngressAttributes implements Querier.InsertIngressAttributes.
func (*DBQuerier) InsertIngressAttributesBatch ¶ added in v0.0.19
func (q *DBQuerier) InsertIngressAttributesBatch(batch genericBatch, params InsertIngressAttributesParams)
InsertIngressAttributesBatch implements Querier.InsertIngressAttributesBatch.
func (*DBQuerier) InsertIngressAttributesScan ¶ added in v0.0.19
func (q *DBQuerier) InsertIngressAttributesScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertIngressAttributesScan implements Querier.InsertIngressAttributesScan.
func (*DBQuerier) InsertLogChunk ¶
InsertLogChunk implements Querier.InsertLogChunk.
func (*DBQuerier) InsertLogChunkBatch ¶
func (q *DBQuerier) InsertLogChunkBatch(batch genericBatch, params InsertLogChunkParams)
InsertLogChunkBatch implements Querier.InsertLogChunkBatch.
func (*DBQuerier) InsertLogChunkScan ¶
InsertLogChunkScan implements Querier.InsertLogChunkScan.
func (*DBQuerier) InsertModule ¶ added in v0.0.19
func (q *DBQuerier) InsertModule(ctx context.Context, params InsertModuleParams) (pgconn.CommandTag, error)
InsertModule implements Querier.InsertModule.
func (*DBQuerier) InsertModuleBatch ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleBatch(batch genericBatch, params InsertModuleParams)
InsertModuleBatch implements Querier.InsertModuleBatch.
func (*DBQuerier) InsertModuleScan ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertModuleScan implements Querier.InsertModuleScan.
func (*DBQuerier) InsertModuleTarball ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleTarball(ctx context.Context, tarball []byte, moduleVersionID pgtype.Text) (pgtype.Text, error)
InsertModuleTarball implements Querier.InsertModuleTarball.
func (*DBQuerier) InsertModuleTarballBatch ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleTarballBatch(batch genericBatch, tarball []byte, moduleVersionID pgtype.Text)
InsertModuleTarballBatch implements Querier.InsertModuleTarballBatch.
func (*DBQuerier) InsertModuleTarballScan ¶ added in v0.0.19
InsertModuleTarballScan implements Querier.InsertModuleTarballScan.
func (*DBQuerier) InsertModuleVersion ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleVersion(ctx context.Context, params InsertModuleVersionParams) (InsertModuleVersionRow, error)
InsertModuleVersion implements Querier.InsertModuleVersion.
func (*DBQuerier) InsertModuleVersionBatch ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleVersionBatch(batch genericBatch, params InsertModuleVersionParams)
InsertModuleVersionBatch implements Querier.InsertModuleVersionBatch.
func (*DBQuerier) InsertModuleVersionScan ¶ added in v0.0.19
func (q *DBQuerier) InsertModuleVersionScan(results pgx.BatchResults) (InsertModuleVersionRow, error)
InsertModuleVersionScan implements Querier.InsertModuleVersionScan.
func (*DBQuerier) InsertOrganization ¶
func (q *DBQuerier) InsertOrganization(ctx context.Context, params InsertOrganizationParams) (pgconn.CommandTag, error)
InsertOrganization implements Querier.InsertOrganization.
func (*DBQuerier) InsertOrganizationBatch ¶
func (q *DBQuerier) InsertOrganizationBatch(batch genericBatch, params InsertOrganizationParams)
InsertOrganizationBatch implements Querier.InsertOrganizationBatch.
func (*DBQuerier) InsertOrganizationMembership ¶
func (q *DBQuerier) InsertOrganizationMembership(ctx context.Context, username pgtype.Text, organizationName pgtype.Text) (pgconn.CommandTag, error)
InsertOrganizationMembership implements Querier.InsertOrganizationMembership.
func (*DBQuerier) InsertOrganizationMembershipBatch ¶
func (q *DBQuerier) InsertOrganizationMembershipBatch(batch genericBatch, username pgtype.Text, organizationName pgtype.Text)
InsertOrganizationMembershipBatch implements Querier.InsertOrganizationMembershipBatch.
func (*DBQuerier) InsertOrganizationMembershipScan ¶
func (q *DBQuerier) InsertOrganizationMembershipScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertOrganizationMembershipScan implements Querier.InsertOrganizationMembershipScan.
func (*DBQuerier) InsertOrganizationScan ¶
func (q *DBQuerier) InsertOrganizationScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertOrganizationScan implements Querier.InsertOrganizationScan.
func (*DBQuerier) InsertPhaseStatusTimestamp ¶
func (q *DBQuerier) InsertPhaseStatusTimestamp(ctx context.Context, params InsertPhaseStatusTimestampParams) (pgconn.CommandTag, error)
InsertPhaseStatusTimestamp implements Querier.InsertPhaseStatusTimestamp.
func (*DBQuerier) InsertPhaseStatusTimestampBatch ¶
func (q *DBQuerier) InsertPhaseStatusTimestampBatch(batch genericBatch, params InsertPhaseStatusTimestampParams)
InsertPhaseStatusTimestampBatch implements Querier.InsertPhaseStatusTimestampBatch.
func (*DBQuerier) InsertPhaseStatusTimestampScan ¶
func (q *DBQuerier) InsertPhaseStatusTimestampScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertPhaseStatusTimestampScan implements Querier.InsertPhaseStatusTimestampScan.
func (*DBQuerier) InsertPlan ¶
func (q *DBQuerier) InsertPlan(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error)
InsertPlan implements Querier.InsertPlan.
func (*DBQuerier) InsertPlanBatch ¶
InsertPlanBatch implements Querier.InsertPlanBatch.
func (*DBQuerier) InsertPlanScan ¶
func (q *DBQuerier) InsertPlanScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertPlanScan implements Querier.InsertPlanScan.
func (*DBQuerier) InsertRepoConnection ¶ added in v0.0.32
func (q *DBQuerier) InsertRepoConnection(ctx context.Context, params InsertRepoConnectionParams) (pgconn.CommandTag, error)
InsertRepoConnection implements Querier.InsertRepoConnection.
func (*DBQuerier) InsertRepoConnectionBatch ¶ added in v0.0.32
func (q *DBQuerier) InsertRepoConnectionBatch(batch genericBatch, params InsertRepoConnectionParams)
InsertRepoConnectionBatch implements Querier.InsertRepoConnectionBatch.
func (*DBQuerier) InsertRepoConnectionScan ¶ added in v0.0.32
func (q *DBQuerier) InsertRepoConnectionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertRepoConnectionScan implements Querier.InsertRepoConnectionScan.
func (*DBQuerier) InsertRun ¶
func (q *DBQuerier) InsertRun(ctx context.Context, params InsertRunParams) (pgconn.CommandTag, error)
InsertRun implements Querier.InsertRun.
func (*DBQuerier) InsertRunBatch ¶
func (q *DBQuerier) InsertRunBatch(batch genericBatch, params InsertRunParams)
InsertRunBatch implements Querier.InsertRunBatch.
func (*DBQuerier) InsertRunScan ¶
func (q *DBQuerier) InsertRunScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertRunScan implements Querier.InsertRunScan.
func (*DBQuerier) InsertRunStatusTimestamp ¶
func (q *DBQuerier) InsertRunStatusTimestamp(ctx context.Context, params InsertRunStatusTimestampParams) (pgconn.CommandTag, error)
InsertRunStatusTimestamp implements Querier.InsertRunStatusTimestamp.
func (*DBQuerier) InsertRunStatusTimestampBatch ¶
func (q *DBQuerier) InsertRunStatusTimestampBatch(batch genericBatch, params InsertRunStatusTimestampParams)
InsertRunStatusTimestampBatch implements Querier.InsertRunStatusTimestampBatch.
func (*DBQuerier) InsertRunStatusTimestampScan ¶
func (q *DBQuerier) InsertRunStatusTimestampScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertRunStatusTimestampScan implements Querier.InsertRunStatusTimestampScan.
func (*DBQuerier) InsertStateVersion ¶
func (q *DBQuerier) InsertStateVersion(ctx context.Context, params InsertStateVersionParams) (pgconn.CommandTag, error)
InsertStateVersion implements Querier.InsertStateVersion.
func (*DBQuerier) InsertStateVersionBatch ¶
func (q *DBQuerier) InsertStateVersionBatch(batch genericBatch, params InsertStateVersionParams)
InsertStateVersionBatch implements Querier.InsertStateVersionBatch.
func (*DBQuerier) InsertStateVersionOutput ¶
func (q *DBQuerier) InsertStateVersionOutput(ctx context.Context, params InsertStateVersionOutputParams) (pgconn.CommandTag, error)
InsertStateVersionOutput implements Querier.InsertStateVersionOutput.
func (*DBQuerier) InsertStateVersionOutputBatch ¶
func (q *DBQuerier) InsertStateVersionOutputBatch(batch genericBatch, params InsertStateVersionOutputParams)
InsertStateVersionOutputBatch implements Querier.InsertStateVersionOutputBatch.
func (*DBQuerier) InsertStateVersionOutputScan ¶
func (q *DBQuerier) InsertStateVersionOutputScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertStateVersionOutputScan implements Querier.InsertStateVersionOutputScan.
func (*DBQuerier) InsertStateVersionScan ¶
func (q *DBQuerier) InsertStateVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertStateVersionScan implements Querier.InsertStateVersionScan.
func (*DBQuerier) InsertTeam ¶
func (q *DBQuerier) InsertTeam(ctx context.Context, params InsertTeamParams) (pgconn.CommandTag, error)
InsertTeam implements Querier.InsertTeam.
func (*DBQuerier) InsertTeamBatch ¶
func (q *DBQuerier) InsertTeamBatch(batch genericBatch, params InsertTeamParams)
InsertTeamBatch implements Querier.InsertTeamBatch.
func (*DBQuerier) InsertTeamMembership ¶
func (q *DBQuerier) InsertTeamMembership(ctx context.Context, username pgtype.Text, teamID pgtype.Text) (pgconn.CommandTag, error)
InsertTeamMembership implements Querier.InsertTeamMembership.
func (*DBQuerier) InsertTeamMembershipBatch ¶
func (q *DBQuerier) InsertTeamMembershipBatch(batch genericBatch, username pgtype.Text, teamID pgtype.Text)
InsertTeamMembershipBatch implements Querier.InsertTeamMembershipBatch.
func (*DBQuerier) InsertTeamMembershipScan ¶
func (q *DBQuerier) InsertTeamMembershipScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertTeamMembershipScan implements Querier.InsertTeamMembershipScan.
func (*DBQuerier) InsertTeamScan ¶
func (q *DBQuerier) InsertTeamScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertTeamScan implements Querier.InsertTeamScan.
func (*DBQuerier) InsertToken ¶
func (q *DBQuerier) InsertToken(ctx context.Context, params InsertTokenParams) (pgconn.CommandTag, error)
InsertToken implements Querier.InsertToken.
func (*DBQuerier) InsertTokenBatch ¶
func (q *DBQuerier) InsertTokenBatch(batch genericBatch, params InsertTokenParams)
InsertTokenBatch implements Querier.InsertTokenBatch.
func (*DBQuerier) InsertTokenScan ¶
func (q *DBQuerier) InsertTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertTokenScan implements Querier.InsertTokenScan.
func (*DBQuerier) InsertUser ¶
func (q *DBQuerier) InsertUser(ctx context.Context, params InsertUserParams) (pgconn.CommandTag, error)
InsertUser implements Querier.InsertUser.
func (*DBQuerier) InsertUserBatch ¶
func (q *DBQuerier) InsertUserBatch(batch genericBatch, params InsertUserParams)
InsertUserBatch implements Querier.InsertUserBatch.
func (*DBQuerier) InsertUserScan ¶
func (q *DBQuerier) InsertUserScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertUserScan implements Querier.InsertUserScan.
func (*DBQuerier) InsertVCSProvider ¶ added in v0.0.16
func (q *DBQuerier) InsertVCSProvider(ctx context.Context, params InsertVCSProviderParams) (pgconn.CommandTag, error)
InsertVCSProvider implements Querier.InsertVCSProvider.
func (*DBQuerier) InsertVCSProviderBatch ¶ added in v0.0.16
func (q *DBQuerier) InsertVCSProviderBatch(batch genericBatch, params InsertVCSProviderParams)
InsertVCSProviderBatch implements Querier.InsertVCSProviderBatch.
func (*DBQuerier) InsertVCSProviderScan ¶ added in v0.0.16
func (q *DBQuerier) InsertVCSProviderScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVCSProviderScan implements Querier.InsertVCSProviderScan.
func (*DBQuerier) InsertVariable ¶ added in v0.0.20
func (q *DBQuerier) InsertVariable(ctx context.Context, params InsertVariableParams) (pgconn.CommandTag, error)
InsertVariable implements Querier.InsertVariable.
func (*DBQuerier) InsertVariableBatch ¶ added in v0.0.20
func (q *DBQuerier) InsertVariableBatch(batch genericBatch, params InsertVariableParams)
InsertVariableBatch implements Querier.InsertVariableBatch.
func (*DBQuerier) InsertVariableScan ¶ added in v0.0.20
func (q *DBQuerier) InsertVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVariableScan implements Querier.InsertVariableScan.
func (*DBQuerier) InsertWebhook ¶ added in v0.0.19
func (q *DBQuerier) InsertWebhook(ctx context.Context, params InsertWebhookParams) (InsertWebhookRow, error)
InsertWebhook implements Querier.InsertWebhook.
func (*DBQuerier) InsertWebhookBatch ¶ added in v0.0.19
func (q *DBQuerier) InsertWebhookBatch(batch genericBatch, params InsertWebhookParams)
InsertWebhookBatch implements Querier.InsertWebhookBatch.
func (*DBQuerier) InsertWebhookScan ¶ added in v0.0.19
func (q *DBQuerier) InsertWebhookScan(results pgx.BatchResults) (InsertWebhookRow, error)
InsertWebhookScan implements Querier.InsertWebhookScan.
func (*DBQuerier) InsertWorkspace ¶
func (q *DBQuerier) InsertWorkspace(ctx context.Context, params InsertWorkspaceParams) (pgconn.CommandTag, error)
InsertWorkspace implements Querier.InsertWorkspace.
func (*DBQuerier) InsertWorkspaceBatch ¶
func (q *DBQuerier) InsertWorkspaceBatch(batch genericBatch, params InsertWorkspaceParams)
InsertWorkspaceBatch implements Querier.InsertWorkspaceBatch.
func (*DBQuerier) InsertWorkspaceLockRun ¶
func (q *DBQuerier) InsertWorkspaceLockRun(ctx context.Context, workspaceID string, runID string) (pgconn.CommandTag, error)
InsertWorkspaceLockRun implements Querier.InsertWorkspaceLockRun.
func (*DBQuerier) InsertWorkspaceLockRunBatch ¶
func (q *DBQuerier) InsertWorkspaceLockRunBatch(batch genericBatch, workspaceID string, runID string)
InsertWorkspaceLockRunBatch implements Querier.InsertWorkspaceLockRunBatch.
func (*DBQuerier) InsertWorkspaceLockRunScan ¶
func (q *DBQuerier) InsertWorkspaceLockRunScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertWorkspaceLockRunScan implements Querier.InsertWorkspaceLockRunScan.
func (*DBQuerier) InsertWorkspaceLockUser ¶
func (q *DBQuerier) InsertWorkspaceLockUser(ctx context.Context, workspaceID string, userID string) (pgconn.CommandTag, error)
InsertWorkspaceLockUser implements Querier.InsertWorkspaceLockUser.
func (*DBQuerier) InsertWorkspaceLockUserBatch ¶
func (q *DBQuerier) InsertWorkspaceLockUserBatch(batch genericBatch, workspaceID string, userID string)
InsertWorkspaceLockUserBatch implements Querier.InsertWorkspaceLockUserBatch.
func (*DBQuerier) InsertWorkspaceLockUserScan ¶
func (q *DBQuerier) InsertWorkspaceLockUserScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertWorkspaceLockUserScan implements Querier.InsertWorkspaceLockUserScan.
func (*DBQuerier) InsertWorkspaceRepo ¶ added in v0.0.19
func (q *DBQuerier) InsertWorkspaceRepo(ctx context.Context, params InsertWorkspaceRepoParams) (pgconn.CommandTag, error)
InsertWorkspaceRepo implements Querier.InsertWorkspaceRepo.
func (*DBQuerier) InsertWorkspaceRepoBatch ¶ added in v0.0.19
func (q *DBQuerier) InsertWorkspaceRepoBatch(batch genericBatch, params InsertWorkspaceRepoParams)
InsertWorkspaceRepoBatch implements Querier.InsertWorkspaceRepoBatch.
func (*DBQuerier) InsertWorkspaceRepoScan ¶ added in v0.0.19
func (q *DBQuerier) InsertWorkspaceRepoScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertWorkspaceRepoScan implements Querier.InsertWorkspaceRepoScan.
func (*DBQuerier) InsertWorkspaceScan ¶
func (q *DBQuerier) InsertWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertWorkspaceScan implements Querier.InsertWorkspaceScan.
func (*DBQuerier) ListModulesByOrganization ¶ added in v0.0.19
func (q *DBQuerier) ListModulesByOrganization(ctx context.Context, organizationName pgtype.Text) ([]ListModulesByOrganizationRow, error)
ListModulesByOrganization implements Querier.ListModulesByOrganization.
func (*DBQuerier) ListModulesByOrganizationBatch ¶ added in v0.0.19
func (q *DBQuerier) ListModulesByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
ListModulesByOrganizationBatch implements Querier.ListModulesByOrganizationBatch.
func (*DBQuerier) ListModulesByOrganizationScan ¶ added in v0.0.19
func (q *DBQuerier) ListModulesByOrganizationScan(results pgx.BatchResults) ([]ListModulesByOrganizationRow, error)
ListModulesByOrganizationScan implements Querier.ListModulesByOrganizationScan.
func (*DBQuerier) PutLockFile ¶
func (q *DBQuerier) PutLockFile(ctx context.Context, lockFile []byte, runID pgtype.Text) (pgtype.Text, error)
PutLockFile implements Querier.PutLockFile.
func (*DBQuerier) PutLockFileBatch ¶
PutLockFileBatch implements Querier.PutLockFileBatch.
func (*DBQuerier) PutLockFileScan ¶
PutLockFileScan implements Querier.PutLockFileScan.
func (*DBQuerier) ResetUserSiteAdmins ¶ added in v0.0.33
ResetUserSiteAdmins implements Querier.ResetUserSiteAdmins.
func (*DBQuerier) ResetUserSiteAdminsBatch ¶ added in v0.0.33
func (q *DBQuerier) ResetUserSiteAdminsBatch(batch genericBatch)
ResetUserSiteAdminsBatch implements Querier.ResetUserSiteAdminsBatch.
func (*DBQuerier) ResetUserSiteAdminsScan ¶ added in v0.0.33
ResetUserSiteAdminsScan implements Querier.ResetUserSiteAdminsScan.
func (*DBQuerier) UpdateAppliedChangesByID ¶
func (q *DBQuerier) UpdateAppliedChangesByID(ctx context.Context, params UpdateAppliedChangesByIDParams) (pgtype.Text, error)
UpdateAppliedChangesByID implements Querier.UpdateAppliedChangesByID.
func (*DBQuerier) UpdateAppliedChangesByIDBatch ¶
func (q *DBQuerier) UpdateAppliedChangesByIDBatch(batch genericBatch, params UpdateAppliedChangesByIDParams)
UpdateAppliedChangesByIDBatch implements Querier.UpdateAppliedChangesByIDBatch.
func (*DBQuerier) UpdateAppliedChangesByIDScan ¶
UpdateAppliedChangesByIDScan implements Querier.UpdateAppliedChangesByIDScan.
func (*DBQuerier) UpdateApplyStatusByID ¶
func (q *DBQuerier) UpdateApplyStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error)
UpdateApplyStatusByID implements Querier.UpdateApplyStatusByID.
func (*DBQuerier) UpdateApplyStatusByIDBatch ¶
func (q *DBQuerier) UpdateApplyStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text)
UpdateApplyStatusByIDBatch implements Querier.UpdateApplyStatusByIDBatch.
func (*DBQuerier) UpdateApplyStatusByIDScan ¶
UpdateApplyStatusByIDScan implements Querier.UpdateApplyStatusByIDScan.
func (*DBQuerier) UpdateConfigurationVersionConfigByID ¶
func (q *DBQuerier) UpdateConfigurationVersionConfigByID(ctx context.Context, config []byte, id pgtype.Text) (pgtype.Text, error)
UpdateConfigurationVersionConfigByID implements Querier.UpdateConfigurationVersionConfigByID.
func (*DBQuerier) UpdateConfigurationVersionConfigByIDBatch ¶
func (q *DBQuerier) UpdateConfigurationVersionConfigByIDBatch(batch genericBatch, config []byte, id pgtype.Text)
UpdateConfigurationVersionConfigByIDBatch implements Querier.UpdateConfigurationVersionConfigByIDBatch.
func (*DBQuerier) UpdateConfigurationVersionConfigByIDScan ¶
func (q *DBQuerier) UpdateConfigurationVersionConfigByIDScan(results pgx.BatchResults) (pgtype.Text, error)
UpdateConfigurationVersionConfigByIDScan implements Querier.UpdateConfigurationVersionConfigByIDScan.
func (*DBQuerier) UpdateConfigurationVersionErroredByID ¶
func (q *DBQuerier) UpdateConfigurationVersionErroredByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error)
UpdateConfigurationVersionErroredByID implements Querier.UpdateConfigurationVersionErroredByID.
func (*DBQuerier) UpdateConfigurationVersionErroredByIDBatch ¶
UpdateConfigurationVersionErroredByIDBatch implements Querier.UpdateConfigurationVersionErroredByIDBatch.
func (*DBQuerier) UpdateConfigurationVersionErroredByIDScan ¶
func (q *DBQuerier) UpdateConfigurationVersionErroredByIDScan(results pgx.BatchResults) (pgtype.Text, error)
UpdateConfigurationVersionErroredByIDScan implements Querier.UpdateConfigurationVersionErroredByIDScan.
func (*DBQuerier) UpdateModuleStatusByID ¶ added in v0.0.23
func (q *DBQuerier) UpdateModuleStatusByID(ctx context.Context, status pgtype.Text, moduleID pgtype.Text) (pgtype.Text, error)
UpdateModuleStatusByID implements Querier.UpdateModuleStatusByID.
func (*DBQuerier) UpdateModuleStatusByIDBatch ¶ added in v0.0.23
func (q *DBQuerier) UpdateModuleStatusByIDBatch(batch genericBatch, status pgtype.Text, moduleID pgtype.Text)
UpdateModuleStatusByIDBatch implements Querier.UpdateModuleStatusByIDBatch.
func (*DBQuerier) UpdateModuleStatusByIDScan ¶ added in v0.0.23
UpdateModuleStatusByIDScan implements Querier.UpdateModuleStatusByIDScan.
func (*DBQuerier) UpdateModuleVersionStatusByID ¶ added in v0.0.23
func (q *DBQuerier) UpdateModuleVersionStatusByID(ctx context.Context, params UpdateModuleVersionStatusByIDParams) (UpdateModuleVersionStatusByIDRow, error)
UpdateModuleVersionStatusByID implements Querier.UpdateModuleVersionStatusByID.
func (*DBQuerier) UpdateModuleVersionStatusByIDBatch ¶ added in v0.0.23
func (q *DBQuerier) UpdateModuleVersionStatusByIDBatch(batch genericBatch, params UpdateModuleVersionStatusByIDParams)
UpdateModuleVersionStatusByIDBatch implements Querier.UpdateModuleVersionStatusByIDBatch.
func (*DBQuerier) UpdateModuleVersionStatusByIDScan ¶ added in v0.0.23
func (q *DBQuerier) UpdateModuleVersionStatusByIDScan(results pgx.BatchResults) (UpdateModuleVersionStatusByIDRow, error)
UpdateModuleVersionStatusByIDScan implements Querier.UpdateModuleVersionStatusByIDScan.
func (*DBQuerier) UpdateOrganizationByName ¶
func (q *DBQuerier) UpdateOrganizationByName(ctx context.Context, params UpdateOrganizationByNameParams) (pgtype.Text, error)
UpdateOrganizationByName implements Querier.UpdateOrganizationByName.
func (*DBQuerier) UpdateOrganizationByNameBatch ¶
func (q *DBQuerier) UpdateOrganizationByNameBatch(batch genericBatch, params UpdateOrganizationByNameParams)
UpdateOrganizationByNameBatch implements Querier.UpdateOrganizationByNameBatch.
func (*DBQuerier) UpdateOrganizationByNameScan ¶
UpdateOrganizationByNameScan implements Querier.UpdateOrganizationByNameScan.
func (*DBQuerier) UpdatePlanBinByID ¶
func (q *DBQuerier) UpdatePlanBinByID(ctx context.Context, planBin []byte, runID pgtype.Text) (pgtype.Text, error)
UpdatePlanBinByID implements Querier.UpdatePlanBinByID.
func (*DBQuerier) UpdatePlanBinByIDBatch ¶
UpdatePlanBinByIDBatch implements Querier.UpdatePlanBinByIDBatch.
func (*DBQuerier) UpdatePlanBinByIDScan ¶
UpdatePlanBinByIDScan implements Querier.UpdatePlanBinByIDScan.
func (*DBQuerier) UpdatePlanJSONByID ¶
func (q *DBQuerier) UpdatePlanJSONByID(ctx context.Context, planJSON []byte, runID pgtype.Text) (pgtype.Text, error)
UpdatePlanJSONByID implements Querier.UpdatePlanJSONByID.
func (*DBQuerier) UpdatePlanJSONByIDBatch ¶
UpdatePlanJSONByIDBatch implements Querier.UpdatePlanJSONByIDBatch.
func (*DBQuerier) UpdatePlanJSONByIDScan ¶
UpdatePlanJSONByIDScan implements Querier.UpdatePlanJSONByIDScan.
func (*DBQuerier) UpdatePlanStatusByID ¶
func (q *DBQuerier) UpdatePlanStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error)
UpdatePlanStatusByID implements Querier.UpdatePlanStatusByID.
func (*DBQuerier) UpdatePlanStatusByIDBatch ¶
func (q *DBQuerier) UpdatePlanStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text)
UpdatePlanStatusByIDBatch implements Querier.UpdatePlanStatusByIDBatch.
func (*DBQuerier) UpdatePlanStatusByIDScan ¶
UpdatePlanStatusByIDScan implements Querier.UpdatePlanStatusByIDScan.
func (*DBQuerier) UpdatePlannedChangesByID ¶
func (q *DBQuerier) UpdatePlannedChangesByID(ctx context.Context, params UpdatePlannedChangesByIDParams) (pgtype.Text, error)
UpdatePlannedChangesByID implements Querier.UpdatePlannedChangesByID.
func (*DBQuerier) UpdatePlannedChangesByIDBatch ¶
func (q *DBQuerier) UpdatePlannedChangesByIDBatch(batch genericBatch, params UpdatePlannedChangesByIDParams)
UpdatePlannedChangesByIDBatch implements Querier.UpdatePlannedChangesByIDBatch.
func (*DBQuerier) UpdatePlannedChangesByIDScan ¶
UpdatePlannedChangesByIDScan implements Querier.UpdatePlannedChangesByIDScan.
func (*DBQuerier) UpdateRunForceCancelAvailableAt ¶
func (q *DBQuerier) UpdateRunForceCancelAvailableAt(ctx context.Context, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error)
UpdateRunForceCancelAvailableAt implements Querier.UpdateRunForceCancelAvailableAt.
func (*DBQuerier) UpdateRunForceCancelAvailableAtBatch ¶
func (q *DBQuerier) UpdateRunForceCancelAvailableAtBatch(batch genericBatch, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text)
UpdateRunForceCancelAvailableAtBatch implements Querier.UpdateRunForceCancelAvailableAtBatch.
func (*DBQuerier) UpdateRunForceCancelAvailableAtScan ¶
func (q *DBQuerier) UpdateRunForceCancelAvailableAtScan(results pgx.BatchResults) (pgtype.Text, error)
UpdateRunForceCancelAvailableAtScan implements Querier.UpdateRunForceCancelAvailableAtScan.
func (*DBQuerier) UpdateRunStatus ¶
func (q *DBQuerier) UpdateRunStatus(ctx context.Context, status pgtype.Text, id pgtype.Text) (pgtype.Text, error)
UpdateRunStatus implements Querier.UpdateRunStatus.
func (*DBQuerier) UpdateRunStatusBatch ¶
UpdateRunStatusBatch implements Querier.UpdateRunStatusBatch.
func (*DBQuerier) UpdateRunStatusScan ¶
UpdateRunStatusScan implements Querier.UpdateRunStatusScan.
func (*DBQuerier) UpdateTeamByID ¶ added in v0.0.19
func (q *DBQuerier) UpdateTeamByID(ctx context.Context, params UpdateTeamByIDParams) (pgtype.Text, error)
UpdateTeamByID implements Querier.UpdateTeamByID.
func (*DBQuerier) UpdateTeamByIDBatch ¶ added in v0.0.19
func (q *DBQuerier) UpdateTeamByIDBatch(batch genericBatch, params UpdateTeamByIDParams)
UpdateTeamByIDBatch implements Querier.UpdateTeamByIDBatch.
func (*DBQuerier) UpdateTeamByIDScan ¶ added in v0.0.19
UpdateTeamByIDScan implements Querier.UpdateTeamByIDScan.
func (*DBQuerier) UpdateUserSiteAdmins ¶ added in v0.0.33
func (q *DBQuerier) UpdateUserSiteAdmins(ctx context.Context, usernames []string) ([]pgtype.Text, error)
UpdateUserSiteAdmins implements Querier.UpdateUserSiteAdmins.
func (*DBQuerier) UpdateUserSiteAdminsBatch ¶ added in v0.0.33
UpdateUserSiteAdminsBatch implements Querier.UpdateUserSiteAdminsBatch.
func (*DBQuerier) UpdateUserSiteAdminsScan ¶ added in v0.0.33
UpdateUserSiteAdminsScan implements Querier.UpdateUserSiteAdminsScan.
func (*DBQuerier) UpdateVariableByID ¶ added in v0.0.23
func (q *DBQuerier) UpdateVariableByID(ctx context.Context, params UpdateVariableByIDParams) (pgtype.Text, error)
UpdateVariableByID implements Querier.UpdateVariableByID.
func (*DBQuerier) UpdateVariableByIDBatch ¶ added in v0.0.23
func (q *DBQuerier) UpdateVariableByIDBatch(batch genericBatch, params UpdateVariableByIDParams)
UpdateVariableByIDBatch implements Querier.UpdateVariableByIDBatch.
func (*DBQuerier) UpdateVariableByIDScan ¶ added in v0.0.23
UpdateVariableByIDScan implements Querier.UpdateVariableByIDScan.
func (*DBQuerier) UpdateWebhookVCSID ¶ added in v0.0.19
func (q *DBQuerier) UpdateWebhookVCSID(ctx context.Context, vcsID pgtype.Text, webhookID pgtype.UUID) (UpdateWebhookVCSIDRow, error)
UpdateWebhookVCSID implements Querier.UpdateWebhookVCSID.
func (*DBQuerier) UpdateWebhookVCSIDBatch ¶ added in v0.0.19
func (q *DBQuerier) UpdateWebhookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, webhookID pgtype.UUID)
UpdateWebhookVCSIDBatch implements Querier.UpdateWebhookVCSIDBatch.
func (*DBQuerier) UpdateWebhookVCSIDScan ¶ added in v0.0.19
func (q *DBQuerier) UpdateWebhookVCSIDScan(results pgx.BatchResults) (UpdateWebhookVCSIDRow, error)
UpdateWebhookVCSIDScan implements Querier.UpdateWebhookVCSIDScan.
func (*DBQuerier) UpdateWorkspaceByID ¶
func (q *DBQuerier) UpdateWorkspaceByID(ctx context.Context, params UpdateWorkspaceByIDParams) (pgtype.Text, error)
UpdateWorkspaceByID implements Querier.UpdateWorkspaceByID.
func (*DBQuerier) UpdateWorkspaceByIDBatch ¶
func (q *DBQuerier) UpdateWorkspaceByIDBatch(batch genericBatch, params UpdateWorkspaceByIDParams)
UpdateWorkspaceByIDBatch implements Querier.UpdateWorkspaceByIDBatch.
func (*DBQuerier) UpdateWorkspaceByIDScan ¶
UpdateWorkspaceByIDScan implements Querier.UpdateWorkspaceByIDScan.
func (*DBQuerier) UpdateWorkspaceCurrentStateVersionID ¶ added in v0.0.34
func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionID(ctx context.Context, stateVersionID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
UpdateWorkspaceCurrentStateVersionID implements Querier.UpdateWorkspaceCurrentStateVersionID.
func (*DBQuerier) UpdateWorkspaceCurrentStateVersionIDBatch ¶ added in v0.0.34
func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionIDBatch(batch genericBatch, stateVersionID pgtype.Text, workspaceID pgtype.Text)
UpdateWorkspaceCurrentStateVersionIDBatch implements Querier.UpdateWorkspaceCurrentStateVersionIDBatch.
func (*DBQuerier) UpdateWorkspaceCurrentStateVersionIDScan ¶ added in v0.0.34
func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionIDScan(results pgx.BatchResults) (pgtype.Text, error)
UpdateWorkspaceCurrentStateVersionIDScan implements Querier.UpdateWorkspaceCurrentStateVersionIDScan.
func (*DBQuerier) UpdateWorkspaceLatestRun ¶
func (q *DBQuerier) UpdateWorkspaceLatestRun(ctx context.Context, runID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
UpdateWorkspaceLatestRun implements Querier.UpdateWorkspaceLatestRun.
func (*DBQuerier) UpdateWorkspaceLatestRunBatch ¶
func (q *DBQuerier) UpdateWorkspaceLatestRunBatch(batch genericBatch, runID pgtype.Text, workspaceID pgtype.Text)
UpdateWorkspaceLatestRunBatch implements Querier.UpdateWorkspaceLatestRunBatch.
func (*DBQuerier) UpdateWorkspaceLatestRunScan ¶
func (q *DBQuerier) UpdateWorkspaceLatestRunScan(results pgx.BatchResults) (pgconn.CommandTag, error)
UpdateWorkspaceLatestRunScan implements Querier.UpdateWorkspaceLatestRunScan.
func (*DBQuerier) UpdateWorkspaceLockByID ¶
func (q *DBQuerier) UpdateWorkspaceLockByID(ctx context.Context, params UpdateWorkspaceLockByIDParams) (pgconn.CommandTag, error)
UpdateWorkspaceLockByID implements Querier.UpdateWorkspaceLockByID.
func (*DBQuerier) UpdateWorkspaceLockByIDBatch ¶
func (q *DBQuerier) UpdateWorkspaceLockByIDBatch(batch genericBatch, params UpdateWorkspaceLockByIDParams)
UpdateWorkspaceLockByIDBatch implements Querier.UpdateWorkspaceLockByIDBatch.
func (*DBQuerier) UpdateWorkspaceLockByIDScan ¶
func (q *DBQuerier) UpdateWorkspaceLockByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
UpdateWorkspaceLockByIDScan implements Querier.UpdateWorkspaceLockByIDScan.
func (*DBQuerier) UpdateWorkspaceRepoByID ¶ added in v0.0.19
func (q *DBQuerier) UpdateWorkspaceRepoByID(ctx context.Context, branch pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
UpdateWorkspaceRepoByID implements Querier.UpdateWorkspaceRepoByID.
func (*DBQuerier) UpdateWorkspaceRepoByIDBatch ¶ added in v0.0.19
func (q *DBQuerier) UpdateWorkspaceRepoByIDBatch(batch genericBatch, branch pgtype.Text, workspaceID pgtype.Text)
UpdateWorkspaceRepoByIDBatch implements Querier.UpdateWorkspaceRepoByIDBatch.
func (*DBQuerier) UpdateWorkspaceRepoByIDScan ¶ added in v0.0.19
UpdateWorkspaceRepoByIDScan implements Querier.UpdateWorkspaceRepoByIDScan.
func (*DBQuerier) UpsertWorkspacePermission ¶
func (q *DBQuerier) UpsertWorkspacePermission(ctx context.Context, params UpsertWorkspacePermissionParams) (pgconn.CommandTag, error)
UpsertWorkspacePermission implements Querier.UpsertWorkspacePermission.
func (*DBQuerier) UpsertWorkspacePermissionBatch ¶
func (q *DBQuerier) UpsertWorkspacePermissionBatch(batch genericBatch, params UpsertWorkspacePermissionParams)
UpsertWorkspacePermissionBatch implements Querier.UpsertWorkspacePermissionBatch.
func (*DBQuerier) UpsertWorkspacePermissionScan ¶
func (q *DBQuerier) UpsertWorkspacePermissionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
UpsertWorkspacePermissionScan implements Querier.UpsertWorkspacePermissionScan.
type DeleteModuleConnectionByIDRow ¶ added in v0.0.32
type DeleteVariableByIDRow ¶ added in v0.0.23
type DeleteVariableByIDRow struct { VariableID pgtype.Text `json:"variable_id"` Key pgtype.Text `json:"key"` Value pgtype.Text `json:"value"` Description pgtype.Text `json:"description"` Category pgtype.Text `json:"category"` Sensitive bool `json:"sensitive"` HCL bool `json:"hcl"` WorkspaceID pgtype.Text `json:"workspace_id"` }
type DeleteWebhookByIDRow ¶ added in v0.0.23
type DeleteWorkspaceConnectionByIDRow ¶ added in v0.0.32
type DeleteWorkspaceRepoByIDRow ¶ added in v0.0.23
type FindAgentTokenByIDRow ¶ added in v0.0.19
type FindAgentTokensRow ¶
type FindConfigurationVersionByIDForUpdateRow ¶
type FindConfigurationVersionByIDForUpdateRow struct { ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` AutoQueueRuns bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative bool `json:"speculative"` Status pgtype.Text `json:"status"` WorkspaceID pgtype.Text `json:"workspace_id"` ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` }
type FindConfigurationVersionByIDRow ¶
type FindConfigurationVersionByIDRow struct { ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` AutoQueueRuns bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative bool `json:"speculative"` Status pgtype.Text `json:"status"` WorkspaceID pgtype.Text `json:"workspace_id"` ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` }
type FindConfigurationVersionLatestByWorkspaceIDRow ¶
type FindConfigurationVersionLatestByWorkspaceIDRow struct { ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` AutoQueueRuns bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative bool `json:"speculative"` Status pgtype.Text `json:"status"` WorkspaceID pgtype.Text `json:"workspace_id"` ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` }
type FindConfigurationVersionsByWorkspaceIDRow ¶
type FindConfigurationVersionsByWorkspaceIDRow struct { ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` AutoQueueRuns bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative bool `json:"speculative"` Status pgtype.Text `json:"status"` WorkspaceID pgtype.Text `json:"workspace_id"` ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` }
type FindCurrentStateVersionByWorkspaceIDRow ¶ added in v0.0.34
type FindCurrentStateVersionByWorkspaceIDRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial int `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindLogChunkByIDRow ¶
type FindModuleByIDRow ¶ added in v0.0.19
type FindModuleByIDRow struct { ModuleID pgtype.Text `json:"module_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` Provider pgtype.Text `json:"provider"` Status pgtype.Text `json:"status"` OrganizationName pgtype.Text `json:"organization_name"` ModuleConnection *RepoConnections `json:"module_connection"` Webhook *Webhooks `json:"webhook"` Versions []ModuleVersions `json:"versions"` }
type FindModuleByModuleVersionIDRow ¶ added in v0.0.32
type FindModuleByModuleVersionIDRow struct { ModuleID pgtype.Text `json:"module_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` Provider pgtype.Text `json:"provider"` Status pgtype.Text `json:"status"` OrganizationName pgtype.Text `json:"organization_name"` ModuleConnection *RepoConnections `json:"module_connection"` Webhook *Webhooks `json:"webhook"` Versions []ModuleVersions `json:"versions"` }
type FindModuleByNameParams ¶ added in v0.0.19
type FindModuleByNameRow ¶ added in v0.0.19
type FindModuleByNameRow struct { ModuleID pgtype.Text `json:"module_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` Provider pgtype.Text `json:"provider"` Status pgtype.Text `json:"status"` OrganizationName pgtype.Text `json:"organization_name"` ModuleConnection *RepoConnections `json:"module_connection"` Webhook *Webhooks `json:"webhook"` Versions []ModuleVersions `json:"versions"` }
type FindModuleByWebhookIDRow ¶ added in v0.0.19
type FindModuleByWebhookIDRow struct { ModuleID pgtype.Text `json:"module_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` Provider pgtype.Text `json:"provider"` Status pgtype.Text `json:"status"` OrganizationName pgtype.Text `json:"organization_name"` ModuleConnection *RepoConnections `json:"module_connection"` Webhook *Webhooks `json:"webhook"` Versions []ModuleVersions `json:"versions"` }
type FindOrganizationByIDRow ¶ added in v0.0.19
type FindOrganizationByIDRow struct { OrganizationID pgtype.Text `json:"organization_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` SessionRemember int `json:"session_remember"` SessionTimeout int `json:"session_timeout"` }
type FindOrganizationByNameForUpdateRow ¶
type FindOrganizationByNameForUpdateRow struct { OrganizationID pgtype.Text `json:"organization_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` SessionRemember int `json:"session_remember"` SessionTimeout int `json:"session_timeout"` }
type FindOrganizationByNameRow ¶
type FindOrganizationByNameRow struct { OrganizationID pgtype.Text `json:"organization_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` SessionRemember int `json:"session_remember"` SessionTimeout int `json:"session_timeout"` }
type FindOrganizationsParams ¶ added in v0.0.32
type FindOrganizationsRow ¶
type FindOrganizationsRow struct { OrganizationID pgtype.Text `json:"organization_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` SessionRemember int `json:"session_remember"` SessionTimeout int `json:"session_timeout"` }
type FindRunByIDForUpdateRow ¶
type FindRunByIDForUpdateRow struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` ForceCancelAvailableAt pgtype.Timestamptz `json:"force_cancel_available_at"` IsDestroy bool `json:"is_destroy"` PositionInQueue int `json:"position_in_queue"` Refresh bool `json:"refresh"` RefreshOnly bool `json:"refresh_only"` Status pgtype.Text `json:"status"` PlanStatus pgtype.Text `json:"plan_status"` ApplyStatus pgtype.Text `json:"apply_status"` ReplaceAddrs []string `json:"replace_addrs"` TargetAddrs []string `json:"target_addrs"` AutoApply bool `json:"auto_apply"` PlannedChanges *Report `json:"planned_changes"` AppliedChanges *Report `json:"applied_changes"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` WorkspaceID pgtype.Text `json:"workspace_id"` Speculative bool `json:"speculative"` ExecutionMode pgtype.Text `json:"execution_mode"` Latest bool `json:"latest"` OrganizationName pgtype.Text `json:"organization_name"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` RunStatusTimestamps []RunStatusTimestamps `json:"run_status_timestamps"` PlanStatusTimestamps []PhaseStatusTimestamps `json:"plan_status_timestamps"` ApplyStatusTimestamps []PhaseStatusTimestamps `json:"apply_status_timestamps"` }
type FindRunByIDRow ¶
type FindRunByIDRow struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` ForceCancelAvailableAt pgtype.Timestamptz `json:"force_cancel_available_at"` IsDestroy bool `json:"is_destroy"` PositionInQueue int `json:"position_in_queue"` Refresh bool `json:"refresh"` RefreshOnly bool `json:"refresh_only"` Status pgtype.Text `json:"status"` PlanStatus pgtype.Text `json:"plan_status"` ApplyStatus pgtype.Text `json:"apply_status"` ReplaceAddrs []string `json:"replace_addrs"` TargetAddrs []string `json:"target_addrs"` AutoApply bool `json:"auto_apply"` PlannedChanges *Report `json:"planned_changes"` AppliedChanges *Report `json:"applied_changes"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` WorkspaceID pgtype.Text `json:"workspace_id"` Speculative bool `json:"speculative"` ExecutionMode pgtype.Text `json:"execution_mode"` Latest bool `json:"latest"` OrganizationName pgtype.Text `json:"organization_name"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` RunStatusTimestamps []RunStatusTimestamps `json:"run_status_timestamps"` PlanStatusTimestamps []PhaseStatusTimestamps `json:"plan_status_timestamps"` ApplyStatusTimestamps []PhaseStatusTimestamps `json:"apply_status_timestamps"` }
type FindRunsParams ¶
type FindRunsRow ¶
type FindRunsRow struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` ForceCancelAvailableAt pgtype.Timestamptz `json:"force_cancel_available_at"` IsDestroy bool `json:"is_destroy"` PositionInQueue int `json:"position_in_queue"` Refresh bool `json:"refresh"` RefreshOnly bool `json:"refresh_only"` Status pgtype.Text `json:"status"` PlanStatus pgtype.Text `json:"plan_status"` ApplyStatus pgtype.Text `json:"apply_status"` ReplaceAddrs []string `json:"replace_addrs"` TargetAddrs []string `json:"target_addrs"` AutoApply bool `json:"auto_apply"` PlannedChanges *Report `json:"planned_changes"` AppliedChanges *Report `json:"applied_changes"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` WorkspaceID pgtype.Text `json:"workspace_id"` Speculative bool `json:"speculative"` ExecutionMode pgtype.Text `json:"execution_mode"` Latest bool `json:"latest"` OrganizationName pgtype.Text `json:"organization_name"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` RunStatusTimestamps []RunStatusTimestamps `json:"run_status_timestamps"` PlanStatusTimestamps []PhaseStatusTimestamps `json:"plan_status_timestamps"` ApplyStatusTimestamps []PhaseStatusTimestamps `json:"apply_status_timestamps"` }
type FindStateVersionByIDRow ¶
type FindStateVersionByIDRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial int `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindStateVersionOutputByIDRow ¶ added in v0.0.30
type FindStateVersionsByWorkspaceNameRow ¶
type FindStateVersionsByWorkspaceNameRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial int `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindTeamByIDForUpdateRow ¶ added in v0.0.19
type FindTeamByIDForUpdateRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces bool `json:"permission_manage_workspaces"` PermissionManageVCS bool `json:"permission_manage_vcs"` PermissionManageRegistry bool `json:"permission_manage_registry"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindTeamByIDRow ¶ added in v0.0.19
type FindTeamByIDRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces bool `json:"permission_manage_workspaces"` PermissionManageVCS bool `json:"permission_manage_vcs"` PermissionManageRegistry bool `json:"permission_manage_registry"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindTeamByNameRow ¶
type FindTeamByNameRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces bool `json:"permission_manage_workspaces"` PermissionManageVCS bool `json:"permission_manage_vcs"` PermissionManageRegistry bool `json:"permission_manage_registry"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindTeamsByOrgRow ¶
type FindTeamsByOrgRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces bool `json:"permission_manage_workspaces"` PermissionManageVCS bool `json:"permission_manage_vcs"` PermissionManageRegistry bool `json:"permission_manage_registry"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindTokenByIDRow ¶ added in v0.0.32
type FindTokensByUsernameRow ¶ added in v0.0.32
type FindUserByAuthenticationTokenIDRow ¶ added in v0.0.33
type FindUserByAuthenticationTokenIDRow struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` Teams []Teams `json:"teams"` }
type FindUserByIDRow ¶
type FindUserByIDRow struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` Teams []Teams `json:"teams"` }
type FindUserByUsernameRow ¶
type FindUserByUsernameRow struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` Teams []Teams `json:"teams"` }
type FindUsersByOrganizationRow ¶
type FindUsersByOrganizationRow struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` Teams []Teams `json:"teams"` }
type FindUsersByTeamIDRow ¶ added in v0.0.19
type FindUsersByTeamIDRow struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` Teams []Teams `json:"teams"` }
type FindUsersRow ¶
type FindUsersRow struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` Teams []Teams `json:"teams"` }
type FindVCSProviderRow ¶ added in v0.0.16
type FindVCSProvidersRow ¶ added in v0.0.16
type FindVariableForUpdateRow ¶ added in v0.0.20
type FindVariableForUpdateRow struct { VariableID pgtype.Text `json:"variable_id"` Key pgtype.Text `json:"key"` Value pgtype.Text `json:"value"` Description pgtype.Text `json:"description"` Category pgtype.Text `json:"category"` Sensitive bool `json:"sensitive"` HCL bool `json:"hcl"` WorkspaceID pgtype.Text `json:"workspace_id"` }
type FindVariableRow ¶ added in v0.0.20
type FindVariableRow struct { VariableID pgtype.Text `json:"variable_id"` Key pgtype.Text `json:"key"` Value pgtype.Text `json:"value"` Description pgtype.Text `json:"description"` Category pgtype.Text `json:"category"` Sensitive bool `json:"sensitive"` HCL bool `json:"hcl"` WorkspaceID pgtype.Text `json:"workspace_id"` }
type FindVariablesRow ¶ added in v0.0.20
type FindVariablesRow struct { VariableID pgtype.Text `json:"variable_id"` Key pgtype.Text `json:"key"` Value pgtype.Text `json:"value"` Description pgtype.Text `json:"description"` Category pgtype.Text `json:"category"` Sensitive bool `json:"sensitive"` HCL bool `json:"hcl"` WorkspaceID pgtype.Text `json:"workspace_id"` }
type FindWebhookByIDRow ¶ added in v0.0.19
type FindWebhooksByRepoRow ¶ added in v0.0.32
type FindWorkspaceByIDForUpdateRow ¶
type FindWorkspaceByIDForUpdateRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan bool `json:"allow_destroy_plan"` AutoApply bool `json:"auto_apply"` CanQueueDestroyPlan bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` FileTriggersEnabled bool `json:"file_triggers_enabled"` GlobalRemoteState bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns bool `json:"queue_all_runs"` SpeculativeEnabled bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled bool `json:"structured_run_output_enabled"` TerraformVersion pgtype.Text `json:"terraform_version"` TriggerPrefixes []string `json:"trigger_prefixes"` WorkingDirectory pgtype.Text `json:"working_directory"` LockRunID pgtype.Text `json:"lock_run_id"` LatestRunID pgtype.Text `json:"latest_run_id"` OrganizationName pgtype.Text `json:"organization_name"` Branch pgtype.Text `json:"branch"` LockUsername pgtype.Text `json:"lock_username"` CurrentStateVersionID pgtype.Text `json:"current_state_version_id"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` Webhook *Webhooks `json:"webhook"` }
type FindWorkspaceByIDRow ¶
type FindWorkspaceByIDRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan bool `json:"allow_destroy_plan"` AutoApply bool `json:"auto_apply"` CanQueueDestroyPlan bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` FileTriggersEnabled bool `json:"file_triggers_enabled"` GlobalRemoteState bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns bool `json:"queue_all_runs"` SpeculativeEnabled bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled bool `json:"structured_run_output_enabled"` TerraformVersion pgtype.Text `json:"terraform_version"` TriggerPrefixes []string `json:"trigger_prefixes"` WorkingDirectory pgtype.Text `json:"working_directory"` LockRunID pgtype.Text `json:"lock_run_id"` LatestRunID pgtype.Text `json:"latest_run_id"` OrganizationName pgtype.Text `json:"organization_name"` Branch pgtype.Text `json:"branch"` LockUsername pgtype.Text `json:"lock_username"` CurrentStateVersionID pgtype.Text `json:"current_state_version_id"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` Webhook *Webhooks `json:"webhook"` }
type FindWorkspaceByNameRow ¶
type FindWorkspaceByNameRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan bool `json:"allow_destroy_plan"` AutoApply bool `json:"auto_apply"` CanQueueDestroyPlan bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` FileTriggersEnabled bool `json:"file_triggers_enabled"` GlobalRemoteState bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns bool `json:"queue_all_runs"` SpeculativeEnabled bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled bool `json:"structured_run_output_enabled"` TerraformVersion pgtype.Text `json:"terraform_version"` TriggerPrefixes []string `json:"trigger_prefixes"` WorkingDirectory pgtype.Text `json:"working_directory"` LockRunID pgtype.Text `json:"lock_run_id"` LatestRunID pgtype.Text `json:"latest_run_id"` OrganizationName pgtype.Text `json:"organization_name"` Branch pgtype.Text `json:"branch"` LockUsername pgtype.Text `json:"lock_username"` CurrentStateVersionID pgtype.Text `json:"current_state_version_id"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` Webhook *Webhooks `json:"webhook"` }
type FindWorkspacePolicyByIDRow ¶ added in v0.0.32
type FindWorkspacesByUsernameParams ¶ added in v0.0.32
type FindWorkspacesByUsernameRow ¶ added in v0.0.32
type FindWorkspacesByUsernameRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan bool `json:"allow_destroy_plan"` AutoApply bool `json:"auto_apply"` CanQueueDestroyPlan bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` FileTriggersEnabled bool `json:"file_triggers_enabled"` GlobalRemoteState bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns bool `json:"queue_all_runs"` SpeculativeEnabled bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled bool `json:"structured_run_output_enabled"` TerraformVersion pgtype.Text `json:"terraform_version"` TriggerPrefixes []string `json:"trigger_prefixes"` WorkingDirectory pgtype.Text `json:"working_directory"` LockRunID pgtype.Text `json:"lock_run_id"` LatestRunID pgtype.Text `json:"latest_run_id"` OrganizationName pgtype.Text `json:"organization_name"` Branch pgtype.Text `json:"branch"` LockUsername pgtype.Text `json:"lock_username"` CurrentStateVersionID pgtype.Text `json:"current_state_version_id"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` Webhook *Webhooks `json:"webhook"` }
type FindWorkspacesByWebhookIDRow ¶ added in v0.0.19
type FindWorkspacesByWebhookIDRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan bool `json:"allow_destroy_plan"` AutoApply bool `json:"auto_apply"` CanQueueDestroyPlan bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` FileTriggersEnabled bool `json:"file_triggers_enabled"` GlobalRemoteState bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns bool `json:"queue_all_runs"` SpeculativeEnabled bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled bool `json:"structured_run_output_enabled"` TerraformVersion pgtype.Text `json:"terraform_version"` TriggerPrefixes []string `json:"trigger_prefixes"` WorkingDirectory pgtype.Text `json:"working_directory"` LockRunID pgtype.Text `json:"lock_run_id"` LatestRunID pgtype.Text `json:"latest_run_id"` OrganizationName pgtype.Text `json:"organization_name"` Branch pgtype.Text `json:"branch"` LockUsername pgtype.Text `json:"lock_username"` CurrentStateVersionID pgtype.Text `json:"current_state_version_id"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` Webhook *Webhooks `json:"webhook"` }
type FindWorkspacesParams ¶
type FindWorkspacesRow ¶
type FindWorkspacesRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan bool `json:"allow_destroy_plan"` AutoApply bool `json:"auto_apply"` CanQueueDestroyPlan bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` FileTriggersEnabled bool `json:"file_triggers_enabled"` GlobalRemoteState bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns bool `json:"queue_all_runs"` SpeculativeEnabled bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled bool `json:"structured_run_output_enabled"` TerraformVersion pgtype.Text `json:"terraform_version"` TriggerPrefixes []string `json:"trigger_prefixes"` WorkingDirectory pgtype.Text `json:"working_directory"` LockRunID pgtype.Text `json:"lock_run_id"` LatestRunID pgtype.Text `json:"latest_run_id"` OrganizationName pgtype.Text `json:"organization_name"` Branch pgtype.Text `json:"branch"` LockUsername pgtype.Text `json:"lock_username"` CurrentStateVersionID pgtype.Text `json:"current_state_version_id"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` Webhook *Webhooks `json:"webhook"` }
type IngressAttributes ¶ added in v0.0.19
type IngressAttributes struct { Branch pgtype.Text `json:"branch"` CommitSHA pgtype.Text `json:"commit_sha"` Identifier pgtype.Text `json:"identifier"` IsPullRequest bool `json:"is_pull_request"` OnDefaultBranch bool `json:"on_default_branch"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` }
IngressAttributes represents the Postgres composite type "ingress_attributes".
type InsertAgentTokenParams ¶
type InsertIngressAttributesParams ¶ added in v0.0.19
type InsertLogChunkParams ¶
type InsertModuleParams ¶ added in v0.0.19
type InsertModuleVersionParams ¶ added in v0.0.19
type InsertModuleVersionRow ¶ added in v0.0.19
type InsertModuleVersionRow struct { ModuleVersionID pgtype.Text `json:"module_version_id"` Version pgtype.Text `json:"version"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Status pgtype.Text `json:"status"` StatusError pgtype.Text `json:"status_error"` ModuleID pgtype.Text `json:"module_id"` }
type InsertOrganizationParams ¶
type InsertOrganizationParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Name pgtype.Text SessionRemember int SessionTimeout int }
type InsertRepoConnectionParams ¶ added in v0.0.32
type InsertRunParams ¶
type InsertTeamParams ¶
type InsertTokenParams ¶
type InsertUserParams ¶
type InsertUserParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Username pgtype.Text }
type InsertVCSProviderParams ¶ added in v0.0.16
type InsertVariableParams ¶ added in v0.0.20
type InsertWebhookParams ¶ added in v0.0.19
type InsertWebhookRow ¶ added in v0.0.32
type InsertWorkspaceParams ¶
type InsertWorkspaceParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan bool AutoApply bool Branch pgtype.Text CanQueueDestroyPlan bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text FileTriggersEnabled bool GlobalRemoteState bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns bool SpeculativeEnabled bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled bool TerraformVersion pgtype.Text TriggerPrefixes []string WorkingDirectory pgtype.Text OrganizationName pgtype.Text }
type InsertWorkspaceRepoParams ¶ added in v0.0.19
type ListModulesByOrganizationRow ¶ added in v0.0.19
type ListModulesByOrganizationRow struct { ModuleID pgtype.Text `json:"module_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` Provider pgtype.Text `json:"provider"` Status pgtype.Text `json:"status"` OrganizationName pgtype.Text `json:"organization_name"` ModuleConnection *RepoConnections `json:"module_connection"` Webhook *Webhooks `json:"webhook"` Versions []ModuleVersions `json:"versions"` }
type ModuleVersions ¶ added in v0.0.19
type ModuleVersions struct { ModuleVersionID pgtype.Text `json:"module_version_id"` Version pgtype.Text `json:"version"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Status pgtype.Text `json:"status"` StatusError pgtype.Text `json:"status_error"` ModuleID pgtype.Text `json:"module_id"` }
ModuleVersions represents the Postgres composite type "module_versions".
type PhaseStatusTimestamps ¶
type PhaseStatusTimestamps struct { RunID pgtype.Text `json:"run_id"` Phase pgtype.Text `json:"phase"` Status pgtype.Text `json:"status"` Timestamp pgtype.Timestamptz `json:"timestamp"` }
PhaseStatusTimestamps represents the Postgres composite type "phase_status_timestamps".
type Querier ¶
type Querier interface { InsertAgentToken(ctx context.Context, params InsertAgentTokenParams) (pgconn.CommandTag, error) // InsertAgentTokenBatch enqueues a InsertAgentToken query into batch to be executed // later by the batch. InsertAgentTokenBatch(batch genericBatch, params InsertAgentTokenParams) // InsertAgentTokenScan scans the result of an executed InsertAgentTokenBatch query. InsertAgentTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (FindAgentTokenByIDRow, error) // FindAgentTokenByIDBatch enqueues a FindAgentTokenByID query into batch to be executed // later by the batch. FindAgentTokenByIDBatch(batch genericBatch, tokenID pgtype.Text) // FindAgentTokenByIDScan scans the result of an executed FindAgentTokenByIDBatch query. FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error) FindAgentTokens(ctx context.Context, organizationName pgtype.Text) ([]FindAgentTokensRow, error) // FindAgentTokensBatch enqueues a FindAgentTokens query into batch to be executed // later by the batch. FindAgentTokensBatch(batch genericBatch, organizationName pgtype.Text) // FindAgentTokensScan scans the result of an executed FindAgentTokensBatch query. FindAgentTokensScan(results pgx.BatchResults) ([]FindAgentTokensRow, error) DeleteAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error) // DeleteAgentTokenByIDBatch enqueues a DeleteAgentTokenByID query into batch to be executed // later by the batch. DeleteAgentTokenByIDBatch(batch genericBatch, tokenID pgtype.Text) // DeleteAgentTokenByIDScan scans the result of an executed DeleteAgentTokenByIDBatch query. DeleteAgentTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertApply(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error) // InsertApplyBatch enqueues a InsertApply query into batch to be executed // later by the batch. InsertApplyBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text) // InsertApplyScan scans the result of an executed InsertApplyBatch query. InsertApplyScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdateAppliedChangesByID(ctx context.Context, params UpdateAppliedChangesByIDParams) (pgtype.Text, error) // UpdateAppliedChangesByIDBatch enqueues a UpdateAppliedChangesByID query into batch to be executed // later by the batch. UpdateAppliedChangesByIDBatch(batch genericBatch, params UpdateAppliedChangesByIDParams) // UpdateAppliedChangesByIDScan scans the result of an executed UpdateAppliedChangesByIDBatch query. UpdateAppliedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error) UpdateApplyStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error) // UpdateApplyStatusByIDBatch enqueues a UpdateApplyStatusByID query into batch to be executed // later by the batch. UpdateApplyStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text) // UpdateApplyStatusByIDScan scans the result of an executed UpdateApplyStatusByIDBatch query. UpdateApplyStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertConfigurationVersion(ctx context.Context, params InsertConfigurationVersionParams) (pgconn.CommandTag, error) // InsertConfigurationVersionBatch enqueues a InsertConfigurationVersion query into batch to be executed // later by the batch. InsertConfigurationVersionBatch(batch genericBatch, params InsertConfigurationVersionParams) // InsertConfigurationVersionScan scans the result of an executed InsertConfigurationVersionBatch query. InsertConfigurationVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertConfigurationVersionStatusTimestamp(ctx context.Context, params InsertConfigurationVersionStatusTimestampParams) (InsertConfigurationVersionStatusTimestampRow, error) // InsertConfigurationVersionStatusTimestampBatch enqueues a InsertConfigurationVersionStatusTimestamp query into batch to be executed // later by the batch. InsertConfigurationVersionStatusTimestampBatch(batch genericBatch, params InsertConfigurationVersionStatusTimestampParams) // InsertConfigurationVersionStatusTimestampScan scans the result of an executed InsertConfigurationVersionStatusTimestampBatch query. InsertConfigurationVersionStatusTimestampScan(results pgx.BatchResults) (InsertConfigurationVersionStatusTimestampRow, error) // FindConfigurationVersions finds configuration_versions for a given workspace. // Results are paginated with limit and offset, and total count is returned. // FindConfigurationVersionsByWorkspaceID(ctx context.Context, params FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error) // FindConfigurationVersionsByWorkspaceIDBatch enqueues a FindConfigurationVersionsByWorkspaceID query into batch to be executed // later by the batch. FindConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, params FindConfigurationVersionsByWorkspaceIDParams) // FindConfigurationVersionsByWorkspaceIDScan scans the result of an executed FindConfigurationVersionsByWorkspaceIDBatch query. FindConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindConfigurationVersionsByWorkspaceIDRow, error) CountConfigurationVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (*int, error) // CountConfigurationVersionsByWorkspaceIDBatch enqueues a CountConfigurationVersionsByWorkspaceID query into batch to be executed // later by the batch. CountConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // CountConfigurationVersionsByWorkspaceIDScan scans the result of an executed CountConfigurationVersionsByWorkspaceIDBatch query. CountConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) (*int, error) // FindConfigurationVersionByID finds a configuration_version by its id. // FindConfigurationVersionByID(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDRow, error) // FindConfigurationVersionByIDBatch enqueues a FindConfigurationVersionByID query into batch to be executed // later by the batch. FindConfigurationVersionByIDBatch(batch genericBatch, configurationVersionID pgtype.Text) // FindConfigurationVersionByIDScan scans the result of an executed FindConfigurationVersionByIDBatch query. FindConfigurationVersionByIDScan(results pgx.BatchResults) (FindConfigurationVersionByIDRow, error) FindConfigurationVersionLatestByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindConfigurationVersionLatestByWorkspaceIDRow, error) // FindConfigurationVersionLatestByWorkspaceIDBatch enqueues a FindConfigurationVersionLatestByWorkspaceID query into batch to be executed // later by the batch. FindConfigurationVersionLatestByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindConfigurationVersionLatestByWorkspaceIDScan scans the result of an executed FindConfigurationVersionLatestByWorkspaceIDBatch query. FindConfigurationVersionLatestByWorkspaceIDScan(results pgx.BatchResults) (FindConfigurationVersionLatestByWorkspaceIDRow, error) FindConfigurationVersionByIDForUpdate(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDForUpdateRow, error) // FindConfigurationVersionByIDForUpdateBatch enqueues a FindConfigurationVersionByIDForUpdate query into batch to be executed // later by the batch. FindConfigurationVersionByIDForUpdateBatch(batch genericBatch, configurationVersionID pgtype.Text) // FindConfigurationVersionByIDForUpdateScan scans the result of an executed FindConfigurationVersionByIDForUpdateBatch query. FindConfigurationVersionByIDForUpdateScan(results pgx.BatchResults) (FindConfigurationVersionByIDForUpdateRow, error) // DownloadConfigurationVersion gets a configuration_version config // tarball. // DownloadConfigurationVersion(ctx context.Context, configurationVersionID pgtype.Text) ([]byte, error) // DownloadConfigurationVersionBatch enqueues a DownloadConfigurationVersion query into batch to be executed // later by the batch. DownloadConfigurationVersionBatch(batch genericBatch, configurationVersionID pgtype.Text) // DownloadConfigurationVersionScan scans the result of an executed DownloadConfigurationVersionBatch query. DownloadConfigurationVersionScan(results pgx.BatchResults) ([]byte, error) UpdateConfigurationVersionErroredByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error) // UpdateConfigurationVersionErroredByIDBatch enqueues a UpdateConfigurationVersionErroredByID query into batch to be executed // later by the batch. UpdateConfigurationVersionErroredByIDBatch(batch genericBatch, id pgtype.Text) // UpdateConfigurationVersionErroredByIDScan scans the result of an executed UpdateConfigurationVersionErroredByIDBatch query. UpdateConfigurationVersionErroredByIDScan(results pgx.BatchResults) (pgtype.Text, error) UpdateConfigurationVersionConfigByID(ctx context.Context, config []byte, id pgtype.Text) (pgtype.Text, error) // UpdateConfigurationVersionConfigByIDBatch enqueues a UpdateConfigurationVersionConfigByID query into batch to be executed // later by the batch. UpdateConfigurationVersionConfigByIDBatch(batch genericBatch, config []byte, id pgtype.Text) // UpdateConfigurationVersionConfigByIDScan scans the result of an executed UpdateConfigurationVersionConfigByIDBatch query. UpdateConfigurationVersionConfigByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteConfigurationVersionByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error) // DeleteConfigurationVersionByIDBatch enqueues a DeleteConfigurationVersionByID query into batch to be executed // later by the batch. DeleteConfigurationVersionByIDBatch(batch genericBatch, id pgtype.Text) // DeleteConfigurationVersionByIDScan scans the result of an executed DeleteConfigurationVersionByIDBatch query. DeleteConfigurationVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertIngressAttributes(ctx context.Context, params InsertIngressAttributesParams) (pgconn.CommandTag, error) // InsertIngressAttributesBatch enqueues a InsertIngressAttributes query into batch to be executed // later by the batch. InsertIngressAttributesBatch(batch genericBatch, params InsertIngressAttributesParams) // InsertIngressAttributesScan scans the result of an executed InsertIngressAttributesBatch query. InsertIngressAttributesScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertModule(ctx context.Context, params InsertModuleParams) (pgconn.CommandTag, error) // InsertModuleBatch enqueues a InsertModule query into batch to be executed // later by the batch. InsertModuleBatch(batch genericBatch, params InsertModuleParams) // InsertModuleScan scans the result of an executed InsertModuleBatch query. InsertModuleScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertModuleVersion(ctx context.Context, params InsertModuleVersionParams) (InsertModuleVersionRow, error) // InsertModuleVersionBatch enqueues a InsertModuleVersion query into batch to be executed // later by the batch. InsertModuleVersionBatch(batch genericBatch, params InsertModuleVersionParams) // InsertModuleVersionScan scans the result of an executed InsertModuleVersionBatch query. InsertModuleVersionScan(results pgx.BatchResults) (InsertModuleVersionRow, error) ListModulesByOrganization(ctx context.Context, organizationName pgtype.Text) ([]ListModulesByOrganizationRow, error) // ListModulesByOrganizationBatch enqueues a ListModulesByOrganization query into batch to be executed // later by the batch. ListModulesByOrganizationBatch(batch genericBatch, organizationName pgtype.Text) // ListModulesByOrganizationScan scans the result of an executed ListModulesByOrganizationBatch query. ListModulesByOrganizationScan(results pgx.BatchResults) ([]ListModulesByOrganizationRow, error) FindModuleByName(ctx context.Context, params FindModuleByNameParams) (FindModuleByNameRow, error) // FindModuleByNameBatch enqueues a FindModuleByName query into batch to be executed // later by the batch. FindModuleByNameBatch(batch genericBatch, params FindModuleByNameParams) // FindModuleByNameScan scans the result of an executed FindModuleByNameBatch query. FindModuleByNameScan(results pgx.BatchResults) (FindModuleByNameRow, error) FindModuleByID(ctx context.Context, id pgtype.Text) (FindModuleByIDRow, error) // FindModuleByIDBatch enqueues a FindModuleByID query into batch to be executed // later by the batch. FindModuleByIDBatch(batch genericBatch, id pgtype.Text) // FindModuleByIDScan scans the result of an executed FindModuleByIDBatch query. FindModuleByIDScan(results pgx.BatchResults) (FindModuleByIDRow, error) FindModuleByWebhookID(ctx context.Context, webhookID pgtype.UUID) (FindModuleByWebhookIDRow, error) // FindModuleByWebhookIDBatch enqueues a FindModuleByWebhookID query into batch to be executed // later by the batch. FindModuleByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID) // FindModuleByWebhookIDScan scans the result of an executed FindModuleByWebhookIDBatch query. FindModuleByWebhookIDScan(results pgx.BatchResults) (FindModuleByWebhookIDRow, error) FindModuleByModuleVersionID(ctx context.Context, moduleVersionID pgtype.Text) (FindModuleByModuleVersionIDRow, error) // FindModuleByModuleVersionIDBatch enqueues a FindModuleByModuleVersionID query into batch to be executed // later by the batch. FindModuleByModuleVersionIDBatch(batch genericBatch, moduleVersionID pgtype.Text) // FindModuleByModuleVersionIDScan scans the result of an executed FindModuleByModuleVersionIDBatch query. FindModuleByModuleVersionIDScan(results pgx.BatchResults) (FindModuleByModuleVersionIDRow, error) UpdateModuleStatusByID(ctx context.Context, status pgtype.Text, moduleID pgtype.Text) (pgtype.Text, error) // UpdateModuleStatusByIDBatch enqueues a UpdateModuleStatusByID query into batch to be executed // later by the batch. UpdateModuleStatusByIDBatch(batch genericBatch, status pgtype.Text, moduleID pgtype.Text) // UpdateModuleStatusByIDScan scans the result of an executed UpdateModuleStatusByIDBatch query. UpdateModuleStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertModuleTarball(ctx context.Context, tarball []byte, moduleVersionID pgtype.Text) (pgtype.Text, error) // InsertModuleTarballBatch enqueues a InsertModuleTarball query into batch to be executed // later by the batch. InsertModuleTarballBatch(batch genericBatch, tarball []byte, moduleVersionID pgtype.Text) // InsertModuleTarballScan scans the result of an executed InsertModuleTarballBatch query. InsertModuleTarballScan(results pgx.BatchResults) (pgtype.Text, error) FindModuleTarball(ctx context.Context, moduleVersionID pgtype.Text) ([]byte, error) // FindModuleTarballBatch enqueues a FindModuleTarball query into batch to be executed // later by the batch. FindModuleTarballBatch(batch genericBatch, moduleVersionID pgtype.Text) // FindModuleTarballScan scans the result of an executed FindModuleTarballBatch query. FindModuleTarballScan(results pgx.BatchResults) ([]byte, error) UpdateModuleVersionStatusByID(ctx context.Context, params UpdateModuleVersionStatusByIDParams) (UpdateModuleVersionStatusByIDRow, error) // UpdateModuleVersionStatusByIDBatch enqueues a UpdateModuleVersionStatusByID query into batch to be executed // later by the batch. UpdateModuleVersionStatusByIDBatch(batch genericBatch, params UpdateModuleVersionStatusByIDParams) // UpdateModuleVersionStatusByIDScan scans the result of an executed UpdateModuleVersionStatusByIDBatch query. UpdateModuleVersionStatusByIDScan(results pgx.BatchResults) (UpdateModuleVersionStatusByIDRow, error) DeleteModuleByID(ctx context.Context, moduleID pgtype.Text) (pgtype.Text, error) // DeleteModuleByIDBatch enqueues a DeleteModuleByID query into batch to be executed // later by the batch. DeleteModuleByIDBatch(batch genericBatch, moduleID pgtype.Text) // DeleteModuleByIDScan scans the result of an executed DeleteModuleByIDBatch query. DeleteModuleByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteModuleVersionByID(ctx context.Context, moduleVersionID pgtype.Text) (pgtype.Text, error) // DeleteModuleVersionByIDBatch enqueues a DeleteModuleVersionByID query into batch to be executed // later by the batch. DeleteModuleVersionByIDBatch(batch genericBatch, moduleVersionID pgtype.Text) // DeleteModuleVersionByIDScan scans the result of an executed DeleteModuleVersionByIDBatch query. DeleteModuleVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error) FindOrganizationNameByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Text, error) // FindOrganizationNameByWorkspaceIDBatch enqueues a FindOrganizationNameByWorkspaceID query into batch to be executed // later by the batch. FindOrganizationNameByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindOrganizationNameByWorkspaceIDScan scans the result of an executed FindOrganizationNameByWorkspaceIDBatch query. FindOrganizationNameByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Text, error) FindOrganizationByName(ctx context.Context, name pgtype.Text) (FindOrganizationByNameRow, error) // FindOrganizationByNameBatch enqueues a FindOrganizationByName query into batch to be executed // later by the batch. FindOrganizationByNameBatch(batch genericBatch, name pgtype.Text) // FindOrganizationByNameScan scans the result of an executed FindOrganizationByNameBatch query. FindOrganizationByNameScan(results pgx.BatchResults) (FindOrganizationByNameRow, error) FindOrganizationByID(ctx context.Context, organizationID pgtype.Text) (FindOrganizationByIDRow, error) // FindOrganizationByIDBatch enqueues a FindOrganizationByID query into batch to be executed // later by the batch. FindOrganizationByIDBatch(batch genericBatch, organizationID pgtype.Text) // FindOrganizationByIDScan scans the result of an executed FindOrganizationByIDBatch query. FindOrganizationByIDScan(results pgx.BatchResults) (FindOrganizationByIDRow, error) FindOrganizationByNameForUpdate(ctx context.Context, name pgtype.Text) (FindOrganizationByNameForUpdateRow, error) // FindOrganizationByNameForUpdateBatch enqueues a FindOrganizationByNameForUpdate query into batch to be executed // later by the batch. FindOrganizationByNameForUpdateBatch(batch genericBatch, name pgtype.Text) // FindOrganizationByNameForUpdateScan scans the result of an executed FindOrganizationByNameForUpdateBatch query. FindOrganizationByNameForUpdateScan(results pgx.BatchResults) (FindOrganizationByNameForUpdateRow, error) FindOrganizations(ctx context.Context, params FindOrganizationsParams) ([]FindOrganizationsRow, error) // FindOrganizationsBatch enqueues a FindOrganizations query into batch to be executed // later by the batch. FindOrganizationsBatch(batch genericBatch, params FindOrganizationsParams) // FindOrganizationsScan scans the result of an executed FindOrganizationsBatch query. FindOrganizationsScan(results pgx.BatchResults) ([]FindOrganizationsRow, error) CountOrganizations(ctx context.Context, names []string) (*int, error) // CountOrganizationsBatch enqueues a CountOrganizations query into batch to be executed // later by the batch. CountOrganizationsBatch(batch genericBatch, names []string) // CountOrganizationsScan scans the result of an executed CountOrganizationsBatch query. CountOrganizationsScan(results pgx.BatchResults) (*int, error) InsertOrganization(ctx context.Context, params InsertOrganizationParams) (pgconn.CommandTag, error) // InsertOrganizationBatch enqueues a InsertOrganization query into batch to be executed // later by the batch. InsertOrganizationBatch(batch genericBatch, params InsertOrganizationParams) // InsertOrganizationScan scans the result of an executed InsertOrganizationBatch query. InsertOrganizationScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdateOrganizationByName(ctx context.Context, params UpdateOrganizationByNameParams) (pgtype.Text, error) // UpdateOrganizationByNameBatch enqueues a UpdateOrganizationByName query into batch to be executed // later by the batch. UpdateOrganizationByNameBatch(batch genericBatch, params UpdateOrganizationByNameParams) // UpdateOrganizationByNameScan scans the result of an executed UpdateOrganizationByNameBatch query. UpdateOrganizationByNameScan(results pgx.BatchResults) (pgtype.Text, error) DeleteOrganizationByName(ctx context.Context, name pgtype.Text) (pgtype.Text, error) // DeleteOrganizationByNameBatch enqueues a DeleteOrganizationByName query into batch to be executed // later by the batch. DeleteOrganizationByNameBatch(batch genericBatch, name pgtype.Text) // DeleteOrganizationByNameScan scans the result of an executed DeleteOrganizationByNameBatch query. DeleteOrganizationByNameScan(results pgx.BatchResults) (pgtype.Text, error) InsertPhaseStatusTimestamp(ctx context.Context, params InsertPhaseStatusTimestampParams) (pgconn.CommandTag, error) // InsertPhaseStatusTimestampBatch enqueues a InsertPhaseStatusTimestamp query into batch to be executed // later by the batch. InsertPhaseStatusTimestampBatch(batch genericBatch, params InsertPhaseStatusTimestampParams) // InsertPhaseStatusTimestampScan scans the result of an executed InsertPhaseStatusTimestampBatch query. InsertPhaseStatusTimestampScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertLogChunk(ctx context.Context, params InsertLogChunkParams) (int, error) // InsertLogChunkBatch enqueues a InsertLogChunk query into batch to be executed // later by the batch. InsertLogChunkBatch(batch genericBatch, params InsertLogChunkParams) // InsertLogChunkScan scans the result of an executed InsertLogChunkBatch query. InsertLogChunkScan(results pgx.BatchResults) (int, error) // FindLogs retrieves all the logs for the given run and phase. // FindLogs(ctx context.Context, runID pgtype.Text, phase pgtype.Text) ([]byte, error) // FindLogsBatch enqueues a FindLogs query into batch to be executed // later by the batch. FindLogsBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text) // FindLogsScan scans the result of an executed FindLogsBatch query. FindLogsScan(results pgx.BatchResults) ([]byte, error) FindLogChunkByID(ctx context.Context, chunkID int) (FindLogChunkByIDRow, error) // FindLogChunkByIDBatch enqueues a FindLogChunkByID query into batch to be executed // later by the batch. FindLogChunkByIDBatch(batch genericBatch, chunkID int) // FindLogChunkByIDScan scans the result of an executed FindLogChunkByIDBatch query. FindLogChunkByIDScan(results pgx.BatchResults) (FindLogChunkByIDRow, error) InsertPlan(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error) // InsertPlanBatch enqueues a InsertPlan query into batch to be executed // later by the batch. InsertPlanBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text) // InsertPlanScan scans the result of an executed InsertPlanBatch query. InsertPlanScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdatePlanStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error) // UpdatePlanStatusByIDBatch enqueues a UpdatePlanStatusByID query into batch to be executed // later by the batch. UpdatePlanStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text) // UpdatePlanStatusByIDScan scans the result of an executed UpdatePlanStatusByIDBatch query. UpdatePlanStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error) UpdatePlannedChangesByID(ctx context.Context, params UpdatePlannedChangesByIDParams) (pgtype.Text, error) // UpdatePlannedChangesByIDBatch enqueues a UpdatePlannedChangesByID query into batch to be executed // later by the batch. UpdatePlannedChangesByIDBatch(batch genericBatch, params UpdatePlannedChangesByIDParams) // UpdatePlannedChangesByIDScan scans the result of an executed UpdatePlannedChangesByIDBatch query. UpdatePlannedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error) GetPlanBinByID(ctx context.Context, runID pgtype.Text) ([]byte, error) // GetPlanBinByIDBatch enqueues a GetPlanBinByID query into batch to be executed // later by the batch. GetPlanBinByIDBatch(batch genericBatch, runID pgtype.Text) // GetPlanBinByIDScan scans the result of an executed GetPlanBinByIDBatch query. GetPlanBinByIDScan(results pgx.BatchResults) ([]byte, error) GetPlanJSONByID(ctx context.Context, runID pgtype.Text) ([]byte, error) // GetPlanJSONByIDBatch enqueues a GetPlanJSONByID query into batch to be executed // later by the batch. GetPlanJSONByIDBatch(batch genericBatch, runID pgtype.Text) // GetPlanJSONByIDScan scans the result of an executed GetPlanJSONByIDBatch query. GetPlanJSONByIDScan(results pgx.BatchResults) ([]byte, error) UpdatePlanBinByID(ctx context.Context, planBin []byte, runID pgtype.Text) (pgtype.Text, error) // UpdatePlanBinByIDBatch enqueues a UpdatePlanBinByID query into batch to be executed // later by the batch. UpdatePlanBinByIDBatch(batch genericBatch, planBin []byte, runID pgtype.Text) // UpdatePlanBinByIDScan scans the result of an executed UpdatePlanBinByIDBatch query. UpdatePlanBinByIDScan(results pgx.BatchResults) (pgtype.Text, error) UpdatePlanJSONByID(ctx context.Context, planJSON []byte, runID pgtype.Text) (pgtype.Text, error) // UpdatePlanJSONByIDBatch enqueues a UpdatePlanJSONByID query into batch to be executed // later by the batch. UpdatePlanJSONByIDBatch(batch genericBatch, planJSON []byte, runID pgtype.Text) // UpdatePlanJSONByIDScan scans the result of an executed UpdatePlanJSONByIDBatch query. UpdatePlanJSONByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertRepoConnection(ctx context.Context, params InsertRepoConnectionParams) (pgconn.CommandTag, error) // InsertRepoConnectionBatch enqueues a InsertRepoConnection query into batch to be executed // later by the batch. InsertRepoConnectionBatch(batch genericBatch, params InsertRepoConnectionParams) // InsertRepoConnectionScan scans the result of an executed InsertRepoConnectionBatch query. InsertRepoConnectionScan(results pgx.BatchResults) (pgconn.CommandTag, error) CountRepoConnectionsByID(ctx context.Context, webhookID pgtype.UUID) (*int, error) // CountRepoConnectionsByIDBatch enqueues a CountRepoConnectionsByID query into batch to be executed // later by the batch. CountRepoConnectionsByIDBatch(batch genericBatch, webhookID pgtype.UUID) // CountRepoConnectionsByIDScan scans the result of an executed CountRepoConnectionsByIDBatch query. CountRepoConnectionsByIDScan(results pgx.BatchResults) (*int, error) DeleteWorkspaceConnectionByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceConnectionByIDRow, error) // DeleteWorkspaceConnectionByIDBatch enqueues a DeleteWorkspaceConnectionByID query into batch to be executed // later by the batch. DeleteWorkspaceConnectionByIDBatch(batch genericBatch, workspaceID pgtype.Text) // DeleteWorkspaceConnectionByIDScan scans the result of an executed DeleteWorkspaceConnectionByIDBatch query. DeleteWorkspaceConnectionByIDScan(results pgx.BatchResults) (DeleteWorkspaceConnectionByIDRow, error) DeleteModuleConnectionByID(ctx context.Context, id pgtype.Text) (DeleteModuleConnectionByIDRow, error) // DeleteModuleConnectionByIDBatch enqueues a DeleteModuleConnectionByID query into batch to be executed // later by the batch. DeleteModuleConnectionByIDBatch(batch genericBatch, id pgtype.Text) // DeleteModuleConnectionByIDScan scans the result of an executed DeleteModuleConnectionByIDBatch query. DeleteModuleConnectionByIDScan(results pgx.BatchResults) (DeleteModuleConnectionByIDRow, error) InsertRun(ctx context.Context, params InsertRunParams) (pgconn.CommandTag, error) // InsertRunBatch enqueues a InsertRun query into batch to be executed // later by the batch. InsertRunBatch(batch genericBatch, params InsertRunParams) // InsertRunScan scans the result of an executed InsertRunBatch query. InsertRunScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertRunStatusTimestamp(ctx context.Context, params InsertRunStatusTimestampParams) (pgconn.CommandTag, error) // InsertRunStatusTimestampBatch enqueues a InsertRunStatusTimestamp query into batch to be executed // later by the batch. InsertRunStatusTimestampBatch(batch genericBatch, params InsertRunStatusTimestampParams) // InsertRunStatusTimestampScan scans the result of an executed InsertRunStatusTimestampBatch query. InsertRunStatusTimestampScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindRuns(ctx context.Context, params FindRunsParams) ([]FindRunsRow, error) // FindRunsBatch enqueues a FindRuns query into batch to be executed // later by the batch. FindRunsBatch(batch genericBatch, params FindRunsParams) // FindRunsScan scans the result of an executed FindRunsBatch query. FindRunsScan(results pgx.BatchResults) ([]FindRunsRow, error) CountRuns(ctx context.Context, params CountRunsParams) (*int, error) // CountRunsBatch enqueues a CountRuns query into batch to be executed // later by the batch. CountRunsBatch(batch genericBatch, params CountRunsParams) // CountRunsScan scans the result of an executed CountRunsBatch query. CountRunsScan(results pgx.BatchResults) (*int, error) FindRunByID(ctx context.Context, runID pgtype.Text) (FindRunByIDRow, error) // FindRunByIDBatch enqueues a FindRunByID query into batch to be executed // later by the batch. FindRunByIDBatch(batch genericBatch, runID pgtype.Text) // FindRunByIDScan scans the result of an executed FindRunByIDBatch query. FindRunByIDScan(results pgx.BatchResults) (FindRunByIDRow, error) FindRunByIDForUpdate(ctx context.Context, runID pgtype.Text) (FindRunByIDForUpdateRow, error) // FindRunByIDForUpdateBatch enqueues a FindRunByIDForUpdate query into batch to be executed // later by the batch. FindRunByIDForUpdateBatch(batch genericBatch, runID pgtype.Text) // FindRunByIDForUpdateScan scans the result of an executed FindRunByIDForUpdateBatch query. FindRunByIDForUpdateScan(results pgx.BatchResults) (FindRunByIDForUpdateRow, error) PutLockFile(ctx context.Context, lockFile []byte, runID pgtype.Text) (pgtype.Text, error) // PutLockFileBatch enqueues a PutLockFile query into batch to be executed // later by the batch. PutLockFileBatch(batch genericBatch, lockFile []byte, runID pgtype.Text) // PutLockFileScan scans the result of an executed PutLockFileBatch query. PutLockFileScan(results pgx.BatchResults) (pgtype.Text, error) GetLockFileByID(ctx context.Context, runID pgtype.Text) ([]byte, error) // GetLockFileByIDBatch enqueues a GetLockFileByID query into batch to be executed // later by the batch. GetLockFileByIDBatch(batch genericBatch, runID pgtype.Text) // GetLockFileByIDScan scans the result of an executed GetLockFileByIDBatch query. GetLockFileByIDScan(results pgx.BatchResults) ([]byte, error) UpdateRunStatus(ctx context.Context, status pgtype.Text, id pgtype.Text) (pgtype.Text, error) // UpdateRunStatusBatch enqueues a UpdateRunStatus query into batch to be executed // later by the batch. UpdateRunStatusBatch(batch genericBatch, status pgtype.Text, id pgtype.Text) // UpdateRunStatusScan scans the result of an executed UpdateRunStatusBatch query. UpdateRunStatusScan(results pgx.BatchResults) (pgtype.Text, error) UpdateRunForceCancelAvailableAt(ctx context.Context, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error) // UpdateRunForceCancelAvailableAtBatch enqueues a UpdateRunForceCancelAvailableAt query into batch to be executed // later by the batch. UpdateRunForceCancelAvailableAtBatch(batch genericBatch, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text) // UpdateRunForceCancelAvailableAtScan scans the result of an executed UpdateRunForceCancelAvailableAtBatch query. UpdateRunForceCancelAvailableAtScan(results pgx.BatchResults) (pgtype.Text, error) DeleteRunByID(ctx context.Context, runID pgtype.Text) (pgtype.Text, error) // DeleteRunByIDBatch enqueues a DeleteRunByID query into batch to be executed // later by the batch. DeleteRunByIDBatch(batch genericBatch, runID pgtype.Text) // DeleteRunByIDScan scans the result of an executed DeleteRunByIDBatch query. DeleteRunByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertStateVersion(ctx context.Context, params InsertStateVersionParams) (pgconn.CommandTag, error) // InsertStateVersionBatch enqueues a InsertStateVersion query into batch to be executed // later by the batch. InsertStateVersionBatch(batch genericBatch, params InsertStateVersionParams) // InsertStateVersionScan scans the result of an executed InsertStateVersionBatch query. InsertStateVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindStateVersionsByWorkspaceName(ctx context.Context, params FindStateVersionsByWorkspaceNameParams) ([]FindStateVersionsByWorkspaceNameRow, error) // FindStateVersionsByWorkspaceNameBatch enqueues a FindStateVersionsByWorkspaceName query into batch to be executed // later by the batch. FindStateVersionsByWorkspaceNameBatch(batch genericBatch, params FindStateVersionsByWorkspaceNameParams) // FindStateVersionsByWorkspaceNameScan scans the result of an executed FindStateVersionsByWorkspaceNameBatch query. FindStateVersionsByWorkspaceNameScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceNameRow, error) CountStateVersionsByWorkspaceName(ctx context.Context, workspaceName pgtype.Text, organizationName pgtype.Text) (*int, error) // CountStateVersionsByWorkspaceNameBatch enqueues a CountStateVersionsByWorkspaceName query into batch to be executed // later by the batch. CountStateVersionsByWorkspaceNameBatch(batch genericBatch, workspaceName pgtype.Text, organizationName pgtype.Text) // CountStateVersionsByWorkspaceNameScan scans the result of an executed CountStateVersionsByWorkspaceNameBatch query. CountStateVersionsByWorkspaceNameScan(results pgx.BatchResults) (*int, error) FindStateVersionByID(ctx context.Context, id pgtype.Text) (FindStateVersionByIDRow, error) // FindStateVersionByIDBatch enqueues a FindStateVersionByID query into batch to be executed // later by the batch. FindStateVersionByIDBatch(batch genericBatch, id pgtype.Text) // FindStateVersionByIDScan scans the result of an executed FindStateVersionByIDBatch query. FindStateVersionByIDScan(results pgx.BatchResults) (FindStateVersionByIDRow, error) FindCurrentStateVersionByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindCurrentStateVersionByWorkspaceIDRow, error) // FindCurrentStateVersionByWorkspaceIDBatch enqueues a FindCurrentStateVersionByWorkspaceID query into batch to be executed // later by the batch. FindCurrentStateVersionByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindCurrentStateVersionByWorkspaceIDScan scans the result of an executed FindCurrentStateVersionByWorkspaceIDBatch query. FindCurrentStateVersionByWorkspaceIDScan(results pgx.BatchResults) (FindCurrentStateVersionByWorkspaceIDRow, error) FindStateVersionStateByID(ctx context.Context, id pgtype.Text) ([]byte, error) // FindStateVersionStateByIDBatch enqueues a FindStateVersionStateByID query into batch to be executed // later by the batch. FindStateVersionStateByIDBatch(batch genericBatch, id pgtype.Text) // FindStateVersionStateByIDScan scans the result of an executed FindStateVersionStateByIDBatch query. FindStateVersionStateByIDScan(results pgx.BatchResults) ([]byte, error) DeleteStateVersionByID(ctx context.Context, stateVersionID pgtype.Text) (pgtype.Text, error) // DeleteStateVersionByIDBatch enqueues a DeleteStateVersionByID query into batch to be executed // later by the batch. DeleteStateVersionByIDBatch(batch genericBatch, stateVersionID pgtype.Text) // DeleteStateVersionByIDScan scans the result of an executed DeleteStateVersionByIDBatch query. DeleteStateVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertStateVersionOutput(ctx context.Context, params InsertStateVersionOutputParams) (pgconn.CommandTag, error) // InsertStateVersionOutputBatch enqueues a InsertStateVersionOutput query into batch to be executed // later by the batch. InsertStateVersionOutputBatch(batch genericBatch, params InsertStateVersionOutputParams) // InsertStateVersionOutputScan scans the result of an executed InsertStateVersionOutputBatch query. InsertStateVersionOutputScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindStateVersionOutputByID(ctx context.Context, id pgtype.Text) (FindStateVersionOutputByIDRow, error) // FindStateVersionOutputByIDBatch enqueues a FindStateVersionOutputByID query into batch to be executed // later by the batch. FindStateVersionOutputByIDBatch(batch genericBatch, id pgtype.Text) // FindStateVersionOutputByIDScan scans the result of an executed FindStateVersionOutputByIDBatch query. FindStateVersionOutputByIDScan(results pgx.BatchResults) (FindStateVersionOutputByIDRow, error) InsertTeam(ctx context.Context, params InsertTeamParams) (pgconn.CommandTag, error) // InsertTeamBatch enqueues a InsertTeam query into batch to be executed // later by the batch. InsertTeamBatch(batch genericBatch, params InsertTeamParams) // InsertTeamScan scans the result of an executed InsertTeamBatch query. InsertTeamScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindTeamsByOrg(ctx context.Context, organizationName pgtype.Text) ([]FindTeamsByOrgRow, error) // FindTeamsByOrgBatch enqueues a FindTeamsByOrg query into batch to be executed // later by the batch. FindTeamsByOrgBatch(batch genericBatch, organizationName pgtype.Text) // FindTeamsByOrgScan scans the result of an executed FindTeamsByOrgBatch query. FindTeamsByOrgScan(results pgx.BatchResults) ([]FindTeamsByOrgRow, error) FindTeamByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTeamByNameRow, error) // FindTeamByNameBatch enqueues a FindTeamByName query into batch to be executed // later by the batch. FindTeamByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text) // FindTeamByNameScan scans the result of an executed FindTeamByNameBatch query. FindTeamByNameScan(results pgx.BatchResults) (FindTeamByNameRow, error) FindTeamByID(ctx context.Context, teamID pgtype.Text) (FindTeamByIDRow, error) // FindTeamByIDBatch enqueues a FindTeamByID query into batch to be executed // later by the batch. FindTeamByIDBatch(batch genericBatch, teamID pgtype.Text) // FindTeamByIDScan scans the result of an executed FindTeamByIDBatch query. FindTeamByIDScan(results pgx.BatchResults) (FindTeamByIDRow, error) FindTeamByIDForUpdate(ctx context.Context, teamID pgtype.Text) (FindTeamByIDForUpdateRow, error) // FindTeamByIDForUpdateBatch enqueues a FindTeamByIDForUpdate query into batch to be executed // later by the batch. FindTeamByIDForUpdateBatch(batch genericBatch, teamID pgtype.Text) // FindTeamByIDForUpdateScan scans the result of an executed FindTeamByIDForUpdateBatch query. FindTeamByIDForUpdateScan(results pgx.BatchResults) (FindTeamByIDForUpdateRow, error) UpdateTeamByID(ctx context.Context, params UpdateTeamByIDParams) (pgtype.Text, error) // UpdateTeamByIDBatch enqueues a UpdateTeamByID query into batch to be executed // later by the batch. UpdateTeamByIDBatch(batch genericBatch, params UpdateTeamByIDParams) // UpdateTeamByIDScan scans the result of an executed UpdateTeamByIDBatch query. UpdateTeamByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteTeamByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error) // DeleteTeamByIDBatch enqueues a DeleteTeamByID query into batch to be executed // later by the batch. DeleteTeamByIDBatch(batch genericBatch, teamID pgtype.Text) // DeleteTeamByIDScan scans the result of an executed DeleteTeamByIDBatch query. DeleteTeamByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertTeamMembership(ctx context.Context, username pgtype.Text, teamID pgtype.Text) (pgconn.CommandTag, error) // InsertTeamMembershipBatch enqueues a InsertTeamMembership query into batch to be executed // later by the batch. InsertTeamMembershipBatch(batch genericBatch, username pgtype.Text, teamID pgtype.Text) // InsertTeamMembershipScan scans the result of an executed InsertTeamMembershipBatch query. InsertTeamMembershipScan(results pgx.BatchResults) (pgconn.CommandTag, error) DeleteTeamMembership(ctx context.Context, username pgtype.Text, teamID pgtype.Text) (pgtype.Text, error) // DeleteTeamMembershipBatch enqueues a DeleteTeamMembership query into batch to be executed // later by the batch. DeleteTeamMembershipBatch(batch genericBatch, username pgtype.Text, teamID pgtype.Text) // DeleteTeamMembershipScan scans the result of an executed DeleteTeamMembershipBatch query. DeleteTeamMembershipScan(results pgx.BatchResults) (pgtype.Text, error) InsertToken(ctx context.Context, params InsertTokenParams) (pgconn.CommandTag, error) // InsertTokenBatch enqueues a InsertToken query into batch to be executed // later by the batch. InsertTokenBatch(batch genericBatch, params InsertTokenParams) // InsertTokenScan scans the result of an executed InsertTokenBatch query. InsertTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindTokensByUsername(ctx context.Context, username pgtype.Text) ([]FindTokensByUsernameRow, error) // FindTokensByUsernameBatch enqueues a FindTokensByUsername query into batch to be executed // later by the batch. FindTokensByUsernameBatch(batch genericBatch, username pgtype.Text) // FindTokensByUsernameScan scans the result of an executed FindTokensByUsernameBatch query. FindTokensByUsernameScan(results pgx.BatchResults) ([]FindTokensByUsernameRow, error) FindTokenByID(ctx context.Context, tokenID pgtype.Text) (FindTokenByIDRow, error) // FindTokenByIDBatch enqueues a FindTokenByID query into batch to be executed // later by the batch. FindTokenByIDBatch(batch genericBatch, tokenID pgtype.Text) // FindTokenByIDScan scans the result of an executed FindTokenByIDBatch query. FindTokenByIDScan(results pgx.BatchResults) (FindTokenByIDRow, error) DeleteTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error) // DeleteTokenByIDBatch enqueues a DeleteTokenByID query into batch to be executed // later by the batch. DeleteTokenByIDBatch(batch genericBatch, tokenID pgtype.Text) // DeleteTokenByIDScan scans the result of an executed DeleteTokenByIDBatch query. DeleteTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertUser(ctx context.Context, params InsertUserParams) (pgconn.CommandTag, error) // InsertUserBatch enqueues a InsertUser query into batch to be executed // later by the batch. InsertUserBatch(batch genericBatch, params InsertUserParams) // InsertUserScan scans the result of an executed InsertUserBatch query. InsertUserScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindUsers(ctx context.Context) ([]FindUsersRow, error) // FindUsersBatch enqueues a FindUsers query into batch to be executed // later by the batch. FindUsersBatch(batch genericBatch) // FindUsersScan scans the result of an executed FindUsersBatch query. FindUsersScan(results pgx.BatchResults) ([]FindUsersRow, error) FindUsersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindUsersByOrganizationRow, error) // FindUsersByOrganizationBatch enqueues a FindUsersByOrganization query into batch to be executed // later by the batch. FindUsersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text) // FindUsersByOrganizationScan scans the result of an executed FindUsersByOrganizationBatch query. FindUsersByOrganizationScan(results pgx.BatchResults) ([]FindUsersByOrganizationRow, error) FindUsersByTeamID(ctx context.Context, teamID pgtype.Text) ([]FindUsersByTeamIDRow, error) // FindUsersByTeamIDBatch enqueues a FindUsersByTeamID query into batch to be executed // later by the batch. FindUsersByTeamIDBatch(batch genericBatch, teamID pgtype.Text) // FindUsersByTeamIDScan scans the result of an executed FindUsersByTeamIDBatch query. FindUsersByTeamIDScan(results pgx.BatchResults) ([]FindUsersByTeamIDRow, error) FindUserByID(ctx context.Context, userID pgtype.Text) (FindUserByIDRow, error) // FindUserByIDBatch enqueues a FindUserByID query into batch to be executed // later by the batch. FindUserByIDBatch(batch genericBatch, userID pgtype.Text) // FindUserByIDScan scans the result of an executed FindUserByIDBatch query. FindUserByIDScan(results pgx.BatchResults) (FindUserByIDRow, error) FindUserByUsername(ctx context.Context, username pgtype.Text) (FindUserByUsernameRow, error) // FindUserByUsernameBatch enqueues a FindUserByUsername query into batch to be executed // later by the batch. FindUserByUsernameBatch(batch genericBatch, username pgtype.Text) // FindUserByUsernameScan scans the result of an executed FindUserByUsernameBatch query. FindUserByUsernameScan(results pgx.BatchResults) (FindUserByUsernameRow, error) FindUserByAuthenticationTokenID(ctx context.Context, tokenID pgtype.Text) (FindUserByAuthenticationTokenIDRow, error) // FindUserByAuthenticationTokenIDBatch enqueues a FindUserByAuthenticationTokenID query into batch to be executed // later by the batch. FindUserByAuthenticationTokenIDBatch(batch genericBatch, tokenID pgtype.Text) // FindUserByAuthenticationTokenIDScan scans the result of an executed FindUserByAuthenticationTokenIDBatch query. FindUserByAuthenticationTokenIDScan(results pgx.BatchResults) (FindUserByAuthenticationTokenIDRow, error) UpdateUserSiteAdmins(ctx context.Context, usernames []string) ([]pgtype.Text, error) // UpdateUserSiteAdminsBatch enqueues a UpdateUserSiteAdmins query into batch to be executed // later by the batch. UpdateUserSiteAdminsBatch(batch genericBatch, usernames []string) // UpdateUserSiteAdminsScan scans the result of an executed UpdateUserSiteAdminsBatch query. UpdateUserSiteAdminsScan(results pgx.BatchResults) ([]pgtype.Text, error) ResetUserSiteAdmins(ctx context.Context) ([]pgtype.Text, error) // ResetUserSiteAdminsBatch enqueues a ResetUserSiteAdmins query into batch to be executed // later by the batch. ResetUserSiteAdminsBatch(batch genericBatch) // ResetUserSiteAdminsScan scans the result of an executed ResetUserSiteAdminsBatch query. ResetUserSiteAdminsScan(results pgx.BatchResults) ([]pgtype.Text, error) DeleteUserByID(ctx context.Context, userID pgtype.Text) (pgtype.Text, error) // DeleteUserByIDBatch enqueues a DeleteUserByID query into batch to be executed // later by the batch. DeleteUserByIDBatch(batch genericBatch, userID pgtype.Text) // DeleteUserByIDScan scans the result of an executed DeleteUserByIDBatch query. DeleteUserByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteUserByUsername(ctx context.Context, username pgtype.Text) (pgtype.Text, error) // DeleteUserByUsernameBatch enqueues a DeleteUserByUsername query into batch to be executed // later by the batch. DeleteUserByUsernameBatch(batch genericBatch, username pgtype.Text) // DeleteUserByUsernameScan scans the result of an executed DeleteUserByUsernameBatch query. DeleteUserByUsernameScan(results pgx.BatchResults) (pgtype.Text, error) InsertVariable(ctx context.Context, params InsertVariableParams) (pgconn.CommandTag, error) // InsertVariableBatch enqueues a InsertVariable query into batch to be executed // later by the batch. InsertVariableBatch(batch genericBatch, params InsertVariableParams) // InsertVariableScan scans the result of an executed InsertVariableBatch query. InsertVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindVariables(ctx context.Context, workspaceID pgtype.Text) ([]FindVariablesRow, error) // FindVariablesBatch enqueues a FindVariables query into batch to be executed // later by the batch. FindVariablesBatch(batch genericBatch, workspaceID pgtype.Text) // FindVariablesScan scans the result of an executed FindVariablesBatch query. FindVariablesScan(results pgx.BatchResults) ([]FindVariablesRow, error) FindVariable(ctx context.Context, variableID pgtype.Text) (FindVariableRow, error) // FindVariableBatch enqueues a FindVariable query into batch to be executed // later by the batch. FindVariableBatch(batch genericBatch, variableID pgtype.Text) // FindVariableScan scans the result of an executed FindVariableBatch query. FindVariableScan(results pgx.BatchResults) (FindVariableRow, error) FindVariableForUpdate(ctx context.Context, variableID pgtype.Text) (FindVariableForUpdateRow, error) // FindVariableForUpdateBatch enqueues a FindVariableForUpdate query into batch to be executed // later by the batch. FindVariableForUpdateBatch(batch genericBatch, variableID pgtype.Text) // FindVariableForUpdateScan scans the result of an executed FindVariableForUpdateBatch query. FindVariableForUpdateScan(results pgx.BatchResults) (FindVariableForUpdateRow, error) UpdateVariableByID(ctx context.Context, params UpdateVariableByIDParams) (pgtype.Text, error) // UpdateVariableByIDBatch enqueues a UpdateVariableByID query into batch to be executed // later by the batch. UpdateVariableByIDBatch(batch genericBatch, params UpdateVariableByIDParams) // UpdateVariableByIDScan scans the result of an executed UpdateVariableByIDBatch query. UpdateVariableByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteVariableByIDRow, error) // DeleteVariableByIDBatch enqueues a DeleteVariableByID query into batch to be executed // later by the batch. DeleteVariableByIDBatch(batch genericBatch, variableID pgtype.Text) // DeleteVariableByIDScan scans the result of an executed DeleteVariableByIDBatch query. DeleteVariableByIDScan(results pgx.BatchResults) (DeleteVariableByIDRow, error) InsertVCSProvider(ctx context.Context, params InsertVCSProviderParams) (pgconn.CommandTag, error) // InsertVCSProviderBatch enqueues a InsertVCSProvider query into batch to be executed // later by the batch. InsertVCSProviderBatch(batch genericBatch, params InsertVCSProviderParams) // InsertVCSProviderScan scans the result of an executed InsertVCSProviderBatch query. InsertVCSProviderScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindVCSProviders(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersRow, error) // FindVCSProvidersBatch enqueues a FindVCSProviders query into batch to be executed // later by the batch. FindVCSProvidersBatch(batch genericBatch, organizationName pgtype.Text) // FindVCSProvidersScan scans the result of an executed FindVCSProvidersBatch query. FindVCSProvidersScan(results pgx.BatchResults) ([]FindVCSProvidersRow, error) FindVCSProvider(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderRow, error) // FindVCSProviderBatch enqueues a FindVCSProvider query into batch to be executed // later by the batch. FindVCSProviderBatch(batch genericBatch, vcsProviderID pgtype.Text) // FindVCSProviderScan scans the result of an executed FindVCSProviderBatch query. FindVCSProviderScan(results pgx.BatchResults) (FindVCSProviderRow, error) DeleteVCSProviderByID(ctx context.Context, vcsProviderID pgtype.Text) (pgtype.Text, error) // DeleteVCSProviderByIDBatch enqueues a DeleteVCSProviderByID query into batch to be executed // later by the batch. DeleteVCSProviderByIDBatch(batch genericBatch, vcsProviderID pgtype.Text) // DeleteVCSProviderByIDScan scans the result of an executed DeleteVCSProviderByIDBatch query. DeleteVCSProviderByIDScan(results pgx.BatchResults) (pgtype.Text, error) InsertWebhook(ctx context.Context, params InsertWebhookParams) (InsertWebhookRow, error) // InsertWebhookBatch enqueues a InsertWebhook query into batch to be executed // later by the batch. InsertWebhookBatch(batch genericBatch, params InsertWebhookParams) // InsertWebhookScan scans the result of an executed InsertWebhookBatch query. InsertWebhookScan(results pgx.BatchResults) (InsertWebhookRow, error) UpdateWebhookVCSID(ctx context.Context, vcsID pgtype.Text, webhookID pgtype.UUID) (UpdateWebhookVCSIDRow, error) // UpdateWebhookVCSIDBatch enqueues a UpdateWebhookVCSID query into batch to be executed // later by the batch. UpdateWebhookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, webhookID pgtype.UUID) // UpdateWebhookVCSIDScan scans the result of an executed UpdateWebhookVCSIDBatch query. UpdateWebhookVCSIDScan(results pgx.BatchResults) (UpdateWebhookVCSIDRow, error) FindWebhookByID(ctx context.Context, webhookID pgtype.UUID) (FindWebhookByIDRow, error) // FindWebhookByIDBatch enqueues a FindWebhookByID query into batch to be executed // later by the batch. FindWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID) // FindWebhookByIDScan scans the result of an executed FindWebhookByIDBatch query. FindWebhookByIDScan(results pgx.BatchResults) (FindWebhookByIDRow, error) FindWebhooksByRepo(ctx context.Context, identifier pgtype.Text, cloud pgtype.Text) ([]FindWebhooksByRepoRow, error) // FindWebhooksByRepoBatch enqueues a FindWebhooksByRepo query into batch to be executed // later by the batch. FindWebhooksByRepoBatch(batch genericBatch, identifier pgtype.Text, cloud pgtype.Text) // FindWebhooksByRepoScan scans the result of an executed FindWebhooksByRepoBatch query. FindWebhooksByRepoScan(results pgx.BatchResults) ([]FindWebhooksByRepoRow, error) DeleteWebhookByID(ctx context.Context, webhookID pgtype.UUID) (DeleteWebhookByIDRow, error) // DeleteWebhookByIDBatch enqueues a DeleteWebhookByID query into batch to be executed // later by the batch. DeleteWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID) // DeleteWebhookByIDScan scans the result of an executed DeleteWebhookByIDBatch query. DeleteWebhookByIDScan(results pgx.BatchResults) (DeleteWebhookByIDRow, error) InsertWorkspace(ctx context.Context, params InsertWorkspaceParams) (pgconn.CommandTag, error) // InsertWorkspaceBatch enqueues a InsertWorkspace query into batch to be executed // later by the batch. InsertWorkspaceBatch(batch genericBatch, params InsertWorkspaceParams) // InsertWorkspaceScan scans the result of an executed InsertWorkspaceBatch query. InsertWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindWorkspaces(ctx context.Context, params FindWorkspacesParams) ([]FindWorkspacesRow, error) // FindWorkspacesBatch enqueues a FindWorkspaces query into batch to be executed // later by the batch. FindWorkspacesBatch(batch genericBatch, params FindWorkspacesParams) // FindWorkspacesScan scans the result of an executed FindWorkspacesBatch query. FindWorkspacesScan(results pgx.BatchResults) ([]FindWorkspacesRow, error) CountWorkspaces(ctx context.Context, prefix pgtype.Text, organizationNames []string) (*int, error) // CountWorkspacesBatch enqueues a CountWorkspaces query into batch to be executed // later by the batch. CountWorkspacesBatch(batch genericBatch, prefix pgtype.Text, organizationNames []string) // CountWorkspacesScan scans the result of an executed CountWorkspacesBatch query. CountWorkspacesScan(results pgx.BatchResults) (*int, error) FindWorkspacesByWebhookID(ctx context.Context, webhookID pgtype.UUID) ([]FindWorkspacesByWebhookIDRow, error) // FindWorkspacesByWebhookIDBatch enqueues a FindWorkspacesByWebhookID query into batch to be executed // later by the batch. FindWorkspacesByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID) // FindWorkspacesByWebhookIDScan scans the result of an executed FindWorkspacesByWebhookIDBatch query. FindWorkspacesByWebhookIDScan(results pgx.BatchResults) ([]FindWorkspacesByWebhookIDRow, error) FindWorkspacesByUsername(ctx context.Context, params FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error) // FindWorkspacesByUsernameBatch enqueues a FindWorkspacesByUsername query into batch to be executed // later by the batch. FindWorkspacesByUsernameBatch(batch genericBatch, params FindWorkspacesByUsernameParams) // FindWorkspacesByUsernameScan scans the result of an executed FindWorkspacesByUsernameBatch query. FindWorkspacesByUsernameScan(results pgx.BatchResults) ([]FindWorkspacesByUsernameRow, error) CountWorkspacesByUsername(ctx context.Context, organizationName pgtype.Text, username pgtype.Text) (*int, error) // CountWorkspacesByUsernameBatch enqueues a CountWorkspacesByUsername query into batch to be executed // later by the batch. CountWorkspacesByUsernameBatch(batch genericBatch, organizationName pgtype.Text, username pgtype.Text) // CountWorkspacesByUsernameScan scans the result of an executed CountWorkspacesByUsernameBatch query. CountWorkspacesByUsernameScan(results pgx.BatchResults) (*int, error) FindWorkspaceByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindWorkspaceByNameRow, error) // FindWorkspaceByNameBatch enqueues a FindWorkspaceByName query into batch to be executed // later by the batch. FindWorkspaceByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text) // FindWorkspaceByNameScan scans the result of an executed FindWorkspaceByNameBatch query. FindWorkspaceByNameScan(results pgx.BatchResults) (FindWorkspaceByNameRow, error) FindWorkspaceByID(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDRow, error) // FindWorkspaceByIDBatch enqueues a FindWorkspaceByID query into batch to be executed // later by the batch. FindWorkspaceByIDBatch(batch genericBatch, id pgtype.Text) // FindWorkspaceByIDScan scans the result of an executed FindWorkspaceByIDBatch query. FindWorkspaceByIDScan(results pgx.BatchResults) (FindWorkspaceByIDRow, error) FindWorkspaceByIDForUpdate(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDForUpdateRow, error) // FindWorkspaceByIDForUpdateBatch enqueues a FindWorkspaceByIDForUpdate query into batch to be executed // later by the batch. FindWorkspaceByIDForUpdateBatch(batch genericBatch, id pgtype.Text) // FindWorkspaceByIDForUpdateScan scans the result of an executed FindWorkspaceByIDForUpdateBatch query. FindWorkspaceByIDForUpdateScan(results pgx.BatchResults) (FindWorkspaceByIDForUpdateRow, error) UpdateWorkspaceByID(ctx context.Context, params UpdateWorkspaceByIDParams) (pgtype.Text, error) // UpdateWorkspaceByIDBatch enqueues a UpdateWorkspaceByID query into batch to be executed // later by the batch. UpdateWorkspaceByIDBatch(batch genericBatch, params UpdateWorkspaceByIDParams) // UpdateWorkspaceByIDScan scans the result of an executed UpdateWorkspaceByIDBatch query. UpdateWorkspaceByIDScan(results pgx.BatchResults) (pgtype.Text, error) UpdateWorkspaceLockByID(ctx context.Context, params UpdateWorkspaceLockByIDParams) (pgconn.CommandTag, error) // UpdateWorkspaceLockByIDBatch enqueues a UpdateWorkspaceLockByID query into batch to be executed // later by the batch. UpdateWorkspaceLockByIDBatch(batch genericBatch, params UpdateWorkspaceLockByIDParams) // UpdateWorkspaceLockByIDScan scans the result of an executed UpdateWorkspaceLockByIDBatch query. UpdateWorkspaceLockByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdateWorkspaceLatestRun(ctx context.Context, runID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error) // UpdateWorkspaceLatestRunBatch enqueues a UpdateWorkspaceLatestRun query into batch to be executed // later by the batch. UpdateWorkspaceLatestRunBatch(batch genericBatch, runID pgtype.Text, workspaceID pgtype.Text) // UpdateWorkspaceLatestRunScan scans the result of an executed UpdateWorkspaceLatestRunBatch query. UpdateWorkspaceLatestRunScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdateWorkspaceCurrentStateVersionID(ctx context.Context, stateVersionID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error) // UpdateWorkspaceCurrentStateVersionIDBatch enqueues a UpdateWorkspaceCurrentStateVersionID query into batch to be executed // later by the batch. UpdateWorkspaceCurrentStateVersionIDBatch(batch genericBatch, stateVersionID pgtype.Text, workspaceID pgtype.Text) // UpdateWorkspaceCurrentStateVersionIDScan scans the result of an executed UpdateWorkspaceCurrentStateVersionIDBatch query. UpdateWorkspaceCurrentStateVersionIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteWorkspaceByID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error) // DeleteWorkspaceByIDBatch enqueues a DeleteWorkspaceByID query into batch to be executed // later by the batch. DeleteWorkspaceByIDBatch(batch genericBatch, workspaceID pgtype.Text) // DeleteWorkspaceByIDScan scans the result of an executed DeleteWorkspaceByIDBatch query. DeleteWorkspaceByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpsertWorkspacePermission(ctx context.Context, params UpsertWorkspacePermissionParams) (pgconn.CommandTag, error) // UpsertWorkspacePermissionBatch enqueues a UpsertWorkspacePermission query into batch to be executed // later by the batch. UpsertWorkspacePermissionBatch(batch genericBatch, params UpsertWorkspacePermissionParams) // UpsertWorkspacePermissionScan scans the result of an executed UpsertWorkspacePermissionBatch query. UpsertWorkspacePermissionScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindWorkspacePolicyByID(ctx context.Context, workspaceID pgtype.Text) (FindWorkspacePolicyByIDRow, error) // FindWorkspacePolicyByIDBatch enqueues a FindWorkspacePolicyByID query into batch to be executed // later by the batch. FindWorkspacePolicyByIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindWorkspacePolicyByIDScan scans the result of an executed FindWorkspacePolicyByIDBatch query. FindWorkspacePolicyByIDScan(results pgx.BatchResults) (FindWorkspacePolicyByIDRow, error) DeleteWorkspacePermissionByID(ctx context.Context, workspaceID pgtype.Text, teamName pgtype.Text) (pgconn.CommandTag, error) // DeleteWorkspacePermissionByIDBatch enqueues a DeleteWorkspacePermissionByID query into batch to be executed // later by the batch. DeleteWorkspacePermissionByIDBatch(batch genericBatch, workspaceID pgtype.Text, teamName pgtype.Text) // DeleteWorkspacePermissionByIDScan scans the result of an executed DeleteWorkspacePermissionByIDBatch query. DeleteWorkspacePermissionByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error) }
Querier is a typesafe Go interface backed by SQL queries.
Methods ending with Batch enqueue a query to run later in a pgx.Batch. After calling SendBatch on pgx.Conn, pgxpool.Pool, or pgx.Tx, use the Scan methods to parse the results.
type QuerierConfig ¶
type QuerierConfig struct { // DataTypes contains pgtype.Value to use for encoding and decoding instead // of pggen-generated pgtype.ValueTranscoder. // // If OIDs are available for an input parameter type and all of its // transitive dependencies, pggen will use the binary encoding format for // the input parameter. DataTypes []pgtype.DataType }
type RepoConnections ¶ added in v0.0.32
type RepoConnections struct { WebhookID pgtype.UUID `json:"webhook_id"` VCSProviderID pgtype.Text `json:"vcs_provider_id"` ModuleID pgtype.Text `json:"module_id"` WorkspaceID pgtype.Text `json:"workspace_id"` }
RepoConnections represents the Postgres composite type "repo_connections".
type Report ¶
type Report struct { Additions int `json:"additions"` Changes int `json:"changes"` Destructions int `json:"destructions"` }
Report represents the Postgres composite type "report".
type RunStatusTimestamps ¶
type RunStatusTimestamps struct { RunID pgtype.Text `json:"run_id"` Status pgtype.Text `json:"status"` Timestamp pgtype.Timestamptz `json:"timestamp"` }
RunStatusTimestamps represents the Postgres composite type "run_status_timestamps".
type Runs ¶
type Runs struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` ForceCancelAvailableAt pgtype.Timestamptz `json:"force_cancel_available_at"` IsDestroy bool `json:"is_destroy"` PositionInQueue int `json:"position_in_queue"` Refresh bool `json:"refresh"` RefreshOnly bool `json:"refresh_only"` ReplaceAddrs []string `json:"replace_addrs"` TargetAddrs []string `json:"target_addrs"` LockFile []byte `json:"lock_file"` Status pgtype.Text `json:"status"` WorkspaceID pgtype.Text `json:"workspace_id"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` AutoApply bool `json:"auto_apply"` }
Runs represents the Postgres composite type "runs".
type StateVersionOutputs ¶
type StateVersionOutputs struct { StateVersionOutputID pgtype.Text `json:"state_version_output_id"` Name pgtype.Text `json:"name"` Sensitive bool `json:"sensitive"` Type pgtype.Text `json:"type"` Value pgtype.Text `json:"value"` StateVersionID pgtype.Text `json:"state_version_id"` }
StateVersionOutputs represents the Postgres composite type "state_version_outputs".
type Teams ¶
type Teams struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces bool `json:"permission_manage_workspaces"` PermissionManageVCS bool `json:"permission_manage_vcs"` PermissionManageRegistry bool `json:"permission_manage_registry"` OrganizationName pgtype.Text `json:"organization_name"` }
Teams represents the Postgres composite type "teams".
type UpdateModuleVersionStatusByIDParams ¶ added in v0.0.23
type UpdateModuleVersionStatusByIDRow ¶ added in v0.0.23
type UpdateModuleVersionStatusByIDRow struct { ModuleVersionID pgtype.Text `json:"module_version_id"` Version pgtype.Text `json:"version"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Status pgtype.Text `json:"status"` StatusError pgtype.Text `json:"status_error"` ModuleID pgtype.Text `json:"module_id"` }
type UpdateTeamByIDParams ¶ added in v0.0.19
type UpdateVariableByIDParams ¶ added in v0.0.23
type UpdateWebhookVCSIDRow ¶ added in v0.0.23
type UpdateWorkspaceByIDParams ¶
type UpdateWorkspaceByIDParams struct { AllowDestroyPlan bool AutoApply bool Branch pgtype.Text Description pgtype.Text ExecutionMode pgtype.Text Name pgtype.Text QueueAllRuns bool SpeculativeEnabled bool StructuredRunOutputEnabled bool TerraformVersion pgtype.Text TriggerPrefixes []string WorkingDirectory pgtype.Text UpdatedAt pgtype.Timestamptz ID pgtype.Text }
type Users ¶
type Users struct { UserID pgtype.Text `json:"user_id"` Username pgtype.Text `json:"username"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` SiteAdmin bool `json:"site_admin"` }
Users represents the Postgres composite type "users".
type Webhooks ¶ added in v0.0.19
type Webhooks struct { WebhookID pgtype.UUID `json:"webhook_id"` VCSID pgtype.Text `json:"vcs_id"` Secret pgtype.Text `json:"secret"` Identifier pgtype.Text `json:"identifier"` Cloud pgtype.Text `json:"cloud"` }
Webhooks represents the Postgres composite type "webhooks".
Source Files
¶
- agent_token.sql.go
- apply.sql.go
- configuration_version.sql.go
- ingress_attributes.sql.go
- module.sql.go
- organization.sql.go
- organization_membership.sql.go
- phase.sql.go
- plan.sql.go
- repo_connections.sql.go
- run.sql.go
- state_version.sql.go
- state_version_output.sql.go
- team.sql.go
- team_membership.sql.go
- token.sql.go
- user.sql.go
- variable.sql.go
- vcs_provider.sql.go
- webhook.sql.go
- workspace.sql.go
- workspace_lock.sql.go
- workspace_permission.sql.go
- workspace_repo.sql.go