Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for blocky (0.25 sec)

  1. cni/test/install_cni.go

    	readyFlag := &atomic.Value{}
    	installer := install.NewInstaller(&serverConfig.InstallConfig, readyFlag)
    
    	t.Logf("CNI installer created, watching...")
    	// installer.Run() will block indefinitely, and attempt to permanently "keep"
    	// the CNI binary installed.
    	if err := installer.Run(ctx); err != nil {
    		if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
    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)
  2. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func (c *connMgr) addConn(conn *ZtunnelConnection) {
    	log.Debug("ztunnel connected")
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.connectionSet[conn] = struct{}{}
    	c.latestConn = conn
    	ztunnelConnected.RecordInt(int64(len(c.connectionSet)))
    }
    
    func (c *connMgr) LatestConn() *ZtunnelConnection {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	return c.latestConn
    }
    
    func (c *connMgr) deleteConn(conn *ZtunnelConnection) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/sds/util.go

    	}
    
    	return secret, nil
    }
    
    func secretMetaFromCert(rawCert []byte) (SecretMeta, error) {
    	block, _ := pem.Decode(rawCert)
    	if block == nil {
    		return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM")
    	}
    	cert, err := x509.ParseCertificate(block.Bytes)
    	if err != nil {
    		return SecretMeta{}, err
    	}
    	var certType string
    	if cert.IsCA {
    		certType = "CA"
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    			installLog.Infof("Removing binary: %s", istioCNIBin)
    			if err := os.Remove(istioCNIBin); err != nil {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // sleepWatchInstall blocks until any file change for the binaries or config are detected.
    // At that point, the func yields so the caller can recheck the validity of the install.
    // If an error occurs or context is canceled, the function will return an error.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/cni-watcher.go

    		// net.ip is implicitly convertible to netip as slice
    		ip, _ := netip.AddrFromSlice(configuredPodIPs.Address.IP)
    		// We ignore the mask of the IPNet - it's fine if the IPNet defines
    		// a block grant of addresses, we just need one for checking routes.
    		podIps = append(podIps, ip)
    	}
    	// Note that we use the IP info from the CNI plugin here - the Pod struct as reported by K8S doesn't have this info
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    		}
    
    		installer := install.NewInstaller(&cfg.InstallConfig, installDaemonReady)
    
    		repair.StartRepair(ctx, cfg.RepairConfig)
    
    		log.Info("Installer created, watching node CNI dir")
    		// installer.Run() will block indefinitely, and attempt to permanently "keep"
    		// the CNI binary installed.
    		if err = installer.Run(ctx); err != nil {
    			if errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) {
    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)
  7. operator/cmd/mesh/manifest-generate_test.go

    	cm := objs.kind("ConfigMap").nameEquals("istio-sidecar-injector").Unstructured()
    	// TODO: change values to some nicer format rather than text block.
    	g.Expect(cm).Should(HavePathValueMatchRegex(PathValue{"data.values", `.*"includeIPRanges"\: "172\.30\.0\.0/16,172\.21\.0\.0/16".*`}))
    }
    
    func TestManifestGenerateFlags(t *testing.T) {
    	flagOutputDir := t.TempDir()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top