Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseHTTPRequestBodyToAdmissionReview ¶
func ParseHTTPRequestBodyToAdmissionReview(body io.ReadCloser) (*admission.AdmissionReview, error)
Types ¶
type HealthController ¶
type HealthController struct{}
func NewHealthController ¶
func NewHealthController() *HealthController
func (*HealthController) Health ¶
func (h *HealthController) Health(w http.ResponseWriter, req *http.Request)
func (*HealthController) Ready ¶
func (h *HealthController) Ready(w http.ResponseWriter, req *http.Request)
type ValidationController ¶
type ValidationController struct { ValidationService *services.ValidationService ErrorReporter *errorReporter.ErrorReporter // contains filtered or unexported fields }
func NewValidationController ¶
func NewValidationController(cliServiceClient *clients.CliClient, state *servicestate.ServiceState, errorReporter *errorReporter.ErrorReporter, k8sMetadataUtilInstance *k8sMetadataUtil.K8sMetadataUtil, logger *logger.Logger, openshiftService *openshiftService.OpenshiftService) *ValidationController
func (*ValidationController) Validate ¶
func (c *ValidationController) Validate(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.