- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for whs (0.23 sec)
-
istioctl/pkg/tag/util.go
whs, err := GetWebhooksWithRevision(ctx, client, DefaultRevisionName) if err != nil { return err } if len(whs) == 0 { // no revision with default, no action required. return nil } if len(whs) > 1 { return fmt.Errorf("expected a single webhook for default revision") } webhook := whs[0] for i := range webhook.Webhooks {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0)