service_builder

package
v6.12.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2015 License: Apache-2.0 Imports: 4 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) GetAllServices

func (builder Builder) GetAllServices() ([]models.ServiceOffering, error)

func (Builder) GetAllServicesWithPlans

func (builder Builder) GetAllServicesWithPlans() ([]models.ServiceOffering, error)

func (Builder) GetServiceByNameForOrg

func (builder Builder) GetServiceByNameForOrg(serviceLabel, orgName string) (models.ServiceOffering, error)

func (Builder) GetServiceByNameForSpace

func (builder Builder) GetServiceByNameForSpace(serviceLabel, spaceGuid string) (models.ServiceOffering, error)

func (Builder) GetServiceByNameForSpaceWithPlans

func (builder Builder) GetServiceByNameForSpaceWithPlans(serviceLabel, spaceGuid string) (models.ServiceOffering, error)

func (Builder) GetServiceByNameWithPlans

func (builder Builder) GetServiceByNameWithPlans(serviceLabel string) (models.ServiceOffering, error)

func (Builder) GetServiceByNameWithPlansWithOrgNames

func (builder Builder) GetServiceByNameWithPlansWithOrgNames(serviceLabel string) (models.ServiceOffering, error)

func (Builder) GetServiceVisibleToOrg

func (builder Builder) GetServiceVisibleToOrg(serviceName string, orgName string) (models.ServiceOffering, error)

func (Builder) GetServicesByNameForSpaceWithPlans

func (builder Builder) GetServicesByNameForSpaceWithPlans(serviceLabel, spaceGuid string) (models.ServiceOfferings, error)

func (Builder) GetServicesForBroker

func (builder Builder) GetServicesForBroker(brokerGuid string) ([]models.ServiceOffering, error)

func (Builder) GetServicesForManyBrokers

func (builder Builder) GetServicesForManyBrokers(brokerGuids []string) ([]models.ServiceOffering, error)

func (Builder) GetServicesForSpace

func (builder Builder) GetServicesForSpace(spaceGuid string) ([]models.ServiceOffering, error)

func (Builder) GetServicesForSpaceWithPlans

func (builder Builder) GetServicesForSpaceWithPlans(spaceGuid string) ([]models.ServiceOffering, error)

func (Builder) GetServicesVisibleToOrg

func (builder Builder) GetServicesVisibleToOrg(orgName string) ([]models.ServiceOffering, error)

type ServiceBuilder

type ServiceBuilder interface {
	GetAllServices() ([]models.ServiceOffering, error)
	GetAllServicesWithPlans() ([]models.ServiceOffering, error)

	GetServiceByNameWithPlans(string) (models.ServiceOffering, error)
	GetServiceByNameWithPlansWithOrgNames(string) (models.ServiceOffering, error)
	GetServiceByNameForSpace(string, string) (models.ServiceOffering, error)
	GetServiceByNameForSpaceWithPlans(string, string) (models.ServiceOffering, error)
	GetServicesByNameForSpaceWithPlans(string, string) (models.ServiceOfferings, error)
	GetServiceByNameForOrg(string, string) (models.ServiceOffering, error)

	GetServicesForManyBrokers([]string) ([]models.ServiceOffering, error)
	GetServicesForBroker(string) ([]models.ServiceOffering, error)

	GetServicesForSpace(string) ([]models.ServiceOffering, error)
	GetServicesForSpaceWithPlans(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