cf-node-client
momo auto_awesome BUY CLAUDE KIT WITH 20% OFF coffee BUY ME COFFEE

Class: ServiceBindings

ServiceBindings(endPoint, options) → {void}

Manage Service Bindings on Cloud Foundry Supports both Cloud Foundry API v2 and v3

Constructor

new ServiceBindings(endPoint, options) → {void}

Parameters:
Name Type Description
endPoint String [CC endpoint]
options Object [Configuration options]
Source:
Returns:
Type
void

Methods

add(bindingOptions) → {Promise}

Parameters:
Name Type Description
bindingOptions Object [Service Binding options]
Source:
Returns:
[Promise resolving to created service binding]
Type
Promise

getServiceBinding(guid) → {Promise}

Parameters:
Name Type Description
guid String [Service Binding GUID]
Source:
Returns:
[Promise resolving to service binding]
Type
Promise

getServiceBindings(filter) → {Promise}

Parameters:
Name Type Description
filter Object [Filter options]
Source:
Returns:
[Promise resolving to service bindings list]
Type
Promise

remove(guid, deleteOptions) → {Promise}

Parameters:
Name Type Description
guid String [Service Binding GUID]
deleteOptions Object [Delete options]
Source:
Returns:
[Promise resolving to delete result]
Type
Promise

update(guid, bindingOptions) → {Promise}

Parameters:
Name Type Description
guid String [Service Binding GUID]
bindingOptions Object [Service Binding options]
Source:
Returns:
[Promise resolving to updated service binding]
Type
Promise