Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep v20 development #2318

Merged
merged 6 commits into from Jul 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 3 additions & 6 deletions pkg/arm/arm.go
Expand Up @@ -14,12 +14,11 @@ import (
"github.com/sirupsen/logrus"

"github.com/openshift/openshift-azure/pkg/api"
v14 "github.com/openshift/openshift-azure/pkg/arm/v14"
v15 "github.com/openshift/openshift-azure/pkg/arm/v15"
v16 "github.com/openshift/openshift-azure/pkg/arm/v16"
v17 "github.com/openshift/openshift-azure/pkg/arm/v17"
v18 "github.com/openshift/openshift-azure/pkg/arm/v18"
v19 "github.com/openshift/openshift-azure/pkg/arm/v19"
v20 "github.com/openshift/openshift-azure/pkg/arm/v20"
)

type Interface interface {
Expand All @@ -30,18 +29,16 @@ type Interface interface {

func New(ctx context.Context, log *logrus.Entry, cs *api.OpenShiftManagedCluster, testConfig api.TestConfig) (Interface, error) {
switch cs.Config.PluginVersion {
case "v14.1":
return v14.New(ctx, log, cs, testConfig), nil
case "v15.0":
return v15.New(ctx, log, cs, testConfig), nil
case "v16.0", "v16.1":
return v16.New(ctx, log, cs, testConfig), nil
case "v17.0":
return v17.New(ctx, log, cs, testConfig), nil
case "v18.0":
return v18.New(ctx, log, cs, testConfig), nil
case "v19.0":
return v19.New(ctx, log, cs, testConfig), nil
case "v20.0":
return v20.New(ctx, log, cs, testConfig), nil
}

return nil, fmt.Errorf("version %q not found", cs.Config.PluginVersion)
Expand Down
268 changes: 0 additions & 268 deletions pkg/arm/v14/bindata.go

This file was deleted.

189 changes: 0 additions & 189 deletions pkg/arm/v14/data/master-startup.sh

This file was deleted.

113 changes: 0 additions & 113 deletions pkg/arm/v14/data/node-startup.sh

This file was deleted.