daemon.models.enums module

class daemon.models.enums.DaemonEnum(value)[source]

Bases: str, enum.Enum

Base class of Enum in JinaD

values = []
class daemon.models.enums.IDLiterals(value)[source]

Bases: daemon.models.enums.DaemonEnum

Enum representing all values allowed in DaemonID

JPOD = 'jpod'
JPEA = 'jpea'
JFLOW = 'jflow'
JNETWORK = 'jnetwork'
JWORKSPACE = 'jworkspace'
class daemon.models.enums.DaemonDockerfile(value)[source]

Bases: daemon.models.enums.DaemonEnum

Enum representing build value passed in .jinad file

DEVEL = 'devel'
DEFAULT = 'default'
CPU = 'default'
GPU = 'gpu'
OTHERS = 'others'
default = 'default'[source]
class daemon.models.enums.PythonVersion(value)[source]

Bases: daemon.models.enums.DaemonEnum

Enum representing python versions allowed in .jinad file

PY37 = '3.7'
PY38 = '3.8'
PY39 = '3.9'
default = '3.8'[source]
class daemon.models.enums.PartialDaemonModes(value)[source]

Bases: daemon.models.enums.DaemonEnum

Enum representing partial daemon modes

PEA = 'pea'
POD = 'pod'
FLOW = 'flow'
class daemon.models.enums.UpdateOperation(value)[source]

Bases: daemon.models.enums.DaemonEnum

Represents the type of operation to perform in the update We consider these an update operation since they change the underlying state

ROLLING_UPDATE = 'rolling_update'