Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for valide (0.14 sec)

  1. istioctl/pkg/util/configdump/workload.go

    	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)
  2. istioctl/pkg/workload/workload.go

    	out := make(map[string]string, len(s))
    	for _, l := range s {
    		k, v := splitEqual(l)
    		out[k] = v
    	}
    	return out
    }
    
    // splitEqual splits key=value string into key,value. if no = is found
    // the whole string is the key and value is empty.
    func splitEqual(str string) (string, string) {
    	idx := strings.Index(str, "=")
    	var k string
    	var v string
    	if idx >= 0 {
    		k = str[:idx]
    		v = str[idx+1:]
    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)
Back to top