Documentation ¶
Overview ¶
Package sqlc is mostly auto-generated by the sqlc tool
Index ¶
- type AgentPool
- type AgentPoolAllowedWorkspace
- type AgentToken
- type Apply
- type ConfigurationVersion
- type ConfigurationVersionStatusTimestamp
- type CountRunsParams
- type CountWorkspacesByUsernameParams
- type CountWorkspacesParams
- type DBTX
- type DeleteAgentPoolAllowedWorkspaceParams
- type DeleteTagParams
- type DeleteTeamMembershipParams
- type DeleteVariableSetVariableParams
- type DeleteVariableSetWorkspaceParams
- type DeleteWorkspacePermissionByIDParams
- type DeleteWorkspaceTagParams
- type DeleteWorkspaceVariableByIDRow
- type DestinationType
- type FindAgentPoolByAgentTokenIDRow
- type FindAgentPoolRow
- type FindAgentPoolsByOrganizationParams
- type FindAgentPoolsByOrganizationRow
- type FindAgentPoolsRow
- type FindAllocatedJobsRow
- type FindAndUpdateSignaledJobsRow
- type FindConfigurationVersionByIDForUpdateRow
- type FindConfigurationVersionByIDRow
- type FindConfigurationVersionLatestByWorkspaceIDRow
- type FindConfigurationVersionsByWorkspaceIDParams
- type FindConfigurationVersionsByWorkspaceIDRow
- type FindCurrentStateVersionByWorkspaceIDRow
- type FindJobForUpdateByRunPhaseParams
- type FindJobForUpdateByRunPhaseRow
- type FindJobForUpdateRow
- type FindJobRow
- type FindJobsRow
- type FindLogChunkByIDRow
- type FindLogsParams
- type FindModuleByConnectionParams
- type FindModuleByConnectionRow
- type FindModuleByIDRow
- type FindModuleByModuleVersionIDRow
- type FindModuleByNameParams
- type FindModuleByNameRow
- type FindOrganizationsParams
- type FindRepohookByIDRow
- type FindRepohookByRepoAndProviderParams
- type FindRepohookByRepoAndProviderRow
- type FindRepohooksRow
- type FindRunByIDForUpdateRow
- type FindRunByIDRow
- type FindRunnerByIDForUpdateRow
- type FindRunnerByIDRow
- type FindRunnersByOrganizationRow
- type FindRunnersByPoolIDRow
- type FindRunnersRow
- type FindRunsParams
- type FindRunsRow
- type FindServerRunnersRow
- type FindStateVersionByIDForUpdateRow
- type FindStateVersionByIDRow
- type FindStateVersionsByWorkspaceIDParams
- type FindStateVersionsByWorkspaceIDRow
- type FindTagByIDParams
- type FindTagByIDRow
- type FindTagByNameParams
- type FindTagByNameRow
- type FindTagsParams
- type FindTagsRow
- type FindTeamByNameParams
- type FindUnreferencedRepohooksRow
- type FindUserByAuthenticationTokenIDRow
- type FindUserByIDRow
- type FindUserByUsernameRow
- type FindUsersByOrganizationRow
- type FindUsersByTeamIDRow
- type FindUsersRow
- type FindVCSProviderForUpdateRow
- type FindVCSProviderRow
- type FindVCSProvidersByGithubAppInstallIDRow
- type FindVCSProvidersByOrganizationRow
- type FindVCSProvidersRow
- type FindVariableSetBySetIDRow
- type FindVariableSetByVariableIDRow
- type FindVariableSetForUpdateRow
- type FindVariableSetsByOrganizationRow
- type FindVariableSetsByWorkspaceRow
- type FindWorkspaceByIDForUpdateRow
- type FindWorkspaceByIDRow
- type FindWorkspaceByNameParams
- type FindWorkspaceByNameRow
- type FindWorkspacePermissionsAndGlobalRemoteStateRow
- type FindWorkspaceTagsParams
- type FindWorkspaceTagsRow
- type FindWorkspaceVariableByVariableIDRow
- type FindWorkspacesByConnectionParams
- type FindWorkspacesByConnectionRow
- type FindWorkspacesByUsernameParams
- type FindWorkspacesByUsernameRow
- type FindWorkspacesParams
- type FindWorkspacesRow
- type GithubApp
- type GithubAppInstall
- type IngressAttribute
- type InsertAgentPoolAllowedWorkspaceParams
- type InsertAgentPoolParams
- type InsertAgentTokenParams
- type InsertApplyParams
- type InsertConfigurationVersionParams
- type InsertConfigurationVersionStatusTimestampParams
- type InsertGithubAppInstallParams
- type InsertGithubAppParams
- type InsertIngressAttributesParams
- type InsertJobParams
- type InsertLogChunkParams
- type InsertModuleParams
- type InsertModuleTarballParams
- type InsertModuleVersionParams
- type InsertNotificationConfigurationParams
- type InsertOrganizationParams
- type InsertPhaseStatusTimestampParams
- type InsertPlanParams
- type InsertRepoConnectionParams
- type InsertRepohookParams
- type InsertRepohookRow
- type InsertRunParams
- type InsertRunStatusTimestampParams
- type InsertRunVariableParams
- type InsertRunnerParams
- type InsertStateVersionOutputParams
- type InsertStateVersionParams
- type InsertTagParams
- type InsertTeamMembershipParams
- type InsertTeamParams
- type InsertTeamTokenParams
- type InsertTokenParams
- type InsertUserParams
- type InsertVCSProviderParams
- type InsertVariableParams
- type InsertVariableSetParams
- type InsertVariableSetVariableParams
- type InsertVariableSetWorkspaceParams
- type InsertWorkspaceParams
- type InsertWorkspaceTagByNameParams
- type InsertWorkspaceTagParams
- type InsertWorkspaceVariableParams
- type Job
- type JobPhase
- type JobStatus
- type LatestTerraformVersion
- type ListModulesByOrganizationRow
- type Log
- type Module
- type ModuleStatus
- type ModuleTarball
- type ModuleVersion
- type ModuleVersionStatus
- type NotificationConfiguration
- type Organization
- type OrganizationToken
- type Phase
- type PhaseStatus
- type PhaseStatusTimestamp
- type Plan
- type PutLockFileParams
- type Queries
- func (q *Queries) CountConfigurationVersionsByWorkspaceID(ctx context.Context, workspaceID resource.ID) (int64, error)
- func (q *Queries) CountOrganizations(ctx context.Context, names []pgtype.Text) (int64, error)
- func (q *Queries) CountRuns(ctx context.Context, arg CountRunsParams) (int64, error)
- func (q *Queries) CountStateVersionsByWorkspaceID(ctx context.Context, workspaceID resource.ID) (int64, error)
- func (q *Queries) CountTags(ctx context.Context, organizationName pgtype.Text) (int64, error)
- func (q *Queries) CountWorkspaceTags(ctx context.Context, workspaceID resource.ID) (int64, error)
- func (q *Queries) CountWorkspaces(ctx context.Context, arg CountWorkspacesParams) (int64, error)
- func (q *Queries) CountWorkspacesByUsername(ctx context.Context, arg CountWorkspacesByUsernameParams) (int64, error)
- func (q *Queries) DeleteAgentPool(ctx context.Context, poolID resource.ID) (AgentPool, error)
- func (q *Queries) DeleteAgentPoolAllowedWorkspace(ctx context.Context, arg DeleteAgentPoolAllowedWorkspaceParams) error
- func (q *Queries) DeleteAgentTokenByID(ctx context.Context, agentTokenID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteConfigurationVersionByID(ctx context.Context, id resource.ID) (resource.ID, error)
- func (q *Queries) DeleteGithubApp(ctx context.Context, githubAppID pgtype.Int8) (GithubApp, error)
- func (q *Queries) DeleteModuleByID(ctx context.Context, moduleID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteModuleConnectionByID(ctx context.Context, moduleID *resource.ID) (RepoConnection, error)
- func (q *Queries) DeleteModuleVersionByID(ctx context.Context, moduleVersionID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteNotificationConfigurationByID(ctx context.Context, notificationConfigurationID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteOrganiationTokenByName(ctx context.Context, organizationName pgtype.Text) (resource.ID, error)
- func (q *Queries) DeleteOrganizationByName(ctx context.Context, name pgtype.Text) (resource.ID, error)
- func (q *Queries) DeleteRepohookByID(ctx context.Context, repohookID pgtype.UUID) (Repohook, error)
- func (q *Queries) DeleteRunByID(ctx context.Context, runID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteRunner(ctx context.Context, runnerID resource.ID) (Runner, error)
- func (q *Queries) DeleteStateVersionByID(ctx context.Context, stateVersionID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteTag(ctx context.Context, arg DeleteTagParams) (resource.ID, error)
- func (q *Queries) DeleteTeamByID(ctx context.Context, teamID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteTeamMembership(ctx context.Context, arg DeleteTeamMembershipParams) ([]pgtype.Text, error)
- func (q *Queries) DeleteTeamTokenByID(ctx context.Context, teamID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteTokenByID(ctx context.Context, tokenID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteUserByID(ctx context.Context, userID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteUserByUsername(ctx context.Context, username pgtype.Text) (resource.ID, error)
- func (q *Queries) DeleteVCSProviderByID(ctx context.Context, vcsProviderID resource.ID) (resource.ID, error)
- func (q *Queries) DeleteVariableByID(ctx context.Context, variableID resource.ID) (Variable, error)
- func (q *Queries) DeleteVariableSetByID(ctx context.Context, variableSetID resource.ID) (VariableSet, error)
- func (q *Queries) DeleteVariableSetVariable(ctx context.Context, arg DeleteVariableSetVariableParams) (VariableSetVariable, error)
- func (q *Queries) DeleteVariableSetWorkspace(ctx context.Context, arg DeleteVariableSetWorkspaceParams) (VariableSetWorkspace, error)
- func (q *Queries) DeleteVariableSetWorkspaces(ctx context.Context, variableSetID resource.ID) error
- func (q *Queries) DeleteWorkspaceByID(ctx context.Context, workspaceID resource.ID) error
- func (q *Queries) DeleteWorkspaceConnectionByID(ctx context.Context, workspaceID *resource.ID) (RepoConnection, error)
- func (q *Queries) DeleteWorkspacePermissionByID(ctx context.Context, arg DeleteWorkspacePermissionByIDParams) error
- func (q *Queries) DeleteWorkspaceTag(ctx context.Context, arg DeleteWorkspaceTagParams) (resource.ID, error)
- func (q *Queries) DeleteWorkspaceVariableByID(ctx context.Context, variableID resource.ID) (DeleteWorkspaceVariableByIDRow, error)
- func (q *Queries) DiscardPendingStateVersionsByWorkspaceID(ctx context.Context, workspaceID resource.ID) error
- func (q *Queries) DownloadConfigurationVersion(ctx context.Context, configurationVersionID resource.ID) ([]byte, error)
- func (q *Queries) FindAgentPool(ctx context.Context, poolID resource.ID) (FindAgentPoolRow, error)
- func (q *Queries) FindAgentPoolByAgentTokenID(ctx context.Context, agentTokenID resource.ID) (FindAgentPoolByAgentTokenIDRow, error)
- func (q *Queries) FindAgentPools(ctx context.Context) ([]FindAgentPoolsRow, error)
- func (q *Queries) FindAgentPoolsByOrganization(ctx context.Context, arg FindAgentPoolsByOrganizationParams) ([]FindAgentPoolsByOrganizationRow, error)
- func (q *Queries) FindAgentTokenByID(ctx context.Context, agentTokenID resource.ID) (AgentToken, error)
- func (q *Queries) FindAgentTokensByAgentPoolID(ctx context.Context, agentPoolID resource.ID) ([]AgentToken, error)
- func (q *Queries) FindAllNotificationConfigurations(ctx context.Context) ([]NotificationConfiguration, error)
- func (q *Queries) FindAllocatedJobs(ctx context.Context, runnerID *resource.ID) ([]FindAllocatedJobsRow, error)
- func (q *Queries) FindAndUpdateSignaledJobs(ctx context.Context, runnerID *resource.ID) ([]FindAndUpdateSignaledJobsRow, error)
- func (q *Queries) FindConfigurationVersionByID(ctx context.Context, configurationVersionID resource.ID) (FindConfigurationVersionByIDRow, error)
- func (q *Queries) FindConfigurationVersionByIDForUpdate(ctx context.Context, configurationVersionID resource.ID) (FindConfigurationVersionByIDForUpdateRow, error)
- func (q *Queries) FindConfigurationVersionLatestByWorkspaceID(ctx context.Context, workspaceID resource.ID) (FindConfigurationVersionLatestByWorkspaceIDRow, error)
- func (q *Queries) FindConfigurationVersionsByWorkspaceID(ctx context.Context, arg FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
- func (q *Queries) FindCurrentStateVersionByWorkspaceID(ctx context.Context, workspaceID resource.ID) (FindCurrentStateVersionByWorkspaceIDRow, error)
- func (q *Queries) FindGithubApp(ctx context.Context) (GithubApp, error)
- func (q *Queries) FindJob(ctx context.Context, jobID resource.ID) (FindJobRow, error)
- func (q *Queries) FindJobForUpdate(ctx context.Context, jobID resource.ID) (FindJobForUpdateRow, error)
- func (q *Queries) FindJobForUpdateByRunPhase(ctx context.Context, arg FindJobForUpdateByRunPhaseParams) (FindJobForUpdateByRunPhaseRow, error)
- func (q *Queries) FindJobs(ctx context.Context) ([]FindJobsRow, error)
- func (q *Queries) FindLatestTerraformVersion(ctx context.Context) ([]LatestTerraformVersion, error)
- func (q *Queries) FindLogChunkByID(ctx context.Context, chunkID resource.ID) (FindLogChunkByIDRow, error)
- func (q *Queries) FindLogs(ctx context.Context, arg FindLogsParams) ([]byte, error)
- func (q *Queries) FindModuleByConnection(ctx context.Context, arg FindModuleByConnectionParams) (FindModuleByConnectionRow, error)
- func (q *Queries) FindModuleByID(ctx context.Context, id resource.ID) (FindModuleByIDRow, error)
- func (q *Queries) FindModuleByModuleVersionID(ctx context.Context, moduleVersionID resource.ID) (FindModuleByModuleVersionIDRow, error)
- func (q *Queries) FindModuleByName(ctx context.Context, arg FindModuleByNameParams) (FindModuleByNameRow, error)
- func (q *Queries) FindModuleTarball(ctx context.Context, moduleVersionID resource.ID) ([]byte, error)
- func (q *Queries) FindNotificationConfiguration(ctx context.Context, notificationConfigurationID resource.ID) (NotificationConfiguration, error)
- func (q *Queries) FindNotificationConfigurationForUpdate(ctx context.Context, notificationConfigurationID resource.ID) (NotificationConfiguration, error)
- func (q *Queries) FindNotificationConfigurationsByWorkspaceID(ctx context.Context, workspaceID resource.ID) ([]NotificationConfiguration, error)
- func (q *Queries) FindOrganizationByID(ctx context.Context, organizationID resource.ID) (Organization, error)
- func (q *Queries) FindOrganizationByName(ctx context.Context, name pgtype.Text) (Organization, error)
- func (q *Queries) FindOrganizationByNameForUpdate(ctx context.Context, name pgtype.Text) (Organization, error)
- func (q *Queries) FindOrganizationNameByWorkspaceID(ctx context.Context, workspaceID resource.ID) (pgtype.Text, error)
- func (q *Queries) FindOrganizationTokens(ctx context.Context, organizationName pgtype.Text) ([]OrganizationToken, error)
- func (q *Queries) FindOrganizationTokensByID(ctx context.Context, organizationTokenID resource.ID) (OrganizationToken, error)
- func (q *Queries) FindOrganizationTokensByName(ctx context.Context, organizationName pgtype.Text) (OrganizationToken, error)
- func (q *Queries) FindOrganizations(ctx context.Context, arg FindOrganizationsParams) ([]Organization, error)
- func (q *Queries) FindRepohookByID(ctx context.Context, repohookID pgtype.UUID) (FindRepohookByIDRow, error)
- func (q *Queries) FindRepohookByRepoAndProvider(ctx context.Context, arg FindRepohookByRepoAndProviderParams) ([]FindRepohookByRepoAndProviderRow, error)
- func (q *Queries) FindRepohooks(ctx context.Context) ([]FindRepohooksRow, error)
- func (q *Queries) FindRunByID(ctx context.Context, runID resource.ID) (FindRunByIDRow, error)
- func (q *Queries) FindRunByIDForUpdate(ctx context.Context, runID resource.ID) (FindRunByIDForUpdateRow, error)
- func (q *Queries) FindRunnerByID(ctx context.Context, runnerID resource.ID) (FindRunnerByIDRow, error)
- func (q *Queries) FindRunnerByIDForUpdate(ctx context.Context, runnerID resource.ID) (FindRunnerByIDForUpdateRow, error)
- func (q *Queries) FindRunners(ctx context.Context) ([]FindRunnersRow, error)
- func (q *Queries) FindRunnersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindRunnersByOrganizationRow, error)
- func (q *Queries) FindRunnersByPoolID(ctx context.Context, agentPoolID resource.ID) ([]FindRunnersByPoolIDRow, error)
- func (q *Queries) FindRuns(ctx context.Context, arg FindRunsParams) ([]FindRunsRow, error)
- func (q *Queries) FindServerRunners(ctx context.Context) ([]FindServerRunnersRow, error)
- func (q *Queries) FindStateVersionByID(ctx context.Context, id resource.ID) (FindStateVersionByIDRow, error)
- func (q *Queries) FindStateVersionByIDForUpdate(ctx context.Context, id resource.ID) (FindStateVersionByIDForUpdateRow, error)
- func (q *Queries) FindStateVersionOutputByID(ctx context.Context, id resource.ID) (StateVersionOutput, error)
- func (q *Queries) FindStateVersionStateByID(ctx context.Context, id resource.ID) ([]byte, error)
- func (q *Queries) FindStateVersionsByWorkspaceID(ctx context.Context, arg FindStateVersionsByWorkspaceIDParams) ([]FindStateVersionsByWorkspaceIDRow, error)
- func (q *Queries) FindTagByID(ctx context.Context, arg FindTagByIDParams) (FindTagByIDRow, error)
- func (q *Queries) FindTagByName(ctx context.Context, arg FindTagByNameParams) (FindTagByNameRow, error)
- func (q *Queries) FindTags(ctx context.Context, arg FindTagsParams) ([]FindTagsRow, error)
- func (q *Queries) FindTeamByID(ctx context.Context, teamID resource.ID) (Team, error)
- func (q *Queries) FindTeamByIDForUpdate(ctx context.Context, teamID resource.ID) (Team, error)
- func (q *Queries) FindTeamByName(ctx context.Context, arg FindTeamByNameParams) (Team, error)
- func (q *Queries) FindTeamByTokenID(ctx context.Context, tokenID resource.ID) (Team, error)
- func (q *Queries) FindTeamTokensByID(ctx context.Context, teamID resource.ID) ([]TeamToken, error)
- func (q *Queries) FindTeamsByOrg(ctx context.Context, organizationName pgtype.Text) ([]Team, error)
- func (q *Queries) FindTokenByID(ctx context.Context, tokenID resource.ID) (Token, error)
- func (q *Queries) FindTokensByUsername(ctx context.Context, username pgtype.Text) ([]Token, error)
- func (q *Queries) FindUnreferencedRepohooks(ctx context.Context) ([]FindUnreferencedRepohooksRow, error)
- func (q *Queries) FindUserByAuthenticationTokenID(ctx context.Context, tokenID resource.ID) (FindUserByAuthenticationTokenIDRow, error)
- func (q *Queries) FindUserByID(ctx context.Context, userID resource.ID) (FindUserByIDRow, error)
- func (q *Queries) FindUserByUsername(ctx context.Context, username pgtype.Text) (FindUserByUsernameRow, error)
- func (q *Queries) FindUsers(ctx context.Context) ([]FindUsersRow, error)
- func (q *Queries) FindUsersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindUsersByOrganizationRow, error)
- func (q *Queries) FindUsersByTeamID(ctx context.Context, teamID resource.ID) ([]FindUsersByTeamIDRow, error)
- func (q *Queries) FindVCSProvider(ctx context.Context, vcsProviderID resource.ID) (FindVCSProviderRow, error)
- func (q *Queries) FindVCSProviderForUpdate(ctx context.Context, vcsProviderID resource.ID) (FindVCSProviderForUpdateRow, error)
- func (q *Queries) FindVCSProviders(ctx context.Context) ([]FindVCSProvidersRow, error)
- func (q *Queries) FindVCSProvidersByGithubAppInstallID(ctx context.Context, installID pgtype.Int8) ([]FindVCSProvidersByGithubAppInstallIDRow, error)
- func (q *Queries) FindVCSProvidersByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVCSProvidersByOrganizationRow, error)
- func (q *Queries) FindVariable(ctx context.Context, variableID resource.ID) (Variable, error)
- func (q *Queries) FindVariableSetBySetID(ctx context.Context, variableSetID resource.ID) (FindVariableSetBySetIDRow, error)
- func (q *Queries) FindVariableSetByVariableID(ctx context.Context, variableID resource.ID) (FindVariableSetByVariableIDRow, error)
- func (q *Queries) FindVariableSetForUpdate(ctx context.Context, variableSetID resource.ID) (FindVariableSetForUpdateRow, error)
- func (q *Queries) FindVariableSetsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVariableSetsByOrganizationRow, error)
- func (q *Queries) FindVariableSetsByWorkspace(ctx context.Context, workspaceID resource.ID) ([]FindVariableSetsByWorkspaceRow, error)
- func (q *Queries) FindWorkspaceByID(ctx context.Context, id resource.ID) (FindWorkspaceByIDRow, error)
- func (q *Queries) FindWorkspaceByIDForUpdate(ctx context.Context, id resource.ID) (FindWorkspaceByIDForUpdateRow, error)
- func (q *Queries) FindWorkspaceByName(ctx context.Context, arg FindWorkspaceByNameParams) (FindWorkspaceByNameRow, error)
- func (q *Queries) FindWorkspacePermissionsAndGlobalRemoteState(ctx context.Context, workspaceID resource.ID) (FindWorkspacePermissionsAndGlobalRemoteStateRow, error)
- func (q *Queries) FindWorkspaceTags(ctx context.Context, arg FindWorkspaceTagsParams) ([]FindWorkspaceTagsRow, error)
- func (q *Queries) FindWorkspaceVariableByVariableID(ctx context.Context, variableID resource.ID) (FindWorkspaceVariableByVariableIDRow, error)
- func (q *Queries) FindWorkspaceVariablesByWorkspaceID(ctx context.Context, workspaceID resource.ID) ([]Variable, error)
- func (q *Queries) FindWorkspaces(ctx context.Context, arg FindWorkspacesParams) ([]FindWorkspacesRow, error)
- func (q *Queries) FindWorkspacesByConnection(ctx context.Context, arg FindWorkspacesByConnectionParams) ([]FindWorkspacesByConnectionRow, error)
- func (q *Queries) FindWorkspacesByUsername(ctx context.Context, arg FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error)
- func (q *Queries) GetLockFileByID(ctx context.Context, runID resource.ID) ([]byte, error)
- func (q *Queries) GetPlanBinByID(ctx context.Context, runID resource.ID) ([]byte, error)
- func (q *Queries) GetPlanJSONByID(ctx context.Context, runID resource.ID) ([]byte, error)
- func (q *Queries) InsertAgentPool(ctx context.Context, arg InsertAgentPoolParams) error
- func (q *Queries) InsertAgentPoolAllowedWorkspace(ctx context.Context, arg InsertAgentPoolAllowedWorkspaceParams) error
- func (q *Queries) InsertAgentToken(ctx context.Context, arg InsertAgentTokenParams) error
- func (q *Queries) InsertApply(ctx context.Context, arg InsertApplyParams) error
- func (q *Queries) InsertConfigurationVersion(ctx context.Context, arg InsertConfigurationVersionParams) error
- func (q *Queries) InsertConfigurationVersionStatusTimestamp(ctx context.Context, arg InsertConfigurationVersionStatusTimestampParams) (ConfigurationVersionStatusTimestamp, error)
- func (q *Queries) InsertGithubApp(ctx context.Context, arg InsertGithubAppParams) error
- func (q *Queries) InsertGithubAppInstall(ctx context.Context, arg InsertGithubAppInstallParams) error
- func (q *Queries) InsertIngressAttributes(ctx context.Context, arg InsertIngressAttributesParams) error
- func (q *Queries) InsertJob(ctx context.Context, arg InsertJobParams) error
- func (q *Queries) InsertLatestTerraformVersion(ctx context.Context, version pgtype.Text) error
- func (q *Queries) InsertLogChunk(ctx context.Context, arg InsertLogChunkParams) error
- func (q *Queries) InsertModule(ctx context.Context, arg InsertModuleParams) error
- func (q *Queries) InsertModuleTarball(ctx context.Context, arg InsertModuleTarballParams) (resource.ID, error)
- func (q *Queries) InsertModuleVersion(ctx context.Context, arg InsertModuleVersionParams) (ModuleVersion, error)
- func (q *Queries) InsertNotificationConfiguration(ctx context.Context, arg InsertNotificationConfigurationParams) error
- func (q *Queries) InsertOrganization(ctx context.Context, arg InsertOrganizationParams) error
- func (q *Queries) InsertPhaseStatusTimestamp(ctx context.Context, arg InsertPhaseStatusTimestampParams) error
- func (q *Queries) InsertPlan(ctx context.Context, arg InsertPlanParams) error
- func (q *Queries) InsertRepoConnection(ctx context.Context, arg InsertRepoConnectionParams) error
- func (q *Queries) InsertRepohook(ctx context.Context, arg InsertRepohookParams) (InsertRepohookRow, error)
- func (q *Queries) InsertRun(ctx context.Context, arg InsertRunParams) error
- func (q *Queries) InsertRunStatusTimestamp(ctx context.Context, arg InsertRunStatusTimestampParams) error
- func (q *Queries) InsertRunVariable(ctx context.Context, arg InsertRunVariableParams) error
- func (q *Queries) InsertRunner(ctx context.Context, arg InsertRunnerParams) error
- func (q *Queries) InsertStateVersion(ctx context.Context, arg InsertStateVersionParams) error
- func (q *Queries) InsertStateVersionOutput(ctx context.Context, arg InsertStateVersionOutputParams) error
- func (q *Queries) InsertTag(ctx context.Context, arg InsertTagParams) error
- func (q *Queries) InsertTeam(ctx context.Context, arg InsertTeamParams) error
- func (q *Queries) InsertTeamMembership(ctx context.Context, arg InsertTeamMembershipParams) ([]pgtype.Text, error)
- func (q *Queries) InsertTeamToken(ctx context.Context, arg InsertTeamTokenParams) error
- func (q *Queries) InsertToken(ctx context.Context, arg InsertTokenParams) error
- func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) error
- func (q *Queries) InsertVCSProvider(ctx context.Context, arg InsertVCSProviderParams) error
- func (q *Queries) InsertVariable(ctx context.Context, arg InsertVariableParams) error
- func (q *Queries) InsertVariableSet(ctx context.Context, arg InsertVariableSetParams) error
- func (q *Queries) InsertVariableSetVariable(ctx context.Context, arg InsertVariableSetVariableParams) error
- func (q *Queries) InsertVariableSetWorkspace(ctx context.Context, arg InsertVariableSetWorkspaceParams) error
- func (q *Queries) InsertWorkspace(ctx context.Context, arg InsertWorkspaceParams) error
- func (q *Queries) InsertWorkspaceTag(ctx context.Context, arg InsertWorkspaceTagParams) (resource.ID, error)
- func (q *Queries) InsertWorkspaceTagByName(ctx context.Context, arg InsertWorkspaceTagByNameParams) (resource.ID, error)
- func (q *Queries) InsertWorkspaceVariable(ctx context.Context, arg InsertWorkspaceVariableParams) error
- func (q *Queries) ListModulesByOrganization(ctx context.Context, organizationName pgtype.Text) ([]ListModulesByOrganizationRow, error)
- func (q *Queries) PutLockFile(ctx context.Context, arg PutLockFileParams) (resource.ID, error)
- func (q *Queries) ResetUserSiteAdmins(ctx context.Context) ([]pgtype.Text, error)
- func (q *Queries) UpdateAgentPool(ctx context.Context, arg UpdateAgentPoolParams) (AgentPool, error)
- func (q *Queries) UpdateAppliedChangesByID(ctx context.Context, arg UpdateAppliedChangesByIDParams) (resource.ID, error)
- func (q *Queries) UpdateApplyStatusByID(ctx context.Context, arg UpdateApplyStatusByIDParams) (resource.ID, error)
- func (q *Queries) UpdateCancelSignaledAt(ctx context.Context, arg UpdateCancelSignaledAtParams) (resource.ID, error)
- func (q *Queries) UpdateConfigurationVersionConfigByID(ctx context.Context, arg UpdateConfigurationVersionConfigByIDParams) (resource.ID, error)
- func (q *Queries) UpdateConfigurationVersionErroredByID(ctx context.Context, id resource.ID) (resource.ID, error)
- func (q *Queries) UpdateJob(ctx context.Context, arg UpdateJobParams) (Job, error)
- func (q *Queries) UpdateLatestTerraformVersion(ctx context.Context, version pgtype.Text) error
- func (q *Queries) UpdateModuleStatusByID(ctx context.Context, arg UpdateModuleStatusByIDParams) (resource.ID, error)
- func (q *Queries) UpdateModuleVersionStatusByID(ctx context.Context, arg UpdateModuleVersionStatusByIDParams) (ModuleVersion, error)
- func (q *Queries) UpdateNotificationConfigurationByID(ctx context.Context, arg UpdateNotificationConfigurationByIDParams) (resource.ID, error)
- func (q *Queries) UpdateOrganizationByName(ctx context.Context, arg UpdateOrganizationByNameParams) (resource.ID, error)
- func (q *Queries) UpdatePlanBinByID(ctx context.Context, arg UpdatePlanBinByIDParams) (resource.ID, error)
- func (q *Queries) UpdatePlanJSONByID(ctx context.Context, arg UpdatePlanJSONByIDParams) (resource.ID, error)
- func (q *Queries) UpdatePlanStatusByID(ctx context.Context, arg UpdatePlanStatusByIDParams) (resource.ID, error)
- func (q *Queries) UpdatePlannedChangesByID(ctx context.Context, arg UpdatePlannedChangesByIDParams) (resource.ID, error)
- func (q *Queries) UpdateRepohookVCSID(ctx context.Context, arg UpdateRepohookVCSIDParams) (Repohook, error)
- func (q *Queries) UpdateRunStatus(ctx context.Context, arg UpdateRunStatusParams) (resource.ID, error)
- func (q *Queries) UpdateRunner(ctx context.Context, arg UpdateRunnerParams) (Runner, error)
- func (q *Queries) UpdateState(ctx context.Context, arg UpdateStateParams) error
- func (q *Queries) UpdateTeamByID(ctx context.Context, arg UpdateTeamByIDParams) (resource.ID, error)
- func (q *Queries) UpdateUserSiteAdmins(ctx context.Context, usernames []pgtype.Text) ([]pgtype.Text, error)
- func (q *Queries) UpdateVCSProvider(ctx context.Context, arg UpdateVCSProviderParams) (VCSProvider, error)
- func (q *Queries) UpdateVariableByID(ctx context.Context, arg UpdateVariableByIDParams) (resource.ID, error)
- func (q *Queries) UpdateVariableSetByID(ctx context.Context, arg UpdateVariableSetByIDParams) (resource.ID, error)
- func (q *Queries) UpdateWorkspaceByID(ctx context.Context, arg UpdateWorkspaceByIDParams) (resource.ID, error)
- func (q *Queries) UpdateWorkspaceCurrentStateVersionID(ctx context.Context, arg UpdateWorkspaceCurrentStateVersionIDParams) (resource.ID, error)
- func (q *Queries) UpdateWorkspaceLatestRun(ctx context.Context, arg UpdateWorkspaceLatestRunParams) error
- func (q *Queries) UpdateWorkspaceLockByID(ctx context.Context, arg UpdateWorkspaceLockByIDParams) error
- func (q *Queries) UpsertOrganizationToken(ctx context.Context, arg UpsertOrganizationTokenParams) error
- func (q *Queries) UpsertWorkspacePermission(ctx context.Context, arg UpsertWorkspacePermissionParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type RegistrySession
- type RepoConnection
- type Repohook
- type Report
- type Run
- type RunStatus
- type RunStatusTimestamp
- type RunVariable
- type Runner
- type RunnerStatus
- type SchemaVersion
- type Session
- type StateVersion
- type StateVersionOutput
- type StateVersionStatus
- type Tag
- type Team
- type TeamMembership
- type TeamToken
- type Token
- type UpdateAgentPoolParams
- type UpdateAppliedChangesByIDParams
- type UpdateApplyStatusByIDParams
- type UpdateCancelSignaledAtParams
- type UpdateConfigurationVersionConfigByIDParams
- type UpdateJobParams
- type UpdateModuleStatusByIDParams
- type UpdateModuleVersionStatusByIDParams
- type UpdateNotificationConfigurationByIDParams
- type UpdateOrganizationByNameParams
- type UpdatePlanBinByIDParams
- type UpdatePlanJSONByIDParams
- type UpdatePlanStatusByIDParams
- type UpdatePlannedChangesByIDParams
- type UpdateRepohookVCSIDParams
- type UpdateRunStatusParams
- type UpdateRunnerParams
- type UpdateStateParams
- type UpdateTeamByIDParams
- type UpdateVCSProviderParams
- type UpdateVariableByIDParams
- type UpdateVariableSetByIDParams
- type UpdateWorkspaceByIDParams
- type UpdateWorkspaceCurrentStateVersionIDParams
- type UpdateWorkspaceLatestRunParams
- type UpdateWorkspaceLockByIDParams
- type UpsertOrganizationTokenParams
- type UpsertWorkspacePermissionParams
- type User
- type VCSKind
- type VCSProvider
- type Variable
- type VariableCategory
- type VariableSet
- type VariableSetVariable
- type VariableSetWorkspace
- type Workspace
- type WorkspacePermission
- type WorkspaceRole
- type WorkspaceTag
- type WorkspaceVariable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentToken ¶
type ConfigurationVersion ¶
type CountRunsParams ¶
type CountWorkspacesParams ¶
type DeleteTagParams ¶
type DestinationType ¶
type FindAgentPoolRow ¶
type FindAgentPoolsRow ¶
type FindAllocatedJobsRow ¶
type FindConfigurationVersionByIDForUpdateRow ¶
type FindConfigurationVersionByIDForUpdateRow struct { ConfigurationVersionID resource.ID CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID resource.ID StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindConfigurationVersionByIDRow ¶
type FindConfigurationVersionByIDRow struct { ConfigurationVersionID resource.ID CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID resource.ID StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindConfigurationVersionLatestByWorkspaceIDRow ¶
type FindConfigurationVersionLatestByWorkspaceIDRow struct { ConfigurationVersionID resource.ID CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID resource.ID StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindConfigurationVersionsByWorkspaceIDRow ¶
type FindConfigurationVersionsByWorkspaceIDRow struct { ConfigurationVersionID resource.ID CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID resource.ID StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindJobForUpdateByRunPhaseParams ¶ added in v0.3.6
type FindJobForUpdateByRunPhaseRow ¶ added in v0.3.6
type FindJobForUpdateRow ¶
type FindJobRow ¶
type FindJobsRow ¶
type FindLogChunkByIDRow ¶
type FindModuleByIDRow ¶
type FindModuleByNameParams ¶
type FindModuleByNameRow ¶
type FindOrganizationsParams ¶
type FindRepohookByIDRow ¶
type FindRepohooksRow ¶
type FindRunByIDForUpdateRow ¶
type FindRunByIDForUpdateRow struct { RunID resource.ID CreatedAt pgtype.Timestamptz CancelSignaledAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool Source pgtype.Text Status pgtype.Text PlanStatus pgtype.Text ApplyStatus pgtype.Text ReplaceAddrs []pgtype.Text TargetAddrs []pgtype.Text AutoApply pgtype.Bool PlanResourceReport *Report PlanOutputReport *Report ApplyResourceReport *Report ConfigurationVersionID resource.ID WorkspaceID resource.ID PlanOnly pgtype.Bool CreatedBy pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool ExecutionMode pgtype.Text Latest pgtype.Bool OrganizationName pgtype.Text CostEstimationEnabled pgtype.Bool RunStatusTimestamps []RunStatusTimestamp PlanStatusTimestamps []PhaseStatusTimestamp ApplyStatusTimestamps []PhaseStatusTimestamp RunVariables []RunVariable IngressAttributes *IngressAttribute }
type FindRunByIDRow ¶
type FindRunByIDRow struct { RunID resource.ID CreatedAt pgtype.Timestamptz CancelSignaledAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool Source pgtype.Text Status pgtype.Text PlanStatus pgtype.Text ApplyStatus pgtype.Text ReplaceAddrs []pgtype.Text TargetAddrs []pgtype.Text AutoApply pgtype.Bool PlanResourceReport *Report PlanOutputReport *Report ApplyResourceReport *Report ConfigurationVersionID resource.ID WorkspaceID resource.ID PlanOnly pgtype.Bool CreatedBy pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool ExecutionMode pgtype.Text Latest pgtype.Bool OrganizationName pgtype.Text CostEstimationEnabled pgtype.Bool RunStatusTimestamps []RunStatusTimestamp PlanStatusTimestamps []PhaseStatusTimestamp ApplyStatusTimestamps []PhaseStatusTimestamp RunVariables []RunVariable IngressAttributes *IngressAttribute }
type FindRunnerByIDForUpdateRow ¶ added in v0.3.6
type FindRunnerByIDRow ¶ added in v0.3.6
type FindRunnersByOrganizationRow ¶ added in v0.3.6
type FindRunnersByPoolIDRow ¶ added in v0.3.6
type FindRunnersRow ¶ added in v0.3.6
type FindRunsParams ¶
type FindRunsRow ¶
type FindRunsRow struct { RunID resource.ID CreatedAt pgtype.Timestamptz CancelSignaledAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool Source pgtype.Text Status pgtype.Text PlanStatus pgtype.Text ApplyStatus pgtype.Text ReplaceAddrs []pgtype.Text TargetAddrs []pgtype.Text AutoApply pgtype.Bool PlanResourceReport *Report PlanOutputReport *Report ApplyResourceReport *Report ConfigurationVersionID resource.ID WorkspaceID resource.ID PlanOnly pgtype.Bool CreatedBy pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool ExecutionMode pgtype.Text Latest pgtype.Bool OrganizationName pgtype.Text CostEstimationEnabled pgtype.Bool RunStatusTimestamps []RunStatusTimestamp PlanStatusTimestamps []PhaseStatusTimestamp ApplyStatusTimestamps []PhaseStatusTimestamp RunVariables []RunVariable IngressAttributes *IngressAttribute }
type FindServerRunnersRow ¶ added in v0.3.6
type FindStateVersionByIDRow ¶
type FindTagByIDParams ¶
type FindTagByIDRow ¶
type FindTagByNameParams ¶
type FindTagByNameRow ¶
type FindTagsParams ¶
type FindTagsRow ¶
type FindTeamByNameParams ¶
type FindUserByIDRow ¶
type FindUserByUsernameRow ¶
type FindUsersByTeamIDRow ¶
type FindUsersRow ¶
type FindVCSProviderRow ¶
type FindVCSProvidersRow ¶
type FindWorkspaceByIDForUpdateRow ¶
type FindWorkspaceByIDForUpdateRow struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID resource.ID RepoPath pgtype.Text }
type FindWorkspaceByIDRow ¶
type FindWorkspaceByIDRow struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID resource.ID RepoPath pgtype.Text }
type FindWorkspaceByNameRow ¶
type FindWorkspaceByNameRow struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID resource.ID RepoPath pgtype.Text }
type FindWorkspacePermissionsAndGlobalRemoteStateRow ¶ added in v0.3.6
type FindWorkspacePermissionsAndGlobalRemoteStateRow struct { GlobalRemoteState pgtype.Bool WorkspacePermissions []WorkspacePermission }
type FindWorkspaceTagsParams ¶
type FindWorkspaceTagsRow ¶
type FindWorkspacesByConnectionRow ¶
type FindWorkspacesByConnectionRow struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID resource.ID RepoPath pgtype.Text }
type FindWorkspacesByUsernameRow ¶
type FindWorkspacesByUsernameRow struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID resource.ID RepoPath pgtype.Text }
type FindWorkspacesParams ¶
type FindWorkspacesRow ¶
type FindWorkspacesRow struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID resource.ID RepoPath pgtype.Text }
type GithubAppInstall ¶
type IngressAttribute ¶
type IngressAttribute struct { Branch pgtype.Text CommitSHA pgtype.Text Identifier pgtype.Text IsPullRequest pgtype.Bool OnDefaultBranch pgtype.Bool ConfigurationVersionID resource.ID CommitURL pgtype.Text PullRequestNumber pgtype.Int4 PullRequestURL pgtype.Text PullRequestTitle pgtype.Text Tag pgtype.Text SenderUsername pgtype.Text SenderAvatarURL pgtype.Text SenderHTMLURL pgtype.Text }
type InsertAgentPoolParams ¶
type InsertAgentTokenParams ¶
type InsertGithubAppParams ¶
type InsertIngressAttributesParams ¶
type InsertIngressAttributesParams struct { Branch pgtype.Text CommitSHA pgtype.Text CommitURL pgtype.Text PullRequestNumber pgtype.Int4 PullRequestURL pgtype.Text PullRequestTitle pgtype.Text SenderUsername pgtype.Text SenderAvatarURL pgtype.Text SenderHTMLURL pgtype.Text Identifier pgtype.Text Tag pgtype.Text IsPullRequest pgtype.Bool OnDefaultBranch pgtype.Bool ConfigurationVersionID resource.ID }
type InsertJobParams ¶
type InsertLogChunkParams ¶
type InsertModuleParams ¶
type InsertOrganizationParams ¶
type InsertOrganizationParams struct { ID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Name pgtype.Text Email pgtype.Text CollaboratorAuthPolicy pgtype.Text CostEstimationEnabled pgtype.Bool SessionRemember pgtype.Int4 SessionTimeout pgtype.Int4 AllowForceDeleteWorkspaces pgtype.Bool }
type InsertRepohookParams ¶
type InsertRepohookRow ¶
type InsertRunParams ¶
type InsertRunParams struct { ID resource.ID CreatedAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool Source pgtype.Text Status pgtype.Text ReplaceAddrs []pgtype.Text TargetAddrs []pgtype.Text AutoApply pgtype.Bool PlanOnly pgtype.Bool ConfigurationVersionID resource.ID WorkspaceID resource.ID CreatedBy pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool }
type InsertRunVariableParams ¶
type InsertRunnerParams ¶ added in v0.3.6
type InsertTagParams ¶
type InsertTeamParams ¶
type InsertTeamParams struct { ID resource.ID Name pgtype.Text CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Visibility pgtype.Text SSOTeamID pgtype.Text PermissionManageWorkspaces pgtype.Bool PermissionManageVCS pgtype.Bool PermissionManageModules pgtype.Bool PermissionManageProviders pgtype.Bool PermissionManagePolicies pgtype.Bool PermissionManagePolicyOverrides pgtype.Bool }
type InsertTeamTokenParams ¶
type InsertTeamTokenParams struct { TeamTokenID resource.ID CreatedAt pgtype.Timestamptz TeamID resource.ID Expiry pgtype.Timestamptz }
type InsertTokenParams ¶
type InsertUserParams ¶
type InsertUserParams struct { ID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Username pgtype.Text }
type InsertVCSProviderParams ¶
type InsertVariableParams ¶
type InsertVariableSetParams ¶
type InsertWorkspaceParams ¶
type InsertWorkspaceParams struct { ID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AgentPoolID *resource.ID AllowCLIApply pgtype.Bool AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool Branch pgtype.Text CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text WorkingDirectory pgtype.Text OrganizationName pgtype.Text }
type LatestTerraformVersion ¶
type LatestTerraformVersion struct { Version pgtype.Text Checkpoint pgtype.Timestamptz }
type ModuleStatus ¶
type ModuleTarball ¶
type ModuleVersion ¶
type ModuleVersionStatus ¶
type Organization ¶
type Organization struct { OrganizationID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Name pgtype.Text SessionRemember pgtype.Int4 SessionTimeout pgtype.Int4 Email pgtype.Text CollaboratorAuthPolicy pgtype.Text AllowForceDeleteWorkspaces pgtype.Bool CostEstimationEnabled pgtype.Bool }
type OrganizationToken ¶
type OrganizationToken struct { OrganizationTokenID resource.ID CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Expiry pgtype.Timestamptz }
type PhaseStatus ¶
type PhaseStatusTimestamp ¶
type PutLockFileParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountConfigurationVersionsByWorkspaceID ¶
func (*Queries) CountOrganizations ¶
func (*Queries) CountStateVersionsByWorkspaceID ¶
func (*Queries) CountWorkspaceTags ¶
func (*Queries) CountWorkspaces ¶
func (*Queries) CountWorkspacesByUsername ¶
func (*Queries) DeleteAgentPool ¶
func (*Queries) DeleteAgentPoolAllowedWorkspace ¶
func (q *Queries) DeleteAgentPoolAllowedWorkspace(ctx context.Context, arg DeleteAgentPoolAllowedWorkspaceParams) error
func (*Queries) DeleteAgentTokenByID ¶
func (*Queries) DeleteConfigurationVersionByID ¶
func (*Queries) DeleteGithubApp ¶
func (*Queries) DeleteModuleByID ¶
func (*Queries) DeleteModuleConnectionByID ¶
func (*Queries) DeleteModuleVersionByID ¶
func (*Queries) DeleteNotificationConfigurationByID ¶
func (*Queries) DeleteOrganiationTokenByName ¶
func (*Queries) DeleteOrganizationByName ¶
func (*Queries) DeleteRepohookByID ¶
func (*Queries) DeleteRunByID ¶
func (*Queries) DeleteRunner ¶ added in v0.3.6
func (*Queries) DeleteStateVersionByID ¶
func (*Queries) DeleteTeamByID ¶
func (*Queries) DeleteTeamMembership ¶
func (*Queries) DeleteTeamTokenByID ¶
func (*Queries) DeleteTokenByID ¶
func (*Queries) DeleteUserByID ¶
func (*Queries) DeleteUserByUsername ¶
func (*Queries) DeleteVCSProviderByID ¶
func (*Queries) DeleteVariableByID ¶
func (*Queries) DeleteVariableSetByID ¶
func (*Queries) DeleteVariableSetVariable ¶
func (q *Queries) DeleteVariableSetVariable(ctx context.Context, arg DeleteVariableSetVariableParams) (VariableSetVariable, error)
func (*Queries) DeleteVariableSetWorkspace ¶
func (q *Queries) DeleteVariableSetWorkspace(ctx context.Context, arg DeleteVariableSetWorkspaceParams) (VariableSetWorkspace, error)
func (*Queries) DeleteVariableSetWorkspaces ¶
func (*Queries) DeleteWorkspaceByID ¶
func (*Queries) DeleteWorkspaceConnectionByID ¶
func (*Queries) DeleteWorkspacePermissionByID ¶
func (q *Queries) DeleteWorkspacePermissionByID(ctx context.Context, arg DeleteWorkspacePermissionByIDParams) error
func (*Queries) DeleteWorkspaceTag ¶
func (*Queries) DeleteWorkspaceVariableByID ¶
func (*Queries) DiscardPendingStateVersionsByWorkspaceID ¶
func (*Queries) DownloadConfigurationVersion ¶
func (q *Queries) DownloadConfigurationVersion(ctx context.Context, configurationVersionID resource.ID) ([]byte, error)
DownloadConfigurationVersion gets a configuration_version config tarball.
func (*Queries) FindAgentPool ¶
func (*Queries) FindAgentPoolByAgentTokenID ¶
func (*Queries) FindAgentPools ¶
func (q *Queries) FindAgentPools(ctx context.Context) ([]FindAgentPoolsRow, error)
func (*Queries) FindAgentPoolsByOrganization ¶
func (q *Queries) FindAgentPoolsByOrganization(ctx context.Context, arg FindAgentPoolsByOrganizationParams) ([]FindAgentPoolsByOrganizationRow, error)
Find agent pools in an organization, optionally filtering by any combination of: (a) name_substring: pool name contains substring (b) allowed_workspace_name: workspace with name is allowed to use pool (c) allowed_workspace_id: workspace with ID is allowed to use pool
func (*Queries) FindAgentTokenByID ¶
func (*Queries) FindAgentTokensByAgentPoolID ¶
func (*Queries) FindAllNotificationConfigurations ¶
func (q *Queries) FindAllNotificationConfigurations(ctx context.Context) ([]NotificationConfiguration, error)
func (*Queries) FindAllocatedJobs ¶
func (*Queries) FindAndUpdateSignaledJobs ¶
func (q *Queries) FindAndUpdateSignaledJobs(ctx context.Context, runnerID *resource.ID) ([]FindAndUpdateSignaledJobsRow, error)
Find signaled jobs and then immediately update signal with null.
func (*Queries) FindConfigurationVersionByID ¶
func (q *Queries) FindConfigurationVersionByID(ctx context.Context, configurationVersionID resource.ID) (FindConfigurationVersionByIDRow, error)
FindConfigurationVersionByID finds a configuration_version by its id.
func (*Queries) FindConfigurationVersionByIDForUpdate ¶
func (*Queries) FindConfigurationVersionLatestByWorkspaceID ¶
func (*Queries) FindConfigurationVersionsByWorkspaceID ¶
func (q *Queries) FindConfigurationVersionsByWorkspaceID(ctx context.Context, arg FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
FindConfigurationVersions finds configuration_versions for a given workspace. Results are paginated with limit and offset, and total count is returned.
func (*Queries) FindCurrentStateVersionByWorkspaceID ¶
func (*Queries) FindGithubApp ¶
func (*Queries) FindJobForUpdate ¶
func (*Queries) FindJobForUpdateByRunPhase ¶ added in v0.3.6
func (q *Queries) FindJobForUpdateByRunPhase(ctx context.Context, arg FindJobForUpdateByRunPhaseParams) (FindJobForUpdateByRunPhaseRow, error)
func (*Queries) FindLatestTerraformVersion ¶
func (q *Queries) FindLatestTerraformVersion(ctx context.Context) ([]LatestTerraformVersion, error)
func (*Queries) FindLogChunkByID ¶
func (*Queries) FindModuleByConnection ¶
func (q *Queries) FindModuleByConnection(ctx context.Context, arg FindModuleByConnectionParams) (FindModuleByConnectionRow, error)
func (*Queries) FindModuleByID ¶
func (*Queries) FindModuleByModuleVersionID ¶
func (*Queries) FindModuleByName ¶
func (q *Queries) FindModuleByName(ctx context.Context, arg FindModuleByNameParams) (FindModuleByNameRow, error)
func (*Queries) FindModuleTarball ¶
func (*Queries) FindNotificationConfiguration ¶
func (*Queries) FindNotificationConfigurationForUpdate ¶
func (*Queries) FindNotificationConfigurationsByWorkspaceID ¶
func (*Queries) FindOrganizationByID ¶
func (*Queries) FindOrganizationByName ¶
func (*Queries) FindOrganizationByNameForUpdate ¶
func (*Queries) FindOrganizationNameByWorkspaceID ¶
func (*Queries) FindOrganizationTokens ¶
func (*Queries) FindOrganizationTokensByID ¶
func (*Queries) FindOrganizationTokensByName ¶
func (*Queries) FindOrganizations ¶
func (q *Queries) FindOrganizations(ctx context.Context, arg FindOrganizationsParams) ([]Organization, error)
func (*Queries) FindRepohookByID ¶
func (*Queries) FindRepohookByRepoAndProvider ¶
func (q *Queries) FindRepohookByRepoAndProvider(ctx context.Context, arg FindRepohookByRepoAndProviderParams) ([]FindRepohookByRepoAndProviderRow, error)
func (*Queries) FindRepohooks ¶
func (q *Queries) FindRepohooks(ctx context.Context) ([]FindRepohooksRow, error)
func (*Queries) FindRunByID ¶
func (*Queries) FindRunByIDForUpdate ¶
func (*Queries) FindRunnerByID ¶ added in v0.3.6
func (*Queries) FindRunnerByIDForUpdate ¶ added in v0.3.6
func (*Queries) FindRunners ¶ added in v0.3.6
func (q *Queries) FindRunners(ctx context.Context) ([]FindRunnersRow, error)
func (*Queries) FindRunnersByOrganization ¶ added in v0.3.6
func (*Queries) FindRunnersByPoolID ¶ added in v0.3.6
func (*Queries) FindRuns ¶
func (q *Queries) FindRuns(ctx context.Context, arg FindRunsParams) ([]FindRunsRow, error)
func (*Queries) FindServerRunners ¶ added in v0.3.6
func (q *Queries) FindServerRunners(ctx context.Context) ([]FindServerRunnersRow, error)
func (*Queries) FindStateVersionByID ¶
func (*Queries) FindStateVersionByIDForUpdate ¶
func (*Queries) FindStateVersionOutputByID ¶
func (*Queries) FindStateVersionStateByID ¶
func (*Queries) FindStateVersionsByWorkspaceID ¶
func (q *Queries) FindStateVersionsByWorkspaceID(ctx context.Context, arg FindStateVersionsByWorkspaceIDParams) ([]FindStateVersionsByWorkspaceIDRow, error)
func (*Queries) FindTagByID ¶
func (q *Queries) FindTagByID(ctx context.Context, arg FindTagByIDParams) (FindTagByIDRow, error)
func (*Queries) FindTagByName ¶
func (q *Queries) FindTagByName(ctx context.Context, arg FindTagByNameParams) (FindTagByNameRow, error)
func (*Queries) FindTags ¶
func (q *Queries) FindTags(ctx context.Context, arg FindTagsParams) ([]FindTagsRow, error)
func (*Queries) FindTeamByID ¶
func (*Queries) FindTeamByIDForUpdate ¶
func (*Queries) FindTeamByName ¶
func (*Queries) FindTeamByTokenID ¶
func (*Queries) FindTeamTokensByID ¶
func (*Queries) FindTeamsByOrg ¶
func (*Queries) FindTokenByID ¶
func (*Queries) FindTokensByUsername ¶
func (*Queries) FindUnreferencedRepohooks ¶
func (q *Queries) FindUnreferencedRepohooks(ctx context.Context) ([]FindUnreferencedRepohooksRow, error)
func (*Queries) FindUserByAuthenticationTokenID ¶
func (*Queries) FindUserByID ¶
func (*Queries) FindUserByUsername ¶
func (*Queries) FindUsers ¶
func (q *Queries) FindUsers(ctx context.Context) ([]FindUsersRow, error)
func (*Queries) FindUsersByOrganization ¶
func (*Queries) FindUsersByTeamID ¶
func (*Queries) FindVCSProvider ¶
func (*Queries) FindVCSProviderForUpdate ¶
func (*Queries) FindVCSProviders ¶
func (q *Queries) FindVCSProviders(ctx context.Context) ([]FindVCSProvidersRow, error)
func (*Queries) FindVCSProvidersByGithubAppInstallID ¶
func (*Queries) FindVCSProvidersByOrganization ¶
func (*Queries) FindVariable ¶
func (*Queries) FindVariableSetBySetID ¶
func (*Queries) FindVariableSetByVariableID ¶
func (*Queries) FindVariableSetForUpdate ¶
func (*Queries) FindVariableSetsByOrganization ¶
func (*Queries) FindVariableSetsByWorkspace ¶
func (*Queries) FindWorkspaceByID ¶
func (*Queries) FindWorkspaceByIDForUpdate ¶
func (*Queries) FindWorkspaceByName ¶
func (q *Queries) FindWorkspaceByName(ctx context.Context, arg FindWorkspaceByNameParams) (FindWorkspaceByNameRow, error)
func (*Queries) FindWorkspacePermissionsAndGlobalRemoteState ¶ added in v0.3.6
func (*Queries) FindWorkspaceTags ¶
func (q *Queries) FindWorkspaceTags(ctx context.Context, arg FindWorkspaceTagsParams) ([]FindWorkspaceTagsRow, error)
func (*Queries) FindWorkspaceVariableByVariableID ¶
func (*Queries) FindWorkspaceVariablesByWorkspaceID ¶
func (*Queries) FindWorkspaces ¶
func (q *Queries) FindWorkspaces(ctx context.Context, arg FindWorkspacesParams) ([]FindWorkspacesRow, error)
func (*Queries) FindWorkspacesByConnection ¶
func (q *Queries) FindWorkspacesByConnection(ctx context.Context, arg FindWorkspacesByConnectionParams) ([]FindWorkspacesByConnectionRow, error)
func (*Queries) FindWorkspacesByUsername ¶
func (q *Queries) FindWorkspacesByUsername(ctx context.Context, arg FindWorkspacesByUsernameParams) ([]FindWorkspacesByUsernameRow, error)
func (*Queries) GetLockFileByID ¶
func (*Queries) GetPlanBinByID ¶
func (*Queries) GetPlanJSONByID ¶
func (*Queries) InsertAgentPool ¶
func (q *Queries) InsertAgentPool(ctx context.Context, arg InsertAgentPoolParams) error
func (*Queries) InsertAgentPoolAllowedWorkspace ¶
func (q *Queries) InsertAgentPoolAllowedWorkspace(ctx context.Context, arg InsertAgentPoolAllowedWorkspaceParams) error
func (*Queries) InsertAgentToken ¶
func (q *Queries) InsertAgentToken(ctx context.Context, arg InsertAgentTokenParams) error
func (*Queries) InsertApply ¶
func (q *Queries) InsertApply(ctx context.Context, arg InsertApplyParams) error
func (*Queries) InsertConfigurationVersion ¶
func (q *Queries) InsertConfigurationVersion(ctx context.Context, arg InsertConfigurationVersionParams) error
func (*Queries) InsertConfigurationVersionStatusTimestamp ¶
func (q *Queries) InsertConfigurationVersionStatusTimestamp(ctx context.Context, arg InsertConfigurationVersionStatusTimestampParams) (ConfigurationVersionStatusTimestamp, error)
func (*Queries) InsertGithubApp ¶
func (q *Queries) InsertGithubApp(ctx context.Context, arg InsertGithubAppParams) error
func (*Queries) InsertGithubAppInstall ¶
func (q *Queries) InsertGithubAppInstall(ctx context.Context, arg InsertGithubAppInstallParams) error
func (*Queries) InsertIngressAttributes ¶
func (q *Queries) InsertIngressAttributes(ctx context.Context, arg InsertIngressAttributesParams) error
func (*Queries) InsertJob ¶
func (q *Queries) InsertJob(ctx context.Context, arg InsertJobParams) error
func (*Queries) InsertLatestTerraformVersion ¶
func (*Queries) InsertLogChunk ¶
func (q *Queries) InsertLogChunk(ctx context.Context, arg InsertLogChunkParams) error
func (*Queries) InsertModule ¶
func (q *Queries) InsertModule(ctx context.Context, arg InsertModuleParams) error
func (*Queries) InsertModuleTarball ¶
func (*Queries) InsertModuleVersion ¶
func (q *Queries) InsertModuleVersion(ctx context.Context, arg InsertModuleVersionParams) (ModuleVersion, error)
func (*Queries) InsertNotificationConfiguration ¶
func (q *Queries) InsertNotificationConfiguration(ctx context.Context, arg InsertNotificationConfigurationParams) error
func (*Queries) InsertOrganization ¶
func (q *Queries) InsertOrganization(ctx context.Context, arg InsertOrganizationParams) error
func (*Queries) InsertPhaseStatusTimestamp ¶
func (q *Queries) InsertPhaseStatusTimestamp(ctx context.Context, arg InsertPhaseStatusTimestampParams) error
func (*Queries) InsertPlan ¶
func (q *Queries) InsertPlan(ctx context.Context, arg InsertPlanParams) error
func (*Queries) InsertRepoConnection ¶
func (q *Queries) InsertRepoConnection(ctx context.Context, arg InsertRepoConnectionParams) error
func (*Queries) InsertRepohook ¶
func (q *Queries) InsertRepohook(ctx context.Context, arg InsertRepohookParams) (InsertRepohookRow, error)
func (*Queries) InsertRun ¶
func (q *Queries) InsertRun(ctx context.Context, arg InsertRunParams) error
func (*Queries) InsertRunStatusTimestamp ¶
func (q *Queries) InsertRunStatusTimestamp(ctx context.Context, arg InsertRunStatusTimestampParams) error
func (*Queries) InsertRunVariable ¶
func (q *Queries) InsertRunVariable(ctx context.Context, arg InsertRunVariableParams) error
func (*Queries) InsertRunner ¶ added in v0.3.6
func (q *Queries) InsertRunner(ctx context.Context, arg InsertRunnerParams) error
func (*Queries) InsertStateVersion ¶
func (q *Queries) InsertStateVersion(ctx context.Context, arg InsertStateVersionParams) error
func (*Queries) InsertStateVersionOutput ¶
func (q *Queries) InsertStateVersionOutput(ctx context.Context, arg InsertStateVersionOutputParams) error
func (*Queries) InsertTag ¶
func (q *Queries) InsertTag(ctx context.Context, arg InsertTagParams) error
func (*Queries) InsertTeam ¶
func (q *Queries) InsertTeam(ctx context.Context, arg InsertTeamParams) error
func (*Queries) InsertTeamMembership ¶
func (*Queries) InsertTeamToken ¶
func (q *Queries) InsertTeamToken(ctx context.Context, arg InsertTeamTokenParams) error
func (*Queries) InsertToken ¶
func (q *Queries) InsertToken(ctx context.Context, arg InsertTokenParams) error
func (*Queries) InsertUser ¶
func (q *Queries) InsertUser(ctx context.Context, arg InsertUserParams) error
func (*Queries) InsertVCSProvider ¶
func (q *Queries) InsertVCSProvider(ctx context.Context, arg InsertVCSProviderParams) error
func (*Queries) InsertVariable ¶
func (q *Queries) InsertVariable(ctx context.Context, arg InsertVariableParams) error
func (*Queries) InsertVariableSet ¶
func (q *Queries) InsertVariableSet(ctx context.Context, arg InsertVariableSetParams) error
func (*Queries) InsertVariableSetVariable ¶
func (q *Queries) InsertVariableSetVariable(ctx context.Context, arg InsertVariableSetVariableParams) error
func (*Queries) InsertVariableSetWorkspace ¶
func (q *Queries) InsertVariableSetWorkspace(ctx context.Context, arg InsertVariableSetWorkspaceParams) error
func (*Queries) InsertWorkspace ¶
func (q *Queries) InsertWorkspace(ctx context.Context, arg InsertWorkspaceParams) error
func (*Queries) InsertWorkspaceTag ¶
func (*Queries) InsertWorkspaceTagByName ¶
func (*Queries) InsertWorkspaceVariable ¶
func (q *Queries) InsertWorkspaceVariable(ctx context.Context, arg InsertWorkspaceVariableParams) error
func (*Queries) ListModulesByOrganization ¶
func (*Queries) PutLockFile ¶
func (*Queries) ResetUserSiteAdmins ¶
func (*Queries) UpdateAgentPool ¶
func (*Queries) UpdateAppliedChangesByID ¶
func (*Queries) UpdateApplyStatusByID ¶
func (*Queries) UpdateCancelSignaledAt ¶
func (*Queries) UpdateConfigurationVersionConfigByID ¶
func (*Queries) UpdateConfigurationVersionErroredByID ¶
func (*Queries) UpdateLatestTerraformVersion ¶
func (*Queries) UpdateModuleStatusByID ¶
func (*Queries) UpdateModuleVersionStatusByID ¶
func (q *Queries) UpdateModuleVersionStatusByID(ctx context.Context, arg UpdateModuleVersionStatusByIDParams) (ModuleVersion, error)
func (*Queries) UpdateNotificationConfigurationByID ¶
func (*Queries) UpdateOrganizationByName ¶
func (*Queries) UpdatePlanBinByID ¶
func (*Queries) UpdatePlanJSONByID ¶
func (*Queries) UpdatePlanStatusByID ¶
func (*Queries) UpdatePlannedChangesByID ¶
func (*Queries) UpdateRepohookVCSID ¶
func (*Queries) UpdateRunStatus ¶
func (*Queries) UpdateRunner ¶ added in v0.3.6
func (*Queries) UpdateState ¶
func (q *Queries) UpdateState(ctx context.Context, arg UpdateStateParams) error
func (*Queries) UpdateTeamByID ¶
func (*Queries) UpdateUserSiteAdmins ¶
func (*Queries) UpdateVCSProvider ¶
func (q *Queries) UpdateVCSProvider(ctx context.Context, arg UpdateVCSProviderParams) (VCSProvider, error)
func (*Queries) UpdateVariableByID ¶
func (*Queries) UpdateVariableSetByID ¶
func (*Queries) UpdateWorkspaceByID ¶
func (*Queries) UpdateWorkspaceCurrentStateVersionID ¶
func (*Queries) UpdateWorkspaceLatestRun ¶
func (q *Queries) UpdateWorkspaceLatestRun(ctx context.Context, arg UpdateWorkspaceLatestRunParams) error
func (*Queries) UpdateWorkspaceLockByID ¶
func (q *Queries) UpdateWorkspaceLockByID(ctx context.Context, arg UpdateWorkspaceLockByIDParams) error
func (*Queries) UpsertOrganizationToken ¶
func (q *Queries) UpsertOrganizationToken(ctx context.Context, arg UpsertOrganizationTokenParams) error
func (*Queries) UpsertWorkspacePermission ¶
func (q *Queries) UpsertWorkspacePermission(ctx context.Context, arg UpsertWorkspacePermissionParams) error
type RegistrySession ¶
type RepoConnection ¶
type Run ¶
type Run struct { RunID resource.ID CreatedAt pgtype.Timestamptz CancelSignaledAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool ReplaceAddrs []pgtype.Text TargetAddrs []pgtype.Text LockFile []byte Status pgtype.Text WorkspaceID resource.ID ConfigurationVersionID resource.ID AutoApply pgtype.Bool PlanOnly pgtype.Bool CreatedBy pgtype.Text Source pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool }
type RunStatusTimestamp ¶
type RunnerStatus ¶ added in v0.3.6
type SchemaVersion ¶
type Session ¶
type Session struct { Token pgtype.Text CreatedAt pgtype.Timestamptz Address pgtype.Text Expiry pgtype.Timestamptz Username pgtype.Text }
type StateVersion ¶
type StateVersionOutput ¶
type StateVersionStatus ¶
type Team ¶
type Team struct { TeamID resource.ID Name pgtype.Text CreatedAt pgtype.Timestamptz PermissionManageWorkspaces pgtype.Bool PermissionManageVCS pgtype.Bool PermissionManageModules pgtype.Bool OrganizationName pgtype.Text SSOTeamID pgtype.Text Visibility pgtype.Text PermissionManagePolicies pgtype.Bool PermissionManagePolicyOverrides pgtype.Bool PermissionManageProviders pgtype.Bool }
type TeamToken ¶
type TeamToken struct { TeamTokenID resource.ID Description pgtype.Text CreatedAt pgtype.Timestamptz TeamID resource.ID Expiry pgtype.Timestamptz }
type UpdateAgentPoolParams ¶
type UpdateCancelSignaledAtParams ¶
type UpdateCancelSignaledAtParams struct { CancelSignaledAt pgtype.Timestamptz ID resource.ID }
type UpdateJobParams ¶
type UpdatePlanBinByIDParams ¶
type UpdateRunStatusParams ¶
type UpdateRunnerParams ¶ added in v0.3.6
type UpdateRunnerParams struct { Status pgtype.Text LastPingAt pgtype.Timestamptz LastStatusAt pgtype.Timestamptz RunnerID resource.ID }
type UpdateStateParams ¶
type UpdateTeamByIDParams ¶
type UpdateTeamByIDParams struct { Name pgtype.Text Visibility pgtype.Text SSOTeamID pgtype.Text PermissionManageWorkspaces pgtype.Bool PermissionManageVCS pgtype.Bool PermissionManageModules pgtype.Bool PermissionManageProviders pgtype.Bool PermissionManagePolicies pgtype.Bool PermissionManagePolicyOverrides pgtype.Bool TeamID resource.ID }
type UpdateVCSProviderParams ¶
type UpdateWorkspaceByIDParams ¶
type UpdateWorkspaceByIDParams struct { AgentPoolID *resource.ID AllowDestroyPlan pgtype.Bool AllowCLIApply pgtype.Bool AutoApply pgtype.Bool Branch pgtype.Text Description pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text WorkingDirectory pgtype.Text UpdatedAt pgtype.Timestamptz ID resource.ID }
type UpsertOrganizationTokenParams ¶
type UpsertOrganizationTokenParams struct { OrganizationTokenID resource.ID CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Expiry pgtype.Timestamptz }
type User ¶
type User struct { UserID resource.ID Username pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz SiteAdmin pgtype.Bool }
type VCSProvider ¶
type VariableCategory ¶
type VariableSet ¶
type VariableSetVariable ¶
type VariableSetWorkspace ¶
type Workspace ¶
type Workspace struct { WorkspaceID resource.ID CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text WorkingDirectory pgtype.Text LockRunID *resource.ID LatestRunID *resource.ID OrganizationName pgtype.Text Branch pgtype.Text CurrentStateVersionID *resource.ID TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID *resource.ID LockUserID *resource.ID }
type WorkspacePermission ¶
type WorkspaceRole ¶
Source Files ¶
- agent_pool.sql.go
- agent_token.sql.go
- apply.sql.go
- configuration_version.sql.go
- db.go
- github_app.sql.go
- ingress_attributes.sql.go
- job.sql.go
- models.go
- module.sql.go
- notification_configuration.sql.go
- organization.sql.go
- organization_token.sql.go
- phase.sql.go
- plan.sql.go
- releases.sql.go
- repo_connections.sql.go
- repohook.sql.go
- report.go
- run.sql.go
- runner.sql.go
- sqlc.go
- state_version.sql.go
- state_version_output.sql.go
- tags.sql.go
- team.sql.go
- team_membership.sql.go
- team_token.sql.go
- token.sql.go
- user.sql.go
- variable.sql.go
- variable_set.sql.go
- vcs_provider.sql.go
- workspace.sql.go
- workspace_permission.sql.go
- workspace_variable.sql.go