Class FlinkValidator
- java.lang.Object
-
- org.apache.flink.kubernetes.operator.admission.FlinkValidator
-
- All Implemented Interfaces:
io.javaoperatorsdk.webhook.admission.validation.Validator<io.fabric8.kubernetes.api.model.HasMetadata>
public class FlinkValidator extends java.lang.Object implements io.javaoperatorsdk.webhook.admission.validation.Validator<io.fabric8.kubernetes.api.model.HasMetadata>
Validator for FlinkDeployment creation and updates.
-
-
Constructor Summary
Constructors Constructor Description FlinkValidator(java.util.Set<FlinkResourceValidator> validators, InformerManager informerManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(io.fabric8.kubernetes.api.model.HasMetadata resource, io.javaoperatorsdk.webhook.admission.Operation operation)
-
-
-
Constructor Detail
-
FlinkValidator
public FlinkValidator(java.util.Set<FlinkResourceValidator> validators, InformerManager informerManager)
-
-
Method Detail
-
validate
public void validate(io.fabric8.kubernetes.api.model.HasMetadata resource, io.javaoperatorsdk.webhook.admission.Operation operation) throws io.javaoperatorsdk.webhook.admission.NotAllowedException
- Specified by:
validate
in interfaceio.javaoperatorsdk.webhook.admission.validation.Validator<io.fabric8.kubernetes.api.model.HasMetadata>
- Throws:
io.javaoperatorsdk.webhook.admission.NotAllowedException
-
-