MCPcopy
hub / github.com/kubeedge/kubeedge / GetCAHandler

Function GetCAHandler

pkg/security/certs/factory.go:27–33  ·  view source on GitHub ↗
(t CAHandlerType)

Source from the content-addressed store, hash-verified

25type HanndlerType string
26
27func GetCAHandler(t CAHandlerType) CAHandler {
28 switch t {
29 case CAHandlerTypeX509:
30 return &x509CAHandler{}
31 }
32 return nil
33}
34
35func GetHandler(t HanndlerType) Handler {
36 switch t {

Callers 3

createCAToSecretFunction · 0.92
TestVerifyCertFunction · 0.92
genFakeCertsFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestVerifyCertFunction · 0.74
genFakeCertsFunction · 0.74