Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
Store *policy.Store
Reader client.Reader
Dynamic dynamic.Interface
SystemNamespace string
Ready func() bool
Now func() time.Time
}
func (*Handler) Handle ¶
func (h *Handler) Handle(ctx context.Context, req cradmission.Request) (response cradmission.Response)
type Validator ¶
type Validator struct{ Mapper meta.RESTMapper }
func (*Validator) Handle ¶
func (v *Validator) Handle(_ context.Context, req cradmission.Request) cradmission.Response
Click to show internal directories.
Click to hide internal directories.