pggen

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareAllQueries

func PrepareAllQueries(ctx context.Context, p preparer) error

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 CountRunsParams struct {
	OrganizationNames []string
	WorkspaceIds      []string
	WorkspaceNames    []string
	Sources           []string
	Statuses          []string
	PlanOnly          []string
	CommitSHA         pgtype.Text
	VCSUsername       pgtype.Text
}

type CountWorkspacesParams

type CountWorkspacesParams struct {
	Search            pgtype.Text
	OrganizationNames []string
	Tags              []string
}

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

func (q *DBQuerier) CountOrganizations(ctx context.Context, names []string) (pgtype.Int8, error)

CountOrganizations implements Querier.CountOrganizations.

func (*DBQuerier) CountOrganizationsBatch

func (q *DBQuerier) CountOrganizationsBatch(batch genericBatch, names []string)

CountOrganizationsBatch implements Querier.CountOrganizationsBatch.

func (*DBQuerier) CountOrganizationsScan

func (q *DBQuerier) CountOrganizationsScan(results pgx.BatchResults) (pgtype.Int8, error)

CountOrganizationsScan implements Querier.CountOrganizationsScan.

func (*DBQuerier) CountRuns

func (q *DBQuerier) CountRuns(ctx context.Context, params CountRunsParams) (pgtype.Int8, error)

CountRuns implements Querier.CountRuns.

func (*DBQuerier) CountRunsBatch

func (q *DBQuerier) CountRunsBatch(batch genericBatch, params CountRunsParams)

CountRunsBatch implements Querier.CountRunsBatch.

func (*DBQuerier) CountRunsScan

func (q *DBQuerier) CountRunsScan(results pgx.BatchResults) (pgtype.Int8, error)

CountRunsScan implements Querier.CountRunsScan.

func (*DBQuerier) CountStateVersionsByWorkspaceID

func (q *DBQuerier) CountStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgtype.Int8, error)

CountStateVersionsByWorkspaceID implements Querier.CountStateVersionsByWorkspaceID.

func (*DBQuerier) CountStateVersionsByWorkspaceIDBatch

func (q *DBQuerier) CountStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)

CountStateVersionsByWorkspaceIDBatch implements Querier.CountStateVersionsByWorkspaceIDBatch.

func (*DBQuerier) CountStateVersionsByWorkspaceIDScan

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

func (q *DBQuerier) CountTagsBatch(batch genericBatch, organizationName pgtype.Text)

CountTagsBatch implements Querier.CountTagsBatch.

func (*DBQuerier) CountTagsScan

func (q *DBQuerier) CountTagsScan(results pgx.BatchResults) (pgtype.Int8, error)

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

func (q *DBQuerier) CountWorkspaceTagsBatch(batch genericBatch, workspaceID pgtype.Text)

CountWorkspaceTagsBatch implements Querier.CountWorkspaceTagsBatch.

func (*DBQuerier) CountWorkspaceTagsScan

func (q *DBQuerier) CountWorkspaceTagsScan(results pgx.BatchResults) (pgtype.Int8, error)

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

func (q *DBQuerier) CountWorkspacesByUsernameScan(results pgx.BatchResults) (pgtype.Int8, error)

CountWorkspacesByUsernameScan implements Querier.CountWorkspacesByUsernameScan.

func (*DBQuerier) CountWorkspacesScan

func (q *DBQuerier) CountWorkspacesScan(results pgx.BatchResults) (pgtype.Int8, error)

CountWorkspacesScan implements Querier.CountWorkspacesScan.

func (*DBQuerier) DeleteAgent

func (q *DBQuerier) DeleteAgent(ctx context.Context, agentID pgtype.Text) (DeleteAgentRow, error)

DeleteAgent implements Querier.DeleteAgent.

func (*DBQuerier) DeleteAgentBatch

func (q *DBQuerier) DeleteAgentBatch(batch genericBatch, agentID pgtype.Text)

DeleteAgentBatch implements Querier.DeleteAgentBatch.

func (*DBQuerier) DeleteAgentPool

func (q *DBQuerier) DeleteAgentPool(ctx context.Context, poolID pgtype.Text) (DeleteAgentPoolRow, error)

DeleteAgentPool implements Querier.DeleteAgentPool.

func (*DBQuerier) DeleteAgentPoolAllowedWorkspace

func (q *DBQuerier) DeleteAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)

DeleteAgentPoolAllowedWorkspace implements Querier.DeleteAgentPoolAllowedWorkspace.

func (*DBQuerier) DeleteAgentPoolAllowedWorkspaceBatch

func (q *DBQuerier) DeleteAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text)

DeleteAgentPoolAllowedWorkspaceBatch implements Querier.DeleteAgentPoolAllowedWorkspaceBatch.

func (*DBQuerier) DeleteAgentPoolAllowedWorkspaceScan

func (q *DBQuerier) DeleteAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)

DeleteAgentPoolAllowedWorkspaceScan implements Querier.DeleteAgentPoolAllowedWorkspaceScan.

func (*DBQuerier) DeleteAgentPoolBatch

func (q *DBQuerier) DeleteAgentPoolBatch(batch genericBatch, poolID pgtype.Text)

DeleteAgentPoolBatch implements Querier.DeleteAgentPoolBatch.

func (*DBQuerier) DeleteAgentPoolScan

func (q *DBQuerier) DeleteAgentPoolScan(results pgx.BatchResults) (DeleteAgentPoolRow, error)

DeleteAgentPoolScan implements Querier.DeleteAgentPoolScan.

func (*DBQuerier) DeleteAgentScan

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

func (q *DBQuerier) DeleteAgentTokenByIDBatch(batch genericBatch, agentTokenID pgtype.Text)

DeleteAgentTokenByIDBatch implements Querier.DeleteAgentTokenByIDBatch.

func (*DBQuerier) DeleteAgentTokenByIDScan

func (q *DBQuerier) DeleteAgentTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteConfigurationVersionByIDBatch(batch genericBatch, id pgtype.Text)

DeleteConfigurationVersionByIDBatch implements Querier.DeleteConfigurationVersionByIDBatch.

func (*DBQuerier) DeleteConfigurationVersionByIDScan

func (q *DBQuerier) DeleteConfigurationVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)

DeleteConfigurationVersionByIDScan implements Querier.DeleteConfigurationVersionByIDScan.

func (*DBQuerier) DeleteGPGKey added in v0.9.0

func (q *DBQuerier) DeleteGPGKey(ctx context.Context, keyID pgtype.Text, organizationName pgtype.Text) (pgconn.CommandTag, error)

DeleteGPGKey implements Querier.DeleteGPGKey.

func (*DBQuerier) DeleteGPGKeyBatch added in v0.9.0

func (q *DBQuerier) DeleteGPGKeyBatch(batch genericBatch, keyID pgtype.Text, organizationName pgtype.Text)

DeleteGPGKeyBatch implements Querier.DeleteGPGKeyBatch.

func (*DBQuerier) DeleteGPGKeyScan added in v0.9.0

func (q *DBQuerier) DeleteGPGKeyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

DeleteGPGKeyScan implements Querier.DeleteGPGKeyScan.

func (*DBQuerier) DeleteGithubApp

func (q *DBQuerier) DeleteGithubApp(ctx context.Context, githubAppID pgtype.Int8) (DeleteGithubAppRow, error)

DeleteGithubApp implements Querier.DeleteGithubApp.

func (*DBQuerier) DeleteGithubAppBatch

func (q *DBQuerier) DeleteGithubAppBatch(batch genericBatch, githubAppID pgtype.Int8)

DeleteGithubAppBatch implements Querier.DeleteGithubAppBatch.

func (*DBQuerier) DeleteGithubAppScan

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

func (q *DBQuerier) DeleteModuleByIDBatch(batch genericBatch, moduleID pgtype.Text)

DeleteModuleByIDBatch implements Querier.DeleteModuleByIDBatch.

func (*DBQuerier) DeleteModuleByIDScan

func (q *DBQuerier) DeleteModuleByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteModuleConnectionByIDBatch(batch genericBatch, moduleID pgtype.Text)

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

func (q *DBQuerier) DeleteModuleVersionByIDBatch(batch genericBatch, moduleVersionID pgtype.Text)

DeleteModuleVersionByIDBatch implements Querier.DeleteModuleVersionByIDBatch.

func (*DBQuerier) DeleteModuleVersionByIDScan

func (q *DBQuerier) DeleteModuleVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteOrganiationTokenByName(ctx context.Context, organizationName pgtype.Text) (pgtype.Text, error)

DeleteOrganiationTokenByName implements Querier.DeleteOrganiationTokenByName.

func (*DBQuerier) DeleteOrganiationTokenByNameBatch

func (q *DBQuerier) DeleteOrganiationTokenByNameBatch(batch genericBatch, organizationName pgtype.Text)

DeleteOrganiationTokenByNameBatch implements Querier.DeleteOrganiationTokenByNameBatch.

func (*DBQuerier) DeleteOrganiationTokenByNameScan

func (q *DBQuerier) DeleteOrganiationTokenByNameScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteOrganizationByNameBatch(batch genericBatch, name pgtype.Text)

DeleteOrganizationByNameBatch implements Querier.DeleteOrganizationByNameBatch.

func (*DBQuerier) DeleteOrganizationByNameScan

func (q *DBQuerier) DeleteOrganizationByNameScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteOrganizationMembershipScan(results pgx.BatchResults) (pgtype.Text, error)

DeleteOrganizationMembershipScan implements Querier.DeleteOrganizationMembershipScan.

func (*DBQuerier) DeleteRepohookByID

func (q *DBQuerier) DeleteRepohookByID(ctx context.Context, repohookID pgtype.UUID) (DeleteRepohookByIDRow, error)

DeleteRepohookByID implements Querier.DeleteRepohookByID.

func (*DBQuerier) DeleteRepohookByIDBatch

func (q *DBQuerier) DeleteRepohookByIDBatch(batch genericBatch, repohookID pgtype.UUID)

DeleteRepohookByIDBatch implements Querier.DeleteRepohookByIDBatch.

func (*DBQuerier) DeleteRepohookByIDScan

func (q *DBQuerier) DeleteRepohookByIDScan(results pgx.BatchResults) (DeleteRepohookByIDRow, error)

DeleteRepohookByIDScan implements Querier.DeleteRepohookByIDScan.

func (*DBQuerier) DeleteRunByID

func (q *DBQuerier) DeleteRunByID(ctx context.Context, runID pgtype.Text) (pgtype.Text, error)

DeleteRunByID implements Querier.DeleteRunByID.

func (*DBQuerier) DeleteRunByIDBatch

func (q *DBQuerier) DeleteRunByIDBatch(batch genericBatch, runID pgtype.Text)

DeleteRunByIDBatch implements Querier.DeleteRunByIDBatch.

func (*DBQuerier) DeleteRunByIDScan

func (q *DBQuerier) DeleteRunByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteStateVersionByIDBatch(batch genericBatch, stateVersionID pgtype.Text)

DeleteStateVersionByIDBatch implements Querier.DeleteStateVersionByIDBatch.

func (*DBQuerier) DeleteStateVersionByIDScan

func (q *DBQuerier) DeleteStateVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteTagScan(results pgx.BatchResults) (pgtype.Text, error)

DeleteTagScan implements Querier.DeleteTagScan.

func (*DBQuerier) DeleteTeamByID

func (q *DBQuerier) DeleteTeamByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)

DeleteTeamByID implements Querier.DeleteTeamByID.

func (*DBQuerier) DeleteTeamByIDBatch

func (q *DBQuerier) DeleteTeamByIDBatch(batch genericBatch, teamID pgtype.Text)

DeleteTeamByIDBatch implements Querier.DeleteTeamByIDBatch.

func (*DBQuerier) DeleteTeamByIDScan

func (q *DBQuerier) DeleteTeamByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteTeamMembershipScan(results pgx.BatchResults) ([]pgtype.Text, error)

DeleteTeamMembershipScan implements Querier.DeleteTeamMembershipScan.

func (*DBQuerier) DeleteTeamTokenByID

func (q *DBQuerier) DeleteTeamTokenByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)

DeleteTeamTokenByID implements Querier.DeleteTeamTokenByID.

func (*DBQuerier) DeleteTeamTokenByIDBatch

func (q *DBQuerier) DeleteTeamTokenByIDBatch(batch genericBatch, teamID pgtype.Text)

DeleteTeamTokenByIDBatch implements Querier.DeleteTeamTokenByIDBatch.

func (*DBQuerier) DeleteTeamTokenByIDScan

func (q *DBQuerier) DeleteTeamTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error)

DeleteTeamTokenByIDScan implements Querier.DeleteTeamTokenByIDScan.

func (*DBQuerier) DeleteTokenByID

func (q *DBQuerier) DeleteTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error)

DeleteTokenByID implements Querier.DeleteTokenByID.

func (*DBQuerier) DeleteTokenByIDBatch

func (q *DBQuerier) DeleteTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)

DeleteTokenByIDBatch implements Querier.DeleteTokenByIDBatch.

func (*DBQuerier) DeleteTokenByIDScan

func (q *DBQuerier) DeleteTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error)

DeleteTokenByIDScan implements Querier.DeleteTokenByIDScan.

func (*DBQuerier) DeleteUserByID

func (q *DBQuerier) DeleteUserByID(ctx context.Context, userID pgtype.Text) (pgtype.Text, error)

DeleteUserByID implements Querier.DeleteUserByID.

func (*DBQuerier) DeleteUserByIDBatch

func (q *DBQuerier) DeleteUserByIDBatch(batch genericBatch, userID pgtype.Text)

DeleteUserByIDBatch implements Querier.DeleteUserByIDBatch.

func (*DBQuerier) DeleteUserByIDScan

func (q *DBQuerier) DeleteUserByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteUserByUsernameBatch(batch genericBatch, username pgtype.Text)

DeleteUserByUsernameBatch implements Querier.DeleteUserByUsernameBatch.

func (*DBQuerier) DeleteUserByUsernameScan

func (q *DBQuerier) DeleteUserByUsernameScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteVCSProviderByIDBatch(batch genericBatch, vcsProviderID pgtype.Text)

DeleteVCSProviderByIDBatch implements Querier.DeleteVCSProviderByIDBatch.

func (*DBQuerier) DeleteVCSProviderByIDScan

func (q *DBQuerier) DeleteVCSProviderByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) DeleteVariableByIDBatch(batch genericBatch, variableID pgtype.Text)

DeleteVariableByIDBatch implements Querier.DeleteVariableByIDBatch.

func (*DBQuerier) DeleteVariableByIDScan

func (q *DBQuerier) DeleteVariableByIDScan(results pgx.BatchResults) (DeleteVariableByIDRow, error)

DeleteVariableByIDScan implements Querier.DeleteVariableByIDScan.

func (*DBQuerier) DeleteVariableSetByID

func (q *DBQuerier) DeleteVariableSetByID(ctx context.Context, variableSetID pgtype.Text) (DeleteVariableSetByIDRow, error)

DeleteVariableSetByID implements Querier.DeleteVariableSetByID.

func (*DBQuerier) DeleteVariableSetByIDBatch

func (q *DBQuerier) DeleteVariableSetByIDBatch(batch genericBatch, variableSetID pgtype.Text)

DeleteVariableSetByIDBatch implements Querier.DeleteVariableSetByIDBatch.

func (*DBQuerier) DeleteVariableSetByIDScan

func (q *DBQuerier) DeleteVariableSetByIDScan(results pgx.BatchResults) (DeleteVariableSetByIDRow, error)

DeleteVariableSetByIDScan implements Querier.DeleteVariableSetByIDScan.

func (*DBQuerier) DeleteVariableSetVariable

func (q *DBQuerier) DeleteVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (DeleteVariableSetVariableRow, error)

DeleteVariableSetVariable implements Querier.DeleteVariableSetVariable.

func (*DBQuerier) DeleteVariableSetVariableBatch

func (q *DBQuerier) DeleteVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text)

DeleteVariableSetVariableBatch implements Querier.DeleteVariableSetVariableBatch.

func (*DBQuerier) DeleteVariableSetVariableScan

func (q *DBQuerier) DeleteVariableSetVariableScan(results pgx.BatchResults) (DeleteVariableSetVariableRow, error)

DeleteVariableSetVariableScan implements Querier.DeleteVariableSetVariableScan.

func (*DBQuerier) DeleteVariableSetWorkspace

func (q *DBQuerier) DeleteVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (DeleteVariableSetWorkspaceRow, error)

DeleteVariableSetWorkspace implements Querier.DeleteVariableSetWorkspace.

func (*DBQuerier) DeleteVariableSetWorkspaceBatch

func (q *DBQuerier) DeleteVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text)

DeleteVariableSetWorkspaceBatch implements Querier.DeleteVariableSetWorkspaceBatch.

func (*DBQuerier) DeleteVariableSetWorkspaceScan

func (q *DBQuerier) DeleteVariableSetWorkspaceScan(results pgx.BatchResults) (DeleteVariableSetWorkspaceRow, error)

DeleteVariableSetWorkspaceScan implements Querier.DeleteVariableSetWorkspaceScan.

func (*DBQuerier) DeleteVariableSetWorkspaces

func (q *DBQuerier) DeleteVariableSetWorkspaces(ctx context.Context, variableSetID pgtype.Text) (pgconn.CommandTag, error)

DeleteVariableSetWorkspaces implements Querier.DeleteVariableSetWorkspaces.

func (*DBQuerier) DeleteVariableSetWorkspacesBatch

func (q *DBQuerier) DeleteVariableSetWorkspacesBatch(batch genericBatch, variableSetID pgtype.Text)

DeleteVariableSetWorkspacesBatch implements Querier.DeleteVariableSetWorkspacesBatch.

func (*DBQuerier) DeleteVariableSetWorkspacesScan

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

func (q *DBQuerier) DeleteWorkspaceByIDBatch(batch genericBatch, workspaceID pgtype.Text)

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

func (q *DBQuerier) DeleteWorkspaceConnectionByIDBatch(batch genericBatch, workspaceID pgtype.Text)

DeleteWorkspaceConnectionByIDBatch implements Querier.DeleteWorkspaceConnectionByIDBatch.

func (*DBQuerier) DeleteWorkspaceConnectionByIDScan

func (q *DBQuerier) DeleteWorkspaceConnectionByIDScan(results pgx.BatchResults) (DeleteWorkspaceConnectionByIDRow, error)

DeleteWorkspaceConnectionByIDScan implements Querier.DeleteWorkspaceConnectionByIDScan.

func (*DBQuerier) DeleteWorkspaceLock

func (q *DBQuerier) DeleteWorkspaceLock(ctx context.Context, workspaceID string) (string, error)

DeleteWorkspaceLock implements Querier.DeleteWorkspaceLock.

func (*DBQuerier) DeleteWorkspaceLockBatch

func (q *DBQuerier) DeleteWorkspaceLockBatch(batch genericBatch, workspaceID string)

DeleteWorkspaceLockBatch implements Querier.DeleteWorkspaceLockBatch.

func (*DBQuerier) DeleteWorkspaceLockScan

func (q *DBQuerier) DeleteWorkspaceLockScan(results pgx.BatchResults) (string, error)

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

func (q *DBQuerier) DeleteWorkspaceTagScan(results pgx.BatchResults) (pgtype.Text, error)

DeleteWorkspaceTagScan implements Querier.DeleteWorkspaceTagScan.

func (*DBQuerier) DeleteWorkspaceVariableByID

func (q *DBQuerier) DeleteWorkspaceVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteWorkspaceVariableByIDRow, error)

DeleteWorkspaceVariableByID implements Querier.DeleteWorkspaceVariableByID.

func (*DBQuerier) DeleteWorkspaceVariableByIDBatch

func (q *DBQuerier) DeleteWorkspaceVariableByIDBatch(batch genericBatch, variableID pgtype.Text)

DeleteWorkspaceVariableByIDBatch implements Querier.DeleteWorkspaceVariableByIDBatch.

func (*DBQuerier) DeleteWorkspaceVariableByIDScan

func (q *DBQuerier) DeleteWorkspaceVariableByIDScan(results pgx.BatchResults) (DeleteWorkspaceVariableByIDRow, error)

DeleteWorkspaceVariableByIDScan implements Querier.DeleteWorkspaceVariableByIDScan.

func (*DBQuerier) DiscardPendingStateVersionsByWorkspaceID

func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (pgconn.CommandTag, error)

DiscardPendingStateVersionsByWorkspaceID implements Querier.DiscardPendingStateVersionsByWorkspaceID.

func (*DBQuerier) DiscardPendingStateVersionsByWorkspaceIDBatch

func (q *DBQuerier) DiscardPendingStateVersionsByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)

DiscardPendingStateVersionsByWorkspaceIDBatch implements Querier.DiscardPendingStateVersionsByWorkspaceIDBatch.

func (*DBQuerier) DiscardPendingStateVersionsByWorkspaceIDScan

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

func (q *DBQuerier) DownloadConfigurationVersionScan(results pgx.BatchResults) ([]byte, error)

DownloadConfigurationVersionScan implements Querier.DownloadConfigurationVersionScan.

func (*DBQuerier) FindAgentByID

func (q *DBQuerier) FindAgentByID(ctx context.Context, agentID pgtype.Text) (FindAgentByIDRow, error)

FindAgentByID implements Querier.FindAgentByID.

func (*DBQuerier) FindAgentByIDBatch

func (q *DBQuerier) FindAgentByIDBatch(batch genericBatch, agentID pgtype.Text)

FindAgentByIDBatch implements Querier.FindAgentByIDBatch.

func (*DBQuerier) FindAgentByIDForUpdate

func (q *DBQuerier) FindAgentByIDForUpdate(ctx context.Context, agentID pgtype.Text) (FindAgentByIDForUpdateRow, error)

FindAgentByIDForUpdate implements Querier.FindAgentByIDForUpdate.

func (*DBQuerier) FindAgentByIDForUpdateBatch

func (q *DBQuerier) FindAgentByIDForUpdateBatch(batch genericBatch, agentID pgtype.Text)

FindAgentByIDForUpdateBatch implements Querier.FindAgentByIDForUpdateBatch.

func (*DBQuerier) FindAgentByIDForUpdateScan

func (q *DBQuerier) FindAgentByIDForUpdateScan(results pgx.BatchResults) (FindAgentByIDForUpdateRow, error)

FindAgentByIDForUpdateScan implements Querier.FindAgentByIDForUpdateScan.

func (*DBQuerier) FindAgentByIDScan

func (q *DBQuerier) FindAgentByIDScan(results pgx.BatchResults) (FindAgentByIDRow, error)

FindAgentByIDScan implements Querier.FindAgentByIDScan.

func (*DBQuerier) FindAgentPool

func (q *DBQuerier) FindAgentPool(ctx context.Context, poolID pgtype.Text) (FindAgentPoolRow, error)

FindAgentPool implements Querier.FindAgentPool.

func (*DBQuerier) FindAgentPoolBatch

func (q *DBQuerier) FindAgentPoolBatch(batch genericBatch, poolID pgtype.Text)

FindAgentPoolBatch implements Querier.FindAgentPoolBatch.

func (*DBQuerier) FindAgentPoolByAgentTokenID

func (q *DBQuerier) FindAgentPoolByAgentTokenID(ctx context.Context, agentTokenID pgtype.Text) (FindAgentPoolByAgentTokenIDRow, error)

FindAgentPoolByAgentTokenID implements Querier.FindAgentPoolByAgentTokenID.

func (*DBQuerier) FindAgentPoolByAgentTokenIDBatch

func (q *DBQuerier) FindAgentPoolByAgentTokenIDBatch(batch genericBatch, agentTokenID pgtype.Text)

FindAgentPoolByAgentTokenIDBatch implements Querier.FindAgentPoolByAgentTokenIDBatch.

func (*DBQuerier) FindAgentPoolByAgentTokenIDScan

func (q *DBQuerier) FindAgentPoolByAgentTokenIDScan(results pgx.BatchResults) (FindAgentPoolByAgentTokenIDRow, error)

FindAgentPoolByAgentTokenIDScan implements Querier.FindAgentPoolByAgentTokenIDScan.

func (*DBQuerier) FindAgentPoolScan

func (q *DBQuerier) FindAgentPoolScan(results pgx.BatchResults) (FindAgentPoolRow, error)

FindAgentPoolScan implements Querier.FindAgentPoolScan.

func (*DBQuerier) FindAgentPools

func (q *DBQuerier) FindAgentPools(ctx context.Context) ([]FindAgentPoolsRow, error)

FindAgentPools implements Querier.FindAgentPools.

func (*DBQuerier) FindAgentPoolsBatch

func (q *DBQuerier) FindAgentPoolsBatch(batch genericBatch)

FindAgentPoolsBatch implements Querier.FindAgentPoolsBatch.

func (*DBQuerier) FindAgentPoolsByOrganization

func (q *DBQuerier) FindAgentPoolsByOrganization(ctx context.Context, params FindAgentPoolsByOrganizationParams) ([]FindAgentPoolsByOrganizationRow, error)

FindAgentPoolsByOrganization implements Querier.FindAgentPoolsByOrganization.

func (*DBQuerier) FindAgentPoolsByOrganizationBatch

func (q *DBQuerier) FindAgentPoolsByOrganizationBatch(batch genericBatch, params FindAgentPoolsByOrganizationParams)

FindAgentPoolsByOrganizationBatch implements Querier.FindAgentPoolsByOrganizationBatch.

func (*DBQuerier) FindAgentPoolsByOrganizationScan

func (q *DBQuerier) FindAgentPoolsByOrganizationScan(results pgx.BatchResults) ([]FindAgentPoolsByOrganizationRow, error)

FindAgentPoolsByOrganizationScan implements Querier.FindAgentPoolsByOrganizationScan.

func (*DBQuerier) FindAgentPoolsScan

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

func (q *DBQuerier) FindAgentTokenByIDBatch(batch genericBatch, agentTokenID pgtype.Text)

FindAgentTokenByIDBatch implements Querier.FindAgentTokenByIDBatch.

func (*DBQuerier) FindAgentTokenByIDScan

func (q *DBQuerier) FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error)

FindAgentTokenByIDScan implements Querier.FindAgentTokenByIDScan.

func (*DBQuerier) FindAgentTokensByAgentPoolID

func (q *DBQuerier) FindAgentTokensByAgentPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentTokensByAgentPoolIDRow, error)

FindAgentTokensByAgentPoolID implements Querier.FindAgentTokensByAgentPoolID.

func (*DBQuerier) FindAgentTokensByAgentPoolIDBatch

func (q *DBQuerier) FindAgentTokensByAgentPoolIDBatch(batch genericBatch, agentPoolID pgtype.Text)

FindAgentTokensByAgentPoolIDBatch implements Querier.FindAgentTokensByAgentPoolIDBatch.

func (*DBQuerier) FindAgentTokensByAgentPoolIDScan

