constellation/cli/internal/cmd/helmloader.go
3u13r 774e300a32
Constellation conformance mode (#161)
* add conformance mode
2022-09-20 10:07:55 +02:00

20 lines
337 B
Go

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