Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for group (0.05 sec)

  1. cni/pkg/nodeagent/server_test.go

    func (f *fakeServer) ConstructInitialSnapshot(ambientPods []*corev1.Pod) error {
    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ambientPods)
    	return args.Error(0)
    }
    
    // Custom "wait group with timeout" for waiting for fakeServer calls in a goroutine to finish
    type WaitGroup struct {
    	count int32
    	done  chan struct{}
    }
    
    func NewWaitGroup() *WaitGroup {
    	return &WaitGroup{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/option.go

    	flags.StringArrayVar(r.impersonateGroup, FlagImpersonateGroup, *r.impersonateGroup,
    		"Group to impersonate for the operation, this flag can be repeated to specify multiple groups.")
    	flags.StringVarP(r.namespace, FlagNamespace, "n", v1.NamespaceAll,
    		"Kubernetes namespace")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_e2e_test.go

    	}
    	if strings.Contains(cur, "-A") {
    		t.Fatalf("Rules: %v", cur)
    	}
    }
    
    var initialized = &sync.Once{}
    
    func setup(t *testing.T) {
    	initialized.Do(func() {
    		// Setup group namespace so iptables --gid-owner will work
    		assert.NoError(t, userns.WriteGroupMap(map[uint32]uint32{userns.OriginalGID(): 0}))
    		// Istio iptables expects to find a non-localhost IP in some interface
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/admin.go

    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	adminCmd := &cobra.Command{
    		Use:   "admin",
    		Short: "Manage control plane (istiod) configuration",
    		Long:  "A group of commands used to manage istiod configuration",
    		Example: `  # Retrieve information about istiod configuration.
      istioctl admin log`,
    		Aliases: []string{"istiod"},
    		Args: func(cmd *cobra.Command, args []string) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. istioctl/pkg/kubeinject/kubeinject.go

    			Kind:       "AdmissionReview",
    		},
    		Request: &admission.AdmissionRequest{
    			Object: runtime.RawExtension{Raw: podBytes},
    			Kind: metav1.GroupVersionKind{
    				Group:   admission.GroupName,
    				Version: admission.SchemeGroupVersion.Version,
    				Kind:    "AdmissionRequest",
    			},
    			Resource:           metav1.GroupVersionResource{},
    			SubResource:        "",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    		"ztunnel-9v7nw": []byte("current log level is debug"),
    	}
    	cases := []execTestCase{
    		{
    			args:           []string{},
    			expectedString: "A group of commands used to update or retrieve Ztunnel",
    		},
    		{ // logger name invalid when namespacing is used improperly
    			execClientConfig: loggingConfig,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns.go

    	// This regex applies for container runtimes, that won't put the PodUID into
    	// the cgroup name.
    	// Currently only cri-o in combination with kubeedge is known for this abnormally.
    	regexp.MustCompile(`` +
    		// intentionally empty poduid group
    		`(?P<poduid>)` +
    		// mustnotmatch group: cgroup path must not include a poduid
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig.go

    }
    
    func ProxyConfig(ctx cli.Context) *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "proxy-config",
    		Short: "Retrieve information about proxy configuration from Envoy [kube only]",
    		Long:  `A group of commands used to retrieve information about proxy configuration from the Envoy config dump`,
    		Example: `  # Retrieve information about proxy configuration from an Envoy instance.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  9. istioctl/pkg/waypoint/waypoint.go

    	waypointCmd := &cobra.Command{
    		Use:   "waypoint",
    		Short: "Manage waypoint configuration",
    		Long:  "A group of commands used to manage waypoint configuration",
    		Example: `  # Apply a waypoint to the current namespace
      istioctl waypoint apply
    
      # Generate a waypoint as yaml
      istioctl waypoint generate --namespace default
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		"httpbin-794b576b6c-qx6pf":    []byte("{}"),
    	}
    	cases := []execTestCase{
    		{
    			args:           []string{},
    			expectedString: "A group of commands used to retrieve information about",
    		},
    		{ // clusters invalid
    			args:           strings.Split("clusters invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top