MCPcopy Create free account
hub / github.com/quay/clair / Reset

Method Reset

cmd/clairctl/xmlformatter.go:21–26  ·  view source on GitHub ↗
(w io.WriteCloser)

Source from the content-addressed store, hash-verified

19}
20
21func (f *xmlFormatter) Reset(w io.WriteCloser) error {
22 f.c = w
23 io.WriteString(w, xml.Header)
24 f.enc = xml.NewEncoder(w)
25 return nil
26}
27
28func (f *xmlFormatter) Format(r *Result) error {
29 var j junitTestsuite

Callers 11

AllManifestsMethod · 0.80
SelectMissingMethod · 0.80
ServeHTTPMethod · 0.80
GetEncoderFunction · 0.80
PutEncoderFunction · 0.80
GetDecoderFunction · 0.80
PutDecoderFunction · 0.80
TestTimeNotNullFunction · 0.80
InitMethod · 0.80
ValuesMethod · 0.80
DeliverMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestTimeNotNullFunction · 0.64