View Source Divo.Validate (divo v2.0.0)

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

@spec 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.