MCPcopy
hub / github.com/helm/helm / newTestClient

Function newTestClient

pkg/kube/client_test.go:126–134  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

124}
125
126func newTestClient(t *testing.T) *Client {
127 t.Helper()
128 testFactory := cmdtesting.NewTestFactory()
129 t.Cleanup(testFactory.Cleanup)
130
131 return &Client{
132 Factory: testFactory.WithNamespace(v1.NamespaceDefault),
133 }
134}
135
136type RequestResponseAction struct {
137 Request http.Request

Callers 15

TestCreateFunction · 0.85
TestUpdateFunction · 0.85
TestBuildFunction · 0.85
TestBuildTableFunction · 0.85
TestPerformFunction · 0.85
TestWaitFunction · 0.85
TestWaitJobFunction · 0.85
TestWaitDeleteFunction · 0.85
TestIsReachableFunction · 0.85

Calls 1

HelperMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…