{"modulePath":"github.com/DataDog/datadog-operator","version":"v1.16.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package objects\n\n## Functions\n\n```go\nfunc BuildCiliumPolicy(dda metav1.Object, site string, ddURL string, hostNetwork bool, dnsSelectorEndpoints []metav1.LabelSelector, componentName v2alpha1.ComponentName) (string, string, []cilium.NetworkPolicySpec)\n```\nBuildCiliumPolicy creates the base node agent, DCA, or CCR cilium network policy\n\n```go\nfunc BuildKubernetesNetworkPolicy(dda metav1.Object, componentName v2alpha1.ComponentName) (string, string, metav1.LabelSelector, []netv1.PolicyType, []netv1.NetworkPolicyIngressRule, []netv1.NetworkPolicyEgressRule)\n```\nBuildKubernetesNetworkPolicy creates the base node agent kubernetes network policy\n\n```go\nfunc GetNetworkPolicyMetadata(dda metav1.Object, componentName v2alpha1.ComponentName) (policyName string, podSelector metav1.LabelSelector)\n```\nGetNetworkPolicyMetadata generates a label selector based on component\n\n","path":"github.com/DataDog/datadog-operator/internal/controller/datadogagentinternal/component/objects","name":"objects","synopsis":"","isRedistributable":true}
