service_builder

package
v6.6.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 Builder) GetServiceVisibleToOrg(serviceName string, orgName string) (models.ServiceOffering, error)

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)
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL