Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Defaulter ¶
type Defaulter struct { Client client.Client Decoder admissiontypes.Decoder }
Defaulter that sets default fields in KFServices
func (*Defaulter) Handle ¶
func (defaulter *Defaulter) Handle(ctx context.Context, req admissiontypes.Request) admissiontypes.Response
Handle decodes the incoming KFService and executes Validation logic.
type Validator ¶
type Validator struct { Client client.Client Decoder admissiontypes.Decoder }
Validator that validates KFServices
func (*Validator) Handle ¶
func (validator *Validator) Handle(ctx context.Context, req admissiontypes.Request) admissiontypes.Response
Handle decodes the incoming KFService and executes Validation logic.
Click to show internal directories.
Click to hide internal directories.