This repository was archived by the owner on Feb 8, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-13
lines changed Expand file tree Collapse file tree 5 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ language: go
9
9
10
10
matrix :
11
11
include :
12
- - go : 1.4
12
+ - go : 1.6
13
13
14
14
install :
15
15
- mkdir -p $HOME/gopath/src/k8s.io
@@ -24,8 +24,8 @@ install:
24
24
- go get github.com/mattn/goveralls
25
25
- go get github.com/jstemmer/go-junit-report
26
26
- ./hack/install-etcd.sh
27
- - ./hack/build-go.sh
28
- - godep go install ./...
27
+ - travis_wait 30 ./hack/build-go.sh
28
+ - travis_wait 30 godep go install ./...
29
29
- ./hack/verify-gofmt.sh
30
30
- ./hack/verify-boilerplate.sh
31
31
- ./hack/verify-description.sh
Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import (
32
32
"k8s.io/kubernetes/cmd/libs/go2idl/generator"
33
33
"k8s.io/kubernetes/cmd/libs/go2idl/namer"
34
34
"k8s.io/kubernetes/cmd/libs/go2idl/types"
35
-
36
35
//"github.com/golang/glog"
37
36
)
38
37
Original file line number Diff line number Diff line change @@ -153,10 +153,10 @@ var FooAnotherVar proto.Frobber = proto.AnotherVar
153
153
tmpl := template .Must (
154
154
template .New ("" ).
155
155
Funcs (
156
- map [string ]interface {}{
157
- "Name" : testNamer .Name ,
158
- "Raw" : rawNamer .Name ,
159
- }).
156
+ map [string ]interface {}{
157
+ "Name" : testNamer .Name ,
158
+ "Raw" : rawNamer .Name ,
159
+ }).
160
160
Parse (tmplText ),
161
161
)
162
162
buf := & bytes.Buffer {}
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import (
26
26
"k8s.io/kubernetes/pkg/apimachinery/registered"
27
27
"k8s.io/kubernetes/pkg/runtime"
28
28
"k8s.io/kubernetes/pkg/securitycontext"
29
-
30
29
//"github.com/ghodss/yaml"
31
30
)
32
31
Original file line number Diff line number Diff line change @@ -152,13 +152,13 @@ type HyperContainer struct {
152
152
}
153
153
154
154
type HyperServiceBackend struct {
155
- HostIP string `json:"hostip "`
156
- HostPort int `json:"hostport "`
155
+ HostIP string `json:"hostIP "`
156
+ HostPort int `json:"hostPort "`
157
157
}
158
158
159
159
type HyperService struct {
160
- ServiceIP string `json:"serviceip "`
161
- ServicePort int `json:"serviceport "`
160
+ ServiceIP string `json:"serviceIP "`
161
+ ServicePort int `json:"servicePort "`
162
162
Protocol string `json:"protocol"`
163
163
Hosts []HyperServiceBackend `json:"hosts"`
164
164
}
You can’t perform that action at this time.
0 commit comments