mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-06 11:54:45 -04:00
19 lines
337 B
Go
19 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
|
|
}
|