Documentation ¶
Index ¶
- type Builder
- func (builder Builder) GetServiceByName(serviceLabel string) (models.ServiceOffering, error)
- func (builder Builder) GetServiceByNameForOrg(serviceLabel, orgName string) (models.ServiceOffering, error)
- func (builder Builder) GetServiceVisibleToOrg(serviceName string, orgName string) (models.ServiceOffering, error)
- func (builder Builder) GetServicesForBroker(brokerGuid string) ([]models.ServiceOffering, error)
- func (builder Builder) GetServicesVisibleToOrg(orgName string) ([]models.ServiceOffering, error)
- type ServiceBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(service api.ServiceRepository, planBuilder plan_builder.PlanBuilder) Builder
func (Builder) GetServiceByName ¶
func (builder Builder) GetServiceByName(serviceLabel string) (models.ServiceOffering, error)
func (Builder) GetServiceByNameForOrg ¶
func (builder Builder) GetServiceByNameForOrg(serviceLabel, orgName string) (models.ServiceOffering, error)
func (Builder) GetServiceVisibleToOrg ¶
func (Builder) GetServicesForBroker ¶
func (builder Builder) GetServicesForBroker(brokerGuid string) ([]models.ServiceOffering, error)
func (Builder) GetServicesVisibleToOrg ¶
func (builder Builder) GetServicesVisibleToOrg(orgName string) ([]models.ServiceOffering, error)
type ServiceBuilder ¶
type ServiceBuilder interface { GetServiceByName(string) (models.ServiceOffering, error) GetServiceByNameForOrg(string, string) (models.ServiceOffering, error) GetServicesForBroker(string) ([]models.ServiceOffering, error) GetServiceVisibleToOrg(string, string) (models.ServiceOffering, error) GetServicesVisibleToOrg(string) ([]models.ServiceOffering, error) }
Click to show internal directories.
Click to hide internal directories.