Documentation
¶
Overview ¶
Package buildbucket implements the interface required to schedule builder requests on the LUCI BuildBucket architecture.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBuilderID ¶
GenerateBuilderID returns a BuildBucket BuilderID definition for based on the provided arguments. This is aimed to be used only for partner builder generation.
func GetParentBBID ¶
func GetParentBBID() string
GetParentBBID return the private parentBuildBucketID value.
func GetSwarmingParentTaskID ¶
func GetSwarmingParentTaskID() string
GetSwarmingParentTaskID reaches into the env variables for the current swarming task ID.
NOTE: This will only be set to a meaningful value if the binary is run from within a BuildBucket builder.
func NewBBClient ¶
NewBBClient returns a bb client
func SetParentBuildBucketID ¶
SetParentBuildBucketID sets the parentBuildBucketID value for use when building BuildBucket requests.