g5k

package
v2.0.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2017 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type G5K

type G5K struct {
	// contains filtered or unexported fields
}

G5K stores all informations needed to use the Grid5000 API

func Init

func Init(username string, password string) *G5K

Init initialize a new G5K struct with the given parameters

func (*G5K) DeployNodes

func (g *G5K) DeployNodes(site string, sshPublicKey string, jobID int, image string) ([]string, error)

DeployNodes submit a deployment request and returns the deployed nodes hostname

func (*G5K) ReserveNodes

func (g *G5K) ReserveNodes(site string, nbNodes int, resourceProperties string, walltime string) (int, error)

ReserveNodes allocate a new job with the required number of nodes on the given site, and returns the Job ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL