Documentation ¶
Index ¶
- func GetNotRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps) (*apiextensions.JSONSchemaProps, error)
- func GetOneOfRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps) ([]*apiextensions.JSONSchemaProps, error)
- func GetRequiredRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps) ([]string, error)
- func GetSchemaForFieldUnderObjectOrArray(fieldName string, parent *apiextensions.JSONSchemaProps) (schema *apiextensions.JSONSchemaProps, ok bool, err error)
- func SetNotRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps, notRule *apiextensions.JSONSchemaProps) error
- func SetOneOfRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps, ...) error
- func SetRequiredRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps, requiredRule []string) error
- func SetSchemaForFieldUnderObjectOrArray(fieldName string, parent *apiextensions.JSONSchemaProps, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNotRuleForObjectOrArray ¶
func GetNotRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps) (*apiextensions.JSONSchemaProps, error)
func GetOneOfRuleForObjectOrArray ¶
func GetOneOfRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps) ([]*apiextensions.JSONSchemaProps, error)
func GetRequiredRuleForObjectOrArray ¶
func GetRequiredRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps) ([]string, error)
func GetSchemaForFieldUnderObjectOrArray ¶
func GetSchemaForFieldUnderObjectOrArray(fieldName string, parent *apiextensions.JSONSchemaProps) (schema *apiextensions.JSONSchemaProps, ok bool, err error)
func SetNotRuleForObjectOrArray ¶
func SetNotRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps, notRule *apiextensions.JSONSchemaProps) error
func SetOneOfRuleForObjectOrArray ¶
func SetOneOfRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps, oneOfRule []*apiextensions.JSONSchemaProps) error
func SetRequiredRuleForObjectOrArray ¶
func SetRequiredRuleForObjectOrArray(schema *apiextensions.JSONSchemaProps, requiredRule []string) error
func SetSchemaForFieldUnderObjectOrArray ¶
func SetSchemaForFieldUnderObjectOrArray(fieldName string, parent *apiextensions.JSONSchemaProps, schema *apiextensions.JSONSchemaProps) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.