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.