Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceBindingHooks ¶
type ServiceBindingHooks struct {
// ResolverFactory returns a resolver which is used to lookup binding
// related values.
//
// +optional
ResolverFactory func(client.Client) resolver.Resolver
// ProjectorFactory returns a projector which is used to bind/unbind the
// service to/from the workload.
//
// +optional
ProjectorFactory func(projector.MappingSource) projector.ServiceBindingProjector
// ServiceBindingPreProjection can be used to alter the resolved
// ServiceBinding before the projection.
//
// +optional
ServiceBindingPreProjection func(ctx context.Context, binding *servicebindingv1.ServiceBinding) error
// ServiceBindingPostProjection can be used to alter the projected
// ServiceBinding before mutations are persisted.
//
// +optional
ServiceBindingPostProjection func(ctx context.Context, binding *servicebindingv1.ServiceBinding) error
// WorkloadPreProjection can be used to alter the resolved workload before
// the projection.
//
// +optional
WorkloadPreProjection func(ctx context.Context, workload runtime.Object) error
// WorkloadPostProjection can be used to alter the projected workload
// before mutations are persisted.
//
// +optional
WorkloadPostProjection func(ctx context.Context, workload runtime.Object) error
}
func (*ServiceBindingHooks) GetProjector ¶
func (h *ServiceBindingHooks) GetProjector(r projector.MappingSource) projector.ServiceBindingProjector
func (*ServiceBindingHooks) GetResolver ¶
func (h *ServiceBindingHooks) GetResolver(c client.Client) resolver.Resolver
Click to show internal directories.
Click to hide internal directories.