Documentation Models¶
-
class
motey.models.image.
Image
(name, id=”, parameters={}, capabilities={}, node=None, state=0)[source]¶ Model object. Represent an image. An image can have execution parameters, required capabilities and the node where it is executed. All of them are optional.
-
motey.models.
schemas
¶ alias of
motey.models.schemas
-
class
motey.models.service.
Service
(name, images, id=‘539df43781ac4d76b74dce3d520947c3’, state=0, action=’add’, node_type=’master’, state_message=”)[source]¶ Model object. Represent a service. A service can have multiple states, action types and service types.