func (q *DBQuerier) FindAgentTokensByAgentPoolIDScan(results pgx.BatchResults) ([]FindAgentTokensByAgentPoolIDRow, error)

FindAgentTokensByAgentPoolIDScan implements Querier.FindAgentTokensByAgentPoolIDScan.

func (*DBQuerier) FindAgents

func (q *DBQuerier) FindAgents(ctx context.Context) ([]FindAgentsRow, error)

FindAgents implements Querier.FindAgents.

func (*DBQuerier) FindAgentsBatch

func (q *DBQuerier) FindAgentsBatch(batch genericBatch)

FindAgentsBatch implements Querier.FindAgentsBatch.

func (*DBQuerier) FindAgentsByOrganization

func (q *DBQuerier) FindAgentsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindAgentsByOrganizationRow, error)

FindAgentsByOrganization implements Querier.FindAgentsByOrganization.

func (*DBQuerier) FindAgentsByOrganizationBatch

func (q *DBQuerier) FindAgentsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)

FindAgentsByOrganizationBatch implements Querier.FindAgentsByOrganizationBatch.

func (*DBQuerier) FindAgentsByOrganizationScan

func (q *DBQuerier) FindAgentsByOrganizationScan(results pgx.BatchResults) ([]FindAgentsByOrganizationRow, error)

FindAgentsByOrganizationScan implements Querier.FindAgentsByOrganizationScan.

func (*DBQuerier) FindAgentsByPoolID

func (q *DBQuerier) FindAgentsByPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentsByPoolIDRow, error)

FindAgentsByPoolID implements Querier.FindAgentsByPoolID.

func (*DBQuerier) FindAgentsByPoolIDBatch

func (q *DBQuerier) FindAgentsByPoolIDBatch(batch genericBatch, agentPoolID pgtype.Text)

FindAgentsByPoolIDBatch implements Querier.FindAgentsByPoolIDBatch.

func (*DBQuerier) FindAgentsByPoolIDScan

func (q *DBQuerier) FindAgentsByPoolIDScan(results pgx.BatchResults) ([]FindAgentsByPoolIDRow, error)

FindAgentsByPoolIDScan implements Querier.FindAgentsByPoolIDScan.

func (*DBQuerier) FindAgentsScan

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

func (q *DBQuerier) FindAllocatedJobs(ctx context.Context, agentID pgtype.Text) ([]FindAllocatedJobsRow, error)

FindAllocatedJobs implements Querier.FindAllocatedJobs.

func (*DBQuerier) FindAllocatedJobsBatch

func (q *DBQuerier) FindAllocatedJobsBatch(batch genericBatch, agentID pgtype.Text)

FindAllocatedJobsBatch implements Querier.FindAllocatedJobsBatch.

func (*DBQuerier) FindAllocatedJobsScan

func (q *DBQuerier) FindAllocatedJobsScan(results pgx.BatchResults) ([]FindAllocatedJobsRow, error)

FindAllocatedJobsScan implements Querier.FindAllocatedJobsScan.

func (*DBQuerier) FindAndUpdateSignaledJobs

func (q *DBQuerier) FindAndUpdateSignaledJobs(ctx context.Context, agentID pgtype.Text) ([]FindAndUpdateSignaledJobsRow, error)

FindAndUpdateSignaledJobs implements Querier.FindAndUpdateSignaledJobs.

func (*DBQuerier) FindAndUpdateSignaledJobsBatch

func (q *DBQuerier) FindAndUpdateSignaledJobsBatch(batch genericBatch, agentID pgtype.Text)

FindAndUpdateSignaledJobsBatch implements Querier.FindAndUpdateSignaledJobsBatch.

func (*DBQuerier) FindAndUpdateSignaledJobsScan

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

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

func (q *DBQuerier) FindGithubApp(ctx context.Context) (FindGithubAppRow, error)

FindGithubApp implements Querier.FindGithubApp.

func (*DBQuerier) FindGithubAppBatch

func (q *DBQuerier) FindGithubAppBatch(batch genericBatch)

FindGithubAppBatch implements Querier.FindGithubAppBatch.

func (*DBQuerier) FindGithubAppScan

func (q *DBQuerier) FindGithubAppScan(results pgx.BatchResults) (FindGithubAppRow, error)

FindGithubAppScan implements Querier.FindGithubAppScan.

func (*DBQuerier) FindJob

func (q *DBQuerier) FindJob(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobRow, error)

FindJob implements Querier.FindJob.

func (*DBQuerier) FindJobBatch

func (q *DBQuerier) FindJobBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text)

FindJobBatch implements Querier.FindJobBatch.

func (*DBQuerier) FindJobForUpdate

func (q *DBQuerier) FindJobForUpdate(ctx context.Context, runID pgtype.Text, phase pgtype.Text) (FindJobForUpdateRow, error)

FindJobForUpdate implements Querier.FindJobForUpdate.

func (*DBQuerier) FindJobForUpdateBatch

func (q *DBQuerier) FindJobForUpdateBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text)

FindJobForUpdateBatch implements Querier.FindJobForUpdateBatch.

func (*DBQuerier) FindJobForUpdateScan

func (q *DBQuerier) FindJobForUpdateScan(results pgx.BatchResults) (FindJobForUpdateRow, error)

FindJobForUpdateScan implements Querier.FindJobForUpdateScan.

func (*DBQuerier) FindJobScan

func (q *DBQuerier) FindJobScan(results pgx.BatchResults) (FindJobRow, error)

FindJobScan implements Querier.FindJobScan.

func (*DBQuerier) FindJobs

func (q *DBQuerier) FindJobs(ctx context.Context) ([]FindJobsRow, error)

FindJobs implements Querier.FindJobs.

func (*DBQuerier) FindJobsBatch

func (q *DBQuerier) FindJobsBatch(batch genericBatch)

FindJobsBatch implements Querier.FindJobsBatch.

func (*DBQuerier) FindJobsScan

func (q *DBQuerier) FindJobsScan(results pgx.BatchResults) ([]FindJobsRow, error)

FindJobsScan implements Querier.FindJobsScan.

func (*DBQuerier) FindLatestTerraformVersion

func (q *DBQuerier) FindLatestTerraformVersion(ctx context.Context) ([]FindLatestTerraformVersionRow, error)

FindLatestTerraformVersion implements Querier.FindLatestTerraformVersion.

func (*DBQuerier) FindLatestTerraformVersionBatch

func (q *DBQuerier) FindLatestTerraformVersionBatch(batch genericBatch)

FindLatestTerraformVersionBatch implements Querier.FindLatestTerraformVersionBatch.

func (*DBQuerier) FindLatestTerraformVersionScan

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

func (q *DBQuerier) FindLogChunkByIDBatch(batch genericBatch, chunkID pgtype.Int4)

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

func (q *DBQuerier) FindLogsBatch(batch genericBatch, runID pgtype.Text, phase pgtype.Text)

FindLogsBatch implements Querier.FindLogsBatch.

func (*DBQuerier) FindLogsScan

func (q *DBQuerier) FindLogsScan(results pgx.BatchResults) ([]byte, error)

FindLogsScan implements Querier.FindLogsScan.

func (*DBQuerier) FindModuleByConnection

func (q *DBQuerier) FindModuleByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) (FindModuleByConnectionRow, error)

FindModuleByConnection implements Querier.FindModuleByConnection.

func (*DBQuerier) FindModuleByConnectionBatch

func (q *DBQuerier) FindModuleByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text)

FindModuleByConnectionBatch implements Querier.FindModuleByConnectionBatch.

func (*DBQuerier) FindModuleByConnectionScan

func (q *DBQuerier) FindModuleByConnectionScan(results pgx.BatchResults) (FindModuleByConnectionRow, error)

FindModuleByConnectionScan implements Querier.FindModuleByConnectionScan.

func (*DBQuerier) FindModuleByID

func (q *DBQuerier) FindModuleByID(ctx context.Context, id pgtype.Text) (FindModuleByIDRow, error)

FindModuleByID implements Querier.FindModuleByID.

func (*DBQuerier) FindModuleByIDBatch

func (q *DBQuerier) FindModuleByIDBatch(batch genericBatch, id pgtype.Text)

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

func (q *DBQuerier) FindModuleTarballBatch(batch genericBatch, moduleVersionID pgtype.Text)

FindModuleTarballBatch implements Querier.FindModuleTarballBatch.

func (*DBQuerier) FindModuleTarballScan

func (q *DBQuerier) FindModuleTarballScan(results pgx.BatchResults) ([]byte, error)

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

func (q *DBQuerier) FindOrganizationByIDBatch(batch genericBatch, organizationID pgtype.Text)

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

func (q *DBQuerier) FindOrganizationByNameBatch(batch genericBatch, name pgtype.Text)

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

func (q *DBQuerier) FindOrganizationByNameForUpdateBatch(batch genericBatch, name pgtype.Text)

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

func (q *DBQuerier) FindOrganizationTokens(ctx context.Context, organizationName pgtype.Text) ([]FindOrganizationTokensRow, error)

FindOrganizationTokens implements Querier.FindOrganizationTokens.

func (*DBQuerier) FindOrganizationTokensBatch

func (q *DBQuerier) FindOrganizationTokensBatch(batch genericBatch, organizationName pgtype.Text)

FindOrganizationTokensBatch implements Querier.FindOrganizationTokensBatch.

func (*DBQuerier) FindOrganizationTokensByID

func (q *DBQuerier) FindOrganizationTokensByID(ctx context.Context, organizationTokenID pgtype.Text) (FindOrganizationTokensByIDRow, error)

FindOrganizationTokensByID implements Querier.FindOrganizationTokensByID.

func (*DBQuerier) FindOrganizationTokensByIDBatch

func (q *DBQuerier) FindOrganizationTokensByIDBatch(batch genericBatch, organizationTokenID pgtype.Text)

FindOrganizationTokensByIDBatch implements Querier.FindOrganizationTokensByIDBatch.

func (*DBQuerier) FindOrganizationTokensByIDScan

func (q *DBQuerier) FindOrganizationTokensByIDScan(results pgx.BatchResults) (FindOrganizationTokensByIDRow, error)

FindOrganizationTokensByIDScan implements Querier.FindOrganizationTokensByIDScan.

func (*DBQuerier) FindOrganizationTokensByName

func (q *DBQuerier) FindOrganizationTokensByName(ctx context.Context, organizationName pgtype.Text) (FindOrganizationTokensByNameRow, error)

FindOrganizationTokensByName implements Querier.FindOrganizationTokensByName.

func (*DBQuerier) FindOrganizationTokensByNameBatch

func (q *DBQuerier) FindOrganizationTokensByNameBatch(batch genericBatch, organizationName pgtype.Text)

FindOrganizationTokensByNameBatch implements Querier.FindOrganizationTokensByNameBatch.

func (*DBQuerier) FindOrganizationTokensByNameScan

func (q *DBQuerier) FindOrganizationTokensByNameScan(results pgx.BatchResults) (FindOrganizationTokensByNameRow, error)

FindOrganizationTokensByNameScan implements Querier.FindOrganizationTokensByNameScan.

func (*DBQuerier) FindOrganizationTokensScan

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

func (q *DBQuerier) FindRepohookByID(ctx context.Context, repohookID pgtype.UUID) (FindRepohookByIDRow, error)

FindRepohookByID implements Querier.FindRepohookByID.

func (*DBQuerier) FindRepohookByIDBatch

func (q *DBQuerier) FindRepohookByIDBatch(batch genericBatch, repohookID pgtype.UUID)

FindRepohookByIDBatch implements Querier.FindRepohookByIDBatch.

func (*DBQuerier) FindRepohookByIDScan

func (q *DBQuerier) FindRepohookByIDScan(results pgx.BatchResults) (FindRepohookByIDRow, error)

FindRepohookByIDScan implements Querier.FindRepohookByIDScan.

func (*DBQuerier) FindRepohookByRepoAndProvider

func (q *DBQuerier) FindRepohookByRepoAndProvider(ctx context.Context, repoPath pgtype.Text, vcsProviderID pgtype.Text) ([]FindRepohookByRepoAndProviderRow, error)

FindRepohookByRepoAndProvider implements Querier.FindRepohookByRepoAndProvider.

func (*DBQuerier) FindRepohookByRepoAndProviderBatch

func (q *DBQuerier) FindRepohookByRepoAndProviderBatch(batch genericBatch, repoPath pgtype.Text, vcsProviderID pgtype.Text)

FindRepohookByRepoAndProviderBatch implements Querier.FindRepohookByRepoAndProviderBatch.

func (*DBQuerier) FindRepohookByRepoAndProviderScan

func (q *DBQuerier) FindRepohookByRepoAndProviderScan(results pgx.BatchResults) ([]FindRepohookByRepoAndProviderRow, error)

FindRepohookByRepoAndProviderScan implements Querier.FindRepohookByRepoAndProviderScan.

func (*DBQuerier) FindRepohooks

func (q *DBQuerier) FindRepohooks(ctx context.Context) ([]FindRepohooksRow, error)

FindRepohooks implements Querier.FindRepohooks.

func (*DBQuerier) FindRepohooksBatch

func (q *DBQuerier) FindRepohooksBatch(batch genericBatch)

FindRepohooksBatch implements Querier.FindRepohooksBatch.

func (*DBQuerier) FindRepohooksScan

func (q *DBQuerier) FindRepohooksScan(results pgx.BatchResults) ([]FindRepohooksRow, error)

FindRepohooksScan implements Querier.FindRepohooksScan.

