Documentation ¶
Index ¶
Constants ¶
View Source
const ( StateInProgress = "in progress" StateSucceeded = "succeeded" StateFailed = "failed" OpProvision = "provision" OpDeprovision = "deprovision" )
View Source
const ( DefaultServiceId = "05FC7A18-5B52-4701-A475-5995B79DF2AD" PermissionlessPlanId = "15175506-D9F6-4CD8-AA1E-8F0AAFB99C07" PermissionedPlanId = "4D64F255-927B-4807-A358-15CF06EC687B" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindCredentials ¶
type BindCredentials struct {
Credentials BlockChainCredentials `json:"credentials"`
}
type BlockChainCredentials ¶
type BlockChainCredentials struct {
PeerEndpoints []string `json:"peers"`
}
type LastOperationResponse ¶
type LastOperationResponse struct { State string `json:"state"` Description string `json:"description"` }
func GetLastOperationResponse ¶
func GetLastOperationResponse(operation, boshState string) LastOperationResponse
type Plan ¶
type Plan struct { Name string `json:"name"` Id string `json:"id"` Description string `json:"description"` MetaData PlanMetaData `json:"metadata"` Free bool `json:"free"` }
type PlanMetaData ¶
type Service ¶
type Service struct { Name string `json:"name"` Id string `json:"id"` Description string `json:"description"` Tags []string `json:"tags"` Bindable bool `json:"bindable"` MetaData ServiceMetaData `json:"metadata"` PlanUpdatable bool `json:"plan_updateable"` Plans []Plan `json:"plans"` }
func GetDefaultService ¶
func GetDefaultService() Service
type ServiceBindingRequest ¶
type ServiceCatalog ¶
type ServiceCatalog struct {
Services Services `json:"services"`
}
type ServiceMetaData ¶
type ServiceProvisionRequest ¶
Click to show internal directories.
Click to hide internal directories.