You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: networkpolicy.go
    path of file: ./repos/gardener/pkg/component/observability/monitoring/prometheus/cache
    
    the code of the file until where you have to start completion: // Copyright 2024 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Soft
    
func NetworkPolicyToNodeExporter(namespace string) *networkingv1.NetworkPolicy {
	return &networkingv1.NetworkPolicy{
		ObjectMeta: metav1.ObjectMeta{
			Name:      "egress-from-cache-prometheus-to-kube-system-node-exporter-tcp-16909",
			Namespace: namespace,
		},
		Spec: networkingv1.NetworkPolicySpec{
			PodSelector: metav1.LabelSelector{
				MatchLabels: monitoringutils.Labels(Label),
			},
			Egress: []networkingv1.NetworkPolicyEgressRule{{
				// A pod selector to select the node-exporter pods in the kube-system namespace does not work here
				// because the node-exporter uses the host network. Network policies are currently not supported with
				// pods in the host network.
				// TODO: Is it possible to restrict the traffic to the nodes network CIDR of the seed?
				//  Ref https://github.com/gardener/gardener/pull/9128#discussion_r1483236610
				To:    []networkingv1.NetworkPolicyPeer{},
				Ports: []networkingv1.NetworkPolicyPort{{Port: utils.IntStrPtrFromInt32(16909), Protocol: ptr.To(corev1.ProtocolTCP)}},
			}},
			Ingress:     []networkingv1.NetworkPolicyIngressRule{},
			PolicyTypes: []networkingv1.PolicyType{networkingv1.PolicyTypeEgress},
		},
	}
}