@ -10,6 +10,7 @@ import (
"path/filepath"
"strings"
"testing"
"time"
)
const (
@ -21,12 +22,14 @@ type HelmContext struct {
t *testing.T
Path string
Host string
Timeout time.Duration
}
func NewHelmContext(t *testing.T) *HelmContext {
return &HelmContext{
t: t,
Path: RepoRoot() + "/bin/helm",
Timeout: time.Second * 20,