Remove state file

This commit is contained in:
katexochen 2022-10-11 12:24:33 +02:00 committed by Paul Meyer
parent 0d1fd8fb2a
commit 1556e239ca
28 changed files with 381 additions and 319 deletions

View file

@ -9,9 +9,9 @@ package cmd
import (
"context"
"github.com/edgelesssys/constellation/v2/cli/internal/clusterid"
"github.com/edgelesssys/constellation/v2/internal/cloud/cloudprovider"
"github.com/edgelesssys/constellation/v2/internal/config"
"github.com/edgelesssys/constellation/v2/internal/state"
)
type cloudCreator interface {
@ -21,9 +21,9 @@ type cloudCreator interface {
config *config.Config,
name, insType string,
coordCount, nodeCount int,
) (state.ConstellationState, error)
) (clusterid.File, error)
}
type cloudTerminator interface {
Terminate(context.Context, state.ConstellationState) error
Terminate(context.Context, cloudprovider.Provider) error
}