Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetWebhooksWithTag (0.24 sec)

  1. istioctl/pkg/tag/generate.go

    	}
    	if len(revWebhooks) > 1 {
    		return "", fmt.Errorf("cannot modify tag: found multiple canonical webhooks with revision %q", opts.Revision)
    	}
    
    	whs, err := GetWebhooksWithTag(ctx, client.Kube(), opts.Tag)
    	if err != nil {
    		return "", err
    	}
    	if len(whs) > 0 && !opts.Overwrite {
    		return "", fmt.Errorf("revision tag %q already exists, and --overwrite is false", opts.Tag)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:49 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    	return nil
    }
    
    // removeTag removes an existing revision tag.
    func removeTag(ctx context.Context, kubeClient kubernetes.Interface, tagName string, skipConfirmation bool, w io.Writer) error {
    	webhooks, err := GetWebhooksWithTag(ctx, kubeClient, tagName)
    	if err != nil {
    		return fmt.Errorf("failed to retrieve tag with name %s: %v", tagName, err)
    	}
    	if len(webhooks) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top