Documentation
¶
Index ¶
- func GetBuildPlan(namespace *project.Namespaced, commitID string, target string, prime primeable) (bp *buildplan.BuildPlan, rerr error)
- func GetCommit(namespace *project.Namespaced, commitID string, target string, prime primeable) (commit *bpModel.Commit, rerr error)
- type ErrCommitDoesNotExistInProject
- type ErrInvalidCommitId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBuildPlan ¶
func GetBuildPlan( namespace *project.Namespaced, commitID string, target string, prime primeable, ) (bp *buildplan.BuildPlan, rerr error)
GetBuildPlan returns a project's buildplan, depending on the given arguments. By default, the buildplan for the current project is returned, but a buildplan for a given commitID for the current project can be returned, as can the buildplan for a remote project (and optional commitID).
func GetCommit ¶
func GetCommit( namespace *project.Namespaced, commitID string, target string, prime primeable, ) (commit *bpModel.Commit, rerr error)
GetCommit returns a commit from the given arguments. By default, the local commit for the current project is returned, but a commit for a given commitID for the current project can be returned, as can the commit for a remote project (and optional commitID).
Types ¶
type ErrCommitDoesNotExistInProject ¶
func (*ErrCommitDoesNotExistInProject) Error ¶
func (e *ErrCommitDoesNotExistInProject) Error() string
type ErrInvalidCommitId ¶
type ErrInvalidCommitId struct {
Id string
}
func (*ErrInvalidCommitId) Error ¶
func (e *ErrInvalidCommitId) Error() string
Click to show internal directories.
Click to hide internal directories.