Versions in this module Expand all Collapse all v0 v0.1.0 May 3, 2023 Changes in this version + const ProwLabelSeparator + func GetProwLabels(bld *cloudbuildpb.Build) map[string]string + func KvPairFromProwLabel(tag string) (key, val string) + func ProwLabel(key, val string) string + type Client struct + func NewClient(ctx context.Context, credentialFile string) (*Client, error) + func (c *Client) CancelBuild(ctx context.Context, project, id string) (*cloudbuildpb.Build, error) + func (c *Client) CreateBuild(ctx context.Context, project string, bld *cloudbuildpb.Build) (*cloudbuildpb.Build, error) + func (c *Client) GetBuild(ctx context.Context, project, id string) (*cloudbuildpb.Build, error) + func (c *Client) ListBuildsByTag(ctx context.Context, project string, tags []string) ([]*cloudbuildpb.Build, error) + type Operator interface + CancelBuild func(ctx context.Context, project, id string) (*cloudbuildpb.Build, error) + CreateBuild func(ctx context.Context, project string, bld *cloudbuildpb.Build) (*cloudbuildpb.Build, error) + GetBuild func(ctx context.Context, project, id string) (*cloudbuildpb.Build, error) + ListBuildsByTag func(ctx context.Context, project string, tags []string) ([]*cloudbuildpb.Build, error)