-
Notifications
You must be signed in to change notification settings - Fork 1
/
launch_context.go
34 lines (32 loc) · 1.06 KB
/
launch_context.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package util
import (
"github.com/ekara-platform/model"
"log"
)
type (
//LaunchContext Represents the information required to run the engine
LaunchContext interface {
//Log the looger to used during the Ekara execution
Log() *log.Logger
//Ef the exchange folder
Ef() ExchangeFolder
//Descriptor name
DescriptorName() string
//Location specifies where to look for the environment descriptor
Location() string
//User The user to log into the descriptor repository
User() string
//Password The user to log into the descriptor repository
Password() string
//Proxy returns launch context proxy settings
Proxy() model.Proxy
//SSHPublicKey the public key used by the engine during the process execution to
// connect the created nodes
SSHPublicKey() string
//SSHPrivateKey the private key used by the engine during the process execution to
// connect the created nodes
SSHPrivateKey() string
//ParamsFile returns the content the parameters provided by the user to fill the environment descriptor as a template
ExternalVars() model.Parameters
}
)