MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / generateFakeClient

Function generateFakeClient

pkg/certs/k8s_test.go:96–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96func generateFakeClient() client.Client {
97 scheme := controllerScheme.BuildWithAllKnownScheme()
98 return fake.NewClientBuilder().
99 WithScheme(scheme).
100 Build()
101}
102
103var _ = Describe("Root CA secret generation", func() {
104 pki := PublicKeyInfrastructure{

Callers 2

k8s_test.goFile · 0.85

Calls 1

BuildMethod · 0.45

Tested by

no test coverage detected