mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -04:00
AB#2579 Add constellation iam create command (#624)
This commit is contained in:
parent
be01cf7129
commit
286803fb97
38 changed files with 2029 additions and 108 deletions
|
@ -9,7 +9,9 @@ package cmd
|
|||
import (
|
||||
"context"
|
||||
|
||||
"github.com/edgelesssys/constellation/v2/cli/internal/cloudcmd"
|
||||
"github.com/edgelesssys/constellation/v2/cli/internal/clusterid"
|
||||
"github.com/edgelesssys/constellation/v2/cli/internal/iamid"
|
||||
"github.com/edgelesssys/constellation/v2/internal/cloud/cloudprovider"
|
||||
"github.com/edgelesssys/constellation/v2/internal/config"
|
||||
)
|
||||
|
@ -24,6 +26,14 @@ type cloudCreator interface {
|
|||
) (clusterid.File, error)
|
||||
}
|
||||
|
||||
type iamCreator interface {
|
||||
Create(
|
||||
ctx context.Context,
|
||||
provider cloudprovider.Provider,
|
||||
iamConfig *cloudcmd.IAMConfig,
|
||||
) (iamid.File, error)
|
||||
}
|
||||
|
||||
type cloudTerminator interface {
|
||||
Terminate(context.Context) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue