mutation

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

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) Handle

Handle handles admission requests.

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

SetDefaultPlan sets the default service plan if it's not specified and if only one plan exists

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL