Documentation
¶
Index ¶
- Constants
- 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 ¶
View Source
const (
TypeName = "cue-validator"
)
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"`
}
+kubebuilder:object:generate=true
func (*Properties) DeepCopy ¶
func (in *Properties) DeepCopy() *Properties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Properties.
func (*Properties) DeepCopyInto ¶
func (in *Properties) DeepCopyInto(out *Properties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.