buildgrid.server.enums module

class buildgrid.server.enums.BotStatus(value)

Bases: Enum

An enumeration.

UNSPECIFIED = 0
OK = 1
UNHEALTHY = 2
HOST_REBOOTING = 3
BOT_TERMINATING = 4
class buildgrid.server.enums.LeaseState(value)

Bases: Enum

An enumeration.

UNSPECIFIED = 0
PENDING = 1
ACTIVE = 2
COMPLETED = 4
CANCELLED = 5
class buildgrid.server.enums.OperationStage(value)

Bases: Enum

An enumeration.

UNKNOWN = 0
CACHE_CHECK = 1
QUEUED = 2
EXECUTING = 3
COMPLETED = 4
class buildgrid.server.enums.LogRecordLevel(value)

Bases: Enum

An enumeration.

NOTSET = 0
DEBUG = 1
INFO = 2
WARNING = 3
ERROR = 4
CRITICAL = 5
class buildgrid.server.enums.MetricRecordType(value)

Bases: Enum

An enumeration.

NONE = 0
COUNTER = 1
TIMER = 2
GAUGE = 3
DISTRIBUTION = 4
class buildgrid.server.enums.JobEventType(value)

Bases: Enum

An enumeration.

STOP = 'stop'
CHANGE = 'change'
class buildgrid.server.enums.MetricCategories(value)

Bases: Enum

An enumeration.

LEASES = 'leases'
JOBS = 'jobs'
class buildgrid.server.enums.ServiceName(value)

Bases: Enum

An enumeration.

EXECUTION = 'execution'
OPERATIONS = 'operations'
BOTS = 'bots'
classmethod default_services() Tuple[str, str, str]
class buildgrid.server.enums.ByteStreamResourceType(value)

Bases: Enum

An enumeration.

CAS = 'cas'
class buildgrid.server.enums.ActionCacheEntryType(value)

Bases: Enum

Type of the value stored in an Action Cache entry.

ACTION_RESULT_DIGEST = 0
ACTION_RESULT = 1
class buildgrid.server.enums.MeteringThrottleAction(value)

Bases: Enum

An enumeration.

DEPRIORITIZE = 'deprioritize'
REJECT = 'reject'