package
0.26.4
Repository: https://github.com/go-vela/server.git
Documentation: pkg.go.dev

# Functions

ApproveBuild represents the API handler to approve a build to run.
AutoCancel is a helper function that checks to see if any pending or running builds for the repo can be replaced by the current build.
CancelBuild represents the API handler to cancel a build.
cleanBuild is a helper function to kill the build without execution.
CompileAndPublish is a helper function to generate the queue items for a build.
CreateBuild represents the API handler to create a build.
DeleteBuild represents the API handler to remove a build for a repo.
Enqueue is a helper function that pushes a queue item (build, repo, user) to the queue.
GatekeepBuild is a helper function that will set the status of a build to 'pending approval' and send a status update to the SCM.
GetBuild represents the API handler to get a build for a repository.
GetBuildByID represents the API handler to get a build by its id.
GetBuildExecutable represents the API handler to get a build executable for a repository.
GetBuildGraph represents the API handler to get a directed a-cyclical graph for a build.
GetBuildStatus represents the API handler to return "status", a lite representation of the resource with limited fields for unauthenticated access.
GetBuildToken represents the API handler to generate a build token.
GetIDRequestToken represents the API handler to generate and return an ID request token.
GetIDToken represents the API handler to generate a id token.
ListBuildsForOrg represents the API handler to get a list of builds associated with an organization.
ListBuildsForRepo represents the API handler to get a list of builds for a repository.
PlanBuild is a helper function to plan the build for execution.
PublishBuildExecutable marshals a pipeline.Build into bytes and pushes that data to the build_executables table to be requested by a worker whenever the build has been picked up.
RestartBuild represents the API handler to restart an existing build.
ShouldAutoCancel is a helper function that determines whether or not a build should be eligible to auto cancel currently running / pending builds.
ShouldEnqueue is a helper function that will determine whether to publish a build to the queue or place it in pending approval status.
SkipEmptyBuild checks if the build should be skipped due to it not containing any steps besides init or clone.
UpdateBuild represents the API handler to update a build for a repo.
UpdateComponentStatuses updates all components (steps and services) for a build to a given status.

# Constants

clusters determine graph orientation.
arbitrary value to limit render complexity.
No description provided by the author
No description provided by the author

# Structs

CompileAndPublishConfig is a struct that contains information for the CompileAndPublish function.
Graph contains nodes, and relationships between nodes, or edges.