Add image_name parameter to SessionDeploy

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-06-14 21:09:20 -03:00
parent be6b8e6293
commit 2224e6e540
8 changed files with 27 additions and 13 deletions

View File

@@ -53,7 +53,7 @@ type pwd struct {
}
type PWDApi interface {
SessionNew(duration time.Duration, stack string, stackName string) (*Session, error)
SessionNew(duration time.Duration, stack string, stackName, imageName string) (*Session, error)
SessionClose(session *Session) error
SessionGetSmallestViewPort(session *Session) ViewPort
SessionDeployStack(session *Session) error