14 lines
298 B
Go
14 lines
298 B
Go
package task
|
|
|
|
import "context"
|
|
|
|
type Task interface {
|
|
Container
|
|
}
|
|
|
|
type Container interface {
|
|
CreateContainer(ctx context.Context, params *TaskParams) (interface{}, error)
|
|
GetContainer(ctx context.Context, id string) (interface{}, error)
|
|
DeleteContainer(ctx context.Context, id string) error
|
|
}
|