Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PaginatedServiceInstanceResources ¶
type PaginatedServiceInstanceResources struct {
TotalResults int `json:"total_results"`
NextUrl string `json:"next_url"`
Resources []ServiceInstanceResource
}
func (*PaginatedServiceInstanceResources) ToModel ¶
func (self *PaginatedServiceInstanceResources) ToModel() []models.ServiceInstance
type PaginatedServiceKeyResources ¶
type PaginatedServiceKeyResources struct {
TotalResults int `json:"total_results"`
NextUrl string `json:"next_url"`
Resources []ServiceKeyResource
}
func (*PaginatedServiceKeyResources) ToModel ¶
func (self *PaginatedServiceKeyResources) ToModel() ([]models.ServiceKey, error)
type PsqlCredentials ¶
type ServiceBindingEntity ¶
type ServiceBindingEntity struct {
AppGUID string `json:"app_guid"`
ServiceInstanceGUID string `json:"service_instance_guid"`
Credentials PsqlCredentials `json:"credentials"`
}
type ServiceBindingResource ¶
type ServiceBindingResource struct {
resources.Resource
Entity ServiceBindingEntity
}
type ServiceInstanceEntity ¶
type ServiceInstanceEntity struct {
Name string `json:"name"`
DashboardURL string `json:"dashboard_url"`
Tags []string `json:"tags"`
ServiceBindings []ServiceBindingResource `json:"service_bindings"`
ServiceKeys []resources.ServiceKeyResource `json:"service_keys"`
ServicePlan resources.ServicePlanResource `json:"service_plan"`
LastOperation resources.LastOperation `json:"last_operation"`
SpaceUrl string `json:"space_url"`
}
type ServiceInstanceResource ¶
type ServiceInstanceResource struct {
resources.Resource
Entity ServiceInstanceEntity
}
type ServiceKeyEntity ¶
type ServiceKeyEntity struct {
ServiceInstanceName string `json:"name"`
ServiceInstanceGuid string `json:"service_instance_guid"`
Credentials PsqlCredentials
}
type ServiceKeyResource ¶
type ServiceKeyResource struct {
resources.Resource
Entity ServiceKeyEntity
}
func (*ServiceKeyResource) ToModel ¶
func (self *ServiceKeyResource) ToModel() (models.ServiceKey, error)
Click to show internal directories.
Click to hide internal directories.