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
2e80c3a0
Unverified
Commit
2e80c3a0
authored
Nov 28, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 28, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69874 from stewart-yu/patch-1
fix some wrong type in printers.go
parents
c2d93cb1
a7f0e449
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
printers.go
pkg/printers/internalversion/printers.go
+4
-4
No files found.
pkg/printers/internalversion/printers.go
View file @
2e80c3a0
...
...
@@ -370,7 +370,7 @@ func AddHandlers(h printers.PrintHandler) {
{
Name
:
"Age"
,
Type
:
"string"
,
Description
:
metav1
.
ObjectMeta
{}
.
SwaggerDoc
()[
"creationTimestamp"
]},
{
Name
:
"Role"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
rbacv1beta1
.
RoleBinding
{}
.
SwaggerDoc
()[
"roleRef"
]},
{
Name
:
"Users"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Users in the roleBinding"
},
{
Name
:
"Groups"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Gr
uo
ps in the roleBinding"
},
{
Name
:
"Groups"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Gr
ou
ps in the roleBinding"
},
{
Name
:
"ServiceAccounts"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"ServiceAccounts in the roleBinding"
},
}
h
.
TableHandler
(
roleBindingsColumnDefinitions
,
printRoleBinding
)
...
...
@@ -380,9 +380,9 @@ func AddHandlers(h printers.PrintHandler) {
{
Name
:
"Name"
,
Type
:
"string"
,
Format
:
"name"
,
Description
:
metav1
.
ObjectMeta
{}
.
SwaggerDoc
()[
"name"
]},
{
Name
:
"Age"
,
Type
:
"string"
,
Description
:
metav1
.
ObjectMeta
{}
.
SwaggerDoc
()[
"creationTimestamp"
]},
{
Name
:
"Role"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
rbacv1beta1
.
ClusterRoleBinding
{}
.
SwaggerDoc
()[
"roleRef"
]},
{
Name
:
"Users"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Users in the
r
oleBinding"
},
{
Name
:
"Groups"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Gr
uops in the r
oleBinding"
},
{
Name
:
"ServiceAccounts"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"ServiceAccounts in the
r
oleBinding"
},
{
Name
:
"Users"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Users in the
clusterR
oleBinding"
},
{
Name
:
"Groups"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"Gr
oups in the clusterR
oleBinding"
},
{
Name
:
"ServiceAccounts"
,
Type
:
"string"
,
Priority
:
1
,
Description
:
"ServiceAccounts in the
clusterR
oleBinding"
},
}
h
.
TableHandler
(
clusterRoleBindingsColumnDefinitions
,
printClusterRoleBinding
)
h
.
TableHandler
(
clusterRoleBindingsColumnDefinitions
,
printClusterRoleBindingList
)
...
...
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