buildgrid.server.enums module

class buildgrid.server.enums.BotStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

UNSPECIFIED = 0
OK = 1
UNHEALTHY = 2
HOST_REBOOTING = 3
BOT_TERMINATING = 4
class buildgrid.server.enums.LeaseState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

UNSPECIFIED = 0
PENDING = 1
ACTIVE = 2
COMPLETED = 4
CANCELLED = 5
class buildgrid.server.enums.OperationStage(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

UNKNOWN = 0
CACHE_CHECK = 1
QUEUED = 2
EXECUTING = 3
COMPLETED = 4
class buildgrid.server.enums.LogRecordLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

NOTSET = 0
DEBUG = 1
INFO = 2
WARNING = 3
ERROR = 4
CRITICAL = 5
class buildgrid.server.enums.MetricRecordType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

NONE = 0
COUNTER = 1
TIMER = 2
GAUGE = 3
DISTRIBUTION = 4
class buildgrid.server.enums.JobEventType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

STOP = 'stop'
CHANGE = 'change'
class buildgrid.server.enums.MetricCategories(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

JOBS = 'jobs'
class buildgrid.server.enums.ServiceName(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

EXECUTION = 'execution'
OPERATIONS = 'operations'
BOTS = 'bots'
classmethod default_services() Tuple[str, str, str]
class buildgrid.server.enums.ByteStreamResourceType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

CAS = 'cas'
class buildgrid.server.enums.ActionCacheEntryType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

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, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

DEPRIORITIZE = 'deprioritize'
REJECT = 'reject'