2023-12-06 15:24:02 +01:00
|
|
|
# Why those dependencies?
|
|
|
|
|
2024-11-22 15:12:44 +01:00
|
|
|
Katenary uses `compose-go` and several Kubernetes official packages.
|
2023-12-06 15:24:02 +01:00
|
|
|
|
2024-10-18 09:34:57 +02:00
|
|
|
- `github.com/compose-spec/compose-go`: to parse compose files. It ensures :
|
2025-08-03 22:53:53 +02:00
|
|
|
- that the project respects the "compose" specification
|
|
|
|
- that Katenary uses the "compose" struct exactly the same way `podman compose` or `docker compose` does
|
2024-11-22 15:12:44 +01:00
|
|
|
- `github.com/spf13/cobra`: to parse command line arguments, sub-commands and flags. It also generates completion for
|
2024-10-18 09:34:57 +02:00
|
|
|
bash, zsh, fish and PowerShell.
|
2024-04-03 23:26:54 +02:00
|
|
|
- `github.com/thediveo/netdb`: to get the standard names of a service from its port number
|
2023-12-06 15:24:02 +01:00
|
|
|
- `gopkg.in/yaml.v3`:
|
2025-08-03 22:53:53 +02:00
|
|
|
- to generate `Chart.yaml` and `values.yaml` files (only)
|
|
|
|
- to parse Katenary labels in the compose file
|
2023-12-06 15:24:02 +01:00
|
|
|
- `k8s.io/api` and `k8s.io/apimachinery` to create Kubernetes objects
|
2024-10-18 09:34:57 +02:00
|
|
|
- `sigs.k8s.io/yaml`: to generate Katenary YAML files in the format of Kubernetes objects
|
2023-12-06 15:24:02 +01:00
|
|
|
|
2024-10-18 09:34:57 +02:00
|
|
|
There are also some other packages used in the project, like `gopkg.in/yaml` to parse labels. I'm sorry to not list the
|
|
|
|
entire dependencies. You can check the `go.mod` file to see all the dependencies.
|