Documentation ¶
Index ¶
- type K8sValidationTarget
- func (h *K8sValidationTarget) GetName() string
- func (h *K8sValidationTarget) HandleReview(obj interface{}) (bool, interface{}, error)
- func (h *K8sValidationTarget) HandleViolation(result *types.Result) error
- func (h *K8sValidationTarget) Library() *template.Template
- func (h *K8sValidationTarget) MatchSchema() apiextensionsv1beta1.JSONSchemaProps
- func (h *K8sValidationTarget) ProcessData(obj interface{}) (bool, string, interface{}, error)
- func (h *K8sValidationTarget) ValidateConstraint(u *unstructured.Unstructured) error
- type WipeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sValidationTarget ¶
type K8sValidationTarget struct{}
func (*K8sValidationTarget) GetName ¶
func (h *K8sValidationTarget) GetName() string
func (*K8sValidationTarget) HandleReview ¶
func (h *K8sValidationTarget) HandleReview(obj interface{}) (bool, interface{}, error)
func (*K8sValidationTarget) HandleViolation ¶
func (h *K8sValidationTarget) HandleViolation(result *types.Result) error
func (*K8sValidationTarget) Library ¶
func (h *K8sValidationTarget) Library() *template.Template
func (*K8sValidationTarget) MatchSchema ¶
func (h *K8sValidationTarget) MatchSchema() apiextensionsv1beta1.JSONSchemaProps
func (*K8sValidationTarget) ProcessData ¶
func (h *K8sValidationTarget) ProcessData(obj interface{}) (bool, string, interface{}, error)
func (*K8sValidationTarget) ValidateConstraint ¶
func (h *K8sValidationTarget) ValidateConstraint(u *unstructured.Unstructured) error
Click to show internal directories.
Click to hide internal directories.