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