Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for errorea (0.65 sec)

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

    	}
    
    	secret, err := builder.Build()
    	if err != nil {
    		return SecretItem{}, fmt.Errorf("error building secret: %v", err)
    	}
    
    	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 {
    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. istioctl/pkg/tag/util.go

    func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) {
    	if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok {
    		return tagName, nil
    	}
    	return "", fmt.Errorf("could not extract tag revision from webhook")
    }
    
    // DeleteTagWebhooks deletes the given webhooks.
    func DeleteTagWebhooks(ctx context.Context, client kubernetes.Interface, tag string) error {
    	webhooks, err := GetWebhooksWithTag(ctx, client, tag)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  3. istioctl/pkg/util/configdump/util.go

    func (w *Wrapper) getSection(sectionTypeURL configTypeURL) (*anypb.Any, error) {
    	var dumpAny *anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    			dumpAny = conf
    		}
    	}
    	if dumpAny == nil {
    		return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL)
    	}
    
    	return dumpAny, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Dec 24 08:16:26 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top