- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCertificateAuthority (0.17 sec)
-
pkg/controller/certificates/authority/authority_test.go
"net/url" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" capi "k8s.io/api/certificates/v1" "k8s.io/apimachinery/pkg/util/diff" ) func TestCertificateAuthority(t *testing.T) { caKey, err := ecdsa.GenerateKey(elliptic.P224(), rand.Reader) if err != nil { t.Fatal(err) } now := time.Now() nowFunc := func() time.Time { return now } tmpl := &x509.Certificate{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 23 19:36:11 UTC 2021 - 7.3K bytes - Viewed (0)