bb

package
v0.0.0-...-e560ebb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package bb provides a buildbucket Client with helper methods to schedule the tasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client provides helper methods to interact with buildbucket builds.

func NewClient

func NewClient(ctx context.Context, authFlags authcli.Flags) (*Client, error)

NewClient returns a new client to interact with buildbucket builds.

func (*Client) BuildURL

func (c *Client) BuildURL(buildID int64) string

BuildURL constructs the URL to a build with the given ID.

func (*Client) ScheduleRepair

func (c *Client) ScheduleRepair(ctx context.Context, unit string) (int64, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL