Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Chalin (0.21 sec)

  1. istioctl/pkg/writer/compare/sds/util.go

    		GetValidationContext().
    		GetTrustedCa().
    		GetInlineBytes()
    
    	// seems as though the most straightforward way to tell whether this is a root ca or not
    	// is to check whether the inline bytes of the cert chain or the trusted ca field is zero length
    	if len(certChainSecret) > 0 {
    		builder.Data(string(certChainSecret))
    	} else if len(caDataSecret) > 0 {
    		builder.Data(string(caDataSecret))
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/workload.go

    	Certificates []*CertsDump                `json:"certificates"`
    }
    
    type CertsDump struct {
    	Identity  string  `json:"identity"`
    	State     string  `json:"state"`
    	CertChain []*Cert `json:"cert_chain"`
    }
    
    type Cert struct {
    	Pem            string `json:"pem"`
    	SerialNumber   string `json:"serial_number"`
    	ValidFrom      string `json:"valid_from"`
    	ExpirationTime string `json:"expiration_time"`
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Mar 22 16:24:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher.go

    	mux.HandleFunc(pconstants.CNIAddEventPath, s.handleAddEvent)
    	return s
    }
    
    func (s *CniPluginServer) Stop() {
    	s.cniListenServerCancel()
    }
    
    // Start starts up a UDS server which receives events from the CNI chain plugin.
    func (s *CniPluginServer) Start() error {
    	if s.sockAddress == "" {
    		return fmt.Errorf("no socket address provided")
    	}
    	log.Info("Start a listen server for CNI plugin events")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. istioctl/pkg/clioptions/central.go

    	CertDir string
    
    	// Timeout is how long to wait before giving up on XDS
    	Timeout time.Duration
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    	// XDSSAN is the expected Subject Alternative Name of the XDS server
    	XDSSAN string
    
    	// Plaintext forces plain text communication (for talking to port 15010)
    	Plaintext bool
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  5. internal/config/certs.go

    	var data []byte
    	if data, err = os.ReadFile(certFile); err != nil {
    		return nil, err
    	}
    
    	// Trimming leading and tailing white spaces.
    	data = bytes.TrimSpace(data)
    
    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    		if pemBlock, current = pem.Decode(current); pemBlock == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  6. internal/handlers/proxy.go

    		// Only grab the first (client) address. Note that '192.168.0.1,
    		// 10.1.1.1' is a valid key for X-Forwarded-For where addresses after
    		// the first may represent forwarding proxies earlier in the chain.
    		s := strings.Index(fwd, ", ")
    		if s == -1 {
    			s = len(fwd)
    		}
    		addr = fwd[:s]
    	} else if fwd := r.Header.Get(xRealIP); fwd != "" {
    		// X-Real-IP should only contain one IP address (the client making the
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. tests/count_test.go

    	}
    
    	DB.Model(&User{}).Where("name = ?", user1.Name).Count(&count1).Or("name in ?", []string{user2.Name, user3.Name}).Count(&count2)
    	if count1 != 1 || count2 != 3 {
    		t.Errorf("multiple count in chain should works")
    	}
    
    	tx := DB.Model(&User{}).Where("name = ?", user1.Name).Session(&gorm.Session{})
    	tx.Count(&count1)
    	tx.Or("name in ?", []string{user2.Name, user3.Name}).Count(&count2)
    	if count1 != 1 || count2 != 3 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 6.9K bytes
    - Viewed (0)
Back to top