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
42ff28c1
Commit
42ff28c1
authored
Mar 09, 2015
by
Clayton Coleman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5150 from vishh/issue_3628_1
Add json description to v1beta3 API.
parents
1256d9b1
17446061
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
verify-description.sh
hack/verify-description.sh
+1
-1
description.sh
hooks/description.sh
+1
-1
types.go
pkg/api/v1beta3/types.go
+0
-0
No files found.
hack/verify-description.sh
View file @
42ff28c1
...
@@ -37,7 +37,7 @@ find_files() {
...
@@ -37,7 +37,7 @@ find_files() {
\)
-name
'*.go'
\)
-name
'*.go'
}
}
files
=
`
find_files | egrep
"pkg/api/v.[^/]*/types
\.
go"
|
grep
-v
v1beta3
`
files
=
`
find_files | egrep
"pkg/api/v.[^/]*/types
\.
go"
`
for
file
in
$files
for
file
in
$files
do
do
...
...
hooks/description.sh
View file @
42ff28c1
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
# Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise.
# Print 1 if the file in $1 is not in need of additional field descriptions, 0 otherwise.
FILE
=
"
$1
"
FILE
=
"
$1
"
if
grep
json:
"
${
FILE
}
"
|
grep
-v
,inline |
grep
-v
-q
description:
;
then
if
grep
json:
"
${
FILE
}
"
|
grep
-v
,inline |
grep
-v
-q
description:
|
grep
-v
//
;
then
echo
"0"
echo
"0"
else
else
echo
"1"
echo
"1"
...
...
pkg/api/v1beta3/types.go
View file @
42ff28c1
This diff is collapsed.
Click to expand it.
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