Documentation ¶
Index ¶
- func PrepareAllQueries(ctx context.Context, p preparer) error
- type ConfigurationVersionStatusTimestamps
- type CountRunsParams
- type CountWorkspacesParams
- type DBQuerier
- func (q *DBQuerier) CountConfigurationVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error)
- func (q *DBQuerier) CountConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) CountConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountOrganizations(ctx context.Context, names []string) (pgtype.Int8, error)
- func (q *DBQuerier) CountOrganizationsBatch(batch genericBatch, names []string)
- func (q *DBQuerier) CountOrganizationsScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountRuns(ctx context.Context, params CountRunsParams) (pgtype.Int8, error)
- func (q *DBQuerier) CountRunsBatch(batch genericBatch, params CountRunsParams)
- func (q *DBQuerier) CountRunsScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error)
- func (q *DBQuerier) CountStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) CountStateVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountTags(ctx context.Context, organizationName pgtype.Text) (pgtype.Int8, error)
- func (q *DBQuerier) CountTagsBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) CountTagsScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountWorkspaceTags(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error)
- func (q *DBQuerier) CountWorkspaceTagsBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) CountWorkspaceTagsScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountWorkspaces(ctx context.Context, params CountWorkspacesParams) (pgtype.Int8, error)
- func (q *DBQuerier) CountWorkspacesBatch(batch genericBatch, params CountWorkspacesParams)
- func (q *DBQuerier) CountWorkspacesByUsername(ctx context.Context, organizationName pgtype.Text, username pgtype.Text) (pgtype.Int8, error)
- func (q *DBQuerier) CountWorkspacesByUsernameBatch(batch genericBatch, organizationName pgtype.Text, username pgtype.Text)
- func (q *DBQuerier) CountWorkspacesByUsernameScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) CountWorkspacesScan(results pgx.BatchResults) (pgtype.Int8, error)
- func (q *DBQuerier) DeleteAgent(ctx context.Context, agentID pgtype.Text) (DeleteAgentRow, error)
- func (q *DBQuerier) DeleteAgentBatch(batch genericBatch, agentID pgtype.Text)
- func (q *DBQuerier) DeleteAgentPool(ctx context.Context, poolID pgtype.Text) (DeleteAgentPoolRow, error)
- func (q *DBQuerier) DeleteAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) DeleteAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteAgentPoolBatch(batch genericBatch, poolID pgtype.Text)
- func (q *DBQuerier) DeleteAgentPoolScan(results pgx.BatchResults) (DeleteAgentPoolRow, error)
- func (q *DBQuerier) DeleteAgentScan(results pgx.BatchResults) (DeleteAgentRow, error)
- func (q *DBQuerier) DeleteAgentTokenByID(ctx context.Context, agentTokenID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteAgentTokenByIDBatch(batch genericBatch, agentTokenID 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) DeleteGithubApp(ctx context.Context, githubAppID pgtype.Int8) (DeleteGithubAppRow, error)
- func (q *DBQuerier) DeleteGithubAppBatch(batch genericBatch, githubAppID pgtype.Int8)
- func (q *DBQuerier) DeleteGithubAppScan(results pgx.BatchResults) (DeleteGithubAppRow, 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, moduleID pgtype.Text) (DeleteModuleConnectionByIDRow, error)
- func (q *DBQuerier) DeleteModuleConnectionByIDBatch(batch genericBatch, moduleID 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) DeleteNotificationConfigurationByID(ctx context.Context, notificationConfigurationID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteNotificationConfigurationByIDBatch(batch genericBatch, notificationConfigurationID pgtype.Text)
- func (q *DBQuerier) DeleteNotificationConfigurationByIDScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteOrganiationTokenByName(ctx context.Context, organizationName pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteOrganiationTokenByNameBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) DeleteOrganiationTokenByNameScan(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) DeleteRepohookByID(ctx context.Context, repohookID pgtype.UUID) (DeleteRepohookByIDRow, error)
- func (q *DBQuerier) DeleteRepohookByIDBatch(batch genericBatch, repohookID pgtype.UUID)
- func (q *DBQuerier) DeleteRepohookByIDScan(results pgx.BatchResults) (DeleteRepohookByIDRow, 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) DeleteTag(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTagBatch(batch genericBatch, tagID pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) DeleteTagScan(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, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text)
- func (q *DBQuerier) DeleteTeamMembershipScan(results pgx.BatchResults) ([]pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamTokenByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteTeamTokenByIDBatch(batch genericBatch, teamID pgtype.Text)
- func (q *DBQuerier) DeleteTeamTokenByIDScan(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) DeleteVariableSetByID(ctx context.Context, variableSetID pgtype.Text) (DeleteVariableSetByIDRow, error)
- func (q *DBQuerier) DeleteVariableSetByIDBatch(batch genericBatch, variableSetID pgtype.Text)
- func (q *DBQuerier) DeleteVariableSetByIDScan(results pgx.BatchResults) (DeleteVariableSetByIDRow, error)
- func (q *DBQuerier) DeleteVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (DeleteVariableSetVariableRow, error)
- func (q *DBQuerier) DeleteVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text)
- func (q *DBQuerier) DeleteVariableSetVariableScan(results pgx.BatchResults) (DeleteVariableSetVariableRow, error)
- func (q *DBQuerier) DeleteVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (DeleteVariableSetWorkspaceRow, error)
- func (q *DBQuerier) DeleteVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) DeleteVariableSetWorkspaceScan(results pgx.BatchResults) (DeleteVariableSetWorkspaceRow, error)
- func (q *DBQuerier) DeleteVariableSetWorkspaces(ctx context.Context, variableSetID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteVariableSetWorkspacesBatch(batch genericBatch, variableSetID pgtype.Text)
- func (q *DBQuerier) DeleteVariableSetWorkspacesScan(results pgx.BatchResults) (pgconn.CommandTag, 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, teamID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteWorkspacePermissionByIDBatch(batch genericBatch, workspaceID pgtype.Text, teamID pgtype.Text)
- func (q *DBQuerier) DeleteWorkspacePermissionByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) DeleteWorkspaceTag(ctx context.Context, workspaceID pgtype.Text, tagID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) DeleteWorkspaceTagBatch(batch genericBatch, workspaceID pgtype.Text, tagID pgtype.Text)
- func (q *DBQuerier) DeleteWorkspaceTagScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) DeleteWorkspaceVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteWorkspaceVariableByIDRow, error)
- func (q *DBQuerier) DeleteWorkspaceVariableByIDBatch(batch genericBatch, variableID pgtype.Text)
- func (q *DBQuerier) DeleteWorkspaceVariableByIDScan(results pgx.BatchResults) (DeleteWorkspaceVariableByIDRow, error)
- func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgconn.CommandTag, 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) FindAgentByID(ctx context.Context, agentID pgtype.Text) (FindAgentByIDRow, error)
- func (q *DBQuerier) FindAgentByIDBatch(batch genericBatch, agentID pgtype.Text)
- func (q *DBQuerier) FindAgentByIDForUpdate(ctx context.Context, agentID pgtype.Text) (FindAgentByIDForUpdateRow, error)
- func (q *DBQuerier) FindAgentByIDForUpdateBatch(batch genericBatch, agentID pgtype.Text)
- func (q *DBQuerier) FindAgentByIDForUpdateScan(results pgx.BatchResults) (FindAgentByIDForUpdateRow, error)
- func (q *DBQuerier) FindAgentByIDScan(results pgx.BatchResults) (FindAgentByIDRow, error)
- func (q *DBQuerier) FindAgentPool(ctx context.Context, poolID pgtype.Text) (FindAgentPoolRow, error)
- func (q *DBQuerier) FindAgentPoolBatch(batch genericBatch, poolID pgtype.Text)
- func (q *DBQuerier) FindAgentPoolByAgentTokenID(ctx context.Context, agentTokenID pgtype.Text) (FindAgentPoolByAgentTokenIDRow, error)
- func (q *DBQuerier) FindAgentPoolByAgentTokenIDBatch(batch genericBatch, agentTokenID pgtype.Text)
- func (q *DBQuerier) FindAgentPoolByAgentTokenIDScan(results pgx.BatchResults) (FindAgentPoolByAgentTokenIDRow, error)
- func (q *DBQuerier) FindAgentPoolScan(results pgx.BatchResults) (FindAgentPoolRow, error)
- func (q *DBQuerier) FindAgentPools(ctx context.Context) ([]FindAgentPoolsRow, error)
- func (q *DBQuerier) FindAgentPoolsBatch(batch genericBatch)
- func (q *DBQuerier) FindAgentPoolsByOrganization(ctx context.Context, params FindAgentPoolsByOrganizationParams) ([]FindAgentPoolsByOrganizationRow, error)
- func (q *DBQuerier) FindAgentPoolsByOrganizationBatch(batch genericBatch, params FindAgentPoolsByOrganizationParams)
- func (q *DBQuerier) FindAgentPoolsByOrganizationScan(results pgx.BatchResults) ([]FindAgentPoolsByOrganizationRow, error)
- func (q *DBQuerier) FindAgentPoolsScan(results pgx.BatchResults) ([]FindAgentPoolsRow, error)
- func (q *DBQuerier) FindAgentTokenByID(ctx context.Context, agentTokenID pgtype.Text) (FindAgentTokenByIDRow, error)
- func (q *DBQuerier) FindAgentTokenByIDBatch(batch genericBatch, agentTokenID pgtype.Text)
- func (q *DBQuerier) FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error)
- func (q *DBQuerier) FindAgentTokensByAgentPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentTokensByAgentPoolIDRow, error)
- func (q *DBQuerier) FindAgentTokensByAgentPoolIDBatch(batch genericBatch, agentPoolID pgtype.Text)
- func (q *DBQuerier) FindAgentTokensByAgentPoolIDScan(results pgx.BatchResults) ([]FindAgentTokensByAgentPoolIDRow, error)
- func (q *DBQuerier) FindAgents(ctx context.Context) ([]FindAgentsRow, error)
- func (q *DBQuerier) FindAgentsBatch(batch genericBatch)
- func (q *DBQuerier) FindAgentsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindAgentsByOrganizationRow, error)
- func (q *DBQuerier) FindAgentsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindAgentsByOrganizationScan(results pgx.BatchResults) ([]FindAgentsByOrganizationRow, error)
- func (q *DBQuerier) FindAgentsByPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentsByPoolIDRow, error)
- func (q *DBQuerier) FindAgentsByPoolIDBatch(batch genericBatch, agentPoolID pgtype.Text)
- func (q *DBQuerier) FindAgentsByPoolIDScan(results pgx.BatchResults) ([]FindAgentsByPoolIDRow, error)
- func (q *DBQuerier) FindAgentsScan(results pgx.BatchResults) ([]FindAgentsRow, error)
- func (q *DBQuerier) FindAllNotificationConfigurations(ctx context.Context) ([]FindAllNotificationConfigurationsRow, error)
- func (q *DBQuerier) FindAllNotificationConfigurationsBatch(batch genericBatch)
- func (q *DBQuerier) FindAllNotificationConfigurationsScan(results pgx.BatchResults) ([]FindAllNotificationConfigurationsRow, error)
- func (q *DBQuerier) FindAllocatedJobs(ctx context.Context, agentID pgtype.Text) ([]FindAllocatedJobsRow, error)
- func (q *DBQuerier) FindAllocatedJobsBatch(batch genericBatch, agentID pgtype.Text)
- func (q *DBQuerier) FindAllocatedJobsScan(results pgx.BatchResults) ([]FindAllocatedJobsRow, error)
- func (q *DBQuerier) FindAndUpdateSignaledJobs(ctx context.Context, agentID pgtype.Text) ([]FindAndUpdateSignaledJobsRow, error)
- func (q *DBQuerier) FindAndUpdateSignaledJobsBatch(batch genericBatch, agentID pgtype.Text)
- func (q *DBQuerier) FindAndUpdateSignaledJobsScan(results pgx.BatchResults) ([]FindAndUpdateSignaledJobsRow, 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) FindGithubApp(ctx context.Context) (FindGithubAppRow, error)
- func (q *DBQuerier) FindGithubAppBatch(batch genericBatch)
- func (q *DBQuerier) FindGithubAppScan(results pgx.BatchResults) (FindGithubAppRow, error)
- func (q *DBQuerier) FindJob(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobRow, error)
- func (q *DBQuerier) FindJobBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text)
- func (q *DBQuerier) FindJobForUpdate(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobForUpdateRow, error)
- func (q *DBQuerier) FindJobForUpdateBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text)
- func (q *DBQuerier) FindJobForUpdateScan(results pgx.BatchResults) (FindJobForUpdateRow, error)
- func (q *DBQuerier) FindJobScan(results pgx.BatchResults) (FindJobRow, error)
- func (q *DBQuerier) FindJobs(ctx context.Context) ([]FindJobsRow, error)
- func (q *DBQuerier) FindJobsBatch(batch genericBatch)
- func (q *DBQuerier) FindJobsScan(results pgx.BatchResults) ([]FindJobsRow, error)
- func (q *DBQuerier) FindLatestTerraformVersion(ctx context.Context) ([]FindLatestTerraformVersionRow, error)
- func (q *DBQuerier) FindLatestTerraformVersionBatch(batch genericBatch)
- func (q *DBQuerier) FindLatestTerraformVersionScan(results pgx.BatchResults) ([]FindLatestTerraformVersionRow, error)
- func (q *DBQuerier) FindLogChunkByID(ctx context.Context, chunkID pgtype.Int4) (FindLogChunkByIDRow, error)
- func (q *DBQuerier) FindLogChunkByIDBatch(batch genericBatch, chunkID pgtype.Int4)
- 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) FindModuleByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) (FindModuleByConnectionRow, error)
- func (q *DBQuerier) FindModuleByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text)
- func (q *DBQuerier) FindModuleByConnectionScan(results pgx.BatchResults) (FindModuleByConnectionRow, 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) 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) FindNotificationConfiguration(ctx context.Context, notificationConfigurationID pgtype.Text) (FindNotificationConfigurationRow, error)
- func (q *DBQuerier) FindNotificationConfigurationBatch(batch genericBatch, notificationConfigurationID pgtype.Text)
- func (q *DBQuerier) FindNotificationConfigurationForUpdate(ctx context.Context, notificationConfigurationID pgtype.Text) (FindNotificationConfigurationForUpdateRow, error)
- func (q *DBQuerier) FindNotificationConfigurationForUpdateBatch(batch genericBatch, notificationConfigurationID pgtype.Text)
- func (q *DBQuerier) FindNotificationConfigurationForUpdateScan(results pgx.BatchResults) (FindNotificationConfigurationForUpdateRow, error)
- func (q *DBQuerier) FindNotificationConfigurationScan(results pgx.BatchResults) (FindNotificationConfigurationRow, error)
- func (q *DBQuerier) FindNotificationConfigurationsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindNotificationConfigurationsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindNotificationConfigurationsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindNotificationConfigurationsByWorkspaceIDScan(results pgx.BatchResults) ([]FindNotificationConfigurationsByWorkspaceIDRow, 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) FindOrganizationTokens(ctx context.Context, organizationName pgtype.Text) ([]FindOrganizationTokensRow, error)
- func (q *DBQuerier) FindOrganizationTokensBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindOrganizationTokensByID(ctx context.Context, organizationTokenID pgtype.Text) (FindOrganizationTokensByIDRow, error)
- func (q *DBQuerier) FindOrganizationTokensByIDBatch(batch genericBatch, organizationTokenID pgtype.Text)
- func (q *DBQuerier) FindOrganizationTokensByIDScan(results pgx.BatchResults) (FindOrganizationTokensByIDRow, error)
- func (q *DBQuerier) FindOrganizationTokensByName(ctx context.Context, organizationName pgtype.Text) (FindOrganizationTokensByNameRow, error)
- func (q *DBQuerier) FindOrganizationTokensByNameBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindOrganizationTokensByNameScan(results pgx.BatchResults) (FindOrganizationTokensByNameRow, error)
- func (q *DBQuerier) FindOrganizationTokensScan(results pgx.BatchResults) ([]FindOrganizationTokensRow, 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) FindRepohookByID(ctx context.Context, repohookID pgtype.UUID) (FindRepohookByIDRow, error)
- func (q *DBQuerier) FindRepohookByIDBatch(batch genericBatch, repohookID pgtype.UUID)
- func (q *DBQuerier) FindRepohookByIDScan(results pgx.BatchResults) (FindRepohookByIDRow, error)
- func (q *DBQuerier) FindRepohookByRepoAndProvider(ctx context.Context, repoPath pgtype.Text, vcsProviderID pgtype.Text) ([]FindRepohookByRepoAndProviderRow, error)
- func (q *DBQuerier) FindRepohookByRepoAndProviderBatch(batch genericBatch, repoPath pgtype.Text, vcsProviderID pgtype.Text)
- func (q *DBQuerier) FindRepohookByRepoAndProviderScan(results pgx.BatchResults) ([]FindRepohookByRepoAndProviderRow, error)
- func (q *DBQuerier) FindRepohooks(ctx context.Context) ([]FindRepohooksRow, error)
- func (q *DBQuerier) FindRepohooksBatch(batch genericBatch)
- func (q *DBQuerier) FindRepohooksScan(results pgx.BatchResults) ([]FindRepohooksRow, 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) FindServerAgents(ctx context.Context) ([]FindServerAgentsRow, error)
- func (q *DBQuerier) FindServerAgentsBatch(batch genericBatch)
- func (q *DBQuerier) FindServerAgentsScan(results pgx.BatchResults) ([]FindServerAgentsRow, 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) FindStateVersionByIDForUpdate(ctx context.Context, id pgtype.Text) (FindStateVersionByIDForUpdateRow, error)
- func (q *DBQuerier) FindStateVersionByIDForUpdateBatch(batch genericBatch, id pgtype.Text)
- func (q *DBQuerier) FindStateVersionByIDForUpdateScan(results pgx.BatchResults) (FindStateVersionByIDForUpdateRow, error)
- 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) FindStateVersionsByWorkspaceID(ctx context.Context, params FindStateVersionsByWorkspaceIDParams) ([]FindStateVersionsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindStateVersionsByWorkspaceIDBatch(batch genericBatch, params FindStateVersionsByWorkspaceIDParams)
- func (q *DBQuerier) FindStateVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindTagByID(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (FindTagByIDRow, error)
- func (q *DBQuerier) FindTagByIDBatch(batch genericBatch, tagID pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) FindTagByIDScan(results pgx.BatchResults) (FindTagByIDRow, error)
- func (q *DBQuerier) FindTagByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTagByNameRow, error)
- func (q *DBQuerier) FindTagByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text)
- func (q *DBQuerier) FindTagByNameScan(results pgx.BatchResults) (FindTagByNameRow, error)
- func (q *DBQuerier) FindTags(ctx context.Context, params FindTagsParams) ([]FindTagsRow, error)
- func (q *DBQuerier) FindTagsBatch(batch genericBatch, params FindTagsParams)
- func (q *DBQuerier) FindTagsScan(results pgx.BatchResults) ([]FindTagsRow, 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) FindTeamByTokenID(ctx context.Context, tokenID pgtype.Text) (FindTeamByTokenIDRow, error)
- func (q *DBQuerier) FindTeamByTokenIDBatch(batch genericBatch, tokenID pgtype.Text)
- func (q *DBQuerier) FindTeamByTokenIDScan(results pgx.BatchResults) (FindTeamByTokenIDRow, error)
- func (q *DBQuerier) FindTeamTokensByID(ctx context.Context, teamID pgtype.Text) ([]FindTeamTokensByIDRow, error)
- func (q *DBQuerier) FindTeamTokensByIDBatch(batch genericBatch, teamID pgtype.Text)
- func (q *DBQuerier) FindTeamTokensByIDScan(results pgx.BatchResults) ([]FindTeamTokensByIDRow, 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) FindUnreferencedRepohooks(ctx context.Context) ([]FindUnreferencedRepohooksRow, error)
- func (q *DBQuerier) FindUnreferencedRepohooksBatch(batch genericBatch)
- func (q *DBQuerier) FindUnreferencedRepohooksScan(results pgx.BatchResults) ([]FindUnreferencedRepohooksRow, 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) FindVCSProviderForUpdate(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderForUpdateRow, error)
- func (q *DBQuerier) FindVCSProviderForUpdateBatch(batch genericBatch, vcsProviderID pgtype.Text)
- func (q *DBQuerier) FindVCSProviderForUpdateScan(results pgx.BatchResults) (FindVCSProviderForUpdateRow, error)
- func (q *DBQuerier) FindVCSProviderScan(results pgx.BatchResults) (FindVCSProviderRow, error)
- func (q *DBQuerier) FindVCSProviders(ctx context.Context) ([]FindVCSProvidersRow, error)
- func (q *DBQuerier) FindVCSProvidersBatch(batch genericBatch)
- func (q *DBQuerier) FindVCSProvidersByGithubAppInstallID(ctx context.Context, installID pgtype.Int8) ([]FindVCSProvidersByGithubAppInstallIDRow, error)
- func (q *DBQuerier) FindVCSProvidersByGithubAppInstallIDBatch(batch genericBatch, installID pgtype.Int8)
- func (q *DBQuerier) FindVCSProvidersByGithubAppInstallIDScan(results pgx.BatchResults) ([]FindVCSProvidersByGithubAppInstallIDRow, error)
- func (q *DBQuerier) FindVCSProvidersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersByOrganizationRow, error)
- func (q *DBQuerier) FindVCSProvidersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindVCSProvidersByOrganizationScan(results pgx.BatchResults) ([]FindVCSProvidersByOrganizationRow, error)
- 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) FindVariableScan(results pgx.BatchResults) (FindVariableRow, error)
- func (q *DBQuerier) FindVariableSetBySetID(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetBySetIDRow, error)
- func (q *DBQuerier) FindVariableSetBySetIDBatch(batch genericBatch, variableSetID pgtype.Text)
- func (q *DBQuerier) FindVariableSetBySetIDScan(results pgx.BatchResults) (FindVariableSetBySetIDRow, error)
- func (q *DBQuerier) FindVariableSetByVariableID(ctx context.Context, variableID pgtype.Text) (FindVariableSetByVariableIDRow, error)
- func (q *DBQuerier) FindVariableSetByVariableIDBatch(batch genericBatch, variableID pgtype.Text)
- func (q *DBQuerier) FindVariableSetByVariableIDScan(results pgx.BatchResults) (FindVariableSetByVariableIDRow, error)
- func (q *DBQuerier) FindVariableSetForUpdate(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetForUpdateRow, error)
- func (q *DBQuerier) FindVariableSetForUpdateBatch(batch genericBatch, variableSetID pgtype.Text)
- func (q *DBQuerier) FindVariableSetForUpdateScan(results pgx.BatchResults) (FindVariableSetForUpdateRow, error)
- func (q *DBQuerier) FindVariableSetsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVariableSetsByOrganizationRow, error)
- func (q *DBQuerier) FindVariableSetsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
- func (q *DBQuerier) FindVariableSetsByOrganizationScan(results pgx.BatchResults) ([]FindVariableSetsByOrganizationRow, error)
- func (q *DBQuerier) FindVariableSetsByWorkspace(ctx context.Context, workspaceID pgtype.Text) ([]FindVariableSetsByWorkspaceRow, error)
- func (q *DBQuerier) FindVariableSetsByWorkspaceBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindVariableSetsByWorkspaceScan(results pgx.BatchResults) ([]FindVariableSetsByWorkspaceRow, 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) FindWorkspacePermissionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspacePermissionsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindWorkspacePermissionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindWorkspacePermissionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspacePermissionsByWorkspaceIDRow, error)
- func (q *DBQuerier) FindWorkspaceTags(ctx context.Context, params FindWorkspaceTagsParams) ([]FindWorkspaceTagsRow, error)
- func (q *DBQuerier) FindWorkspaceTagsBatch(batch genericBatch, params FindWorkspaceTagsParams)
- func (q *DBQuerier) FindWorkspaceTagsScan(results pgx.BatchResults) ([]FindWorkspaceTagsRow, error)
- func (q *DBQuerier) FindWorkspaceVariableByVariableID(ctx context.Context, variableID pgtype.Text) (FindWorkspaceVariableByVariableIDRow, error)
- func (q *DBQuerier) FindWorkspaceVariableByVariableIDBatch(batch genericBatch, variableID pgtype.Text)
- func (q *DBQuerier) FindWorkspaceVariableByVariableIDScan(results pgx.BatchResults) (FindWorkspaceVariableByVariableIDRow, error)
- func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspaceVariablesByWorkspaceIDRow, error)
- func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
- func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspaceVariablesByWorkspaceIDRow, error)
- func (q *DBQuerier) FindWorkspaces(ctx context.Context, params FindWorkspacesParams) ([]FindWorkspacesRow, error)
- func (q *DBQuerier) FindWorkspacesBatch(batch genericBatch, params FindWorkspacesParams)
- func (q *DBQuerier) FindWorkspacesByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) ([]FindWorkspacesByConnectionRow, error)
- func (q *DBQuerier) FindWorkspacesByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text)
- func (q *DBQuerier) FindWorkspacesByConnectionScan(results pgx.BatchResults) ([]FindWorkspacesByConnectionRow, error)
- 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) 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) InsertAgent(ctx context.Context, params InsertAgentParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertAgentBatch(batch genericBatch, params InsertAgentParams)
- func (q *DBQuerier) InsertAgentPool(ctx context.Context, params InsertAgentPoolParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) InsertAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertAgentPoolBatch(batch genericBatch, params InsertAgentPoolParams)
- func (q *DBQuerier) InsertAgentPoolScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertAgentScan(results pgx.BatchResults) (pgconn.CommandTag, 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) InsertGithubApp(ctx context.Context, params InsertGithubAppParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertGithubAppBatch(batch genericBatch, params InsertGithubAppParams)
- func (q *DBQuerier) InsertGithubAppInstall(ctx context.Context, params InsertGithubAppInstallParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertGithubAppInstallBatch(batch genericBatch, params InsertGithubAppInstallParams)
- func (q *DBQuerier) InsertGithubAppInstallScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertGithubAppScan(results pgx.BatchResults) (pgconn.CommandTag, 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) InsertJob(ctx context.Context, params InsertJobParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertJobBatch(batch genericBatch, params InsertJobParams)
- func (q *DBQuerier) InsertJobScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertLatestTerraformVersionBatch(batch genericBatch, version pgtype.Text)
- func (q *DBQuerier) InsertLatestTerraformVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertLogChunk(ctx context.Context, params InsertLogChunkParams) (pgtype.Int4, error)
- func (q *DBQuerier) InsertLogChunkBatch(batch genericBatch, params InsertLogChunkParams)
- func (q *DBQuerier) InsertLogChunkScan(results pgx.BatchResults) (pgtype.Int4, 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) InsertNotificationConfiguration(ctx context.Context, params InsertNotificationConfigurationParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertNotificationConfigurationBatch(batch genericBatch, params InsertNotificationConfigurationParams)
- func (q *DBQuerier) InsertNotificationConfigurationScan(results pgx.BatchResults) (pgconn.CommandTag, 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) InsertRepohook(ctx context.Context, params InsertRepohookParams) (InsertRepohookRow, error)
- func (q *DBQuerier) InsertRepohookBatch(batch genericBatch, params InsertRepohookParams)
- func (q *DBQuerier) InsertRepohookScan(results pgx.BatchResults) (InsertRepohookRow, 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) InsertRunVariable(ctx context.Context, params InsertRunVariableParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertRunVariableBatch(batch genericBatch, params InsertRunVariableParams)
- func (q *DBQuerier) InsertRunVariableScan(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) InsertTag(ctx context.Context, params InsertTagParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTagBatch(batch genericBatch, params InsertTagParams)
- func (q *DBQuerier) InsertTagScan(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, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error)
- func (q *DBQuerier) InsertTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text)
- func (q *DBQuerier) InsertTeamMembershipScan(results pgx.BatchResults) ([]pgtype.Text, error)
- func (q *DBQuerier) InsertTeamScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTeamToken(ctx context.Context, params InsertTeamTokenParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertTeamTokenBatch(batch genericBatch, params InsertTeamTokenParams)
- func (q *DBQuerier) InsertTeamTokenScan(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) InsertVariableSet(ctx context.Context, params InsertVariableSetParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariableSetBatch(batch genericBatch, params InsertVariableSetParams)
- func (q *DBQuerier) InsertVariableSetScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text)
- func (q *DBQuerier) InsertVariableSetVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) InsertVariableSetWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, 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) InsertWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceTag(ctx context.Context, tagID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) InsertWorkspaceTagBatch(batch genericBatch, tagID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) InsertWorkspaceTagByName(ctx context.Context, workspaceID pgtype.Text, tagName pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) InsertWorkspaceTagByNameBatch(batch genericBatch, workspaceID pgtype.Text, tagName pgtype.Text)
- func (q *DBQuerier) InsertWorkspaceTagByNameScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) InsertWorkspaceTagScan(results pgx.BatchResults) (pgtype.Text, error)
- func (q *DBQuerier) InsertWorkspaceVariable(ctx context.Context, variableID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) InsertWorkspaceVariableBatch(batch genericBatch, variableID pgtype.Text, workspaceID pgtype.Text)
- func (q *DBQuerier) InsertWorkspaceVariableScan(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) UpdateAgent(ctx context.Context, params UpdateAgentParams) (UpdateAgentRow, error)
- func (q *DBQuerier) UpdateAgentBatch(batch genericBatch, params UpdateAgentParams)
- func (q *DBQuerier) UpdateAgentPool(ctx context.Context, params UpdateAgentPoolParams) (UpdateAgentPoolRow, error)
- func (q *DBQuerier) UpdateAgentPoolBatch(batch genericBatch, params UpdateAgentPoolParams)
- func (q *DBQuerier) UpdateAgentPoolScan(results pgx.BatchResults) (UpdateAgentPoolRow, error)
- func (q *DBQuerier) UpdateAgentScan(results pgx.BatchResults) (UpdateAgentRow, 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) UpdateCancelSignaledAt(ctx context.Context, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error)
- func (q *DBQuerier) UpdateCancelSignaledAtBatch(batch genericBatch, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text)
- func (q *DBQuerier) UpdateCancelSignaledAtScan(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) UpdateJob(ctx context.Context, params UpdateJobParams) (UpdateJobRow, error)
- func (q *DBQuerier) UpdateJobBatch(batch genericBatch, params UpdateJobParams)
- func (q *DBQuerier) UpdateJobScan(results pgx.BatchResults) (UpdateJobRow, error)
- func (q *DBQuerier) UpdateLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpdateLatestTerraformVersionBatch(batch genericBatch, version pgtype.Text)
- func (q *DBQuerier) UpdateLatestTerraformVersionScan(results pgx.BatchResults) (pgconn.CommandTag, 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) UpdateNotificationConfigurationByID(ctx context.Context, params UpdateNotificationConfigurationByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateNotificationConfigurationByIDBatch(batch genericBatch, params UpdateNotificationConfigurationByIDParams)
- func (q *DBQuerier) UpdateNotificationConfigurationByIDScan(results pgx.BatchResults) (pgtype.Text, 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) UpdateRepohookVCSID(ctx context.Context, vcsID pgtype.Text, repohookID pgtype.UUID) (UpdateRepohookVCSIDRow, error)
- func (q *DBQuerier) UpdateRepohookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, repohookID pgtype.UUID)
- func (q *DBQuerier) UpdateRepohookVCSIDScan(results pgx.BatchResults) (UpdateRepohookVCSIDRow, 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) UpdateState(ctx context.Context, state []byte, stateVersionID pgtype.Text) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpdateStateBatch(batch genericBatch, state []byte, stateVersionID pgtype.Text)
- func (q *DBQuerier) UpdateStateScan(results pgx.BatchResults) (pgconn.CommandTag, 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) UpdateVCSProvider(ctx context.Context, params UpdateVCSProviderParams) (UpdateVCSProviderRow, error)
- func (q *DBQuerier) UpdateVCSProviderBatch(batch genericBatch, params UpdateVCSProviderParams)
- func (q *DBQuerier) UpdateVCSProviderScan(results pgx.BatchResults) (UpdateVCSProviderRow, 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) UpdateVariableSetByID(ctx context.Context, params UpdateVariableSetByIDParams) (pgtype.Text, error)
- func (q *DBQuerier) UpdateVariableSetByIDBatch(batch genericBatch, params UpdateVariableSetByIDParams)
- func (q *DBQuerier) UpdateVariableSetByIDScan(results pgx.BatchResults) (pgtype.Text, 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) UpsertOrganizationToken(ctx context.Context, params UpsertOrganizationTokenParams) (pgconn.CommandTag, error)
- func (q *DBQuerier) UpsertOrganizationTokenBatch(batch genericBatch, params UpsertOrganizationTokenParams)
- func (q *DBQuerier) UpsertOrganizationTokenScan(results pgx.BatchResults) (pgconn.CommandTag, 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 DeleteAgentPoolRow
- type DeleteAgentRow
- type DeleteGithubAppRow
- type DeleteModuleConnectionByIDRow
- type DeleteRepohookByIDRow
- type DeleteVariableByIDRow
- type DeleteVariableSetByIDRow
- type DeleteVariableSetVariableRow
- type DeleteVariableSetWorkspaceRow
- type DeleteWorkspaceConnectionByIDRow
- type DeleteWorkspaceVariableByIDRow
- type FindAgentByIDForUpdateRow
- type FindAgentByIDRow
- type FindAgentPoolByAgentTokenIDRow
- type FindAgentPoolRow
- type FindAgentPoolsByOrganizationParams
- type FindAgentPoolsByOrganizationRow
- type FindAgentPoolsRow
- type FindAgentTokenByIDRow
- type FindAgentTokensByAgentPoolIDRow
- type FindAgentsByOrganizationRow
- type FindAgentsByPoolIDRow
- type FindAgentsRow
- type FindAllNotificationConfigurationsRow
- type FindAllocatedJobsRow
- type FindAndUpdateSignaledJobsRow
- type FindConfigurationVersionByIDForUpdateRow
- type FindConfigurationVersionByIDRow
- type FindConfigurationVersionLatestByWorkspaceIDRow
- type FindConfigurationVersionsByWorkspaceIDParams
- type FindConfigurationVersionsByWorkspaceIDRow
- type FindCurrentStateVersionByWorkspaceIDRow
- type FindGithubAppRow
- type FindJobForUpdateRow
- type FindJobRow
- type FindJobsRow
- type FindLatestTerraformVersionRow
- type FindLogChunkByIDRow
- type FindModuleByConnectionRow
- type FindModuleByIDRow
- type FindModuleByModuleVersionIDRow
- type FindModuleByNameParams
- type FindModuleByNameRow
- type FindNotificationConfigurationForUpdateRow
- type FindNotificationConfigurationRow
- type FindNotificationConfigurationsByWorkspaceIDRow
- type FindOrganizationByIDRow
- type FindOrganizationByNameForUpdateRow
- type FindOrganizationByNameRow
- type FindOrganizationTokensByIDRow
- type FindOrganizationTokensByNameRow
- type FindOrganizationTokensRow
- type FindOrganizationsParams
- type FindOrganizationsRow
- type FindRepohookByIDRow
- type FindRepohookByRepoAndProviderRow
- type FindRepohooksRow
- type FindRunByIDForUpdateRow
- type FindRunByIDRow
- type FindRunsParams
- type FindRunsRow
- type FindServerAgentsRow
- type FindStateVersionByIDForUpdateRow
- type FindStateVersionByIDRow
- type FindStateVersionOutputByIDRow
- type FindStateVersionsByWorkspaceIDParams
- type FindStateVersionsByWorkspaceIDRow
- type FindTagByIDRow
- type FindTagByNameRow
- type FindTagsParams
- type FindTagsRow
- type FindTeamByIDForUpdateRow
- type FindTeamByIDRow
- type FindTeamByNameRow
- type FindTeamByTokenIDRow
- type FindTeamTokensByIDRow
- type FindTeamsByOrgRow
- type FindTokenByIDRow
- type FindTokensByUsernameRow
- type FindUnreferencedRepohooksRow
- type FindUserByAuthenticationTokenIDRow
- type FindUserByIDRow
- type FindUserByUsernameRow
- type FindUsersByOrganizationRow
- type FindUsersByTeamIDRow
- type FindUsersRow
- type FindVCSProviderForUpdateRow
- type FindVCSProviderRow
- type FindVCSProvidersByGithubAppInstallIDRow
- type FindVCSProvidersByOrganizationRow
- type FindVCSProvidersRow
- type FindVariableRow
- type FindVariableSetBySetIDRow
- type FindVariableSetByVariableIDRow
- type FindVariableSetForUpdateRow
- type FindVariableSetsByOrganizationRow
- type FindVariableSetsByWorkspaceRow
- type FindWorkspaceByIDForUpdateRow
- type FindWorkspaceByIDRow
- type FindWorkspaceByNameRow
- type FindWorkspaceLockForUpdateRow
- type FindWorkspacePermissionsByWorkspaceIDRow
- type FindWorkspaceTagsParams
- type FindWorkspaceTagsRow
- type FindWorkspaceVariableByVariableIDRow
- type FindWorkspaceVariablesByWorkspaceIDRow
- type FindWorkspacesByConnectionRow
- type FindWorkspacesByUsernameParams
- type FindWorkspacesByUsernameRow
- type FindWorkspacesParams
- type FindWorkspacesRow
- type GithubAppInstalls
- type GithubApps
- type IngressAttributes
- type InsertAgentParams
- type InsertAgentPoolParams
- type InsertAgentTokenParams
- type InsertConfigurationVersionParams
- type InsertConfigurationVersionStatusTimestampParams
- type InsertConfigurationVersionStatusTimestampRow
- type InsertGithubAppInstallParams
- type InsertGithubAppParams
- type InsertIngressAttributesParams
- type InsertJobParams
- type InsertLogChunkParams
- type InsertModuleParams
- type InsertModuleVersionParams
- type InsertModuleVersionRow
- type InsertNotificationConfigurationParams
- type InsertOrganizationParams
- type InsertPhaseStatusTimestampParams
- type InsertRepoConnectionParams
- type InsertRepohookParams
- type InsertRepohookRow
- type InsertRunParams
- type InsertRunStatusTimestampParams
- type InsertRunVariableParams
- type InsertStateVersionOutputParams
- type InsertStateVersionParams
- type InsertTagParams
- type InsertTeamParams
- type InsertTeamTokenParams
- type InsertTokenParams
- type InsertUserParams
- type InsertVCSProviderParams
- type InsertVariableParams
- type InsertVariableSetParams
- type InsertWorkspaceParams
- type ListModulesByOrganizationRow
- type ModuleVersions
- type PhaseStatusTimestamps
- type Querier
- type QuerierConfig
- type RepoConnections
- type Report
- type RunStatusTimestamps
- type RunVariables
- type Runs
- type StateVersionOutputs
- type Teams
- type UpdateAgentParams
- type UpdateAgentPoolParams
- type UpdateAgentPoolRow
- type UpdateAgentRow
- type UpdateAppliedChangesByIDParams
- type UpdateJobParams
- type UpdateJobRow
- type UpdateModuleVersionStatusByIDParams
- type UpdateModuleVersionStatusByIDRow
- type UpdateNotificationConfigurationByIDParams
- type UpdateOrganizationByNameParams
- type UpdatePlannedChangesByIDParams
- type UpdateRepohookVCSIDRow
- type UpdateTeamByIDParams
- type UpdateVCSProviderParams
- type UpdateVCSProviderRow
- type UpdateVariableByIDParams
- type UpdateVariableSetByIDParams
- type UpdateWorkspaceByIDParams
- type UpdateWorkspaceLockByIDParams
- type UpsertOrganizationTokenParams
- type UpsertWorkspacePermissionParams
- type Users
- type Variables
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 CountWorkspacesParams ¶
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) (pgtype.Int8, 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) (pgtype.Int8, 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) CountRunsBatch ¶
func (q *DBQuerier) CountRunsBatch(batch genericBatch, params CountRunsParams)
CountRunsBatch implements Querier.CountRunsBatch.
func (*DBQuerier) CountRunsScan ¶
CountRunsScan implements Querier.CountRunsScan.
func (*DBQuerier) CountStateVersionsByWorkspaceID ¶ added in v0.0.48
func (q *DBQuerier) CountStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error)
CountStateVersionsByWorkspaceID implements Querier.CountStateVersionsByWorkspaceID.
func (*DBQuerier) CountStateVersionsByWorkspaceIDBatch ¶ added in v0.0.48
func (q *DBQuerier) CountStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
CountStateVersionsByWorkspaceIDBatch implements Querier.CountStateVersionsByWorkspaceIDBatch.
func (*DBQuerier) CountStateVersionsByWorkspaceIDScan ¶ added in v0.0.48
func (q *DBQuerier) CountStateVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Int8, error)
CountStateVersionsByWorkspaceIDScan implements Querier.CountStateVersionsByWorkspaceIDScan.
func (*DBQuerier) CountTags ¶
func (q *DBQuerier) CountTags(ctx context.Context, organizationName pgtype.Text) (pgtype.Int8, error)
CountTags implements Querier.CountTags.
func (*DBQuerier) CountTagsBatch ¶
CountTagsBatch implements Querier.CountTagsBatch.
func (*DBQuerier) CountTagsScan ¶
CountTagsScan implements Querier.CountTagsScan.
func (*DBQuerier) CountWorkspaceTags ¶
func (q *DBQuerier) CountWorkspaceTags(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error)
CountWorkspaceTags implements Querier.CountWorkspaceTags.
func (*DBQuerier) CountWorkspaceTagsBatch ¶
CountWorkspaceTagsBatch implements Querier.CountWorkspaceTagsBatch.
func (*DBQuerier) CountWorkspaceTagsScan ¶
CountWorkspaceTagsScan implements Querier.CountWorkspaceTagsScan.
func (*DBQuerier) CountWorkspaces ¶
func (q *DBQuerier) CountWorkspaces(ctx context.Context, params CountWorkspacesParams) (pgtype.Int8, error)
CountWorkspaces implements Querier.CountWorkspaces.
func (*DBQuerier) CountWorkspacesBatch ¶
func (q *DBQuerier) CountWorkspacesBatch(batch genericBatch, params CountWorkspacesParams)
CountWorkspacesBatch implements Querier.CountWorkspacesBatch.
func (*DBQuerier) CountWorkspacesByUsername ¶
func (q *DBQuerier) CountWorkspacesByUsername(ctx context.Context, organizationName pgtype.Text, username pgtype.Text) (pgtype.Int8, error)
CountWorkspacesByUsername implements Querier.CountWorkspacesByUsername.
func (*DBQuerier) CountWorkspacesByUsernameBatch ¶
func (q *DBQuerier) CountWorkspacesByUsernameBatch(batch genericBatch, organizationName pgtype.Text, username pgtype.Text)
CountWorkspacesByUsernameBatch implements Querier.CountWorkspacesByUsernameBatch.
func (*DBQuerier) CountWorkspacesByUsernameScan ¶
CountWorkspacesByUsernameScan implements Querier.CountWorkspacesByUsernameScan.
func (*DBQuerier) CountWorkspacesScan ¶
CountWorkspacesScan implements Querier.CountWorkspacesScan.
func (*DBQuerier) DeleteAgent ¶ added in v0.2.0
DeleteAgent implements Querier.DeleteAgent.
func (*DBQuerier) DeleteAgentBatch ¶ added in v0.2.0
DeleteAgentBatch implements Querier.DeleteAgentBatch.
func (*DBQuerier) DeleteAgentPool ¶ added in v0.2.0
func (q *DBQuerier) DeleteAgentPool(ctx context.Context, poolID pgtype.Text) (DeleteAgentPoolRow, error)
DeleteAgentPool implements Querier.DeleteAgentPool.
func (*DBQuerier) DeleteAgentPoolAllowedWorkspace ¶ added in v0.2.0
func (q *DBQuerier) DeleteAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
DeleteAgentPoolAllowedWorkspace implements Querier.DeleteAgentPoolAllowedWorkspace.
func (*DBQuerier) DeleteAgentPoolAllowedWorkspaceBatch ¶ added in v0.2.0
func (q *DBQuerier) DeleteAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text)
DeleteAgentPoolAllowedWorkspaceBatch implements Querier.DeleteAgentPoolAllowedWorkspaceBatch.
func (*DBQuerier) DeleteAgentPoolAllowedWorkspaceScan ¶ added in v0.2.0
func (q *DBQuerier) DeleteAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
DeleteAgentPoolAllowedWorkspaceScan implements Querier.DeleteAgentPoolAllowedWorkspaceScan.
func (*DBQuerier) DeleteAgentPoolBatch ¶ added in v0.2.0
DeleteAgentPoolBatch implements Querier.DeleteAgentPoolBatch.
func (*DBQuerier) DeleteAgentPoolScan ¶ added in v0.2.0
func (q *DBQuerier) DeleteAgentPoolScan(results pgx.BatchResults) (DeleteAgentPoolRow, error)
DeleteAgentPoolScan implements Querier.DeleteAgentPoolScan.
func (*DBQuerier) DeleteAgentScan ¶ added in v0.2.0
func (q *DBQuerier) DeleteAgentScan(results pgx.BatchResults) (DeleteAgentRow, error)
DeleteAgentScan implements Querier.DeleteAgentScan.
func (*DBQuerier) DeleteAgentTokenByID ¶
func (q *DBQuerier) DeleteAgentTokenByID(ctx context.Context, agentTokenID 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) DeleteGithubApp ¶ added in v0.1.14
func (q *DBQuerier) DeleteGithubApp(ctx context.Context, githubAppID pgtype.Int8) (DeleteGithubAppRow, error)
DeleteGithubApp implements Querier.DeleteGithubApp.
func (*DBQuerier) DeleteGithubAppBatch ¶ added in v0.1.14
DeleteGithubAppBatch implements Querier.DeleteGithubAppBatch.
func (*DBQuerier) DeleteGithubAppScan ¶ added in v0.1.14
func (q *DBQuerier) DeleteGithubAppScan(results pgx.BatchResults) (DeleteGithubAppRow, error)
DeleteGithubAppScan implements Querier.DeleteGithubAppScan.
func (*DBQuerier) DeleteModuleByID ¶
func (q *DBQuerier) DeleteModuleByID(ctx context.Context, moduleID pgtype.Text) (pgtype.Text, error)
DeleteModuleByID implements Querier.DeleteModuleByID.
func (*DBQuerier) DeleteModuleByIDBatch ¶
DeleteModuleByIDBatch implements Querier.DeleteModuleByIDBatch.
func (*DBQuerier) DeleteModuleByIDScan ¶
DeleteModuleByIDScan implements Querier.DeleteModuleByIDScan.
func (*DBQuerier) DeleteModuleConnectionByID ¶
func (q *DBQuerier) DeleteModuleConnectionByID(ctx context.Context, moduleID pgtype.Text) (DeleteModuleConnectionByIDRow, error)
DeleteModuleConnectionByID implements Querier.DeleteModuleConnectionByID.
func (*DBQuerier) DeleteModuleConnectionByIDBatch ¶
DeleteModuleConnectionByIDBatch implements Querier.DeleteModuleConnectionByIDBatch.
func (*DBQuerier) DeleteModuleConnectionByIDScan ¶
func (q *DBQuerier) DeleteModuleConnectionByIDScan(results pgx.BatchResults) (DeleteModuleConnectionByIDRow, error)
DeleteModuleConnectionByIDScan implements Querier.DeleteModuleConnectionByIDScan.
func (*DBQuerier) DeleteModuleVersionByID ¶
func (q *DBQuerier) DeleteModuleVersionByID(ctx context.Context, moduleVersionID pgtype.Text) (pgtype.Text, error)
DeleteModuleVersionByID implements Querier.DeleteModuleVersionByID.
func (*DBQuerier) DeleteModuleVersionByIDBatch ¶
DeleteModuleVersionByIDBatch implements Querier.DeleteModuleVersionByIDBatch.
func (*DBQuerier) DeleteModuleVersionByIDScan ¶
DeleteModuleVersionByIDScan implements Querier.DeleteModuleVersionByIDScan.
func (*DBQuerier) DeleteNotificationConfigurationByID ¶
func (q *DBQuerier) DeleteNotificationConfigurationByID(ctx context.Context, notificationConfigurationID pgtype.Text) (pgtype.Text, error)
DeleteNotificationConfigurationByID implements Querier.DeleteNotificationConfigurationByID.
func (*DBQuerier) DeleteNotificationConfigurationByIDBatch ¶
func (q *DBQuerier) DeleteNotificationConfigurationByIDBatch(batch genericBatch, notificationConfigurationID pgtype.Text)
DeleteNotificationConfigurationByIDBatch implements Querier.DeleteNotificationConfigurationByIDBatch.
func (*DBQuerier) DeleteNotificationConfigurationByIDScan ¶
func (q *DBQuerier) DeleteNotificationConfigurationByIDScan(results pgx.BatchResults) (pgtype.Text, error)
DeleteNotificationConfigurationByIDScan implements Querier.DeleteNotificationConfigurationByIDScan.
func (*DBQuerier) DeleteOrganiationTokenByName ¶ added in v0.1.0
func (q *DBQuerier) DeleteOrganiationTokenByName(ctx context.Context, organizationName pgtype.Text) (pgtype.Text, error)
DeleteOrganiationTokenByName implements Querier.DeleteOrganiationTokenByName.
func (*DBQuerier) DeleteOrganiationTokenByNameBatch ¶ added in v0.1.0
func (q *DBQuerier) DeleteOrganiationTokenByNameBatch(batch genericBatch, organizationName pgtype.Text)
DeleteOrganiationTokenByNameBatch implements Querier.DeleteOrganiationTokenByNameBatch.
func (*DBQuerier) DeleteOrganiationTokenByNameScan ¶ added in v0.1.0
DeleteOrganiationTokenByNameScan implements Querier.DeleteOrganiationTokenByNameScan.
func (*DBQuerier) DeleteOrganizationByName ¶
func (q *DBQuerier) DeleteOrganizationByName(ctx context.Context, name pgtype.Text) (pgtype.Text, error)
DeleteOrganizationByName implements Querier.DeleteOrganizationByName.
func (*DBQuerier) DeleteOrganizationByNameBatch ¶
DeleteOrganizationByNameBatch implements Querier.DeleteOrganizationByNameBatch.
func (*DBQuerier) DeleteOrganizationByNameScan ¶
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) DeleteRepohookByID ¶ added in v0.1.14
func (q *DBQuerier) DeleteRepohookByID(ctx context.Context, repohookID pgtype.UUID) (DeleteRepohookByIDRow, error)
DeleteRepohookByID implements Querier.DeleteRepohookByID.
func (*DBQuerier) DeleteRepohookByIDBatch ¶ added in v0.1.14
DeleteRepohookByIDBatch implements Querier.DeleteRepohookByIDBatch.
func (*DBQuerier) DeleteRepohookByIDScan ¶ added in v0.1.14
func (q *DBQuerier) DeleteRepohookByIDScan(results pgx.BatchResults) (DeleteRepohookByIDRow, error)
DeleteRepohookByIDScan implements Querier.DeleteRepohookByIDScan.
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) DeleteTag ¶
func (q *DBQuerier) DeleteTag(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (pgtype.Text, error)
DeleteTag implements Querier.DeleteTag.
func (*DBQuerier) DeleteTagBatch ¶
func (q *DBQuerier) DeleteTagBatch(batch genericBatch, tagID pgtype.Text, organizationName pgtype.Text)
DeleteTagBatch implements Querier.DeleteTagBatch.
func (*DBQuerier) DeleteTagScan ¶
DeleteTagScan implements Querier.DeleteTagScan.
func (*DBQuerier) DeleteTeamByID ¶
DeleteTeamByID implements Querier.DeleteTeamByID.
func (*DBQuerier) DeleteTeamByIDBatch ¶
DeleteTeamByIDBatch implements Querier.DeleteTeamByIDBatch.
func (*DBQuerier) DeleteTeamByIDScan ¶
DeleteTeamByIDScan implements Querier.DeleteTeamByIDScan.
func (*DBQuerier) DeleteTeamMembership ¶
func (q *DBQuerier) DeleteTeamMembership(ctx context.Context, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error)
DeleteTeamMembership implements Querier.DeleteTeamMembership.
func (*DBQuerier) DeleteTeamMembershipBatch ¶
func (q *DBQuerier) DeleteTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text)
DeleteTeamMembershipBatch implements Querier.DeleteTeamMembershipBatch.
func (*DBQuerier) DeleteTeamMembershipScan ¶
DeleteTeamMembershipScan implements Querier.DeleteTeamMembershipScan.
func (*DBQuerier) DeleteTeamTokenByID ¶ added in v0.1.15
func (q *DBQuerier) DeleteTeamTokenByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)
DeleteTeamTokenByID implements Querier.DeleteTeamTokenByID.
func (*DBQuerier) DeleteTeamTokenByIDBatch ¶ added in v0.1.15
DeleteTeamTokenByIDBatch implements Querier.DeleteTeamTokenByIDBatch.
func (*DBQuerier) DeleteTeamTokenByIDScan ¶ added in v0.1.15
DeleteTeamTokenByIDScan implements Querier.DeleteTeamTokenByIDScan.
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 ¶
func (q *DBQuerier) DeleteVCSProviderByID(ctx context.Context, vcsProviderID pgtype.Text) (pgtype.Text, error)
DeleteVCSProviderByID implements Querier.DeleteVCSProviderByID.
func (*DBQuerier) DeleteVCSProviderByIDBatch ¶
DeleteVCSProviderByIDBatch implements Querier.DeleteVCSProviderByIDBatch.
func (*DBQuerier) DeleteVCSProviderByIDScan ¶
DeleteVCSProviderByIDScan implements Querier.DeleteVCSProviderByIDScan.
func (*DBQuerier) DeleteVariableByID ¶
func (q *DBQuerier) DeleteVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteVariableByIDRow, error)
DeleteVariableByID implements Querier.DeleteVariableByID.
func (*DBQuerier) DeleteVariableByIDBatch ¶
DeleteVariableByIDBatch implements Querier.DeleteVariableByIDBatch.
func (*DBQuerier) DeleteVariableByIDScan ¶
func (q *DBQuerier) DeleteVariableByIDScan(results pgx.BatchResults) (DeleteVariableByIDRow, error)
DeleteVariableByIDScan implements Querier.DeleteVariableByIDScan.
func (*DBQuerier) DeleteVariableSetByID ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetByID(ctx context.Context, variableSetID pgtype.Text) (DeleteVariableSetByIDRow, error)
DeleteVariableSetByID implements Querier.DeleteVariableSetByID.
func (*DBQuerier) DeleteVariableSetByIDBatch ¶ added in v0.1.9
DeleteVariableSetByIDBatch implements Querier.DeleteVariableSetByIDBatch.
func (*DBQuerier) DeleteVariableSetByIDScan ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetByIDScan(results pgx.BatchResults) (DeleteVariableSetByIDRow, error)
DeleteVariableSetByIDScan implements Querier.DeleteVariableSetByIDScan.
func (*DBQuerier) DeleteVariableSetVariable ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (DeleteVariableSetVariableRow, error)
DeleteVariableSetVariable implements Querier.DeleteVariableSetVariable.
func (*DBQuerier) DeleteVariableSetVariableBatch ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text)
DeleteVariableSetVariableBatch implements Querier.DeleteVariableSetVariableBatch.
func (*DBQuerier) DeleteVariableSetVariableScan ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetVariableScan(results pgx.BatchResults) (DeleteVariableSetVariableRow, error)
DeleteVariableSetVariableScan implements Querier.DeleteVariableSetVariableScan.
func (*DBQuerier) DeleteVariableSetWorkspace ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (DeleteVariableSetWorkspaceRow, error)
DeleteVariableSetWorkspace implements Querier.DeleteVariableSetWorkspace.
func (*DBQuerier) DeleteVariableSetWorkspaceBatch ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text)
DeleteVariableSetWorkspaceBatch implements Querier.DeleteVariableSetWorkspaceBatch.
func (*DBQuerier) DeleteVariableSetWorkspaceScan ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetWorkspaceScan(results pgx.BatchResults) (DeleteVariableSetWorkspaceRow, error)
DeleteVariableSetWorkspaceScan implements Querier.DeleteVariableSetWorkspaceScan.
func (*DBQuerier) DeleteVariableSetWorkspaces ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetWorkspaces(ctx context.Context, variableSetID pgtype.Text) (pgconn.CommandTag, error)
DeleteVariableSetWorkspaces implements Querier.DeleteVariableSetWorkspaces.
func (*DBQuerier) DeleteVariableSetWorkspacesBatch ¶ added in v0.1.9
DeleteVariableSetWorkspacesBatch implements Querier.DeleteVariableSetWorkspacesBatch.
func (*DBQuerier) DeleteVariableSetWorkspacesScan ¶ added in v0.1.9
func (q *DBQuerier) DeleteVariableSetWorkspacesScan(results pgx.BatchResults) (pgconn.CommandTag, error)
DeleteVariableSetWorkspacesScan implements Querier.DeleteVariableSetWorkspacesScan.
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 ¶
func (q *DBQuerier) DeleteWorkspaceConnectionByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceConnectionByIDRow, error)
DeleteWorkspaceConnectionByID implements Querier.DeleteWorkspaceConnectionByID.
func (*DBQuerier) DeleteWorkspaceConnectionByIDBatch ¶
DeleteWorkspaceConnectionByIDBatch implements Querier.DeleteWorkspaceConnectionByIDBatch.
func (*DBQuerier) DeleteWorkspaceConnectionByIDScan ¶
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, teamID pgtype.Text) (pgconn.CommandTag, error)
DeleteWorkspacePermissionByID implements Querier.DeleteWorkspacePermissionByID.
func (*DBQuerier) DeleteWorkspacePermissionByIDBatch ¶
func (q *DBQuerier) DeleteWorkspacePermissionByIDBatch(batch genericBatch, workspaceID pgtype.Text, teamID 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) DeleteWorkspaceTag ¶
func (q *DBQuerier) DeleteWorkspaceTag(ctx context.Context, workspaceID pgtype.Text, tagID pgtype.Text) (pgtype.Text, error)
DeleteWorkspaceTag implements Querier.DeleteWorkspaceTag.
func (*DBQuerier) DeleteWorkspaceTagBatch ¶
func (q *DBQuerier) DeleteWorkspaceTagBatch(batch genericBatch, workspaceID pgtype.Text, tagID pgtype.Text)
DeleteWorkspaceTagBatch implements Querier.DeleteWorkspaceTagBatch.
func (*DBQuerier) DeleteWorkspaceTagScan ¶
DeleteWorkspaceTagScan implements Querier.DeleteWorkspaceTagScan.
func (*DBQuerier) DeleteWorkspaceVariableByID ¶ added in v0.1.9
func (q *DBQuerier) DeleteWorkspaceVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteWorkspaceVariableByIDRow, error)
DeleteWorkspaceVariableByID implements Querier.DeleteWorkspaceVariableByID.
func (*DBQuerier) DeleteWorkspaceVariableByIDBatch ¶ added in v0.1.9
DeleteWorkspaceVariableByIDBatch implements Querier.DeleteWorkspaceVariableByIDBatch.
func (*DBQuerier) DeleteWorkspaceVariableByIDScan ¶ added in v0.1.9
func (q *DBQuerier) DeleteWorkspaceVariableByIDScan(results pgx.BatchResults) (DeleteWorkspaceVariableByIDRow, error)
DeleteWorkspaceVariableByIDScan implements Querier.DeleteWorkspaceVariableByIDScan.
func (*DBQuerier) DiscardPendingStateVersionsByWorkspaceID ¶ added in v0.1.15
func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error)
DiscardPendingStateVersionsByWorkspaceID implements Querier.DiscardPendingStateVersionsByWorkspaceID.
func (*DBQuerier) DiscardPendingStateVersionsByWorkspaceIDBatch ¶ added in v0.1.15
func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
DiscardPendingStateVersionsByWorkspaceIDBatch implements Querier.DiscardPendingStateVersionsByWorkspaceIDBatch.
func (*DBQuerier) DiscardPendingStateVersionsByWorkspaceIDScan ¶ added in v0.1.15
func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)
DiscardPendingStateVersionsByWorkspaceIDScan implements Querier.DiscardPendingStateVersionsByWorkspaceIDScan.
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) FindAgentByID ¶ added in v0.2.0
func (q *DBQuerier) FindAgentByID(ctx context.Context, agentID pgtype.Text) (FindAgentByIDRow, error)
FindAgentByID implements Querier.FindAgentByID.
func (*DBQuerier) FindAgentByIDBatch ¶ added in v0.2.0
FindAgentByIDBatch implements Querier.FindAgentByIDBatch.
func (*DBQuerier) FindAgentByIDForUpdate ¶ added in v0.2.0
func (q *DBQuerier) FindAgentByIDForUpdate(ctx context.Context, agentID pgtype.Text) (FindAgentByIDForUpdateRow, error)
FindAgentByIDForUpdate implements Querier.FindAgentByIDForUpdate.
func (*DBQuerier) FindAgentByIDForUpdateBatch ¶ added in v0.2.0
FindAgentByIDForUpdateBatch implements Querier.FindAgentByIDForUpdateBatch.
func (*DBQuerier) FindAgentByIDForUpdateScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentByIDForUpdateScan(results pgx.BatchResults) (FindAgentByIDForUpdateRow, error)
FindAgentByIDForUpdateScan implements Querier.FindAgentByIDForUpdateScan.
func (*DBQuerier) FindAgentByIDScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentByIDScan(results pgx.BatchResults) (FindAgentByIDRow, error)
FindAgentByIDScan implements Querier.FindAgentByIDScan.
func (*DBQuerier) FindAgentPool ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPool(ctx context.Context, poolID pgtype.Text) (FindAgentPoolRow, error)
FindAgentPool implements Querier.FindAgentPool.
func (*DBQuerier) FindAgentPoolBatch ¶ added in v0.2.0
FindAgentPoolBatch implements Querier.FindAgentPoolBatch.
func (*DBQuerier) FindAgentPoolByAgentTokenID ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolByAgentTokenID(ctx context.Context, agentTokenID pgtype.Text) (FindAgentPoolByAgentTokenIDRow, error)
FindAgentPoolByAgentTokenID implements Querier.FindAgentPoolByAgentTokenID.
func (*DBQuerier) FindAgentPoolByAgentTokenIDBatch ¶ added in v0.2.0
FindAgentPoolByAgentTokenIDBatch implements Querier.FindAgentPoolByAgentTokenIDBatch.
func (*DBQuerier) FindAgentPoolByAgentTokenIDScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolByAgentTokenIDScan(results pgx.BatchResults) (FindAgentPoolByAgentTokenIDRow, error)
FindAgentPoolByAgentTokenIDScan implements Querier.FindAgentPoolByAgentTokenIDScan.
func (*DBQuerier) FindAgentPoolScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolScan(results pgx.BatchResults) (FindAgentPoolRow, error)
FindAgentPoolScan implements Querier.FindAgentPoolScan.
func (*DBQuerier) FindAgentPools ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPools(ctx context.Context) ([]FindAgentPoolsRow, error)
FindAgentPools implements Querier.FindAgentPools.
func (*DBQuerier) FindAgentPoolsBatch ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolsBatch(batch genericBatch)
FindAgentPoolsBatch implements Querier.FindAgentPoolsBatch.
func (*DBQuerier) FindAgentPoolsByOrganization ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolsByOrganization(ctx context.Context, params FindAgentPoolsByOrganizationParams) ([]FindAgentPoolsByOrganizationRow, error)
FindAgentPoolsByOrganization implements Querier.FindAgentPoolsByOrganization.
func (*DBQuerier) FindAgentPoolsByOrganizationBatch ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolsByOrganizationBatch(batch genericBatch, params FindAgentPoolsByOrganizationParams)
FindAgentPoolsByOrganizationBatch implements Querier.FindAgentPoolsByOrganizationBatch.
func (*DBQuerier) FindAgentPoolsByOrganizationScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolsByOrganizationScan(results pgx.BatchResults) ([]FindAgentPoolsByOrganizationRow, error)
FindAgentPoolsByOrganizationScan implements Querier.FindAgentPoolsByOrganizationScan.
func (*DBQuerier) FindAgentPoolsScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentPoolsScan(results pgx.BatchResults) ([]FindAgentPoolsRow, error)
FindAgentPoolsScan implements Querier.FindAgentPoolsScan.
func (*DBQuerier) FindAgentTokenByID ¶
func (q *DBQuerier) FindAgentTokenByID(ctx context.Context, agentTokenID pgtype.Text) (FindAgentTokenByIDRow, error)
FindAgentTokenByID implements Querier.FindAgentTokenByID.
func (*DBQuerier) FindAgentTokenByIDBatch ¶
FindAgentTokenByIDBatch implements Querier.FindAgentTokenByIDBatch.
func (*DBQuerier) FindAgentTokenByIDScan ¶
func (q *DBQuerier) FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error)
FindAgentTokenByIDScan implements Querier.FindAgentTokenByIDScan.
func (*DBQuerier) FindAgentTokensByAgentPoolID ¶ added in v0.2.0
func (q *DBQuerier) FindAgentTokensByAgentPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentTokensByAgentPoolIDRow, error)
FindAgentTokensByAgentPoolID implements Querier.FindAgentTokensByAgentPoolID.
func (*DBQuerier) FindAgentTokensByAgentPoolIDBatch ¶ added in v0.2.0
FindAgentTokensByAgentPoolIDBatch implements Querier.FindAgentTokensByAgentPoolIDBatch.
func (*DBQuerier) FindAgentTokensByAgentPoolIDScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentTokensByAgentPoolIDScan(results pgx.BatchResults) ([]FindAgentTokensByAgentPoolIDRow, error)
FindAgentTokensByAgentPoolIDScan implements Querier.FindAgentTokensByAgentPoolIDScan.
func (*DBQuerier) FindAgents ¶ added in v0.2.0
func (q *DBQuerier) FindAgents(ctx context.Context) ([]FindAgentsRow, error)
FindAgents implements Querier.FindAgents.
func (*DBQuerier) FindAgentsBatch ¶ added in v0.2.0
func (q *DBQuerier) FindAgentsBatch(batch genericBatch)
FindAgentsBatch implements Querier.FindAgentsBatch.
func (*DBQuerier) FindAgentsByOrganization ¶ added in v0.2.0
func (q *DBQuerier) FindAgentsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindAgentsByOrganizationRow, error)
FindAgentsByOrganization implements Querier.FindAgentsByOrganization.
func (*DBQuerier) FindAgentsByOrganizationBatch ¶ added in v0.2.0
FindAgentsByOrganizationBatch implements Querier.FindAgentsByOrganizationBatch.
func (*DBQuerier) FindAgentsByOrganizationScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentsByOrganizationScan(results pgx.BatchResults) ([]FindAgentsByOrganizationRow, error)
FindAgentsByOrganizationScan implements Querier.FindAgentsByOrganizationScan.
func (*DBQuerier) FindAgentsByPoolID ¶ added in v0.2.0
func (q *DBQuerier) FindAgentsByPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentsByPoolIDRow, error)
FindAgentsByPoolID implements Querier.FindAgentsByPoolID.
func (*DBQuerier) FindAgentsByPoolIDBatch ¶ added in v0.2.0
FindAgentsByPoolIDBatch implements Querier.FindAgentsByPoolIDBatch.
func (*DBQuerier) FindAgentsByPoolIDScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentsByPoolIDScan(results pgx.BatchResults) ([]FindAgentsByPoolIDRow, error)
FindAgentsByPoolIDScan implements Querier.FindAgentsByPoolIDScan.
func (*DBQuerier) FindAgentsScan ¶ added in v0.2.0
func (q *DBQuerier) FindAgentsScan(results pgx.BatchResults) ([]FindAgentsRow, error)
FindAgentsScan implements Querier.FindAgentsScan.
func (*DBQuerier) FindAllNotificationConfigurations ¶
func (q *DBQuerier) FindAllNotificationConfigurations(ctx context.Context) ([]FindAllNotificationConfigurationsRow, error)
FindAllNotificationConfigurations implements Querier.FindAllNotificationConfigurations.
func (*DBQuerier) FindAllNotificationConfigurationsBatch ¶
func (q *DBQuerier) FindAllNotificationConfigurationsBatch(batch genericBatch)
FindAllNotificationConfigurationsBatch implements Querier.FindAllNotificationConfigurationsBatch.
func (*DBQuerier) FindAllNotificationConfigurationsScan ¶
func (q *DBQuerier) FindAllNotificationConfigurationsScan(results pgx.BatchResults) ([]FindAllNotificationConfigurationsRow, error)
FindAllNotificationConfigurationsScan implements Querier.FindAllNotificationConfigurationsScan.
func (*DBQuerier) FindAllocatedJobs ¶ added in v0.2.0
func (q *DBQuerier) FindAllocatedJobs(ctx context.Context, agentID pgtype.Text) ([]FindAllocatedJobsRow, error)
FindAllocatedJobs implements Querier.FindAllocatedJobs.
func (*DBQuerier) FindAllocatedJobsBatch ¶ added in v0.2.0
FindAllocatedJobsBatch implements Querier.FindAllocatedJobsBatch.
func (*DBQuerier) FindAllocatedJobsScan ¶ added in v0.2.0
func (q *DBQuerier) FindAllocatedJobsScan(results pgx.BatchResults) ([]FindAllocatedJobsRow, error)
FindAllocatedJobsScan implements Querier.FindAllocatedJobsScan.
func (*DBQuerier) FindAndUpdateSignaledJobs ¶ added in v0.2.0
func (q *DBQuerier) FindAndUpdateSignaledJobs(ctx context.Context, agentID pgtype.Text) ([]FindAndUpdateSignaledJobsRow, error)
FindAndUpdateSignaledJobs implements Querier.FindAndUpdateSignaledJobs.
func (*DBQuerier) FindAndUpdateSignaledJobsBatch ¶ added in v0.2.0
FindAndUpdateSignaledJobsBatch implements Querier.FindAndUpdateSignaledJobsBatch.
func (*DBQuerier) FindAndUpdateSignaledJobsScan ¶ added in v0.2.0
func (q *DBQuerier) FindAndUpdateSignaledJobsScan(results pgx.BatchResults) ([]FindAndUpdateSignaledJobsRow, error)
FindAndUpdateSignaledJobsScan implements Querier.FindAndUpdateSignaledJobsScan.
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 ¶
func (q *DBQuerier) FindCurrentStateVersionByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindCurrentStateVersionByWorkspaceIDRow, error)
FindCurrentStateVersionByWorkspaceID implements Querier.FindCurrentStateVersionByWorkspaceID.
func (*DBQuerier) FindCurrentStateVersionByWorkspaceIDBatch ¶
func (q *DBQuerier) FindCurrentStateVersionByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindCurrentStateVersionByWorkspaceIDBatch implements Querier.FindCurrentStateVersionByWorkspaceIDBatch.
func (*DBQuerier) FindCurrentStateVersionByWorkspaceIDScan ¶
func (q *DBQuerier) FindCurrentStateVersionByWorkspaceIDScan(results pgx.BatchResults) (FindCurrentStateVersionByWorkspaceIDRow, error)
FindCurrentStateVersionByWorkspaceIDScan implements Querier.FindCurrentStateVersionByWorkspaceIDScan.
func (*DBQuerier) FindGithubApp ¶ added in v0.1.14
func (q *DBQuerier) FindGithubApp(ctx context.Context) (FindGithubAppRow, error)
FindGithubApp implements Querier.FindGithubApp.
func (*DBQuerier) FindGithubAppBatch ¶ added in v0.1.14
func (q *DBQuerier) FindGithubAppBatch(batch genericBatch)
FindGithubAppBatch implements Querier.FindGithubAppBatch.
func (*DBQuerier) FindGithubAppScan ¶ added in v0.1.14
func (q *DBQuerier) FindGithubAppScan(results pgx.BatchResults) (FindGithubAppRow, error)
FindGithubAppScan implements Querier.FindGithubAppScan.
func (*DBQuerier) FindJob ¶ added in v0.2.0
func (q *DBQuerier) FindJob(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobRow, error)
FindJob implements Querier.FindJob.
func (*DBQuerier) FindJobBatch ¶ added in v0.2.0
FindJobBatch implements Querier.FindJobBatch.
func (*DBQuerier) FindJobForUpdate ¶ added in v0.2.0
func (q *DBQuerier) FindJobForUpdate(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobForUpdateRow, error)
FindJobForUpdate implements Querier.FindJobForUpdate.
func (*DBQuerier) FindJobForUpdateBatch ¶ added in v0.2.0
FindJobForUpdateBatch implements Querier.FindJobForUpdateBatch.
func (*DBQuerier) FindJobForUpdateScan ¶ added in v0.2.0
func (q *DBQuerier) FindJobForUpdateScan(results pgx.BatchResults) (FindJobForUpdateRow, error)
FindJobForUpdateScan implements Querier.FindJobForUpdateScan.
func (*DBQuerier) FindJobScan ¶ added in v0.2.0
func (q *DBQuerier) FindJobScan(results pgx.BatchResults) (FindJobRow, error)
FindJobScan implements Querier.FindJobScan.
func (*DBQuerier) FindJobs ¶ added in v0.2.0
func (q *DBQuerier) FindJobs(ctx context.Context) ([]FindJobsRow, error)
FindJobs implements Querier.FindJobs.
func (*DBQuerier) FindJobsBatch ¶ added in v0.2.0
func (q *DBQuerier) FindJobsBatch(batch genericBatch)
FindJobsBatch implements Querier.FindJobsBatch.
func (*DBQuerier) FindJobsScan ¶ added in v0.2.0
func (q *DBQuerier) FindJobsScan(results pgx.BatchResults) ([]FindJobsRow, error)
FindJobsScan implements Querier.FindJobsScan.
func (*DBQuerier) FindLatestTerraformVersion ¶ added in v0.1.14
func (q *DBQuerier) FindLatestTerraformVersion(ctx context.Context) ([]FindLatestTerraformVersionRow, error)
FindLatestTerraformVersion implements Querier.FindLatestTerraformVersion.
func (*DBQuerier) FindLatestTerraformVersionBatch ¶ added in v0.1.14
func (q *DBQuerier) FindLatestTerraformVersionBatch(batch genericBatch)
FindLatestTerraformVersionBatch implements Querier.FindLatestTerraformVersionBatch.
func (*DBQuerier) FindLatestTerraformVersionScan ¶ added in v0.1.14
func (q *DBQuerier) FindLatestTerraformVersionScan(results pgx.BatchResults) ([]FindLatestTerraformVersionRow, error)
FindLatestTerraformVersionScan implements Querier.FindLatestTerraformVersionScan.
func (*DBQuerier) FindLogChunkByID ¶
func (q *DBQuerier) FindLogChunkByID(ctx context.Context, chunkID pgtype.Int4) (FindLogChunkByIDRow, error)
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 ¶
func (q *DBQuerier) FindLogs(ctx context.Context, runID pgtype.Text, phase pgtype.Text) ([]byte, error)
FindLogs implements Querier.FindLogs.
func (*DBQuerier) FindLogsBatch ¶
FindLogsBatch implements Querier.FindLogsBatch.
func (*DBQuerier) FindLogsScan ¶
FindLogsScan implements Querier.FindLogsScan.
func (*DBQuerier) FindModuleByConnection ¶ added in v0.1.14
func (q *DBQuerier) FindModuleByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) (FindModuleByConnectionRow, error)
FindModuleByConnection implements Querier.FindModuleByConnection.
func (*DBQuerier) FindModuleByConnectionBatch ¶ added in v0.1.14
func (q *DBQuerier) FindModuleByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text)
FindModuleByConnectionBatch implements Querier.FindModuleByConnectionBatch.
func (*DBQuerier) FindModuleByConnectionScan ¶ added in v0.1.14
func (q *DBQuerier) FindModuleByConnectionScan(results pgx.BatchResults) (FindModuleByConnectionRow, error)
FindModuleByConnectionScan implements Querier.FindModuleByConnectionScan.
func (*DBQuerier) FindModuleByID ¶
FindModuleByID implements Querier.FindModuleByID.
func (*DBQuerier) FindModuleByIDBatch ¶
FindModuleByIDBatch implements Querier.FindModuleByIDBatch.
func (*DBQuerier) FindModuleByIDScan ¶
func (q *DBQuerier) FindModuleByIDScan(results pgx.BatchResults) (FindModuleByIDRow, error)
FindModuleByIDScan implements Querier.FindModuleByIDScan.
func (*DBQuerier) FindModuleByModuleVersionID ¶
func (q *DBQuerier) FindModuleByModuleVersionID(ctx context.Context, moduleVersionID pgtype.Text) (FindModuleByModuleVersionIDRow, error)
FindModuleByModuleVersionID implements Querier.FindModuleByModuleVersionID.
func (*DBQuerier) FindModuleByModuleVersionIDBatch ¶
func (q *DBQuerier) FindModuleByModuleVersionIDBatch(batch genericBatch, moduleVersionID pgtype.Text)
FindModuleByModuleVersionIDBatch implements Querier.FindModuleByModuleVersionIDBatch.
func (*DBQuerier) FindModuleByModuleVersionIDScan ¶
func (q *DBQuerier) FindModuleByModuleVersionIDScan(results pgx.BatchResults) (FindModuleByModuleVersionIDRow, error)
FindModuleByModuleVersionIDScan implements Querier.FindModuleByModuleVersionIDScan.
func (*DBQuerier) FindModuleByName ¶
func (q *DBQuerier) FindModuleByName(ctx context.Context, params FindModuleByNameParams) (FindModuleByNameRow, error)
FindModuleByName implements Querier.FindModuleByName.
func (*DBQuerier) FindModuleByNameBatch ¶
func (q *DBQuerier) FindModuleByNameBatch(batch genericBatch, params FindModuleByNameParams)
FindModuleByNameBatch implements Querier.FindModuleByNameBatch.
func (*DBQuerier) FindModuleByNameScan ¶
func (q *DBQuerier) FindModuleByNameScan(results pgx.BatchResults) (FindModuleByNameRow, error)
FindModuleByNameScan implements Querier.FindModuleByNameScan.
func (*DBQuerier) FindModuleTarball ¶
func (q *DBQuerier) FindModuleTarball(ctx context.Context, moduleVersionID pgtype.Text) ([]byte, error)
FindModuleTarball implements Querier.FindModuleTarball.
func (*DBQuerier) FindModuleTarballBatch ¶
FindModuleTarballBatch implements Querier.FindModuleTarballBatch.
func (*DBQuerier) FindModuleTarballScan ¶
FindModuleTarballScan implements Querier.FindModuleTarballScan.
func (*DBQuerier) FindNotificationConfiguration ¶
func (q *DBQuerier) FindNotificationConfiguration(ctx context.Context, notificationConfigurationID pgtype.Text) (FindNotificationConfigurationRow, error)
FindNotificationConfiguration implements Querier.FindNotificationConfiguration.
func (*DBQuerier) FindNotificationConfigurationBatch ¶
func (q *DBQuerier) FindNotificationConfigurationBatch(batch genericBatch, notificationConfigurationID pgtype.Text)
FindNotificationConfigurationBatch implements Querier.FindNotificationConfigurationBatch.
func (*DBQuerier) FindNotificationConfigurationForUpdate ¶
func (q *DBQuerier) FindNotificationConfigurationForUpdate(ctx context.Context, notificationConfigurationID pgtype.Text) (FindNotificationConfigurationForUpdateRow, error)
FindNotificationConfigurationForUpdate implements Querier.FindNotificationConfigurationForUpdate.
func (*DBQuerier) FindNotificationConfigurationForUpdateBatch ¶
func (q *DBQuerier) FindNotificationConfigurationForUpdateBatch(batch genericBatch, notificationConfigurationID pgtype.Text)
FindNotificationConfigurationForUpdateBatch implements Querier.FindNotificationConfigurationForUpdateBatch.
func (*DBQuerier) FindNotificationConfigurationForUpdateScan ¶
func (q *DBQuerier) FindNotificationConfigurationForUpdateScan(results pgx.BatchResults) (FindNotificationConfigurationForUpdateRow, error)
FindNotificationConfigurationForUpdateScan implements Querier.FindNotificationConfigurationForUpdateScan.
func (*DBQuerier) FindNotificationConfigurationScan ¶
func (q *DBQuerier) FindNotificationConfigurationScan(results pgx.BatchResults) (FindNotificationConfigurationRow, error)
FindNotificationConfigurationScan implements Querier.FindNotificationConfigurationScan.
func (*DBQuerier) FindNotificationConfigurationsByWorkspaceID ¶
func (q *DBQuerier) FindNotificationConfigurationsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindNotificationConfigurationsByWorkspaceIDRow, error)
FindNotificationConfigurationsByWorkspaceID implements Querier.FindNotificationConfigurationsByWorkspaceID.
func (*DBQuerier) FindNotificationConfigurationsByWorkspaceIDBatch ¶
func (q *DBQuerier) FindNotificationConfigurationsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindNotificationConfigurationsByWorkspaceIDBatch implements Querier.FindNotificationConfigurationsByWorkspaceIDBatch.
func (*DBQuerier) FindNotificationConfigurationsByWorkspaceIDScan ¶
func (q *DBQuerier) FindNotificationConfigurationsByWorkspaceIDScan(results pgx.BatchResults) ([]FindNotificationConfigurationsByWorkspaceIDRow, error)
FindNotificationConfigurationsByWorkspaceIDScan implements Querier.FindNotificationConfigurationsByWorkspaceIDScan.
func (*DBQuerier) FindOrganizationByID ¶
func (q *DBQuerier) FindOrganizationByID(ctx context.Context, organizationID pgtype.Text) (FindOrganizationByIDRow, error)
FindOrganizationByID implements Querier.FindOrganizationByID.
func (*DBQuerier) FindOrganizationByIDBatch ¶
FindOrganizationByIDBatch implements Querier.FindOrganizationByIDBatch.
func (*DBQuerier) FindOrganizationByIDScan ¶
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) FindOrganizationTokens ¶ added in v0.2.1
func (q *DBQuerier) FindOrganizationTokens(ctx context.Context, organizationName pgtype.Text) ([]FindOrganizationTokensRow, error)
FindOrganizationTokens implements Querier.FindOrganizationTokens.
func (*DBQuerier) FindOrganizationTokensBatch ¶ added in v0.2.1
FindOrganizationTokensBatch implements Querier.FindOrganizationTokensBatch.
func (*DBQuerier) FindOrganizationTokensByID ¶ added in v0.1.0
func (q *DBQuerier) FindOrganizationTokensByID(ctx context.Context, organizationTokenID pgtype.Text) (FindOrganizationTokensByIDRow, error)
FindOrganizationTokensByID implements Querier.FindOrganizationTokensByID.
func (*DBQuerier) FindOrganizationTokensByIDBatch ¶ added in v0.1.0
func (q *DBQuerier) FindOrganizationTokensByIDBatch(batch genericBatch, organizationTokenID pgtype.Text)
FindOrganizationTokensByIDBatch implements Querier.FindOrganizationTokensByIDBatch.
func (*DBQuerier) FindOrganizationTokensByIDScan ¶ added in v0.1.0
func (q *DBQuerier) FindOrganizationTokensByIDScan(results pgx.BatchResults) (FindOrganizationTokensByIDRow, error)
FindOrganizationTokensByIDScan implements Querier.FindOrganizationTokensByIDScan.
func (*DBQuerier) FindOrganizationTokensByName ¶ added in v0.1.0
func (q *DBQuerier) FindOrganizationTokensByName(ctx context.Context, organizationName pgtype.Text) (FindOrganizationTokensByNameRow, error)
FindOrganizationTokensByName implements Querier.FindOrganizationTokensByName.
func (*DBQuerier) FindOrganizationTokensByNameBatch ¶ added in v0.1.0
func (q *DBQuerier) FindOrganizationTokensByNameBatch(batch genericBatch, organizationName pgtype.Text)
FindOrganizationTokensByNameBatch implements Querier.FindOrganizationTokensByNameBatch.
func (*DBQuerier) FindOrganizationTokensByNameScan ¶ added in v0.1.0
func (q *DBQuerier) FindOrganizationTokensByNameScan(results pgx.BatchResults) (FindOrganizationTokensByNameRow, error)
FindOrganizationTokensByNameScan implements Querier.FindOrganizationTokensByNameScan.
func (*DBQuerier) FindOrganizationTokensScan ¶ added in v0.2.1
func (q *DBQuerier) FindOrganizationTokensScan(results pgx.BatchResults) ([]FindOrganizationTokensRow, error)
FindOrganizationTokensScan implements Querier.FindOrganizationTokensScan.
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) FindRepohookByID ¶ added in v0.1.14
func (q *DBQuerier) FindRepohookByID(ctx context.Context, repohookID pgtype.UUID) (FindRepohookByIDRow, error)
FindRepohookByID implements Querier.FindRepohookByID.
func (*DBQuerier) FindRepohookByIDBatch ¶ added in v0.1.14
FindRepohookByIDBatch implements Querier.FindRepohookByIDBatch.
func (*DBQuerier) FindRepohookByIDScan ¶ added in v0.1.14
func (q *DBQuerier) FindRepohookByIDScan(results pgx.BatchResults) (FindRepohookByIDRow, error)
FindRepohookByIDScan implements Querier.FindRepohookByIDScan.
func (*DBQuerier) FindRepohookByRepoAndProvider ¶ added in v0.1.14
func (q *DBQuerier) FindRepohookByRepoAndProvider(ctx context.Context, repoPath pgtype.Text, vcsProviderID pgtype.Text) ([]FindRepohookByRepoAndProviderRow, error)
FindRepohookByRepoAndProvider implements Querier.FindRepohookByRepoAndProvider.
func (*DBQuerier) FindRepohookByRepoAndProviderBatch ¶ added in v0.1.14
func (q *DBQuerier) FindRepohookByRepoAndProviderBatch(batch genericBatch, repoPath pgtype.Text, vcsProviderID pgtype.Text)
FindRepohookByRepoAndProviderBatch implements Querier.FindRepohookByRepoAndProviderBatch.
func (*DBQuerier) FindRepohookByRepoAndProviderScan ¶ added in v0.1.14
func (q *DBQuerier) FindRepohookByRepoAndProviderScan(results pgx.BatchResults) ([]FindRepohookByRepoAndProviderRow, error)
FindRepohookByRepoAndProviderScan implements Querier.FindRepohookByRepoAndProviderScan.
func (*DBQuerier) FindRepohooks ¶ added in v0.1.14
func (q *DBQuerier) FindRepohooks(ctx context.Context) ([]FindRepohooksRow, error)
FindRepohooks implements Querier.FindRepohooks.
func (*DBQuerier) FindRepohooksBatch ¶ added in v0.1.14
func (q *DBQuerier) FindRepohooksBatch(batch genericBatch)
FindRepohooksBatch implements Querier.FindRepohooksBatch.
func (*DBQuerier) FindRepohooksScan ¶ added in v0.1.14
func (q *DBQuerier) FindRepohooksScan(results pgx.BatchResults) ([]FindRepohooksRow, error)
FindRepohooksScan implements Querier.FindRepohooksScan.
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) FindServerAgents ¶ added in v0.2.0
func (q *DBQuerier) FindServerAgents(ctx context.Context) ([]FindServerAgentsRow, error)
FindServerAgents implements Querier.FindServerAgents.
func (*DBQuerier) FindServerAgentsBatch ¶ added in v0.2.0
func (q *DBQuerier) FindServerAgentsBatch(batch genericBatch)
FindServerAgentsBatch implements Querier.FindServerAgentsBatch.
func (*DBQuerier) FindServerAgentsScan ¶ added in v0.2.0
func (q *DBQuerier) FindServerAgentsScan(results pgx.BatchResults) ([]FindServerAgentsRow, error)
FindServerAgentsScan implements Querier.FindServerAgentsScan.
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) FindStateVersionByIDForUpdate ¶ added in v0.1.15
func (q *DBQuerier) FindStateVersionByIDForUpdate(ctx context.Context, id pgtype.Text) (FindStateVersionByIDForUpdateRow, error)
FindStateVersionByIDForUpdate implements Querier.FindStateVersionByIDForUpdate.
func (*DBQuerier) FindStateVersionByIDForUpdateBatch ¶ added in v0.1.15
FindStateVersionByIDForUpdateBatch implements Querier.FindStateVersionByIDForUpdateBatch.
func (*DBQuerier) FindStateVersionByIDForUpdateScan ¶ added in v0.1.15
func (q *DBQuerier) FindStateVersionByIDForUpdateScan(results pgx.BatchResults) (FindStateVersionByIDForUpdateRow, error)
FindStateVersionByIDForUpdateScan implements Querier.FindStateVersionByIDForUpdateScan.
func (*DBQuerier) FindStateVersionByIDScan ¶
func (q *DBQuerier) FindStateVersionByIDScan(results pgx.BatchResults) (FindStateVersionByIDRow, error)
FindStateVersionByIDScan implements Querier.FindStateVersionByIDScan.
func (*DBQuerier) FindStateVersionOutputByID ¶
func (q *DBQuerier) FindStateVersionOutputByID(ctx context.Context, id pgtype.Text) (FindStateVersionOutputByIDRow, error)
FindStateVersionOutputByID implements Querier.FindStateVersionOutputByID.
func (*DBQuerier) FindStateVersionOutputByIDBatch ¶
FindStateVersionOutputByIDBatch implements Querier.FindStateVersionOutputByIDBatch.
func (*DBQuerier) FindStateVersionOutputByIDScan ¶
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) FindStateVersionsByWorkspaceID ¶ added in v0.0.48
func (q *DBQuerier) FindStateVersionsByWorkspaceID(ctx context.Context, params FindStateVersionsByWorkspaceIDParams) ([]FindStateVersionsByWorkspaceIDRow, error)
FindStateVersionsByWorkspaceID implements Querier.FindStateVersionsByWorkspaceID.
func (*DBQuerier) FindStateVersionsByWorkspaceIDBatch ¶ added in v0.0.48
func (q *DBQuerier) FindStateVersionsByWorkspaceIDBatch(batch genericBatch, params FindStateVersionsByWorkspaceIDParams)
FindStateVersionsByWorkspaceIDBatch implements Querier.FindStateVersionsByWorkspaceIDBatch.
func (*DBQuerier) FindStateVersionsByWorkspaceIDScan ¶ added in v0.0.48
func (q *DBQuerier) FindStateVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceIDRow, error)
FindStateVersionsByWorkspaceIDScan implements Querier.FindStateVersionsByWorkspaceIDScan.
func (*DBQuerier) FindTagByID ¶
func (q *DBQuerier) FindTagByID(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (FindTagByIDRow, error)
FindTagByID implements Querier.FindTagByID.
func (*DBQuerier) FindTagByIDBatch ¶
func (q *DBQuerier) FindTagByIDBatch(batch genericBatch, tagID pgtype.Text, organizationName pgtype.Text)
FindTagByIDBatch implements Querier.FindTagByIDBatch.
func (*DBQuerier) FindTagByIDScan ¶
func (q *DBQuerier) FindTagByIDScan(results pgx.BatchResults) (FindTagByIDRow, error)
FindTagByIDScan implements Querier.FindTagByIDScan.
func (*DBQuerier) FindTagByName ¶
func (q *DBQuerier) FindTagByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTagByNameRow, error)
FindTagByName implements Querier.FindTagByName.
func (*DBQuerier) FindTagByNameBatch ¶
func (q *DBQuerier) FindTagByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text)
FindTagByNameBatch implements Querier.FindTagByNameBatch.
func (*DBQuerier) FindTagByNameScan ¶
func (q *DBQuerier) FindTagByNameScan(results pgx.BatchResults) (FindTagByNameRow, error)
FindTagByNameScan implements Querier.FindTagByNameScan.
func (*DBQuerier) FindTags ¶
func (q *DBQuerier) FindTags(ctx context.Context, params FindTagsParams) ([]FindTagsRow, error)
FindTags implements Querier.FindTags.
func (*DBQuerier) FindTagsBatch ¶
func (q *DBQuerier) FindTagsBatch(batch genericBatch, params FindTagsParams)
FindTagsBatch implements Querier.FindTagsBatch.
func (*DBQuerier) FindTagsScan ¶
func (q *DBQuerier) FindTagsScan(results pgx.BatchResults) ([]FindTagsRow, error)
FindTagsScan implements Querier.FindTagsScan.
func (*DBQuerier) FindTeamByID ¶
FindTeamByID implements Querier.FindTeamByID.
func (*DBQuerier) FindTeamByIDBatch ¶
FindTeamByIDBatch implements Querier.FindTeamByIDBatch.
func (*DBQuerier) FindTeamByIDForUpdate ¶
func (q *DBQuerier) FindTeamByIDForUpdate(ctx context.Context, teamID pgtype.Text) (FindTeamByIDForUpdateRow, error)
FindTeamByIDForUpdate implements Querier.FindTeamByIDForUpdate.
func (*DBQuerier) FindTeamByIDForUpdateBatch ¶
FindTeamByIDForUpdateBatch implements Querier.FindTeamByIDForUpdateBatch.
func (*DBQuerier) FindTeamByIDForUpdateScan ¶
func (q *DBQuerier) FindTeamByIDForUpdateScan(results pgx.BatchResults) (FindTeamByIDForUpdateRow, error)
FindTeamByIDForUpdateScan implements Querier.FindTeamByIDForUpdateScan.
func (*DBQuerier) FindTeamByIDScan ¶
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) FindTeamByTokenID ¶ added in v0.1.15
func (q *DBQuerier) FindTeamByTokenID(ctx context.Context, tokenID pgtype.Text) (FindTeamByTokenIDRow, error)
FindTeamByTokenID implements Querier.FindTeamByTokenID.
func (*DBQuerier) FindTeamByTokenIDBatch ¶ added in v0.1.15
FindTeamByTokenIDBatch implements Querier.FindTeamByTokenIDBatch.
func (*DBQuerier) FindTeamByTokenIDScan ¶ added in v0.1.15
func (q *DBQuerier) FindTeamByTokenIDScan(results pgx.BatchResults) (FindTeamByTokenIDRow, error)
FindTeamByTokenIDScan implements Querier.FindTeamByTokenIDScan.
func (*DBQuerier) FindTeamTokensByID ¶ added in v0.1.15
func (q *DBQuerier) FindTeamTokensByID(ctx context.Context, teamID pgtype.Text) ([]FindTeamTokensByIDRow, error)
FindTeamTokensByID implements Querier.FindTeamTokensByID.
func (*DBQuerier) FindTeamTokensByIDBatch ¶ added in v0.1.15
FindTeamTokensByIDBatch implements Querier.FindTeamTokensByIDBatch.
func (*DBQuerier) FindTeamTokensByIDScan ¶ added in v0.1.15
func (q *DBQuerier) FindTeamTokensByIDScan(results pgx.BatchResults) ([]FindTeamTokensByIDRow, error)
FindTeamTokensByIDScan implements Querier.FindTeamTokensByIDScan.
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 ¶
func (q *DBQuerier) FindTokenByID(ctx context.Context, tokenID pgtype.Text) (FindTokenByIDRow, error)
FindTokenByID implements Querier.FindTokenByID.
func (*DBQuerier) FindTokenByIDBatch ¶
FindTokenByIDBatch implements Querier.FindTokenByIDBatch.
func (*DBQuerier) FindTokenByIDScan ¶
func (q *DBQuerier) FindTokenByIDScan(results pgx.BatchResults) (FindTokenByIDRow, error)
FindTokenByIDScan implements Querier.FindTokenByIDScan.
func (*DBQuerier) FindTokensByUsername ¶
func (q *DBQuerier) FindTokensByUsername(ctx context.Context, username pgtype.Text) ([]FindTokensByUsernameRow, error)
FindTokensByUsername implements Querier.FindTokensByUsername.
func (*DBQuerier) FindTokensByUsernameBatch ¶
FindTokensByUsernameBatch implements Querier.FindTokensByUsernameBatch.
func (*DBQuerier) FindTokensByUsernameScan ¶
func (q *DBQuerier) FindTokensByUsernameScan(results pgx.BatchResults) ([]FindTokensByUsernameRow, error)
FindTokensByUsernameScan implements Querier.FindTokensByUsernameScan.
func (*DBQuerier) FindUnreferencedRepohooks ¶ added in v0.1.14
func (q *DBQuerier) FindUnreferencedRepohooks(ctx context.Context) ([]FindUnreferencedRepohooksRow, error)
FindUnreferencedRepohooks implements Querier.FindUnreferencedRepohooks.
func (*DBQuerier) FindUnreferencedRepohooksBatch ¶ added in v0.1.14
func (q *DBQuerier) FindUnreferencedRepohooksBatch(batch genericBatch)
FindUnreferencedRepohooksBatch implements Querier.FindUnreferencedRepohooksBatch.
func (*DBQuerier) FindUnreferencedRepohooksScan ¶ added in v0.1.14
func (q *DBQuerier) FindUnreferencedRepohooksScan(results pgx.BatchResults) ([]FindUnreferencedRepohooksRow, error)
FindUnreferencedRepohooksScan implements Querier.FindUnreferencedRepohooksScan.
func (*DBQuerier) FindUserByAuthenticationTokenID ¶
func (q *DBQuerier) FindUserByAuthenticationTokenID(ctx context.Context, tokenID pgtype.Text) (FindUserByAuthenticationTokenIDRow, error)
FindUserByAuthenticationTokenID implements Querier.FindUserByAuthenticationTokenID.
func (*DBQuerier) FindUserByAuthenticationTokenIDBatch ¶
FindUserByAuthenticationTokenIDBatch implements Querier.FindUserByAuthenticationTokenIDBatch.
func (*DBQuerier) FindUserByAuthenticationTokenIDScan ¶
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 ¶
func (q *DBQuerier) FindUsersByTeamID(ctx context.Context, teamID pgtype.Text) ([]FindUsersByTeamIDRow, error)
FindUsersByTeamID implements Querier.FindUsersByTeamID.
func (*DBQuerier) FindUsersByTeamIDBatch ¶
FindUsersByTeamIDBatch implements Querier.FindUsersByTeamIDBatch.
func (*DBQuerier) FindUsersByTeamIDScan ¶
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 ¶
func (q *DBQuerier) FindVCSProvider(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderRow, error)
FindVCSProvider implements Querier.FindVCSProvider.
func (*DBQuerier) FindVCSProviderBatch ¶
FindVCSProviderBatch implements Querier.FindVCSProviderBatch.
func (*DBQuerier) FindVCSProviderForUpdate ¶ added in v0.1.11
func (q *DBQuerier) FindVCSProviderForUpdate(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderForUpdateRow, error)
FindVCSProviderForUpdate implements Querier.FindVCSProviderForUpdate.
func (*DBQuerier) FindVCSProviderForUpdateBatch ¶ added in v0.1.11
FindVCSProviderForUpdateBatch implements Querier.FindVCSProviderForUpdateBatch.
func (*DBQuerier) FindVCSProviderForUpdateScan ¶ added in v0.1.11
func (q *DBQuerier) FindVCSProviderForUpdateScan(results pgx.BatchResults) (FindVCSProviderForUpdateRow, error)
FindVCSProviderForUpdateScan implements Querier.FindVCSProviderForUpdateScan.
func (*DBQuerier) FindVCSProviderScan ¶
func (q *DBQuerier) FindVCSProviderScan(results pgx.BatchResults) (FindVCSProviderRow, error)
FindVCSProviderScan implements Querier.FindVCSProviderScan.
func (*DBQuerier) FindVCSProviders ¶
func (q *DBQuerier) FindVCSProviders(ctx context.Context) ([]FindVCSProvidersRow, error)
FindVCSProviders implements Querier.FindVCSProviders.
func (*DBQuerier) FindVCSProvidersBatch ¶
func (q *DBQuerier) FindVCSProvidersBatch(batch genericBatch)
FindVCSProvidersBatch implements Querier.FindVCSProvidersBatch.
func (*DBQuerier) FindVCSProvidersByGithubAppInstallID ¶ added in v0.1.14
func (q *DBQuerier) FindVCSProvidersByGithubAppInstallID(ctx context.Context, installID pgtype.Int8) ([]FindVCSProvidersByGithubAppInstallIDRow, error)
FindVCSProvidersByGithubAppInstallID implements Querier.FindVCSProvidersByGithubAppInstallID.
func (*DBQuerier) FindVCSProvidersByGithubAppInstallIDBatch ¶ added in v0.1.14
func (q *DBQuerier) FindVCSProvidersByGithubAppInstallIDBatch(batch genericBatch, installID pgtype.Int8)
FindVCSProvidersByGithubAppInstallIDBatch implements Querier.FindVCSProvidersByGithubAppInstallIDBatch.
func (*DBQuerier) FindVCSProvidersByGithubAppInstallIDScan ¶ added in v0.1.14
func (q *DBQuerier) FindVCSProvidersByGithubAppInstallIDScan(results pgx.BatchResults) ([]FindVCSProvidersByGithubAppInstallIDRow, error)
FindVCSProvidersByGithubAppInstallIDScan implements Querier.FindVCSProvidersByGithubAppInstallIDScan.
func (*DBQuerier) FindVCSProvidersByOrganization ¶ added in v0.0.53
func (q *DBQuerier) FindVCSProvidersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersByOrganizationRow, error)
FindVCSProvidersByOrganization implements Querier.FindVCSProvidersByOrganization.
func (*DBQuerier) FindVCSProvidersByOrganizationBatch ¶ added in v0.0.53
func (q *DBQuerier) FindVCSProvidersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
FindVCSProvidersByOrganizationBatch implements Querier.FindVCSProvidersByOrganizationBatch.
func (*DBQuerier) FindVCSProvidersByOrganizationScan ¶ added in v0.0.53
func (q *DBQuerier) FindVCSProvidersByOrganizationScan(results pgx.BatchResults) ([]FindVCSProvidersByOrganizationRow, error)
FindVCSProvidersByOrganizationScan implements Querier.FindVCSProvidersByOrganizationScan.
func (*DBQuerier) FindVCSProvidersScan ¶
func (q *DBQuerier) FindVCSProvidersScan(results pgx.BatchResults) ([]FindVCSProvidersRow, error)
FindVCSProvidersScan implements Querier.FindVCSProvidersScan.
func (*DBQuerier) FindVariable ¶
func (q *DBQuerier) FindVariable(ctx context.Context, variableID pgtype.Text) (FindVariableRow, error)
FindVariable implements Querier.FindVariable.
func (*DBQuerier) FindVariableBatch ¶
FindVariableBatch implements Querier.FindVariableBatch.
func (*DBQuerier) FindVariableScan ¶
func (q *DBQuerier) FindVariableScan(results pgx.BatchResults) (FindVariableRow, error)
FindVariableScan implements Querier.FindVariableScan.
func (*DBQuerier) FindVariableSetBySetID ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetBySetID(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetBySetIDRow, error)
FindVariableSetBySetID implements Querier.FindVariableSetBySetID.
func (*DBQuerier) FindVariableSetBySetIDBatch ¶ added in v0.1.9
FindVariableSetBySetIDBatch implements Querier.FindVariableSetBySetIDBatch.
func (*DBQuerier) FindVariableSetBySetIDScan ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetBySetIDScan(results pgx.BatchResults) (FindVariableSetBySetIDRow, error)
FindVariableSetBySetIDScan implements Querier.FindVariableSetBySetIDScan.
func (*DBQuerier) FindVariableSetByVariableID ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetByVariableID(ctx context.Context, variableID pgtype.Text) (FindVariableSetByVariableIDRow, error)
FindVariableSetByVariableID implements Querier.FindVariableSetByVariableID.
func (*DBQuerier) FindVariableSetByVariableIDBatch ¶ added in v0.1.9
FindVariableSetByVariableIDBatch implements Querier.FindVariableSetByVariableIDBatch.
func (*DBQuerier) FindVariableSetByVariableIDScan ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetByVariableIDScan(results pgx.BatchResults) (FindVariableSetByVariableIDRow, error)
FindVariableSetByVariableIDScan implements Querier.FindVariableSetByVariableIDScan.
func (*DBQuerier) FindVariableSetForUpdate ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetForUpdate(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetForUpdateRow, error)
FindVariableSetForUpdate implements Querier.FindVariableSetForUpdate.
func (*DBQuerier) FindVariableSetForUpdateBatch ¶ added in v0.1.9
FindVariableSetForUpdateBatch implements Querier.FindVariableSetForUpdateBatch.
func (*DBQuerier) FindVariableSetForUpdateScan ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetForUpdateScan(results pgx.BatchResults) (FindVariableSetForUpdateRow, error)
FindVariableSetForUpdateScan implements Querier.FindVariableSetForUpdateScan.
func (*DBQuerier) FindVariableSetsByOrganization ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVariableSetsByOrganizationRow, error)
FindVariableSetsByOrganization implements Querier.FindVariableSetsByOrganization.
func (*DBQuerier) FindVariableSetsByOrganizationBatch ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
FindVariableSetsByOrganizationBatch implements Querier.FindVariableSetsByOrganizationBatch.
func (*DBQuerier) FindVariableSetsByOrganizationScan ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetsByOrganizationScan(results pgx.BatchResults) ([]FindVariableSetsByOrganizationRow, error)
FindVariableSetsByOrganizationScan implements Querier.FindVariableSetsByOrganizationScan.
func (*DBQuerier) FindVariableSetsByWorkspace ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetsByWorkspace(ctx context.Context, workspaceID pgtype.Text) ([]FindVariableSetsByWorkspaceRow, error)
FindVariableSetsByWorkspace implements Querier.FindVariableSetsByWorkspace.
func (*DBQuerier) FindVariableSetsByWorkspaceBatch ¶ added in v0.1.9
FindVariableSetsByWorkspaceBatch implements Querier.FindVariableSetsByWorkspaceBatch.
func (*DBQuerier) FindVariableSetsByWorkspaceScan ¶ added in v0.1.9
func (q *DBQuerier) FindVariableSetsByWorkspaceScan(results pgx.BatchResults) ([]FindVariableSetsByWorkspaceRow, error)
FindVariableSetsByWorkspaceScan implements Querier.FindVariableSetsByWorkspaceScan.
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) FindWorkspacePermissionsByWorkspaceID ¶
func (q *DBQuerier) FindWorkspacePermissionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspacePermissionsByWorkspaceIDRow, error)
FindWorkspacePermissionsByWorkspaceID implements Querier.FindWorkspacePermissionsByWorkspaceID.
func (*DBQuerier) FindWorkspacePermissionsByWorkspaceIDBatch ¶
func (q *DBQuerier) FindWorkspacePermissionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindWorkspacePermissionsByWorkspaceIDBatch implements Querier.FindWorkspacePermissionsByWorkspaceIDBatch.
func (*DBQuerier) FindWorkspacePermissionsByWorkspaceIDScan ¶
func (q *DBQuerier) FindWorkspacePermissionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspacePermissionsByWorkspaceIDRow, error)
FindWorkspacePermissionsByWorkspaceIDScan implements Querier.FindWorkspacePermissionsByWorkspaceIDScan.
func (*DBQuerier) FindWorkspaceTags ¶
func (q *DBQuerier) FindWorkspaceTags(ctx context.Context, params FindWorkspaceTagsParams) ([]FindWorkspaceTagsRow, error)
FindWorkspaceTags implements Querier.FindWorkspaceTags.
func (*DBQuerier) FindWorkspaceTagsBatch ¶
func (q *DBQuerier) FindWorkspaceTagsBatch(batch genericBatch, params FindWorkspaceTagsParams)
FindWorkspaceTagsBatch implements Querier.FindWorkspaceTagsBatch.
func (*DBQuerier) FindWorkspaceTagsScan ¶
func (q *DBQuerier) FindWorkspaceTagsScan(results pgx.BatchResults) ([]FindWorkspaceTagsRow, error)
FindWorkspaceTagsScan implements Querier.FindWorkspaceTagsScan.
func (*DBQuerier) FindWorkspaceVariableByVariableID ¶ added in v0.1.9
func (q *DBQuerier) FindWorkspaceVariableByVariableID(ctx context.Context, variableID pgtype.Text) (FindWorkspaceVariableByVariableIDRow, error)
FindWorkspaceVariableByVariableID implements Querier.FindWorkspaceVariableByVariableID.
func (*DBQuerier) FindWorkspaceVariableByVariableIDBatch ¶ added in v0.1.9
func (q *DBQuerier) FindWorkspaceVariableByVariableIDBatch(batch genericBatch, variableID pgtype.Text)
FindWorkspaceVariableByVariableIDBatch implements Querier.FindWorkspaceVariableByVariableIDBatch.
func (*DBQuerier) FindWorkspaceVariableByVariableIDScan ¶ added in v0.1.9
func (q *DBQuerier) FindWorkspaceVariableByVariableIDScan(results pgx.BatchResults) (FindWorkspaceVariableByVariableIDRow, error)
FindWorkspaceVariableByVariableIDScan implements Querier.FindWorkspaceVariableByVariableIDScan.
func (*DBQuerier) FindWorkspaceVariablesByWorkspaceID ¶ added in v0.1.9
func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspaceVariablesByWorkspaceIDRow, error)
FindWorkspaceVariablesByWorkspaceID implements Querier.FindWorkspaceVariablesByWorkspaceID.
func (*DBQuerier) FindWorkspaceVariablesByWorkspaceIDBatch ¶ added in v0.1.9
func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)
FindWorkspaceVariablesByWorkspaceIDBatch implements Querier.FindWorkspaceVariablesByWorkspaceIDBatch.
func (*DBQuerier) FindWorkspaceVariablesByWorkspaceIDScan ¶ added in v0.1.9
func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspaceVariablesByWorkspaceIDRow, error)
FindWorkspaceVariablesByWorkspaceIDScan implements Querier.FindWorkspaceVariablesByWorkspaceIDScan.
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) FindWorkspacesByConnection ¶ added in v0.1.14
func (q *DBQuerier) FindWorkspacesByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) ([]FindWorkspacesByConnectionRow, error)
FindWorkspacesByConnection implements Querier.FindWorkspacesByConnection.
func (*DBQuerier) FindWorkspacesByConnectionBatch ¶ added in v0.1.14
func (q *DBQuerier) FindWorkspacesByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text)
FindWorkspacesByConnectionBatch implements Querier.FindWorkspacesByConnectionBatch.
func (*DBQuerier) FindWorkspacesByConnectionScan ¶ added in v0.1.14
func (q *DBQuerier) FindWorkspacesByConnectionScan(results pgx.BatchResults) ([]FindWorkspacesByConnectionRow, error)
FindWorkspacesByConnectionScan implements Querier.FindWorkspacesByConnectionScan.
func (*DBQuerier) FindWorkspacesByUsername ¶
func (q *DBQuerier) FindWorkspacesByUsername(ctx context.Context, params FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error)
FindWorkspacesByUsername implements Querier.FindWorkspacesByUsername.
func (*DBQuerier) FindWorkspacesByUsernameBatch ¶
func (q *DBQuerier) FindWorkspacesByUsernameBatch(batch genericBatch, params FindWorkspacesByUsernameParams)
FindWorkspacesByUsernameBatch implements Querier.FindWorkspacesByUsernameBatch.
func (*DBQuerier) FindWorkspacesByUsernameScan ¶
func (q *DBQuerier) FindWorkspacesByUsernameScan(results pgx.BatchResults) ([]FindWorkspacesByUsernameRow, error)
FindWorkspacesByUsernameScan implements Querier.FindWorkspacesByUsernameScan.
func (*DBQuerier) FindWorkspacesScan ¶
func (q *DBQuerier) FindWorkspacesScan(results pgx.BatchResults) ([]FindWorkspacesRow, error)
FindWorkspacesScan implements Querier.FindWorkspacesScan.
func (*DBQuerier) GetLockFileByID ¶
GetLockFileByID implements Querier.GetLockFileByID.
func (*DBQuerier) GetLockFileByIDBatch ¶
GetLockFileByIDBatch implements Querier.GetLockFileByIDBatch.
func (*DBQuerier) GetLockFileByIDScan ¶
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) InsertAgent ¶ added in v0.2.0
func (q *DBQuerier) InsertAgent(ctx context.Context, params InsertAgentParams) (pgconn.CommandTag, error)
InsertAgent implements Querier.InsertAgent.
func (*DBQuerier) InsertAgentBatch ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentBatch(batch genericBatch, params InsertAgentParams)
InsertAgentBatch implements Querier.InsertAgentBatch.
func (*DBQuerier) InsertAgentPool ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentPool(ctx context.Context, params InsertAgentPoolParams) (pgconn.CommandTag, error)
InsertAgentPool implements Querier.InsertAgentPool.
func (*DBQuerier) InsertAgentPoolAllowedWorkspace ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
InsertAgentPoolAllowedWorkspace implements Querier.InsertAgentPoolAllowedWorkspace.
func (*DBQuerier) InsertAgentPoolAllowedWorkspaceBatch ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text)
InsertAgentPoolAllowedWorkspaceBatch implements Querier.InsertAgentPoolAllowedWorkspaceBatch.
func (*DBQuerier) InsertAgentPoolAllowedWorkspaceScan ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertAgentPoolAllowedWorkspaceScan implements Querier.InsertAgentPoolAllowedWorkspaceScan.
func (*DBQuerier) InsertAgentPoolBatch ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentPoolBatch(batch genericBatch, params InsertAgentPoolParams)
InsertAgentPoolBatch implements Querier.InsertAgentPoolBatch.
func (*DBQuerier) InsertAgentPoolScan ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentPoolScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertAgentPoolScan implements Querier.InsertAgentPoolScan.
func (*DBQuerier) InsertAgentScan ¶ added in v0.2.0
func (q *DBQuerier) InsertAgentScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertAgentScan implements Querier.InsertAgentScan.
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) InsertGithubApp ¶ added in v0.1.14
func (q *DBQuerier) InsertGithubApp(ctx context.Context, params InsertGithubAppParams) (pgconn.CommandTag, error)
InsertGithubApp implements Querier.InsertGithubApp.
func (*DBQuerier) InsertGithubAppBatch ¶ added in v0.1.14
func (q *DBQuerier) InsertGithubAppBatch(batch genericBatch, params InsertGithubAppParams)
InsertGithubAppBatch implements Querier.InsertGithubAppBatch.
func (*DBQuerier) InsertGithubAppInstall ¶ added in v0.1.14
func (q *DBQuerier) InsertGithubAppInstall(ctx context.Context, params InsertGithubAppInstallParams) (pgconn.CommandTag, error)
InsertGithubAppInstall implements Querier.InsertGithubAppInstall.
func (*DBQuerier) InsertGithubAppInstallBatch ¶ added in v0.1.14
func (q *DBQuerier) InsertGithubAppInstallBatch(batch genericBatch, params InsertGithubAppInstallParams)
InsertGithubAppInstallBatch implements Querier.InsertGithubAppInstallBatch.
func (*DBQuerier) InsertGithubAppInstallScan ¶ added in v0.1.14
func (q *DBQuerier) InsertGithubAppInstallScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertGithubAppInstallScan implements Querier.InsertGithubAppInstallScan.
func (*DBQuerier) InsertGithubAppScan ¶ added in v0.1.14
func (q *DBQuerier) InsertGithubAppScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertGithubAppScan implements Querier.InsertGithubAppScan.
func (*DBQuerier) InsertIngressAttributes ¶
func (q *DBQuerier) InsertIngressAttributes(ctx context.Context, params InsertIngressAttributesParams) (pgconn.CommandTag, error)
InsertIngressAttributes implements Querier.InsertIngressAttributes.
func (*DBQuerier) InsertIngressAttributesBatch ¶
func (q *DBQuerier) InsertIngressAttributesBatch(batch genericBatch, params InsertIngressAttributesParams)
InsertIngressAttributesBatch implements Querier.InsertIngressAttributesBatch.
func (*DBQuerier) InsertIngressAttributesScan ¶
func (q *DBQuerier) InsertIngressAttributesScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertIngressAttributesScan implements Querier.InsertIngressAttributesScan.
func (*DBQuerier) InsertJob ¶ added in v0.2.0
func (q *DBQuerier) InsertJob(ctx context.Context, params InsertJobParams) (pgconn.CommandTag, error)
InsertJob implements Querier.InsertJob.
func (*DBQuerier) InsertJobBatch ¶ added in v0.2.0
func (q *DBQuerier) InsertJobBatch(batch genericBatch, params InsertJobParams)
InsertJobBatch implements Querier.InsertJobBatch.
func (*DBQuerier) InsertJobScan ¶ added in v0.2.0
func (q *DBQuerier) InsertJobScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertJobScan implements Querier.InsertJobScan.
func (*DBQuerier) InsertLatestTerraformVersion ¶ added in v0.1.14
func (q *DBQuerier) InsertLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error)
InsertLatestTerraformVersion implements Querier.InsertLatestTerraformVersion.
func (*DBQuerier) InsertLatestTerraformVersionBatch ¶ added in v0.1.14
InsertLatestTerraformVersionBatch implements Querier.InsertLatestTerraformVersionBatch.
func (*DBQuerier) InsertLatestTerraformVersionScan ¶ added in v0.1.14
func (q *DBQuerier) InsertLatestTerraformVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertLatestTerraformVersionScan implements Querier.InsertLatestTerraformVersionScan.
func (*DBQuerier) InsertLogChunk ¶
func (q *DBQuerier) InsertLogChunk(ctx context.Context, params InsertLogChunkParams) (pgtype.Int4, error)
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 ¶
func (q *DBQuerier) InsertModule(ctx context.Context, params InsertModuleParams) (pgconn.CommandTag, error)
InsertModule implements Querier.InsertModule.
func (*DBQuerier) InsertModuleBatch ¶
func (q *DBQuerier) InsertModuleBatch(batch genericBatch, params InsertModuleParams)
InsertModuleBatch implements Querier.InsertModuleBatch.
func (*DBQuerier) InsertModuleScan ¶
func (q *DBQuerier) InsertModuleScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertModuleScan implements Querier.InsertModuleScan.
func (*DBQuerier) InsertModuleTarball ¶
func (q *DBQuerier) InsertModuleTarball(ctx context.Context, tarball []byte, moduleVersionID pgtype.Text) (pgtype.Text, error)
InsertModuleTarball implements Querier.InsertModuleTarball.
func (*DBQuerier) InsertModuleTarballBatch ¶
func (q *DBQuerier) InsertModuleTarballBatch(batch genericBatch, tarball []byte, moduleVersionID pgtype.Text)
InsertModuleTarballBatch implements Querier.InsertModuleTarballBatch.
func (*DBQuerier) InsertModuleTarballScan ¶
InsertModuleTarballScan implements Querier.InsertModuleTarballScan.
func (*DBQuerier) InsertModuleVersion ¶
func (q *DBQuerier) InsertModuleVersion(ctx context.Context, params InsertModuleVersionParams) (InsertModuleVersionRow, error)
InsertModuleVersion implements Querier.InsertModuleVersion.
func (*DBQuerier) InsertModuleVersionBatch ¶
func (q *DBQuerier) InsertModuleVersionBatch(batch genericBatch, params InsertModuleVersionParams)
InsertModuleVersionBatch implements Querier.InsertModuleVersionBatch.
func (*DBQuerier) InsertModuleVersionScan ¶
func (q *DBQuerier) InsertModuleVersionScan(results pgx.BatchResults) (InsertModuleVersionRow, error)
InsertModuleVersionScan implements Querier.InsertModuleVersionScan.
func (*DBQuerier) InsertNotificationConfiguration ¶
func (q *DBQuerier) InsertNotificationConfiguration(ctx context.Context, params InsertNotificationConfigurationParams) (pgconn.CommandTag, error)
InsertNotificationConfiguration implements Querier.InsertNotificationConfiguration.
func (*DBQuerier) InsertNotificationConfigurationBatch ¶
func (q *DBQuerier) InsertNotificationConfigurationBatch(batch genericBatch, params InsertNotificationConfigurationParams)
InsertNotificationConfigurationBatch implements Querier.InsertNotificationConfigurationBatch.
func (*DBQuerier) InsertNotificationConfigurationScan ¶
func (q *DBQuerier) InsertNotificationConfigurationScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertNotificationConfigurationScan implements Querier.InsertNotificationConfigurationScan.
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 ¶
func (q *DBQuerier) InsertRepoConnection(ctx context.Context, params InsertRepoConnectionParams) (pgconn.CommandTag, error)
InsertRepoConnection implements Querier.InsertRepoConnection.
func (*DBQuerier) InsertRepoConnectionBatch ¶
func (q *DBQuerier) InsertRepoConnectionBatch(batch genericBatch, params InsertRepoConnectionParams)
InsertRepoConnectionBatch implements Querier.InsertRepoConnectionBatch.
func (*DBQuerier) InsertRepoConnectionScan ¶
func (q *DBQuerier) InsertRepoConnectionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertRepoConnectionScan implements Querier.InsertRepoConnectionScan.
func (*DBQuerier) InsertRepohook ¶ added in v0.1.14
func (q *DBQuerier) InsertRepohook(ctx context.Context, params InsertRepohookParams) (InsertRepohookRow, error)
InsertRepohook implements Querier.InsertRepohook.
func (*DBQuerier) InsertRepohookBatch ¶ added in v0.1.14
func (q *DBQuerier) InsertRepohookBatch(batch genericBatch, params InsertRepohookParams)
InsertRepohookBatch implements Querier.InsertRepohookBatch.
func (*DBQuerier) InsertRepohookScan ¶ added in v0.1.14
func (q *DBQuerier) InsertRepohookScan(results pgx.BatchResults) (InsertRepohookRow, error)
InsertRepohookScan implements Querier.InsertRepohookScan.
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) InsertRunVariable ¶ added in v0.1.8
func (q *DBQuerier) InsertRunVariable(ctx context.Context, params InsertRunVariableParams) (pgconn.CommandTag, error)
InsertRunVariable implements Querier.InsertRunVariable.
func (*DBQuerier) InsertRunVariableBatch ¶ added in v0.1.8
func (q *DBQuerier) InsertRunVariableBatch(batch genericBatch, params InsertRunVariableParams)
InsertRunVariableBatch implements Querier.InsertRunVariableBatch.
func (*DBQuerier) InsertRunVariableScan ¶ added in v0.1.8
func (q *DBQuerier) InsertRunVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertRunVariableScan implements Querier.InsertRunVariableScan.
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) InsertTag ¶
func (q *DBQuerier) InsertTag(ctx context.Context, params InsertTagParams) (pgconn.CommandTag, error)
InsertTag implements Querier.InsertTag.
func (*DBQuerier) InsertTagBatch ¶
func (q *DBQuerier) InsertTagBatch(batch genericBatch, params InsertTagParams)
InsertTagBatch implements Querier.InsertTagBatch.
func (*DBQuerier) InsertTagScan ¶
func (q *DBQuerier) InsertTagScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertTagScan implements Querier.InsertTagScan.
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, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error)
InsertTeamMembership implements Querier.InsertTeamMembership.
func (*DBQuerier) InsertTeamMembershipBatch ¶
func (q *DBQuerier) InsertTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text)
InsertTeamMembershipBatch implements Querier.InsertTeamMembershipBatch.
func (*DBQuerier) InsertTeamMembershipScan ¶
InsertTeamMembershipScan implements Querier.InsertTeamMembershipScan.
func (*DBQuerier) InsertTeamScan ¶
func (q *DBQuerier) InsertTeamScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertTeamScan implements Querier.InsertTeamScan.
func (*DBQuerier) InsertTeamToken ¶ added in v0.1.15
func (q *DBQuerier) InsertTeamToken(ctx context.Context, params InsertTeamTokenParams) (pgconn.CommandTag, error)
InsertTeamToken implements Querier.InsertTeamToken.
func (*DBQuerier) InsertTeamTokenBatch ¶ added in v0.1.15
func (q *DBQuerier) InsertTeamTokenBatch(batch genericBatch, params InsertTeamTokenParams)
InsertTeamTokenBatch implements Querier.InsertTeamTokenBatch.
func (*DBQuerier) InsertTeamTokenScan ¶ added in v0.1.15
func (q *DBQuerier) InsertTeamTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertTeamTokenScan implements Querier.InsertTeamTokenScan.
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 ¶
func (q *DBQuerier) InsertVCSProvider(ctx context.Context, params InsertVCSProviderParams) (pgconn.CommandTag, error)
InsertVCSProvider implements Querier.InsertVCSProvider.
func (*DBQuerier) InsertVCSProviderBatch ¶
func (q *DBQuerier) InsertVCSProviderBatch(batch genericBatch, params InsertVCSProviderParams)
InsertVCSProviderBatch implements Querier.InsertVCSProviderBatch.
func (*DBQuerier) InsertVCSProviderScan ¶
func (q *DBQuerier) InsertVCSProviderScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVCSProviderScan implements Querier.InsertVCSProviderScan.
func (*DBQuerier) InsertVariable ¶
func (q *DBQuerier) InsertVariable(ctx context.Context, params InsertVariableParams) (pgconn.CommandTag, error)
InsertVariable implements Querier.InsertVariable.
func (*DBQuerier) InsertVariableBatch ¶
func (q *DBQuerier) InsertVariableBatch(batch genericBatch, params InsertVariableParams)
InsertVariableBatch implements Querier.InsertVariableBatch.
func (*DBQuerier) InsertVariableScan ¶
func (q *DBQuerier) InsertVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVariableScan implements Querier.InsertVariableScan.
func (*DBQuerier) InsertVariableSet ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSet(ctx context.Context, params InsertVariableSetParams) (pgconn.CommandTag, error)
InsertVariableSet implements Querier.InsertVariableSet.
func (*DBQuerier) InsertVariableSetBatch ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetBatch(batch genericBatch, params InsertVariableSetParams)
InsertVariableSetBatch implements Querier.InsertVariableSetBatch.
func (*DBQuerier) InsertVariableSetScan ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVariableSetScan implements Querier.InsertVariableSetScan.
func (*DBQuerier) InsertVariableSetVariable ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (pgconn.CommandTag, error)
InsertVariableSetVariable implements Querier.InsertVariableSetVariable.
func (*DBQuerier) InsertVariableSetVariableBatch ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text)
InsertVariableSetVariableBatch implements Querier.InsertVariableSetVariableBatch.
func (*DBQuerier) InsertVariableSetVariableScan ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVariableSetVariableScan implements Querier.InsertVariableSetVariableScan.
func (*DBQuerier) InsertVariableSetWorkspace ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
InsertVariableSetWorkspace implements Querier.InsertVariableSetWorkspace.
func (*DBQuerier) InsertVariableSetWorkspaceBatch ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text)
InsertVariableSetWorkspaceBatch implements Querier.InsertVariableSetWorkspaceBatch.
func (*DBQuerier) InsertVariableSetWorkspaceScan ¶ added in v0.1.9
func (q *DBQuerier) InsertVariableSetWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertVariableSetWorkspaceScan implements Querier.InsertVariableSetWorkspaceScan.
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) InsertWorkspaceScan ¶
func (q *DBQuerier) InsertWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertWorkspaceScan implements Querier.InsertWorkspaceScan.
func (*DBQuerier) InsertWorkspaceTag ¶
func (q *DBQuerier) InsertWorkspaceTag(ctx context.Context, tagID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
InsertWorkspaceTag implements Querier.InsertWorkspaceTag.
func (*DBQuerier) InsertWorkspaceTagBatch ¶
func (q *DBQuerier) InsertWorkspaceTagBatch(batch genericBatch, tagID pgtype.Text, workspaceID pgtype.Text)
InsertWorkspaceTagBatch implements Querier.InsertWorkspaceTagBatch.
func (*DBQuerier) InsertWorkspaceTagByName ¶
func (q *DBQuerier) InsertWorkspaceTagByName(ctx context.Context, workspaceID pgtype.Text, tagName pgtype.Text) (pgtype.Text, error)
InsertWorkspaceTagByName implements Querier.InsertWorkspaceTagByName.
func (*DBQuerier) InsertWorkspaceTagByNameBatch ¶
func (q *DBQuerier) InsertWorkspaceTagByNameBatch(batch genericBatch, workspaceID pgtype.Text, tagName pgtype.Text)
InsertWorkspaceTagByNameBatch implements Querier.InsertWorkspaceTagByNameBatch.
func (*DBQuerier) InsertWorkspaceTagByNameScan ¶
InsertWorkspaceTagByNameScan implements Querier.InsertWorkspaceTagByNameScan.
func (*DBQuerier) InsertWorkspaceTagScan ¶
InsertWorkspaceTagScan implements Querier.InsertWorkspaceTagScan.
func (*DBQuerier) InsertWorkspaceVariable ¶ added in v0.1.9
func (q *DBQuerier) InsertWorkspaceVariable(ctx context.Context, variableID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)
InsertWorkspaceVariable implements Querier.InsertWorkspaceVariable.
func (*DBQuerier) InsertWorkspaceVariableBatch ¶ added in v0.1.9
func (q *DBQuerier) InsertWorkspaceVariableBatch(batch genericBatch, variableID pgtype.Text, workspaceID pgtype.Text)
InsertWorkspaceVariableBatch implements Querier.InsertWorkspaceVariableBatch.
func (*DBQuerier) InsertWorkspaceVariableScan ¶ added in v0.1.9
func (q *DBQuerier) InsertWorkspaceVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)
InsertWorkspaceVariableScan implements Querier.InsertWorkspaceVariableScan.
func (*DBQuerier) ListModulesByOrganization ¶
func (q *DBQuerier) ListModulesByOrganization(ctx context.Context, organizationName pgtype.Text) ([]ListModulesByOrganizationRow, error)
ListModulesByOrganization implements Querier.ListModulesByOrganization.
func (*DBQuerier) ListModulesByOrganizationBatch ¶
func (q *DBQuerier) ListModulesByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
ListModulesByOrganizationBatch implements Querier.ListModulesByOrganizationBatch.
func (*DBQuerier) ListModulesByOrganizationScan ¶
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 ¶
ResetUserSiteAdmins implements Querier.ResetUserSiteAdmins.
func (*DBQuerier) ResetUserSiteAdminsBatch ¶
func (q *DBQuerier) ResetUserSiteAdminsBatch(batch genericBatch)
ResetUserSiteAdminsBatch implements Querier.ResetUserSiteAdminsBatch.
func (*DBQuerier) ResetUserSiteAdminsScan ¶
ResetUserSiteAdminsScan implements Querier.ResetUserSiteAdminsScan.
func (*DBQuerier) UpdateAgent ¶ added in v0.2.0
func (q *DBQuerier) UpdateAgent(ctx context.Context, params UpdateAgentParams) (UpdateAgentRow, error)
UpdateAgent implements Querier.UpdateAgent.
func (*DBQuerier) UpdateAgentBatch ¶ added in v0.2.0
func (q *DBQuerier) UpdateAgentBatch(batch genericBatch, params UpdateAgentParams)
UpdateAgentBatch implements Querier.UpdateAgentBatch.
func (*DBQuerier) UpdateAgentPool ¶ added in v0.2.0
func (q *DBQuerier) UpdateAgentPool(ctx context.Context, params UpdateAgentPoolParams) (UpdateAgentPoolRow, error)
UpdateAgentPool implements Querier.UpdateAgentPool.
func (*DBQuerier) UpdateAgentPoolBatch ¶ added in v0.2.0
func (q *DBQuerier) UpdateAgentPoolBatch(batch genericBatch, params UpdateAgentPoolParams)
UpdateAgentPoolBatch implements Querier.UpdateAgentPoolBatch.
func (*DBQuerier) UpdateAgentPoolScan ¶ added in v0.2.0
func (q *DBQuerier) UpdateAgentPoolScan(results pgx.BatchResults) (UpdateAgentPoolRow, error)
UpdateAgentPoolScan implements Querier.UpdateAgentPoolScan.
func (*DBQuerier) UpdateAgentScan ¶ added in v0.2.0
func (q *DBQuerier) UpdateAgentScan(results pgx.BatchResults) (UpdateAgentRow, error)
UpdateAgentScan implements Querier.UpdateAgentScan.
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) UpdateCancelSignaledAt ¶ added in v0.2.0
func (q *DBQuerier) UpdateCancelSignaledAt(ctx context.Context, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error)
UpdateCancelSignaledAt implements Querier.UpdateCancelSignaledAt.
func (*DBQuerier) UpdateCancelSignaledAtBatch ¶ added in v0.2.0
func (q *DBQuerier) UpdateCancelSignaledAtBatch(batch genericBatch, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text)
UpdateCancelSignaledAtBatch implements Querier.UpdateCancelSignaledAtBatch.
func (*DBQuerier) UpdateCancelSignaledAtScan ¶ added in v0.2.0
UpdateCancelSignaledAtScan implements Querier.UpdateCancelSignaledAtScan.
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) UpdateJob ¶ added in v0.2.0
func (q *DBQuerier) UpdateJob(ctx context.Context, params UpdateJobParams) (UpdateJobRow, error)
UpdateJob implements Querier.UpdateJob.
func (*DBQuerier) UpdateJobBatch ¶ added in v0.2.0
func (q *DBQuerier) UpdateJobBatch(batch genericBatch, params UpdateJobParams)
UpdateJobBatch implements Querier.UpdateJobBatch.
func (*DBQuerier) UpdateJobScan ¶ added in v0.2.0
func (q *DBQuerier) UpdateJobScan(results pgx.BatchResults) (UpdateJobRow, error)
UpdateJobScan implements Querier.UpdateJobScan.
func (*DBQuerier) UpdateLatestTerraformVersion ¶ added in v0.1.14
func (q *DBQuerier) UpdateLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error)
UpdateLatestTerraformVersion implements Querier.UpdateLatestTerraformVersion.
func (*DBQuerier) UpdateLatestTerraformVersionBatch ¶ added in v0.1.14
UpdateLatestTerraformVersionBatch implements Querier.UpdateLatestTerraformVersionBatch.
func (*DBQuerier) UpdateLatestTerraformVersionScan ¶ added in v0.1.14
func (q *DBQuerier) UpdateLatestTerraformVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)
UpdateLatestTerraformVersionScan implements Querier.UpdateLatestTerraformVersionScan.
func (*DBQuerier) UpdateModuleStatusByID ¶
func (q *DBQuerier) UpdateModuleStatusByID(ctx context.Context, status pgtype.Text, moduleID pgtype.Text) (pgtype.Text, error)
UpdateModuleStatusByID implements Querier.UpdateModuleStatusByID.
func (*DBQuerier) UpdateModuleStatusByIDBatch ¶
func (q *DBQuerier) UpdateModuleStatusByIDBatch(batch genericBatch, status pgtype.Text, moduleID pgtype.Text)
UpdateModuleStatusByIDBatch implements Querier.UpdateModuleStatusByIDBatch.
func (*DBQuerier) UpdateModuleStatusByIDScan ¶
UpdateModuleStatusByIDScan implements Querier.UpdateModuleStatusByIDScan.
func (*DBQuerier) UpdateModuleVersionStatusByID ¶
func (q *DBQuerier) UpdateModuleVersionStatusByID(ctx context.Context, params UpdateModuleVersionStatusByIDParams) (UpdateModuleVersionStatusByIDRow, error)
UpdateModuleVersionStatusByID implements Querier.UpdateModuleVersionStatusByID.
func (*DBQuerier) UpdateModuleVersionStatusByIDBatch ¶
func (q *DBQuerier) UpdateModuleVersionStatusByIDBatch(batch genericBatch, params UpdateModuleVersionStatusByIDParams)
UpdateModuleVersionStatusByIDBatch implements Querier.UpdateModuleVersionStatusByIDBatch.
func (*DBQuerier) UpdateModuleVersionStatusByIDScan ¶
func (q *DBQuerier) UpdateModuleVersionStatusByIDScan(results pgx.BatchResults) (UpdateModuleVersionStatusByIDRow, error)
UpdateModuleVersionStatusByIDScan implements Querier.UpdateModuleVersionStatusByIDScan.
func (*DBQuerier) UpdateNotificationConfigurationByID ¶
func (q *DBQuerier) UpdateNotificationConfigurationByID(ctx context.Context, params UpdateNotificationConfigurationByIDParams) (pgtype.Text, error)
UpdateNotificationConfigurationByID implements Querier.UpdateNotificationConfigurationByID.
func (*DBQuerier) UpdateNotificationConfigurationByIDBatch ¶
func (q *DBQuerier) UpdateNotificationConfigurationByIDBatch(batch genericBatch, params UpdateNotificationConfigurationByIDParams)
UpdateNotificationConfigurationByIDBatch implements Querier.UpdateNotificationConfigurationByIDBatch.
func (*DBQuerier) UpdateNotificationConfigurationByIDScan ¶
func (q *DBQuerier) UpdateNotificationConfigurationByIDScan(results pgx.BatchResults) (pgtype.Text, error)
UpdateNotificationConfigurationByIDScan implements Querier.UpdateNotificationConfigurationByIDScan.
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) UpdateRepohookVCSID ¶ added in v0.1.14
func (q *DBQuerier) UpdateRepohookVCSID(ctx context.Context, vcsID pgtype.Text, repohookID pgtype.UUID) (UpdateRepohookVCSIDRow, error)
UpdateRepohookVCSID implements Querier.UpdateRepohookVCSID.
func (*DBQuerier) UpdateRepohookVCSIDBatch ¶ added in v0.1.14
func (q *DBQuerier) UpdateRepohookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, repohookID pgtype.UUID)
UpdateRepohookVCSIDBatch implements Querier.UpdateRepohookVCSIDBatch.
func (*DBQuerier) UpdateRepohookVCSIDScan ¶ added in v0.1.14
func (q *DBQuerier) UpdateRepohookVCSIDScan(results pgx.BatchResults) (UpdateRepohookVCSIDRow, error)
UpdateRepohookVCSIDScan implements Querier.UpdateRepohookVCSIDScan.
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) UpdateState ¶ added in v0.1.15
func (q *DBQuerier) UpdateState(ctx context.Context, state []byte, stateVersionID pgtype.Text) (pgconn.CommandTag, error)
UpdateState implements Querier.UpdateState.
func (*DBQuerier) UpdateStateBatch ¶ added in v0.1.15
UpdateStateBatch implements Querier.UpdateStateBatch.
func (*DBQuerier) UpdateStateScan ¶ added in v0.1.15
func (q *DBQuerier) UpdateStateScan(results pgx.BatchResults) (pgconn.CommandTag, error)
UpdateStateScan implements Querier.UpdateStateScan.
func (*DBQuerier) UpdateTeamByID ¶
func (q *DBQuerier) UpdateTeamByID(ctx context.Context, params UpdateTeamByIDParams) (pgtype.Text, error)
UpdateTeamByID implements Querier.UpdateTeamByID.
func (*DBQuerier) UpdateTeamByIDBatch ¶
func (q *DBQuerier) UpdateTeamByIDBatch(batch genericBatch, params UpdateTeamByIDParams)
UpdateTeamByIDBatch implements Querier.UpdateTeamByIDBatch.
func (*DBQuerier) UpdateTeamByIDScan ¶
UpdateTeamByIDScan implements Querier.UpdateTeamByIDScan.
func (*DBQuerier) UpdateUserSiteAdmins ¶
func (q *DBQuerier) UpdateUserSiteAdmins(ctx context.Context, usernames []string) ([]pgtype.Text, error)
UpdateUserSiteAdmins implements Querier.UpdateUserSiteAdmins.
func (*DBQuerier) UpdateUserSiteAdminsBatch ¶
UpdateUserSiteAdminsBatch implements Querier.UpdateUserSiteAdminsBatch.
func (*DBQuerier) UpdateUserSiteAdminsScan ¶
UpdateUserSiteAdminsScan implements Querier.UpdateUserSiteAdminsScan.
func (*DBQuerier) UpdateVCSProvider ¶ added in v0.1.11
func (q *DBQuerier) UpdateVCSProvider(ctx context.Context, params UpdateVCSProviderParams) (UpdateVCSProviderRow, error)
UpdateVCSProvider implements Querier.UpdateVCSProvider.
func (*DBQuerier) UpdateVCSProviderBatch ¶ added in v0.1.11
func (q *DBQuerier) UpdateVCSProviderBatch(batch genericBatch, params UpdateVCSProviderParams)
UpdateVCSProviderBatch implements Querier.UpdateVCSProviderBatch.
func (*DBQuerier) UpdateVCSProviderScan ¶ added in v0.1.11
func (q *DBQuerier) UpdateVCSProviderScan(results pgx.BatchResults) (UpdateVCSProviderRow, error)
UpdateVCSProviderScan implements Querier.UpdateVCSProviderScan.
func (*DBQuerier) UpdateVariableByID ¶
func (q *DBQuerier) UpdateVariableByID(ctx context.Context, params UpdateVariableByIDParams) (pgtype.Text, error)
UpdateVariableByID implements Querier.UpdateVariableByID.
func (*DBQuerier) UpdateVariableByIDBatch ¶
func (q *DBQuerier) UpdateVariableByIDBatch(batch genericBatch, params UpdateVariableByIDParams)
UpdateVariableByIDBatch implements Querier.UpdateVariableByIDBatch.
func (*DBQuerier) UpdateVariableByIDScan ¶
UpdateVariableByIDScan implements Querier.UpdateVariableByIDScan.
func (*DBQuerier) UpdateVariableSetByID ¶ added in v0.1.9
func (q *DBQuerier) UpdateVariableSetByID(ctx context.Context, params UpdateVariableSetByIDParams) (pgtype.Text, error)
UpdateVariableSetByID implements Querier.UpdateVariableSetByID.
func (*DBQuerier) UpdateVariableSetByIDBatch ¶ added in v0.1.9
func (q *DBQuerier) UpdateVariableSetByIDBatch(batch genericBatch, params UpdateVariableSetByIDParams)
UpdateVariableSetByIDBatch implements Querier.UpdateVariableSetByIDBatch.
func (*DBQuerier) UpdateVariableSetByIDScan ¶ added in v0.1.9
UpdateVariableSetByIDScan implements Querier.UpdateVariableSetByIDScan.
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 ¶
func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionID(ctx context.Context, stateVersionID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)
UpdateWorkspaceCurrentStateVersionID implements Querier.UpdateWorkspaceCurrentStateVersionID.
func (*DBQuerier) UpdateWorkspaceCurrentStateVersionIDBatch ¶
func (q *DBQuerier) UpdateWorkspaceCurrentStateVersionIDBatch(batch genericBatch, stateVersionID pgtype.Text, workspaceID pgtype.Text)
UpdateWorkspaceCurrentStateVersionIDBatch implements Querier.UpdateWorkspaceCurrentStateVersionIDBatch.
func (*DBQuerier) UpdateWorkspaceCurrentStateVersionIDScan ¶
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) UpsertOrganizationToken ¶ added in v0.1.0
func (q *DBQuerier) UpsertOrganizationToken(ctx context.Context, params UpsertOrganizationTokenParams) (pgconn.CommandTag, error)
UpsertOrganizationToken implements Querier.UpsertOrganizationToken.
func (*DBQuerier) UpsertOrganizationTokenBatch ¶ added in v0.1.0
func (q *DBQuerier) UpsertOrganizationTokenBatch(batch genericBatch, params UpsertOrganizationTokenParams)
UpsertOrganizationTokenBatch implements Querier.UpsertOrganizationTokenBatch.
func (*DBQuerier) UpsertOrganizationTokenScan ¶ added in v0.1.0
func (q *DBQuerier) UpsertOrganizationTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)
UpsertOrganizationTokenScan implements Querier.UpsertOrganizationTokenScan.
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 DeleteAgentPoolRow ¶ added in v0.2.0
type DeleteAgentRow ¶ added in v0.2.0
type DeleteAgentRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` }
type DeleteGithubAppRow ¶ added in v0.1.14
type DeleteRepohookByIDRow ¶ added in v0.1.14
type DeleteVariableByIDRow ¶
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 pgtype.Bool `json:"sensitive"` HCL pgtype.Bool `json:"hcl"` VersionID pgtype.Text `json:"version_id"` }
type DeleteVariableSetByIDRow ¶ added in v0.1.9
type DeleteVariableSetVariableRow ¶ added in v0.1.9
type DeleteVariableSetWorkspaceRow ¶ added in v0.1.9
type DeleteWorkspaceVariableByIDRow ¶ added in v0.1.9
type FindAgentByIDForUpdateRow ¶ added in v0.2.0
type FindAgentByIDForUpdateRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` CurrentJobs pgtype.Int8 `json:"current_jobs"` }
type FindAgentByIDRow ¶ added in v0.2.0
type FindAgentByIDRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` CurrentJobs pgtype.Int8 `json:"current_jobs"` }
type FindAgentPoolByAgentTokenIDRow ¶ added in v0.2.0
type FindAgentPoolByAgentTokenIDRow struct { AgentPoolID pgtype.Text `json:"agent_pool_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` OrganizationScoped pgtype.Bool `json:"organization_scoped"` WorkspaceIds []string `json:"workspace_ids"` AllowedWorkspaceIds []string `json:"allowed_workspace_ids"` }
type FindAgentPoolRow ¶ added in v0.2.0
type FindAgentPoolRow struct { AgentPoolID pgtype.Text `json:"agent_pool_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` OrganizationScoped pgtype.Bool `json:"organization_scoped"` WorkspaceIds []string `json:"workspace_ids"` AllowedWorkspaceIds []string `json:"allowed_workspace_ids"` }
type FindAgentPoolsByOrganizationParams ¶ added in v0.2.0
type FindAgentPoolsByOrganizationRow ¶ added in v0.2.0
type FindAgentPoolsByOrganizationRow struct { AgentPoolID pgtype.Text `json:"agent_pool_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` OrganizationScoped pgtype.Bool `json:"organization_scoped"` WorkspaceIds []string `json:"workspace_ids"` AllowedWorkspaceIds []string `json:"allowed_workspace_ids"` }
type FindAgentPoolsRow ¶ added in v0.2.0
type FindAgentPoolsRow struct { AgentPoolID pgtype.Text `json:"agent_pool_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` OrganizationScoped pgtype.Bool `json:"organization_scoped"` WorkspaceIds []string `json:"workspace_ids"` AllowedWorkspaceIds []string `json:"allowed_workspace_ids"` }
type FindAgentTokenByIDRow ¶
type FindAgentTokensByAgentPoolIDRow ¶ added in v0.2.0
type FindAgentsByOrganizationRow ¶ added in v0.2.0
type FindAgentsByOrganizationRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` CurrentJobs pgtype.Int8 `json:"current_jobs"` }
type FindAgentsByPoolIDRow ¶ added in v0.2.0
type FindAgentsByPoolIDRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` CurrentJobs pgtype.Int8 `json:"current_jobs"` }
type FindAgentsRow ¶ added in v0.2.0
type FindAgentsRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` CurrentJobs pgtype.Int8 `json:"current_jobs"` }
type FindAllNotificationConfigurationsRow ¶
type FindAllNotificationConfigurationsRow struct { NotificationConfigurationID pgtype.Text `json:"notification_configuration_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` URL pgtype.Text `json:"url"` Triggers []string `json:"triggers"` DestinationType pgtype.Text `json:"destination_type"` WorkspaceID pgtype.Text `json:"workspace_id"` Enabled pgtype.Bool `json:"enabled"` }
type FindAllocatedJobsRow ¶ added in v0.2.0
type FindAllocatedJobsRow struct { RunID pgtype.Text `json:"run_id"` Phase pgtype.Text `json:"phase"` Status pgtype.Text `json:"status"` Signaled pgtype.Bool `json:"signaled"` AgentID pgtype.Text `json:"agent_id"` AgentPoolID pgtype.Text `json:"agent_pool_id"` WorkspaceID pgtype.Text `json:"workspace_id"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindAndUpdateSignaledJobsRow ¶ added in v0.2.0
type FindAndUpdateSignaledJobsRow struct { RunID pgtype.Text `json:"run_id"` Phase pgtype.Text `json:"phase"` Status pgtype.Text `json:"status"` Signaled pgtype.Bool `json:"signaled"` AgentID pgtype.Text `json:"agent_id"` AgentPoolID pgtype.Text `json:"agent_pool_id"` WorkspaceID pgtype.Text `json:"workspace_id"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindConfigurationVersionByIDForUpdateRow ¶
type FindConfigurationVersionByIDForUpdateRow struct { ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` AutoQueueRuns pgtype.Bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative pgtype.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 pgtype.Bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative pgtype.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 pgtype.Bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative pgtype.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 pgtype.Bool `json:"auto_queue_runs"` Source pgtype.Text `json:"source"` Speculative pgtype.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 ¶
type FindCurrentStateVersionByWorkspaceIDRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial pgtype.Int4 `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` Status pgtype.Text `json:"status"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindGithubAppRow ¶ added in v0.1.14
type FindJobForUpdateRow ¶ added in v0.2.0
type FindJobForUpdateRow struct { RunID pgtype.Text `json:"run_id"` Phase pgtype.Text `json:"phase"` Status pgtype.Text `json:"status"` Signaled pgtype.Bool `json:"signaled"` AgentID pgtype.Text `json:"agent_id"` AgentPoolID pgtype.Text `json:"agent_pool_id"` WorkspaceID pgtype.Text `json:"workspace_id"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindJobRow ¶ added in v0.2.0
type FindJobRow struct { RunID pgtype.Text `json:"run_id"` Phase pgtype.Text `json:"phase"` Status pgtype.Text `json:"status"` Signaled pgtype.Bool `json:"signaled"` AgentID pgtype.Text `json:"agent_id"` AgentPoolID pgtype.Text `json:"agent_pool_id"` WorkspaceID pgtype.Text `json:"workspace_id"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindJobsRow ¶ added in v0.2.0
type FindJobsRow struct { RunID pgtype.Text `json:"run_id"` Phase pgtype.Text `json:"phase"` Status pgtype.Text `json:"status"` Signaled pgtype.Bool `json:"signaled"` AgentID pgtype.Text `json:"agent_id"` AgentPoolID pgtype.Text `json:"agent_pool_id"` WorkspaceID pgtype.Text `json:"workspace_id"` OrganizationName pgtype.Text `json:"organization_name"` }
type FindLatestTerraformVersionRow ¶ added in v0.1.14
type FindLatestTerraformVersionRow struct { Version pgtype.Text `json:"version"` Checkpoint pgtype.Timestamptz `json:"checkpoint"` }
type FindLogChunkByIDRow ¶
type FindModuleByConnectionRow ¶ added in v0.1.14
type FindModuleByConnectionRow 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"` Versions []ModuleVersions `json:"versions"` }
type FindModuleByIDRow ¶
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"` Versions []ModuleVersions `json:"versions"` }
type FindModuleByModuleVersionIDRow ¶
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"` Versions []ModuleVersions `json:"versions"` }
type FindModuleByNameParams ¶
type FindModuleByNameRow ¶
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"` Versions []ModuleVersions `json:"versions"` }
type FindNotificationConfigurationForUpdateRow ¶
type FindNotificationConfigurationForUpdateRow struct { NotificationConfigurationID pgtype.Text `json:"notification_configuration_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` URL pgtype.Text `json:"url"` Triggers []string `json:"triggers"` DestinationType pgtype.Text `json:"destination_type"` WorkspaceID pgtype.Text `json:"workspace_id"` Enabled pgtype.Bool `json:"enabled"` }
type FindNotificationConfigurationRow ¶
type FindNotificationConfigurationRow struct { NotificationConfigurationID pgtype.Text `json:"notification_configuration_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` URL pgtype.Text `json:"url"` Triggers []string `json:"triggers"` DestinationType pgtype.Text `json:"destination_type"` WorkspaceID pgtype.Text `json:"workspace_id"` Enabled pgtype.Bool `json:"enabled"` }
type FindNotificationConfigurationsByWorkspaceIDRow ¶
type FindNotificationConfigurationsByWorkspaceIDRow struct { NotificationConfigurationID pgtype.Text `json:"notification_configuration_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` Name pgtype.Text `json:"name"` URL pgtype.Text `json:"url"` Triggers []string `json:"triggers"` DestinationType pgtype.Text `json:"destination_type"` WorkspaceID pgtype.Text `json:"workspace_id"` Enabled pgtype.Bool `json:"enabled"` }
type FindOrganizationByIDRow ¶
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 pgtype.Int4 `json:"session_remember"` SessionTimeout pgtype.Int4 `json:"session_timeout"` Email pgtype.Text `json:"email"` CollaboratorAuthPolicy pgtype.Text `json:"collaborator_auth_policy"` AllowForceDeleteWorkspaces pgtype.Bool `json:"allow_force_delete_workspaces"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` }
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 pgtype.Int4 `json:"session_remember"` SessionTimeout pgtype.Int4 `json:"session_timeout"` Email pgtype.Text `json:"email"` CollaboratorAuthPolicy pgtype.Text `json:"collaborator_auth_policy"` AllowForceDeleteWorkspaces pgtype.Bool `json:"allow_force_delete_workspaces"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` }
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 pgtype.Int4 `json:"session_remember"` SessionTimeout pgtype.Int4 `json:"session_timeout"` Email pgtype.Text `json:"email"` CollaboratorAuthPolicy pgtype.Text `json:"collaborator_auth_policy"` AllowForceDeleteWorkspaces pgtype.Bool `json:"allow_force_delete_workspaces"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` }
type FindOrganizationTokensByIDRow ¶ added in v0.1.0
type FindOrganizationTokensByIDRow struct { OrganizationTokenID pgtype.Text `json:"organization_token_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` Expiry pgtype.Timestamptz `json:"expiry"` }
type FindOrganizationTokensByNameRow ¶ added in v0.1.0
type FindOrganizationTokensByNameRow struct { OrganizationTokenID pgtype.Text `json:"organization_token_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` Expiry pgtype.Timestamptz `json:"expiry"` }
type FindOrganizationTokensRow ¶ added in v0.2.1
type FindOrganizationTokensRow struct { OrganizationTokenID pgtype.Text `json:"organization_token_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` OrganizationName pgtype.Text `json:"organization_name"` Expiry pgtype.Timestamptz `json:"expiry"` }
type FindOrganizationsParams ¶
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 pgtype.Int4 `json:"session_remember"` SessionTimeout pgtype.Int4 `json:"session_timeout"` Email pgtype.Text `json:"email"` CollaboratorAuthPolicy pgtype.Text `json:"collaborator_auth_policy"` AllowForceDeleteWorkspaces pgtype.Bool `json:"allow_force_delete_workspaces"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` }
type FindRepohookByIDRow ¶ added in v0.1.14
type FindRepohookByRepoAndProviderRow ¶ added in v0.1.14
type FindRepohooksRow ¶ added in v0.1.14
type FindRunByIDForUpdateRow ¶
type FindRunByIDForUpdateRow struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` CancelSignaledAt pgtype.Timestamptz `json:"cancel_signaled_at"` IsDestroy pgtype.Bool `json:"is_destroy"` PositionInQueue pgtype.Int4 `json:"position_in_queue"` Refresh pgtype.Bool `json:"refresh"` RefreshOnly pgtype.Bool `json:"refresh_only"` Source pgtype.Text `json:"source"` 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 pgtype.Bool `json:"auto_apply"` PlanResourceReport *Report `json:"plan_resource_report"` PlanOutputReport *Report `json:"plan_output_report"` ApplyResourceReport *Report `json:"apply_resource_report"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` WorkspaceID pgtype.Text `json:"workspace_id"` PlanOnly pgtype.Bool `json:"plan_only"` CreatedBy pgtype.Text `json:"created_by"` TerraformVersion pgtype.Text `json:"terraform_version"` AllowEmptyApply pgtype.Bool `json:"allow_empty_apply"` ExecutionMode pgtype.Text `json:"execution_mode"` Latest pgtype.Bool `json:"latest"` OrganizationName pgtype.Text `json:"organization_name"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` RunStatusTimestamps []RunStatusTimestamps `json:"run_status_timestamps"` PlanStatusTimestamps []PhaseStatusTimestamps `json:"plan_status_timestamps"` ApplyStatusTimestamps []PhaseStatusTimestamps `json:"apply_status_timestamps"` RunVariables []RunVariables `json:"run_variables"` }
type FindRunByIDRow ¶
type FindRunByIDRow struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` CancelSignaledAt pgtype.Timestamptz `json:"cancel_signaled_at"` IsDestroy pgtype.Bool `json:"is_destroy"` PositionInQueue pgtype.Int4 `json:"position_in_queue"` Refresh pgtype.Bool `json:"refresh"` RefreshOnly pgtype.Bool `json:"refresh_only"` Source pgtype.Text `json:"source"` 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 pgtype.Bool `json:"auto_apply"` PlanResourceReport *Report `json:"plan_resource_report"` PlanOutputReport *Report `json:"plan_output_report"` ApplyResourceReport *Report `json:"apply_resource_report"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` WorkspaceID pgtype.Text `json:"workspace_id"` PlanOnly pgtype.Bool `json:"plan_only"` CreatedBy pgtype.Text `json:"created_by"` TerraformVersion pgtype.Text `json:"terraform_version"` AllowEmptyApply pgtype.Bool `json:"allow_empty_apply"` ExecutionMode pgtype.Text `json:"execution_mode"` Latest pgtype.Bool `json:"latest"` OrganizationName pgtype.Text `json:"organization_name"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` RunStatusTimestamps []RunStatusTimestamps `json:"run_status_timestamps"` PlanStatusTimestamps []PhaseStatusTimestamps `json:"plan_status_timestamps"` ApplyStatusTimestamps []PhaseStatusTimestamps `json:"apply_status_timestamps"` RunVariables []RunVariables `json:"run_variables"` }
type FindRunsParams ¶
type FindRunsRow ¶
type FindRunsRow struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` CancelSignaledAt pgtype.Timestamptz `json:"cancel_signaled_at"` IsDestroy pgtype.Bool `json:"is_destroy"` PositionInQueue pgtype.Int4 `json:"position_in_queue"` Refresh pgtype.Bool `json:"refresh"` RefreshOnly pgtype.Bool `json:"refresh_only"` Source pgtype.Text `json:"source"` 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 pgtype.Bool `json:"auto_apply"` PlanResourceReport *Report `json:"plan_resource_report"` PlanOutputReport *Report `json:"plan_output_report"` ApplyResourceReport *Report `json:"apply_resource_report"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` WorkspaceID pgtype.Text `json:"workspace_id"` PlanOnly pgtype.Bool `json:"plan_only"` CreatedBy pgtype.Text `json:"created_by"` TerraformVersion pgtype.Text `json:"terraform_version"` AllowEmptyApply pgtype.Bool `json:"allow_empty_apply"` ExecutionMode pgtype.Text `json:"execution_mode"` Latest pgtype.Bool `json:"latest"` OrganizationName pgtype.Text `json:"organization_name"` CostEstimationEnabled pgtype.Bool `json:"cost_estimation_enabled"` IngressAttributes *IngressAttributes `json:"ingress_attributes"` RunStatusTimestamps []RunStatusTimestamps `json:"run_status_timestamps"` PlanStatusTimestamps []PhaseStatusTimestamps `json:"plan_status_timestamps"` ApplyStatusTimestamps []PhaseStatusTimestamps `json:"apply_status_timestamps"` RunVariables []RunVariables `json:"run_variables"` }
type FindServerAgentsRow ¶ added in v0.2.0
type FindServerAgentsRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` CurrentJobs pgtype.Int8 `json:"current_jobs"` }
type FindStateVersionByIDForUpdateRow ¶ added in v0.1.15
type FindStateVersionByIDForUpdateRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial pgtype.Int4 `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` Status pgtype.Text `json:"status"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindStateVersionByIDRow ¶
type FindStateVersionByIDRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial pgtype.Int4 `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` Status pgtype.Text `json:"status"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindStateVersionsByWorkspaceIDParams ¶ added in v0.0.48
type FindStateVersionsByWorkspaceIDRow ¶ added in v0.0.48
type FindStateVersionsByWorkspaceIDRow struct { StateVersionID pgtype.Text `json:"state_version_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` Serial pgtype.Int4 `json:"serial"` State []byte `json:"state"` WorkspaceID pgtype.Text `json:"workspace_id"` Status pgtype.Text `json:"status"` StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"` }
type FindTagByIDRow ¶
type FindTagByNameRow ¶
type FindTagsParams ¶
type FindTagsRow ¶
type FindTeamByIDForUpdateRow ¶
type FindTeamByIDForUpdateRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces pgtype.Bool `json:"permission_manage_workspaces"` PermissionManageVCS pgtype.Bool `json:"permission_manage_vcs"` PermissionManageModules pgtype.Bool `json:"permission_manage_modules"` OrganizationName pgtype.Text `json:"organization_name"` SSOTeamID pgtype.Text `json:"sso_team_id"` Visibility pgtype.Text `json:"visibility"` PermissionManagePolicies pgtype.Bool `json:"permission_manage_policies"` PermissionManagePolicyOverrides pgtype.Bool `json:"permission_manage_policy_overrides"` PermissionManageProviders pgtype.Bool `json:"permission_manage_providers"` }
type FindTeamByIDRow ¶
type FindTeamByIDRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces pgtype.Bool `json:"permission_manage_workspaces"` PermissionManageVCS pgtype.Bool `json:"permission_manage_vcs"` PermissionManageModules pgtype.Bool `json:"permission_manage_modules"` OrganizationName pgtype.Text `json:"organization_name"` SSOTeamID pgtype.Text `json:"sso_team_id"` Visibility pgtype.Text `json:"visibility"` PermissionManagePolicies pgtype.Bool `json:"permission_manage_policies"` PermissionManagePolicyOverrides pgtype.Bool `json:"permission_manage_policy_overrides"` PermissionManageProviders pgtype.Bool `json:"permission_manage_providers"` }
type FindTeamByNameRow ¶
type FindTeamByNameRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces pgtype.Bool `json:"permission_manage_workspaces"` PermissionManageVCS pgtype.Bool `json:"permission_manage_vcs"` PermissionManageModules pgtype.Bool `json:"permission_manage_modules"` OrganizationName pgtype.Text `json:"organization_name"` SSOTeamID pgtype.Text `json:"sso_team_id"` Visibility pgtype.Text `json:"visibility"` PermissionManagePolicies pgtype.Bool `json:"permission_manage_policies"` PermissionManagePolicyOverrides pgtype.Bool `json:"permission_manage_policy_overrides"` PermissionManageProviders pgtype.Bool `json:"permission_manage_providers"` }
type FindTeamByTokenIDRow ¶ added in v0.1.15
type FindTeamByTokenIDRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces pgtype.Bool `json:"permission_manage_workspaces"` PermissionManageVCS pgtype.Bool `json:"permission_manage_vcs"` PermissionManageModules pgtype.Bool `json:"permission_manage_modules"` OrganizationName pgtype.Text `json:"organization_name"` SSOTeamID pgtype.Text `json:"sso_team_id"` Visibility pgtype.Text `json:"visibility"` PermissionManagePolicies pgtype.Bool `json:"permission_manage_policies"` PermissionManagePolicyOverrides pgtype.Bool `json:"permission_manage_policy_overrides"` PermissionManageProviders pgtype.Bool `json:"permission_manage_providers"` }
type FindTeamTokensByIDRow ¶ added in v0.1.15
type FindTeamTokensByIDRow struct { TeamTokenID pgtype.Text `json:"team_token_id"` Description pgtype.Text `json:"description"` CreatedAt pgtype.Timestamptz `json:"created_at"` TeamID pgtype.Text `json:"team_id"` Expiry pgtype.Timestamptz `json:"expiry"` }
type FindTeamsByOrgRow ¶
type FindTeamsByOrgRow struct { TeamID pgtype.Text `json:"team_id"` Name pgtype.Text `json:"name"` CreatedAt pgtype.Timestamptz `json:"created_at"` PermissionManageWorkspaces pgtype.Bool `json:"permission_manage_workspaces"` PermissionManageVCS pgtype.Bool `json:"permission_manage_vcs"` PermissionManageModules pgtype.Bool `json:"permission_manage_modules"` OrganizationName pgtype.Text `json:"organization_name"` SSOTeamID pgtype.Text `json:"sso_team_id"` Visibility pgtype.Text `json:"visibility"` PermissionManagePolicies pgtype.Bool `json:"permission_manage_policies"` PermissionManagePolicyOverrides pgtype.Bool `json:"permission_manage_policy_overrides"` PermissionManageProviders pgtype.Bool `json:"permission_manage_providers"` }
type FindTokenByIDRow ¶
type FindTokensByUsernameRow ¶
type FindUnreferencedRepohooksRow ¶ added in v0.1.14
type FindUserByIDRow ¶
type FindUserByUsernameRow ¶
type FindUsersByTeamIDRow ¶
type FindUsersRow ¶
type FindVCSProviderForUpdateRow ¶ added in v0.1.11
type FindVCSProviderForUpdateRow struct { VCSProviderID pgtype.Text `json:"vcs_provider_id"` Token pgtype.Text `json:"token"` CreatedAt pgtype.Timestamptz `json:"created_at"` Name pgtype.Text `json:"name"` VCSKind pgtype.Text `json:"vcs_kind"` OrganizationName pgtype.Text `json:"organization_name"` GithubAppID pgtype.Int8 `json:"github_app_id"` GithubApp *GithubApps `json:"github_app"` GithubAppInstall *GithubAppInstalls `json:"github_app_install"` }
type FindVCSProviderRow ¶
type FindVCSProviderRow struct { VCSProviderID pgtype.Text `json:"vcs_provider_id"` Token pgtype.Text `json:"token"` CreatedAt pgtype.Timestamptz `json:"created_at"` Name pgtype.Text `json:"name"` VCSKind pgtype.Text `json:"vcs_kind"` OrganizationName pgtype.Text `json:"organization_name"` GithubAppID pgtype.Int8 `json:"github_app_id"` GithubApp *GithubApps `json:"github_app"` GithubAppInstall *GithubAppInstalls `json:"github_app_install"` }
type FindVCSProvidersByGithubAppInstallIDRow ¶ added in v0.1.14
type FindVCSProvidersByGithubAppInstallIDRow struct { VCSProviderID pgtype.Text `json:"vcs_provider_id"` Token pgtype.Text `json:"token"` CreatedAt pgtype.Timestamptz `json:"created_at"` Name pgtype.Text `json:"name"` VCSKind pgtype.Text `json:"vcs_kind"` OrganizationName pgtype.Text `json:"organization_name"` GithubAppID pgtype.Int8 `json:"github_app_id"` GithubApp *GithubApps `json:"github_app"` GithubAppInstall *GithubAppInstalls `json:"github_app_install"` }
type FindVCSProvidersByOrganizationRow ¶ added in v0.0.53
type FindVCSProvidersByOrganizationRow struct { VCSProviderID pgtype.Text `json:"vcs_provider_id"` Token pgtype.Text `json:"token"` CreatedAt pgtype.Timestamptz `json:"created_at"` Name pgtype.Text `json:"name"` VCSKind pgtype.Text `json:"vcs_kind"` OrganizationName pgtype.Text `json:"organization_name"` GithubAppID pgtype.Int8 `json:"github_app_id"` GithubApp *GithubApps `json:"github_app"` GithubAppInstall *GithubAppInstalls `json:"github_app_install"` }
type FindVCSProvidersRow ¶
type FindVCSProvidersRow struct { VCSProviderID pgtype.Text `json:"vcs_provider_id"` Token pgtype.Text `json:"token"` CreatedAt pgtype.Timestamptz `json:"created_at"` Name pgtype.Text `json:"name"` VCSKind pgtype.Text `json:"vcs_kind"` OrganizationName pgtype.Text `json:"organization_name"` GithubAppID pgtype.Int8 `json:"github_app_id"` GithubApp *GithubApps `json:"github_app"` GithubAppInstall *GithubAppInstalls `json:"github_app_install"` }
type FindVariableRow ¶
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 pgtype.Bool `json:"sensitive"` HCL pgtype.Bool `json:"hcl"` VersionID pgtype.Text `json:"version_id"` }
type FindVariableSetBySetIDRow ¶ added in v0.1.9
type FindVariableSetBySetIDRow struct { VariableSetID pgtype.Text `json:"variable_set_id"` Global pgtype.Bool `json:"global"` Name pgtype.Text `json:"name"` Description pgtype.Text `json:"description"` OrganizationName pgtype.Text `json:"organization_name"` Variables []Variables `json:"variables"` WorkspaceIds []string `json:"workspace_ids"` }
type FindVariableSetByVariableIDRow ¶ added in v0.1.9
type FindVariableSetByVariableIDRow struct { VariableSetID pgtype.Text `json:"variable_set_id"` Global pgtype.Bool `json:"global"` Name pgtype.Text `json:"name"` Description pgtype.Text `json:"description"` OrganizationName pgtype.Text `json:"organization_name"` Variables []Variables `json:"variables"` WorkspaceIds []string `json:"workspace_ids"` }
type FindVariableSetForUpdateRow ¶ added in v0.1.9
type FindVariableSetForUpdateRow struct { VariableSetID pgtype.Text `json:"variable_set_id"` Global pgtype.Bool `json:"global"` Name pgtype.Text `json:"name"` Description pgtype.Text `json:"description"` OrganizationName pgtype.Text `json:"organization_name"` Variables []Variables `json:"variables"` WorkspaceIds []string `json:"workspace_ids"` }
type FindVariableSetsByOrganizationRow ¶ added in v0.1.9
type FindVariableSetsByOrganizationRow struct { VariableSetID pgtype.Text `json:"variable_set_id"` Global pgtype.Bool `json:"global"` Name pgtype.Text `json:"name"` Description pgtype.Text `json:"description"` OrganizationName pgtype.Text `json:"organization_name"` Variables []Variables `json:"variables"` WorkspaceIds []string `json:"workspace_ids"` }
type FindVariableSetsByWorkspaceRow ¶ added in v0.1.9
type FindVariableSetsByWorkspaceRow struct { VariableSetID pgtype.Text `json:"variable_set_id"` Global pgtype.Bool `json:"global"` Name pgtype.Text `json:"name"` Description pgtype.Text `json:"description"` OrganizationName pgtype.Text `json:"organization_name"` Variables []Variables `json:"variables"` WorkspaceIds []string `json:"workspace_ids"` }
type FindWorkspaceByIDForUpdateRow ¶
type FindWorkspaceByIDForUpdateRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan pgtype.Bool `json:"allow_destroy_plan"` AutoApply pgtype.Bool `json:"auto_apply"` CanQueueDestroyPlan pgtype.Bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` GlobalRemoteState pgtype.Bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns pgtype.Bool `json:"queue_all_runs"` SpeculativeEnabled pgtype.Bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled pgtype.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"` TriggerPatterns []string `json:"trigger_patterns"` VCSTagsRegex pgtype.Text `json:"vcs_tags_regex"` AllowCLIApply pgtype.Bool `json:"allow_cli_apply"` AgentPoolID pgtype.Text `json:"agent_pool_id"` Tags []string `json:"tags"` LatestRunStatus pgtype.Text `json:"latest_run_status"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` }
type FindWorkspaceByIDRow ¶
type FindWorkspaceByIDRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan pgtype.Bool `json:"allow_destroy_plan"` AutoApply pgtype.Bool `json:"auto_apply"` CanQueueDestroyPlan pgtype.Bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` GlobalRemoteState pgtype.Bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns pgtype.Bool `json:"queue_all_runs"` SpeculativeEnabled pgtype.Bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled pgtype.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"` TriggerPatterns []string `json:"trigger_patterns"` VCSTagsRegex pgtype.Text `json:"vcs_tags_regex"` AllowCLIApply pgtype.Bool `json:"allow_cli_apply"` AgentPoolID pgtype.Text `json:"agent_pool_id"` Tags []string `json:"tags"` LatestRunStatus pgtype.Text `json:"latest_run_status"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` }
type FindWorkspaceByNameRow ¶
type FindWorkspaceByNameRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan pgtype.Bool `json:"allow_destroy_plan"` AutoApply pgtype.Bool `json:"auto_apply"` CanQueueDestroyPlan pgtype.Bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` GlobalRemoteState pgtype.Bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns pgtype.Bool `json:"queue_all_runs"` SpeculativeEnabled pgtype.Bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled pgtype.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"` TriggerPatterns []string `json:"trigger_patterns"` VCSTagsRegex pgtype.Text `json:"vcs_tags_regex"` AllowCLIApply pgtype.Bool `json:"allow_cli_apply"` AgentPoolID pgtype.Text `json:"agent_pool_id"` Tags []string `json:"tags"` LatestRunStatus pgtype.Text `json:"latest_run_status"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` }
type FindWorkspaceTagsParams ¶
type FindWorkspaceTagsRow ¶
type FindWorkspaceVariableByVariableIDRow ¶ added in v0.1.9
type FindWorkspaceVariablesByWorkspaceIDRow ¶ added in v0.1.9
type FindWorkspaceVariablesByWorkspaceIDRow 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 pgtype.Bool `json:"sensitive"` HCL pgtype.Bool `json:"hcl"` VersionID pgtype.Text `json:"version_id"` }
type FindWorkspacesByConnectionRow ¶ added in v0.1.14
type FindWorkspacesByConnectionRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan pgtype.Bool `json:"allow_destroy_plan"` AutoApply pgtype.Bool `json:"auto_apply"` CanQueueDestroyPlan pgtype.Bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` GlobalRemoteState pgtype.Bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns pgtype.Bool `json:"queue_all_runs"` SpeculativeEnabled pgtype.Bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled pgtype.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"` TriggerPatterns []string `json:"trigger_patterns"` VCSTagsRegex pgtype.Text `json:"vcs_tags_regex"` AllowCLIApply pgtype.Bool `json:"allow_cli_apply"` AgentPoolID pgtype.Text `json:"agent_pool_id"` Tags []string `json:"tags"` LatestRunStatus pgtype.Text `json:"latest_run_status"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` }
type FindWorkspacesByUsernameRow ¶
type FindWorkspacesByUsernameRow struct { WorkspaceID pgtype.Text `json:"workspace_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` AllowDestroyPlan pgtype.Bool `json:"allow_destroy_plan"` AutoApply pgtype.Bool `json:"auto_apply"` CanQueueDestroyPlan pgtype.Bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` GlobalRemoteState pgtype.Bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns pgtype.Bool `json:"queue_all_runs"` SpeculativeEnabled pgtype.Bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled pgtype.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"` TriggerPatterns []string `json:"trigger_patterns"` VCSTagsRegex pgtype.Text `json:"vcs_tags_regex"` AllowCLIApply pgtype.Bool `json:"allow_cli_apply"` AgentPoolID pgtype.Text `json:"agent_pool_id"` Tags []string `json:"tags"` LatestRunStatus pgtype.Text `json:"latest_run_status"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` }
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 pgtype.Bool `json:"allow_destroy_plan"` AutoApply pgtype.Bool `json:"auto_apply"` CanQueueDestroyPlan pgtype.Bool `json:"can_queue_destroy_plan"` Description pgtype.Text `json:"description"` Environment pgtype.Text `json:"environment"` ExecutionMode pgtype.Text `json:"execution_mode"` GlobalRemoteState pgtype.Bool `json:"global_remote_state"` MigrationEnvironment pgtype.Text `json:"migration_environment"` Name pgtype.Text `json:"name"` QueueAllRuns pgtype.Bool `json:"queue_all_runs"` SpeculativeEnabled pgtype.Bool `json:"speculative_enabled"` SourceName pgtype.Text `json:"source_name"` SourceURL pgtype.Text `json:"source_url"` StructuredRunOutputEnabled pgtype.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"` TriggerPatterns []string `json:"trigger_patterns"` VCSTagsRegex pgtype.Text `json:"vcs_tags_regex"` AllowCLIApply pgtype.Bool `json:"allow_cli_apply"` AgentPoolID pgtype.Text `json:"agent_pool_id"` Tags []string `json:"tags"` LatestRunStatus pgtype.Text `json:"latest_run_status"` UserLock *Users `json:"user_lock"` RunLock *Runs `json:"run_lock"` WorkspaceConnection *RepoConnections `json:"workspace_connection"` }
type GithubAppInstalls ¶ added in v0.1.14
type GithubAppInstalls struct { GithubAppID pgtype.Int8 `json:"github_app_id"` InstallID pgtype.Int8 `json:"install_id"` Username pgtype.Text `json:"username"` Organization pgtype.Text `json:"organization"` VCSProviderID pgtype.Text `json:"vcs_provider_id"` }
GithubAppInstalls represents the Postgres composite type "github_app_installs".
type GithubApps ¶ added in v0.1.14
type GithubApps struct { GithubAppID pgtype.Int8 `json:"github_app_id"` WebhookSecret pgtype.Text `json:"webhook_secret"` PrivateKey pgtype.Text `json:"private_key"` Slug pgtype.Text `json:"slug"` Organization pgtype.Text `json:"organization"` }
GithubApps represents the Postgres composite type "github_apps".
type IngressAttributes ¶
type IngressAttributes struct { Branch pgtype.Text `json:"branch"` CommitSHA pgtype.Text `json:"commit_sha"` Identifier pgtype.Text `json:"identifier"` IsPullRequest pgtype.Bool `json:"is_pull_request"` OnDefaultBranch pgtype.Bool `json:"on_default_branch"` ConfigurationVersionID pgtype.Text `json:"configuration_version_id"` CommitURL pgtype.Text `json:"commit_url"` PullRequestNumber pgtype.Int4 `json:"pull_request_number"` PullRequestURL pgtype.Text `json:"pull_request_url"` PullRequestTitle pgtype.Text `json:"pull_request_title"` Tag pgtype.Text `json:"tag"` SenderUsername pgtype.Text `json:"sender_username"` SenderAvatarURL pgtype.Text `json:"sender_avatar_url"` SenderHTMLURL pgtype.Text `json:"sender_html_url"` }
IngressAttributes represents the Postgres composite type "ingress_attributes".
type InsertAgentParams ¶ added in v0.2.0
type InsertAgentPoolParams ¶ added in v0.2.0
type InsertAgentTokenParams ¶
type InsertGithubAppInstallParams ¶ added in v0.1.14
type InsertGithubAppParams ¶ added in v0.1.14
type InsertIngressAttributesParams ¶
type InsertIngressAttributesParams struct { Branch pgtype.Text CommitSHA pgtype.Text CommitURL pgtype.Text PullRequestNumber pgtype.Int4 PullRequestURL pgtype.Text PullRequestTitle pgtype.Text SenderUsername pgtype.Text SenderAvatarURL pgtype.Text SenderHTMLURL pgtype.Text Identifier pgtype.Text Tag pgtype.Text IsPullRequest pgtype.Bool OnDefaultBranch pgtype.Bool ConfigurationVersionID pgtype.Text }
type InsertJobParams ¶ added in v0.2.0
type InsertLogChunkParams ¶
type InsertModuleParams ¶
type InsertModuleVersionRow ¶
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 Email pgtype.Text CollaboratorAuthPolicy pgtype.Text CostEstimationEnabled pgtype.Bool SessionRemember pgtype.Int4 SessionTimeout pgtype.Int4 AllowForceDeleteWorkspaces pgtype.Bool }
type InsertRepohookParams ¶ added in v0.1.14
type InsertRepohookRow ¶ added in v0.1.14
type InsertRunParams ¶
type InsertRunParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool Source pgtype.Text Status pgtype.Text ReplaceAddrs []string TargetAddrs []string AutoApply pgtype.Bool PlanOnly pgtype.Bool ConfigurationVersionID pgtype.Text WorkspaceID pgtype.Text CreatedBy pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool }
type InsertRunVariableParams ¶ added in v0.1.8
type InsertTagParams ¶
type InsertTeamParams ¶
type InsertTeamParams struct { ID pgtype.Text Name pgtype.Text CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Visibility pgtype.Text SSOTeamID pgtype.Text PermissionManageWorkspaces pgtype.Bool PermissionManageVCS pgtype.Bool PermissionManageModules pgtype.Bool PermissionManageProviders pgtype.Bool PermissionManagePolicies pgtype.Bool PermissionManagePolicyOverrides pgtype.Bool }
type InsertTeamTokenParams ¶ added in v0.1.15
type InsertTeamTokenParams struct { TeamTokenID pgtype.Text CreatedAt pgtype.Timestamptz TeamID pgtype.Text Expiry pgtype.Timestamptz }
type InsertTokenParams ¶
type InsertUserParams ¶
type InsertUserParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Username pgtype.Text }
type InsertVCSProviderParams ¶
type InsertVariableParams ¶
type InsertVariableSetParams ¶ added in v0.1.9
type InsertWorkspaceParams ¶
type InsertWorkspaceParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AgentPoolID pgtype.Text AllowCLIApply pgtype.Bool AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool Branch pgtype.Text CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []string TriggerPatterns []string VCSTagsRegex pgtype.Text WorkingDirectory pgtype.Text OrganizationName pgtype.Text }
type ListModulesByOrganizationRow ¶
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"` Versions []ModuleVersions `json:"versions"` }
type ModuleVersions ¶
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 { InsertAgent(ctx context.Context, params InsertAgentParams) (pgconn.CommandTag, error) // InsertAgentBatch enqueues a InsertAgent query into batch to be executed // later by the batch. InsertAgentBatch(batch genericBatch, params InsertAgentParams) // InsertAgentScan scans the result of an executed InsertAgentBatch query. InsertAgentScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdateAgent(ctx context.Context, params UpdateAgentParams) (UpdateAgentRow, error) // UpdateAgentBatch enqueues a UpdateAgent query into batch to be executed // later by the batch. UpdateAgentBatch(batch genericBatch, params UpdateAgentParams) // UpdateAgentScan scans the result of an executed UpdateAgentBatch query. UpdateAgentScan(results pgx.BatchResults) (UpdateAgentRow, error) FindAgents(ctx context.Context) ([]FindAgentsRow, error) // FindAgentsBatch enqueues a FindAgents query into batch to be executed // later by the batch. FindAgentsBatch(batch genericBatch) // FindAgentsScan scans the result of an executed FindAgentsBatch query. FindAgentsScan(results pgx.BatchResults) ([]FindAgentsRow, error) FindAgentsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindAgentsByOrganizationRow, error) // FindAgentsByOrganizationBatch enqueues a FindAgentsByOrganization query into batch to be executed // later by the batch. FindAgentsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text) // FindAgentsByOrganizationScan scans the result of an executed FindAgentsByOrganizationBatch query. FindAgentsByOrganizationScan(results pgx.BatchResults) ([]FindAgentsByOrganizationRow, error) FindAgentsByPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentsByPoolIDRow, error) // FindAgentsByPoolIDBatch enqueues a FindAgentsByPoolID query into batch to be executed // later by the batch. FindAgentsByPoolIDBatch(batch genericBatch, agentPoolID pgtype.Text) // FindAgentsByPoolIDScan scans the result of an executed FindAgentsByPoolIDBatch query. FindAgentsByPoolIDScan(results pgx.BatchResults) ([]FindAgentsByPoolIDRow, error) FindServerAgents(ctx context.Context) ([]FindServerAgentsRow, error) // FindServerAgentsBatch enqueues a FindServerAgents query into batch to be executed // later by the batch. FindServerAgentsBatch(batch genericBatch) // FindServerAgentsScan scans the result of an executed FindServerAgentsBatch query. FindServerAgentsScan(results pgx.BatchResults) ([]FindServerAgentsRow, error) FindAgentByID(ctx context.Context, agentID pgtype.Text) (FindAgentByIDRow, error) // FindAgentByIDBatch enqueues a FindAgentByID query into batch to be executed // later by the batch. FindAgentByIDBatch(batch genericBatch, agentID pgtype.Text) // FindAgentByIDScan scans the result of an executed FindAgentByIDBatch query. FindAgentByIDScan(results pgx.BatchResults) (FindAgentByIDRow, error) FindAgentByIDForUpdate(ctx context.Context, agentID pgtype.Text) (FindAgentByIDForUpdateRow, error) // FindAgentByIDForUpdateBatch enqueues a FindAgentByIDForUpdate query into batch to be executed // later by the batch. FindAgentByIDForUpdateBatch(batch genericBatch, agentID pgtype.Text) // FindAgentByIDForUpdateScan scans the result of an executed FindAgentByIDForUpdateBatch query. FindAgentByIDForUpdateScan(results pgx.BatchResults) (FindAgentByIDForUpdateRow, error) DeleteAgent(ctx context.Context, agentID pgtype.Text) (DeleteAgentRow, error) // DeleteAgentBatch enqueues a DeleteAgent query into batch to be executed // later by the batch. DeleteAgentBatch(batch genericBatch, agentID pgtype.Text) // DeleteAgentScan scans the result of an executed DeleteAgentBatch query. DeleteAgentScan(results pgx.BatchResults) (DeleteAgentRow, error) InsertAgentPool(ctx context.Context, params InsertAgentPoolParams) (pgconn.CommandTag, error) // InsertAgentPoolBatch enqueues a InsertAgentPool query into batch to be executed // later by the batch. InsertAgentPoolBatch(batch genericBatch, params InsertAgentPoolParams) // InsertAgentPoolScan scans the result of an executed InsertAgentPoolBatch query. InsertAgentPoolScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindAgentPools(ctx context.Context) ([]FindAgentPoolsRow, error) // FindAgentPoolsBatch enqueues a FindAgentPools query into batch to be executed // later by the batch. FindAgentPoolsBatch(batch genericBatch) // FindAgentPoolsScan scans the result of an executed FindAgentPoolsBatch query. FindAgentPoolsScan(results pgx.BatchResults) ([]FindAgentPoolsRow, error) // Find agent pools in an organization, optionally filtering by any combination of: // (a) name_substring: pool name contains substring // (b) allowed_workspace_name: workspace with name is allowed to use pool // (c) allowed_workspace_id: workspace with ID is allowed to use pool // FindAgentPoolsByOrganization(ctx context.Context, params FindAgentPoolsByOrganizationParams) ([]FindAgentPoolsByOrganizationRow, error) // FindAgentPoolsByOrganizationBatch enqueues a FindAgentPoolsByOrganization query into batch to be executed // later by the batch. FindAgentPoolsByOrganizationBatch(batch genericBatch, params FindAgentPoolsByOrganizationParams) // FindAgentPoolsByOrganizationScan scans the result of an executed FindAgentPoolsByOrganizationBatch query. FindAgentPoolsByOrganizationScan(results pgx.BatchResults) ([]FindAgentPoolsByOrganizationRow, error) FindAgentPool(ctx context.Context, poolID pgtype.Text) (FindAgentPoolRow, error) // FindAgentPoolBatch enqueues a FindAgentPool query into batch to be executed // later by the batch. FindAgentPoolBatch(batch genericBatch, poolID pgtype.Text) // FindAgentPoolScan scans the result of an executed FindAgentPoolBatch query. FindAgentPoolScan(results pgx.BatchResults) (FindAgentPoolRow, error) FindAgentPoolByAgentTokenID(ctx context.Context, agentTokenID pgtype.Text) (FindAgentPoolByAgentTokenIDRow, error) // FindAgentPoolByAgentTokenIDBatch enqueues a FindAgentPoolByAgentTokenID query into batch to be executed // later by the batch. FindAgentPoolByAgentTokenIDBatch(batch genericBatch, agentTokenID pgtype.Text) // FindAgentPoolByAgentTokenIDScan scans the result of an executed FindAgentPoolByAgentTokenIDBatch query. FindAgentPoolByAgentTokenIDScan(results pgx.BatchResults) (FindAgentPoolByAgentTokenIDRow, error) UpdateAgentPool(ctx context.Context, params UpdateAgentPoolParams) (UpdateAgentPoolRow, error) // UpdateAgentPoolBatch enqueues a UpdateAgentPool query into batch to be executed // later by the batch. UpdateAgentPoolBatch(batch genericBatch, params UpdateAgentPoolParams) // UpdateAgentPoolScan scans the result of an executed UpdateAgentPoolBatch query. UpdateAgentPoolScan(results pgx.BatchResults) (UpdateAgentPoolRow, error) DeleteAgentPool(ctx context.Context, poolID pgtype.Text) (DeleteAgentPoolRow, error) // DeleteAgentPoolBatch enqueues a DeleteAgentPool query into batch to be executed // later by the batch. DeleteAgentPoolBatch(batch genericBatch, poolID pgtype.Text) // DeleteAgentPoolScan scans the result of an executed DeleteAgentPoolBatch query. DeleteAgentPoolScan(results pgx.BatchResults) (DeleteAgentPoolRow, error) InsertAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error) // InsertAgentPoolAllowedWorkspaceBatch enqueues a InsertAgentPoolAllowedWorkspace query into batch to be executed // later by the batch. InsertAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text) // InsertAgentPoolAllowedWorkspaceScan scans the result of an executed InsertAgentPoolAllowedWorkspaceBatch query. InsertAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error) DeleteAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error) // DeleteAgentPoolAllowedWorkspaceBatch enqueues a DeleteAgentPoolAllowedWorkspace query into batch to be executed // later by the batch. DeleteAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text) // DeleteAgentPoolAllowedWorkspaceScan scans the result of an executed DeleteAgentPoolAllowedWorkspaceBatch query. DeleteAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error) 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, agentTokenID pgtype.Text) (FindAgentTokenByIDRow, error) // FindAgentTokenByIDBatch enqueues a FindAgentTokenByID query into batch to be executed // later by the batch. FindAgentTokenByIDBatch(batch genericBatch, agentTokenID pgtype.Text) // FindAgentTokenByIDScan scans the result of an executed FindAgentTokenByIDBatch query. FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error) FindAgentTokensByAgentPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentTokensByAgentPoolIDRow, error) // FindAgentTokensByAgentPoolIDBatch enqueues a FindAgentTokensByAgentPoolID query into batch to be executed // later by the batch. FindAgentTokensByAgentPoolIDBatch(batch genericBatch, agentPoolID pgtype.Text) // FindAgentTokensByAgentPoolIDScan scans the result of an executed FindAgentTokensByAgentPoolIDBatch query. FindAgentTokensByAgentPoolIDScan(results pgx.BatchResults) ([]FindAgentTokensByAgentPoolIDRow, error) DeleteAgentTokenByID(ctx context.Context, agentTokenID pgtype.Text) (pgtype.Text, error) // DeleteAgentTokenByIDBatch enqueues a DeleteAgentTokenByID query into batch to be executed // later by the batch. DeleteAgentTokenByIDBatch(batch genericBatch, agentTokenID 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) (pgtype.Int8, 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) (pgtype.Int8, 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) InsertGithubApp(ctx context.Context, params InsertGithubAppParams) (pgconn.CommandTag, error) // InsertGithubAppBatch enqueues a InsertGithubApp query into batch to be executed // later by the batch. InsertGithubAppBatch(batch genericBatch, params InsertGithubAppParams) // InsertGithubAppScan scans the result of an executed InsertGithubAppBatch query. InsertGithubAppScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindGithubApp(ctx context.Context) (FindGithubAppRow, error) // FindGithubAppBatch enqueues a FindGithubApp query into batch to be executed // later by the batch. FindGithubAppBatch(batch genericBatch) // FindGithubAppScan scans the result of an executed FindGithubAppBatch query. FindGithubAppScan(results pgx.BatchResults) (FindGithubAppRow, error) DeleteGithubApp(ctx context.Context, githubAppID pgtype.Int8) (DeleteGithubAppRow, error) // DeleteGithubAppBatch enqueues a DeleteGithubApp query into batch to be executed // later by the batch. DeleteGithubAppBatch(batch genericBatch, githubAppID pgtype.Int8) // DeleteGithubAppScan scans the result of an executed DeleteGithubAppBatch query. DeleteGithubAppScan(results pgx.BatchResults) (DeleteGithubAppRow, error) InsertGithubAppInstall(ctx context.Context, params InsertGithubAppInstallParams) (pgconn.CommandTag, error) // InsertGithubAppInstallBatch enqueues a InsertGithubAppInstall query into batch to be executed // later by the batch. InsertGithubAppInstallBatch(batch genericBatch, params InsertGithubAppInstallParams) // InsertGithubAppInstallScan scans the result of an executed InsertGithubAppInstallBatch query. InsertGithubAppInstallScan(results pgx.BatchResults) (pgconn.CommandTag, 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) InsertJob(ctx context.Context, params InsertJobParams) (pgconn.CommandTag, error) // InsertJobBatch enqueues a InsertJob query into batch to be executed // later by the batch. InsertJobBatch(batch genericBatch, params InsertJobParams) // InsertJobScan scans the result of an executed InsertJobBatch query. InsertJobScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindJobs(ctx context.Context) ([]FindJobsRow, error) // FindJobsBatch enqueues a FindJobs query into batch to be executed // later by the batch. FindJobsBatch(batch genericBatch) // FindJobsScan scans the result of an executed FindJobsBatch query. FindJobsScan(results pgx.BatchResults) ([]FindJobsRow, error) FindJob(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobRow, error) // FindJobBatch enqueues a FindJob query into batch to be executed // later by the batch. FindJobBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text) // FindJobScan scans the result of an executed FindJobBatch query. FindJobScan(results pgx.BatchResults) (FindJobRow, error) FindJobForUpdate(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobForUpdateRow, error) // FindJobForUpdateBatch enqueues a FindJobForUpdate query into batch to be executed // later by the batch. FindJobForUpdateBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text) // FindJobForUpdateScan scans the result of an executed FindJobForUpdateBatch query. FindJobForUpdateScan(results pgx.BatchResults) (FindJobForUpdateRow, error) FindAllocatedJobs(ctx context.Context, agentID pgtype.Text) ([]FindAllocatedJobsRow, error) // FindAllocatedJobsBatch enqueues a FindAllocatedJobs query into batch to be executed // later by the batch. FindAllocatedJobsBatch(batch genericBatch, agentID pgtype.Text) // FindAllocatedJobsScan scans the result of an executed FindAllocatedJobsBatch query. FindAllocatedJobsScan(results pgx.BatchResults) ([]FindAllocatedJobsRow, error) // Find signaled jobs and then immediately update signal with null. // FindAndUpdateSignaledJobs(ctx context.Context, agentID pgtype.Text) ([]FindAndUpdateSignaledJobsRow, error) // FindAndUpdateSignaledJobsBatch enqueues a FindAndUpdateSignaledJobs query into batch to be executed // later by the batch. FindAndUpdateSignaledJobsBatch(batch genericBatch, agentID pgtype.Text) // FindAndUpdateSignaledJobsScan scans the result of an executed FindAndUpdateSignaledJobsBatch query. FindAndUpdateSignaledJobsScan(results pgx.BatchResults) ([]FindAndUpdateSignaledJobsRow, error) UpdateJob(ctx context.Context, params UpdateJobParams) (UpdateJobRow, error) // UpdateJobBatch enqueues a UpdateJob query into batch to be executed // later by the batch. UpdateJobBatch(batch genericBatch, params UpdateJobParams) // UpdateJobScan scans the result of an executed UpdateJobBatch query. UpdateJobScan(results pgx.BatchResults) (UpdateJobRow, 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) FindModuleByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) (FindModuleByConnectionRow, error) // FindModuleByConnectionBatch enqueues a FindModuleByConnection query into batch to be executed // later by the batch. FindModuleByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text) // FindModuleByConnectionScan scans the result of an executed FindModuleByConnectionBatch query. FindModuleByConnectionScan(results pgx.BatchResults) (FindModuleByConnectionRow, 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) InsertNotificationConfiguration(ctx context.Context, params InsertNotificationConfigurationParams) (pgconn.CommandTag, error) // InsertNotificationConfigurationBatch enqueues a InsertNotificationConfiguration query into batch to be executed // later by the batch. InsertNotificationConfigurationBatch(batch genericBatch, params InsertNotificationConfigurationParams) // InsertNotificationConfigurationScan scans the result of an executed InsertNotificationConfigurationBatch query. InsertNotificationConfigurationScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindNotificationConfigurationsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindNotificationConfigurationsByWorkspaceIDRow, error) // FindNotificationConfigurationsByWorkspaceIDBatch enqueues a FindNotificationConfigurationsByWorkspaceID query into batch to be executed // later by the batch. FindNotificationConfigurationsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindNotificationConfigurationsByWorkspaceIDScan scans the result of an executed FindNotificationConfigurationsByWorkspaceIDBatch query. FindNotificationConfigurationsByWorkspaceIDScan(results pgx.BatchResults) ([]FindNotificationConfigurationsByWorkspaceIDRow, error) FindAllNotificationConfigurations(ctx context.Context) ([]FindAllNotificationConfigurationsRow, error) // FindAllNotificationConfigurationsBatch enqueues a FindAllNotificationConfigurations query into batch to be executed // later by the batch. FindAllNotificationConfigurationsBatch(batch genericBatch) // FindAllNotificationConfigurationsScan scans the result of an executed FindAllNotificationConfigurationsBatch query. FindAllNotificationConfigurationsScan(results pgx.BatchResults) ([]FindAllNotificationConfigurationsRow, error) FindNotificationConfiguration(ctx context.Context, notificationConfigurationID pgtype.Text) (FindNotificationConfigurationRow, error) // FindNotificationConfigurationBatch enqueues a FindNotificationConfiguration query into batch to be executed // later by the batch. FindNotificationConfigurationBatch(batch genericBatch, notificationConfigurationID pgtype.Text) // FindNotificationConfigurationScan scans the result of an executed FindNotificationConfigurationBatch query. FindNotificationConfigurationScan(results pgx.BatchResults) (FindNotificationConfigurationRow, error) FindNotificationConfigurationForUpdate(ctx context.Context, notificationConfigurationID pgtype.Text) (FindNotificationConfigurationForUpdateRow, error) // FindNotificationConfigurationForUpdateBatch enqueues a FindNotificationConfigurationForUpdate query into batch to be executed // later by the batch. FindNotificationConfigurationForUpdateBatch(batch genericBatch, notificationConfigurationID pgtype.Text) // FindNotificationConfigurationForUpdateScan scans the result of an executed FindNotificationConfigurationForUpdateBatch query. FindNotificationConfigurationForUpdateScan(results pgx.BatchResults) (FindNotificationConfigurationForUpdateRow, error) UpdateNotificationConfigurationByID(ctx context.Context, params UpdateNotificationConfigurationByIDParams) (pgtype.Text, error) // UpdateNotificationConfigurationByIDBatch enqueues a UpdateNotificationConfigurationByID query into batch to be executed // later by the batch. UpdateNotificationConfigurationByIDBatch(batch genericBatch, params UpdateNotificationConfigurationByIDParams) // UpdateNotificationConfigurationByIDScan scans the result of an executed UpdateNotificationConfigurationByIDBatch query. UpdateNotificationConfigurationByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteNotificationConfigurationByID(ctx context.Context, notificationConfigurationID pgtype.Text) (pgtype.Text, error) // DeleteNotificationConfigurationByIDBatch enqueues a DeleteNotificationConfigurationByID query into batch to be executed // later by the batch. DeleteNotificationConfigurationByIDBatch(batch genericBatch, notificationConfigurationID pgtype.Text) // DeleteNotificationConfigurationByIDScan scans the result of an executed DeleteNotificationConfigurationByIDBatch query. DeleteNotificationConfigurationByIDScan(results pgx.BatchResults) (pgtype.Text, 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) 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) (pgtype.Int8, 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) (pgtype.Int8, 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) UpsertOrganizationToken(ctx context.Context, params UpsertOrganizationTokenParams) (pgconn.CommandTag, error) // UpsertOrganizationTokenBatch enqueues a UpsertOrganizationToken query into batch to be executed // later by the batch. UpsertOrganizationTokenBatch(batch genericBatch, params UpsertOrganizationTokenParams) // UpsertOrganizationTokenScan scans the result of an executed UpsertOrganizationTokenBatch query. UpsertOrganizationTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindOrganizationTokens(ctx context.Context, organizationName pgtype.Text) ([]FindOrganizationTokensRow, error) // FindOrganizationTokensBatch enqueues a FindOrganizationTokens query into batch to be executed // later by the batch. FindOrganizationTokensBatch(batch genericBatch, organizationName pgtype.Text) // FindOrganizationTokensScan scans the result of an executed FindOrganizationTokensBatch query. FindOrganizationTokensScan(results pgx.BatchResults) ([]FindOrganizationTokensRow, error) FindOrganizationTokensByName(ctx context.Context, organizationName pgtype.Text) (FindOrganizationTokensByNameRow, error) // FindOrganizationTokensByNameBatch enqueues a FindOrganizationTokensByName query into batch to be executed // later by the batch. FindOrganizationTokensByNameBatch(batch genericBatch, organizationName pgtype.Text) // FindOrganizationTokensByNameScan scans the result of an executed FindOrganizationTokensByNameBatch query. FindOrganizationTokensByNameScan(results pgx.BatchResults) (FindOrganizationTokensByNameRow, error) FindOrganizationTokensByID(ctx context.Context, organizationTokenID pgtype.Text) (FindOrganizationTokensByIDRow, error) // FindOrganizationTokensByIDBatch enqueues a FindOrganizationTokensByID query into batch to be executed // later by the batch. FindOrganizationTokensByIDBatch(batch genericBatch, organizationTokenID pgtype.Text) // FindOrganizationTokensByIDScan scans the result of an executed FindOrganizationTokensByIDBatch query. FindOrganizationTokensByIDScan(results pgx.BatchResults) (FindOrganizationTokensByIDRow, error) DeleteOrganiationTokenByName(ctx context.Context, organizationName pgtype.Text) (pgtype.Text, error) // DeleteOrganiationTokenByNameBatch enqueues a DeleteOrganiationTokenByName query into batch to be executed // later by the batch. DeleteOrganiationTokenByNameBatch(batch genericBatch, organizationName pgtype.Text) // DeleteOrganiationTokenByNameScan scans the result of an executed DeleteOrganiationTokenByNameBatch query. DeleteOrganiationTokenByNameScan(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) (pgtype.Int4, 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) (pgtype.Int4, 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 pgtype.Int4) (FindLogChunkByIDRow, error) // FindLogChunkByIDBatch enqueues a FindLogChunkByID query into batch to be executed // later by the batch. FindLogChunkByIDBatch(batch genericBatch, chunkID pgtype.Int4) // 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) InsertLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error) // InsertLatestTerraformVersionBatch enqueues a InsertLatestTerraformVersion query into batch to be executed // later by the batch. InsertLatestTerraformVersionBatch(batch genericBatch, version pgtype.Text) // InsertLatestTerraformVersionScan scans the result of an executed InsertLatestTerraformVersionBatch query. InsertLatestTerraformVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error) UpdateLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error) // UpdateLatestTerraformVersionBatch enqueues a UpdateLatestTerraformVersion query into batch to be executed // later by the batch. UpdateLatestTerraformVersionBatch(batch genericBatch, version pgtype.Text) // UpdateLatestTerraformVersionScan scans the result of an executed UpdateLatestTerraformVersionBatch query. UpdateLatestTerraformVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindLatestTerraformVersion(ctx context.Context) ([]FindLatestTerraformVersionRow, error) // FindLatestTerraformVersionBatch enqueues a FindLatestTerraformVersion query into batch to be executed // later by the batch. FindLatestTerraformVersionBatch(batch genericBatch) // FindLatestTerraformVersionScan scans the result of an executed FindLatestTerraformVersionBatch query. FindLatestTerraformVersionScan(results pgx.BatchResults) ([]FindLatestTerraformVersionRow, 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) 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, moduleID pgtype.Text) (DeleteModuleConnectionByIDRow, error) // DeleteModuleConnectionByIDBatch enqueues a DeleteModuleConnectionByID query into batch to be executed // later by the batch. DeleteModuleConnectionByIDBatch(batch genericBatch, moduleID pgtype.Text) // DeleteModuleConnectionByIDScan scans the result of an executed DeleteModuleConnectionByIDBatch query. DeleteModuleConnectionByIDScan(results pgx.BatchResults) (DeleteModuleConnectionByIDRow, error) InsertRepohook(ctx context.Context, params InsertRepohookParams) (InsertRepohookRow, error) // InsertRepohookBatch enqueues a InsertRepohook query into batch to be executed // later by the batch. InsertRepohookBatch(batch genericBatch, params InsertRepohookParams) // InsertRepohookScan scans the result of an executed InsertRepohookBatch query. InsertRepohookScan(results pgx.BatchResults) (InsertRepohookRow, error) UpdateRepohookVCSID(ctx context.Context, vcsID pgtype.Text, repohookID pgtype.UUID) (UpdateRepohookVCSIDRow, error) // UpdateRepohookVCSIDBatch enqueues a UpdateRepohookVCSID query into batch to be executed // later by the batch. UpdateRepohookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, repohookID pgtype.UUID) // UpdateRepohookVCSIDScan scans the result of an executed UpdateRepohookVCSIDBatch query. UpdateRepohookVCSIDScan(results pgx.BatchResults) (UpdateRepohookVCSIDRow, error) FindRepohooks(ctx context.Context) ([]FindRepohooksRow, error) // FindRepohooksBatch enqueues a FindRepohooks query into batch to be executed // later by the batch. FindRepohooksBatch(batch genericBatch) // FindRepohooksScan scans the result of an executed FindRepohooksBatch query. FindRepohooksScan(results pgx.BatchResults) ([]FindRepohooksRow, error) FindRepohookByID(ctx context.Context, repohookID pgtype.UUID) (FindRepohookByIDRow, error) // FindRepohookByIDBatch enqueues a FindRepohookByID query into batch to be executed // later by the batch. FindRepohookByIDBatch(batch genericBatch, repohookID pgtype.UUID) // FindRepohookByIDScan scans the result of an executed FindRepohookByIDBatch query. FindRepohookByIDScan(results pgx.BatchResults) (FindRepohookByIDRow, error) FindRepohookByRepoAndProvider(ctx context.Context, repoPath pgtype.Text, vcsProviderID pgtype.Text) ([]FindRepohookByRepoAndProviderRow, error) // FindRepohookByRepoAndProviderBatch enqueues a FindRepohookByRepoAndProvider query into batch to be executed // later by the batch. FindRepohookByRepoAndProviderBatch(batch genericBatch, repoPath pgtype.Text, vcsProviderID pgtype.Text) // FindRepohookByRepoAndProviderScan scans the result of an executed FindRepohookByRepoAndProviderBatch query. FindRepohookByRepoAndProviderScan(results pgx.BatchResults) ([]FindRepohookByRepoAndProviderRow, error) FindUnreferencedRepohooks(ctx context.Context) ([]FindUnreferencedRepohooksRow, error) // FindUnreferencedRepohooksBatch enqueues a FindUnreferencedRepohooks query into batch to be executed // later by the batch. FindUnreferencedRepohooksBatch(batch genericBatch) // FindUnreferencedRepohooksScan scans the result of an executed FindUnreferencedRepohooksBatch query. FindUnreferencedRepohooksScan(results pgx.BatchResults) ([]FindUnreferencedRepohooksRow, error) DeleteRepohookByID(ctx context.Context, repohookID pgtype.UUID) (DeleteRepohookByIDRow, error) // DeleteRepohookByIDBatch enqueues a DeleteRepohookByID query into batch to be executed // later by the batch. DeleteRepohookByIDBatch(batch genericBatch, repohookID pgtype.UUID) // DeleteRepohookByIDScan scans the result of an executed DeleteRepohookByIDBatch query. DeleteRepohookByIDScan(results pgx.BatchResults) (DeleteRepohookByIDRow, 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) InsertRunVariable(ctx context.Context, params InsertRunVariableParams) (pgconn.CommandTag, error) // InsertRunVariableBatch enqueues a InsertRunVariable query into batch to be executed // later by the batch. InsertRunVariableBatch(batch genericBatch, params InsertRunVariableParams) // InsertRunVariableScan scans the result of an executed InsertRunVariableBatch query. InsertRunVariableScan(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) (pgtype.Int8, 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) (pgtype.Int8, 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) UpdateCancelSignaledAt(ctx context.Context, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error) // UpdateCancelSignaledAtBatch enqueues a UpdateCancelSignaledAt query into batch to be executed // later by the batch. UpdateCancelSignaledAtBatch(batch genericBatch, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text) // UpdateCancelSignaledAtScan scans the result of an executed UpdateCancelSignaledAtBatch query. UpdateCancelSignaledAtScan(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) UpdateState(ctx context.Context, state []byte, stateVersionID pgtype.Text) (pgconn.CommandTag, error) // UpdateStateBatch enqueues a UpdateState query into batch to be executed // later by the batch. UpdateStateBatch(batch genericBatch, state []byte, stateVersionID pgtype.Text) // UpdateStateScan scans the result of an executed UpdateStateBatch query. UpdateStateScan(results pgx.BatchResults) (pgconn.CommandTag, error) DiscardPendingStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error) // DiscardPendingStateVersionsByWorkspaceIDBatch enqueues a DiscardPendingStateVersionsByWorkspaceID query into batch to be executed // later by the batch. DiscardPendingStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // DiscardPendingStateVersionsByWorkspaceIDScan scans the result of an executed DiscardPendingStateVersionsByWorkspaceIDBatch query. DiscardPendingStateVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindStateVersionsByWorkspaceID(ctx context.Context, params FindStateVersionsByWorkspaceIDParams) ([]FindStateVersionsByWorkspaceIDRow, error) // FindStateVersionsByWorkspaceIDBatch enqueues a FindStateVersionsByWorkspaceID query into batch to be executed // later by the batch. FindStateVersionsByWorkspaceIDBatch(batch genericBatch, params FindStateVersionsByWorkspaceIDParams) // FindStateVersionsByWorkspaceIDScan scans the result of an executed FindStateVersionsByWorkspaceIDBatch query. FindStateVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceIDRow, error) CountStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error) // CountStateVersionsByWorkspaceIDBatch enqueues a CountStateVersionsByWorkspaceID query into batch to be executed // later by the batch. CountStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // CountStateVersionsByWorkspaceIDScan scans the result of an executed CountStateVersionsByWorkspaceIDBatch query. CountStateVersionsByWorkspaceIDScan(results pgx.BatchResults) (pgtype.Int8, 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) FindStateVersionByIDForUpdate(ctx context.Context, id pgtype.Text) (FindStateVersionByIDForUpdateRow, error) // FindStateVersionByIDForUpdateBatch enqueues a FindStateVersionByIDForUpdate query into batch to be executed // later by the batch. FindStateVersionByIDForUpdateBatch(batch genericBatch, id pgtype.Text) // FindStateVersionByIDForUpdateScan scans the result of an executed FindStateVersionByIDForUpdateBatch query. FindStateVersionByIDForUpdateScan(results pgx.BatchResults) (FindStateVersionByIDForUpdateRow, 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) InsertTag(ctx context.Context, params InsertTagParams) (pgconn.CommandTag, error) // InsertTagBatch enqueues a InsertTag query into batch to be executed // later by the batch. InsertTagBatch(batch genericBatch, params InsertTagParams) // InsertTagScan scans the result of an executed InsertTagBatch query. InsertTagScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertWorkspaceTag(ctx context.Context, tagID pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error) // InsertWorkspaceTagBatch enqueues a InsertWorkspaceTag query into batch to be executed // later by the batch. InsertWorkspaceTagBatch(batch genericBatch, tagID pgtype.Text, workspaceID pgtype.Text) // InsertWorkspaceTagScan scans the result of an executed InsertWorkspaceTagBatch query. InsertWorkspaceTagScan(results pgx.BatchResults) (pgtype.Text, error) InsertWorkspaceTagByName(ctx context.Context, workspaceID pgtype.Text, tagName pgtype.Text) (pgtype.Text, error) // InsertWorkspaceTagByNameBatch enqueues a InsertWorkspaceTagByName query into batch to be executed // later by the batch. InsertWorkspaceTagByNameBatch(batch genericBatch, workspaceID pgtype.Text, tagName pgtype.Text) // InsertWorkspaceTagByNameScan scans the result of an executed InsertWorkspaceTagByNameBatch query. InsertWorkspaceTagByNameScan(results pgx.BatchResults) (pgtype.Text, error) FindTags(ctx context.Context, params FindTagsParams) ([]FindTagsRow, error) // FindTagsBatch enqueues a FindTags query into batch to be executed // later by the batch. FindTagsBatch(batch genericBatch, params FindTagsParams) // FindTagsScan scans the result of an executed FindTagsBatch query. FindTagsScan(results pgx.BatchResults) ([]FindTagsRow, error) FindWorkspaceTags(ctx context.Context, params FindWorkspaceTagsParams) ([]FindWorkspaceTagsRow, error) // FindWorkspaceTagsBatch enqueues a FindWorkspaceTags query into batch to be executed // later by the batch. FindWorkspaceTagsBatch(batch genericBatch, params FindWorkspaceTagsParams) // FindWorkspaceTagsScan scans the result of an executed FindWorkspaceTagsBatch query. FindWorkspaceTagsScan(results pgx.BatchResults) ([]FindWorkspaceTagsRow, error) FindTagByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTagByNameRow, error) // FindTagByNameBatch enqueues a FindTagByName query into batch to be executed // later by the batch. FindTagByNameBatch(batch genericBatch, name pgtype.Text, organizationName pgtype.Text) // FindTagByNameScan scans the result of an executed FindTagByNameBatch query. FindTagByNameScan(results pgx.BatchResults) (FindTagByNameRow, error) FindTagByID(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (FindTagByIDRow, error) // FindTagByIDBatch enqueues a FindTagByID query into batch to be executed // later by the batch. FindTagByIDBatch(batch genericBatch, tagID pgtype.Text, organizationName pgtype.Text) // FindTagByIDScan scans the result of an executed FindTagByIDBatch query. FindTagByIDScan(results pgx.BatchResults) (FindTagByIDRow, error) CountTags(ctx context.Context, organizationName pgtype.Text) (pgtype.Int8, error) // CountTagsBatch enqueues a CountTags query into batch to be executed // later by the batch. CountTagsBatch(batch genericBatch, organizationName pgtype.Text) // CountTagsScan scans the result of an executed CountTagsBatch query. CountTagsScan(results pgx.BatchResults) (pgtype.Int8, error) CountWorkspaceTags(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error) // CountWorkspaceTagsBatch enqueues a CountWorkspaceTags query into batch to be executed // later by the batch. CountWorkspaceTagsBatch(batch genericBatch, workspaceID pgtype.Text) // CountWorkspaceTagsScan scans the result of an executed CountWorkspaceTagsBatch query. CountWorkspaceTagsScan(results pgx.BatchResults) (pgtype.Int8, error) DeleteTag(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (pgtype.Text, error) // DeleteTagBatch enqueues a DeleteTag query into batch to be executed // later by the batch. DeleteTagBatch(batch genericBatch, tagID pgtype.Text, organizationName pgtype.Text) // DeleteTagScan scans the result of an executed DeleteTagBatch query. DeleteTagScan(results pgx.BatchResults) (pgtype.Text, error) DeleteWorkspaceTag(ctx context.Context, workspaceID pgtype.Text, tagID pgtype.Text) (pgtype.Text, error) // DeleteWorkspaceTagBatch enqueues a DeleteWorkspaceTag query into batch to be executed // later by the batch. DeleteWorkspaceTagBatch(batch genericBatch, workspaceID pgtype.Text, tagID pgtype.Text) // DeleteWorkspaceTagScan scans the result of an executed DeleteWorkspaceTagBatch query. DeleteWorkspaceTagScan(results pgx.BatchResults) (pgtype.Text, 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) FindTeamByTokenID(ctx context.Context, tokenID pgtype.Text) (FindTeamByTokenIDRow, error) // FindTeamByTokenIDBatch enqueues a FindTeamByTokenID query into batch to be executed // later by the batch. FindTeamByTokenIDBatch(batch genericBatch, tokenID pgtype.Text) // FindTeamByTokenIDScan scans the result of an executed FindTeamByTokenIDBatch query. FindTeamByTokenIDScan(results pgx.BatchResults) (FindTeamByTokenIDRow, 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, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error) // InsertTeamMembershipBatch enqueues a InsertTeamMembership query into batch to be executed // later by the batch. InsertTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text) // InsertTeamMembershipScan scans the result of an executed InsertTeamMembershipBatch query. InsertTeamMembershipScan(results pgx.BatchResults) ([]pgtype.Text, error) DeleteTeamMembership(ctx context.Context, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error) // DeleteTeamMembershipBatch enqueues a DeleteTeamMembership query into batch to be executed // later by the batch. DeleteTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text) // DeleteTeamMembershipScan scans the result of an executed DeleteTeamMembershipBatch query. DeleteTeamMembershipScan(results pgx.BatchResults) ([]pgtype.Text, error) InsertTeamToken(ctx context.Context, params InsertTeamTokenParams) (pgconn.CommandTag, error) // InsertTeamTokenBatch enqueues a InsertTeamToken query into batch to be executed // later by the batch. InsertTeamTokenBatch(batch genericBatch, params InsertTeamTokenParams) // InsertTeamTokenScan scans the result of an executed InsertTeamTokenBatch query. InsertTeamTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindTeamTokensByID(ctx context.Context, teamID pgtype.Text) ([]FindTeamTokensByIDRow, error) // FindTeamTokensByIDBatch enqueues a FindTeamTokensByID query into batch to be executed // later by the batch. FindTeamTokensByIDBatch(batch genericBatch, teamID pgtype.Text) // FindTeamTokensByIDScan scans the result of an executed FindTeamTokensByIDBatch query. FindTeamTokensByIDScan(results pgx.BatchResults) ([]FindTeamTokensByIDRow, error) DeleteTeamTokenByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error) // DeleteTeamTokenByIDBatch enqueues a DeleteTeamTokenByID query into batch to be executed // later by the batch. DeleteTeamTokenByIDBatch(batch genericBatch, teamID pgtype.Text) // DeleteTeamTokenByIDScan scans the result of an executed DeleteTeamTokenByIDBatch query. DeleteTeamTokenByIDScan(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) 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) 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) InsertVariableSet(ctx context.Context, params InsertVariableSetParams) (pgconn.CommandTag, error) // InsertVariableSetBatch enqueues a InsertVariableSet query into batch to be executed // later by the batch. InsertVariableSetBatch(batch genericBatch, params InsertVariableSetParams) // InsertVariableSetScan scans the result of an executed InsertVariableSetBatch query. InsertVariableSetScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindVariableSetsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVariableSetsByOrganizationRow, error) // FindVariableSetsByOrganizationBatch enqueues a FindVariableSetsByOrganization query into batch to be executed // later by the batch. FindVariableSetsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text) // FindVariableSetsByOrganizationScan scans the result of an executed FindVariableSetsByOrganizationBatch query. FindVariableSetsByOrganizationScan(results pgx.BatchResults) ([]FindVariableSetsByOrganizationRow, error) FindVariableSetsByWorkspace(ctx context.Context, workspaceID pgtype.Text) ([]FindVariableSetsByWorkspaceRow, error) // FindVariableSetsByWorkspaceBatch enqueues a FindVariableSetsByWorkspace query into batch to be executed // later by the batch. FindVariableSetsByWorkspaceBatch(batch genericBatch, workspaceID pgtype.Text) // FindVariableSetsByWorkspaceScan scans the result of an executed FindVariableSetsByWorkspaceBatch query. FindVariableSetsByWorkspaceScan(results pgx.BatchResults) ([]FindVariableSetsByWorkspaceRow, error) FindVariableSetBySetID(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetBySetIDRow, error) // FindVariableSetBySetIDBatch enqueues a FindVariableSetBySetID query into batch to be executed // later by the batch. FindVariableSetBySetIDBatch(batch genericBatch, variableSetID pgtype.Text) // FindVariableSetBySetIDScan scans the result of an executed FindVariableSetBySetIDBatch query. FindVariableSetBySetIDScan(results pgx.BatchResults) (FindVariableSetBySetIDRow, error) FindVariableSetByVariableID(ctx context.Context, variableID pgtype.Text) (FindVariableSetByVariableIDRow, error) // FindVariableSetByVariableIDBatch enqueues a FindVariableSetByVariableID query into batch to be executed // later by the batch. FindVariableSetByVariableIDBatch(batch genericBatch, variableID pgtype.Text) // FindVariableSetByVariableIDScan scans the result of an executed FindVariableSetByVariableIDBatch query. FindVariableSetByVariableIDScan(results pgx.BatchResults) (FindVariableSetByVariableIDRow, error) FindVariableSetForUpdate(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetForUpdateRow, error) // FindVariableSetForUpdateBatch enqueues a FindVariableSetForUpdate query into batch to be executed // later by the batch. FindVariableSetForUpdateBatch(batch genericBatch, variableSetID pgtype.Text) // FindVariableSetForUpdateScan scans the result of an executed FindVariableSetForUpdateBatch query. FindVariableSetForUpdateScan(results pgx.BatchResults) (FindVariableSetForUpdateRow, error) UpdateVariableSetByID(ctx context.Context, params UpdateVariableSetByIDParams) (pgtype.Text, error) // UpdateVariableSetByIDBatch enqueues a UpdateVariableSetByID query into batch to be executed // later by the batch. UpdateVariableSetByIDBatch(batch genericBatch, params UpdateVariableSetByIDParams) // UpdateVariableSetByIDScan scans the result of an executed UpdateVariableSetByIDBatch query. UpdateVariableSetByIDScan(results pgx.BatchResults) (pgtype.Text, error) DeleteVariableSetByID(ctx context.Context, variableSetID pgtype.Text) (DeleteVariableSetByIDRow, error) // DeleteVariableSetByIDBatch enqueues a DeleteVariableSetByID query into batch to be executed // later by the batch. DeleteVariableSetByIDBatch(batch genericBatch, variableSetID pgtype.Text) // DeleteVariableSetByIDScan scans the result of an executed DeleteVariableSetByIDBatch query. DeleteVariableSetByIDScan(results pgx.BatchResults) (DeleteVariableSetByIDRow, error) InsertVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (pgconn.CommandTag, error) // InsertVariableSetVariableBatch enqueues a InsertVariableSetVariable query into batch to be executed // later by the batch. InsertVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text) // InsertVariableSetVariableScan scans the result of an executed InsertVariableSetVariableBatch query. InsertVariableSetVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error) DeleteVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (DeleteVariableSetVariableRow, error) // DeleteVariableSetVariableBatch enqueues a DeleteVariableSetVariable query into batch to be executed // later by the batch. DeleteVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text) // DeleteVariableSetVariableScan scans the result of an executed DeleteVariableSetVariableBatch query. DeleteVariableSetVariableScan(results pgx.BatchResults) (DeleteVariableSetVariableRow, error) InsertVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error) // InsertVariableSetWorkspaceBatch enqueues a InsertVariableSetWorkspace query into batch to be executed // later by the batch. InsertVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text) // InsertVariableSetWorkspaceScan scans the result of an executed InsertVariableSetWorkspaceBatch query. InsertVariableSetWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error) DeleteVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (DeleteVariableSetWorkspaceRow, error) // DeleteVariableSetWorkspaceBatch enqueues a DeleteVariableSetWorkspace query into batch to be executed // later by the batch. DeleteVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text) // DeleteVariableSetWorkspaceScan scans the result of an executed DeleteVariableSetWorkspaceBatch query. DeleteVariableSetWorkspaceScan(results pgx.BatchResults) (DeleteVariableSetWorkspaceRow, error) DeleteVariableSetWorkspaces(ctx context.Context, variableSetID pgtype.Text) (pgconn.CommandTag, error) // DeleteVariableSetWorkspacesBatch enqueues a DeleteVariableSetWorkspaces query into batch to be executed // later by the batch. DeleteVariableSetWorkspacesBatch(batch genericBatch, variableSetID pgtype.Text) // DeleteVariableSetWorkspacesScan scans the result of an executed DeleteVariableSetWorkspacesBatch query. DeleteVariableSetWorkspacesScan(results pgx.BatchResults) (pgconn.CommandTag, 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) FindVCSProvidersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersByOrganizationRow, error) // FindVCSProvidersByOrganizationBatch enqueues a FindVCSProvidersByOrganization query into batch to be executed // later by the batch. FindVCSProvidersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text) // FindVCSProvidersByOrganizationScan scans the result of an executed FindVCSProvidersByOrganizationBatch query. FindVCSProvidersByOrganizationScan(results pgx.BatchResults) ([]FindVCSProvidersByOrganizationRow, error) FindVCSProviders(ctx context.Context) ([]FindVCSProvidersRow, error) // FindVCSProvidersBatch enqueues a FindVCSProviders query into batch to be executed // later by the batch. FindVCSProvidersBatch(batch genericBatch) // FindVCSProvidersScan scans the result of an executed FindVCSProvidersBatch query. FindVCSProvidersScan(results pgx.BatchResults) ([]FindVCSProvidersRow, error) FindVCSProvidersByGithubAppInstallID(ctx context.Context, installID pgtype.Int8) ([]FindVCSProvidersByGithubAppInstallIDRow, error) // FindVCSProvidersByGithubAppInstallIDBatch enqueues a FindVCSProvidersByGithubAppInstallID query into batch to be executed // later by the batch. FindVCSProvidersByGithubAppInstallIDBatch(batch genericBatch, installID pgtype.Int8) // FindVCSProvidersByGithubAppInstallIDScan scans the result of an executed FindVCSProvidersByGithubAppInstallIDBatch query. FindVCSProvidersByGithubAppInstallIDScan(results pgx.BatchResults) ([]FindVCSProvidersByGithubAppInstallIDRow, 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) FindVCSProviderForUpdate(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderForUpdateRow, error) // FindVCSProviderForUpdateBatch enqueues a FindVCSProviderForUpdate query into batch to be executed // later by the batch. FindVCSProviderForUpdateBatch(batch genericBatch, vcsProviderID pgtype.Text) // FindVCSProviderForUpdateScan scans the result of an executed FindVCSProviderForUpdateBatch query. FindVCSProviderForUpdateScan(results pgx.BatchResults) (FindVCSProviderForUpdateRow, error) UpdateVCSProvider(ctx context.Context, params UpdateVCSProviderParams) (UpdateVCSProviderRow, error) // UpdateVCSProviderBatch enqueues a UpdateVCSProvider query into batch to be executed // later by the batch. UpdateVCSProviderBatch(batch genericBatch, params UpdateVCSProviderParams) // UpdateVCSProviderScan scans the result of an executed UpdateVCSProviderBatch query. UpdateVCSProviderScan(results pgx.BatchResults) (UpdateVCSProviderRow, 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) 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, params CountWorkspacesParams) (pgtype.Int8, error) // CountWorkspacesBatch enqueues a CountWorkspaces query into batch to be executed // later by the batch. CountWorkspacesBatch(batch genericBatch, params CountWorkspacesParams) // CountWorkspacesScan scans the result of an executed CountWorkspacesBatch query. CountWorkspacesScan(results pgx.BatchResults) (pgtype.Int8, error) FindWorkspacesByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) ([]FindWorkspacesByConnectionRow, error) // FindWorkspacesByConnectionBatch enqueues a FindWorkspacesByConnection query into batch to be executed // later by the batch. FindWorkspacesByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text) // FindWorkspacesByConnectionScan scans the result of an executed FindWorkspacesByConnectionBatch query. FindWorkspacesByConnectionScan(results pgx.BatchResults) ([]FindWorkspacesByConnectionRow, 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) (pgtype.Int8, 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) (pgtype.Int8, 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) FindWorkspacePermissionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspacePermissionsByWorkspaceIDRow, error) // FindWorkspacePermissionsByWorkspaceIDBatch enqueues a FindWorkspacePermissionsByWorkspaceID query into batch to be executed // later by the batch. FindWorkspacePermissionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindWorkspacePermissionsByWorkspaceIDScan scans the result of an executed FindWorkspacePermissionsByWorkspaceIDBatch query. FindWorkspacePermissionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspacePermissionsByWorkspaceIDRow, error) DeleteWorkspacePermissionByID(ctx context.Context, workspaceID pgtype.Text, teamID 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, teamID pgtype.Text) // DeleteWorkspacePermissionByIDScan scans the result of an executed DeleteWorkspacePermissionByIDBatch query. DeleteWorkspacePermissionByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error) InsertWorkspaceVariable(ctx context.Context, variableID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error) // InsertWorkspaceVariableBatch enqueues a InsertWorkspaceVariable query into batch to be executed // later by the batch. InsertWorkspaceVariableBatch(batch genericBatch, variableID pgtype.Text, workspaceID pgtype.Text) // InsertWorkspaceVariableScan scans the result of an executed InsertWorkspaceVariableBatch query. InsertWorkspaceVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error) FindWorkspaceVariablesByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspaceVariablesByWorkspaceIDRow, error) // FindWorkspaceVariablesByWorkspaceIDBatch enqueues a FindWorkspaceVariablesByWorkspaceID query into batch to be executed // later by the batch. FindWorkspaceVariablesByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text) // FindWorkspaceVariablesByWorkspaceIDScan scans the result of an executed FindWorkspaceVariablesByWorkspaceIDBatch query. FindWorkspaceVariablesByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspaceVariablesByWorkspaceIDRow, error) FindWorkspaceVariableByVariableID(ctx context.Context, variableID pgtype.Text) (FindWorkspaceVariableByVariableIDRow, error) // FindWorkspaceVariableByVariableIDBatch enqueues a FindWorkspaceVariableByVariableID query into batch to be executed // later by the batch. FindWorkspaceVariableByVariableIDBatch(batch genericBatch, variableID pgtype.Text) // FindWorkspaceVariableByVariableIDScan scans the result of an executed FindWorkspaceVariableByVariableIDBatch query. FindWorkspaceVariableByVariableIDScan(results pgx.BatchResults) (FindWorkspaceVariableByVariableIDRow, error) DeleteWorkspaceVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteWorkspaceVariableByIDRow, error) // DeleteWorkspaceVariableByIDBatch enqueues a DeleteWorkspaceVariableByID query into batch to be executed // later by the batch. DeleteWorkspaceVariableByIDBatch(batch genericBatch, variableID pgtype.Text) // DeleteWorkspaceVariableByIDScan scans the result of an executed DeleteWorkspaceVariableByIDBatch query. DeleteWorkspaceVariableByIDScan(results pgx.BatchResults) (DeleteWorkspaceVariableByIDRow, 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 ¶
type RepoConnections struct { ModuleID pgtype.Text `json:"module_id"` WorkspaceID pgtype.Text `json:"workspace_id"` RepoPath pgtype.Text `json:"repo_path"` VCSProviderID pgtype.Text `json:"vcs_provider_id"` }
RepoConnections represents the Postgres composite type "repo_connections".
type Report ¶
type Report struct { Additions pgtype.Int4 `json:"additions"` Changes pgtype.Int4 `json:"changes"` Destructions pgtype.Int4 `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 RunVariables ¶ added in v0.1.8
type RunVariables struct { RunID pgtype.Text `json:"run_id"` Key pgtype.Text `json:"key"` Value pgtype.Text `json:"value"` }
RunVariables represents the Postgres composite type "run_variables".
type Runs ¶
type Runs struct { RunID pgtype.Text `json:"run_id"` CreatedAt pgtype.Timestamptz `json:"created_at"` CancelSignaledAt pgtype.Timestamptz `json:"cancel_signaled_at"` IsDestroy pgtype.Bool `json:"is_destroy"` PositionInQueue pgtype.Int4 `json:"position_in_queue"` Refresh pgtype.Bool `json:"refresh"` RefreshOnly pgtype.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 pgtype.Bool `json:"auto_apply"` PlanOnly pgtype.Bool `json:"plan_only"` CreatedBy pgtype.Text `json:"created_by"` Source pgtype.Text `json:"source"` TerraformVersion pgtype.Text `json:"terraform_version"` AllowEmptyApply pgtype.Bool `json:"allow_empty_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 pgtype.Bool `json:"sensitive"` Type pgtype.Text `json:"type"` Value []byte `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 pgtype.Bool `json:"permission_manage_workspaces"` PermissionManageVCS pgtype.Bool `json:"permission_manage_vcs"` PermissionManageModules pgtype.Bool `json:"permission_manage_modules"` OrganizationName pgtype.Text `json:"organization_name"` SSOTeamID pgtype.Text `json:"sso_team_id"` Visibility pgtype.Text `json:"visibility"` PermissionManagePolicies pgtype.Bool `json:"permission_manage_policies"` PermissionManagePolicyOverrides pgtype.Bool `json:"permission_manage_policy_overrides"` PermissionManageProviders pgtype.Bool `json:"permission_manage_providers"` }
Teams represents the Postgres composite type "teams".
type UpdateAgentParams ¶ added in v0.2.0
type UpdateAgentParams struct { Status pgtype.Text LastPingAt pgtype.Timestamptz LastStatusAt pgtype.Timestamptz AgentID pgtype.Text }
type UpdateAgentPoolParams ¶ added in v0.2.0
type UpdateAgentPoolRow ¶ added in v0.2.0
type UpdateAgentRow ¶ added in v0.2.0
type UpdateAgentRow struct { AgentID pgtype.Text `json:"agent_id"` Name pgtype.Text `json:"name"` Version pgtype.Text `json:"version"` MaxJobs pgtype.Int4 `json:"max_jobs"` IPAddress pgtype.Inet `json:"ip_address"` LastPingAt pgtype.Timestamptz `json:"last_ping_at"` LastStatusAt pgtype.Timestamptz `json:"last_status_at"` Status pgtype.Text `json:"status"` AgentPoolID pgtype.Text `json:"agent_pool_id"` }
type UpdateJobParams ¶ added in v0.2.0
type UpdateJobRow ¶ added in v0.2.0
type UpdateModuleVersionStatusByIDRow ¶
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 UpdateRepohookVCSIDRow ¶ added in v0.1.14
type UpdateTeamByIDParams ¶
type UpdateTeamByIDParams struct { Name pgtype.Text Visibility pgtype.Text SSOTeamID pgtype.Text PermissionManageWorkspaces pgtype.Bool PermissionManageVCS pgtype.Bool PermissionManageModules pgtype.Bool PermissionManageProviders pgtype.Bool PermissionManagePolicies pgtype.Bool PermissionManagePolicyOverrides pgtype.Bool TeamID pgtype.Text }
type UpdateVCSProviderParams ¶ added in v0.1.11
type UpdateVCSProviderRow ¶ added in v0.1.11
type UpdateVCSProviderRow struct { VCSProviderID pgtype.Text `json:"vcs_provider_id"` Token pgtype.Text `json:"token"` CreatedAt pgtype.Timestamptz `json:"created_at"` Name pgtype.Text `json:"name"` VCSKind pgtype.Text `json:"vcs_kind"` OrganizationName pgtype.Text `json:"organization_name"` GithubAppID pgtype.Int8 `json:"github_app_id"` }
type UpdateVariableSetByIDParams ¶ added in v0.1.9
type UpdateWorkspaceByIDParams ¶
type UpdateWorkspaceByIDParams struct { AgentPoolID pgtype.Text AllowDestroyPlan pgtype.Bool AllowCLIApply pgtype.Bool AutoApply pgtype.Bool Branch pgtype.Text Description pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []string TriggerPatterns []string VCSTagsRegex pgtype.Text WorkingDirectory pgtype.Text UpdatedAt pgtype.Timestamptz ID pgtype.Text }
type UpsertOrganizationTokenParams ¶ added in v0.1.0
type UpsertOrganizationTokenParams struct { OrganizationTokenID pgtype.Text CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Expiry pgtype.Timestamptz }
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 pgtype.Bool `json:"site_admin"` }
Users represents the Postgres composite type "users".
type Variables ¶ added in v0.1.9
type Variables 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 pgtype.Bool `json:"sensitive"` HCL pgtype.Bool `json:"hcl"` VersionID pgtype.Text `json:"version_id"` }
Variables represents the Postgres composite type "variables".
Source Files ¶
- agent.sql.go
- agent_pool.sql.go
- agent_token.sql.go
- apply.sql.go
- configuration_version.sql.go
- github_app.sql.go
- ingress_attributes.sql.go
- job.sql.go
- module.sql.go
- notification_configuration.sql.go
- organization.sql.go
- organization_membership.sql.go
- organization_token.sql.go
- phase.sql.go
- plan.sql.go
- releases.sql.go
- repo_connections.sql.go
- repohook.sql.go
- run.sql.go
- state_version.sql.go
- state_version_output.sql.go
- tags.sql.go
- team.sql.go
- team_membership.sql.go
- team_token.sql.go
- token.sql.go
- user.sql.go
- variable.sql.go
- variable_set.sql.go
- vcs_provider.sql.go
- workspace.sql.go
- workspace_lock.sql.go
- workspace_permission.sql.go
- workspace_variable.sql.go