Documentation ¶
Index ¶
- func SelectCipherSuitesAndMinTLSVersion() ([]string, openshiftconfigv1.TLSProtocolVersion)
- type WebhookHandler
- func (wh *WebhookHandler) Handle(ctx context.Context, req admission.Request) admission.Response
- func (wh *WebhookHandler) ValidateCreate(_ context.Context, dryrun bool, hc *v1beta1.HyperConverged) error
- func (wh *WebhookHandler) ValidateDelete(ctx context.Context, dryrun bool, hc *v1beta1.HyperConverged) error
- func (wh *WebhookHandler) ValidateUpdate(ctx context.Context, dryrun bool, requested *v1beta1.HyperConverged, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SelectCipherSuitesAndMinTLSVersion ¶ added in v1.10.0
func SelectCipherSuitesAndMinTLSVersion() ([]string, openshiftconfigv1.TLSProtocolVersion)
Types ¶
type WebhookHandler ¶
type WebhookHandler struct {
// contains filtered or unexported fields
}
func NewWebhookHandler ¶
func NewWebhookHandler(logger logr.Logger, cli client.Client, decoder *admission.Decoder, namespace string, isOpenshift bool, hcoTLSSecurityProfile *openshiftconfigv1.TLSSecurityProfile) *WebhookHandler
func (*WebhookHandler) ValidateCreate ¶
func (wh *WebhookHandler) ValidateCreate(_ context.Context, dryrun bool, hc *v1beta1.HyperConverged) error
func (*WebhookHandler) ValidateDelete ¶
func (wh *WebhookHandler) ValidateDelete(ctx context.Context, dryrun bool, hc *v1beta1.HyperConverged) error
func (*WebhookHandler) ValidateUpdate ¶
func (wh *WebhookHandler) ValidateUpdate(ctx context.Context, dryrun bool, requested *v1beta1.HyperConverged, exists *v1beta1.HyperConverged) error
ValidateUpdate is the ValidateUpdate webhook implementation. It calls all the resources in parallel, to dry-run the upgrade.
Click to show internal directories.
Click to hide internal directories.