| 1234567891011121314151617181920212223242526 |
- package compose
- import (
- "context"
- "io"
- "github.com/awslabs/goformation/v4/cloudformation"
- "github.com/compose-spec/compose-go/cli"
- "github.com/compose-spec/compose-go/types"
- )
- type API interface {
- Up(ctx context.Context, options *cli.ProjectOptions) error
- Down(ctx context.Context, options *cli.ProjectOptions) error
- CreateContextData(ctx context.Context, params map[string]string) (contextData interface{}, description string, err error)
- Convert(project *types.Project) (*cloudformation.Template, error)
- Logs(ctx context.Context, options *cli.ProjectOptions, writer io.Writer) error
- Ps(ctx context.Context, options *cli.ProjectOptions) ([]ServiceStatus, error)
- CreateSecret(ctx context.Context, secret Secret) (string, error)
- InspectSecret(ctx context.Context, id string) (Secret, error)
- ListSecrets(ctx context.Context) ([]Secret, error)
- DeleteSecret(ctx context.Context, id string, recover bool) error
- }
|