func (*DBQuerier) FindRunByID

func (q *DBQuerier) FindRunByID(ctx context.Context, runID pgtype.Text) (FindRunByIDRow, error)

FindRunByID implements Querier.FindRunByID.

func (*DBQuerier) FindRunByIDBatch

func (q *DBQuerier) FindRunByIDBatch(batch genericBatch, runID pgtype.Text)

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

func (q *DBQuerier) FindRunByIDForUpdateBatch(batch genericBatch, runID pgtype.Text)

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

func (q *DBQuerier) FindServerAgents(ctx context.Context) ([]FindServerAgentsRow, error)

FindServerAgents implements Querier.FindServerAgents.

func (*DBQuerier) FindServerAgentsBatch

func (q *DBQuerier) FindServerAgentsBatch(batch genericBatch)

FindServerAgentsBatch implements Querier.FindServerAgentsBatch.

func (*DBQuerier) FindServerAgentsScan

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

func (q *DBQuerier) FindStateVersionByIDBatch(batch genericBatch, id pgtype.Text)

FindStateVersionByIDBatch implements Querier.FindStateVersionByIDBatch.

func (*DBQuerier) FindStateVersionByIDForUpdate

func (q *DBQuerier) FindStateVersionByIDForUpdate(ctx context.Context, id pgtype.Text) (FindStateVersionByIDForUpdateRow, error)

FindStateVersionByIDForUpdate implements Querier.FindStateVersionByIDForUpdate.

func (*DBQuerier) FindStateVersionByIDForUpdateBatch

func (q *DBQuerier) FindStateVersionByIDForUpdateBatch(batch genericBatch, id pgtype.Text)

FindStateVersionByIDForUpdateBatch implements Querier.FindStateVersionByIDForUpdateBatch.

func (*DBQuerier) FindStateVersionByIDForUpdateScan

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

func (q *DBQuerier) FindStateVersionOutputByIDBatch(batch genericBatch, id pgtype.Text)

FindStateVersionOutputByIDBatch implements Querier.FindStateVersionOutputByIDBatch.

func (*DBQuerier) FindStateVersionOutputByIDScan

func (q *DBQuerier) FindStateVersionOutputByIDScan(results pgx.BatchResults) (FindStateVersionOutputByIDRow, error)

FindStateVersionOutputByIDScan implements Querier.FindStateVersionOutputByIDScan.

func (*DBQuerier) FindStateVersionStateByID

func (q *DBQuerier) FindStateVersionStateByID(ctx context.Context, id pgtype.Text) ([]byte, error)

FindStateVersionStateByID implements Querier.FindStateVersionStateByID.

func (*DBQuerier) FindStateVersionStateByIDBatch

func (q *DBQuerier) FindStateVersionStateByIDBatch(batch genericBatch, id pgtype.Text)

FindStateVersionStateByIDBatch implements Querier.FindStateVersionStateByIDBatch.

func (*DBQuerier) FindStateVersionStateByIDScan

func (q *DBQuerier) FindStateVersionStateByIDScan(results pgx.BatchResults) ([]byte, error)

FindStateVersionStateByIDScan implements Querier.FindStateVersionStateByIDScan.

func (*DBQuerier) FindStateVersionsByWorkspaceID

func (q *DBQuerier) FindStateVersionsByWorkspaceID(ctx context.Context, params FindStateVersionsByWorkspaceIDParams) ([]FindStateVersionsByWorkspaceIDRow, error)

FindStateVersionsByWorkspaceID implements Querier.FindStateVersionsByWorkspaceID.

func (*DBQuerier) FindStateVersionsByWorkspaceIDBatch

func (q *DBQuerier) FindStateVersionsByWorkspaceIDBatch(batch genericBatch, params FindStateVersionsByWorkspaceIDParams)

FindStateVersionsByWorkspaceIDBatch implements Querier.FindStateVersionsByWorkspaceIDBatch.

func (*DBQuerier) FindStateVersionsByWorkspaceIDScan

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

func (q *DBQuerier) FindTeamByID(ctx context.Context, teamID pgtype.Text) (FindTeamByIDRow, error)

FindTeamByID implements Querier.FindTeamByID.

func (*DBQuerier) FindTeamByIDBatch

func (q *DBQuerier) FindTeamByIDBatch(batch genericBatch, teamID pgtype.Text)

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

func (q *DBQuerier) FindTeamByIDForUpdateBatch(batch genericBatch, teamID pgtype.Text)

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

func (q *DBQuerier) FindTeamByTokenID(ctx context.Context, tokenID pgtype.Text) (FindTeamByTokenIDRow, error)

FindTeamByTokenID implements Querier.FindTeamByTokenID.

func (*DBQuerier) FindTeamByTokenIDBatch

func (q *DBQuerier) FindTeamByTokenIDBatch(batch genericBatch, tokenID pgtype.Text)

FindTeamByTokenIDBatch implements Querier.FindTeamByTokenIDBatch.

func (*DBQuerier) FindTeamByTokenIDScan

func (q *DBQuerier) FindTeamByTokenIDScan(results pgx.BatchResults) (FindTeamByTokenIDRow, error)

FindTeamByTokenIDScan implements Querier.FindTeamByTokenIDScan.

func (*DBQuerier) FindTeamTokensByID

func (q *DBQuerier) FindTeamTokensByID(ctx context.Context, teamID pgtype.Text) ([]FindTeamTokensByIDRow, error)

FindTeamTokensByID implements Querier.FindTeamTokensByID.

func (*DBQuerier) FindTeamTokensByIDBatch

func (q *DBQuerier) FindTeamTokensByIDBatch(batch genericBatch, teamID pgtype.Text)

FindTeamTokensByIDBatch implements Querier.FindTeamTokensByIDBatch.

func (*DBQuerier) FindTeamTokensByIDScan

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

func (q *DBQuerier) FindTeamsByOrgBatch(batch genericBatch, organizationName pgtype.Text)

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

func (q *DBQuerier) FindTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)

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

func (q *DBQuerier) FindTokensByUsernameBatch(batch genericBatch, username pgtype.Text)

FindTokensByUsernameBatch implements Querier.FindTokensByUsernameBatch.

func (*DBQuerier) FindTokensByUsernameScan

func (q *DBQuerier) FindTokensByUsernameScan(results pgx.BatchResults) ([]FindTokensByUsernameRow, error)

FindTokensByUsernameScan implements Querier.FindTokensByUsernameScan.

func (*DBQuerier) FindUnreferencedRepohooks

func (q *DBQuerier) FindUnreferencedRepohooks(ctx context.Context) ([]FindUnreferencedRepohooksRow, error)

FindUnreferencedRepohooks implements Querier.FindUnreferencedRepohooks.

func (*DBQuerier) FindUnreferencedRepohooksBatch

func (q *DBQuerier) FindUnreferencedRepohooksBatch(batch genericBatch)

FindUnreferencedRepohooksBatch implements Querier.FindUnreferencedRepohooksBatch.

func (*DBQuerier) FindUnreferencedRepohooksScan

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

func (q *DBQuerier) FindUserByAuthenticationTokenIDBatch(batch genericBatch, tokenID pgtype.Text)

FindUserByAuthenticationTokenIDBatch implements Querier.FindUserByAuthenticationTokenIDBatch.

func (*DBQuerier) FindUserByAuthenticationTokenIDScan

func (q *DBQuerier) FindUserByAuthenticationTokenIDScan(results pgx.BatchResults) (FindUserByAuthenticationTokenIDRow, error)

FindUserByAuthenticationTokenIDScan implements Querier.FindUserByAuthenticationTokenIDScan.

func (*DBQuerier) FindUserByID

func (q *DBQuerier) FindUserByID(ctx context.Context, userID pgtype.Text) (FindUserByIDRow, error)

FindUserByID implements Querier.FindUserByID.

func (*DBQuerier) FindUserByIDBatch

func (q *DBQuerier) FindUserByIDBatch(batch genericBatch, userID pgtype.Text)

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

func (q *DBQuerier) FindUserByUsernameBatch(batch genericBatch, username pgtype.Text)

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

func (q *DBQuerier) FindUsersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)

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

func (q *DBQuerier) FindUsersByTeamIDBatch(batch genericBatch, teamID pgtype.Text)

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

func (q *DBQuerier) FindVCSProviderBatch(batch genericBatch, vcsProviderID pgtype.Text)

FindVCSProviderBatch implements Querier.FindVCSProviderBatch.

func (*DBQuerier) FindVCSProviderForUpdate

func (q *DBQuerier) FindVCSProviderForUpdate(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderForUpdateRow, error)

FindVCSProviderForUpdate implements Querier.FindVCSProviderForUpdate.

func (*DBQuerier) FindVCSProviderForUpdateBatch

func (q *DBQuerier) FindVCSProviderForUpdateBatch(batch genericBatch, vcsProviderID pgtype.Text)

FindVCSProviderForUpdateBatch implements Querier.FindVCSProviderForUpdateBatch.

func (*DBQuerier) FindVCSProviderForUpdateScan

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

func (q *DBQuerier) FindVCSProvidersByGithubAppInstallID(ctx context.Context, installID pgtype.Int8) ([]FindVCSProvidersByGithubAppInstallIDRow, error)

FindVCSProvidersByGithubAppInstallID implements Querier.FindVCSProvidersByGithubAppInstallID.

func (*DBQuerier) FindVCSProvidersByGithubAppInstallIDBatch

func (q *DBQuerier) FindVCSProvidersByGithubAppInstallIDBatch(batch genericBatch, installID pgtype.Int8)

FindVCSProvidersByGithubAppInstallIDBatch implements Querier.FindVCSProvidersByGithubAppInstallIDBatch.

func (*DBQuerier) FindVCSProvidersByGithubAppInstallIDScan

func (q *DBQuerier) FindVCSProvidersByGithubAppInstallIDScan(results pgx.BatchResults) ([]FindVCSProvidersByGithubAppInstallIDRow, error)

FindVCSProvidersByGithubAppInstallIDScan implements Querier.FindVCSProvidersByGithubAppInstallIDScan.

func (*DBQuerier) FindVCSProvidersByOrganization

func (q *DBQuerier) FindVCSProvidersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersByOrganizationRow, error)

FindVCSProvidersByOrganization implements Querier.FindVCSProvidersByOrganization.

func (*DBQuerier) FindVCSProvidersByOrganizationBatch

func (q *DBQuerier) FindVCSProvidersByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)

FindVCSProvidersByOrganizationBatch implements Querier.FindVCSProvidersByOrganizationBatch.

func (*DBQuerier) FindVCSProvidersByOrganizationScan

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

func (q *DBQuerier) FindVariableBatch(batch genericBatch, variableID pgtype.Text)

FindVariableBatch implements Querier.FindVariableBatch.

func (*DBQuerier) FindVariableScan

func (q *DBQuerier) FindVariableScan(results pgx.BatchResults) (FindVariableRow, error)

FindVariableScan implements Querier.FindVariableScan.

func (*DBQuerier) FindVariableSetBySetID

func (q *DBQuerier) FindVariableSetBySetID(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetBySetIDRow, error)

FindVariableSetBySetID implements Querier.FindVariableSetBySetID.

func (*DBQuerier) FindVariableSetBySetIDBatch

func (q *DBQuerier) FindVariableSetBySetIDBatch(batch genericBatch, variableSetID pgtype.Text)

FindVariableSetBySetIDBatch implements Querier.FindVariableSetBySetIDBatch.

func (*DBQuerier) FindVariableSetBySetIDScan

func (q *DBQuerier) FindVariableSetBySetIDScan(results pgx.BatchResults) (FindVariableSetBySetIDRow, error)

FindVariableSetBySetIDScan implements Querier.FindVariableSetBySetIDScan.

func (*DBQuerier) FindVariableSetByVariableID

func (q *DBQuerier) FindVariableSetByVariableID(ctx context.Context, variableID pgtype.Text) (FindVariableSetByVariableIDRow, error)

FindVariableSetByVariableID implements Querier.FindVariableSetByVariableID.

func (*DBQuerier) FindVariableSetByVariableIDBatch

func (q *DBQuerier) FindVariableSetByVariableIDBatch(batch genericBatch, variableID pgtype.Text)

FindVariableSetByVariableIDBatch implements Querier.FindVariableSetByVariableIDBatch.

func (*DBQuerier) FindVariableSetByVariableIDScan

func (q *DBQuerier) FindVariableSetByVariableIDScan(results pgx.BatchResults) (FindVariableSetByVariableIDRow, error)

FindVariableSetByVariableIDScan implements Querier.FindVariableSetByVariableIDScan.

func (*DBQuerier) FindVariableSetForUpdate

func (q *DBQuerier) FindVariableSetForUpdate(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetForUpdateRow, error)

FindVariableSetForUpdate implements Querier.FindVariableSetForUpdate.

func (*DBQuerier) FindVariableSetForUpdateBatch

func (q *DBQuerier) FindVariableSetForUpdateBatch(batch genericBatch, variableSetID pgtype.Text)

FindVariableSetForUpdateBatch implements Querier.FindVariableSetForUpdateBatch.

func (*DBQuerier) FindVariableSetForUpdateScan

func (q *DBQuerier) FindVariableSetForUpdateScan(results pgx.BatchResults) (FindVariableSetForUpdateRow, error)

FindVariableSetForUpdateScan implements Querier.FindVariableSetForUpdateScan.

func (*DBQuerier) FindVariableSetsByOrganization

func (q *DBQuerier) FindVariableSetsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVariableSetsByOrganizationRow, error)

FindVariableSetsByOrganization implements Querier.FindVariableSetsByOrganization.

