package
0.0.0-20200122233423-62801f1d34cf
Repository: https://github.com/vishvananda/pkg.git
Documentation: pkg.go.dev

# Functions

GetLocalArtifactsDir gets the artifacts directory where prow looks for artifacts.
Initialize wraps gcs authentication, have to be invoked before any other functions.
NewJob creates new job struct pullID is only saved by Presubmit job for determining StoragePath.

# Constants

ArtifactsDir is the dir containing artifacts.
BatchJob tests multiple unmerged PRs at the same time.
BucketName is the gcs bucket for all knative builds.
BuildLog is the filename for build log.
FinishedJSON is the json file containing build finished info.
Latest is the filename storing latest build number.
OrgName is the name of knative org.
PeriodicJob means it runs on a time-basis, unrelated to git changes.
PostsubmitJob means it runs on each new commit.
PresubmitJob means it runs on unmerged PRs.
StartedJSON is the json file containing build started info.

# Structs

Build points to a build stored under a particular gcs path.
Finished holds the finished.json values of the build.
Job struct represents a job directory in gcs.
Started holds the started.json values of the build.

# Type aliases

Metadata contains metadata in finished.json.