Module parser

Module parser 

Source
Expand description

YAML parser for Docker Compose files.

Provides parsing of docker-compose.yaml files with position tracking for accurate error reporting.

Re-exports§

pub use compose::ComposeFile;
pub use compose::ParseError;
pub use compose::Position;
pub use compose::Service;
pub use compose::ServiceBuild;
pub use compose::ServicePort;
pub use compose::ServiceVolume;
pub use compose::parse_compose;
pub use compose::parse_compose_with_positions;

Modules§

compose
Docker Compose file structure types.

Functions§

find_column_for_value
Find the column for a value on a given line.
find_line_for_key
Find the line number for a given path in the source YAML.
find_line_for_service
Find the line number for a service key.
find_line_for_service_key
Find the line number for a key within a service.
parse_yaml
Parse a YAML string and return the document.