Categorygithub.com/cloudfoundry-community/types-cf
modulepackage
0.0.0-20181031222831-72ad36dcacae
Repository: https://github.com/cloudfoundry-community/types-cf.git
Documentation: pkg.go.dev

# README

types-cf

Common Cloud Foundry Go types compatible with the CF v2 API. Nothing but the structs. How many times can you copy the same code, right?

Note, some of the more advanced uses of Service Plans and Meta-data have not been fully tested.

# Functions

NewServiceProviderError factory for ServiceProviderError.

# Constants

ErrorServiceExists raised if instance already exists.
ErrorInstanceNotFound raised if instance not found.
ErrorServerException raised on server side error.

# Variables

GetErrorCode resolves error name to its code.
GetErrorCodeName resolves error code to its string value.

# Structs

Amount describers Cloud Foundry cost amount.
BrokerError describes Cloud Foundry broker error.
Catalog describes Cloud Foundry catalog.
Cost describers Cloud Foundry plan Cost.
Dashboard describes Cloud Foundry dashboard.
Plan describes Cloud Foundry plan structure.
PlanMeta describers Cloud Foundry plan meta-data.
Service describes Cloud Foundry service.
ServiceBindingRequest describes Cloud Foundry service binding request.
ServiceBindingResponse describes Cloud Foundry service binding response.
ServiceCreationRequest describes Cloud Foundry service provisioning request.
ServiceCreationResponse describes Cloud Foundry service provisioning response.
No description provided by the author
ServiceMeta describers Cloud Foundry service meta-data.
ServiceProviderError describes service provider error.

# Interfaces

ServiceProvider defines the required provider functionality.