Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 52 of 52 for CoreV1 (0.45 sec)

  1. istioctl/pkg/tag/util.go

    }
    
    // GetNamespacesWithTag retrieves all namespaces pointed at the given tag.
    func GetNamespacesWithTag(ctx context.Context, client kubernetes.Interface, tag string) ([]string, error) {
    	namespaces, err := client.CoreV1().Namespaces().List(ctx, metav1.ListOptions{
    		LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag),
    	})
    	if err != nil {
    		return nil, err
    	}
    
    	nsNames := make([]string, len(namespaces.Items))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    		path += "?format=json"
    	} else if outputFormat == prometheusOutput {
    		path += "/prometheus"
    	} else if outputFormat == prometheusMergedOutput {
    		pod, err := kubeClient.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    		if err != nil {
    			return "", fmt.Errorf("failed to retrieve Pod %s/%s: %v", podNamespace, podName, err)
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top