MCPcopy
hub / github.com/roboll/helmfile / azcli

Method azcli

pkg/helmexec/exec.go:523–530  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

521}
522
523func (helm *execer) azcli(name string) ([]byte, error) {
524 cmdargs := append(strings.Split("acr helm repo add --name", " "), name)
525 cmd := fmt.Sprintf("exec: az %s", strings.Join(cmdargs, " "))
526 helm.logger.Debug(cmd)
527 outBytes, err := helm.runner.Execute("az", cmdargs, map[string]string{})
528 helm.logger.Debugf("%s: %s", cmd, outBytes)
529 return outBytes, err
530}
531
532func (helm *execer) info(out []byte) {
533 if len(out) > 0 {

Callers 1

AddRepoMethod · 0.95

Calls 1

ExecuteMethod · 0.65

Tested by

no test coverage detected