Concepts

File Structure

Berlioz objects are defined as a part of the application code base. Objects can be defined in a single or multiple files. CLI tool would scan directory structure for Berliozfile and <file-name>.Berliozfile files.

The best practice would be to have each entity definition in dedicated Berliozfile, and policies combined into <policy-name>.Berliozfile files.

frontend/
    Berliozfile
inventory/
    Berliozfile
db/
    Berliozfile
policies/
    scale.Berliozfile
    resource.Berliozfile
    domain.Berliozfile

Definition

Berlioz definitions are YAML files. Common attributes include:

kind: <type-of-the-entity>
name: <name-of-the-entity>