Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Len (0.15 sec)

  1. istioctl/pkg/tag/util.go

    	whs, err := GetWebhooksWithRevision(ctx, client, DefaultRevisionName)
    	if err != nil {
    		return err
    	}
    	if len(whs) == 0 {
    		// no revision with default, no action required.
    		return nil
    	}
    	if len(whs) > 1 {
    		return fmt.Errorf("expected a single webhook for default revision")
    	}
    	webhook := whs[0]
    	for i := range webhook.Webhooks {
    		wh := webhook.Webhooks[i]
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  2. istioctl/pkg/writer/compare/sds/util.go

    	// 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
Back to top