Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMutationHandler ¶
type IMutationHandler interface { MutatePodSpec(w http.ResponseWriter, r *http.Request) HandleAdmissionReview(request *admissionv1.AdmissionRequest) (*admissionv1.AdmissionResponse, error) }
type IValidationHandler ¶
type IValidationHandler interface { ValidatePodSpec(w http.ResponseWriter, r *http.Request) HandleAdmissionReview(request *admissionv1.AdmissionRequest) (*admissionv1.AdmissionResponse, error) }
type MutationHandler ¶
type MutationHandler struct {
// contains filtered or unexported fields
}
func NewMutationHandler ¶ added in v0.0.7
func NewMutationHandler(computeService services.IComputeService) *MutationHandler
func (*MutationHandler) HandleAdmissionReview ¶
func (mh *MutationHandler) HandleAdmissionReview(request *admissionv1.AdmissionRequest) (*admissionv1.AdmissionResponse, error)
func (*MutationHandler) MutatePodSpec ¶
func (mh *MutationHandler) MutatePodSpec(w http.ResponseWriter, r *http.Request)
type ValidationHandler ¶
type ValidationHandler struct {
// contains filtered or unexported fields
}
func NewValidationHandler ¶ added in v0.0.7
func NewValidationHandler(computeService services.IComputeService, mapper mapper.IMapper, redisClient *redis.Client) *ValidationHandler
func (*ValidationHandler) HandleAdmissionReview ¶
func (vh *ValidationHandler) HandleAdmissionReview(request *admissionv1.AdmissionRequest) (*admissionv1.AdmissionResponse, error)
func (*ValidationHandler) ValidatePodSpec ¶
func (vh *ValidationHandler) ValidatePodSpec(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.