Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AnnotationBitbucketBranch is an identifier for Bitbucket branch this environment was built from. AnnotationBitbucketBranch = "bitbucket.branch" // AnnotationBitbucketRepoOwner is an identifier for Bitbucket repository owner. AnnotationBitbucketRepoOwner = "bitbucket.repo.owner" // AnnotationBitbucketRepoName is an identifier for Bitbucket repository this environment was built from. AnnotationBitbucketRepoName = "bitbucket.repo.name" // AnnotationCircleCIRepositoryURL is an identifier for CircleCI repository the environment was built from. AnnotationCircleCIRepositoryURL = "circleci.repository.url" // AnnotationCircleCIPRNumber is an identifier for CircleCI pull request the environment was built from. AnnotationCircleCIPRNumber = "circleci.pr.number" // AnnotationCircleCIPRUsername is an identifier for CircleCI pull request submitted by a user. AnnotationCircleCIPRUsername = "circleci.pr.username" )
Variables ¶
This section is empty.
Functions ¶
func Annotations ¶
func Annotations(envs []string) ([]*pb.Annotation, error)
Annotations are used for attaching metadata to a environment.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.