Documentation
¶
Index ¶
- type CUEValidator
- func (c *CUEValidator) ApplyToObject(_ interface{}, obj interface{}) (bool, string, error)
- func (c *CUEValidator) Init(properties map[string]interface{}) error
- func (c *CUEValidator) New() types.Filter
- func (c *CUEValidator) Type() string
- func (c *CUEValidator) Validate(properties map[string]interface{}) error
- type Properties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CUEValidator ¶
type CUEValidator struct {
// contains filtered or unexported fields
}
func (*CUEValidator) ApplyToObject ¶
func (c *CUEValidator) ApplyToObject(_ interface{}, obj interface{}) (bool, string, error)
func (*CUEValidator) Init ¶
func (c *CUEValidator) Init(properties map[string]interface{}) error
func (*CUEValidator) New ¶
func (c *CUEValidator) New() types.Filter
func (*CUEValidator) Type ¶
func (c *CUEValidator) Type() string
func (*CUEValidator) Validate ¶
func (c *CUEValidator) Validate(properties map[string]interface{}) error
type Properties ¶
type Properties struct {
Template string `json:"template"`
}
Click to show internal directories.
Click to hide internal directories.