constellation/cli/internal/cmd/helmloader.go

20 lines
337 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, conformanceMode bool) ([]byte, error)
2022-08-12 04:20:19 -04:00
}
type stubHelmLoader struct {
loadErr error
}
func (d *stubHelmLoader) Load(csp string, conformanceMode bool) ([]byte, error) {
2022-08-12 04:20:19 -04:00
return nil, d.loadErr
}