2023-12-06 15:24:02 +01:00
|
|
|
<!-- Code generated by gomarkdoc. DO NOT EDIT -->
|
|
|
|
|
|
|
|
# parser
|
|
|
|
|
2024-04-10 04:51:45 +02:00
|
|
|
```go
|
2025-08-20 12:16:14 +02:00
|
|
|
import "katenary.io/internal/parser"
|
2023-12-06 15:24:02 +01:00
|
|
|
```
|
|
|
|
|
2025-07-04 14:59:49 +02:00
|
|
|
Package parser is a wrapper around compose\-go to parse compose files.
|
2023-12-06 15:24:02 +01:00
|
|
|
|
2025-08-20 12:16:14 +02:00
|
|
|
## func [Parse](<https://repo.katenary.io/Katenary/katenary/blob/fixes/bug-163/internal/parser/main.go#L29>)
|
2023-12-06 15:24:02 +01:00
|
|
|
|
2024-04-10 04:51:45 +02:00
|
|
|
```go
|
2024-10-18 09:34:57 +02:00
|
|
|
func Parse(profiles []string, envFiles []string, dockerComposeFile ...string) (*types.Project, error)
|
2023-12-06 15:24:02 +01:00
|
|
|
```
|
|
|
|
|
2024-04-10 04:51:45 +02:00
|
|
|
Parse compose files and return a project. The project is parsed with dotenv, osenv and profiles.
|
2023-12-06 15:24:02 +01:00
|
|
|
|
2024-04-10 04:51:45 +02:00
|
|
|
Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>)
|