Add support for file editor
This commit is contained in:
@@ -19,6 +19,8 @@ type InstanceProvisionerApi interface {
|
||||
InstanceNew(session *types.Session, conf types.InstanceConfig) (*types.Instance, error)
|
||||
InstanceDelete(session *types.Session, instance *types.Instance) error
|
||||
InstanceExec(instance *types.Instance, cmd []string) (int, error)
|
||||
InstanceFSTree(instance *types.Instance) (io.Reader, error)
|
||||
InstanceFile(instance *types.Instance, filePath string) (io.Reader, error)
|
||||
|
||||
InstanceResizeTerminal(instance *types.Instance, cols, rows uint) error
|
||||
InstanceGetTerminal(instance *types.Instance) (net.Conn, error)
|
||||
|
||||
Reference in New Issue
Block a user