Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
func Bool(build *buildbucketpb.Build, key string) (bool, error)
Bool reads a boolean input property from Build.Input.Properties. If the property is not set, returns false and a nil error.
func Proto ¶
Proto parses an input property whose value is encoded as jsonpb. If the property is not set, it will return a nil error and leave the proto message as-is.
func SetBuildInputProperty ¶
func SetBuildInputProperty(build *buildbucketpb.Build, key string, value any) error
Set input property on Build.Input.Properties.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.