Change-Id: Ifb754266fe16ef148fcc5c1dd7d7683b1a2638f2
Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
package weles
+import (
+ "crypto/rsa"
+ "net"
+)
+
// DryadJobStatus is a representation of current state of DryadJob.
type DryadJobStatus string
// Dryad contains information about device allocated for Job
// and credentials required to use it.
-type Dryad struct{}
+type Dryad struct {
+ // Addr is necessary information to connect to a tunnel to Dryad.
+ Addr net.Addr
+ // Key is private RSA key of the job session.
+ Key rsa.PrivateKey
+}
// DryadJobFilter is used by List to access only jobs of interest.
//