Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultHost = "cr-buildbucket.appspot.com"
DefaultHost is the default Buildbucket server.
Variables ¶
This section is empty.
Functions ¶
func BuilderID ¶
BuilderID returns a flag.Value for reading a builder ID from a string. The format of the input is project/bucket/build.
func NewBuildsClient ¶
func NewBuildsClient(ctx context.Context, host string, opts auth.Options) (buildbucketpb.BuildsClient, error)
NewBuildsClient returns a new BuildsClient.
Types ¶
type BuilderIDFlag ¶
type BuilderIDFlag struct {
// contains filtered or unexported fields
}
BuilderIDFlag identifies a Builder. This is a convenience type for reading a builder id from command line flags.
func (BuilderIDFlag) Get ¶
func (b BuilderIDFlag) Get() any
Get returns the parsed flag value. The output can be cast as a buildbucketpb.BuilderID.
func (*BuilderIDFlag) Set ¶
func (b *BuilderIDFlag) Set(input string) error
Set implements flag.Value
func (*BuilderIDFlag) String ¶
func (b *BuilderIDFlag) String() string
Click to show internal directories.
Click to hide internal directories.