Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateClientset ¶
func CreateClientset() (*kubernetes.Clientset, error)
func GetNetworkPolicies ¶
func GetNetworkPolicies(clientset *kubernetes.Clientset, namespace string) (*networkingv1.NetworkPolicyList, error)
func GetPodsByLabelSelector ¶
func GetPodsByLabelSelector(clientset *kubernetes.Clientset, namespace string, podSelector *metav1.LabelSelector) (*corev1.PodList, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.