Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for CTX (0.11 sec)

  1. istioctl/cmd/root.go

    	experimentalCmd.AddCommand(config.Cmd())
    	experimentalCmd.AddCommand(workload.Cmd(ctx))
    	experimentalCmd.AddCommand(internaldebug.DebugCommand(ctx))
    	experimentalCmd.AddCommand(precheck.Cmd(ctx))
    	experimentalCmd.AddCommand(proxyconfig.StatsConfigCmd(ctx))
    	experimentalCmd.AddCommand(checkinject.Cmd(ctx))
    	experimentalCmd.AddCommand(waypoint.Cmd(ctx))
    	experimentalCmd.AddCommand(ztunnelconfig.ZtunnelConfig(ctx))
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		Aliases: []string{"zc"},
    	}
    
    	configCmd.AddCommand(logCmd(ctx))
    	configCmd.AddCommand(workloadConfigCmd(ctx))
    	configCmd.AddCommand(certificatesConfigCmd(ctx))
    	configCmd.AddCommand(servicesCmd(ctx))
    	configCmd.AddCommand(policiesCmd(ctx))
    	configCmd.AddCommand(allCmd(ctx))
    	configCmd.AddCommand(connectionsCmd(ctx))
    
    	return configCmd
    }
    
    type Command struct {
    	Name string
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. istioctl/pkg/version/version.go

    	istioVersion "istio.io/istio/pkg/version"
    )
    
    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)
    
    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)
  4. cni/pkg/nodeagent/cni-watcher_test.go

    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		constants.DataplaneModeLabel, constants.DataplaneModeAmbient))
    	_, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/root.go

    	}
    	rootCmd.SetArgs(args)
    	rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
    
    	rootCmd.AddCommand(ManifestCmd(ctx))
    	rootCmd.AddCommand(InstallCmd(ctx))
    	rootCmd.AddCommand(ProfileCmd(ctx))
    	rootCmd.AddCommand(OperatorCmd(ctx))
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(UpgradeCmd(ctx))
    
    	return rootCmd
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

      istioctl x workload group create
    
      # workload entry configuration generation
      istioctl x workload entry configure`,
    	}
    	workloadCmd.AddCommand(groupCommand(ctx))
    	workloadCmd.AddCommand(entryCommand(ctx))
    	return workloadCmd
    }
    
    func groupCommand(ctx cli.Context) *cobra.Command {
    	groupCmd := &cobra.Command{
    		Use:     "group",
    		Short:   "Commands dealing with WorkloadGroup resources",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. istioctl/pkg/precheck/precheck.go

    		},
    	}
    }
    
    func checkControlPlane(ctx cli.Context) (diag.Messages, error) {
    	cli, err := ctx.CLIClient()
    	if err != nil {
    		return nil, err
    	}
    	msgs := diag.Messages{}
    
    	m, err := checkServerVersion(cli)
    	if err != nil {
    		return nil, err
    	}
    	msgs = append(msgs, m...)
    
    	msgs = append(msgs, checkInstallPermissions(cli, ctx.IstioNamespace())...)
    	gwMsg, err := checkGatewayAPIs(cli)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  8. cni/pkg/cmd/root.go

    		// Start metrics server
    		monitoring.SetupMonitoring(cfg.InstallConfig.MonitoringPort, "/metrics", ctx.Done())
    
    		// Start UDS log server
    		udsLogger := udsLog.NewUDSLogger()
    		if err = udsLogger.StartUDSLogServer(cfg.InstallConfig.LogUDSAddress, ctx.Done()); err != nil {
    			log.Errorf("Failed to start up UDS Log Server: %v", err)
    			return
    		}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/fakes_test.go

    type fakeZtunnel struct {
    	deletedPods atomic.Int32
    	addedPods   atomic.Int32
    	addError    error
    }
    
    func (f *fakeZtunnel) Run(ctx context.Context) {
    }
    
    func (f *fakeZtunnel) PodDeleted(ctx context.Context, uid string) error {
    	f.deletedPods.Add(1)
    	return nil
    }
    
    func (f *fakeZtunnel) PodAdded(ctx context.Context, pod *corev1.Pod, netns Netns) error {
    	f.addedPods.Add(1)
    	return f.addError
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/mock_client.go

    	return c.Results, nil
    }
    
    func (c MockClient) EnvoyDo(ctx context.Context, podName, podNamespace, method, path string) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top