2022-09-05 03:06:08 -04:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2022-08-12 04:20:19 -04:00
|
|
|
package cmd
|
|
|
|
|
2022-10-07 03:38:43 -04:00
|
|
|
import "github.com/edgelesssys/constellation/v2/internal/cloud/cloudprovider"
|
|
|
|
|
2022-08-12 04:20:19 -04:00
|
|
|
type helmLoader interface {
|
2022-10-07 03:38:43 -04:00
|
|
|
Load(csp cloudprovider.Provider, conformanceMode bool) ([]byte, error)
|
2022-08-12 04:20:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
type stubHelmLoader struct {
|
|
|
|
loadErr error
|
|
|
|
}
|
|
|
|
|
2022-10-07 03:38:43 -04:00
|
|
|
func (d *stubHelmLoader) Load(csp cloudprovider.Provider, conformanceMode bool) ([]byte, error) {
|
2022-08-12 04:20:19 -04:00
|
|
|
return nil, d.loadErr
|
|
|
|
}
|