Class: ServiceBindings

ServiceBindings

new ServiceBindings(endPoint)

Manages Service Binding on Cloud Foundry
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

associateServiceWithApp(token_type, access_token, service_guid, app_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [service_guid]
app_guid String [app_guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServiceBinding(token_type, access_token, serviceBinding_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
serviceBinding_guid String [serviceBinding guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServiceBindings(token_type, access_token, guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
guid String [route guid]
Source:
Returns:
[return a JSON response]
Type
JSON

remove(token_type, access_token, service_guid)

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
service_guid String [service_guid]
Source:

setEndPoint(endPoint)

Set endpoint
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source: