Add logs to Interface

This commit is contained in:
Jake Sanders 2019-12-17 16:30:09 +00:00
parent c3607c23e7
commit 51f4bc6d56

View File

@ -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