divo v1.3.0 Divo.Validate View Source

Implements a validation of the compose file structure, either constructed by divo or supplied by as an existing compose file.

Link to this section Summary

Functions

Wraps the function of docker-compose to validate the structure of the compose file for correct format/syntax and required keys are supplied.

Link to this section Functions

Specs

validate(binary()) :: :ok | {:error, any()}

Wraps the function of docker-compose to validate the structure of the compose file for correct format/syntax and required keys are supplied.