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