types

package
v0.0.0-...-d850389 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenState    = "open"
	CautionState = "caution"
	ClosedState  = "closed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AutorollerSnapshot

type AutorollerSnapshot struct {
	DisplayName string `json:"name"`
	NumFailed   int    `json:"num_failed"`
	Url         string `json:"url"`
}

AutorollerSnapshot - contains the current state of an autoroller with it's display name (eg: "Chrome") and URL (eg: "https://autoroll.skia.org/r/skia-autoroll").

type Status

type Status struct {
	Date     time.Time `json:"date" datastore:"date"`
	Message  string    `json:"message" datastore:"message"`
	Rollers  string    `json:"rollers" datastore:"rollers"`
	Username string    `json:"username" datastore:"username"`

	// Only specified for backwards compatibility.
	FirstRev int `json:"first_rev,omitempty" datastore:"first_rev"`
	LastRev  int `json:"last_rev,omitempty" datastore:"last_rev"`

	// Should be one of open/closed/caution.
	GeneralState string `json:"general_state" datastore:"general_state,omitempty"`
}

Status - A Tree status.

Directories

Path Synopsis
Program to generate TypeScript definition files for Golang structs that are serialized to JSON for the web UI.
Program to generate TypeScript definition files for Golang structs that are serialized to JSON for the web UI.

Jump to

Keyboard shortcuts

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