MCPcopy
hub / github.com/apecloud/kubeblocks / GetExporter

Function GetExporter

pkg/controller/component/component.go:157–162  ·  view source on GitHub ↗
(componentDef appsv1.ComponentDefinitionSpec)

Source from the content-addressed store, hash-verified

155}
156
157func GetExporter(componentDef appsv1.ComponentDefinitionSpec) *common.Exporter {
158 if componentDef.Exporter != nil {
159 return &common.Exporter{Exporter: *componentDef.Exporter}
160 }
161 return nil
162}

Callers 2

TransformMethod · 0.92
getMonitorAnnotationsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…