func (*DBQuerier) FindVariableSetsByOrganizationBatch

func (q *DBQuerier) FindVariableSetsByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)

FindVariableSetsByOrganizationBatch implements Querier.FindVariableSetsByOrganizationBatch.

func (*DBQuerier) FindVariableSetsByOrganizationScan

func (q *DBQuerier) FindVariableSetsByOrganizationScan(results pgx.BatchResults) ([]FindVariableSetsByOrganizationRow, error)

FindVariableSetsByOrganizationScan implements Querier.FindVariableSetsByOrganizationScan.

func (*DBQuerier) FindVariableSetsByWorkspace

func (q *DBQuerier) FindVariableSetsByWorkspace(ctx context.Context, workspaceID pgtype.Text) ([]FindVariableSetsByWorkspaceRow, error)

FindVariableSetsByWorkspace implements Querier.FindVariableSetsByWorkspace.

func (*DBQuerier) FindVariableSetsByWorkspaceBatch

func (q *DBQuerier) FindVariableSetsByWorkspaceBatch(batch genericBatch, workspaceID pgtype.Text)

FindVariableSetsByWorkspaceBatch implements Querier.FindVariableSetsByWorkspaceBatch.

func (*DBQuerier) FindVariableSetsByWorkspaceScan

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

func (q *DBQuerier) FindWorkspaceByIDBatch(batch genericBatch, id pgtype.Text)

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

func (q *DBQuerier) FindWorkspaceByIDForUpdateBatch(batch genericBatch, id pgtype.Text)

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

func (q *DBQuerier) FindWorkspaceLockForUpdateBatch(batch genericBatch, workspaceID string)

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

func (q *DBQuerier) FindWorkspaceVariableByVariableID(ctx context.Context, variableID pgtype.Text) (FindWorkspaceVariableByVariableIDRow, error)

FindWorkspaceVariableByVariableID implements Querier.FindWorkspaceVariableByVariableID.

func (*DBQuerier) FindWorkspaceVariableByVariableIDBatch

func (q *DBQuerier) FindWorkspaceVariableByVariableIDBatch(batch genericBatch, variableID pgtype.Text)

FindWorkspaceVariableByVariableIDBatch implements Querier.FindWorkspaceVariableByVariableIDBatch.

func (*DBQuerier) FindWorkspaceVariableByVariableIDScan

func (q *DBQuerier) FindWorkspaceVariableByVariableIDScan(results pgx.BatchResults) (FindWorkspaceVariableByVariableIDRow, error)

FindWorkspaceVariableByVariableIDScan implements Querier.FindWorkspaceVariableByVariableIDScan.

func (*DBQuerier) FindWorkspaceVariablesByWorkspaceID

func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]FindWorkspaceVariablesByWorkspaceIDRow, error)

FindWorkspaceVariablesByWorkspaceID implements Querier.FindWorkspaceVariablesByWorkspaceID.

func (*DBQuerier) FindWorkspaceVariablesByWorkspaceIDBatch

func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceIDBatch(batch genericBatch, workspaceID pgtype.Text)

FindWorkspaceVariablesByWorkspaceIDBatch implements Querier.FindWorkspaceVariablesByWorkspaceIDBatch.

func (*DBQuerier) FindWorkspaceVariablesByWorkspaceIDScan

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

func (q *DBQuerier) FindWorkspacesByConnection(ctx context.Context, vcsProviderID pgtype.Text, repoPath pgtype.Text) ([]FindWorkspacesByConnectionRow, error)

FindWorkspacesByConnection implements Querier.FindWorkspacesByConnection.

func (*DBQuerier) FindWorkspacesByConnectionBatch

func (q *DBQuerier) FindWorkspacesByConnectionBatch(batch genericBatch, vcsProviderID pgtype.Text, repoPath pgtype.Text)

FindWorkspacesByConnectionBatch implements Querier.FindWorkspacesByConnectionBatch.

func (*DBQuerier) FindWorkspacesByConnectionScan

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) GetGPGKey added in v0.9.0

func (q *DBQuerier) GetGPGKey(ctx context.Context, keyID pgtype.Text, organizationName pgtype.Text) (GetGPGKeyRow, error)

GetGPGKey implements Querier.GetGPGKey.

func (*DBQuerier) GetGPGKeyBatch added in v0.9.0

func (q *DBQuerier) GetGPGKeyBatch(batch genericBatch, keyID pgtype.Text, organizationName pgtype.Text)

GetGPGKeyBatch implements Querier.GetGPGKeyBatch.

func (*DBQuerier) GetGPGKeyScan added in v0.9.0

func (q *DBQuerier) GetGPGKeyScan(results pgx.BatchResults) (GetGPGKeyRow, error)

GetGPGKeyScan implements Querier.GetGPGKeyScan.

func (*DBQuerier) GetLockFileByID

func (q *DBQuerier) GetLockFileByID(ctx context.Context, runID pgtype.Text) ([]byte, error)

GetLockFileByID implements Querier.GetLockFileByID.

func (*DBQuerier) GetLockFileByIDBatch

func (q *DBQuerier) GetLockFileByIDBatch(batch genericBatch, runID pgtype.Text)

GetLockFileByIDBatch implements Querier.GetLockFileByIDBatch.

func (*DBQuerier) GetLockFileByIDScan

func (q *DBQuerier) GetLockFileByIDScan(results pgx.BatchResults) ([]byte, error)

GetLockFileByIDScan implements Querier.GetLockFileByIDScan.

func (*DBQuerier) GetPlanBinByID

func (q *DBQuerier) GetPlanBinByID(ctx context.Context, runID pgtype.Text) ([]byte, error)

GetPlanBinByID implements Querier.GetPlanBinByID.

func (*DBQuerier) GetPlanBinByIDBatch

func (q *DBQuerier) GetPlanBinByIDBatch(batch genericBatch, runID pgtype.Text)

GetPlanBinByIDBatch implements Querier.GetPlanBinByIDBatch.

func (*DBQuerier) GetPlanBinByIDScan

func (q *DBQuerier) GetPlanBinByIDScan(results pgx.BatchResults) ([]byte, error)

GetPlanBinByIDScan implements Querier.GetPlanBinByIDScan.

func (*DBQuerier) GetPlanJSONByID

func (q *DBQuerier) GetPlanJSONByID(ctx context.Context, runID pgtype.Text) ([]byte, error)

GetPlanJSONByID implements Querier.GetPlanJSONByID.

func (*DBQuerier) GetPlanJSONByIDBatch

func (q *DBQuerier) GetPlanJSONByIDBatch(batch genericBatch, runID pgtype.Text)

GetPlanJSONByIDBatch implements Querier.GetPlanJSONByIDBatch.

func (*DBQuerier) GetPlanJSONByIDScan

func (q *DBQuerier) GetPlanJSONByIDScan(results pgx.BatchResults) ([]byte, error)

GetPlanJSONByIDScan implements Querier.GetPlanJSONByIDScan.

func (*DBQuerier) InsertAgent

func (q *DBQuerier) InsertAgent(ctx context.Context, params InsertAgentParams) (pgconn.CommandTag, error)

InsertAgent implements Querier.InsertAgent.

func (*DBQuerier) InsertAgentBatch

func (q *DBQuerier) InsertAgentBatch(batch genericBatch, params InsertAgentParams)

InsertAgentBatch implements Querier.InsertAgentBatch.

func (*DBQuerier) InsertAgentPool

func (q *DBQuerier) InsertAgentPool(ctx context.Context, params InsertAgentPoolParams) (pgconn.CommandTag, error)

InsertAgentPool implements Querier.InsertAgentPool.

func (*DBQuerier) InsertAgentPoolAllowedWorkspace

func (q *DBQuerier) InsertAgentPoolAllowedWorkspace(ctx context.Context, poolID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)

InsertAgentPoolAllowedWorkspace implements Querier.InsertAgentPoolAllowedWorkspace.

func (*DBQuerier) InsertAgentPoolAllowedWorkspaceBatch

func (q *DBQuerier) InsertAgentPoolAllowedWorkspaceBatch(batch genericBatch, poolID pgtype.Text, workspaceID pgtype.Text)

InsertAgentPoolAllowedWorkspaceBatch implements Querier.InsertAgentPoolAllowedWorkspaceBatch.

func (*DBQuerier) InsertAgentPoolAllowedWorkspaceScan

func (q *DBQuerier) InsertAgentPoolAllowedWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertAgentPoolAllowedWorkspaceScan implements Querier.InsertAgentPoolAllowedWorkspaceScan.

func (*DBQuerier) InsertAgentPoolBatch

func (q *DBQuerier) InsertAgentPoolBatch(batch genericBatch, params InsertAgentPoolParams)

InsertAgentPoolBatch implements Querier.InsertAgentPoolBatch.

func (*DBQuerier) InsertAgentPoolScan

func (q *DBQuerier) InsertAgentPoolScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertAgentPoolScan implements Querier.InsertAgentPoolScan.

func (*DBQuerier) InsertAgentScan

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

func (q *DBQuerier) InsertApplyBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text)

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

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) InsertGPGKey added in v0.9.0

func (q *DBQuerier) InsertGPGKey(ctx context.Context, params InsertGPGKeyParams) (pgconn.CommandTag, error)

InsertGPGKey implements Querier.InsertGPGKey.

func (*DBQuerier) InsertGPGKeyBatch added in v0.9.0

func (q *DBQuerier) InsertGPGKeyBatch(batch genericBatch, params InsertGPGKeyParams)

InsertGPGKeyBatch implements Querier.InsertGPGKeyBatch.

func (*DBQuerier) InsertGPGKeyScan added in v0.9.0

func (q *DBQuerier) InsertGPGKeyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertGPGKeyScan implements Querier.InsertGPGKeyScan.

func (*DBQuerier) InsertGithubApp

func (q *DBQuerier) InsertGithubApp(ctx context.Context, params InsertGithubAppParams) (pgconn.CommandTag, error)

InsertGithubApp implements Querier.InsertGithubApp.

func (*DBQuerier) InsertGithubAppBatch

func (q *DBQuerier) InsertGithubAppBatch(batch genericBatch, params InsertGithubAppParams)

InsertGithubAppBatch implements Querier.InsertGithubAppBatch.

func (*DBQuerier) InsertGithubAppInstall

func (q *DBQuerier) InsertGithubAppInstall(ctx context.Context, params InsertGithubAppInstallParams) (pgconn.CommandTag, error)

InsertGithubAppInstall implements Querier.InsertGithubAppInstall.

func (*DBQuerier) InsertGithubAppInstallBatch

func (q *DBQuerier) InsertGithubAppInstallBatch(batch genericBatch, params InsertGithubAppInstallParams)

InsertGithubAppInstallBatch implements Querier.InsertGithubAppInstallBatch.

func (*DBQuerier) InsertGithubAppInstallScan

func (q *DBQuerier) InsertGithubAppInstallScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertGithubAppInstallScan implements Querier.InsertGithubAppInstallScan.

func (*DBQuerier) InsertGithubAppScan

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

func (q *DBQuerier) InsertJob(ctx context.Context, params InsertJobParams) (pgconn.CommandTag, error)

InsertJob implements Querier.InsertJob.

func (*DBQuerier) InsertJobBatch

func (q *DBQuerier) InsertJobBatch(batch genericBatch, params InsertJobParams)

InsertJobBatch implements Querier.InsertJobBatch.

func (*DBQuerier) InsertJobScan

func (q *DBQuerier) InsertJobScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertJobScan implements Querier.InsertJobScan.

func (*DBQuerier) InsertLatestTerraformVersion

func (q *DBQuerier) InsertLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error)

InsertLatestTerraformVersion implements Querier.InsertLatestTerraformVersion.

func (*DBQuerier) InsertLatestTerraformVersionBatch

func (q *DBQuerier) InsertLatestTerraformVersionBatch(batch genericBatch, version pgtype.Text)

InsertLatestTerraformVersionBatch implements Querier.InsertLatestTerraformVersionBatch.

func (*DBQuerier) InsertLatestTerraformVersionScan

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

func (q *DBQuerier) InsertLogChunkScan(results pgx.BatchResults) (pgtype.Int4, error)

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

func (q *DBQuerier) InsertModuleTarballScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) InsertPlanBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text)

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

func (q *DBQuerier) InsertRepohook(ctx context.Context, params InsertRepohookParams) (InsertRepohookRow, error)

InsertRepohook implements Querier.InsertRepohook.

func (*DBQuerier) InsertRepohookBatch

func (q *DBQuerier) InsertRepohookBatch(batch genericBatch, params InsertRepohookParams)

InsertRepohookBatch implements Querier.InsertRepohookBatch.

func (*DBQuerier) InsertRepohookScan

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

func (q *DBQuerier) InsertRunVariable(ctx context.Context, params InsertRunVariableParams) (pgconn.CommandTag, error)

InsertRunVariable implements Querier.InsertRunVariable.

func (*DBQuerier) InsertRunVariableBatch

func (q *DBQuerier) InsertRunVariableBatch(batch genericBatch, params InsertRunVariableParams)

InsertRunVariableBatch implements Querier.InsertRunVariableBatch.

func (*DBQuerier) InsertRunVariableScan

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

func (q *DBQuerier) InsertTeamMembershipScan(results pgx.BatchResults) ([]pgtype.Text, error)

InsertTeamMembershipScan implements Querier.InsertTeamMembershipScan.

func (*DBQuerier) InsertTeamScan

func (q *DBQuerier) InsertTeamScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertTeamScan implements Querier.InsertTeamScan.

