Documentation ¶
Overview ¶
Package sqlc is mostly auto-generated by the sqlc tool
Index ¶
- type Agent
- type AgentPool
- type AgentPoolAllowedWorkspace
- type AgentStatus
- 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 FindAgentByIDForUpdateRow
- type FindAgentByIDRow
- type FindAgentPoolByAgentTokenIDRow
- type FindAgentPoolRow
- type FindAgentPoolsByOrganizationParams
- type FindAgentPoolsByOrganizationRow
- type FindAgentPoolsRow
- type FindAgentsByOrganizationRow
- type FindAgentsByPoolIDRow
- type FindAgentsRow
- type FindAllocatedJobsRow
- type FindAndUpdateSignaledJobsRow
- type FindConfigurationVersionByIDForUpdateRow
- type FindConfigurationVersionByIDRow
- type FindConfigurationVersionLatestByWorkspaceIDRow
- type FindConfigurationVersionsByWorkspaceIDParams
- type FindConfigurationVersionsByWorkspaceIDRow
- type FindCurrentStateVersionByWorkspaceIDRow
- type FindJobForUpdateParams
- type FindJobForUpdateRow
- type FindJobParams
- 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 FindRunsParams
- type FindRunsRow
- type FindServerAgentsRow
- 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 FindWorkspaceTagsParams
- type FindWorkspaceTagsRow
- type FindWorkspaceVariableByVariableIDRow
- type FindWorkspacesByConnectionParams
- type FindWorkspacesByConnectionRow
- type FindWorkspacesByUsernameParams
- type FindWorkspacesByUsernameRow
- type FindWorkspacesParams
- type FindWorkspacesRow
- type GithubApp
- type GithubAppInstall
- type IngressAttribute
- type InsertAgentParams
- 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 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 pgtype.Text) (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 pgtype.Text) (int64, error)
- func (q *Queries) CountTags(ctx context.Context, organizationName pgtype.Text) (int64, error)
- func (q *Queries) CountWorkspaceTags(ctx context.Context, workspaceID pgtype.Text) (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) DeleteAgent(ctx context.Context, agentID pgtype.Text) (Agent, error)
- func (q *Queries) DeleteAgentPool(ctx context.Context, poolID pgtype.Text) (AgentPool, error)
- func (q *Queries) DeleteAgentPoolAllowedWorkspace(ctx context.Context, arg DeleteAgentPoolAllowedWorkspaceParams) error
- func (q *Queries) DeleteAgentTokenByID(ctx context.Context, agentTokenID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteConfigurationVersionByID(ctx context.Context, id pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteGithubApp(ctx context.Context, githubAppID pgtype.Int8) (GithubApp, error)
- func (q *Queries) DeleteModuleByID(ctx context.Context, moduleID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteModuleConnectionByID(ctx context.Context, moduleID pgtype.Text) (RepoConnection, error)
- func (q *Queries) DeleteModuleVersionByID(ctx context.Context, moduleVersionID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteNotificationConfigurationByID(ctx context.Context, notificationConfigurationID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteOrganiationTokenByName(ctx context.Context, organizationName pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteOrganizationByName(ctx context.Context, name pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteRepohookByID(ctx context.Context, repohookID pgtype.UUID) (Repohook, error)
- func (q *Queries) DeleteRunByID(ctx context.Context, runID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteStateVersionByID(ctx context.Context, stateVersionID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteTag(ctx context.Context, arg DeleteTagParams) (pgtype.Text, error)
- func (q *Queries) DeleteTeamByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteTeamMembership(ctx context.Context, arg DeleteTeamMembershipParams) ([]pgtype.Text, error)
- func (q *Queries) DeleteTeamTokenByID(ctx context.Context, teamID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteTokenByID(ctx context.Context, tokenID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteUserByID(ctx context.Context, userID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteUserByUsername(ctx context.Context, username pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteVCSProviderByID(ctx context.Context, vcsProviderID pgtype.Text) (pgtype.Text, error)
- func (q *Queries) DeleteVariableByID(ctx context.Context, variableID pgtype.Text) (Variable, error)
- func (q *Queries) DeleteVariableSetByID(ctx context.Context, variableSetID pgtype.Text) (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 pgtype.Text) error
- func (q *Queries) DeleteWorkspaceByID(ctx context.Context, workspaceID pgtype.Text) error
- func (q *Queries) DeleteWorkspaceConnectionByID(ctx context.Context, workspaceID pgtype.Text) (RepoConnection, error)
- func (q *Queries) DeleteWorkspacePermissionByID(ctx context.Context, arg DeleteWorkspacePermissionByIDParams) error
- func (q *Queries) DeleteWorkspaceTag(ctx context.Context, arg DeleteWorkspaceTagParams) (pgtype.Text, error)
- func (q *Queries) DeleteWorkspaceVariableByID(ctx context.Context, variableID pgtype.Text) (DeleteWorkspaceVariableByIDRow, error)
- func (q *Queries) DiscardPendingStateVersionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) error
- func (q *Queries) DownloadConfigurationVersion(ctx context.Context, configurationVersionID pgtype.Text) ([]byte, error)
- func (q *Queries) FindAgentByID(ctx context.Context, agentID pgtype.Text) (FindAgentByIDRow, error)
- func (q *Queries) FindAgentByIDForUpdate(ctx context.Context, agentID pgtype.Text) (FindAgentByIDForUpdateRow, error)
- func (q *Queries) FindAgentPool(ctx context.Context, poolID pgtype.Text) (FindAgentPoolRow, error)
- func (q *Queries) FindAgentPoolByAgentTokenID(ctx context.Context, agentTokenID pgtype.Text) (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 pgtype.Text) (AgentToken, error)
- func (q *Queries) FindAgentTokensByAgentPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]AgentToken, error)
- func (q *Queries) FindAgents(ctx context.Context) ([]FindAgentsRow, error)
- func (q *Queries) FindAgentsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindAgentsByOrganizationRow, error)
- func (q *Queries) FindAgentsByPoolID(ctx context.Context, agentPoolID pgtype.Text) ([]FindAgentsByPoolIDRow, error)
- func (q *Queries) FindAllNotificationConfigurations(ctx context.Context) ([]NotificationConfiguration, error)
- func (q *Queries) FindAllocatedJobs(ctx context.Context, agentID pgtype.Text) ([]FindAllocatedJobsRow, error)
- func (q *Queries) FindAndUpdateSignaledJobs(ctx context.Context, agentID pgtype.Text) ([]FindAndUpdateSignaledJobsRow, error)
- func (q *Queries) FindConfigurationVersionByID(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDRow, error)
- func (q *Queries) FindConfigurationVersionByIDForUpdate(ctx context.Context, configurationVersionID pgtype.Text) (FindConfigurationVersionByIDForUpdateRow, error)
- func (q *Queries) FindConfigurationVersionLatestByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindConfigurationVersionLatestByWorkspaceIDRow, error)
- func (q *Queries) FindConfigurationVersionsByWorkspaceID(ctx context.Context, arg FindConfigurationVersionsByWorkspaceIDParams) ([]FindConfigurationVersionsByWorkspaceIDRow, error)
- func (q *Queries) FindCurrentStateVersionByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) (FindCurrentStateVersionByWorkspaceIDRow, error)
- func (q *Queries) FindGithubApp(ctx context.Context) (GithubApp, error)
- func (q *Queries) FindJob(ctx context.Context, arg FindJobParams) (FindJobRow, error)
- func (q *Queries) FindJobForUpdate(ctx context.Context, arg FindJobForUpdateParams) (FindJobForUpdateRow, 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 pgtype.Int4) (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 pgtype.Text) (FindModuleByIDRow, error)
- func (q *Queries) FindModuleByModuleVersionID(ctx context.Context, moduleVersionID pgtype.Text) (FindModuleByModuleVersionIDRow, error)
- func (q *Queries) FindModuleByName(ctx context.Context, arg FindModuleByNameParams) (FindModuleByNameRow, error)
- func (q *Queries) FindModuleTarball(ctx context.Context, moduleVersionID pgtype.Text) ([]byte, error)
- func (q *Queries) FindNotificationConfiguration(ctx context.Context, notificationConfigurationID pgtype.Text) (NotificationConfiguration, error)
- func (q *Queries) FindNotificationConfigurationForUpdate(ctx context.Context, notificationConfigurationID pgtype.Text) (NotificationConfiguration, error)
- func (q *Queries) FindNotificationConfigurationsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]NotificationConfiguration, error)
- func (q *Queries) FindOrganizationByID(ctx context.Context, organizationID pgtype.Text) (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 pgtype.Text) (pgtype.Text, error)
- func (q *Queries) FindOrganizationTokens(ctx context.Context, organizationName pgtype.Text) ([]OrganizationToken, error)
- func (q *Queries) FindOrganizationTokensByID(ctx context.Context, organizationTokenID pgtype.Text) (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 pgtype.Text) (FindRunByIDRow, error)
- func (q *Queries) FindRunByIDForUpdate(ctx context.Context, runID pgtype.Text) (FindRunByIDForUpdateRow, error)
- func (q *Queries) FindRuns(ctx context.Context, arg FindRunsParams) ([]FindRunsRow, error)
- func (q *Queries) FindServerAgents(ctx context.Context) ([]FindServerAgentsRow, error)
- func (q *Queries) FindStateVersionByID(ctx context.Context, id pgtype.Text) (FindStateVersionByIDRow, error)
- func (q *Queries) FindStateVersionByIDForUpdate(ctx context.Context, id pgtype.Text) (FindStateVersionByIDForUpdateRow, error)
- func (q *Queries) FindStateVersionOutputByID(ctx context.Context, id pgtype.Text) (StateVersionOutput, error)
- func (q *Queries) FindStateVersionStateByID(ctx context.Context, id pgtype.Text) ([]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 pgtype.Text) (Team, error)
- func (q *Queries) FindTeamByIDForUpdate(ctx context.Context, teamID pgtype.Text) (Team, error)
- func (q *Queries) FindTeamByName(ctx context.Context, arg FindTeamByNameParams) (Team, error)
- func (q *Queries) FindTeamByTokenID(ctx context.Context, tokenID pgtype.Text) (Team, error)
- func (q *Queries) FindTeamTokensByID(ctx context.Context, teamID pgtype.Text) ([]TeamToken, error)
- func (q *Queries) FindTeamsByOrg(ctx context.Context, organizationName pgtype.Text) ([]Team, error)
- func (q *Queries) FindTokenByID(ctx context.Context, tokenID pgtype.Text) (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 pgtype.Text) (FindUserByAuthenticationTokenIDRow, error)
- func (q *Queries) FindUserByID(ctx context.Context, userID pgtype.Text) (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 pgtype.Text) ([]FindUsersByTeamIDRow, error)
- func (q *Queries) FindVCSProvider(ctx context.Context, vcsProviderID pgtype.Text) (FindVCSProviderRow, error)
- func (q *Queries) FindVCSProviderForUpdate(ctx context.Context, vcsProviderID pgtype.Text) (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 pgtype.Text) (Variable, error)
- func (q *Queries) FindVariableSetBySetID(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetBySetIDRow, error)
- func (q *Queries) FindVariableSetByVariableID(ctx context.Context, variableID pgtype.Text) (FindVariableSetByVariableIDRow, error)
- func (q *Queries) FindVariableSetForUpdate(ctx context.Context, variableSetID pgtype.Text) (FindVariableSetForUpdateRow, error)
- func (q *Queries) FindVariableSetsByOrganization(ctx context.Context, organizationName pgtype.Text) ([]FindVariableSetsByOrganizationRow, error)
- func (q *Queries) FindVariableSetsByWorkspace(ctx context.Context, workspaceID pgtype.Text) ([]FindVariableSetsByWorkspaceRow, error)
- func (q *Queries) FindWorkspaceByID(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDRow, error)
- func (q *Queries) FindWorkspaceByIDForUpdate(ctx context.Context, id pgtype.Text) (FindWorkspaceByIDForUpdateRow, error)
- func (q *Queries) FindWorkspaceByName(ctx context.Context, arg FindWorkspaceByNameParams) (FindWorkspaceByNameRow, error)
- func (q *Queries) FindWorkspacePermissionsByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]WorkspacePermission, error)
- func (q *Queries) FindWorkspaceTags(ctx context.Context, arg FindWorkspaceTagsParams) ([]FindWorkspaceTagsRow, error)
- func (q *Queries) FindWorkspaceVariableByVariableID(ctx context.Context, variableID pgtype.Text) (FindWorkspaceVariableByVariableIDRow, error)
- func (q *Queries) FindWorkspaceVariablesByWorkspaceID(ctx context.Context, workspaceID pgtype.Text) ([]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 pgtype.Text) ([]byte, error)
- func (q *Queries) GetPlanBinByID(ctx context.Context, runID pgtype.Text) ([]byte, error)
- func (q *Queries) GetPlanJSONByID(ctx context.Context, runID pgtype.Text) ([]byte, error)
- func (q *Queries) InsertAgent(ctx context.Context, arg InsertAgentParams) 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) (pgtype.Int4, error)
- func (q *Queries) InsertModule(ctx context.Context, arg InsertModuleParams) error
- func (q *Queries) InsertModuleTarball(ctx context.Context, arg InsertModuleTarballParams) (pgtype.Text, 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) 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) (pgtype.Text, error)
- func (q *Queries) InsertWorkspaceTagByName(ctx context.Context, arg InsertWorkspaceTagByNameParams) (pgtype.Text, 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) (pgtype.Text, error)
- func (q *Queries) ResetUserSiteAdmins(ctx context.Context) ([]pgtype.Text, error)
- func (q *Queries) UpdateAgent(ctx context.Context, arg UpdateAgentParams) (Agent, error)
- func (q *Queries) UpdateAgentPool(ctx context.Context, arg UpdateAgentPoolParams) (AgentPool, error)
- func (q *Queries) UpdateAppliedChangesByID(ctx context.Context, arg UpdateAppliedChangesByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateApplyStatusByID(ctx context.Context, arg UpdateApplyStatusByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateCancelSignaledAt(ctx context.Context, arg UpdateCancelSignaledAtParams) (pgtype.Text, error)
- func (q *Queries) UpdateConfigurationVersionConfigByID(ctx context.Context, arg UpdateConfigurationVersionConfigByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateConfigurationVersionErroredByID(ctx context.Context, id pgtype.Text) (pgtype.Text, 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) (pgtype.Text, error)
- func (q *Queries) UpdateModuleVersionStatusByID(ctx context.Context, arg UpdateModuleVersionStatusByIDParams) (ModuleVersion, error)
- func (q *Queries) UpdateNotificationConfigurationByID(ctx context.Context, arg UpdateNotificationConfigurationByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateOrganizationByName(ctx context.Context, arg UpdateOrganizationByNameParams) (pgtype.Text, error)
- func (q *Queries) UpdatePlanBinByID(ctx context.Context, arg UpdatePlanBinByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdatePlanJSONByID(ctx context.Context, arg UpdatePlanJSONByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdatePlanStatusByID(ctx context.Context, arg UpdatePlanStatusByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdatePlannedChangesByID(ctx context.Context, arg UpdatePlannedChangesByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateRepohookVCSID(ctx context.Context, arg UpdateRepohookVCSIDParams) (Repohook, error)
- func (q *Queries) UpdateRunStatus(ctx context.Context, arg UpdateRunStatusParams) (pgtype.Text, error)
- func (q *Queries) UpdateState(ctx context.Context, arg UpdateStateParams) error
- func (q *Queries) UpdateTeamByID(ctx context.Context, arg UpdateTeamByIDParams) (pgtype.Text, 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) (pgtype.Text, error)
- func (q *Queries) UpdateVariableSetByID(ctx context.Context, arg UpdateVariableSetByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateWorkspaceByID(ctx context.Context, arg UpdateWorkspaceByIDParams) (pgtype.Text, error)
- func (q *Queries) UpdateWorkspaceCurrentStateVersionID(ctx context.Context, arg UpdateWorkspaceCurrentStateVersionIDParams) (pgtype.Text, 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 SchemaVersion
- type Session
- type StateVersion
- type StateVersionOutput
- type StateVersionStatus
- type Tag
- type Team
- type TeamMembership
- type TeamToken
- type Token
- type UpdateAgentParams
- 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 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 AgentStatus ¶
type AgentToken ¶
type ConfigurationVersion ¶
type CountRunsParams ¶
type CountWorkspacesParams ¶
type DeleteTagParams ¶
type DestinationType ¶
type FindAgentByIDRow ¶
type FindAgentPoolRow ¶
type FindAgentPoolsRow ¶
type FindAgentsByPoolIDRow ¶
type FindAgentsRow ¶
type FindAllocatedJobsRow ¶
type FindConfigurationVersionByIDForUpdateRow ¶
type FindConfigurationVersionByIDForUpdateRow struct { ConfigurationVersionID pgtype.Text CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID pgtype.Text StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindConfigurationVersionByIDRow ¶
type FindConfigurationVersionByIDRow struct { ConfigurationVersionID pgtype.Text CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID pgtype.Text StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindConfigurationVersionLatestByWorkspaceIDRow ¶
type FindConfigurationVersionLatestByWorkspaceIDRow struct { ConfigurationVersionID pgtype.Text CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID pgtype.Text StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindConfigurationVersionsByWorkspaceIDRow ¶
type FindConfigurationVersionsByWorkspaceIDRow struct { ConfigurationVersionID pgtype.Text CreatedAt pgtype.Timestamptz AutoQueueRuns pgtype.Bool Source pgtype.Text Speculative pgtype.Bool Status pgtype.Text WorkspaceID pgtype.Text StatusTimestamps []ConfigurationVersionStatusTimestamp IngressAttributes *IngressAttribute }
type FindJobForUpdateParams ¶
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 pgtype.Text 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 pgtype.Text WorkspaceID pgtype.Text 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 pgtype.Text 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 pgtype.Text WorkspaceID pgtype.Text 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 FindRunsParams ¶
type FindRunsRow ¶
type FindRunsRow struct { RunID pgtype.Text 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 pgtype.Text WorkspaceID pgtype.Text 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 FindServerAgentsRow ¶
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 pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID pgtype.Text RepoPath pgtype.Text }
type FindWorkspaceByIDRow ¶
type FindWorkspaceByIDRow struct { WorkspaceID pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID pgtype.Text RepoPath pgtype.Text }
type FindWorkspaceByNameRow ¶
type FindWorkspaceByNameRow struct { WorkspaceID pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID pgtype.Text RepoPath pgtype.Text }
type FindWorkspaceTagsParams ¶
type FindWorkspaceTagsRow ¶
type FindWorkspacesByConnectionRow ¶
type FindWorkspacesByConnectionRow struct { WorkspaceID pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID pgtype.Text RepoPath pgtype.Text }
type FindWorkspacesByUsernameRow ¶
type FindWorkspacesByUsernameRow struct { WorkspaceID pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID pgtype.Text RepoPath pgtype.Text }
type FindWorkspacesParams ¶
type FindWorkspacesRow ¶
type FindWorkspacesRow struct { WorkspaceID pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text Tags []pgtype.Text LatestRunStatus pgtype.Text VCSProviderID pgtype.Text 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 pgtype.Text 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 InsertAgentParams ¶
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 pgtype.Text }
type InsertJobParams ¶
type InsertLogChunkParams ¶
type InsertModuleParams ¶
type InsertOrganizationParams ¶
type InsertOrganizationParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Name pgtype.Text Email pgtype.Text CollaboratorAuthPolicy pgtype.Text CostEstimationEnabled pgtype.Bool SessionRemember pgtype.Int4 SessionTimeout pgtype.Int4 AllowForceDeleteWorkspaces pgtype.Bool }
type InsertRepohookParams ¶
type InsertRepohookRow ¶
type InsertRunParams ¶
type InsertRunParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz IsDestroy pgtype.Bool PositionInQueue pgtype.Int4 Refresh pgtype.Bool RefreshOnly pgtype.Bool Source pgtype.Text Status pgtype.Text ReplaceAddrs []pgtype.Text TargetAddrs []pgtype.Text AutoApply pgtype.Bool PlanOnly pgtype.Bool ConfigurationVersionID pgtype.Text WorkspaceID pgtype.Text CreatedBy pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool }
type InsertRunVariableParams ¶
type InsertTagParams ¶
type InsertTeamParams ¶
type InsertTeamParams struct { ID pgtype.Text Name pgtype.Text CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Visibility pgtype.Text SSOTeamID pgtype.Text PermissionManageWorkspaces pgtype.Bool PermissionManageVCS pgtype.Bool PermissionManageModules pgtype.Bool PermissionManageProviders pgtype.Bool PermissionManagePolicies pgtype.Bool PermissionManagePolicyOverrides pgtype.Bool }
type InsertTeamTokenParams ¶
type InsertTeamTokenParams struct { TeamTokenID pgtype.Text CreatedAt pgtype.Timestamptz TeamID pgtype.Text Expiry pgtype.Timestamptz }
type InsertTokenParams ¶
type InsertUserParams ¶
type InsertUserParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz Username pgtype.Text }
type InsertVCSProviderParams ¶
type InsertVariableParams ¶
type InsertVariableSetParams ¶
type InsertWorkspaceParams ¶
type InsertWorkspaceParams struct { ID pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz AgentPoolID pgtype.Text AllowCLIApply pgtype.Bool AllowDestroyPlan pgtype.Bool AutoApply pgtype.Bool Branch pgtype.Text CanQueueDestroyPlan pgtype.Bool Description pgtype.Text Environment pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool MigrationEnvironment pgtype.Text Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool SourceName pgtype.Text SourceURL pgtype.Text StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []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 pgtype.Text 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 pgtype.Text 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) DeleteAgent ¶
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) 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 pgtype.Text) ([]byte, error)
DownloadConfigurationVersion gets a configuration_version config tarball.
func (*Queries) FindAgentByID ¶
func (*Queries) FindAgentByIDForUpdate ¶
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) FindAgents ¶
func (q *Queries) FindAgents(ctx context.Context) ([]FindAgentsRow, error)
func (*Queries) FindAgentsByOrganization ¶
func (*Queries) FindAgentsByPoolID ¶
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, agentID pgtype.Text) ([]FindAndUpdateSignaledJobsRow, error)
Find signaled jobs and then immediately update signal with null.
func (*Queries) FindConfigurationVersionByID ¶
func (q *Queries) FindConfigurationVersionByID(ctx context.Context, configurationVersionID pgtype.Text) (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) FindJob ¶
func (q *Queries) FindJob(ctx context.Context, arg FindJobParams) (FindJobRow, error)
func (*Queries) FindJobForUpdate ¶
func (q *Queries) FindJobForUpdate(ctx context.Context, arg FindJobForUpdateParams) (FindJobForUpdateRow, 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) FindRuns ¶
func (q *Queries) FindRuns(ctx context.Context, arg FindRunsParams) ([]FindRunsRow, error)
func (*Queries) FindServerAgents ¶
func (q *Queries) FindServerAgents(ctx context.Context) ([]FindServerAgentsRow, 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) FindWorkspacePermissionsByWorkspaceID ¶
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) InsertAgent ¶
func (q *Queries) InsertAgent(ctx context.Context, arg InsertAgentParams) error
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 (*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) 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) UpdateAgent ¶
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) 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 pgtype.Text 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 pgtype.Text ConfigurationVersionID pgtype.Text AutoApply pgtype.Bool PlanOnly pgtype.Bool CreatedBy pgtype.Text Source pgtype.Text TerraformVersion pgtype.Text AllowEmptyApply pgtype.Bool }
type RunStatusTimestamp ¶
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 pgtype.Text 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 pgtype.Text Description pgtype.Text CreatedAt pgtype.Timestamptz TeamID pgtype.Text Expiry pgtype.Timestamptz }
type UpdateAgentParams ¶
type UpdateAgentParams struct { Status pgtype.Text LastPingAt pgtype.Timestamptz LastStatusAt pgtype.Timestamptz AgentID pgtype.Text }
type UpdateAgentPoolParams ¶
type UpdateCancelSignaledAtParams ¶
type UpdateCancelSignaledAtParams struct { CancelSignaledAt pgtype.Timestamptz ID pgtype.Text }
type UpdateJobParams ¶
type UpdatePlanBinByIDParams ¶
type UpdateRunStatusParams ¶
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 pgtype.Text }
type UpdateVCSProviderParams ¶
type UpdateWorkspaceByIDParams ¶
type UpdateWorkspaceByIDParams struct { AgentPoolID pgtype.Text AllowDestroyPlan pgtype.Bool AllowCLIApply pgtype.Bool AutoApply pgtype.Bool Branch pgtype.Text Description pgtype.Text ExecutionMode pgtype.Text GlobalRemoteState pgtype.Bool Name pgtype.Text QueueAllRuns pgtype.Bool SpeculativeEnabled pgtype.Bool StructuredRunOutputEnabled pgtype.Bool TerraformVersion pgtype.Text TriggerPrefixes []pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text WorkingDirectory pgtype.Text UpdatedAt pgtype.Timestamptz ID pgtype.Text }
type UpsertOrganizationTokenParams ¶
type UpsertOrganizationTokenParams struct { OrganizationTokenID pgtype.Text CreatedAt pgtype.Timestamptz OrganizationName pgtype.Text Expiry pgtype.Timestamptz }
type User ¶
type User struct { UserID pgtype.Text 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 pgtype.Text 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 pgtype.Text LatestRunID pgtype.Text OrganizationName pgtype.Text Branch pgtype.Text LockUsername pgtype.Text CurrentStateVersionID pgtype.Text TriggerPatterns []pgtype.Text VCSTagsRegex pgtype.Text AllowCLIApply pgtype.Bool AgentPoolID pgtype.Text }
type WorkspacePermission ¶
type WorkspaceRole ¶
Source Files ¶
- agent.sql.go
- 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
- 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