MCPcopy
hub / github.com/cshum/imagor / failingDetector

Struct failingDetector

processor/vipsprocessor/processor_test.go:1352–1352  ·  view source on GitHub ↗

failingDetector is a test-only Detector whose Startup always returns an error.

Source from the content-addressed store, hash-verified

1350
1351// failingDetector is a test-only Detector whose Startup always returns an error.
1352type failingDetector struct{}
1353
1354func (f *failingDetector) Startup(_ context.Context) error { return fmt.Errorf("startup failed") }
1355func (f *failingDetector) Shutdown(_ context.Context) error { return nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected