mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-12-18 10:10:59 +01:00
added description to exported function
This commit is contained in:
parent
5667d0b14e
commit
0c547a9809
@ -43,6 +43,7 @@ type nodeSource struct {
|
|||||||
nodeInformer coreinformers.NodeInformer
|
nodeInformer coreinformers.NodeInformer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NewNodeSource creates a new nodeSource with the given config.
|
||||||
func NewNodeSource(kubeClient kubernetes.Interface, annotationFilter, fqdnTemplate string) (Source, error) {
|
func NewNodeSource(kubeClient kubernetes.Interface, annotationFilter, fqdnTemplate string) (Source, error) {
|
||||||
var (
|
var (
|
||||||
tmpl *template.Template
|
tmpl *template.Template
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user