MCPcopy Index your code
hub / github.com/cloudnative-pg/cloudnative-pg / InheritanceController

Interface InheritanceController

pkg/utils/labels_annotations.go:413–421  ·  view source on GitHub ↗

InheritanceController controls if a label or an annotation should be inherited

Source from the content-addressed store, hash-verified

411// InheritanceController controls if a label or an annotation should be
412// inherited
413type InheritanceController interface {
414 // IsAnnotationInherited checks if a certain annotation should be
415 // inherited
416 IsAnnotationInherited(name string) bool
417
418 // IsLabelInherited checks if a certain label should be
419 // inherited
420 IsLabelInherited(name string) bool
421}
422
423// InheritAnnotations puts into the object metadata the passed annotations if
424// the annotations are supposed to be inherited. The passed configuration is

Callers 6

InheritAnnotationsFunction · 0.65
IsAnnotationSubsetFunction · 0.65
InheritLabelsFunction · 0.65
IsLabelSubsetFunction · 0.65

Implementers 2

fakeInhericanceControllerpkg/utils/labels_annotations_test.go
Datainternal/configuration/configuration.g

Calls

no outgoing calls

Tested by

no test coverage detected