mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
introduce options struct in the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
855a879a6a
commit
eda6a59379
14 changed files with 77 additions and 38 deletions
|
|
@ -48,11 +48,11 @@ func (c *composeService) Start(ctx context.Context, project *types.Project, cons
|
|||
return errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
func (c *composeService) Up(context.Context, *types.Project, bool) error {
|
||||
func (c *composeService) Up(context.Context, *types.Project, compose.UpOptions) error {
|
||||
return errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
func (c *composeService) Down(context.Context, string, bool) error {
|
||||
func (c *composeService) Down(context.Context, string, compose.DownOptions) error {
|
||||
return errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
|
|
@ -68,6 +68,6 @@ func (c *composeService) List(context.Context, string) ([]compose.Stack, error)
|
|||
return nil, errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
func (c *composeService) Convert(context.Context, *types.Project, string) ([]byte, error) {
|
||||
func (c *composeService) Convert(context.Context, *types.Project, compose.ConvertOptions) ([]byte, error) {
|
||||
return nil, errdefs.ErrNotImplemented
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue