MCPcopy
hub / github.com/tsuru/tsuru / Shutdownable

Interface Shutdownable

api/shutdown/shutdown.go:16–18  ·  view source on GitHub ↗

Shutdownable is an interface representing the ability to shutdown a particular resource

Source from the content-addressed store, hash-verified

14// Shutdownable is an interface representing the ability to
15// shutdown a particular resource
16type Shutdownable interface {
17 Shutdown(ctx context.Context) error
18}
19
20var (
21 registered []Shutdownable

Callers 8

TearDownTestMethod · 0.65
onceShutdownMethod · 0.65
BenchmarkScanLogsMethod · 0.65
TearDownTestMethod · 0.65
TearDownTestMethod · 0.65
TestStartSpanMethod · 0.65

Implementers 9

appRouterUpdaterapp/routerupdater.go
imgGCapp/image/gc/gc.go
certificateReloaderapi/server.go
logStreamTrackerapi/logtracker.go
testShutdownapi/shutdown/shutdown_test.go
instanceTrackerapi/tracker/tracker.go
kubernetesProvisionerprovision/kubernetes/provisioner.go
webhookServiceevent/webhook/webhook.go

Calls

no outgoing calls

Tested by

no test coverage detected