Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
2663bcc8
Commit
2663bcc8
authored
Mar 04, 2016
by
Michelle Noorali
Committed by
Michelle Noorali
Mar 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ref(kubectl): update GetByKind func description
parent
8f747a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
get.go
pkg/kubectl/get.go
+2
-2
No files found.
pkg/kubectl/get.go
View file @
2663bcc8
...
@@ -13,7 +13,7 @@ func (r RealRunner) Get(stdin []byte, ns string) ([]byte, error) {
...
@@ -13,7 +13,7 @@ func (r RealRunner) Get(stdin []byte, ns string) ([]byte, error) {
return
cmd
.
CombinedOutput
()
return
cmd
.
CombinedOutput
()
}
}
// GetByKind gets
a named thing by kind.
// GetByKind gets
resources by kind, name(optional), and namespace(optional)
func
(
r
RealRunner
)
GetByKind
(
kind
,
name
,
ns
string
)
(
string
,
error
)
{
func
(
r
RealRunner
)
GetByKind
(
kind
,
name
,
ns
string
)
(
string
,
error
)
{
args
:=
[]
string
{
"get"
,
kind
}
args
:=
[]
string
{
"get"
,
kind
}
...
@@ -42,7 +42,7 @@ func (r PrintRunner) Get(stdin []byte, ns string) ([]byte, error) {
...
@@ -42,7 +42,7 @@ func (r PrintRunner) Get(stdin []byte, ns string) ([]byte, error) {
return
[]
byte
(
cmd
.
String
()),
nil
return
[]
byte
(
cmd
.
String
()),
nil
}
}
// GetByKind gets
a named thing by kind.
// GetByKind gets
resources by kind, name(optional), and namespace(optional)
func
(
r
PrintRunner
)
GetByKind
(
kind
,
name
,
ns
string
)
(
string
,
error
)
{
func
(
r
PrintRunner
)
GetByKind
(
kind
,
name
,
ns
string
)
(
string
,
error
)
{
args
:=
[]
string
{
"get"
,
kind
}
args
:=
[]
string
{
"get"
,
kind
}
...
...
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