Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUpdateHandler ¶
type CreateUpdateHandler struct { UUID webhookutil.UUIDGenerator // contains filtered or unexported fields }
CreateUpdateHandler handles ServiceInstance
func NewCreateUpdateHandler ¶
func NewCreateUpdateHandler() *CreateUpdateHandler
NewCreateUpdateHandler return new CreateUpdateHandler
func (*CreateUpdateHandler) InjectClient ¶
func (h *CreateUpdateHandler) InjectClient(c client.Client) error
InjectClient injects the client
func (*CreateUpdateHandler) InjectDecoder ¶
func (h *CreateUpdateHandler) InjectDecoder(d admission.Decoder) error
InjectDecoder injects the decoder
type DefaultServicePlan ¶
type DefaultServicePlan struct {
// contains filtered or unexported fields
}
DefaultServicePlan holds logic which sets the default service plan
func (*DefaultServicePlan) InjectClient ¶
func (d *DefaultServicePlan) InjectClient(c client.Client) error
InjectClient injects client
func (*DefaultServicePlan) SetDefaultPlan ¶
func (d *DefaultServicePlan) SetDefaultPlan(ctx context.Context, instance *sc.ServiceInstance, log *webhookutil.TracedLogger) *webhookutil.WebhookError
SetDefaultPlan sets the default service plan if it's not specified and if only one plan exists
Click to show internal directories.
Click to hide internal directories.