servicebuilder

package
v6.47.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 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 planbuilder.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
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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