mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-16 11:04:39 -04:00
Rename provider
This commit is contained in:
parent
4496755c64
commit
dad9a97ee2
8 changed files with 12 additions and 12 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
type cloudCreator interface {
|
||||
Create(
|
||||
ctx context.Context,
|
||||
provider cloudprovider.CloudProvider,
|
||||
provider cloudprovider.Provider,
|
||||
config *config.Config,
|
||||
name, insType string,
|
||||
coordCount, nodeCount int,
|
||||
|
|
|
@ -16,7 +16,7 @@ type stubCloudCreator struct {
|
|||
|
||||
func (c *stubCloudCreator) Create(
|
||||
ctx context.Context,
|
||||
provider cloudprovider.CloudProvider,
|
||||
provider cloudprovider.Provider,
|
||||
config *config.Config,
|
||||
name, insType string,
|
||||
coordCount, nodeCount int,
|
||||
|
|
|
@ -53,7 +53,7 @@ func runCreate(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
func create(cmd *cobra.Command, creator cloudCreator, fileHandler file.Handler,
|
||||
countCoord, countNode int, provider cloudprovider.CloudProvider, insType string,
|
||||
countCoord, countNode int, provider cloudprovider.Provider, insType string,
|
||||
) (retErr error) {
|
||||
flags, err := parseCreateFlags(cmd)
|
||||
if err != nil {
|
||||
|
|
|
@ -70,7 +70,7 @@ func TestCreate(t *testing.T) {
|
|||
testCases := map[string]struct {
|
||||
setupFs func(*require.Assertions) afero.Fs
|
||||
creator *stubCloudCreator
|
||||
provider cloudprovider.CloudProvider
|
||||
provider cloudprovider.Provider
|
||||
yesFlag bool
|
||||
devConfigFlag string
|
||||
nameFlag string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue