Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ef5ee331
Commit
ef5ee331
authored
Aug 03, 2017
by
Kubernetes Submit Queue
Committed by
GitHub
Aug 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #49368 from sttts/sttts-clean-go2idl
Automatic merge from submit-queue Remove remaining traces of go2idl
parents
42a73ee3
ea39971b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
11 deletions
+6
-11
verify-api-groups.sh
hack/verify-api-groups.sh
+2
-3
swagger_doc_generator.go
.../k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go
+1
-1
main.go
staging/src/k8s.io/kube-gen/cmd/client-gen/main.go
+1
-1
conversion.go
...s.io/kube-gen/cmd/conversion-gen/generators/conversion.go
+1
-2
main.go
staging/src/k8s.io/kube-gen/cmd/set-gen/main.go
+1
-1
test_owners.csv
test/test_owners.csv
+0
-3
No files found.
hack/verify-api-groups.sh
View file @
ef5ee331
...
@@ -31,7 +31,7 @@ while IFS= read -d $'\0' -r file ; do
...
@@ -31,7 +31,7 @@ while IFS= read -d $'\0' -r file ; do
done
< <
(
find
"
${
KUBE_ROOT
}
"
/pkg/apis
-name
register.go
-print0
)
done
< <
(
find
"
${
KUBE_ROOT
}
"
/pkg/apis
-name
register.go
-print0
)
# every register file should contain a GroupName. Gather the different representations.
# every register file should contain a GroupName. Gather the different representations.
# 1. group directory name for
go2idl
client gen
# 1. group directory name for client gen
# 2. external group versions for init.sh all APIs list
# 2. external group versions for init.sh all APIs list
# 3. install packages for inclusion in import_known_versions files
# 3. install packages for inclusion in import_known_versions files
group_dirnames
=()
group_dirnames
=()
...
@@ -125,4 +125,4 @@ for external_group_version in "${external_group_versions[@]}"; do
...
@@ -125,4 +125,4 @@ for external_group_version in "${external_group_versions[@]}"; do
echo
"missing
${
external_group_version
}
from hack/lib/init.sh:/KUBE_AVAILABLE_GROUP_VERSIONS or hack/init.sh:/KUBE_NONSERVER_GROUP_VERSIONS"
echo
"missing
${
external_group_version
}
from hack/lib/init.sh:/KUBE_AVAILABLE_GROUP_VERSIONS or hack/init.sh:/KUBE_NONSERVER_GROUP_VERSIONS"
exit
1
exit
1
fi
fi
done
done
\ No newline at end of file
staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go
View file @
ef5ee331
...
@@ -71,7 +71,7 @@ func fmtRawDoc(rawDoc string) string {
...
@@ -71,7 +71,7 @@ func fmtRawDoc(rawDoc string) string {
delPrevChar
()
delPrevChar
()
buffer
.
WriteString
(
"
\n\n
"
)
buffer
.
WriteString
(
"
\n\n
"
)
case
strings
.
HasPrefix
(
leading
,
"TODO"
)
:
// Ignore one line TODOs
case
strings
.
HasPrefix
(
leading
,
"TODO"
)
:
// Ignore one line TODOs
case
strings
.
HasPrefix
(
leading
,
"+"
)
:
// Ignore instructions to
go2idl
case
strings
.
HasPrefix
(
leading
,
"+"
)
:
// Ignore instructions to
the generators
default
:
default
:
if
strings
.
HasPrefix
(
line
,
" "
)
||
strings
.
HasPrefix
(
line
,
"
\t
"
)
{
if
strings
.
HasPrefix
(
line
,
" "
)
||
strings
.
HasPrefix
(
line
,
"
\t
"
)
{
delPrevChar
()
delPrevChar
()
...
...
staging/src/k8s.io/kube-gen/cmd/client-gen/main.go
View file @
ef5ee331
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
// client-gen makes the individual typed clients using g
o2idl
.
// client-gen makes the individual typed clients using g
engo
.
package
main
package
main
import
(
import
(
...
...
staging/src/k8s.io/kube-gen/cmd/conversion-gen/generators/conversion.go
View file @
ef5ee331
...
@@ -35,8 +35,7 @@ import (
...
@@ -35,8 +35,7 @@ import (
"github.com/golang/glog"
"github.com/golang/glog"
)
)
// CustomArgs is used tby the go2idl framework to pass args specific to this
// CustomArgs is used by the gengo framework to pass args specific to this generator.
// generator.
type
CustomArgs
struct
{
type
CustomArgs
struct
{
ExtraPeerDirs
[]
string
// Always consider these as last-ditch possibilities for conversions.
ExtraPeerDirs
[]
string
// Always consider these as last-ditch possibilities for conversions.
// Skipunsafe indicates whether to generate unsafe conversions to improve the efficiency
// Skipunsafe indicates whether to generate unsafe conversions to improve the efficiency
...
...
staging/src/k8s.io/kube-gen/cmd/set-gen/main.go
View file @
ef5ee331
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
...
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
*/
*/
// set-gen is an example usage of g
o2idl
.
// set-gen is an example usage of g
engo
.
//
//
// Structs in the input directories with the below line in their comments will
// Structs in the input directories with the below line in their comments will
// have sets generated for them.
// have sets generated for them.
...
...
test/test_owners.csv
View file @
ef5ee331
...
@@ -583,9 +583,6 @@ k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig,apelisse,1,
...
@@ -583,9 +583,6 @@ k8s.io/kubernetes/cmd/kubeadm/app/util/kubeconfig,apelisse,1,
k8s.io/kubernetes/cmd/kubeadm/app/util/token,sttts,1,
k8s.io/kubernetes/cmd/kubeadm/app/util/token,sttts,1,
k8s.io/kubernetes/cmd/kubeadm/test/cmd,krousey,0,
k8s.io/kubernetes/cmd/kubeadm/test/cmd,krousey,0,
k8s.io/kubernetes/cmd/kubelet/app,derekwaynecarr,0,
k8s.io/kubernetes/cmd/kubelet/app,derekwaynecarr,0,
k8s.io/kubernetes/cmd/libs/go2idl/client-gen/types,caesarxuchao,0,
k8s.io/kubernetes/cmd/libs/go2idl/go-to-protobuf/protobuf,smarterclayton,0,
k8s.io/kubernetes/cmd/libs/go2idl/openapi-gen/generators,davidopp,1,
k8s.io/kubernetes/cmd/mungedocs,mwielgus,1,
k8s.io/kubernetes/cmd/mungedocs,mwielgus,1,
k8s.io/kubernetes/examples,Random-Liu,0,
k8s.io/kubernetes/examples,Random-Liu,0,
k8s.io/kubernetes/federation/apis/federation/install,nikhiljindal,0,
k8s.io/kubernetes/federation/apis/federation/install,nikhiljindal,0,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment