Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetCertificateExpirationInfo (1.07 sec)

  1. cmd/kubeadm/app/phases/certs/renewal/manager.go

    	handler, ok := rm.certificates[name]
    	if !ok {
    		return false, errors.Errorf("%s is not a known certificate", name)
    	}
    
    	return handler.readwriter.Exists()
    }
    
    // GetCertificateExpirationInfo returns certificate expiration info.
    // For PKI certificates, use the name defined in the certsphase package, while for certificates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs.go

    	info := &outputapiv1alpha3.CertificateExpirationInfo{}
    
    	for _, handler := range rm.Certificates() {
    		if ok, _ := rm.CertificateExists(handler.Name); ok {
    			e, err := rm.GetCertificateExpirationInfo(handler.Name)
    			if err != nil {
    				return nil, err
    			}
    			info.Certificates = append(info.Certificates, outputapiv1alpha3.Certificate{
    				Name:                e.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top