New session now expects a struct with everything it needs and a context (#228)
to pass along
This commit is contained in:
committed by
Marcos Nils
parent
08f1ead2a9
commit
da6a55fb5c
@@ -1,6 +1,7 @@
|
||||
package provisioner
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"io"
|
||||
"net"
|
||||
@@ -27,7 +28,7 @@ type InstanceProvisionerApi interface {
|
||||
}
|
||||
|
||||
type SessionProvisionerApi interface {
|
||||
SessionNew(playground *types.Playground, session *types.Session) error
|
||||
SessionNew(ctx context.Context, session *types.Session) error
|
||||
SessionClose(session *types.Session) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user