Skip to content

Commit 7de7233

Browse files
zreigztest-cli-e2e-aws
andauthored
only allow aws, gcp, azure providers in plural up (#614)
Co-authored-by: test-cli-e2e-aws <test-cli-e2e-aws@srv.plural.sh>
1 parent ef2e3b3 commit 7de7233

5 files changed

Lines changed: 1 addition & 571 deletions

File tree

pkg/api/constants.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ const (
55
ProviderGCP = "gcp"
66
ProviderAWS = "aws"
77
ProviderAzure = "azure"
8-
ProviderEquinix = "equinix"
98
TEST = "test"
109
)

pkg/api/utils.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ package api
22

33
import (
44
"strings"
5-
6-
"github.com/pluralsh/polly/algorithms"
7-
"github.com/samber/lo"
85
)
96

107
func NormalizeProvider(p string) string {
@@ -19,7 +16,3 @@ func NormalizeProvider(p string) string {
1916
func ToGQLClientProvider(p string) string {
2017
return strings.ToUpper(NormalizeProvider(p))
2118
}
22-
23-
func FromSlicePtr[T any](s []*T) []T {
24-
return algorithms.Map(s, lo.FromPtr[T])
25-
}

pkg/provider/equinix.go

Lines changed: 0 additions & 327 deletions
This file was deleted.

0 commit comments

Comments
 (0)