example provider implementation

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof
2025-05-19 10:43:44 +02:00
committed by Nicolas De loof
parent cc50ada725
commit 8a2cb90a39
2 changed files with 79 additions and 1 deletions

View File

@@ -104,4 +104,8 @@ into its runtime environment.
## Down lifecycle
`down` lifecycle is equivalent to `up` with the `<provider> compose --project-name <NAME> down <SERVICE>` command.
The provider is responsible for releasing all resources associated with the service.
The provider is responsible for releasing all resources associated with the service.
## Examples
See [example](examples/provider.go) for illustration on implementing this API in a command line