Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for conceal (0.18 sec)

  1. cni/pkg/install/install_test.go

    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			// Create temp directory for files
    			tempDir := t.TempDir()
    
    			// Initialize parameters
    			ctx, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			cfg := &config.InstallConfig{
    				MountedCNINetDir: tempDir,
    				ChainedCNIPlugin: c.chainedCNIPlugin,
    			}
    			cniConfigFilepath := filepath.Join(tempDir, c.cniConfigFilename)
    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)
  2. cni/pkg/nodeagent/net_test.go

    			UID:       "123",
    		},
    		Spec: corev1.PodSpec{
    			Containers: containers,
    		},
    		Status: podStatus,
    	}
    }
    
    func TestServerAddPod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	setupLogging()
    	fixture := getTestFixure(ctx)
    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/informers_test.go

    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    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)
  4. cni/test/install_cni.go

    	viper.Set(constants.MonitoringPort, 0)
    	viper.Set(constants.LogUDSAddress, "")
    	viper.Set(constants.RepairEnabled, false)
    
    	ctx, cancel := context.WithCancel(context.Background())
    	wg := sync.WaitGroup{}
    	wg.Add(1)
    	defer func() {
    		cancel()
    		wg.Wait()
    	}()
    	go func() {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait.go

    				printVerbosef(cmd, "both the proxy and threshold options were provided; the threshold option is being ignored.")
    				threshold = 1
    			}
    			var w *watcher
    			ctx, cancel := context.WithTimeout(context.Background(), timeout)
    			defer cancel()
    			if generation == "" {
    				w = getAndWatchResource(ctx, cliCtx) // setup version getter from kubernetes
    			} else {
    				w = withContext(ctx)
    				w.Go(func(result chan string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. istioctl/pkg/analyze/analyze.go

    			}
    
    			if listAnalyzers {
    				fmt.Print(AnalyzersAsString(analyzers.All()))
    				return nil
    			}
    
    			readers, err := gatherFiles(cmd, args)
    			if err != nil {
    				return err
    			}
    			cancel := make(chan struct{})
    
    			// We use the "namespace" arg that's provided as part of root istioctl as a flag for specifying what namespace to use
    			// for file resources that don't have one specified.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. architecture/networking/pilot.md

    implementation would simply regenerate all resources, of all subscribed types, for each client, on any configuration change. However, this scales poorly. As a result, we have many levels of optimizations to avoid doing this work.
    
    First, we have a concept of a `Full` push. Only `Full` pushes will recompute `PushContext` on change; otherwise this is skipped and the last `PushContext` is re-used. Note: even when `Full`, we try to copy as much from the previous `PushContext` as possible. For example,...
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  8. cni/pkg/install/cniconfig_test.go

    				expectedFilepath = filepath.Join(tempDir, c.expectedConfName)
    			}
    
    			if !c.chainedCNIPlugin {
    				// Standalone CNI plugin
    				parent := context.Background()
    				ctx1, cancel := context.WithTimeout(parent, 100*time.Millisecond)
    				defer cancel()
    				result, err := getCNIConfigFilepath(ctx1, cfg)
    				if err != nil {
    					assert.Equal(t, result, "")
    					if err == context.DeadlineExceeded {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    		resource.Namespace(ctx.Namespace()),
    		resource.Namespace(ctx.IstioNamespace()),
    		nil,
    	)
    	if err != nil {
    		return nil, err
    	}
    	sa.AddRunningKubeSource(cli)
    	cancel := make(chan struct{})
    	result, err := sa.Analyze(cancel)
    	if err != nil {
    		return nil, err
    	}
    	if result.Messages != nil {
    		msgs = append(msgs, result.Messages...)
    	}
    
    	return msgs, nil
    }
    
    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)
Back to top