mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
Remove state file
This commit is contained in:
parent
0d1fd8fb2a
commit
1556e239ca
28 changed files with 381 additions and 319 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue