Documentation ¶
Overview ¶
Provides requests for git jobs.
Index ¶
Constants ¶
View Source
const ContentTypeGitArchive = "gitarchive"
View Source
const EmptyGitCommitRef = GitCommitRef("")
View Source
const InvalidGitCommitRef = GitCommitRef("")
Variables ¶
View Source
var ( ErrRepositoryAlreadyExists = jobs.SimpleError{jobs.ResponseAlreadyExists, "A repository with this identifier already exists."} ErrSubscribeToUnit = jobs.SimpleError{jobs.ResponseError, "Unable to watch for the completion of this action."} ErrRepositoryCreateFailed = jobs.SimpleError{jobs.ResponseError, "Unable to create the repository."} )
Functions ¶
This section is empty.
Types ¶
type CreateRepositoryRequest ¶
type CreateRepositoryRequest struct { Id git.RepoIdentifier CloneUrl string RequestId jobs.RequestIdentifier }
type GitArchiveContentRequest ¶
type GitArchiveContentRequest struct { RepositoryId git.RepoIdentifier Ref GitCommitRef }
type GitCommitRef ¶
type GitCommitRef string
func NewGitCommitRef ¶
func NewGitCommitRef(s string) (GitCommitRef, error)
Click to show internal directories.
Click to hide internal directories.