added description to exported function

This commit is contained in:
Reinier Schoof 2019-10-25 16:25:02 +02:00
parent 5667d0b14e
commit 0c547a9809

View File

@ -43,6 +43,7 @@ type nodeSource struct {
nodeInformer coreinformers.NodeInformer
}
// NewNodeSource creates a new nodeSource with the given config.
func NewNodeSource(kubeClient kubernetes.Interface, annotationFilter, fqdnTemplate string) (Source, error) {
var (
tmpl *template.Template