{"modulePath":"github.com/operator-framework/operator-lifecycle-manager","version":"v3.11.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package annotator\n\n## Types\n\n```go\ntype Annotator struct {\n\tOpClient    operatorclient.ClientInterface\n\tAnnotations map[string]string\n}\n```\nAnnotator talks to kubernetes and adds annotations to objects.\n\n```go\nfunc NewAnnotator(opClient operatorclient.ClientInterface, annotations map[string]string) *Annotator\n```\n\n```go\nfunc (a *Annotator) AnnotateNamespace(namespace *corev1.Namespace) error\n```\n\n```go\nfunc (a *Annotator) AnnotateNamespaces(namespaceNames []string) error\n```\nAnnotateNamespaces takes a list of namespace names and adds annotations to them\n\n```go\nfunc (a *Annotator) CleanNamespaceAnnotation(namespace *corev1.Namespace) error\n```\n\n```go\nfunc (a *Annotator) CleanNamespaceAnnotations(namespaceNames []string) error\n```\nCleanNamespaceAnnotations takes a list of namespace names and removes annotations from them\n\n","path":"github.com/operator-framework/operator-lifecycle-manager/pkg/controller/annotator","name":"annotator","synopsis":"","isRedistributable":true}
