cuevalidator

package
v0.0.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL