Kubewarden SDK Documentation

Protocol Validatable

public protocol Validatable  

Protocol that must be implemented by Kubewarden policies in order to be used by SettingsValidator

Requirements

validate()

func validate() throws

Function that validates the policy settings

Throws

SettingsValidationError when the settings are not valid

Returns

nothing when the settings are valid

debug​Description

var debugDescription: String