Skip to content

Commit

Permalink
move forked golang code to a common dir with LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Jun 29, 2016
1 parent 64d5588 commit 8c42c08
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 62 deletions.
2 changes: 1 addition & 1 deletion cmd/libs/go2idl/go-to-protobuf/protobuf/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"reflect"
"strings"

customreflect "k8s.io/kubernetes/third_party/forked/reflect"
customreflect "k8s.io/kubernetes/third_party/forked/golang/reflect"
)

func rewriteFile(name string, header []byte, rewriteFn func(*token.FileSet, *ast.File) error) error {
Expand Down
2 changes: 1 addition & 1 deletion pkg/conversion/deep_equal.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
package conversion

import (
"k8s.io/kubernetes/third_party/forked/reflect"
"k8s.io/kubernetes/third_party/forked/golang/reflect"
)

// The code for this type must be located in third_party, since it forks from
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/container/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/types"
hashutil "k8s.io/kubernetes/pkg/util/hash"
"k8s.io/kubernetes/third_party/forked/expansion"
"k8s.io/kubernetes/third_party/forked/golang/expansion"

"github.com/golang/glog"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import (
"k8s.io/kubernetes/pkg/watch"
"k8s.io/kubernetes/plugin/pkg/scheduler/algorithm/predicates"
"k8s.io/kubernetes/plugin/pkg/scheduler/schedulercache"
"k8s.io/kubernetes/third_party/forked/expansion"
"k8s.io/kubernetes/third_party/forked/golang/expansion"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/httpstream/spdy/roundtripper.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
apierrors "k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/util/httpstream"
"k8s.io/kubernetes/third_party/forked/netutil"
"k8s.io/kubernetes/third_party/forked/golang/netutil"
)

// SpdyRoundTripper knows how to upgrade an HTTP request to one that supports
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/jsonpath/jsonpath.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"reflect"
"strings"

"k8s.io/kubernetes/third_party/forked/template"
"k8s.io/kubernetes/third_party/forked/golang/template"
)

type JSONPath struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/proxy/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/golang/glog"

utilnet "k8s.io/kubernetes/pkg/util/net"
"k8s.io/kubernetes/third_party/forked/netutil"
"k8s.io/kubernetes/third_party/forked/golang/netutil"
)

func DialURL(url *url.URL, transport http.RoundTripper) (net.Conn, error) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/util/strategicpatch/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"sort"

"k8s.io/kubernetes/pkg/util/json"
forkedjson "k8s.io/kubernetes/third_party/forked/json"
forkedjson "k8s.io/kubernetes/third_party/forked/golang/json"

"github.com/davecgh/go-spew/spew"
"github.com/ghodss/yaml"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 0 additions & 27 deletions third_party/forked/reflect/LICENSE

This file was deleted.

27 changes: 0 additions & 27 deletions third_party/golang/LICENSE

This file was deleted.

0 comments on commit 8c42c08

Please sign in to comment.