Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for label_values (0.13 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    }
    
    func namespaceHasLabelWithValue(kubeClient kube.CLIClient, ns string, label, labelValue string) (bool, error) {
    	nsObj, err := getNamespace(kubeClient, ns)
    	if err != nil {
    		return false, err
    	}
    	if nsObj.Labels == nil {
    		return false, nil
    	}
    	return nsObj.Labels[label] == labelValue, nil
    }
    
    func getNamespace(kubeClient kube.CLIClient, ns string) (*corev1.Namespace, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top