MCPcopy
hub / github.com/zarf-dev/zarf / Kubectl

Method Kubectl

src/test/common.go:157–159  ·  view source on GitHub ↗

Kubectl executes `zarf tools kubectl ...`

(t *testing.T, args ...string)

Source from the content-addressed store, hash-verified

155
156// Kubectl executes `zarf tools kubectl ...`
157func (e2e *ZarfE2ETest) Kubectl(t *testing.T, args ...string) (string, string, error) {
158 return e2e.Zarf(t, append([]string{"tools", "kubectl"}, args...)...)
159}
160
161// CleanFiles removes files and directories that have been created during the test.
162func (e2e *ZarfE2ETest) CleanFiles(t *testing.T, files ...string) {

Callers 15

waitArgoDeploymentFunction · 0.80
TestComponentStatusFunction · 0.80
TestWaitForFunction · 0.80
TestEphemeralContainersFunction · 0.80
TestValuesFunction · 0.80
TestValuesSchemaFunction · 0.80
TestValuesPreflightFunction · 0.80
TestNoWaitFunction · 0.80
TestAgentMutationPolicyFunction · 0.80
testHelmServerSideApplyFunction · 0.80

Calls 1

ZarfMethod · 0.95

Tested by 15

waitArgoDeploymentFunction · 0.64
TestComponentStatusFunction · 0.64
TestWaitForFunction · 0.64
TestEphemeralContainersFunction · 0.64
TestValuesFunction · 0.64
TestValuesSchemaFunction · 0.64
TestValuesPreflightFunction · 0.64
TestNoWaitFunction · 0.64
TestAgentMutationPolicyFunction · 0.64
testHelmServerSideApplyFunction · 0.64