fastiot.cli.model.service module

data models for FastIoT and infrastructure services

pydantic model fastiot.cli.model.service.Service[source]

The model class for a service

field name: str [Required]
field package: str [Required]
field cache: str = ''

The name to use as the cache on the set docker cache registry. The tag will be appended automatically (in case not empty), please do not specify it. Example: mypackage-cache

field extra_caches: List[str] = []

A list of extra caches used to speed up building which will all be read-only. It is intended if you want to read from other caches or different tags. Each extra cache must match a cache name extended by ‘:’ followed by the tag for the cache. It is useful to always include the cache name followed by tag latest to always use latest cache for feature branches. Examples: mypackage-cache:latest, mypackage-cache:my-feature

read_manifest(check_service_name='')[source]

Reads out the service manifest, if not run before using the yaml-file otherwise just self.manifest

Return type:

ServiceManifest