Documentation ¶
Index ¶
- Constants
- Variables
- type CustomKeyRegoDefinitionCompiler
- type CustomKeyRegoDefinitionSchema
- type CustomKeyRule101Compiler
- type CustomKeyRule101Schema
- type CustomKeyRule81Compiler
- type CustomKeyRule81Schema
- type CustomKeyRule89Compiler
- type CustomKeyRule89Schema
- type Limits
- type RegoDefinition
- type Requests
- type Resources
- type Rules101
Constants ¶
View Source
const RegoDefinitionCustomKey = "regoDefinition"
Variables ¶
View Source
var CustomKeyRegoRule = jsonschema.MustCompileString("customKeyRegoDefinition.json", `{
"properties" : {
"regoDefinition": {
"type": "object"
}
}
}`)
View Source
var CustomKeyRule101 = jsonschema.MustCompileString("customKeyRule101.json", `{
"properties" : {
"customKeyRule101": {
"type": "string"
}
}
}`)
View Source
var CustomKeyRule81 = jsonschema.MustCompileString("customKeyRule81.json", `{
"properties" : {
"customKeyRule81": {
"type": "string"
}
}
}`)
View Source
var CustomKeyRule89 = jsonschema.MustCompileString("customKeyRule89.json", `{
"properties" : {
"customKeyRule89": {
"type": "string"
}
}
}`)
Functions ¶
This section is empty.
Types ¶
type CustomKeyRegoDefinitionCompiler ¶ added in v1.8.41
type CustomKeyRegoDefinitionCompiler struct{}
func (CustomKeyRegoDefinitionCompiler) Compile ¶ added in v1.8.41
func (CustomKeyRegoDefinitionCompiler) Compile(ctx jsonschema.CompilerContext, m map[string]interface{}) (jsonschema.ExtSchema, error)
type CustomKeyRegoDefinitionSchema ¶ added in v1.8.41
type CustomKeyRegoDefinitionSchema map[string]interface{}
func (CustomKeyRegoDefinitionSchema) Validate ¶ added in v1.8.41
func (customKeyRegoDefinitionSchema CustomKeyRegoDefinitionSchema) Validate(ctx jsonschema.ValidationContext, dataValue interface{}) error
type CustomKeyRule101Compiler ¶ added in v1.8.24
type CustomKeyRule101Compiler struct{}
func (CustomKeyRule101Compiler) Compile ¶ added in v1.8.24
func (CustomKeyRule101Compiler) Compile(ctx jsonschema.CompilerContext, m map[string]interface{}) (jsonschema.ExtSchema, error)
type CustomKeyRule101Schema ¶ added in v1.8.24
type CustomKeyRule101Schema map[string]interface{}
func (CustomKeyRule101Schema) Validate ¶ added in v1.8.24
func (s CustomKeyRule101Schema) Validate(ctx jsonschema.ValidationContext, dataValue interface{}) error
type CustomKeyRule81Compiler ¶
type CustomKeyRule81Compiler struct{}
func (CustomKeyRule81Compiler) Compile ¶
func (CustomKeyRule81Compiler) Compile(ctx jsonschema.CompilerContext, m map[string]interface{}) (jsonschema.ExtSchema, error)
type CustomKeyRule81Schema ¶
type CustomKeyRule81Schema map[string]interface{}
func (CustomKeyRule81Schema) Validate ¶
func (s CustomKeyRule81Schema) Validate(ctx jsonschema.ValidationContext, dataValue interface{}) error
type CustomKeyRule89Compiler ¶
type CustomKeyRule89Compiler struct{}
func (CustomKeyRule89Compiler) Compile ¶
func (CustomKeyRule89Compiler) Compile(ctx jsonschema.CompilerContext, m map[string]interface{}) (jsonschema.ExtSchema, error)
type CustomKeyRule89Schema ¶
type CustomKeyRule89Schema map[string]interface{}
func (CustomKeyRule89Schema) Validate ¶
func (s CustomKeyRule89Schema) Validate(ctx jsonschema.ValidationContext, dataValue interface{}) error
type RegoDefinition ¶ added in v1.8.41
Click to show internal directories.
Click to hide internal directories.