Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for vnopts (0.18 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/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)
  3. 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)
  4. common-protos/k8s.io/api/storage/v1alpha1/generated.proto

    // - such an object exists, but the capacity is zero
    //
    // The producer of these objects can decide which approach is more suitable.
    //
    // They are consumed by the kube-scheduler when a CSI driver opts into
    // capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler
    // compares the MaximumVolumeSize against the requested size of pending volumes
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. istioctl/pkg/xds/client.go

    				ServiceAccount: serviceAccount,
    				Namespace:      ns,
    				CloudrunAddr:   opts.IstiodAddr,
    			}.ToStruct(),
    			CertDir:            opts.CertDir,
    			InsecureSkipVerify: opts.InsecureSkipVerify,
    			XDSSAN:             opts.XDSSAN,
    			GrpcOpts:           grpcOpts,
    		},
    	}, nil)
    	if err != nil {
    		return nil, fmt.Errorf("could not dial: %w", err)
    	}
    	err = adscConn.Run()
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-init.go

    			l.LogAndFatal(err)
    		}
    	}
    
    	if err := applyManifest(kubeClient, client, mstr, name.IstioOperatorComponentName, opts, iop, l); err != nil {
    		l.LogAndFatal(err)
    	}
    
    	if customResource != "" {
    		if err := applyManifest(kubeClient, client, customResource, name.IstioOperatorComponentName, opts, iop, l); err != nil {
    			l.LogAndFatal(err)
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/clusters.go

    func ClustersCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "remote-clusters",
    		Short: "Lists the remote clusters each istiod instance is connected to.",
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/shared.go

    	componentName name.ComponentName, opts *applyOptions, iop *v1alpha1.IstioOperator, l clog.Logger,
    ) error {
    	// Needed in case we are running a test through this path that doesn't start a new process.
    	cache.FlushObjectCaches()
    	reconciler, err := helmreconciler.NewHelmReconciler(client, kubeClient, iop, &helmreconciler.Options{DryRun: opts.DryRun, Log: l})
    	if err != nil {
    		l.LogAndError(err)
    		return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. istioctl/pkg/version/version.go

    )
    
    func NewVersionCommand(ctx cli.Context) *cobra.Command {
    	profileCmd := mesh.ProfileCmd(ctx)
    	var opts clioptions.ControlPlaneOptions
    	versionCmd := istioVersion.CobraCommandWithOptions(istioVersion.CobraOptions{
    		GetRemoteVersion: getRemoteInfoWrapper(ctx, &profileCmd, &opts),
    		GetProxyVersions: getProxyInfoWrapper(ctx, &opts),
    	})
    	opts.AttachControlPlaneFlags(versionCmd)
    
    	versionCmd.Flags().VisitAll(func(flag *pflag.Flag) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/context.go

    	Objects []runtime.Object
    	// Version is the version of the fake client
    	Version string
    }
    
    func NewFakeContext(opts *NewFakeContextOption) Context {
    	if opts == nil {
    		opts = &NewFakeContextOption{}
    	}
    	ns := opts.Namespace
    	ins := opts.IstioNamespace
    	return &fakeInstance{
    		clients: map[string]kube.CLIClient{},
    		rootFlags: &RootFlags{
    			kubeconfig:       ptr.Of[string](""),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top