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

adjust package name for pkg/cloudprovider directory #15435

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
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package aws_cloud
package aws

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws_instancegroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package aws_cloud
package aws

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws_loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package aws_cloud
package aws

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package aws_cloud
package aws

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package aws_cloud
package aws

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/aws/aws_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package aws_cloud
package aws

import (
"github.com/aws/aws-sdk-go/aws"
Expand Down
4 changes: 2 additions & 2 deletions pkg/cloudprovider/providers/fake/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package fake_cloud is a test-double implementation of cloudprovider
// Package fake is a test-double implementation of cloudprovider
// Interface, TCPLoadBalancer and Instances. It is useful for testing.
package fake_cloud
package fake
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/fake/fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package fake_cloud
package fake

import (
"errors"
Expand Down
4 changes: 2 additions & 2 deletions pkg/cloudprovider/providers/gce/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package gce_cloud is an implementation of Interface, TCPLoadBalancer
// Package gce is an implementation of Interface, TCPLoadBalancer
// and Instances for Google Compute Engine.
package gce_cloud
package gce
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/gce/gce.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package gce_cloud
package gce

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/gce/gce_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package gce_cloud
package gce

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/gce/token_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package gce_cloud
package gce

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/ovirt/ovirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package ovirt_cloud
package ovirt

import (
"encoding/xml"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/ovirt/ovirt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package ovirt_cloud
package ovirt

import (
"io"
Expand Down
4 changes: 2 additions & 2 deletions pkg/cloudprovider/providers/vagrant/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package vagrant_cloud is an implementation of Interface, TCPLoadBalancer
// Package vagrant is an implementation of Interface, TCPLoadBalancer
// and Instances for developer managed Vagrant cluster.
package vagrant_cloud
package vagrant
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/vagrant/vagrant.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package vagrant_cloud
package vagrant

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloudprovider/providers/vagrant/vagrant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package vagrant_cloud
package vagrant

import (
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/route/routecontroller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/cloudprovider"
"k8s.io/kubernetes/pkg/cloudprovider/providers/fake"
fake_cloud "k8s.io/kubernetes/pkg/cloudprovider/providers/fake"
)

func TestIsResponsibleForRoute(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/aws_ebs/aws_ebs.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/cloudprovider/providers/aws"
aws_cloud "k8s.io/kubernetes/pkg/cloudprovider/providers/aws"
"k8s.io/kubernetes/pkg/types"
"k8s.io/kubernetes/pkg/util"
"k8s.io/kubernetes/pkg/util/exec"
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/gce_pd/gce_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/golang/glog"
"k8s.io/kubernetes/pkg/cloudprovider"
"k8s.io/kubernetes/pkg/cloudprovider/providers/gce"
gce_cloud "k8s.io/kubernetes/pkg/cloudprovider/providers/gce"
"k8s.io/kubernetes/pkg/util"
"k8s.io/kubernetes/pkg/util/exec"
"k8s.io/kubernetes/pkg/util/operationmanager"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"k8s.io/kubernetes/pkg/api/resource"
"k8s.io/kubernetes/pkg/api/unversioned"
client "k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/cloudprovider/providers/aws"
aws_cloud "k8s.io/kubernetes/pkg/cloudprovider/providers/aws"
"k8s.io/kubernetes/pkg/fields"
"k8s.io/kubernetes/pkg/labels"
"k8s.io/kubernetes/pkg/util"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/resize_nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"k8s.io/kubernetes/pkg/cloudprovider/providers/aws"
aws_cloud "k8s.io/kubernetes/pkg/cloudprovider/providers/aws"
)

const (
Expand Down