Documentation ¶
Index ¶
Constants ¶
const (
// CriteriaFilterName is the name of the criteria filter
CriteriaFilterName = "CriteriaFilter"
)
const (
// LoggingFilterName is the name of the logging filter
LoggingFilterName = "LoggingFilter"
)
Variables ¶
This section is empty.
Functions ¶
func NewRecoveryMiddleware ¶
func NewRecoveryMiddleware() mux.MiddlewareFunc
NewRecoveryMiddleware returns a standard mux middleware that provides panic recovery
Types ¶
type Logging ¶
type Logging struct { }
Logging is filter that configures logging per request.
func (*Logging) FilterMatchers ¶
func (*Logging) FilterMatchers() []web.FilterMatcher
FilterMatchers implements the web.Filter interface and returns the conditions on which the filter should be executed.
type PublicServicePlansFilter ¶ added in v0.1.9
type PublicServicePlansFilter struct { Repository storage.Repository IsCatalogPlanPublicFunc func(broker *types.Broker, catalogService *types.ServiceOffering, catalogPlan *types.ServicePlan) (bool, error) }
PublicServicePlansFilter reconciles the state of the free plans offered by all service brokers registered in SM. The filter makes sure that a public visibility exists for each free plan present in SM DB.
func (*PublicServicePlansFilter) FilterMatchers ¶ added in v0.1.9
func (pspf *PublicServicePlansFilter) FilterMatchers() []web.FilterMatcher
func (*PublicServicePlansFilter) Name ¶ added in v0.1.9
func (pspf *PublicServicePlansFilter) Name() string
type SelectionCriteria ¶ added in v0.1.8
type SelectionCriteria struct { }
SelectionCriteria is filter that configures selection criteria per request.
func (*SelectionCriteria) FilterMatchers ¶ added in v0.1.8
func (*SelectionCriteria) FilterMatchers() []web.FilterMatcher
FilterMatchers implements the web.Filter interface and returns the conditions on which the filter should be executed.
func (*SelectionCriteria) Name ¶ added in v0.1.8
func (*SelectionCriteria) Name() string
Name implements the web.Filter interface and returns the identifier of the filter.