jobs

package
v0.0.0-...-4f7b1e4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

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)

Directories

Path Synopsis
Provides linux implementations of git jobs.
Provides linux implementations of git jobs.

Jump to

Keyboard shortcuts

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