Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for CTX (0.12 sec)

  1. istioctl/pkg/tag/tag.go

    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(tagSetCommand(ctx))
    	cmd.AddCommand(tagGenerateCommand(ctx))
    	cmd.AddCommand(tagListCommand(ctx))
    	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",
    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)
  2. istioctl/pkg/waypoint/waypoint.go

    	waypointName    = constants.DefaultNamespaceWaypoint
    	enrollNamespace bool
    )
    
    const waitTimeout = 90 * time.Second
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	makeGateway := func(forApply bool) (*gateway.Gateway, error) {
    		ns := ctx.NamespaceOrDefault(ctx.Namespace())
    		if ctx.Namespace() == "" && !forApply {
    			ns = ""
    		}
    		// If a user sets the waypoint name to an empty string, set it to the default namespace waypoint name.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    	configCmd.AddCommand(clusterConfigCmd(ctx))
    	configCmd.AddCommand(allConfigCmd(ctx))
    	configCmd.AddCommand(listenerConfigCmd(ctx))
    	configCmd.AddCommand(logCmd(ctx))
    	configCmd.AddCommand(routeConfigCmd(ctx))
    	configCmd.AddCommand(bootstrapConfigCmd(ctx))
    	configCmd.AddCommand(endpointConfigCmd(ctx))
    	configCmd.AddCommand(edsConfigCmd(ctx))
    	configCmd.AddCommand(secretConfigCmd(ctx))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    			defer ticker.Stop()
    			readyChan := make(chan bool)
    			go func(ctx context.Context, tick <-chan time.Time) {
    				for {
    					select {
    					case <-ctx.Done():
    						return
    					case <-tick:
    						if isReady.Load().(bool) {
    							readyChan <- true
    						}
    					}
    				}
    			}(ctx, ticker.C)
    
    			// Listen to sleepWatchInstall return value
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    		iptablesConfigurator: iptablesConfigurator,
    		netnsRunner:          NetnsDo,
    		hostsideProbeIPSet:   probeSet,
    	}
    }
    
    func (s *NetServer) Start(ctx context.Context) {
    	log.Debug("starting ztunnel server")
    	go s.ztunnelServer.Run(ctx)
    }
    
    func (s *NetServer) Stop() {
    	log.Debug("removing host iptables rules")
    	s.iptablesConfigurator.DeleteHostRules()
    
    	log.Debug("destroying host ipset")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  6. istioctl/pkg/kubeinject/kubeinject.go

    func GetValuesFromConfigMap(ctx cli.Context, revision string) (string, error) {
    	client, err := ctx.CLIClient()
    	if err != nil {
    		return "", err
    	}
    
    	if revision != "" {
    		injectConfigMapName = fmt.Sprintf("%s-%s", defaultInjectConfigMapName, revision)
    	}
    	meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(ctx.IstioNamespace()).Get(context.TODO(), injectConfigMapName, metav1.GetOptions{})
    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)
  7. cni/pkg/nodeagent/informers_test.go

    	fs := &fakeServer{testWG: wg}
    
    	fs.On("AddPodToMesh",
    		ctx,
    		pod,
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    	server := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	fs.Start(ctx)
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	go handlers.Start()
    
    	// label the namespace
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. istioctl/pkg/dashboard/dashboard.go

    	dashboardCmd.AddCommand(istioDebug)
    
    	return dashboardCmd
    }
    
    func inferPodMeta(ctx cli.Context, client kube.CLIClient, labelSelector string) (name, namespace string, err error) {
    	for _, ns := range []string{ctx.IstioNamespace(), ctx.NamespaceOrDefault(ctx.Namespace())} {
    		pl, err := client.PodsForSelector(context.TODO(), ns, labelSelector)
    		if err != nil {
    			continue
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest_shared_test.go

    	if patch.Type() != types.ApplyPatchType {
    		return clnt.Patch(ctx, obj, patch, opts...)
    	}
    	check, ok := obj.DeepCopyObject().(client.Object)
    	if !ok {
    		return errors.New("could not check for object in fake client")
    	}
    	if err := clnt.Get(ctx, client.ObjectKeyFromObject(obj), check); kerrors.IsNotFound(err) {
    		if err := clnt.Create(ctx, check); err != nil {
    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)
  10. istioctl/pkg/admin/istiodconfig.go

    				} else {
    					istiodLabelSelector = fmt.Sprintf("%s=%s", label.IoIstioRev.Name, opts.Revision)
    				}
    				pl, err := client.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.IstioNamespace()), istiodLabelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", istiodLabelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    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)
Back to top