Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for vnopts (0.14 sec)

  1. cni/pkg/pluginlistener/listener_test.go

    }
    
    func connect(socket string) (*grpc.ClientConn, error) {
    	var opts []grpc.DialOption
    
    	opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
    		var d net.Dialer
    		return d.DialContext(ctx, "unix", socket)
    	}))
    
    	conn, err := grpc.Dial(socket, opts...)
    	if err != nil {
    		return nil, err
    	}
    
    	return conn, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 21:58:32 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/generate_test.go

    			if err != nil {
    				t.Fatalf("webhook fixing failed with error: %v", err)
    			}
    			opts := &GenerateOptions{
    				ManifestsPath: filepath.Join(env.IstioSrc, "manifests"),
    			}
    			if tc.userManaged {
    				opts.UserManaged = true
    			}
    			webhookYAML, err := generateValidatingWebhook(webhookConfig, opts)
    			if err != nil {
    				t.Fatalf("tag webhook YAML generation failed with error: %v", err)
    			}
    
    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)
  3. istioctl/pkg/tag/tag.go

    	return cmd
    }
    
    // setTag creates or modifies a revision tag.
    func setTag(ctx context.Context, kubeClient kube.CLIClient, tagName, revision, istioNS string, generate bool, w, stderr io.Writer) error {
    	opts := &GenerateOptions{
    		Tag:                  tagName,
    		Revision:             revision,
    		WebhookName:          webhookName,
    		ManifestsPath:        manifestsPath,
    		Generate:             generate,
    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)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    		return cluster
    	}
    	vhosts := []string{}
    	for _, vh := range route.GetVirtualHosts() {
    		if describeDomains(vh) == "" {
    			vhosts = append(vhosts, describeRoutes(vh))
    		} else {
    			vhosts = append(vhosts, fmt.Sprintf("%s %s", describeDomains(vh), describeRoutes(vh)))
    		}
    	}
    	return fmt.Sprintf("Inline Route: %s", strings.Join(vhosts, "; "))
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  5. istioctl/pkg/admin/istiodconfig.go

    		},
    		RunE: func(logCmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			var podName, ns string
    			if len(args) == 0 {
    				if opts.Revision == "" {
    					opts.Revision = "default"
    				}
    				if len(istiodLabelSelector) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. istioctl/pkg/internaldebug/internal-debug.go

    					"config_distribution?resource=VirtualService/default/bookinfo")
    			}
    		}
    	}
    	return nil, nil
    }
    
    func DebugCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    
    	debugCommand := &cobra.Command{
    		Use:   "internal-debug [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. istioctl/pkg/proxystatus/proxystatus.go

    			}
    		}
    		return nil
    	}
    	for _, flag := range unstableFlags {
    		_ = cmd.PersistentFlags().MarkHidden(flag)
    	}
    	return cmd
    }
    
    func XdsStatusCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    	var multiXdsOpts multixds.Options
    
    	statusCmd := &cobra.Command{
    		Use:   "proxy-status [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest_shared_test.go

    	clnt client.WithWatch,
    	obj client.Object,
    	patch client.Patch,
    	opts ...client.PatchOption,
    ) error {
    	// Apply patches are supposed to upsert, but fake client fails if the object doesn't exist,
    	// if an apply patch occurs for an object that doesn't yet exist, create it.
    	if patch.Type() != types.ApplyPatchType {
    		return clnt.Patch(ctx, obj, patch, opts...)
    	}
    	check, ok := obj.DeepCopyObject().(client.Object)
    	if !ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  9. operator/cmd/mesh/install.go

    		return fmt.Errorf("failed to install manifests: %v", err)
    	}
    	opts := &helmreconciler.ProcessDefaultWebhookOptions{
    		Namespace: ns,
    		DryRun:    rootArgs.DryRun,
    	}
    	if processed, err := helmreconciler.ProcessDefaultWebhook(kubeClient, iop, exists, opts); err != nil {
    		return fmt.Errorf("failed to process default webhook: %v", err)
    	} else if processed {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  10. istioctl/pkg/kubeinject/kubeinject.go

    	defaultInjectWebhookConfigName = "istio-sidecar-injector"
    	defaultWebhookName             = "sidecar-injector.istio.io"
    )
    
    func InjectCommand(cliContext cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	var centralOpts clioptions.CentralControlPlaneOptions
    
    	injectCmd := &cobra.Command{
    		Use:   "kube-inject",
    		Short: "Inject Istio sidecar into Kubernetes pod resources",
    		Long: `
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
Back to top