Skip to content

Commit

Permalink
Merge pull request #2605 from jaypipes/go-mod-cleanup-godo
Browse files Browse the repository at this point in the history
Remove hard-copied github.com/digitalocean/godo
  • Loading branch information
k8s-ci-robot authored Dec 9, 2019
2 parents f5cf06f + 2609508 commit 7c45ece
Show file tree
Hide file tree
Showing 199 changed files with 559 additions and 43,922 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import (
"context"
"testing"

"github.com/digitalocean/godo"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

apiv1 "k8s.io/api/core/v1"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/digitalocean/godo"
)

func testCloudProvider(t *testing.T, client *doClientMock) *digitaloceanCloudProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ import (
"io"
"io/ioutil"

"github.com/digitalocean/godo"
"golang.org/x/oauth2"

"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/digitalocean/godo"
"k8s.io/klog"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"errors"
"testing"

"github.com/digitalocean/godo"
"github.com/stretchr/testify/assert"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/digitalocean/godo"
)

func TestNewManager(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ import (
"errors"
"fmt"

"github.com/digitalocean/godo"
apiv1 "k8s.io/api/core/v1"

"k8s.io/autoscaler/cluster-autoscaler/cloudprovider"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/digitalocean/godo"
schedulernodeinfo "k8s.io/kubernetes/pkg/scheduler/nodeinfo"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ import (
"fmt"
"testing"

"github.com/digitalocean/godo"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
apiv1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"k8s.io/autoscaler/cluster-autoscaler/cloudprovider"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/digitalocean/godo"
)

func TestNodeGroup_TargetSize(t *testing.T) {
Expand Down

This file was deleted.

61 changes: 0 additions & 61 deletions cluster-autoscaler/cloudprovider/digitalocean/godo/account_test.go

This file was deleted.

136 changes: 0 additions & 136 deletions cluster-autoscaler/cloudprovider/digitalocean/godo/action_test.go

This file was deleted.

Loading

0 comments on commit 7c45ece

Please sign in to comment.