MCPcopy Index your code
hub / github.com/cortexproject/cortex / NewJSONSchemaWriter

Function NewJSONSchemaWriter

tools/doc-generator/json_schema_writer.go:14–16  ·  view source on GitHub ↗
(out io.Writer)

Source from the content-addressed store, hash-verified

12}
13
14func NewJSONSchemaWriter(out io.Writer) *JSONSchemaWriter {
15 return &JSONSchemaWriter{out: out}
16}
17
18func (w *JSONSchemaWriter) WriteSchema(blocks []*configBlock) error {
19 schema := w.generateJSONSchema(blocks)

Callers 1

generateJSONSchemaMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected