The clusternator public JavaScript API

Version:
  • 0.1.0
Source:

Methods

(inner) certList() → {Promise}

Source:
Returns:
Type
Promise

(inner) certUpload(certId, certs) → {Promise}

Parameters:
Name Type Description
certId string
certs string
Source:
Returns:
Type
Promise

(inner) changePassword(username, password, newPassword, confirmPassword) → {Promise}

Parameters:
Name Type Description
username string
password string
newPassword string
confirmPassword string
Source:
Returns:
Type
Promise

(inner) createUser(username, password, confirm, authorityopt) → {Promise}

Parameters:
Name Type Attributes Description
username string
password string
confirm string
authority number <optional>
Source:
Returns:
Type
Promise

(inner) deploy(name, projectId, deploymentDesc, sshDataopt, forceopt) → {Promise}

Parameters:
Name Type Attributes Description
name string
projectId string
deploymentDesc Object
sshData * <optional>
force boolean <optional>
Source:
Returns:
Type
Promise

(inner) deploymentExists(projectId) → {Promise}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Promise

(inner) describeServices(projectId) → {Promise.<Array.<Object>>}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Promise.<Array.<Object>>

(inner) getProjectAPI() → {Object}

Source:
Returns:
Type
Object

(inner) listAuthorities() → {Promise}

Source:
Returns:
Type
Promise

(inner) listDeployments(projectId) → {Promise}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Promise

(inner) listProjects() → {Promise.<Array.<string>>}

Source:
Returns:
Type
Promise.<Array.<string>>

(inner) listSSHAbleInstances(projectId) → {Promise}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Promise

(inner) login(username, password) → {Promise}

Parameters:
Name Type Description
username string
password string
Source:
Returns:
Type
Promise

(inner) provisionProjectNetwork(projectId) → {Promise}

Parameters:
Name Type Description
projectId string
Source:
Returns:
Type
Promise

(inner) startServer(config) → {Promise}

Parameters:
Name Type Description
config Object
Source:
Returns:
Type
Promise

(inner) stop(name, projectId) → {Promise}

Parameters:
Name Type Description
name string
projectId string
Source:
Returns:
Type
Promise

(inner) update(name, projectId, deploymentDesc)

Parameters:
Name Type Description
name string
projectId string
deploymentDesc Object
Source: