buildplanner

package
v0.0.0-...-e2d7b3d Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

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

type ErrCommitDoesNotExistInProject struct {
	Project  string
	CommitID string
}

func (*ErrCommitDoesNotExistInProject) Error

type ErrInvalidCommitId

type ErrInvalidCommitId struct {
	Id string
}

func (*ErrInvalidCommitId) Error

func (e *ErrInvalidCommitId) Error() string

Jump to

Keyboard shortcuts

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