Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalConfig ¶
type GlobalConfig struct { // libMachine client LibMachineClient *libmachine.Client // g5k driver config (needed or Docker Machine will not work afterwards) G5kUsername string G5kPassword string G5kImage string G5kWalltime string SSHKeyPair *ssh.KeyPair // Swarm configuration SwarmStandaloneGlobalConfig *swarm.SwarmStandaloneGlobalConfig SwarmModeGlobalConfig *swarm.SwarmModeGlobalConfig SwarmMasterNode map[string]bool // Weave networking WeaveNetworkingEnabled bool }
GlobalConfig contain global nodes configuration
func (*GlobalConfig) GenerateSSHKeyPair ¶
func (gc *GlobalConfig) GenerateSSHKeyPair() error
GenerateSSHKeyPair generate a new global SSH key pair
type Node ¶
type Node struct { *GlobalConfig NodeName string // Grid'5000 node hostname MachineName string // Docker Machine name // g5k driver G5kSite string G5kJobID int // Docker Engine EngineOpt []string EngineLabel []string }
Node contain node specific informations
func (*Node) ProvisionNode ¶
ProvisionNode will install Docker and configure Swarm (if enabled) on the node
Click to show internal directories.
Click to hide internal directories.