Documentation
¶
Overview ¶
Package schemanoopimpl implements a schema component that never reports any violation. It's used by binaries that don't validate their configuration, so they don't link the JSON schema library and the embedded schemas.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SchemaNoop ¶
type SchemaNoop struct{}
SchemaNoop is a schema component that never reports any violation. It's exported for the code loading a configuration outside of Fx.
func (*SchemaNoop) GetViolations ¶
func (*SchemaNoop) GetViolations(model.SchemaID) []*model.Violation
GetViolations never reports any violation
func (*SchemaNoop) ValidateConfig ¶
ValidateConfig never reports any violation
func (*SchemaNoop) ValidateYAML ¶
ValidateYAML never reports any violation