Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlCredentials ¶
type PaginatedServiceInstanceResources ¶ added in v1.3.4
type PaginatedServiceInstanceResources struct { TotalResults int `json:"total_results"` NextUrl string `json:"next_url"` Resources []ServiceInstanceResource }
func (*PaginatedServiceInstanceResources) ToModel ¶ added in v1.3.4
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 ServiceBindingEntity ¶
type ServiceBindingEntity struct { AppGUID string `json:"app_guid"` ServiceInstanceGUID string `json:"service_instance_guid"` Credentials MysqlCredentials `json:"credentials"` }
type ServiceBindingResource ¶
type ServiceBindingResource struct { resources.Resource Entity ServiceBindingEntity }
type ServiceInstanceEntity ¶ added in v1.3.4
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 ¶ added in v1.3.4
type ServiceInstanceResource struct { resources.Resource Entity ServiceInstanceEntity }
type ServiceKeyEntity ¶
type ServiceKeyEntity struct { ServiceInstanceName string `json:"name"` ServiceInstanceGuid string `json:"service_instance_guid"` Credentials MysqlCredentials }
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.