Commit 2663bcc8 authored by Michelle Noorali's avatar Michelle Noorali Committed by Michelle Noorali

ref(kubectl): update GetByKind func description

parent 8f747a1c
......@@ -13,7 +13,7 @@ func (r RealRunner) Get(stdin []byte, ns string) ([]byte, error) {
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) {
args := []string{"get", kind}
......@@ -42,7 +42,7 @@ func (r PrintRunner) Get(stdin []byte, ns string) ([]byte, error) {
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) {
args := []string{"get", kind}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment