constellation/cli/internal/cmd/helmloader.go

20 lines
293 B
Go
Raw Normal View History

/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
2022-08-12 04:20:19 -04:00
package cmd
type helmLoader interface {
Load(csp string) ([]byte, error)
}
type stubHelmLoader struct {
loadErr error
}
func (d *stubHelmLoader) Load(csp string) ([]byte, error) {
return nil, d.loadErr
}