Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFileRenewer (0.22 sec)

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

    limitations under the License.
    */
    
    package renewal
    
    import (
    	"crypto/x509"
    	"testing"
    
    	certutil "k8s.io/client-go/util/cert"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
    )
    
    func TestFileRenewer(t *testing.T) {
    	// creates a File renewer using a test Certificate authority
    	fr := NewFileRenewer(testCACert, testCAKey)
    
    	// renews a certificate
    	certCfg := &pkiutil.CertConfig{
    		Config: certutil.Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 28 04:36:54 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top