Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hodiny (0.35 sec)

  1. istioctl/pkg/tag/generate_test.go

    }
    
    func TestGenerateOptions(t *testing.T) {
    	// Test generate option 'true', should not modify webhooks
    	testGenerateOption(t, true, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    		assert.Equal(t, actual, expected)
    	})
    
    	// Test generate option 'false', should modify webhooks
    	testGenerateOption(t, false, func(t *testing.T, actual, expected []admitv1.MutatingWebhook) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    	cmd.AddCommand(tagRemoveCommand(ctx))
    
    	return cmd
    }
    
    func tagSetCommand(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "set <revision-tag>",
    		Short: "Create or modify revision tags",
    		Long: `Create or modify revision tags. Tag an Istio control plane revision for use with namespace istio.io/rev
    injection labels.`,
    		Example: `  # Create a revision tag from the "1-8-0" revision
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/generate.go

    	if err != nil {
    		return "", err
    	}
    	if len(revWebhooks) == 0 {
    		return "", fmt.Errorf("cannot modify tag: cannot find MutatingWebhookConfiguration with revision %q", opts.Revision)
    	}
    	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)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top