Documentation ¶
Index ¶
- Constants
- type BrokerAdditional
- type BrokerCreateCatalogInterceptorProvider
- type BrokerDeleteCatalogInterceptorProvider
- type BrokerNotificationsCreateInterceptorProvider
- type BrokerNotificationsDeleteInterceptorProvider
- type BrokerNotificationsUpdateInterceptorProvider
- type BrokerUpdateCatalogInterceptorProvider
- type CreateInterceptor
- type NotificationsInterceptor
- func (ni *NotificationsInterceptor) AroundTxCreate(h storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc
- func (ni *NotificationsInterceptor) AroundTxDelete(h storage.InterceptDeleteAroundTxFunc) storage.InterceptDeleteAroundTxFunc
- func (ni *NotificationsInterceptor) AroundTxUpdate(h storage.InterceptUpdateAroundTxFunc) storage.InterceptUpdateAroundTxFunc
- func (ni *NotificationsInterceptor) OnTxCreate(h storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc
- func (ni *NotificationsInterceptor) OnTxDelete(h storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc
- func (ni *NotificationsInterceptor) OnTxUpdate(h storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc
- type ObjectPayload
- type Payload
- type PlatformCreateInterceptorProvider
- type PublicPlanCreateInterceptorProvider
- type PublicPlanUpdateInterceptorProvider
- type VisibilityAdditional
- type VisibilityCreateNotificationsInterceptorProvider
- type VisibilityDeleteNotificationsInterceptorProvider
- type VisibilityUpdateNotificationsInterceptorProvider
Constants ¶
View Source
const ( BrokerCreateNotificationInterceptorName = "BrokerNotificationsCreateInterceptorProvider" BrokerUpdateNotificationInterceptorName = "BrokerNotificationsUpdateInterceptorProvider" BrokerDeleteNotificationInterceptorName = "BrokerNotificationsDeleteInterceptorProvider" )
View Source
const ( CreateBrokerPublicPlanInterceptorName = "CreateBrokerPublicPlansInterceptor" UpdateBrokerPublicPlanInterceptorName = "UpdateBrokerPublicPlansInterceptor" )
View Source
const BrokerCreateCatalogInterceptorName = "BrokerCreateCatalogInterceptor"
View Source
const BrokerDeleteCatalogInterceptorName = "BrokerDeleteCatalogInterceptor"
View Source
const BrokerUpdateCatalogInterceptorName = "BrokerUpdateCatalogInterceptor"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerAdditional ¶ added in v0.3.0
type BrokerAdditional struct {
Services []*types.ServiceOffering `json:"services,omitempty"`
}
func (BrokerAdditional) Validate ¶ added in v0.3.0
func (ba BrokerAdditional) Validate() error
type BrokerCreateCatalogInterceptorProvider ¶ added in v0.3.0
type BrokerCreateCatalogInterceptorProvider struct {
OsbClientCreateFunc osbc.CreateFunc
}
func (*BrokerCreateCatalogInterceptorProvider) Name ¶ added in v0.3.0
func (c *BrokerCreateCatalogInterceptorProvider) Name() string
func (*BrokerCreateCatalogInterceptorProvider) Provide ¶ added in v0.3.0
func (c *BrokerCreateCatalogInterceptorProvider) Provide() storage.CreateInterceptor
type BrokerDeleteCatalogInterceptorProvider ¶ added in v0.3.0
type BrokerDeleteCatalogInterceptorProvider struct {
OsbClientCreateFunc osbc.CreateFunc
}
BrokerDeleteCatalogInterceptorProvider provides a broker interceptor for delete operations
func (*BrokerDeleteCatalogInterceptorProvider) Name ¶ added in v0.3.0
func (c *BrokerDeleteCatalogInterceptorProvider) Name() string
func (*BrokerDeleteCatalogInterceptorProvider) Provide ¶ added in v0.3.0
func (c *BrokerDeleteCatalogInterceptorProvider) Provide() storage.DeleteInterceptor
type BrokerNotificationsCreateInterceptorProvider ¶ added in v0.3.0
type BrokerNotificationsCreateInterceptorProvider struct { }
func (*BrokerNotificationsCreateInterceptorProvider) Name ¶ added in v0.3.0
func (*BrokerNotificationsCreateInterceptorProvider) Name() string
func (*BrokerNotificationsCreateInterceptorProvider) Provide ¶ added in v0.3.0
func (*BrokerNotificationsCreateInterceptorProvider) Provide() storage.CreateInterceptor
type BrokerNotificationsDeleteInterceptorProvider ¶ added in v0.3.0
type BrokerNotificationsDeleteInterceptorProvider struct { }
func (*BrokerNotificationsDeleteInterceptorProvider) Name ¶ added in v0.3.0
func (*BrokerNotificationsDeleteInterceptorProvider) Name() string
func (*BrokerNotificationsDeleteInterceptorProvider) Provide ¶ added in v0.3.0
func (*BrokerNotificationsDeleteInterceptorProvider) Provide() storage.DeleteInterceptor
type BrokerNotificationsUpdateInterceptorProvider ¶ added in v0.3.0
type BrokerNotificationsUpdateInterceptorProvider struct { }
func (*BrokerNotificationsUpdateInterceptorProvider) Name ¶ added in v0.3.0
func (*BrokerNotificationsUpdateInterceptorProvider) Name() string
func (*BrokerNotificationsUpdateInterceptorProvider) Provide ¶ added in v0.3.0
func (*BrokerNotificationsUpdateInterceptorProvider) Provide() storage.UpdateInterceptor
type BrokerUpdateCatalogInterceptorProvider ¶ added in v0.3.0
type BrokerUpdateCatalogInterceptorProvider struct {
OsbClientCreateFunc osbc.CreateFunc
}
BrokerUpdateCatalogInterceptorProvider provides a broker interceptor for update operations
func (*BrokerUpdateCatalogInterceptorProvider) Name ¶ added in v0.3.0
func (c *BrokerUpdateCatalogInterceptorProvider) Name() string
func (*BrokerUpdateCatalogInterceptorProvider) Provide ¶ added in v0.3.0
func (c *BrokerUpdateCatalogInterceptorProvider) Provide() storage.UpdateInterceptor
type CreateInterceptor ¶
type CreateInterceptor struct{}
func (*CreateInterceptor) AroundTxCreate ¶
func (c *CreateInterceptor) AroundTxCreate(h storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc
AroundTxCreate manipulates the credentials of the platform by generating new ones and returning them as plaintext on the way back
func (*CreateInterceptor) OnTxCreate ¶
func (*CreateInterceptor) OnTxCreate(f storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc
OnTxCreate invokes the next interceptor in the chain
type NotificationsInterceptor ¶ added in v0.3.0
type NotificationsInterceptor struct { PlatformIdProviderFunc func(ctx context.Context, object types.Object) string AdditionalDetailsFunc func(ctx context.Context, object types.Object, repository storage.Repository) (util.InputValidator, error) }
func NewBrokerNotificationsInterceptor ¶ added in v0.3.0
func NewBrokerNotificationsInterceptor() *NotificationsInterceptor
func NewVisibilityNotificationsInterceptor ¶ added in v0.3.0
func NewVisibilityNotificationsInterceptor() *NotificationsInterceptor
func (*NotificationsInterceptor) AroundTxCreate ¶ added in v0.3.0
func (ni *NotificationsInterceptor) AroundTxCreate(h storage.InterceptCreateAroundTxFunc) storage.InterceptCreateAroundTxFunc
func (*NotificationsInterceptor) AroundTxDelete ¶ added in v0.3.0
func (ni *NotificationsInterceptor) AroundTxDelete(h storage.InterceptDeleteAroundTxFunc) storage.InterceptDeleteAroundTxFunc
func (*NotificationsInterceptor) AroundTxUpdate ¶ added in v0.3.0
func (ni *NotificationsInterceptor) AroundTxUpdate(h storage.InterceptUpdateAroundTxFunc) storage.InterceptUpdateAroundTxFunc
func (*NotificationsInterceptor) OnTxCreate ¶ added in v0.3.0
func (ni *NotificationsInterceptor) OnTxCreate(h storage.InterceptCreateOnTxFunc) storage.InterceptCreateOnTxFunc
func (*NotificationsInterceptor) OnTxDelete ¶ added in v0.3.0
func (ni *NotificationsInterceptor) OnTxDelete(h storage.InterceptDeleteOnTxFunc) storage.InterceptDeleteOnTxFunc
func (*NotificationsInterceptor) OnTxUpdate ¶ added in v0.3.0
func (ni *NotificationsInterceptor) OnTxUpdate(h storage.InterceptUpdateOnTxFunc) storage.InterceptUpdateOnTxFunc
type ObjectPayload ¶ added in v0.3.0
type ObjectPayload struct { Resource types.Object `json:"resource,omitempty"` Additional util.InputValidator `json:"additional,omitempty"` }
type Payload ¶ added in v0.3.0
type Payload struct { New *ObjectPayload `json:"new,omitempty"` Old *ObjectPayload `json:"old,omitempty"` LabelChanges query.LabelChanges `json:"label_changes,omitempty"` }
type PlatformCreateInterceptorProvider ¶
type PlatformCreateInterceptorProvider struct { }
func (*PlatformCreateInterceptorProvider) Name ¶
func (c *PlatformCreateInterceptorProvider) Name() string
func (*PlatformCreateInterceptorProvider) Provide ¶
func (c *PlatformCreateInterceptorProvider) Provide() storage.CreateInterceptor
type PublicPlanCreateInterceptorProvider ¶
type PublicPlanCreateInterceptorProvider struct {
IsCatalogPlanPublicFunc publicPlanProcessor
}
func (*PublicPlanCreateInterceptorProvider) Name ¶
func (p *PublicPlanCreateInterceptorProvider) Name() string
func (*PublicPlanCreateInterceptorProvider) Provide ¶
func (p *PublicPlanCreateInterceptorProvider) Provide() storage.CreateInterceptor
type PublicPlanUpdateInterceptorProvider ¶
type PublicPlanUpdateInterceptorProvider struct {
IsCatalogPlanPublicFunc publicPlanProcessor
}
func (*PublicPlanUpdateInterceptorProvider) Name ¶
func (p *PublicPlanUpdateInterceptorProvider) Name() string
func (*PublicPlanUpdateInterceptorProvider) Provide ¶
func (p *PublicPlanUpdateInterceptorProvider) Provide() storage.UpdateInterceptor
type VisibilityAdditional ¶ added in v0.3.0
type VisibilityAdditional struct { BrokerID string `json:"broker_id"` BrokerName string `json:"broker_name"` ServicePlan *types.ServicePlan `json:"service_plan,omitempty"` }
func (VisibilityAdditional) Validate ¶ added in v0.3.0
func (va VisibilityAdditional) Validate() error
type VisibilityCreateNotificationsInterceptorProvider ¶ added in v0.3.0
type VisibilityCreateNotificationsInterceptorProvider struct { }
func (*VisibilityCreateNotificationsInterceptorProvider) Name ¶ added in v0.3.0
func (*VisibilityCreateNotificationsInterceptorProvider) Name() string
func (*VisibilityCreateNotificationsInterceptorProvider) Provide ¶ added in v0.3.0
func (*VisibilityCreateNotificationsInterceptorProvider) Provide() storage.CreateInterceptor
type VisibilityDeleteNotificationsInterceptorProvider ¶ added in v0.3.0
type VisibilityDeleteNotificationsInterceptorProvider struct { }
func (*VisibilityDeleteNotificationsInterceptorProvider) Name ¶ added in v0.3.0
func (*VisibilityDeleteNotificationsInterceptorProvider) Name() string
func (*VisibilityDeleteNotificationsInterceptorProvider) Provide ¶ added in v0.3.0
func (*VisibilityDeleteNotificationsInterceptorProvider) Provide() storage.DeleteInterceptor
type VisibilityUpdateNotificationsInterceptorProvider ¶ added in v0.3.0
type VisibilityUpdateNotificationsInterceptorProvider struct { }
func (*VisibilityUpdateNotificationsInterceptorProvider) Name ¶ added in v0.3.0
func (*VisibilityUpdateNotificationsInterceptorProvider) Name() string
func (*VisibilityUpdateNotificationsInterceptorProvider) Provide ¶ added in v0.3.0
func (*VisibilityUpdateNotificationsInterceptorProvider) Provide() storage.UpdateInterceptor
Source Files ¶
- broker_create_catalog_interceptor.go
- broker_delete_catalog_interceptor.go
- broker_helpers.go
- broker_notifications_interceptor.go
- broker_public_plans_interceptor.go
- broker_update_catalog_interceptor.go
- notifications_interceptor.go
- platform_create_credentials_interceptor.go
- visibility_notifications_interceptor.go
Click to show internal directories.
Click to hide internal directories.