Add logs to Interface
This commit is contained in:
parent
c3607c23e7
commit
51f4bc6d56
@ -2,6 +2,7 @@
|
||||
package client
|
||||
|
||||
import (
|
||||
"io"
|
||||
"strings"
|
||||
|
||||
"github.com/micro/go-micro/util/log"
|
||||
@ -24,6 +25,8 @@ type Kubernetes interface {
|
||||
Delete(*Resource) error
|
||||
// List lists API resources
|
||||
List(*Resource) error
|
||||
// Logs gets logs from a pod
|
||||
Logs(string) (io.ReadCloser, error)
|
||||
}
|
||||
|
||||
// NewService returns default micro kubernetes service definition
|
||||
|
Loading…
x
Reference in New Issue
Block a user