2023-05-03 05:11:53 -04:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Package migration contains outdated configuration formats and their migration functions.
|
|
|
|
package migration
|
|
|
|
|
|
|
|
import (
|
2023-05-16 04:32:01 -04:00
|
|
|
"errors"
|
2023-05-03 05:11:53 -04:00
|
|
|
|
|
|
|
"github.com/edgelesssys/constellation/v2/internal/file"
|
|
|
|
)
|
|
|
|
|
|
|
|
// V2ToV3 converts an existing v2 config to a v3 config.
|
2023-08-02 08:21:05 -04:00
|
|
|
func V2ToV3(_ string, _ file.Handler) error {
|
|
|
|
// TODO(malt3): add migration from v3 to v4
|
|
|
|
return errors.New("not implemented")
|
2023-05-03 05:11:53 -04:00
|
|
|
}
|