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 InferenceServices
func (*Defaulter) Handle ¶
func (defaulter *Defaulter) Handle(ctx context.Context, req admissiontypes.Request) admissiontypes.Response
Handle decodes the incoming InferenceService and executes Validation logic.
type Validator ¶
type Validator struct { Client client.Client Decoder admissiontypes.Decoder }
Validator that validates InferenceServices
func (*Validator) Handle ¶
func (validator *Validator) Handle(ctx context.Context, req admissiontypes.Request) admissiontypes.Response
Handle decodes the incoming InferenceService and executes Validation logic.
Click to show internal directories.
Click to hide internal directories.