Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for length (0.13 sec)

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

    		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))
    	}
    
    	secret, err := builder.Build()
    	if err != nil {
    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)
  2. operator/cmd/mesh/test-util_test.go

    	h := obj.Hash()
    	o.objSlice = append(o.objSlice, obj)
    	if o.objMap == nil {
    		o.objMap = make(map[string]*object.K8sObject)
    	}
    	o.objMap[h] = obj
    	o.keySlice = append(o.keySlice, h)
    }
    
    // size reports the length of o.
    func (o *ObjectSet) size() int {
    	return len(o.keySlice)
    }
    
    // nameMatches returns a subset of o where objects names match the given regex.
    func (o *ObjectSet) nameMatches(nameRegex string) *ObjectSet {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top