woodpecker-helm3/internal/run/config.go

23 lines
344 B
Go
Raw Normal View History

package run
import (
"github.com/pelotech/drone-helm3/internal/env"
"io"
)
type config struct {
debug bool
namespace string
stdout io.Writer
stderr io.Writer
}
func newConfig(cfg env.Config) *config {
return &config{
debug: cfg.Debug,
namespace: cfg.Namespace,
stdout: cfg.Stdout,
stderr: cfg.Stderr,
}
}