func (*DBQuerier) InsertTeamToken

func (q *DBQuerier) InsertTeamToken(ctx context.Context, params InsertTeamTokenParams) (pgconn.CommandTag, error)

InsertTeamToken implements Querier.InsertTeamToken.

func (*DBQuerier) InsertTeamTokenBatch

func (q *DBQuerier) InsertTeamTokenBatch(batch genericBatch, params InsertTeamTokenParams)

InsertTeamTokenBatch implements Querier.InsertTeamTokenBatch.

func (*DBQuerier) InsertTeamTokenScan

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

func (q *DBQuerier) InsertVariableSet(ctx context.Context, params InsertVariableSetParams) (pgconn.CommandTag, error)

InsertVariableSet implements Querier.InsertVariableSet.

func (*DBQuerier) InsertVariableSetBatch

func (q *DBQuerier) InsertVariableSetBatch(batch genericBatch, params InsertVariableSetParams)

InsertVariableSetBatch implements Querier.InsertVariableSetBatch.

func (*DBQuerier) InsertVariableSetScan

func (q *DBQuerier) InsertVariableSetScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertVariableSetScan implements Querier.InsertVariableSetScan.

func (*DBQuerier) InsertVariableSetVariable

func (q *DBQuerier) InsertVariableSetVariable(ctx context.Context, variableSetID pgtype.Text, variableID pgtype.Text) (pgconn.CommandTag, error)

InsertVariableSetVariable implements Querier.InsertVariableSetVariable.

func (*DBQuerier) InsertVariableSetVariableBatch

func (q *DBQuerier) InsertVariableSetVariableBatch(batch genericBatch, variableSetID pgtype.Text, variableID pgtype.Text)

InsertVariableSetVariableBatch implements Querier.InsertVariableSetVariableBatch.

func (*DBQuerier) InsertVariableSetVariableScan

func (q *DBQuerier) InsertVariableSetVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertVariableSetVariableScan implements Querier.InsertVariableSetVariableScan.

func (*DBQuerier) InsertVariableSetWorkspace

func (q *DBQuerier) InsertVariableSetWorkspace(ctx context.Context, variableSetID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)

InsertVariableSetWorkspace implements Querier.InsertVariableSetWorkspace.

func (*DBQuerier) InsertVariableSetWorkspaceBatch

func (q *DBQuerier) InsertVariableSetWorkspaceBatch(batch genericBatch, variableSetID pgtype.Text, workspaceID pgtype.Text)

InsertVariableSetWorkspaceBatch implements Querier.InsertVariableSetWorkspaceBatch.

func (*DBQuerier) InsertVariableSetWorkspaceScan

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

func (q *DBQuerier) InsertWorkspaceTagByNameScan(results pgx.BatchResults) (pgtype.Text, error)

InsertWorkspaceTagByNameScan implements Querier.InsertWorkspaceTagByNameScan.

func (*DBQuerier) InsertWorkspaceTagScan

func (q *DBQuerier) InsertWorkspaceTagScan(results pgx.BatchResults) (pgtype.Text, error)

InsertWorkspaceTagScan implements Querier.InsertWorkspaceTagScan.

func (*DBQuerier) InsertWorkspaceVariable

func (q *DBQuerier) InsertWorkspaceVariable(ctx context.Context, variableID pgtype.Text, workspaceID pgtype.Text) (pgconn.CommandTag, error)

InsertWorkspaceVariable implements Querier.InsertWorkspaceVariable.

func (*DBQuerier) InsertWorkspaceVariableBatch

func (q *DBQuerier) InsertWorkspaceVariableBatch(batch genericBatch, variableID pgtype.Text, workspaceID pgtype.Text)

InsertWorkspaceVariableBatch implements Querier.InsertWorkspaceVariableBatch.

func (*DBQuerier) InsertWorkspaceVariableScan

func (q *DBQuerier) InsertWorkspaceVariableScan(results pgx.BatchResults) (pgconn.CommandTag, error)

InsertWorkspaceVariableScan implements Querier.InsertWorkspaceVariableScan.

func (*DBQuerier) ListGPGKeys added in v0.9.0

func (q *DBQuerier) ListGPGKeys(ctx context.Context, organizationNames []string) ([]ListGPGKeysRow, error)

ListGPGKeys implements Querier.ListGPGKeys.

func (*DBQuerier) ListGPGKeysBatch added in v0.9.0

func (q *DBQuerier) ListGPGKeysBatch(batch genericBatch, organizationNames []string)

ListGPGKeysBatch implements Querier.ListGPGKeysBatch.

func (*DBQuerier) ListGPGKeysScan added in v0.9.0

func (q *DBQuerier) ListGPGKeysScan(results pgx.BatchResults) ([]ListGPGKeysRow, error)

ListGPGKeysScan implements Querier.ListGPGKeysScan.

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

func (q *DBQuerier) PutLockFileBatch(batch genericBatch, lockFile []byte, runID pgtype.Text)

PutLockFileBatch implements Querier.PutLockFileBatch.

func (*DBQuerier) PutLockFileScan

func (q *DBQuerier) PutLockFileScan(results pgx.BatchResults) (pgtype.Text, error)

PutLockFileScan implements Querier.PutLockFileScan.

func (*DBQuerier) ResetUserSiteAdmins

func (q *DBQuerier) ResetUserSiteAdmins(ctx context.Context) ([]pgtype.Text, error)

ResetUserSiteAdmins implements Querier.ResetUserSiteAdmins.

func (*DBQuerier) ResetUserSiteAdminsBatch

func (q *DBQuerier) ResetUserSiteAdminsBatch(batch genericBatch)

ResetUserSiteAdminsBatch implements Querier.ResetUserSiteAdminsBatch.

func (*DBQuerier) ResetUserSiteAdminsScan

func (q *DBQuerier) ResetUserSiteAdminsScan(results pgx.BatchResults) ([]pgtype.Text, error)

ResetUserSiteAdminsScan implements Querier.ResetUserSiteAdminsScan.

func (*DBQuerier) UpdateAgent

func (q *DBQuerier) UpdateAgent(ctx context.Context, params UpdateAgentParams) (UpdateAgentRow, error)

UpdateAgent implements Querier.UpdateAgent.

func (*DBQuerier) UpdateAgentBatch

func (q *DBQuerier) UpdateAgentBatch(batch genericBatch, params UpdateAgentParams)

UpdateAgentBatch implements Querier.UpdateAgentBatch.

func (*DBQuerier) UpdateAgentPool

func (q *DBQuerier) UpdateAgentPool(ctx context.Context, params UpdateAgentPoolParams) (UpdateAgentPoolRow, error)

UpdateAgentPool implements Querier.UpdateAgentPool.

func (*DBQuerier) UpdateAgentPoolBatch

func (q *DBQuerier) UpdateAgentPoolBatch(batch genericBatch, params UpdateAgentPoolParams)

UpdateAgentPoolBatch implements Querier.UpdateAgentPoolBatch.

func (*DBQuerier) UpdateAgentPoolScan

func (q *DBQuerier) UpdateAgentPoolScan(results pgx.BatchResults) (UpdateAgentPoolRow, error)

UpdateAgentPoolScan implements Querier.UpdateAgentPoolScan.

func (*DBQuerier) UpdateAgentScan

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

func (q *DBQuerier) UpdateAppliedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdateApplyStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)

UpdateApplyStatusByIDScan implements Querier.UpdateApplyStatusByIDScan.

func (*DBQuerier) UpdateCancelSignaledAt

func (q *DBQuerier) UpdateCancelSignaledAt(ctx context.Context, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error)

UpdateCancelSignaledAt implements Querier.UpdateCancelSignaledAt.

func (*DBQuerier) UpdateCancelSignaledAtBatch

func (q *DBQuerier) UpdateCancelSignaledAtBatch(batch genericBatch, cancelSignaledAt pgtype.Timestamptz, id pgtype.Text)

UpdateCancelSignaledAtBatch implements Querier.UpdateCancelSignaledAtBatch.

func (*DBQuerier) UpdateCancelSignaledAtScan

func (q *DBQuerier) UpdateCancelSignaledAtScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdateConfigurationVersionErroredByIDBatch(batch genericBatch, id pgtype.Text)

UpdateConfigurationVersionErroredByIDBatch implements Querier.UpdateConfigurationVersionErroredByIDBatch.

func (*DBQuerier) UpdateConfigurationVersionErroredByIDScan

func (q *DBQuerier) UpdateConfigurationVersionErroredByIDScan(results pgx.BatchResults) (pgtype.Text, error)

UpdateConfigurationVersionErroredByIDScan implements Querier.UpdateConfigurationVersionErroredByIDScan.

func (*DBQuerier) UpdateGPGKey added in v0.9.0

func (q *DBQuerier) UpdateGPGKey(ctx context.Context, params UpdateGPGKeyParams) (pgconn.CommandTag, error)

UpdateGPGKey implements Querier.UpdateGPGKey.

func (*DBQuerier) UpdateGPGKeyBatch added in v0.9.0

func (q *DBQuerier) UpdateGPGKeyBatch(batch genericBatch, params UpdateGPGKeyParams)

UpdateGPGKeyBatch implements Querier.UpdateGPGKeyBatch.

func (*DBQuerier) UpdateGPGKeyScan added in v0.9.0

func (q *DBQuerier) UpdateGPGKeyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

UpdateGPGKeyScan implements Querier.UpdateGPGKeyScan.

func (*DBQuerier) UpdateJob

func (q *DBQuerier) UpdateJob(ctx context.Context, params UpdateJobParams) (UpdateJobRow, error)

UpdateJob implements Querier.UpdateJob.

func (*DBQuerier) UpdateJobBatch

func (q *DBQuerier) UpdateJobBatch(batch genericBatch, params UpdateJobParams)

UpdateJobBatch implements Querier.UpdateJobBatch.

func (*DBQuerier) UpdateJobScan

func (q *DBQuerier) UpdateJobScan(results pgx.BatchResults) (UpdateJobRow, error)

UpdateJobScan implements Querier.UpdateJobScan.

func (*DBQuerier) UpdateLatestTerraformVersion

func (q *DBQuerier) UpdateLatestTerraformVersion(ctx context.Context, version pgtype.Text) (pgconn.CommandTag, error)

UpdateLatestTerraformVersion implements Querier.UpdateLatestTerraformVersion.

func (*DBQuerier) UpdateLatestTerraformVersionBatch

func (q *DBQuerier) UpdateLatestTerraformVersionBatch(batch genericBatch, version pgtype.Text)

UpdateLatestTerraformVersionBatch implements Querier.UpdateLatestTerraformVersionBatch.

func (*DBQuerier) UpdateLatestTerraformVersionScan

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

func (q *DBQuerier) UpdateModuleStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)

UpdateModuleStatusByIDScan implements Querier.UpdateModuleStatusByIDScan.

func (*DBQuerier) UpdateModuleVersionStatusByID

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

func (q *DBQuerier) UpdateOrganizationByNameScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdatePlanBinByIDBatch(batch genericBatch, planBin []byte, runID pgtype.Text)

UpdatePlanBinByIDBatch implements Querier.UpdatePlanBinByIDBatch.

func (*DBQuerier) UpdatePlanBinByIDScan

func (q *DBQuerier) UpdatePlanBinByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdatePlanJSONByIDBatch(batch genericBatch, planJSON []byte, runID pgtype.Text)

UpdatePlanJSONByIDBatch implements Querier.UpdatePlanJSONByIDBatch.

func (*DBQuerier) UpdatePlanJSONByIDScan

func (q *DBQuerier) UpdatePlanJSONByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdatePlanStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdatePlannedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error)

UpdatePlannedChangesByIDScan implements Querier.UpdatePlannedChangesByIDScan.

func (*DBQuerier) UpdateRepohookVCSID

func (q *DBQuerier) UpdateRepohookVCSID(ctx context.Context, vcsID pgtype.Text, repohookID pgtype.UUID) (UpdateRepohookVCSIDRow, error)

UpdateRepohookVCSID implements Querier.UpdateRepohookVCSID.

func (*DBQuerier) UpdateRepohookVCSIDBatch

func (q *DBQuerier) UpdateRepohookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, repohookID pgtype.UUID)

UpdateRepohookVCSIDBatch implements Querier.UpdateRepohookVCSIDBatch.

func (*DBQuerier) UpdateRepohookVCSIDScan

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

func (q *DBQuerier) UpdateRunStatusBatch(batch genericBatch, status pgtype.Text, id pgtype.Text)

UpdateRunStatusBatch implements Querier.UpdateRunStatusBatch.

func (*DBQuerier) UpdateRunStatusScan

func (q *DBQuerier) UpdateRunStatusScan(results pgx.BatchResults) (pgtype.Text, error)

UpdateRunStatusScan implements Querier.UpdateRunStatusScan.

func (*DBQuerier) UpdateState

func (q *DBQuerier) UpdateState(ctx context.Context, state []byte, stateVersionID pgtype.Text) (pgconn.CommandTag, error)

UpdateState implements Querier.UpdateState.

func (*DBQuerier) UpdateStateBatch

func (q *DBQuerier) UpdateStateBatch(batch genericBatch, state []byte, stateVersionID pgtype.Text)

UpdateStateBatch implements Querier.UpdateStateBatch.

func (*DBQuerier) UpdateStateScan

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

func (q *DBQuerier) UpdateTeamByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdateUserSiteAdminsBatch(batch genericBatch, usernames []string)

UpdateUserSiteAdminsBatch implements Querier.UpdateUserSiteAdminsBatch.

func (*DBQuerier) UpdateUserSiteAdminsScan

func (q *DBQuerier) UpdateUserSiteAdminsScan(results pgx.BatchResults) ([]pgtype.Text, error)

UpdateUserSiteAdminsScan implements Querier.UpdateUserSiteAdminsScan.

func (*DBQuerier) UpdateVCSProvider

func (q *DBQuerier) UpdateVCSProvider(ctx context.Context, params UpdateVCSProviderParams) (UpdateVCSProviderRow, error)

UpdateVCSProvider implements Querier.UpdateVCSProvider.

func (*DBQuerier) UpdateVCSProviderBatch

func (q *DBQuerier) UpdateVCSProviderBatch(batch genericBatch, params UpdateVCSProviderParams)

UpdateVCSProviderBatch implements Querier.UpdateVCSProviderBatch.

func (*DBQuerier) UpdateVCSProviderScan

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

func (q *DBQuerier) UpdateVariableByIDScan(results pgx.BatchResults) (pgtype.Text, error)

UpdateVariableByIDScan implements Querier.UpdateVariableByIDScan.

func (*DBQuerier) UpdateVariableSetByID

func (q *DBQuerier) UpdateVariableSetByID(ctx context.Context, params UpdateVariableSetByIDParams) (pgtype.Text, error)

UpdateVariableSetByID implements Querier.UpdateVariableSetByID.

func (*DBQuerier) UpdateVariableSetByIDBatch

func (q *DBQuerier) UpdateVariableSetByIDBatch(batch genericBatch, params UpdateVariableSetByIDParams)

UpdateVariableSetByIDBatch implements Querier.UpdateVariableSetByIDBatch.

func (*DBQuerier) UpdateVariableSetByIDScan

func (q *DBQuerier) UpdateVariableSetByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpdateWorkspaceByIDScan(results pgx.BatchResults) (pgtype.Text, error)

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

func (q *DBQuerier) UpsertOrganizationToken(ctx context.Context, params UpsertOrganizationTokenParams) (pgconn.CommandTag, error)

UpsertOrganizationToken implements Querier.UpsertOrganizationToken.

func (*DBQuerier) UpsertOrganizationTokenBatch

func (q *DBQuerier) UpsertOrganizationTokenBatch(batch genericBatch, params UpsertOrganizationTokenParams)

UpsertOrganizationTokenBatch implements Querier.UpsertOrganizationTokenBatch.

func (*DBQuerier) UpsertOrganizationTokenScan

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.

func (*DBQuerier) WithTx

func (q *DBQuerier) WithTx(tx pgx.Tx) (*DBQuerier, error)

WithTx creates a new DBQuerier that uses the transaction to run all queries.

type DeleteAgentPoolRow

type DeleteAgentPoolRow 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"`
}

type DeleteAgentRow

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

type DeleteGithubAppRow 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"`
}

type DeleteModuleConnectionByIDRow

type DeleteModuleConnectionByIDRow 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"`
}

type DeleteRepohookByIDRow

type DeleteRepohookByIDRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
}

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

type DeleteVariableSetByIDRow 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"`
}

type DeleteVariableSetVariableRow

type DeleteVariableSetVariableRow struct {
	VariableSetID pgtype.Text `json:"variable_set_id"`
	VariableID    pgtype.Text `json:"variable_id"`
}

type DeleteVariableSetWorkspaceRow

type DeleteVariableSetWorkspaceRow struct {
	VariableSetID pgtype.Text `json:"variable_set_id"`
	WorkspaceID   pgtype.Text `json:"workspace_id"`
}

type DeleteWorkspaceConnectionByIDRow

type DeleteWorkspaceConnectionByIDRow 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"`
}

type DeleteWorkspaceVariableByIDRow

type DeleteWorkspaceVariableByIDRow struct {
	WorkspaceID pgtype.Text `json:"workspace_id"`
	Variable    *Variables  `json:"variable"`
}

type FindAgentByIDForUpdateRow

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

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

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

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

type FindAgentPoolsByOrganizationParams struct {
	OrganizationName     pgtype.Text
	NameSubstring        pgtype.Text
	AllowedWorkspaceName pgtype.Text
	AllowedWorkspaceID   pgtype.Text
}

type FindAgentPoolsByOrganizationRow

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

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 FindAgentTokenByIDRow struct {
	AgentTokenID pgtype.Text        `json:"agent_token_id"`
	CreatedAt    pgtype.Timestamptz `json:"created_at"`
	Description  pgtype.Text        `json:"description"`
	AgentPoolID  pgtype.Text        `json:"agent_pool_id"`
}

type FindAgentTokensByAgentPoolIDRow

type FindAgentTokensByAgentPoolIDRow struct {
	AgentTokenID pgtype.Text        `json:"agent_token_id"`
	CreatedAt    pgtype.Timestamptz `json:"created_at"`
	Description  pgtype.Text        `json:"description"`
	AgentPoolID  pgtype.Text        `json:"agent_pool_id"`
}

type FindAgentsByOrganizationRow

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

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

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

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

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 FindConfigurationVersionsByWorkspaceIDParams

type FindConfigurationVersionsByWorkspaceIDParams struct {
	WorkspaceID pgtype.Text
	Limit       pgtype.Int8
	Offset      pgtype.Int8
}

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

type FindGithubAppRow 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"`
}

type FindJobForUpdateRow

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

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

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

type FindLatestTerraformVersionRow struct {
	Version    pgtype.Text        `json:"version"`
	Checkpoint pgtype.Timestamptz `json:"checkpoint"`
}

type FindLogChunkByIDRow

type FindLogChunkByIDRow struct {
	ChunkID pgtype.Int4 `json:"chunk_id"`
	RunID   pgtype.Text `json:"run_id"`
	Phase   pgtype.Text `json:"phase"`
	Chunk   []byte      `json:"chunk"`
	Offset  pgtype.Int4 `json:"offset"`
}

type FindModuleByConnectionRow

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 FindModuleByNameParams struct {
	OrganizationName pgtype.Text
	Name             pgtype.Text
	Provider         pgtype.Text
}

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

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

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

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 FindOrganizationsParams struct {
	Names  []string
	Limit  pgtype.Int8
	Offset pgtype.Int8
}

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

type FindRepohookByIDRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSKind       pgtype.Text `json:"vcs_kind"`
}

type FindRepohookByRepoAndProviderRow

type FindRepohookByRepoAndProviderRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSKind       pgtype.Text `json:"vcs_kind"`
}

type FindRepohooksRow

type FindRepohooksRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSKind       pgtype.Text `json:"vcs_kind"`
}

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 FindRunsParams struct {
	OrganizationNames []string
	WorkspaceIds      []string
	WorkspaceNames    []string
	Sources           []string
	Statuses          []string
	PlanOnly          []string
	CommitSHA         pgtype.Text
	VCSUsername       pgtype.Text
	Limit             pgtype.Int8
	Offset            pgtype.Int8
}

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

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

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 FindStateVersionOutputByIDRow

type FindStateVersionOutputByIDRow 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"`
}

type FindStateVersionsByWorkspaceIDParams

type FindStateVersionsByWorkspaceIDParams struct {
	WorkspaceID pgtype.Text
	Limit       pgtype.Int8
	Offset      pgtype.Int8
}

type FindStateVersionsByWorkspaceIDRow

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 FindTagByIDRow struct {
	TagID            pgtype.Text `json:"tag_id"`
	Name             pgtype.Text `json:"name"`
	OrganizationName pgtype.Text `json:"organization_name"`
	InstanceCount    pgtype.Int8 `json:"instance_count"`
}

type FindTagByNameRow

type FindTagByNameRow struct {
	TagID            pgtype.Text `json:"tag_id"`
	Name             pgtype.Text `json:"name"`
	OrganizationName pgtype.Text `json:"organization_name"`
	InstanceCount    pgtype.Int8 `json:"instance_count"`
}

type FindTagsParams

type FindTagsParams struct {
	OrganizationName pgtype.Text
	Limit            pgtype.Int8
	Offset           pgtype.Int8
}

type FindTagsRow

type FindTagsRow struct {
	TagID            pgtype.Text `json:"tag_id"`
	Name             pgtype.Text `json:"name"`
	OrganizationName pgtype.Text `json:"organization_name"`
	InstanceCount    pgtype.Int8 `json:"instance_count"`
}

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

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

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 FindTokenByIDRow struct {
	TokenID     pgtype.Text        `json:"token_id"`
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	Description pgtype.Text        `json:"description"`
	Username    pgtype.Text        `json:"username"`
}

type FindTokensByUsernameRow

type FindTokensByUsernameRow struct {
	TokenID     pgtype.Text        `json:"token_id"`
	CreatedAt   pgtype.Timestamptz `json:"created_at"`
	Description pgtype.Text        `json:"description"`
	Username    pgtype.Text        `json:"username"`
}

type FindUnreferencedRepohooksRow

type FindUnreferencedRepohooksRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSKind       pgtype.Text `json:"vcs_kind"`
}

type FindUserByAuthenticationTokenIDRow

type FindUserByAuthenticationTokenIDRow struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindUserByIDRow

type FindUserByIDRow struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindUserByUsernameRow

type FindUserByUsernameRow struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindUsersByOrganizationRow

type FindUsersByOrganizationRow struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindUsersByTeamIDRow

type FindUsersByTeamIDRow struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindUsersRow

type FindUsersRow struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindVCSProviderForUpdateRow

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

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

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

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

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

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

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

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 FindWorkspaceLockForUpdateRow

type FindWorkspaceLockForUpdateRow struct {
	WorkspaceID string `json:"workspace_id"`
	UserID      string `json:"user_id"`
	RunID       string `json:"run_id"`
}

type FindWorkspacePermissionsByWorkspaceIDRow

type FindWorkspacePermissionsByWorkspaceIDRow struct {
	WorkspaceID pgtype.Text `json:"workspace_id"`
	TeamID      pgtype.Text `json:"team_id"`
	Role        pgtype.Text `json:"role"`
}

type FindWorkspaceTagsParams

type FindWorkspaceTagsParams struct {
	WorkspaceID pgtype.Text
	Limit       pgtype.Int8
	Offset      pgtype.Int8
}

type FindWorkspaceTagsRow

type FindWorkspaceTagsRow struct {
	TagID            pgtype.Text `json:"tag_id"`
	Name             pgtype.Text `json:"name"`
	OrganizationName pgtype.Text `json:"organization_name"`
	InstanceCount    pgtype.Int8 `json:"instance_count"`
}

type FindWorkspaceVariableByVariableIDRow

type FindWorkspaceVariableByVariableIDRow struct {
	WorkspaceID pgtype.Text `json:"workspace_id"`
	Variable    *Variables  `json:"variable"`
}

type FindWorkspaceVariablesByWorkspaceIDRow

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

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 FindWorkspacesByUsernameParams

type FindWorkspacesByUsernameParams struct {
	OrganizationName pgtype.Text
	Username         pgtype.Text
	Limit            pgtype.Int8
	Offset           pgtype.Int8
}

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 FindWorkspacesParams struct {
	Search            pgtype.Text
	OrganizationNames []string
	Tags              []string
	Limit             pgtype.Int8
	Offset            pgtype.Int8
}

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 GetGPGKeyRow added in v0.9.0

type GetGPGKeyRow struct {
	ID               pgtype.Text        `json:"id"`
	OrganizationName pgtype.Text        `json:"organization_name"`
	AsciiArmor       pgtype.Text        `json:"ascii_armor"`
	KeyID            pgtype.Text        `json:"key_id"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	UpdatedAt        pgtype.Timestamptz `json:"updated_at"`
}

type GithubAppInstalls

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

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

type InsertAgentParams struct {
	AgentID      pgtype.Text
	Name         pgtype.Text
	Version      pgtype.Text
	MaxJobs      pgtype.Int4
	IPAddress    pgtype.Inet
	LastPingAt   pgtype.Timestamptz
	LastStatusAt pgtype.Timestamptz
	Status       pgtype.Text
	AgentPoolID  pgtype.Text
}

type InsertAgentPoolParams

type InsertAgentPoolParams struct {
	AgentPoolID        pgtype.Text
	Name               pgtype.Text
	CreatedAt          pgtype.Timestamptz
	OrganizationName   pgtype.Text
	OrganizationScoped pgtype.Bool
}

type InsertAgentTokenParams

type InsertAgentTokenParams struct {
	AgentTokenID pgtype.Text
	CreatedAt    pgtype.Timestamptz
	Description  pgtype.Text
	AgentPoolID  pgtype.Text
}

type InsertConfigurationVersionParams

type InsertConfigurationVersionParams struct {
	ID            pgtype.Text
	CreatedAt     pgtype.Timestamptz
	AutoQueueRuns pgtype.Bool
	Source        pgtype.Text
	Speculative   pgtype.Bool
	Status        pgtype.Text
	WorkspaceID   pgtype.Text
}

type InsertConfigurationVersionStatusTimestampParams

type InsertConfigurationVersionStatusTimestampParams struct {
	ID        pgtype.Text
	Status    pgtype.Text
	Timestamp pgtype.Timestamptz
}

type InsertConfigurationVersionStatusTimestampRow

type InsertConfigurationVersionStatusTimestampRow struct {
	ConfigurationVersionID pgtype.Text        `json:"configuration_version_id"`
	Status                 pgtype.Text        `json:"status"`
	Timestamp              pgtype.Timestamptz `json:"timestamp"`
}

type InsertGPGKeyParams added in v0.9.0

type InsertGPGKeyParams struct {
	ID               pgtype.Text
	OrganizationName pgtype.Text
	AsciiArmor       pgtype.Text
	KeyID            pgtype.Text
	CreatedAt        pgtype.Timestamptz
	UpdatedAt        pgtype.Timestamptz
}

type InsertGithubAppInstallParams

type InsertGithubAppInstallParams struct {
	GithubAppID   pgtype.Int8
	InstallID     pgtype.Int8
	Username      pgtype.Text
	Organization  pgtype.Text
	VCSProviderID pgtype.Text
}

type InsertGithubAppParams

type InsertGithubAppParams struct {
	GithubAppID   pgtype.Int8
	WebhookSecret pgtype.Text
	PrivateKey    pgtype.Text
	Slug          pgtype.Text
	Organization  pgtype.Text
}

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

type InsertJobParams struct {
	RunID  pgtype.Text
	Phase  pgtype.Text
	Status pgtype.Text
}

type InsertLogChunkParams

type InsertLogChunkParams struct {
	RunID  pgtype.Text
	Phase  pgtype.Text
	Chunk  []byte
	Offset pgtype.Int4
}

type InsertModuleParams

type InsertModuleParams struct {
	ID               pgtype.Text
	CreatedAt        pgtype.Timestamptz
	UpdatedAt        pgtype.Timestamptz
	Name             pgtype.Text
	Provider         pgtype.Text
	Status           pgtype.Text
	OrganizationName pgtype.Text
}

type InsertModuleVersionParams

type InsertModuleVersionParams struct {
	ModuleVersionID pgtype.Text
	Version         pgtype.Text
	CreatedAt       pgtype.Timestamptz
	UpdatedAt       pgtype.Timestamptz
	ModuleID        pgtype.Text
	Status          pgtype.Text
}

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 InsertNotificationConfigurationParams

type InsertNotificationConfigurationParams struct {
	NotificationConfigurationID pgtype.Text
	CreatedAt                   pgtype.Timestamptz
	UpdatedAt                   pgtype.Timestamptz
	Name                        pgtype.Text
	URL                         pgtype.Text
	Triggers                    []string
	DestinationType             pgtype.Text
	Enabled                     pgtype.Bool
	WorkspaceID                 pgtype.Text
}

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 InsertPhaseStatusTimestampParams

type InsertPhaseStatusTimestampParams struct {
	RunID     pgtype.Text
	Phase     pgtype.Text
	Status    pgtype.Text
	Timestamp pgtype.Timestamptz
}

type InsertRepoConnectionParams

type InsertRepoConnectionParams struct {
	VCSProviderID pgtype.Text
	RepoPath      pgtype.Text
	WorkspaceID   pgtype.Text
	ModuleID      pgtype.Text
}

type InsertRepohookParams

type InsertRepohookParams struct {
	RepohookID    pgtype.UUID
	VCSID         pgtype.Text
	VCSProviderID pgtype.Text
	Secret        pgtype.Text
	RepoPath      pgtype.Text
}

type InsertRepohookRow

type InsertRepohookRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSKind       pgtype.Text `json:"vcs_kind"`
}

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 InsertRunStatusTimestampParams

type InsertRunStatusTimestampParams struct {
	ID        pgtype.Text
	Status    pgtype.Text
	Timestamp pgtype.Timestamptz
}

type InsertRunVariableParams

type InsertRunVariableParams struct {
	RunID pgtype.Text
	Key   pgtype.Text
	Value pgtype.Text
}

type InsertStateVersionOutputParams

type InsertStateVersionOutputParams struct {
	ID             pgtype.Text
	Name           pgtype.Text
	Sensitive      pgtype.Bool
	Type           pgtype.Text
	Value          []byte
	StateVersionID pgtype.Text
}

type InsertStateVersionParams

type InsertStateVersionParams struct {
	ID          pgtype.Text
	CreatedAt   pgtype.Timestamptz
	Serial      pgtype.Int4
	State       []byte
	Status      pgtype.Text
	WorkspaceID pgtype.Text
}

type InsertTagParams

type InsertTagParams struct {
	TagID            pgtype.Text
	Name             pgtype.Text
	OrganizationName pgtype.Text
}

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

type InsertTeamTokenParams struct {
	TeamTokenID pgtype.Text
	CreatedAt   pgtype.Timestamptz
	TeamID      pgtype.Text
	Expiry      pgtype.Timestamptz
}

type InsertTokenParams

type InsertTokenParams struct {
	TokenID     pgtype.Text
	CreatedAt   pgtype.Timestamptz
	Description pgtype.Text
	Username    pgtype.Text
}

type InsertUserParams

type InsertUserParams struct {
	ID        pgtype.Text
	CreatedAt pgtype.Timestamptz
	UpdatedAt pgtype.Timestamptz
	Username  pgtype.Text
}

type InsertVCSProviderParams

type InsertVCSProviderParams struct {
	VCSProviderID    pgtype.Text
	CreatedAt        pgtype.Timestamptz
	Name             pgtype.Text
	VCSKind          pgtype.Text
	Token            pgtype.Text
	GithubAppID      pgtype.Int8
	OrganizationName pgtype.Text
}

type InsertVariableParams

type InsertVariableParams struct {
	VariableID  pgtype.Text
	Key         pgtype.Text
	Value       pgtype.Text
	Description pgtype.Text
	Category    pgtype.Text
	Sensitive   pgtype.Bool
	HCL         pgtype.Bool
	VersionID   pgtype.Text
}

type InsertVariableSetParams

type InsertVariableSetParams struct {
	VariableSetID    pgtype.Text
	Global           pgtype.Bool
	Name             pgtype.Text
	Description      pgtype.Text
	OrganizationName pgtype.Text
}

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 ListGPGKeysRow added in v0.9.0

type ListGPGKeysRow struct {
	ID               pgtype.Text        `json:"id"`
	OrganizationName pgtype.Text        `json:"organization_name"`
	AsciiArmor       pgtype.Text        `json:"ascii_armor"`
	KeyID            pgtype.Text        `json:"key_id"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	UpdatedAt        pgtype.Timestamptz `json:"updated_at"`
}

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)

	InsertGPGKey(ctx context.Context, params InsertGPGKeyParams) (pgconn.CommandTag, error)
	// InsertGPGKeyBatch enqueues a InsertGPGKey query into batch to be executed
	// later by the batch.
	InsertGPGKeyBatch(batch genericBatch, params InsertGPGKeyParams)
	// InsertGPGKeyScan scans the result of an executed InsertGPGKeyBatch query.
	InsertGPGKeyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	UpdateGPGKey(ctx context.Context, params UpdateGPGKeyParams) (pgconn.CommandTag, error)
	// UpdateGPGKeyBatch enqueues a UpdateGPGKey query into batch to be executed
	// later by the batch.
	UpdateGPGKeyBatch(batch genericBatch, params UpdateGPGKeyParams)
	// UpdateGPGKeyScan scans the result of an executed UpdateGPGKeyBatch query.
	UpdateGPGKeyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	DeleteGPGKey(ctx context.Context, keyID pgtype.Text, organizationName pgtype.Text) (pgconn.CommandTag, error)
	// DeleteGPGKeyBatch enqueues a DeleteGPGKey query into batch to be executed
	// later by the batch.
	DeleteGPGKeyBatch(batch genericBatch, keyID pgtype.Text, organizationName pgtype.Text)
	// DeleteGPGKeyScan scans the result of an executed DeleteGPGKeyBatch query.
	DeleteGPGKeyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	ListGPGKeys(ctx context.Context, organizationNames []string) ([]ListGPGKeysRow, error)
	// ListGPGKeysBatch enqueues a ListGPGKeys query into batch to be executed
	// later by the batch.
	ListGPGKeysBatch(batch genericBatch, organizationNames []string)
	// ListGPGKeysScan scans the result of an executed ListGPGKeysBatch query.
	ListGPGKeysScan(results pgx.BatchResults) ([]ListGPGKeysRow, error)

	GetGPGKey(ctx context.Context, keyID pgtype.Text, organizationName pgtype.Text) (GetGPGKeyRow, error)
	// GetGPGKeyBatch enqueues a GetGPGKey query into batch to be executed
	// later by the batch.
	GetGPGKeyBatch(batch genericBatch, keyID pgtype.Text, organizationName pgtype.Text)
	// GetGPGKeyScan scans the result of an executed GetGPGKeyBatch query.
	GetGPGKeyScan(results pgx.BatchResults) (GetGPGKeyRow, 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

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

type UpdateAgentParams struct {
	Status       pgtype.Text
	LastPingAt   pgtype.Timestamptz
	LastStatusAt pgtype.Timestamptz
	AgentID      pgtype.Text
}

type UpdateAgentPoolParams

type UpdateAgentPoolParams struct {
	Name               pgtype.Text
	OrganizationScoped pgtype.Bool
	PoolID             pgtype.Text
}

type UpdateAgentPoolRow

type UpdateAgentPoolRow 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"`
}

type UpdateAgentRow

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 UpdateAppliedChangesByIDParams

type UpdateAppliedChangesByIDParams struct {
	Additions    pgtype.Int4
	Changes      pgtype.Int4
	Destructions pgtype.Int4
	RunID        pgtype.Text
}

type UpdateGPGKeyParams added in v0.9.0

type UpdateGPGKeyParams struct {
	NewOrganizationName pgtype.Text
	UpdatedAt           pgtype.Timestamptz
	KeyID               pgtype.Text
	OrganizationName    pgtype.Text
}

type UpdateJobParams

type UpdateJobParams struct {
	Status   pgtype.Text
	Signaled pgtype.Bool
	AgentID  pgtype.Text
	RunID    pgtype.Text
	Phase    pgtype.Text
}

type UpdateJobRow

type UpdateJobRow struct {
	RunID    pgtype.Text `json:"run_id"`
	Phase    pgtype.Text `json:"phase"`
	Status   pgtype.Text `json:"status"`
	AgentID  pgtype.Text `json:"agent_id"`
	Signaled pgtype.Bool `json:"signaled"`
}

type UpdateModuleVersionStatusByIDParams

type UpdateModuleVersionStatusByIDParams struct {
	Status          pgtype.Text
	StatusError     pgtype.Text
	ModuleVersionID pgtype.Text
}

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 UpdateNotificationConfigurationByIDParams

type UpdateNotificationConfigurationByIDParams struct {
	UpdatedAt                   pgtype.Timestamptz
	Enabled                     pgtype.Bool
	Name                        pgtype.Text
	Triggers                    []string
	URL                         pgtype.Text
	NotificationConfigurationID pgtype.Text
}

type UpdateOrganizationByNameParams

type UpdateOrganizationByNameParams struct {
	NewName                    pgtype.Text
	Email                      pgtype.Text
	CollaboratorAuthPolicy     pgtype.Text
	CostEstimationEnabled      pgtype.Bool
	SessionRemember            pgtype.Int4
	SessionTimeout             pgtype.Int4
	AllowForceDeleteWorkspaces pgtype.Bool
	UpdatedAt                  pgtype.Timestamptz
	Name                       pgtype.Text
}

type UpdatePlannedChangesByIDParams

type UpdatePlannedChangesByIDParams struct {
	ResourceAdditions    pgtype.Int4
	ResourceChanges      pgtype.Int4
	ResourceDestructions pgtype.Int4
	OutputAdditions      pgtype.Int4
	OutputChanges        pgtype.Int4
	OutputDestructions   pgtype.Int4
	RunID                pgtype.Text
}

type UpdateRepohookVCSIDRow

type UpdateRepohookVCSIDRow struct {
	RepohookID    pgtype.UUID `json:"repohook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	Secret        pgtype.Text `json:"secret"`
	RepoPath      pgtype.Text `json:"repo_path"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
}

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

type UpdateVCSProviderParams struct {
	Name          pgtype.Text
	Token         pgtype.Text
	VCSProviderID pgtype.Text
}

type UpdateVCSProviderRow

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 UpdateVariableByIDParams

type UpdateVariableByIDParams struct {
	Key         pgtype.Text
	Value       pgtype.Text
	Description pgtype.Text
	Category    pgtype.Text
	Sensitive   pgtype.Bool
	VersionID   pgtype.Text
	HCL         pgtype.Bool
	VariableID  pgtype.Text
}

type UpdateVariableSetByIDParams

type UpdateVariableSetByIDParams struct {
	Global        pgtype.Bool
	Name          pgtype.Text
	Description   pgtype.Text
	VariableSetID pgtype.Text
}

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 UpdateWorkspaceLockByIDParams

type UpdateWorkspaceLockByIDParams struct {
	Username    pgtype.Text
	RunID       pgtype.Text
	WorkspaceID pgtype.Text
}

type UpsertOrganizationTokenParams

type UpsertOrganizationTokenParams struct {
	OrganizationTokenID pgtype.Text
	CreatedAt           pgtype.Timestamptz
	OrganizationName    pgtype.Text
	Expiry              pgtype.Timestamptz
}

type UpsertWorkspacePermissionParams

type UpsertWorkspacePermissionParams struct {
	WorkspaceID pgtype.Text
	TeamID      pgtype.Text
	Role        pgtype.Text
}

type Users

type Users struct {
	UserID    pgtype.Text        `json:"user_id"`
	Username  pgtype.Text        `json:"username"`
	CreatedAt pgtype.Timestamptz `json:"created_at"`
	UpdatedAt pgtype.Timestamptz `json:"updated_at"`
	SiteAdmin pgtype.Bool        `json:"site_admin"`
}

Users represents the Postgres composite type "users".

type Variables

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".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL