pggen

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 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 added in v0.0.48

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

CountStateVersionsByWorkspaceID implements Querier.CountStateVersionsByWorkspaceID.

func (*DBQuerier) CountStateVersionsByWorkspaceIDBatch added in v0.0.48

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

CountStateVersionsByWorkspaceIDBatch implements Querier.CountStateVersionsByWorkspaceIDBatch.

func (*DBQuerier) CountStateVersionsByWorkspaceIDScan added in v0.0.48

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

CountStateVersionsByWorkspaceIDScan implements Querier.CountStateVersionsByWorkspaceIDScan.

func (*DBQuerier) CountTags

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

CountTags implements Querier.CountTags.

func (*DBQuerier) CountTagsBatch

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) DeleteAgentTokenByID

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

DeleteAgentTokenByID implements Querier.DeleteAgentTokenByID.

func (*DBQuerier) DeleteAgentTokenByIDBatch

func (q *DBQuerier) DeleteAgentTokenByIDBatch(batch genericBatch, tokenID 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) 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) (pgtype.UUID, 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) (pgtype.UUID, 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 added in v0.1.0

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

DeleteOrganiationTokenByName implements Querier.DeleteOrganiationTokenByName.

func (*DBQuerier) DeleteOrganiationTokenByNameBatch added in v0.1.0

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

DeleteOrganiationTokenByNameBatch implements Querier.DeleteOrganiationTokenByNameBatch.

func (*DBQuerier) DeleteOrganiationTokenByNameScan added in v0.1.0

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

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

DeleteVariableSetByID implements Querier.DeleteVariableSetByID.

func (*DBQuerier) DeleteVariableSetByIDBatch added in v0.1.9

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

DeleteVariableSetByIDBatch implements Querier.DeleteVariableSetByIDBatch.

func (*DBQuerier) DeleteVariableSetByIDScan added in v0.1.9

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

DeleteVariableSetByIDScan implements Querier.DeleteVariableSetByIDScan.

func (*DBQuerier) DeleteVariableSetVariable added in v0.1.9

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

DeleteVariableSetVariable implements Querier.DeleteVariableSetVariable.

func (*DBQuerier) DeleteVariableSetVariableBatch added in v0.1.9

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

DeleteVariableSetVariableBatch implements Querier.DeleteVariableSetVariableBatch.

func (*DBQuerier) DeleteVariableSetVariableScan added in v0.1.9

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

DeleteVariableSetVariableScan implements Querier.DeleteVariableSetVariableScan.

func (*DBQuerier) DeleteVariableSetWorkspace added in v0.1.9

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

DeleteVariableSetWorkspace implements Querier.DeleteVariableSetWorkspace.

func (*DBQuerier) DeleteVariableSetWorkspaceBatch added in v0.1.9

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

DeleteVariableSetWorkspaceBatch implements Querier.DeleteVariableSetWorkspaceBatch.

func (*DBQuerier) DeleteVariableSetWorkspaceScan added in v0.1.9

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

DeleteVariableSetWorkspaceScan implements Querier.DeleteVariableSetWorkspaceScan.

func (*DBQuerier) DeleteVariableSetWorkspaces added in v0.1.9

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

DeleteVariableSetWorkspaces implements Querier.DeleteVariableSetWorkspaces.

func (*DBQuerier) DeleteVariableSetWorkspacesBatch added in v0.1.9

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

DeleteVariableSetWorkspacesBatch implements Querier.DeleteVariableSetWorkspacesBatch.

func (*DBQuerier) DeleteVariableSetWorkspacesScan added in v0.1.9

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

DeleteVariableSetWorkspacesScan implements Querier.DeleteVariableSetWorkspacesScan.

func (*DBQuerier) DeleteWebhookByID

func (q *DBQuerier) DeleteWebhookByID(ctx context.Context, webhookID pgtype.UUID) (DeleteWebhookByIDRow, error)

DeleteWebhookByID implements Querier.DeleteWebhookByID.

func (*DBQuerier) DeleteWebhookByIDBatch

func (q *DBQuerier) DeleteWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID)

DeleteWebhookByIDBatch implements Querier.DeleteWebhookByIDBatch.

func (*DBQuerier) DeleteWebhookByIDScan

func (q *DBQuerier) DeleteWebhookByIDScan(results pgx.BatchResults) (DeleteWebhookByIDRow, error)

DeleteWebhookByIDScan implements Querier.DeleteWebhookByIDScan.

func (*DBQuerier) DeleteWorkspaceByID

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

DeleteWorkspaceByID implements Querier.DeleteWorkspaceByID.

func (*DBQuerier) DeleteWorkspaceByIDBatch

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) (pgtype.UUID, 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) (pgtype.UUID, 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, teamName pgtype.Text) (pgconn.CommandTag, error)

DeleteWorkspacePermissionByID implements Querier.DeleteWorkspacePermissionByID.

func (*DBQuerier) DeleteWorkspacePermissionByIDBatch

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

DeleteWorkspacePermissionByIDBatch implements Querier.DeleteWorkspacePermissionByIDBatch.

func (*DBQuerier) DeleteWorkspacePermissionByIDScan

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

DeleteWorkspacePermissionByIDScan implements Querier.DeleteWorkspacePermissionByIDScan.

func (*DBQuerier) DeleteWorkspaceRepoByID

func (q *DBQuerier) DeleteWorkspaceRepoByID(ctx context.Context, workspaceID pgtype.Text) (DeleteWorkspaceRepoByIDRow, error)

DeleteWorkspaceRepoByID implements Querier.DeleteWorkspaceRepoByID.

func (*DBQuerier) DeleteWorkspaceRepoByIDBatch

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

DeleteWorkspaceRepoByIDBatch implements Querier.DeleteWorkspaceRepoByIDBatch.

func (*DBQuerier) DeleteWorkspaceRepoByIDScan

func (q *DBQuerier) DeleteWorkspaceRepoByIDScan(results pgx.BatchResults) (DeleteWorkspaceRepoByIDRow, error)

DeleteWorkspaceRepoByIDScan implements Querier.DeleteWorkspaceRepoByIDScan.

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

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

DeleteWorkspaceVariableByID implements Querier.DeleteWorkspaceVariableByID.

func (*DBQuerier) DeleteWorkspaceVariableByIDBatch added in v0.1.9

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

DeleteWorkspaceVariableByIDBatch implements Querier.DeleteWorkspaceVariableByIDBatch.

func (*DBQuerier) DeleteWorkspaceVariableByIDScan added in v0.1.9

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

DeleteWorkspaceVariableByIDScan implements Querier.DeleteWorkspaceVariableByIDScan.

func (*DBQuerier) 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) FindAgentTokenByID

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

FindAgentTokenByID implements Querier.FindAgentTokenByID.

func (*DBQuerier) FindAgentTokenByIDBatch

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

FindAgentTokenByIDBatch implements Querier.FindAgentTokenByIDBatch.

func (*DBQuerier) FindAgentTokenByIDScan

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

FindAgentTokenByIDScan implements Querier.FindAgentTokenByIDScan.

func (*DBQuerier) FindAgentTokens

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

FindAgentTokens implements Querier.FindAgentTokens.

func (*DBQuerier) FindAgentTokensBatch

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

FindAgentTokensBatch implements Querier.FindAgentTokensBatch.

func (*DBQuerier) FindAgentTokensScan

func (q *DBQuerier) FindAgentTokensScan(results pgx.BatchResults) ([]FindAgentTokensRow, error)

FindAgentTokensScan implements Querier.FindAgentTokensScan.

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) 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) 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) 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) FindModuleByWebhookID

func (q *DBQuerier) FindModuleByWebhookID(ctx context.Context, webhookID pgtype.UUID) (FindModuleByWebhookIDRow, error)

FindModuleByWebhookID implements Querier.FindModuleByWebhookID.

func (*DBQuerier) FindModuleByWebhookIDBatch

func (q *DBQuerier) FindModuleByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID)

FindModuleByWebhookIDBatch implements Querier.FindModuleByWebhookIDBatch.

func (*DBQuerier) FindModuleByWebhookIDScan

func (q *DBQuerier) FindModuleByWebhookIDScan(results pgx.BatchResults) (FindModuleByWebhookIDRow, error)

FindModuleByWebhookIDScan implements Querier.FindModuleByWebhookIDScan.

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) FindOrganizationTokensByID added in v0.1.0

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

FindOrganizationTokensByID implements Querier.FindOrganizationTokensByID.

func (*DBQuerier) FindOrganizationTokensByIDBatch added in v0.1.0

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

FindOrganizationTokensByIDBatch implements Querier.FindOrganizationTokensByIDBatch.

func (*DBQuerier) FindOrganizationTokensByIDScan added in v0.1.0

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

FindOrganizationTokensByIDScan implements Querier.FindOrganizationTokensByIDScan.

func (*DBQuerier) FindOrganizationTokensByName added in v0.1.0

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

FindOrganizationTokensByName implements Querier.FindOrganizationTokensByName.

func (*DBQuerier) FindOrganizationTokensByNameBatch added in v0.1.0

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

FindOrganizationTokensByNameBatch implements Querier.FindOrganizationTokensByNameBatch.

func (*DBQuerier) FindOrganizationTokensByNameScan added in v0.1.0

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

FindOrganizationTokensByNameScan implements Querier.FindOrganizationTokensByNameScan.

func (*DBQuerier) FindOrganizations

func (q *DBQuerier) FindOrganizations(ctx context.Context, params FindOrganizationsParams) ([]FindOrganizationsRow, error)

FindOrganizations implements Querier.FindOrganizations.

func (*DBQuerier) FindOrganizationsBatch

func (q *DBQuerier) FindOrganizationsBatch(batch genericBatch, params FindOrganizationsParams)

FindOrganizationsBatch implements Querier.FindOrganizationsBatch.

func (*DBQuerier) FindOrganizationsScan

func (q *DBQuerier) FindOrganizationsScan(results pgx.BatchResults) ([]FindOrganizationsRow, error)

FindOrganizationsScan implements Querier.FindOrganizationsScan.

func (*DBQuerier) FindRunByID

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

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

FindStateVersionsByWorkspaceID implements Querier.FindStateVersionsByWorkspaceID.

func (*DBQuerier) FindStateVersionsByWorkspaceIDBatch added in v0.0.48

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

FindStateVersionsByWorkspaceIDBatch implements Querier.FindStateVersionsByWorkspaceIDBatch.

func (*DBQuerier) FindStateVersionsByWorkspaceIDScan added in v0.0.48

func (q *DBQuerier) FindStateVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindStateVersionsByWorkspaceIDRow, error)

FindStateVersionsByWorkspaceIDScan implements Querier.FindStateVersionsByWorkspaceIDScan.

func (*DBQuerier) FindTagByID

func (q *DBQuerier) FindTagByID(ctx context.Context, tagID pgtype.Text, organizationName pgtype.Text) (FindTagByIDRow, error)

FindTagByID implements Querier.FindTagByID.

func (*DBQuerier) FindTagByIDBatch

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

FindTagByIDBatch implements Querier.FindTagByIDBatch.

func (*DBQuerier) FindTagByIDScan

func (q *DBQuerier) FindTagByIDScan(results pgx.BatchResults) (FindTagByIDRow, error)

FindTagByIDScan implements Querier.FindTagByIDScan.

func (*DBQuerier) FindTagByName

func (q *DBQuerier) FindTagByName(ctx context.Context, name pgtype.Text, organizationName pgtype.Text) (FindTagByNameRow, error)

FindTagByName implements Querier.FindTagByName.

func (*DBQuerier) FindTagByNameBatch

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

FindTagByNameBatch implements Querier.FindTagByNameBatch.

func (*DBQuerier) FindTagByNameScan

func (q *DBQuerier) FindTagByNameScan(results pgx.BatchResults) (FindTagByNameRow, error)

FindTagByNameScan implements Querier.FindTagByNameScan.

func (*DBQuerier) FindTags

func (q *DBQuerier) FindTags(ctx context.Context, params FindTagsParams) ([]FindTagsRow, error)

FindTags implements Querier.FindTags.

func (*DBQuerier) FindTagsBatch

func (q *DBQuerier) FindTagsBatch(batch genericBatch, params FindTagsParams)

FindTagsBatch implements Querier.FindTagsBatch.

func (*DBQuerier) FindTagsScan

func (q *DBQuerier) FindTagsScan(results pgx.BatchResults) ([]FindTagsRow, error)

FindTagsScan implements Querier.FindTagsScan.

func (*DBQuerier) FindTeamByID

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) 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) FindUnreferencedWebhooks added in v0.0.53

func (q *DBQuerier) FindUnreferencedWebhooks(ctx context.Context) ([]FindUnreferencedWebhooksRow, error)

FindUnreferencedWebhooks implements Querier.FindUnreferencedWebhooks.

func (*DBQuerier) FindUnreferencedWebhooksBatch added in v0.0.53

func (q *DBQuerier) FindUnreferencedWebhooksBatch(batch genericBatch)

FindUnreferencedWebhooksBatch implements Querier.FindUnreferencedWebhooksBatch.

func (*DBQuerier) FindUnreferencedWebhooksScan added in v0.0.53

func (q *DBQuerier) FindUnreferencedWebhooksScan(results pgx.BatchResults) ([]FindUnreferencedWebhooksRow, error)

FindUnreferencedWebhooksScan implements Querier.FindUnreferencedWebhooksScan.

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) 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) FindVCSProvidersByOrganization added in v0.0.53

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

FindVCSProvidersByOrganization implements Querier.FindVCSProvidersByOrganization.

func (*DBQuerier) FindVCSProvidersByOrganizationBatch added in v0.0.53

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

FindVCSProvidersByOrganizationBatch implements Querier.FindVCSProvidersByOrganizationBatch.

func (*DBQuerier) FindVCSProvidersByOrganizationScan added in v0.0.53

func (q *DBQuerier) FindVCSProvidersByOrganizationScan(results pgx.BatchResults) ([]FindVCSProvidersByOrganizationRow, error)

FindVCSProvidersByOrganizationScan implements Querier.FindVCSProvidersByOrganizationScan.

func (*DBQuerier) FindVCSProvidersScan

func (q *DBQuerier) FindVCSProvidersScan(results pgx.BatchResults) ([]FindVCSProvidersRow, error)

FindVCSProvidersScan implements Querier.FindVCSProvidersScan.

func (*DBQuerier) FindVariable

func (q *DBQuerier) FindVariable(ctx context.Context, variableID pgtype.Text) (FindVariableRow, error)

FindVariable implements Querier.FindVariable.

func (*DBQuerier) FindVariableBatch

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

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

FindVariableSetBySetID implements Querier.FindVariableSetBySetID.

func (*DBQuerier) FindVariableSetBySetIDBatch added in v0.1.9

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

FindVariableSetBySetIDBatch implements Querier.FindVariableSetBySetIDBatch.

func (*DBQuerier) FindVariableSetBySetIDScan added in v0.1.9

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

FindVariableSetBySetIDScan implements Querier.FindVariableSetBySetIDScan.

func (*DBQuerier) FindVariableSetByVariableID added in v0.1.9

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

FindVariableSetByVariableID implements Querier.FindVariableSetByVariableID.

func (*DBQuerier) FindVariableSetByVariableIDBatch added in v0.1.9

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

FindVariableSetByVariableIDBatch implements Querier.FindVariableSetByVariableIDBatch.

func (*DBQuerier) FindVariableSetByVariableIDScan added in v0.1.9

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

FindVariableSetByVariableIDScan implements Querier.FindVariableSetByVariableIDScan.

func (*DBQuerier) FindVariableSetForUpdate added in v0.1.9

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

FindVariableSetForUpdate implements Querier.FindVariableSetForUpdate.

func (*DBQuerier) FindVariableSetForUpdateBatch added in v0.1.9

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

FindVariableSetForUpdateBatch implements Querier.FindVariableSetForUpdateBatch.

func (*DBQuerier) FindVariableSetForUpdateScan added in v0.1.9

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

FindVariableSetForUpdateScan implements Querier.FindVariableSetForUpdateScan.

func (*DBQuerier) FindVariableSetsByOrganization added in v0.1.9

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

FindVariableSetsByOrganization implements Querier.FindVariableSetsByOrganization.

func (*DBQuerier) FindVariableSetsByOrganizationBatch added in v0.1.9

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

FindVariableSetsByOrganizationBatch implements Querier.FindVariableSetsByOrganizationBatch.

func (*DBQuerier) FindVariableSetsByOrganizationScan added in v0.1.9

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

FindVariableSetsByOrganizationScan implements Querier.FindVariableSetsByOrganizationScan.

func (*DBQuerier) FindVariableSetsByWorkspace added in v0.1.9

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

FindVariableSetsByWorkspace implements Querier.FindVariableSetsByWorkspace.

func (*DBQuerier) FindVariableSetsByWorkspaceBatch added in v0.1.9

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

FindVariableSetsByWorkspaceBatch implements Querier.FindVariableSetsByWorkspaceBatch.

func (*DBQuerier) FindVariableSetsByWorkspaceScan added in v0.1.9

func (q *DBQuerier) FindVariableSetsByWorkspaceScan(results pgx.BatchResults) ([]FindVariableSetsByWorkspaceRow, error)

FindVariableSetsByWorkspaceScan implements Querier.FindVariableSetsByWorkspaceScan.

func (*DBQuerier) FindWebhookByID

func (q *DBQuerier) FindWebhookByID(ctx context.Context, webhookID pgtype.UUID) (FindWebhookByIDRow, error)

FindWebhookByID implements Querier.FindWebhookByID.

func (*DBQuerier) FindWebhookByIDBatch

func (q *DBQuerier) FindWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID)

FindWebhookByIDBatch implements Querier.FindWebhookByIDBatch.

func (*DBQuerier) FindWebhookByIDScan

func (q *DBQuerier) FindWebhookByIDScan(results pgx.BatchResults) (FindWebhookByIDRow, error)

FindWebhookByIDScan implements Querier.FindWebhookByIDScan.

func (*DBQuerier) FindWebhookByRepoAndProvider added in v0.0.53

func (q *DBQuerier) FindWebhookByRepoAndProvider(ctx context.Context, identifier pgtype.Text, vcsProviderID pgtype.Text) ([]FindWebhookByRepoAndProviderRow, error)

FindWebhookByRepoAndProvider implements Querier.FindWebhookByRepoAndProvider.

func (*DBQuerier) FindWebhookByRepoAndProviderBatch added in v0.0.53

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

FindWebhookByRepoAndProviderBatch implements Querier.FindWebhookByRepoAndProviderBatch.

func (*DBQuerier) FindWebhookByRepoAndProviderScan added in v0.0.53

func (q *DBQuerier) FindWebhookByRepoAndProviderScan(results pgx.BatchResults) ([]FindWebhookByRepoAndProviderRow, error)

FindWebhookByRepoAndProviderScan implements Querier.FindWebhookByRepoAndProviderScan.

func (*DBQuerier) FindWebhooks added in v0.0.53

func (q *DBQuerier) FindWebhooks(ctx context.Context) ([]FindWebhooksRow, error)

FindWebhooks implements Querier.FindWebhooks.

func (*DBQuerier) FindWebhooksBatch added in v0.0.53

func (q *DBQuerier) FindWebhooksBatch(batch genericBatch)

FindWebhooksBatch implements Querier.FindWebhooksBatch.

func (*DBQuerier) FindWebhooksScan added in v0.0.53

func (q *DBQuerier) FindWebhooksScan(results pgx.BatchResults) ([]FindWebhooksRow, error)

FindWebhooksScan implements Querier.FindWebhooksScan.

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

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

FindWorkspaceVariableByVariableID implements Querier.FindWorkspaceVariableByVariableID.

func (*DBQuerier) FindWorkspaceVariableByVariableIDBatch added in v0.1.9

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

FindWorkspaceVariableByVariableIDBatch implements Querier.FindWorkspaceVariableByVariableIDBatch.

func (*DBQuerier) FindWorkspaceVariableByVariableIDScan added in v0.1.9

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

FindWorkspaceVariableByVariableIDScan implements Querier.FindWorkspaceVariableByVariableIDScan.

func (*DBQuerier) FindWorkspaceVariablesByWorkspaceID added in v0.1.9

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

FindWorkspaceVariablesByWorkspaceID implements Querier.FindWorkspaceVariablesByWorkspaceID.

func (*DBQuerier) FindWorkspaceVariablesByWorkspaceIDBatch added in v0.1.9

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

FindWorkspaceVariablesByWorkspaceIDBatch implements Querier.FindWorkspaceVariablesByWorkspaceIDBatch.

func (*DBQuerier) FindWorkspaceVariablesByWorkspaceIDScan added in v0.1.9

func (q *DBQuerier) FindWorkspaceVariablesByWorkspaceIDScan(results pgx.BatchResults) ([]FindWorkspaceVariablesByWorkspaceIDRow, error)

FindWorkspaceVariablesByWorkspaceIDScan implements Querier.FindWorkspaceVariablesByWorkspaceIDScan.

func (*DBQuerier) FindWorkspaces

func (q *DBQuerier) FindWorkspaces(ctx context.Context, params FindWorkspacesParams) ([]FindWorkspacesRow, error)

FindWorkspaces implements Querier.FindWorkspaces.

func (*DBQuerier) FindWorkspacesBatch

func (q *DBQuerier) FindWorkspacesBatch(batch genericBatch, params FindWorkspacesParams)

FindWorkspacesBatch implements Querier.FindWorkspacesBatch.

func (*DBQuerier) 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) FindWorkspacesByWebhookID

func (q *DBQuerier) FindWorkspacesByWebhookID(ctx context.Context, webhookID pgtype.UUID) ([]FindWorkspacesByWebhookIDRow, error)

FindWorkspacesByWebhookID implements Querier.FindWorkspacesByWebhookID.

func (*DBQuerier) FindWorkspacesByWebhookIDBatch

func (q *DBQuerier) FindWorkspacesByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID)

FindWorkspacesByWebhookIDBatch implements Querier.FindWorkspacesByWebhookIDBatch.

func (*DBQuerier) FindWorkspacesByWebhookIDScan

func (q *DBQuerier) FindWorkspacesByWebhookIDScan(results pgx.BatchResults) ([]FindWorkspacesByWebhookIDRow, error)

FindWorkspacesByWebhookIDScan implements Querier.FindWorkspacesByWebhookIDScan.

func (*DBQuerier) FindWorkspacesScan

func (q *DBQuerier) FindWorkspacesScan(results pgx.BatchResults) ([]FindWorkspacesRow, error)

FindWorkspacesScan implements Querier.FindWorkspacesScan.

func (*DBQuerier) GetLockFileByID

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) 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) 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) 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) InsertRun

func (q *DBQuerier) InsertRun(ctx context.Context, params InsertRunParams) (pgconn.CommandTag, error)

InsertRun implements Querier.InsertRun.

func (*DBQuerier) InsertRunBatch

func (q *DBQuerier) InsertRunBatch(batch genericBatch, params InsertRunParams)

InsertRunBatch implements Querier.InsertRunBatch.

func (*DBQuerier) InsertRunScan

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

InsertRunScan implements Querier.InsertRunScan.

func (*DBQuerier) InsertRunStatusTimestamp

func (q *DBQuerier) InsertRunStatusTimestamp(ctx context.Context, params InsertRunStatusTimestampParams) (pgconn.CommandTag, error)

InsertRunStatusTimestamp implements Querier.InsertRunStatusTimestamp.

func (*DBQuerier) InsertRunStatusTimestampBatch

func (q *DBQuerier) InsertRunStatusTimestampBatch(batch genericBatch, params InsertRunStatusTimestampParams)

InsertRunStatusTimestampBatch implements Querier.InsertRunStatusTimestampBatch.

func (*DBQuerier) InsertRunStatusTimestampScan

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

InsertRunStatusTimestampScan implements Querier.InsertRunStatusTimestampScan.

func (*DBQuerier) InsertRunVariable added in v0.1.8

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

InsertRunVariable implements Querier.InsertRunVariable.

func (*DBQuerier) InsertRunVariableBatch added in v0.1.8

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

InsertRunVariableBatch implements Querier.InsertRunVariableBatch.

func (*DBQuerier) InsertRunVariableScan added in v0.1.8

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

InsertRunVariableScan implements Querier.InsertRunVariableScan.

func (*DBQuerier) InsertStateVersion

func (q *DBQuerier) InsertStateVersion(ctx context.Context, params InsertStateVersionParams) (pgconn.CommandTag, error)

InsertStateVersion implements Querier.InsertStateVersion.

func (*DBQuerier) InsertStateVersionBatch

func (q *DBQuerier) InsertStateVersionBatch(batch genericBatch, params InsertStateVersionParams)

InsertStateVersionBatch implements Querier.InsertStateVersionBatch.

func (*DBQuerier) InsertStateVersionOutput

func (q *DBQuerier) InsertStateVersionOutput(ctx context.Context, params InsertStateVersionOutputParams) (pgconn.CommandTag, error)

InsertStateVersionOutput implements Querier.InsertStateVersionOutput.

func (*DBQuerier) InsertStateVersionOutputBatch

func (q *DBQuerier) InsertStateVersionOutputBatch(batch genericBatch, params InsertStateVersionOutputParams)

InsertStateVersionOutputBatch implements Querier.InsertStateVersionOutputBatch.

func (*DBQuerier) InsertStateVersionOutputScan

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

InsertStateVersionOutputScan implements Querier.InsertStateVersionOutputScan.

func (*DBQuerier) InsertStateVersionScan

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

InsertStateVersionScan implements Querier.InsertStateVersionScan.

func (*DBQuerier) InsertTag

func (q *DBQuerier) InsertTag(ctx context.Context, params InsertTagParams) (pgconn.CommandTag, error)

InsertTag implements Querier.InsertTag.

func (*DBQuerier) InsertTagBatch

func (q *DBQuerier) InsertTagBatch(batch genericBatch, params InsertTagParams)

InsertTagBatch implements Querier.InsertTagBatch.

func (*DBQuerier) InsertTagScan

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

InsertTagScan implements Querier.InsertTagScan.

func (*DBQuerier) InsertTeam

func (q *DBQuerier) InsertTeam(ctx context.Context, params InsertTeamParams) (pgconn.CommandTag, error)

InsertTeam implements Querier.InsertTeam.

func (*DBQuerier) InsertTeamBatch

func (q *DBQuerier) InsertTeamBatch(batch genericBatch, params InsertTeamParams)

InsertTeamBatch implements Querier.InsertTeamBatch.

func (*DBQuerier) InsertTeamMembership

func (q *DBQuerier) InsertTeamMembership(ctx context.Context, usernames []string, teamID pgtype.Text) ([]pgtype.Text, error)

InsertTeamMembership implements Querier.InsertTeamMembership.

func (*DBQuerier) InsertTeamMembershipBatch

func (q *DBQuerier) InsertTeamMembershipBatch(batch genericBatch, usernames []string, teamID pgtype.Text)

InsertTeamMembershipBatch implements Querier.InsertTeamMembershipBatch.

func (*DBQuerier) InsertTeamMembershipScan

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) InsertToken

func (q *DBQuerier) InsertToken(ctx context.Context, params InsertTokenParams) (pgconn.CommandTag, error)

InsertToken implements Querier.InsertToken.

func (*DBQuerier) InsertTokenBatch

func (q *DBQuerier) InsertTokenBatch(batch genericBatch, params InsertTokenParams)

InsertTokenBatch implements Querier.InsertTokenBatch.

func (*DBQuerier) InsertTokenScan

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

InsertTokenScan implements Querier.InsertTokenScan.

func (*DBQuerier) InsertUser

func (q *DBQuerier) InsertUser(ctx context.Context, params InsertUserParams) (pgconn.CommandTag, error)

InsertUser implements Querier.InsertUser.

func (*DBQuerier) InsertUserBatch

func (q *DBQuerier) InsertUserBatch(batch genericBatch, params InsertUserParams)

InsertUserBatch implements Querier.InsertUserBatch.

func (*DBQuerier) InsertUserScan

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

InsertUserScan implements Querier.InsertUserScan.

func (*DBQuerier) InsertVCSProvider

func (q *DBQuerier) InsertVCSProvider(ctx context.Context, params InsertVCSProviderParams) (pgconn.CommandTag, error)

InsertVCSProvider implements Querier.InsertVCSProvider.

func (*DBQuerier) InsertVCSProviderBatch

func (q *DBQuerier) InsertVCSProviderBatch(batch genericBatch, params InsertVCSProviderParams)

InsertVCSProviderBatch implements Querier.InsertVCSProviderBatch.

func (*DBQuerier) InsertVCSProviderScan

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

InsertVCSProviderScan implements Querier.InsertVCSProviderScan.

func (*DBQuerier) InsertVariable

func (q *DBQuerier) InsertVariable(ctx context.Context, params InsertVariableParams) (pgconn.CommandTag, error)

InsertVariable implements Querier.InsertVariable.

func (*DBQuerier) InsertVariableBatch

func (q *DBQuerier) InsertVariableBatch(batch genericBatch, params InsertVariableParams)

InsertVariableBatch implements Querier.InsertVariableBatch.

func (*DBQuerier) InsertVariableScan

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

InsertVariableScan implements Querier.InsertVariableScan.

func (*DBQuerier) InsertVariableSet added in v0.1.9

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

InsertVariableSet implements Querier.InsertVariableSet.

func (*DBQuerier) InsertVariableSetBatch added in v0.1.9

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

InsertVariableSetBatch implements Querier.InsertVariableSetBatch.

func (*DBQuerier) InsertVariableSetScan added in v0.1.9

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

InsertVariableSetScan implements Querier.InsertVariableSetScan.

func (*DBQuerier) InsertVariableSetVariable added in v0.1.9

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

InsertVariableSetVariable implements Querier.InsertVariableSetVariable.

func (*DBQuerier) InsertVariableSetVariableBatch added in v0.1.9

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

InsertVariableSetVariableBatch implements Querier.InsertVariableSetVariableBatch.

func (*DBQuerier) InsertVariableSetVariableScan added in v0.1.9

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

InsertVariableSetVariableScan implements Querier.InsertVariableSetVariableScan.

func (*DBQuerier) InsertVariableSetWorkspace added in v0.1.9

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

InsertVariableSetWorkspace implements Querier.InsertVariableSetWorkspace.

func (*DBQuerier) InsertVariableSetWorkspaceBatch added in v0.1.9

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

InsertVariableSetWorkspaceBatch implements Querier.InsertVariableSetWorkspaceBatch.

func (*DBQuerier) InsertVariableSetWorkspaceScan added in v0.1.9

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

InsertVariableSetWorkspaceScan implements Querier.InsertVariableSetWorkspaceScan.

func (*DBQuerier) InsertWebhook

func (q *DBQuerier) InsertWebhook(ctx context.Context, params InsertWebhookParams) (InsertWebhookRow, error)

InsertWebhook implements Querier.InsertWebhook.

func (*DBQuerier) InsertWebhookBatch

func (q *DBQuerier) InsertWebhookBatch(batch genericBatch, params InsertWebhookParams)

InsertWebhookBatch implements Querier.InsertWebhookBatch.

func (*DBQuerier) InsertWebhookScan

func (q *DBQuerier) InsertWebhookScan(results pgx.BatchResults) (InsertWebhookRow, error)

InsertWebhookScan implements Querier.InsertWebhookScan.

func (*DBQuerier) InsertWorkspace

func (q *DBQuerier) InsertWorkspace(ctx context.Context, params InsertWorkspaceParams) (pgconn.CommandTag, error)

InsertWorkspace implements Querier.InsertWorkspace.

func (*DBQuerier) InsertWorkspaceBatch

func (q *DBQuerier) InsertWorkspaceBatch(batch genericBatch, params InsertWorkspaceParams)

InsertWorkspaceBatch implements Querier.InsertWorkspaceBatch.

func (*DBQuerier) InsertWorkspaceLockRun

func (q *DBQuerier) InsertWorkspaceLockRun(ctx context.Context, workspaceID string, runID string) (pgconn.CommandTag, error)

InsertWorkspaceLockRun implements Querier.InsertWorkspaceLockRun.

func (*DBQuerier) InsertWorkspaceLockRunBatch

func (q *DBQuerier) InsertWorkspaceLockRunBatch(batch genericBatch, workspaceID string, runID string)

InsertWorkspaceLockRunBatch implements Querier.InsertWorkspaceLockRunBatch.

func (*DBQuerier) InsertWorkspaceLockRunScan

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

InsertWorkspaceLockRunScan implements Querier.InsertWorkspaceLockRunScan.

func (*DBQuerier) InsertWorkspaceLockUser

func (q *DBQuerier) InsertWorkspaceLockUser(ctx context.Context, workspaceID string, userID string) (pgconn.CommandTag, error)

InsertWorkspaceLockUser implements Querier.InsertWorkspaceLockUser.

func (*DBQuerier) InsertWorkspaceLockUserBatch

func (q *DBQuerier) InsertWorkspaceLockUserBatch(batch genericBatch, workspaceID string, userID string)

InsertWorkspaceLockUserBatch implements Querier.InsertWorkspaceLockUserBatch.

func (*DBQuerier) InsertWorkspaceLockUserScan

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

InsertWorkspaceLockUserScan implements Querier.InsertWorkspaceLockUserScan.

func (*DBQuerier) InsertWorkspaceRepo

func (q *DBQuerier) InsertWorkspaceRepo(ctx context.Context, params InsertWorkspaceRepoParams) (pgconn.CommandTag, error)

InsertWorkspaceRepo implements Querier.InsertWorkspaceRepo.

func (*DBQuerier) InsertWorkspaceRepoBatch

func (q *DBQuerier) InsertWorkspaceRepoBatch(batch genericBatch, params InsertWorkspaceRepoParams)

InsertWorkspaceRepoBatch implements Querier.InsertWorkspaceRepoBatch.

func (*DBQuerier) InsertWorkspaceRepoScan

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

InsertWorkspaceRepoScan implements Querier.InsertWorkspaceRepoScan.

func (*DBQuerier) InsertWorkspaceScan

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

InsertWorkspaceScan implements Querier.InsertWorkspaceScan.

func (*DBQuerier) 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 added in v0.1.9

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

InsertWorkspaceVariable implements Querier.InsertWorkspaceVariable.

func (*DBQuerier) InsertWorkspaceVariableBatch added in v0.1.9

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

InsertWorkspaceVariableBatch implements Querier.InsertWorkspaceVariableBatch.

func (*DBQuerier) InsertWorkspaceVariableScan added in v0.1.9

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

InsertWorkspaceVariableScan implements Querier.InsertWorkspaceVariableScan.

func (*DBQuerier) ListModulesByOrganization

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

ListModulesByOrganization implements Querier.ListModulesByOrganization.

func (*DBQuerier) ListModulesByOrganizationBatch

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

ListModulesByOrganizationBatch implements Querier.ListModulesByOrganizationBatch.

func (*DBQuerier) ListModulesByOrganizationScan

func (q *DBQuerier) ListModulesByOrganizationScan(results pgx.BatchResults) ([]ListModulesByOrganizationRow, error)

ListModulesByOrganizationScan implements Querier.ListModulesByOrganizationScan.

func (*DBQuerier) PutLockFile

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

PutLockFile implements Querier.PutLockFile.

func (*DBQuerier) PutLockFileBatch

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) 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) 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) 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) UpdateRunForceCancelAvailableAt

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

UpdateRunForceCancelAvailableAt implements Querier.UpdateRunForceCancelAvailableAt.

func (*DBQuerier) UpdateRunForceCancelAvailableAtBatch

func (q *DBQuerier) UpdateRunForceCancelAvailableAtBatch(batch genericBatch, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text)

UpdateRunForceCancelAvailableAtBatch implements Querier.UpdateRunForceCancelAvailableAtBatch.

func (*DBQuerier) UpdateRunForceCancelAvailableAtScan

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

UpdateRunForceCancelAvailableAtScan implements Querier.UpdateRunForceCancelAvailableAtScan.

func (*DBQuerier) UpdateRunStatus

func (q *DBQuerier) UpdateRunStatus(ctx context.Context, status pgtype.Text, id pgtype.Text) (pgtype.Text, error)

UpdateRunStatus implements Querier.UpdateRunStatus.

func (*DBQuerier) UpdateRunStatusBatch

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

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

UpdateVariableSetByID implements Querier.UpdateVariableSetByID.

func (*DBQuerier) UpdateVariableSetByIDBatch added in v0.1.9

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

UpdateVariableSetByIDBatch implements Querier.UpdateVariableSetByIDBatch.

func (*DBQuerier) UpdateVariableSetByIDScan added in v0.1.9

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

UpdateVariableSetByIDScan implements Querier.UpdateVariableSetByIDScan.

func (*DBQuerier) UpdateWebhookVCSID

func (q *DBQuerier) UpdateWebhookVCSID(ctx context.Context, vcsID pgtype.Text, webhookID pgtype.UUID) (UpdateWebhookVCSIDRow, error)

UpdateWebhookVCSID implements Querier.UpdateWebhookVCSID.

func (*DBQuerier) UpdateWebhookVCSIDBatch

func (q *DBQuerier) UpdateWebhookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, webhookID pgtype.UUID)

UpdateWebhookVCSIDBatch implements Querier.UpdateWebhookVCSIDBatch.

func (*DBQuerier) UpdateWebhookVCSIDScan

func (q *DBQuerier) UpdateWebhookVCSIDScan(results pgx.BatchResults) (UpdateWebhookVCSIDRow, error)

UpdateWebhookVCSIDScan implements Querier.UpdateWebhookVCSIDScan.

func (*DBQuerier) UpdateWorkspaceByID

func (q *DBQuerier) UpdateWorkspaceByID(ctx context.Context, params UpdateWorkspaceByIDParams) (pgtype.Text, error)

UpdateWorkspaceByID implements Querier.UpdateWorkspaceByID.

func (*DBQuerier) UpdateWorkspaceByIDBatch

func (q *DBQuerier) UpdateWorkspaceByIDBatch(batch genericBatch, params UpdateWorkspaceByIDParams)

UpdateWorkspaceByIDBatch implements Querier.UpdateWorkspaceByIDBatch.

func (*DBQuerier) UpdateWorkspaceByIDScan

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) UpdateWorkspaceRepoByID

func (q *DBQuerier) UpdateWorkspaceRepoByID(ctx context.Context, branch pgtype.Text, workspaceID pgtype.Text) (pgtype.Text, error)

UpdateWorkspaceRepoByID implements Querier.UpdateWorkspaceRepoByID.

func (*DBQuerier) UpdateWorkspaceRepoByIDBatch

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

UpdateWorkspaceRepoByIDBatch implements Querier.UpdateWorkspaceRepoByIDBatch.

func (*DBQuerier) UpdateWorkspaceRepoByIDScan

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

UpdateWorkspaceRepoByIDScan implements Querier.UpdateWorkspaceRepoByIDScan.

func (*DBQuerier) UpsertOrganizationToken added in v0.1.0

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

UpsertOrganizationToken implements Querier.UpsertOrganizationToken.

func (*DBQuerier) UpsertOrganizationTokenBatch added in v0.1.0

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

UpsertOrganizationTokenBatch implements Querier.UpsertOrganizationTokenBatch.

func (*DBQuerier) UpsertOrganizationTokenScan added in v0.1.0

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

UpsertOrganizationTokenScan implements Querier.UpsertOrganizationTokenScan.

func (*DBQuerier) UpsertWorkspacePermission

func (q *DBQuerier) UpsertWorkspacePermission(ctx context.Context, params UpsertWorkspacePermissionParams) (pgconn.CommandTag, error)

UpsertWorkspacePermission implements Querier.UpsertWorkspacePermission.

func (*DBQuerier) UpsertWorkspacePermissionBatch

func (q *DBQuerier) UpsertWorkspacePermissionBatch(batch genericBatch, params UpsertWorkspacePermissionParams)

UpsertWorkspacePermissionBatch implements Querier.UpsertWorkspacePermissionBatch.

func (*DBQuerier) UpsertWorkspacePermissionScan

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

UpsertWorkspacePermissionScan implements Querier.UpsertWorkspacePermissionScan.

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 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   bool        `json:"sensitive"`
	HCL         bool        `json:"hcl"`
	VersionID   pgtype.Text `json:"version_id"`
}

type DeleteVariableSetByIDRow added in v0.1.9

type DeleteVariableSetByIDRow struct {
	VariableSetID    pgtype.Text `json:"variable_set_id"`
	Global           bool        `json:"global"`
	Name             pgtype.Text `json:"name"`
	Description      pgtype.Text `json:"description"`
	OrganizationName pgtype.Text `json:"organization_name"`
}

type DeleteVariableSetVariableRow added in v0.1.9

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

type DeleteVariableSetWorkspaceRow added in v0.1.9

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

type DeleteWebhookByIDRow

type DeleteWebhookByIDRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
}

type DeleteWorkspaceRepoByIDRow

type DeleteWorkspaceRepoByIDRow struct {
	Branch        pgtype.Text `json:"branch"`
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	WorkspaceID   pgtype.Text `json:"workspace_id"`
}

type DeleteWorkspaceVariableByIDRow added in v0.1.9

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

type FindAgentTokenByIDRow

type FindAgentTokenByIDRow struct {
	TokenID          pgtype.Text        `json:"token_id"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	Description      pgtype.Text        `json:"description"`
	OrganizationName pgtype.Text        `json:"organization_name"`
}

type FindAgentTokensRow

type FindAgentTokensRow struct {
	TokenID          pgtype.Text        `json:"token_id"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	Description      pgtype.Text        `json:"description"`
	OrganizationName pgtype.Text        `json:"organization_name"`
}

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                     bool               `json:"enabled"`
}

type FindConfigurationVersionByIDForUpdateRow

type FindConfigurationVersionByIDForUpdateRow struct {
	ConfigurationVersionID               pgtype.Text                            `json:"configuration_version_id"`
	CreatedAt                            pgtype.Timestamptz                     `json:"created_at"`
	AutoQueueRuns                        bool                                   `json:"auto_queue_runs"`
	Source                               pgtype.Text                            `json:"source"`
	Speculative                          bool                                   `json:"speculative"`
	Status                               pgtype.Text                            `json:"status"`
	WorkspaceID                          pgtype.Text                            `json:"workspace_id"`
	ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"`
	IngressAttributes                    *IngressAttributes                     `json:"ingress_attributes"`
}

type FindConfigurationVersionByIDRow

type FindConfigurationVersionByIDRow struct {
	ConfigurationVersionID               pgtype.Text                            `json:"configuration_version_id"`
	CreatedAt                            pgtype.Timestamptz                     `json:"created_at"`
	AutoQueueRuns                        bool                                   `json:"auto_queue_runs"`
	Source                               pgtype.Text                            `json:"source"`
	Speculative                          bool                                   `json:"speculative"`
	Status                               pgtype.Text                            `json:"status"`
	WorkspaceID                          pgtype.Text                            `json:"workspace_id"`
	ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"`
	IngressAttributes                    *IngressAttributes                     `json:"ingress_attributes"`
}

type FindConfigurationVersionLatestByWorkspaceIDRow

type FindConfigurationVersionLatestByWorkspaceIDRow struct {
	ConfigurationVersionID               pgtype.Text                            `json:"configuration_version_id"`
	CreatedAt                            pgtype.Timestamptz                     `json:"created_at"`
	AutoQueueRuns                        bool                                   `json:"auto_queue_runs"`
	Source                               pgtype.Text                            `json:"source"`
	Speculative                          bool                                   `json:"speculative"`
	Status                               pgtype.Text                            `json:"status"`
	WorkspaceID                          pgtype.Text                            `json:"workspace_id"`
	ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"`
	IngressAttributes                    *IngressAttributes                     `json:"ingress_attributes"`
}

type 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                        bool                                   `json:"auto_queue_runs"`
	Source                               pgtype.Text                            `json:"source"`
	Speculative                          bool                                   `json:"speculative"`
	Status                               pgtype.Text                            `json:"status"`
	WorkspaceID                          pgtype.Text                            `json:"workspace_id"`
	ConfigurationVersionStatusTimestamps []ConfigurationVersionStatusTimestamps `json:"configuration_version_status_timestamps"`
	IngressAttributes                    *IngressAttributes                     `json:"ingress_attributes"`
}

type FindCurrentStateVersionByWorkspaceIDRow

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"`
	StateVersionOutputs []StateVersionOutputs `json:"state_version_outputs"`
}

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 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"`
	Webhook          *Webhooks          `json:"webhook"`
	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"`
	Webhook          *Webhooks          `json:"webhook"`
	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"`
	Webhook          *Webhooks          `json:"webhook"`
	Versions         []ModuleVersions   `json:"versions"`
}

type FindModuleByWebhookIDRow

type FindModuleByWebhookIDRow struct {
	ModuleID         pgtype.Text        `json:"module_id"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	UpdatedAt        pgtype.Timestamptz `json:"updated_at"`
	Name             pgtype.Text        `json:"name"`
	Provider         pgtype.Text        `json:"provider"`
	Status           pgtype.Text        `json:"status"`
	OrganizationName pgtype.Text        `json:"organization_name"`
	ModuleConnection *RepoConnections   `json:"module_connection"`
	Webhook          *Webhooks          `json:"webhook"`
	Versions         []ModuleVersions   `json:"versions"`
}

type 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                     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                     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                     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 bool               `json:"allow_force_delete_workspaces"`
	CostEstimationEnabled      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 bool               `json:"allow_force_delete_workspaces"`
	CostEstimationEnabled      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 bool               `json:"allow_force_delete_workspaces"`
	CostEstimationEnabled      bool               `json:"cost_estimation_enabled"`
}

type FindOrganizationTokensByIDRow added in v0.1.0

type FindOrganizationTokensByIDRow struct {
	OrganizationTokenID pgtype.Text        `json:"organization_token_id"`
	CreatedAt           pgtype.Timestamptz `json:"created_at"`
	OrganizationName    pgtype.Text        `json:"organization_name"`
	Expiry              pgtype.Timestamptz `json:"expiry"`
}

type FindOrganizationTokensByNameRow added in v0.1.0

type FindOrganizationTokensByNameRow struct {
	OrganizationTokenID pgtype.Text        `json:"organization_token_id"`
	CreatedAt           pgtype.Timestamptz `json:"created_at"`
	OrganizationName    pgtype.Text        `json:"organization_name"`
	Expiry              pgtype.Timestamptz `json:"expiry"`
}

type 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 bool               `json:"allow_force_delete_workspaces"`
	CostEstimationEnabled      bool               `json:"cost_estimation_enabled"`
}

type FindRunByIDForUpdateRow

type FindRunByIDForUpdateRow struct {
	RunID                  pgtype.Text             `json:"run_id"`
	CreatedAt              pgtype.Timestamptz      `json:"created_at"`
	ForceCancelAvailableAt pgtype.Timestamptz      `json:"force_cancel_available_at"`
	IsDestroy              bool                    `json:"is_destroy"`
	PositionInQueue        pgtype.Int4             `json:"position_in_queue"`
	Refresh                bool                    `json:"refresh"`
	RefreshOnly            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              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               bool                    `json:"plan_only"`
	CreatedBy              pgtype.Text             `json:"created_by"`
	TerraformVersion       pgtype.Text             `json:"terraform_version"`
	AllowEmptyApply        bool                    `json:"allow_empty_apply"`
	ExecutionMode          pgtype.Text             `json:"execution_mode"`
	Latest                 bool                    `json:"latest"`
	OrganizationName       pgtype.Text             `json:"organization_name"`
	CostEstimationEnabled  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"`
	ForceCancelAvailableAt pgtype.Timestamptz      `json:"force_cancel_available_at"`
	IsDestroy              bool                    `json:"is_destroy"`
	PositionInQueue        pgtype.Int4             `json:"position_in_queue"`
	Refresh                bool                    `json:"refresh"`
	RefreshOnly            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              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               bool                    `json:"plan_only"`
	CreatedBy              pgtype.Text             `json:"created_by"`
	TerraformVersion       pgtype.Text             `json:"terraform_version"`
	AllowEmptyApply        bool                    `json:"allow_empty_apply"`
	ExecutionMode          pgtype.Text             `json:"execution_mode"`
	Latest                 bool                    `json:"latest"`
	OrganizationName       pgtype.Text             `json:"organization_name"`
	CostEstimationEnabled  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"`
	ForceCancelAvailableAt pgtype.Timestamptz      `json:"force_cancel_available_at"`
	IsDestroy              bool                    `json:"is_destroy"`
	PositionInQueue        pgtype.Int4             `json:"position_in_queue"`
	Refresh                bool                    `json:"refresh"`
	RefreshOnly            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              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               bool                    `json:"plan_only"`
	CreatedBy              pgtype.Text             `json:"created_by"`
	TerraformVersion       pgtype.Text             `json:"terraform_version"`
	AllowEmptyApply        bool                    `json:"allow_empty_apply"`
	ExecutionMode          pgtype.Text             `json:"execution_mode"`
	Latest                 bool                    `json:"latest"`
	OrganizationName       pgtype.Text             `json:"organization_name"`
	CostEstimationEnabled  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 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"`
	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            bool        `json:"sensitive"`
	Type                 pgtype.Text `json:"type"`
	Value                []byte      `json:"value"`
	StateVersionID       pgtype.Text `json:"state_version_id"`
}

type FindStateVersionsByWorkspaceIDParams added in v0.0.48

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

type FindStateVersionsByWorkspaceIDRow added in v0.0.48

type FindStateVersionsByWorkspaceIDRow struct {
	StateVersionID      pgtype.Text           `json:"state_version_id"`
	CreatedAt           pgtype.Timestamptz    `json:"created_at"`
	Serial              pgtype.Int4           `json:"serial"`
	State               []byte                `json:"state"`
	WorkspaceID         pgtype.Text           `json:"workspace_id"`
	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      bool               `json:"permission_manage_workspaces"`
	PermissionManageVCS             bool               `json:"permission_manage_vcs"`
	PermissionManageModules         bool               `json:"permission_manage_modules"`
	OrganizationName                pgtype.Text        `json:"organization_name"`
	SSOTeamID                       pgtype.Text        `json:"sso_team_id"`
	Visibility                      pgtype.Text        `json:"visibility"`
	PermissionManagePolicies        bool               `json:"permission_manage_policies"`
	PermissionManagePolicyOverrides bool               `json:"permission_manage_policy_overrides"`
	PermissionManageProviders       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      bool               `json:"permission_manage_workspaces"`
	PermissionManageVCS             bool               `json:"permission_manage_vcs"`
	PermissionManageModules         bool               `json:"permission_manage_modules"`
	OrganizationName                pgtype.Text        `json:"organization_name"`
	SSOTeamID                       pgtype.Text        `json:"sso_team_id"`
	Visibility                      pgtype.Text        `json:"visibility"`
	PermissionManagePolicies        bool               `json:"permission_manage_policies"`
	PermissionManagePolicyOverrides bool               `json:"permission_manage_policy_overrides"`
	PermissionManageProviders       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      bool               `json:"permission_manage_workspaces"`
	PermissionManageVCS             bool               `json:"permission_manage_vcs"`
	PermissionManageModules         bool               `json:"permission_manage_modules"`
	OrganizationName                pgtype.Text        `json:"organization_name"`
	SSOTeamID                       pgtype.Text        `json:"sso_team_id"`
	Visibility                      pgtype.Text        `json:"visibility"`
	PermissionManagePolicies        bool               `json:"permission_manage_policies"`
	PermissionManagePolicyOverrides bool               `json:"permission_manage_policy_overrides"`
	PermissionManageProviders       bool               `json:"permission_manage_providers"`
}

type FindTeamsByOrgRow

type FindTeamsByOrgRow struct {
	TeamID                          pgtype.Text        `json:"team_id"`
	Name                            pgtype.Text        `json:"name"`
	CreatedAt                       pgtype.Timestamptz `json:"created_at"`
	PermissionManageWorkspaces      bool               `json:"permission_manage_workspaces"`
	PermissionManageVCS             bool               `json:"permission_manage_vcs"`
	PermissionManageModules         bool               `json:"permission_manage_modules"`
	OrganizationName                pgtype.Text        `json:"organization_name"`
	SSOTeamID                       pgtype.Text        `json:"sso_team_id"`
	Visibility                      pgtype.Text        `json:"visibility"`
	PermissionManagePolicies        bool               `json:"permission_manage_policies"`
	PermissionManagePolicyOverrides bool               `json:"permission_manage_policy_overrides"`
	PermissionManageProviders       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 FindUnreferencedWebhooksRow added in v0.0.53

type FindUnreferencedWebhooksRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	Cloud         pgtype.Text `json:"cloud"`
}

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 bool               `json:"site_admin"`
	Teams     []Teams            `json:"teams"`
}

type FindUserByIDRow

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

type FindUserByUsernameRow

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

type FindUsersByOrganizationRow

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

type FindUsersByTeamIDRow

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

type FindUsersRow

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

type FindVCSProviderRow

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"`
	Cloud            pgtype.Text        `json:"cloud"`
	OrganizationName pgtype.Text        `json:"organization_name"`
}

type FindVCSProvidersByOrganizationRow added in v0.0.53

type FindVCSProvidersByOrganizationRow struct {
	VCSProviderID    pgtype.Text        `json:"vcs_provider_id"`
	Token            pgtype.Text        `json:"token"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	Name             pgtype.Text        `json:"name"`
	Cloud            pgtype.Text        `json:"cloud"`
	OrganizationName pgtype.Text        `json:"organization_name"`
}

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"`
	Cloud            pgtype.Text        `json:"cloud"`
	OrganizationName pgtype.Text        `json:"organization_name"`
}

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   bool        `json:"sensitive"`
	HCL         bool        `json:"hcl"`
	VersionID   pgtype.Text `json:"version_id"`
}

type FindVariableSetBySetIDRow added in v0.1.9

type FindVariableSetBySetIDRow struct {
	VariableSetID    pgtype.Text `json:"variable_set_id"`
	Global           bool        `json:"global"`
	Name             pgtype.Text `json:"name"`
	Description      pgtype.Text `json:"description"`
	OrganizationName pgtype.Text `json:"organization_name"`
	Variables        []Variables `json:"variables"`
	WorkspaceIds     []string    `json:"workspace_ids"`
}

type FindVariableSetByVariableIDRow added in v0.1.9

type FindVariableSetByVariableIDRow struct {
	VariableSetID    pgtype.Text `json:"variable_set_id"`
	Global           bool        `json:"global"`
	Name             pgtype.Text `json:"name"`
	Description      pgtype.Text `json:"description"`
	OrganizationName pgtype.Text `json:"organization_name"`
	Variables        []Variables `json:"variables"`
	WorkspaceIds     []string    `json:"workspace_ids"`
}

type FindVariableSetForUpdateRow added in v0.1.9

type FindVariableSetForUpdateRow struct {
	VariableSetID    pgtype.Text `json:"variable_set_id"`
	Global           bool        `json:"global"`
	Name             pgtype.Text `json:"name"`
	Description      pgtype.Text `json:"description"`
	OrganizationName pgtype.Text `json:"organization_name"`
	Variables        []Variables `json:"variables"`
	WorkspaceIds     []string    `json:"workspace_ids"`
}

type FindVariableSetsByOrganizationRow added in v0.1.9

type FindVariableSetsByOrganizationRow struct {
	VariableSetID    pgtype.Text `json:"variable_set_id"`
	Global           bool        `json:"global"`
	Name             pgtype.Text `json:"name"`
	Description      pgtype.Text `json:"description"`
	OrganizationName pgtype.Text `json:"organization_name"`
	Variables        []Variables `json:"variables"`
	WorkspaceIds     []string    `json:"workspace_ids"`
}

type FindVariableSetsByWorkspaceRow added in v0.1.9

type FindVariableSetsByWorkspaceRow struct {
	VariableSetID    pgtype.Text `json:"variable_set_id"`
	Global           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 FindWebhookByIDRow

type FindWebhookByIDRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	Cloud         pgtype.Text `json:"cloud"`
}

type FindWebhookByRepoAndProviderRow added in v0.0.53

type FindWebhookByRepoAndProviderRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	Cloud         pgtype.Text `json:"cloud"`
}

type FindWebhooksRow added in v0.0.53

type FindWebhooksRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	Cloud         pgtype.Text `json:"cloud"`
}

type FindWorkspaceByIDForUpdateRow

type FindWorkspaceByIDForUpdateRow struct {
	WorkspaceID                pgtype.Text        `json:"workspace_id"`
	CreatedAt                  pgtype.Timestamptz `json:"created_at"`
	UpdatedAt                  pgtype.Timestamptz `json:"updated_at"`
	AllowDestroyPlan           bool               `json:"allow_destroy_plan"`
	AutoApply                  bool               `json:"auto_apply"`
	CanQueueDestroyPlan        bool               `json:"can_queue_destroy_plan"`
	Description                pgtype.Text        `json:"description"`
	Environment                pgtype.Text        `json:"environment"`
	ExecutionMode              pgtype.Text        `json:"execution_mode"`
	GlobalRemoteState          bool               `json:"global_remote_state"`
	MigrationEnvironment       pgtype.Text        `json:"migration_environment"`
	Name                       pgtype.Text        `json:"name"`
	QueueAllRuns               bool               `json:"queue_all_runs"`
	SpeculativeEnabled         bool               `json:"speculative_enabled"`
	SourceName                 pgtype.Text        `json:"source_name"`
	SourceURL                  pgtype.Text        `json:"source_url"`
	StructuredRunOutputEnabled bool               `json:"structured_run_output_enabled"`
	TerraformVersion           pgtype.Text        `json:"terraform_version"`
	TriggerPrefixes            []string           `json:"trigger_prefixes"`
	WorkingDirectory           pgtype.Text        `json:"working_directory"`
	LockRunID                  pgtype.Text        `json:"lock_run_id"`
	LatestRunID                pgtype.Text        `json:"latest_run_id"`
	OrganizationName           pgtype.Text        `json:"organization_name"`
	Branch                     pgtype.Text        `json:"branch"`
	LockUsername               pgtype.Text        `json:"lock_username"`
	CurrentStateVersionID      pgtype.Text        `json:"current_state_version_id"`
	TriggerPatterns            []string           `json:"trigger_patterns"`
	VCSTagsRegex               pgtype.Text        `json:"vcs_tags_regex"`
	AllowCLIApply              bool               `json:"allow_cli_apply"`
	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"`
	Webhook                    *Webhooks          `json:"webhook"`
}

type FindWorkspaceByIDRow

type FindWorkspaceByIDRow struct {
	WorkspaceID                pgtype.Text        `json:"workspace_id"`
	CreatedAt                  pgtype.Timestamptz `json:"created_at"`
	UpdatedAt                  pgtype.Timestamptz `json:"updated_at"`
	AllowDestroyPlan           bool               `json:"allow_destroy_plan"`
	AutoApply                  bool               `json:"auto_apply"`
	CanQueueDestroyPlan        bool               `json:"can_queue_destroy_plan"`
	Description                pgtype.Text        `json:"description"`
	Environment                pgtype.Text        `json:"environment"`
	ExecutionMode              pgtype.Text        `json:"execution_mode"`
	GlobalRemoteState          bool               `json:"global_remote_state"`
	MigrationEnvironment       pgtype.Text        `json:"migration_environment"`
	Name                       pgtype.Text        `json:"name"`
	QueueAllRuns               bool               `json:"queue_all_runs"`
	SpeculativeEnabled         bool               `json:"speculative_enabled"`
	SourceName                 pgtype.Text        `json:"source_name"`
	SourceURL                  pgtype.Text        `json:"source_url"`
	StructuredRunOutputEnabled bool               `json:"structured_run_output_enabled"`
	TerraformVersion           pgtype.Text        `json:"terraform_version"`
	TriggerPrefixes            []string           `json:"trigger_prefixes"`
	WorkingDirectory           pgtype.Text        `json:"working_directory"`
	LockRunID                  pgtype.Text        `json:"lock_run_id"`
	LatestRunID                pgtype.Text        `json:"latest_run_id"`
	OrganizationName           pgtype.Text        `json:"organization_name"`
	Branch                     pgtype.Text        `json:"branch"`
	LockUsername               pgtype.Text        `json:"lock_username"`
	CurrentStateVersionID      pgtype.Text        `json:"current_state_version_id"`
	TriggerPatterns            []string           `json:"trigger_patterns"`
	VCSTagsRegex               pgtype.Text        `json:"vcs_tags_regex"`
	AllowCLIApply              bool               `json:"allow_cli_apply"`
	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"`
	Webhook                    *Webhooks          `json:"webhook"`
}

type FindWorkspaceByNameRow

type FindWorkspaceByNameRow struct {
	WorkspaceID                pgtype.Text        `json:"workspace_id"`
	CreatedAt                  pgtype.Timestamptz `json:"created_at"`
	UpdatedAt                  pgtype.Timestamptz `json:"updated_at"`
	AllowDestroyPlan           bool               `json:"allow_destroy_plan"`
	AutoApply                  bool               `json:"auto_apply"`
	CanQueueDestroyPlan        bool               `json:"can_queue_destroy_plan"`
	Description                pgtype.Text        `json:"description"`
	Environment                pgtype.Text        `json:"environment"`
	ExecutionMode              pgtype.Text        `json:"execution_mode"`
	GlobalRemoteState          bool               `json:"global_remote_state"`
	MigrationEnvironment       pgtype.Text        `json:"migration_environment"`
	Name                       pgtype.Text        `json:"name"`
	QueueAllRuns               bool               `json:"queue_all_runs"`
	SpeculativeEnabled         bool               `json:"speculative_enabled"`
	SourceName                 pgtype.Text        `json:"source_name"`
	SourceURL                  pgtype.Text        `json:"source_url"`
	StructuredRunOutputEnabled bool               `json:"structured_run_output_enabled"`
	TerraformVersion           pgtype.Text        `json:"terraform_version"`
	TriggerPrefixes            []string           `json:"trigger_prefixes"`
	WorkingDirectory           pgtype.Text        `json:"working_directory"`
	LockRunID                  pgtype.Text        `json:"lock_run_id"`
	LatestRunID                pgtype.Text        `json:"latest_run_id"`
	OrganizationName           pgtype.Text        `json:"organization_name"`
	Branch                     pgtype.Text        `json:"branch"`
	LockUsername               pgtype.Text        `json:"lock_username"`
	CurrentStateVersionID      pgtype.Text        `json:"current_state_version_id"`
	TriggerPatterns            []string           `json:"trigger_patterns"`
	VCSTagsRegex               pgtype.Text        `json:"vcs_tags_regex"`
	AllowCLIApply              bool               `json:"allow_cli_apply"`
	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"`
	Webhook                    *Webhooks          `json:"webhook"`
}

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 {
	Role pgtype.Text `json:"role"`
	Team *Teams      `json:"team"`
}

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

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

type FindWorkspaceVariablesByWorkspaceIDRow added in v0.1.9

type FindWorkspaceVariablesByWorkspaceIDRow struct {
	VariableID  pgtype.Text `json:"variable_id"`
	Key         pgtype.Text `json:"key"`
	Value       pgtype.Text `json:"value"`
	Description pgtype.Text `json:"description"`
	Category    pgtype.Text `json:"category"`
	Sensitive   bool        `json:"sensitive"`
	HCL         bool        `json:"hcl"`
	VersionID   pgtype.Text `json:"version_id"`
}

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           bool               `json:"allow_destroy_plan"`
	AutoApply                  bool               `json:"auto_apply"`
	CanQueueDestroyPlan        bool               `json:"can_queue_destroy_plan"`
	Description                pgtype.Text        `json:"description"`
	Environment                pgtype.Text        `json:"environment"`
	ExecutionMode              pgtype.Text        `json:"execution_mode"`
	GlobalRemoteState          bool               `json:"global_remote_state"`
	MigrationEnvironment       pgtype.Text        `json:"migration_environment"`
	Name                       pgtype.Text        `json:"name"`
	QueueAllRuns               bool               `json:"queue_all_runs"`
	SpeculativeEnabled         bool               `json:"speculative_enabled"`
	SourceName                 pgtype.Text        `json:"source_name"`
	SourceURL                  pgtype.Text        `json:"source_url"`
	StructuredRunOutputEnabled bool               `json:"structured_run_output_enabled"`
	TerraformVersion           pgtype.Text        `json:"terraform_version"`
	TriggerPrefixes            []string           `json:"trigger_prefixes"`
	WorkingDirectory           pgtype.Text        `json:"working_directory"`
	LockRunID                  pgtype.Text        `json:"lock_run_id"`
	LatestRunID                pgtype.Text        `json:"latest_run_id"`
	OrganizationName           pgtype.Text        `json:"organization_name"`
	Branch                     pgtype.Text        `json:"branch"`
	LockUsername               pgtype.Text        `json:"lock_username"`
	CurrentStateVersionID      pgtype.Text        `json:"current_state_version_id"`
	TriggerPatterns            []string           `json:"trigger_patterns"`
	VCSTagsRegex               pgtype.Text        `json:"vcs_tags_regex"`
	AllowCLIApply              bool               `json:"allow_cli_apply"`
	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"`
	Webhook                    *Webhooks          `json:"webhook"`
}

type FindWorkspacesByWebhookIDRow

type FindWorkspacesByWebhookIDRow struct {
	WorkspaceID                pgtype.Text        `json:"workspace_id"`
	CreatedAt                  pgtype.Timestamptz `json:"created_at"`
	UpdatedAt                  pgtype.Timestamptz `json:"updated_at"`
	AllowDestroyPlan           bool               `json:"allow_destroy_plan"`
	AutoApply                  bool               `json:"auto_apply"`
	CanQueueDestroyPlan        bool               `json:"can_queue_destroy_plan"`
	Description                pgtype.Text        `json:"description"`
	Environment                pgtype.Text        `json:"environment"`
	ExecutionMode              pgtype.Text        `json:"execution_mode"`
	GlobalRemoteState          bool               `json:"global_remote_state"`
	MigrationEnvironment       pgtype.Text        `json:"migration_environment"`
	Name                       pgtype.Text        `json:"name"`
	QueueAllRuns               bool               `json:"queue_all_runs"`
	SpeculativeEnabled         bool               `json:"speculative_enabled"`
	SourceName                 pgtype.Text        `json:"source_name"`
	SourceURL                  pgtype.Text        `json:"source_url"`
	StructuredRunOutputEnabled bool               `json:"structured_run_output_enabled"`
	TerraformVersion           pgtype.Text        `json:"terraform_version"`
	TriggerPrefixes            []string           `json:"trigger_prefixes"`
	WorkingDirectory           pgtype.Text        `json:"working_directory"`
	LockRunID                  pgtype.Text        `json:"lock_run_id"`
	LatestRunID                pgtype.Text        `json:"latest_run_id"`
	OrganizationName           pgtype.Text        `json:"organization_name"`
	Branch                     pgtype.Text        `json:"branch"`
	LockUsername               pgtype.Text        `json:"lock_username"`
	CurrentStateVersionID      pgtype.Text        `json:"current_state_version_id"`
	TriggerPatterns            []string           `json:"trigger_patterns"`
	VCSTagsRegex               pgtype.Text        `json:"vcs_tags_regex"`
	AllowCLIApply              bool               `json:"allow_cli_apply"`
	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"`
	Webhook                    *Webhooks          `json:"webhook"`
}

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           bool               `json:"allow_destroy_plan"`
	AutoApply                  bool               `json:"auto_apply"`
	CanQueueDestroyPlan        bool               `json:"can_queue_destroy_plan"`
	Description                pgtype.Text        `json:"description"`
	Environment                pgtype.Text        `json:"environment"`
	ExecutionMode              pgtype.Text        `json:"execution_mode"`
	GlobalRemoteState          bool               `json:"global_remote_state"`
	MigrationEnvironment       pgtype.Text        `json:"migration_environment"`
	Name                       pgtype.Text        `json:"name"`
	QueueAllRuns               bool               `json:"queue_all_runs"`
	SpeculativeEnabled         bool               `json:"speculative_enabled"`
	SourceName                 pgtype.Text        `json:"source_name"`
	SourceURL                  pgtype.Text        `json:"source_url"`
	StructuredRunOutputEnabled bool               `json:"structured_run_output_enabled"`
	TerraformVersion           pgtype.Text        `json:"terraform_version"`
	TriggerPrefixes            []string           `json:"trigger_prefixes"`
	WorkingDirectory           pgtype.Text        `json:"working_directory"`
	LockRunID                  pgtype.Text        `json:"lock_run_id"`
	LatestRunID                pgtype.Text        `json:"latest_run_id"`
	OrganizationName           pgtype.Text        `json:"organization_name"`
	Branch                     pgtype.Text        `json:"branch"`
	LockUsername               pgtype.Text        `json:"lock_username"`
	CurrentStateVersionID      pgtype.Text        `json:"current_state_version_id"`
	TriggerPatterns            []string           `json:"trigger_patterns"`
	VCSTagsRegex               pgtype.Text        `json:"vcs_tags_regex"`
	AllowCLIApply              bool               `json:"allow_cli_apply"`
	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"`
	Webhook                    *Webhooks          `json:"webhook"`
}

type IngressAttributes

type IngressAttributes struct {
	Branch                 pgtype.Text `json:"branch"`
	CommitSHA              pgtype.Text `json:"commit_sha"`
	Identifier             pgtype.Text `json:"identifier"`
	IsPullRequest          bool        `json:"is_pull_request"`
	OnDefaultBranch        bool        `json:"on_default_branch"`
	ConfigurationVersionID pgtype.Text `json:"configuration_version_id"`
	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 InsertAgentTokenParams

type InsertAgentTokenParams struct {
	TokenID          pgtype.Text
	CreatedAt        pgtype.Timestamptz
	Description      pgtype.Text
	OrganizationName pgtype.Text
}

type InsertConfigurationVersionParams

type InsertConfigurationVersionParams struct {
	ID            pgtype.Text
	CreatedAt     pgtype.Timestamptz
	AutoQueueRuns bool
	Source        pgtype.Text
	Speculative   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 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          bool
	OnDefaultBranch        bool
	ConfigurationVersionID 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                     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      bool
	SessionRemember            pgtype.Int4
	SessionTimeout             pgtype.Int4
	AllowForceDeleteWorkspaces bool
}

type InsertPhaseStatusTimestampParams

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

type InsertRepoConnectionParams

type InsertRepoConnectionParams struct {
	WebhookID   pgtype.UUID
	WorkspaceID pgtype.Text
	ModuleID    pgtype.Text
}

type InsertRunParams

type InsertRunParams struct {
	ID                     pgtype.Text
	CreatedAt              pgtype.Timestamptz
	IsDestroy              bool
	PositionInQueue        pgtype.Int4
	Refresh                bool
	RefreshOnly            bool
	Source                 pgtype.Text
	Status                 pgtype.Text
	ReplaceAddrs           []string
	TargetAddrs            []string
	AutoApply              bool
	PlanOnly               bool
	ConfigurationVersionID pgtype.Text
	WorkspaceID            pgtype.Text
	CreatedBy              pgtype.Text
	TerraformVersion       pgtype.Text
	AllowEmptyApply        bool
}

type InsertRunStatusTimestampParams

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

type InsertRunVariableParams added in v0.1.8

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

type InsertStateVersionOutputParams

type InsertStateVersionOutputParams struct {
	ID             pgtype.Text
	Name           pgtype.Text
	Sensitive      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
	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      bool
	PermissionManageVCS             bool
	PermissionManageModules         bool
	PermissionManageProviders       bool
	PermissionManagePolicies        bool
	PermissionManagePolicyOverrides bool
}

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
	Token            pgtype.Text
	CreatedAt        pgtype.Timestamptz
	Name             pgtype.Text
	Cloud            pgtype.Text
	OrganizationName pgtype.Text
}

type InsertVariableParams

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

type InsertVariableSetParams added in v0.1.9

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

type InsertWebhookParams

type InsertWebhookParams struct {
	WebhookID     pgtype.UUID
	VCSID         pgtype.Text
	VCSProviderID pgtype.Text
	Secret        pgtype.Text
	Identifier    pgtype.Text
}

type InsertWebhookRow

type InsertWebhookRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	Cloud         pgtype.Text `json:"cloud"`
}

type InsertWorkspaceParams

type InsertWorkspaceParams struct {
	ID                         pgtype.Text
	CreatedAt                  pgtype.Timestamptz
	UpdatedAt                  pgtype.Timestamptz
	AllowCLIApply              bool
	AllowDestroyPlan           bool
	AutoApply                  bool
	Branch                     pgtype.Text
	CanQueueDestroyPlan        bool
	Description                pgtype.Text
	Environment                pgtype.Text
	ExecutionMode              pgtype.Text
	GlobalRemoteState          bool
	MigrationEnvironment       pgtype.Text
	Name                       pgtype.Text
	QueueAllRuns               bool
	SpeculativeEnabled         bool
	SourceName                 pgtype.Text
	SourceURL                  pgtype.Text
	StructuredRunOutputEnabled bool
	TerraformVersion           pgtype.Text
	TriggerPrefixes            []string
	TriggerPatterns            []string
	VCSTagsRegex               pgtype.Text
	WorkingDirectory           pgtype.Text
	OrganizationName           pgtype.Text
}

type InsertWorkspaceRepoParams

type InsertWorkspaceRepoParams struct {
	Branch        pgtype.Text
	WebhookID     pgtype.UUID
	VCSProviderID pgtype.Text
	WorkspaceID   pgtype.Text
}

type ListModulesByOrganizationRow

type ListModulesByOrganizationRow struct {
	ModuleID         pgtype.Text        `json:"module_id"`
	CreatedAt        pgtype.Timestamptz `json:"created_at"`
	UpdatedAt        pgtype.Timestamptz `json:"updated_at"`
	Name             pgtype.Text        `json:"name"`
	Provider         pgtype.Text        `json:"provider"`
	Status           pgtype.Text        `json:"status"`
	OrganizationName pgtype.Text        `json:"organization_name"`
	ModuleConnection *RepoConnections   `json:"module_connection"`
	Webhook          *Webhooks          `json:"webhook"`
	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 {
	InsertAgentToken(ctx context.Context, params InsertAgentTokenParams) (pgconn.CommandTag, error)
	// InsertAgentTokenBatch enqueues a InsertAgentToken query into batch to be executed
	// later by the batch.
	InsertAgentTokenBatch(batch genericBatch, params InsertAgentTokenParams)
	// InsertAgentTokenScan scans the result of an executed InsertAgentTokenBatch query.
	InsertAgentTokenScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	FindAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (FindAgentTokenByIDRow, error)
	// FindAgentTokenByIDBatch enqueues a FindAgentTokenByID query into batch to be executed
	// later by the batch.
	FindAgentTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)
	// FindAgentTokenByIDScan scans the result of an executed FindAgentTokenByIDBatch query.
	FindAgentTokenByIDScan(results pgx.BatchResults) (FindAgentTokenByIDRow, error)

	FindAgentTokens(ctx context.Context, organizationName pgtype.Text) ([]FindAgentTokensRow, error)
	// FindAgentTokensBatch enqueues a FindAgentTokens query into batch to be executed
	// later by the batch.
	FindAgentTokensBatch(batch genericBatch, organizationName pgtype.Text)
	// FindAgentTokensScan scans the result of an executed FindAgentTokensBatch query.
	FindAgentTokensScan(results pgx.BatchResults) ([]FindAgentTokensRow, error)

	DeleteAgentTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error)
	// DeleteAgentTokenByIDBatch enqueues a DeleteAgentTokenByID query into batch to be executed
	// later by the batch.
	DeleteAgentTokenByIDBatch(batch genericBatch, tokenID pgtype.Text)
	// DeleteAgentTokenByIDScan scans the result of an executed DeleteAgentTokenByIDBatch query.
	DeleteAgentTokenByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	InsertApply(ctx context.Context, runID pgtype.Text, status pgtype.Text) (pgconn.CommandTag, error)
	// InsertApplyBatch enqueues a InsertApply query into batch to be executed
	// later by the batch.
	InsertApplyBatch(batch genericBatch, runID pgtype.Text, status pgtype.Text)
	// InsertApplyScan scans the result of an executed InsertApplyBatch query.
	InsertApplyScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	UpdateAppliedChangesByID(ctx context.Context, params UpdateAppliedChangesByIDParams) (pgtype.Text, error)
	// UpdateAppliedChangesByIDBatch enqueues a UpdateAppliedChangesByID query into batch to be executed
	// later by the batch.
	UpdateAppliedChangesByIDBatch(batch genericBatch, params UpdateAppliedChangesByIDParams)
	// UpdateAppliedChangesByIDScan scans the result of an executed UpdateAppliedChangesByIDBatch query.
	UpdateAppliedChangesByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	UpdateApplyStatusByID(ctx context.Context, status pgtype.Text, runID pgtype.Text) (pgtype.Text, error)
	// UpdateApplyStatusByIDBatch enqueues a UpdateApplyStatusByID query into batch to be executed
	// later by the batch.
	UpdateApplyStatusByIDBatch(batch genericBatch, status pgtype.Text, runID pgtype.Text)
	// UpdateApplyStatusByIDScan scans the result of an executed UpdateApplyStatusByIDBatch query.
	UpdateApplyStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	InsertConfigurationVersion(ctx context.Context, params InsertConfigurationVersionParams) (pgconn.CommandTag, error)
	// InsertConfigurationVersionBatch enqueues a InsertConfigurationVersion query into batch to be executed
	// later by the batch.
	InsertConfigurationVersionBatch(batch genericBatch, params InsertConfigurationVersionParams)
	// InsertConfigurationVersionScan scans the result of an executed InsertConfigurationVersionBatch query.
	InsertConfigurationVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	InsertConfigurationVersionStatusTimestamp(ctx context.Context, params InsertConfigurationVersionStatusTimestampParams) (InsertConfigurationVersionStatusTimestampRow, error)
	// InsertConfigurationVersionStatusTimestampBatch enqueues a InsertConfigurationVersionStatusTimestamp query into batch to be executed
	// later by the batch.
	InsertConfigurationVersionStatusTimestampBatch(batch genericBatch, params InsertConfigurationVersionStatusTimestampParams)
	// InsertConfigurationVersionStatusTimestampScan scans the result of an executed InsertConfigurationVersionStatusTimestampBatch query.
	InsertConfigurationVersionStatusTimestampScan(results pgx.BatchResults) (InsertConfigurationVersionStatusTimestampRow, error)

	// FindConfigurationVersions finds configuration_versions for a given workspace.
	// Results are paginated with limit and offset, and total count is returned.
	//
	FindConfigurationVersionsByWorkspaceID(ctx context.Context, params FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
	// FindConfigurationVersionsByWorkspaceIDBatch enqueues a FindConfigurationVersionsByWorkspaceID query into batch to be executed
	// later by the batch.
	FindConfigurationVersionsByWorkspaceIDBatch(batch genericBatch, params FindConfigurationVersionsByWorkspaceIDParams)
	// FindConfigurationVersionsByWorkspaceIDScan scans the result of an executed FindConfigurationVersionsByWorkspaceIDBatch query.
	FindConfigurationVersionsByWorkspaceIDScan(results pgx.BatchResults) ([]FindConfigurationVersionsByWorkspaceIDRow, error)

	CountConfigurationVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (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)

	InsertIngressAttributes(ctx context.Context, params InsertIngressAttributesParams) (pgconn.CommandTag, error)
	// InsertIngressAttributesBatch enqueues a InsertIngressAttributes query into batch to be executed
	// later by the batch.
	InsertIngressAttributesBatch(batch genericBatch, params InsertIngressAttributesParams)
	// InsertIngressAttributesScan scans the result of an executed InsertIngressAttributesBatch query.
	InsertIngressAttributesScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	InsertModule(ctx context.Context, params InsertModuleParams) (pgconn.CommandTag, error)
	// InsertModuleBatch enqueues a InsertModule query into batch to be executed
	// later by the batch.
	InsertModuleBatch(batch genericBatch, params InsertModuleParams)
	// InsertModuleScan scans the result of an executed InsertModuleBatch query.
	InsertModuleScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	InsertModuleVersion(ctx context.Context, params InsertModuleVersionParams) (InsertModuleVersionRow, error)
	// InsertModuleVersionBatch enqueues a InsertModuleVersion query into batch to be executed
	// later by the batch.
	InsertModuleVersionBatch(batch genericBatch, params InsertModuleVersionParams)
	// InsertModuleVersionScan scans the result of an executed InsertModuleVersionBatch query.
	InsertModuleVersionScan(results pgx.BatchResults) (InsertModuleVersionRow, error)

	ListModulesByOrganization(ctx context.Context, organizationName pgtype.Text) ([]ListModulesByOrganizationRow, error)
	// ListModulesByOrganizationBatch enqueues a ListModulesByOrganization query into batch to be executed
	// later by the batch.
	ListModulesByOrganizationBatch(batch genericBatch, organizationName pgtype.Text)
	// ListModulesByOrganizationScan scans the result of an executed ListModulesByOrganizationBatch query.
	ListModulesByOrganizationScan(results pgx.BatchResults) ([]ListModulesByOrganizationRow, error)

	FindModuleByName(ctx context.Context, params FindModuleByNameParams) (FindModuleByNameRow, error)
	// FindModuleByNameBatch enqueues a FindModuleByName query into batch to be executed
	// later by the batch.
	FindModuleByNameBatch(batch genericBatch, params FindModuleByNameParams)
	// FindModuleByNameScan scans the result of an executed FindModuleByNameBatch query.
	FindModuleByNameScan(results pgx.BatchResults) (FindModuleByNameRow, error)

	FindModuleByID(ctx context.Context, id pgtype.Text) (FindModuleByIDRow, error)
	// FindModuleByIDBatch enqueues a FindModuleByID query into batch to be executed
	// later by the batch.
	FindModuleByIDBatch(batch genericBatch, id pgtype.Text)
	// FindModuleByIDScan scans the result of an executed FindModuleByIDBatch query.
	FindModuleByIDScan(results pgx.BatchResults) (FindModuleByIDRow, error)

	FindModuleByWebhookID(ctx context.Context, webhookID pgtype.UUID) (FindModuleByWebhookIDRow, error)
	// FindModuleByWebhookIDBatch enqueues a FindModuleByWebhookID query into batch to be executed
	// later by the batch.
	FindModuleByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID)
	// FindModuleByWebhookIDScan scans the result of an executed FindModuleByWebhookIDBatch query.
	FindModuleByWebhookIDScan(results pgx.BatchResults) (FindModuleByWebhookIDRow, error)

	FindModuleByModuleVersionID(ctx context.Context, moduleVersionID pgtype.Text) (FindModuleByModuleVersionIDRow, error)
	// FindModuleByModuleVersionIDBatch enqueues a FindModuleByModuleVersionID query into batch to be executed
	// later by the batch.
	FindModuleByModuleVersionIDBatch(batch genericBatch, moduleVersionID pgtype.Text)
	// FindModuleByModuleVersionIDScan scans the result of an executed FindModuleByModuleVersionIDBatch query.
	FindModuleByModuleVersionIDScan(results pgx.BatchResults) (FindModuleByModuleVersionIDRow, error)

	UpdateModuleStatusByID(ctx context.Context, status pgtype.Text, moduleID pgtype.Text) (pgtype.Text, error)
	// UpdateModuleStatusByIDBatch enqueues a UpdateModuleStatusByID query into batch to be executed
	// later by the batch.
	UpdateModuleStatusByIDBatch(batch genericBatch, status pgtype.Text, moduleID pgtype.Text)
	// UpdateModuleStatusByIDScan scans the result of an executed UpdateModuleStatusByIDBatch query.
	UpdateModuleStatusByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	InsertModuleTarball(ctx context.Context, tarball []byte, moduleVersionID pgtype.Text) (pgtype.Text, error)
	// InsertModuleTarballBatch enqueues a InsertModuleTarball query into batch to be executed
	// later by the batch.
	InsertModuleTarballBatch(batch genericBatch, tarball []byte, moduleVersionID pgtype.Text)
	// InsertModuleTarballScan scans the result of an executed InsertModuleTarballBatch query.
	InsertModuleTarballScan(results pgx.BatchResults) (pgtype.Text, error)

	FindModuleTarball(ctx context.Context, moduleVersionID pgtype.Text) ([]byte, error)
	// FindModuleTarballBatch enqueues a FindModuleTarball query into batch to be executed
	// later by the batch.
	FindModuleTarballBatch(batch genericBatch, moduleVersionID pgtype.Text)
	// FindModuleTarballScan scans the result of an executed FindModuleTarballBatch query.
	FindModuleTarballScan(results pgx.BatchResults) ([]byte, error)

	UpdateModuleVersionStatusByID(ctx context.Context, params UpdateModuleVersionStatusByIDParams) (UpdateModuleVersionStatusByIDRow, error)
	// UpdateModuleVersionStatusByIDBatch enqueues a UpdateModuleVersionStatusByID query into batch to be executed
	// later by the batch.
	UpdateModuleVersionStatusByIDBatch(batch genericBatch, params UpdateModuleVersionStatusByIDParams)
	// UpdateModuleVersionStatusByIDScan scans the result of an executed UpdateModuleVersionStatusByIDBatch query.
	UpdateModuleVersionStatusByIDScan(results pgx.BatchResults) (UpdateModuleVersionStatusByIDRow, error)

	DeleteModuleByID(ctx context.Context, moduleID pgtype.Text) (pgtype.Text, error)
	// DeleteModuleByIDBatch enqueues a DeleteModuleByID query into batch to be executed
	// later by the batch.
	DeleteModuleByIDBatch(batch genericBatch, moduleID pgtype.Text)
	// DeleteModuleByIDScan scans the result of an executed DeleteModuleByIDBatch query.
	DeleteModuleByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	DeleteModuleVersionByID(ctx context.Context, moduleVersionID pgtype.Text) (pgtype.Text, error)
	// DeleteModuleVersionByIDBatch enqueues a DeleteModuleVersionByID query into batch to be executed
	// later by the batch.
	DeleteModuleVersionByIDBatch(batch genericBatch, moduleVersionID pgtype.Text)
	// DeleteModuleVersionByIDScan scans the result of an executed DeleteModuleVersionByIDBatch query.
	DeleteModuleVersionByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	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)

	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)

	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) (pgtype.UUID, 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) (pgtype.UUID, error)

	DeleteModuleConnectionByID(ctx context.Context, moduleID pgtype.Text) (pgtype.UUID, 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) (pgtype.UUID, 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)

	UpdateRunForceCancelAvailableAt(ctx context.Context, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text) (pgtype.Text, error)
	// UpdateRunForceCancelAvailableAtBatch enqueues a UpdateRunForceCancelAvailableAt query into batch to be executed
	// later by the batch.
	UpdateRunForceCancelAvailableAtBatch(batch genericBatch, forceCancelAvailableAt pgtype.Timestamptz, id pgtype.Text)
	// UpdateRunForceCancelAvailableAtScan scans the result of an executed UpdateRunForceCancelAvailableAtBatch query.
	UpdateRunForceCancelAvailableAtScan(results pgx.BatchResults) (pgtype.Text, error)

	DeleteRunByID(ctx context.Context, runID pgtype.Text) (pgtype.Text, error)
	// DeleteRunByIDBatch enqueues a DeleteRunByID query into batch to be executed
	// later by the batch.
	DeleteRunByIDBatch(batch genericBatch, runID pgtype.Text)
	// DeleteRunByIDScan scans the result of an executed DeleteRunByIDBatch query.
	DeleteRunByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	InsertStateVersion(ctx context.Context, params InsertStateVersionParams) (pgconn.CommandTag, error)
	// InsertStateVersionBatch enqueues a InsertStateVersion query into batch to be executed
	// later by the batch.
	InsertStateVersionBatch(batch genericBatch, params InsertStateVersionParams)
	// InsertStateVersionScan scans the result of an executed InsertStateVersionBatch query.
	InsertStateVersionScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	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)

	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)

	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)

	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)

	FindVCSProvider(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderRow, error)
	// FindVCSProviderBatch enqueues a FindVCSProvider query into batch to be executed
	// later by the batch.
	FindVCSProviderBatch(batch genericBatch, vcsProviderID pgtype.Text)
	// FindVCSProviderScan scans the result of an executed FindVCSProviderBatch query.
	FindVCSProviderScan(results pgx.BatchResults) (FindVCSProviderRow, error)

	DeleteVCSProviderByID(ctx context.Context, vcsProviderID pgtype.Text) (pgtype.Text, error)
	// DeleteVCSProviderByIDBatch enqueues a DeleteVCSProviderByID query into batch to be executed
	// later by the batch.
	DeleteVCSProviderByIDBatch(batch genericBatch, vcsProviderID pgtype.Text)
	// DeleteVCSProviderByIDScan scans the result of an executed DeleteVCSProviderByIDBatch query.
	DeleteVCSProviderByIDScan(results pgx.BatchResults) (pgtype.Text, error)

	InsertWebhook(ctx context.Context, params InsertWebhookParams) (InsertWebhookRow, error)
	// InsertWebhookBatch enqueues a InsertWebhook query into batch to be executed
	// later by the batch.
	InsertWebhookBatch(batch genericBatch, params InsertWebhookParams)
	// InsertWebhookScan scans the result of an executed InsertWebhookBatch query.
	InsertWebhookScan(results pgx.BatchResults) (InsertWebhookRow, error)

	UpdateWebhookVCSID(ctx context.Context, vcsID pgtype.Text, webhookID pgtype.UUID) (UpdateWebhookVCSIDRow, error)
	// UpdateWebhookVCSIDBatch enqueues a UpdateWebhookVCSID query into batch to be executed
	// later by the batch.
	UpdateWebhookVCSIDBatch(batch genericBatch, vcsID pgtype.Text, webhookID pgtype.UUID)
	// UpdateWebhookVCSIDScan scans the result of an executed UpdateWebhookVCSIDBatch query.
	UpdateWebhookVCSIDScan(results pgx.BatchResults) (UpdateWebhookVCSIDRow, error)

	FindWebhooks(ctx context.Context) ([]FindWebhooksRow, error)
	// FindWebhooksBatch enqueues a FindWebhooks query into batch to be executed
	// later by the batch.
	FindWebhooksBatch(batch genericBatch)
	// FindWebhooksScan scans the result of an executed FindWebhooksBatch query.
	FindWebhooksScan(results pgx.BatchResults) ([]FindWebhooksRow, error)

	FindWebhookByID(ctx context.Context, webhookID pgtype.UUID) (FindWebhookByIDRow, error)
	// FindWebhookByIDBatch enqueues a FindWebhookByID query into batch to be executed
	// later by the batch.
	FindWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID)
	// FindWebhookByIDScan scans the result of an executed FindWebhookByIDBatch query.
	FindWebhookByIDScan(results pgx.BatchResults) (FindWebhookByIDRow, error)

	FindWebhookByRepoAndProvider(ctx context.Context, identifier pgtype.Text, vcsProviderID pgtype.Text) ([]FindWebhookByRepoAndProviderRow, error)
	// FindWebhookByRepoAndProviderBatch enqueues a FindWebhookByRepoAndProvider query into batch to be executed
	// later by the batch.
	FindWebhookByRepoAndProviderBatch(batch genericBatch, identifier pgtype.Text, vcsProviderID pgtype.Text)
	// FindWebhookByRepoAndProviderScan scans the result of an executed FindWebhookByRepoAndProviderBatch query.
	FindWebhookByRepoAndProviderScan(results pgx.BatchResults) ([]FindWebhookByRepoAndProviderRow, error)

	FindUnreferencedWebhooks(ctx context.Context) ([]FindUnreferencedWebhooksRow, error)
	// FindUnreferencedWebhooksBatch enqueues a FindUnreferencedWebhooks query into batch to be executed
	// later by the batch.
	FindUnreferencedWebhooksBatch(batch genericBatch)
	// FindUnreferencedWebhooksScan scans the result of an executed FindUnreferencedWebhooksBatch query.
	FindUnreferencedWebhooksScan(results pgx.BatchResults) ([]FindUnreferencedWebhooksRow, error)

	DeleteWebhookByID(ctx context.Context, webhookID pgtype.UUID) (DeleteWebhookByIDRow, error)
	// DeleteWebhookByIDBatch enqueues a DeleteWebhookByID query into batch to be executed
	// later by the batch.
	DeleteWebhookByIDBatch(batch genericBatch, webhookID pgtype.UUID)
	// DeleteWebhookByIDScan scans the result of an executed DeleteWebhookByIDBatch query.
	DeleteWebhookByIDScan(results pgx.BatchResults) (DeleteWebhookByIDRow, error)

	InsertWorkspace(ctx context.Context, params InsertWorkspaceParams) (pgconn.CommandTag, error)
	// InsertWorkspaceBatch enqueues a InsertWorkspace query into batch to be executed
	// later by the batch.
	InsertWorkspaceBatch(batch genericBatch, params InsertWorkspaceParams)
	// InsertWorkspaceScan scans the result of an executed InsertWorkspaceBatch query.
	InsertWorkspaceScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	FindWorkspaces(ctx context.Context, params FindWorkspacesParams) ([]FindWorkspacesRow, error)
	// FindWorkspacesBatch enqueues a FindWorkspaces query into batch to be executed
	// later by the batch.
	FindWorkspacesBatch(batch genericBatch, params FindWorkspacesParams)
	// FindWorkspacesScan scans the result of an executed FindWorkspacesBatch query.
	FindWorkspacesScan(results pgx.BatchResults) ([]FindWorkspacesRow, error)

	CountWorkspaces(ctx context.Context, 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)

	FindWorkspacesByWebhookID(ctx context.Context, webhookID pgtype.UUID) ([]FindWorkspacesByWebhookIDRow, error)
	// FindWorkspacesByWebhookIDBatch enqueues a FindWorkspacesByWebhookID query into batch to be executed
	// later by the batch.
	FindWorkspacesByWebhookIDBatch(batch genericBatch, webhookID pgtype.UUID)
	// FindWorkspacesByWebhookIDScan scans the result of an executed FindWorkspacesByWebhookIDBatch query.
	FindWorkspacesByWebhookIDScan(results pgx.BatchResults) ([]FindWorkspacesByWebhookIDRow, error)

	FindWorkspacesByUsername(ctx context.Context, params FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error)
	// FindWorkspacesByUsernameBatch enqueues a FindWorkspacesByUsername query into batch to be executed
	// later by the batch.
	FindWorkspacesByUsernameBatch(batch genericBatch, params FindWorkspacesByUsernameParams)
	// FindWorkspacesByUsernameScan scans the result of an executed FindWorkspacesByUsernameBatch query.
	FindWorkspacesByUsernameScan(results pgx.BatchResults) ([]FindWorkspacesByUsernameRow, error)

	CountWorkspacesByUsername(ctx context.Context, organizationName pgtype.Text, username pgtype.Text) (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, teamName pgtype.Text) (pgconn.CommandTag, error)
	// DeleteWorkspacePermissionByIDBatch enqueues a DeleteWorkspacePermissionByID query into batch to be executed
	// later by the batch.
	DeleteWorkspacePermissionByIDBatch(batch genericBatch, workspaceID pgtype.Text, teamName pgtype.Text)
	// DeleteWorkspacePermissionByIDScan scans the result of an executed DeleteWorkspacePermissionByIDBatch query.
	DeleteWorkspacePermissionByIDScan(results pgx.BatchResults) (pgconn.CommandTag, error)

	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 {
	WebhookID   pgtype.UUID `json:"webhook_id"`
	ModuleID    pgtype.Text `json:"module_id"`
	WorkspaceID pgtype.Text `json:"workspace_id"`
}

RepoConnections represents the Postgres composite type "repo_connections".

type Report

type Report struct {
	Additions    pgtype.Int4 `json:"additions"`
	Changes      pgtype.Int4 `json:"changes"`
	Destructions pgtype.Int4 `json:"destructions"`
}

Report represents the Postgres composite type "report".

type RunStatusTimestamps

type RunStatusTimestamps struct {
	RunID     pgtype.Text        `json:"run_id"`
	Status    pgtype.Text        `json:"status"`
	Timestamp pgtype.Timestamptz `json:"timestamp"`
}

RunStatusTimestamps represents the Postgres composite type "run_status_timestamps".

type RunVariables added in v0.1.8

type RunVariables struct {
	RunID pgtype.Text `json:"run_id"`
	Key   pgtype.Text `json:"key"`
	Value pgtype.Text `json:"value"`
}

RunVariables represents the Postgres composite type "run_variables".

type Runs

type Runs struct {
	RunID                  pgtype.Text        `json:"run_id"`
	CreatedAt              pgtype.Timestamptz `json:"created_at"`
	ForceCancelAvailableAt pgtype.Timestamptz `json:"force_cancel_available_at"`
	IsDestroy              bool               `json:"is_destroy"`
	PositionInQueue        pgtype.Int4        `json:"position_in_queue"`
	Refresh                bool               `json:"refresh"`
	RefreshOnly            bool               `json:"refresh_only"`
	ReplaceAddrs           []string           `json:"replace_addrs"`
	TargetAddrs            []string           `json:"target_addrs"`
	LockFile               []byte             `json:"lock_file"`
	Status                 pgtype.Text        `json:"status"`
	WorkspaceID            pgtype.Text        `json:"workspace_id"`
	ConfigurationVersionID pgtype.Text        `json:"configuration_version_id"`
	AutoApply              bool               `json:"auto_apply"`
	PlanOnly               bool               `json:"plan_only"`
	CreatedBy              pgtype.Text        `json:"created_by"`
	Source                 pgtype.Text        `json:"source"`
	TerraformVersion       pgtype.Text        `json:"terraform_version"`
	AllowEmptyApply        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            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      bool               `json:"permission_manage_workspaces"`
	PermissionManageVCS             bool               `json:"permission_manage_vcs"`
	PermissionManageModules         bool               `json:"permission_manage_modules"`
	OrganizationName                pgtype.Text        `json:"organization_name"`
	SSOTeamID                       pgtype.Text        `json:"sso_team_id"`
	Visibility                      pgtype.Text        `json:"visibility"`
	PermissionManagePolicies        bool               `json:"permission_manage_policies"`
	PermissionManagePolicyOverrides bool               `json:"permission_manage_policy_overrides"`
	PermissionManageProviders       bool               `json:"permission_manage_providers"`
}

Teams represents the Postgres composite type "teams".

type UpdateAppliedChangesByIDParams

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

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                     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      bool
	SessionRemember            pgtype.Int4
	SessionTimeout             pgtype.Int4
	AllowForceDeleteWorkspaces 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 UpdateTeamByIDParams

type UpdateTeamByIDParams struct {
	Name                            pgtype.Text
	Visibility                      pgtype.Text
	SSOTeamID                       pgtype.Text
	PermissionManageWorkspaces      bool
	PermissionManageVCS             bool
	PermissionManageModules         bool
	PermissionManageProviders       bool
	PermissionManagePolicies        bool
	PermissionManagePolicyOverrides bool
	TeamID                          pgtype.Text
}

type UpdateVariableByIDParams

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

type UpdateVariableSetByIDParams added in v0.1.9

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

type UpdateWebhookVCSIDRow

type UpdateWebhookVCSIDRow struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
}

type UpdateWorkspaceByIDParams

type UpdateWorkspaceByIDParams struct {
	AllowDestroyPlan           bool
	AllowCLIApply              bool
	AutoApply                  bool
	Branch                     pgtype.Text
	Description                pgtype.Text
	ExecutionMode              pgtype.Text
	GlobalRemoteState          bool
	Name                       pgtype.Text
	QueueAllRuns               bool
	SpeculativeEnabled         bool
	StructuredRunOutputEnabled 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 added in v0.1.0

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

type UpsertWorkspacePermissionParams

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

type Users

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

Users represents the Postgres composite type "users".

type Variables added in v0.1.9

type Variables struct {
	VariableID  pgtype.Text `json:"variable_id"`
	Key         pgtype.Text `json:"key"`
	Value       pgtype.Text `json:"value"`
	Description pgtype.Text `json:"description"`
	Category    pgtype.Text `json:"category"`
	Sensitive   bool        `json:"sensitive"`
	HCL         bool        `json:"hcl"`
	VersionID   pgtype.Text `json:"version_id"`
}

Variables represents the Postgres composite type "variables".

type Webhooks

type Webhooks struct {
	WebhookID     pgtype.UUID `json:"webhook_id"`
	VCSID         pgtype.Text `json:"vcs_id"`
	Secret        pgtype.Text `json:"secret"`
	Identifier    pgtype.Text `json:"identifier"`
	VCSProviderID pgtype.Text `json:"vcs_provider_id"`
}

Webhooks represents the Postgres composite type "webhooks".

Jump to

Keyboard shortcuts

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