Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfig ¶ added in v1.0.0
func CreateV3Config ¶ added in v1.3.0
func CreateV3Config() *common.OpenAPIV3Config
func LoadOpenAPISpec ¶
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func CreateOpenAPIValidator ¶
func CreateOpenAPIValidator(webServices []*restful.WebService) *Validator
func (*Validator) Validate ¶
func (v *Validator) Validate(gvk schema.GroupVersionKind, obj map[string]interface{}) []error
func (*Validator) ValidateSpec ¶
func (v *Validator) ValidateSpec(gvk schema.GroupVersionKind, obj map[string]interface{}) []error
func (*Validator) ValidateStatus ¶
func (v *Validator) ValidateStatus(gvk schema.GroupVersionKind, obj map[string]interface{}) []error
Click to show internal directories.
Click to hide internal directories.