Versions in this module Expand all Collapse all v1 v1.0.1 Jun 2, 2026 Changes in this version + var ErrInvalidSignature = errors.New("invalid jit token signature") + var ErrJobFinished = errors.New("job is already finished or expired") + var ErrJobNotFound = errors.New("job not found") + type AzureMetadata struct + Organization string + Project string + ProjectID string + RepoGUID string + type Deployment struct + CreatedAt time.Time + HeadSHA string + ID string + PRNumber int + PlanAt time.Time + PlanOutput string + PlanSucceeded bool + PlanVersion int + RepoID string + SourceBranch string + SourceBranchSHA string + Stacks []string + Status DeploymentStatus + TargetBranch string + User string + type DeploymentStatus string + const DeploymentApplied + const DeploymentApproved + const DeploymentFailed + const DeploymentMerged + const DeploymentPending + const DeploymentPlanned + const DeploymentRejected + const DeploymentRunning + type GitHubMetadata struct + Owner string + RepoName string + RepositoryID int64 + type GitLabMetadata struct + Namespace string + ProjectID int64 + ProjectPath string + type Job struct + DeploymentID string + ID string + JITToken string + Operation string + RepoID string + Status OpStatus + UpdatedAt time.Time + User string + type Lock struct + CreatedAt time.Time + PRNumber int + RepoID string + StackPath string + User string + type OpStatus string + const StatusFailed + const StatusQueued + const StatusRunning + const StatusSuccess + type PipelineTriggerRequest struct + Branch string + CommitSHA string + Repo string + Variables map[string]string + type RepositoryMetadata struct + Azure *AzureMetadata + CreatedAt time.Time + GitHub *GitHubMetadata + GitLab *GitLabMetadata + ID string + KeyVersion int + Name string + RepoURI string + SCMProvider SCMProvider + UpdatedAt time.Time + type SCMProvider string + const SCMProviderAzure + const SCMProviderGitHub + const SCMProviderGitLab + func (t SCMProvider) Valid() bool