style: move definition for consistency
Signed-off-by: Akim Demaille <akim.demaille@docker.com>
This commit is contained in:
committed by
Akim Demaille
parent
f6d88927d5
commit
8ceeeed4ae
@@ -12,6 +12,9 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// DeleteOpts allows the caller to set options for the deletion of a container
|
||||
type DeleteOpts func(ctx context.Context, client *Client, c containers.Container) error
|
||||
|
||||
// NewContainerOpts allows the caller to set additional options when creating a container
|
||||
type NewContainerOpts func(ctx context.Context, client *Client, c *containers.Container) error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user