MCPcopy
hub / github.com/yunionio/cloudpods / Set

Function Set

pkg/cloudcommon/informer/informer.go:47–49  ·  view source on GitHub ↗
(be IInformerBackend)

Source from the content-addressed store, hash-verified

45}
46
47func Set(be IInformerBackend) {
48 defaultBackend = be
49}
50
51func GetDefaultBackend() IInformerBackend {
52 if defaultBackend == nil {

Callers 2

PostDeleteMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected