Documentation ¶
Index ¶
- type BrokerBuilder
- type Builder
- func (builder Builder) AttachBrokersToServices(services []models.ServiceOffering) ([]models.ServiceBroker, error)
- func (builder Builder) AttachSpecificBrokerToServices(brokerName string, services []models.ServiceOffering) (models.ServiceBroker, error)
- func (builder Builder) GetAllServiceBrokers() ([]models.ServiceBroker, error)
- func (builder Builder) GetBrokerWithAllServices(brokerName string) (models.ServiceBroker, error)
- func (builder Builder) GetBrokerWithSpecifiedService(serviceName string) (models.ServiceBroker, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerBuilder ¶
type BrokerBuilder interface { AttachBrokersToServices([]models.ServiceOffering) ([]models.ServiceBroker, error) AttachSpecificBrokerToServices(string, []models.ServiceOffering) (models.ServiceBroker, error) GetAllServiceBrokers() ([]models.ServiceBroker, error) GetBrokerWithAllServices(brokerName string) (models.ServiceBroker, error) GetBrokerWithSpecifiedService(serviceName string) (models.ServiceBroker, error) }
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(broker api.ServiceBrokerRepository, serviceBuilder service_builder.ServiceBuilder) Builder
func (Builder) AttachBrokersToServices ¶
func (builder Builder) AttachBrokersToServices(services []models.ServiceOffering) ([]models.ServiceBroker, error)
func (Builder) AttachSpecificBrokerToServices ¶
func (builder Builder) AttachSpecificBrokerToServices(brokerName string, services []models.ServiceOffering) (models.ServiceBroker, error)
func (Builder) GetAllServiceBrokers ¶
func (builder Builder) GetAllServiceBrokers() ([]models.ServiceBroker, error)
func (Builder) GetBrokerWithAllServices ¶
func (builder Builder) GetBrokerWithAllServices(brokerName string) (models.ServiceBroker, error)
func (Builder) GetBrokerWithSpecifiedService ¶
func (builder Builder) GetBrokerWithSpecifiedService(serviceName string) (models.ServiceBroker, error)
Click to show internal directories.
Click to hide internal directories.