Documentation ¶
Index ¶
- type PlanAccess
- type RouteActor
- type ServiceAccess
- type ServiceActor
- type ServiceHandler
- type ServicePlanActor
- type ServicePlanHandler
- func (actor ServicePlanHandler) FindServiceAccess(serviceName string) (ServiceAccess, error)
- func (actor ServicePlanHandler) UpdateAllPlansForService(serviceName string, setPlanVisibility bool) (bool, error)
- func (actor ServicePlanHandler) UpdateOrgForService(serviceName string, orgName string, setPlanVisibility bool) (bool, error)
- func (actor ServicePlanHandler) UpdatePlanAndOrgForService(serviceName, planName, orgName string, setPlanVisibility bool) (PlanAccess, error)
- func (actor ServicePlanHandler) UpdateSinglePlanForService(serviceName string, planName string, setPlanVisibility bool) (PlanAccess, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteActor ¶
type RouteActor struct {
// contains filtered or unexported fields
}
func NewRouteActor ¶
func NewRouteActor(ui terminal.UI, routeRepo api.RouteRepository) RouteActor
func (RouteActor) BindRoute ¶
func (routeActor RouteActor) BindRoute(app models.Application, route models.Route)
func (RouteActor) FindOrCreateRoute ¶
func (routeActor RouteActor) FindOrCreateRoute(hostname string, domain models.DomainFields) (route models.Route)
func (RouteActor) UnbindAll ¶
func (routeActor RouteActor) UnbindAll(app models.Application)
type ServiceAccess ¶
type ServiceAccess int
const ( ServiceAccessError ServiceAccess = iota AllPlansArePublic AllPlansArePrivate AllPlansAreLimited SomePlansArePublicSomeAreLimited SomePlansArePublicSomeArePrivate SomePlansAreLimitedSomeArePrivate SomePlansArePublicSomeAreLimitedSomeArePrivate )
type ServiceActor ¶
type ServiceHandler ¶
type ServiceHandler struct {
// contains filtered or unexported fields
}
func NewServiceHandler ¶
func NewServiceHandler(org api.OrganizationRepository, brokerBuilder broker_builder.BrokerBuilder, serviceBuilder service_builder.ServiceBuilder) ServiceHandler
func (ServiceHandler) FilterBrokers ¶
func (actor ServiceHandler) FilterBrokers(brokerFlag string, serviceFlag string, orgFlag string) ([]models.ServiceBroker, error)
type ServicePlanActor ¶
type ServicePlanActor interface { FindServiceAccess(string) (ServiceAccess, error) UpdateAllPlansForService(string, bool) (bool, error) UpdateOrgForService(string, string, bool) (bool, error) UpdateSinglePlanForService(string, string, bool) (PlanAccess, error) UpdatePlanAndOrgForService(string, string, string, bool) (PlanAccess, error) }
type ServicePlanHandler ¶
type ServicePlanHandler struct {
// contains filtered or unexported fields
}
func NewServicePlanHandler ¶
func NewServicePlanHandler(plan api.ServicePlanRepository, vis api.ServicePlanVisibilityRepository, org api.OrganizationRepository, planBuilder plan_builder.PlanBuilder, serviceBuilder service_builder.ServiceBuilder) ServicePlanHandler
func (ServicePlanHandler) FindServiceAccess ¶
func (actor ServicePlanHandler) FindServiceAccess(serviceName string) (ServiceAccess, error)
func (ServicePlanHandler) UpdateAllPlansForService ¶
func (actor ServicePlanHandler) UpdateAllPlansForService(serviceName string, setPlanVisibility bool) (bool, error)
func (ServicePlanHandler) UpdateOrgForService ¶
func (ServicePlanHandler) UpdatePlanAndOrgForService ¶
func (actor ServicePlanHandler) UpdatePlanAndOrgForService(serviceName, planName, orgName string, setPlanVisibility bool) (PlanAccess, error)
func (ServicePlanHandler) UpdateSinglePlanForService ¶
func (actor ServicePlanHandler) UpdateSinglePlanForService(serviceName string, planName string, setPlanVisibility bool) (PlanAccess, error)
Directories ¶
Path | Synopsis |
---|---|
fakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
fakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
fakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.