21 lines
441 B
Markdown
21 lines
441 B
Markdown
|
<!-- Code generated by gomarkdoc. DO NOT EDIT -->
|
||
|
|
||
|
# parser
|
||
|
|
||
|
``` go
|
||
|
import "katenary/parser"
|
||
|
```
|
||
|
|
||
|
Parser package is a wrapper around compose-go to parse compose files.
|
||
|
|
||
|
## func Parse
|
||
|
|
||
|
``` go
|
||
|
func Parse(profiles []string, dockerComposeFile ...string) (*types.Project, error)
|
||
|
```
|
||
|
|
||
|
Parse compose files and return a project. The project is parsed with
|
||
|
dotenv, osenv and profiles.
|
||
|
|
||
|
Generated by [gomarkdoc](https://github.com/princjef/gomarkdoc)
|