MCPcopy
hub / github.com/kubernetes/kubectl / testPluginHandler

Struct testPluginHandler

pkg/cmd/cmd_test.go:304–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302}
303
304type testPluginHandler struct {
305 pluginsDirectory string
306 validPrefixes []string
307
308 // lookup results
309 lookedup bool
310 lookupErr error
311
312 // execution results
313 executed bool
314 executedPlugin string
315 withArgs []string
316 withEnv []string
317}
318
319func (h *testPluginHandler) Lookup(filename string) (string, bool) {
320 h.lookedup = true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected