Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetCAExpirationInfo (0.26 sec)

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

    	handler, ok := rm.cas[name]
    	if !ok {
    		return false, errors.Errorf("%s is not a known certificate", name)
    	}
    
    	return handler.readwriter.Exists()
    }
    
    // GetCAExpirationInfo returns CA expiration info.
    func (rm *Manager) GetCAExpirationInfo(name string) (*ExpirationInfo, error) {
    	handler, ok := rm.cas[name]
    	if !ok {
    		return nil, errors.Errorf("%s is not a known CA", name)
    	}
    
    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

    				Name:    handler.Name,
    				Missing: true,
    			})
    		}
    	}
    
    	for _, handler := range rm.CAs() {
    		if ok, _ := rm.CAExists(handler.Name); ok {
    			e, err := rm.GetCAExpirationInfo(handler.Name)
    			if err != nil {
    				return nil, err
    			}
    			info.CertificateAuthorities = append(info.CertificateAuthorities, 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