Enable kubectl logs po
This commit is contained in:
@@ -24,7 +24,10 @@ type Provider interface {
|
||||
// GetPod retrieves a pod by name from the provider (can be cached).
|
||||
GetPod(namespace, name string) (*v1.Pod, error)
|
||||
|
||||
// GetPodStatus retrievesthe status of a pod by name from the provider.
|
||||
// GetPodLogs retrieves the logs of a pod by name from the provider.
|
||||
GetPodLogs(namespace, name string) (string, error)
|
||||
|
||||
// GetPodStatus retrieves the status of a pod by name from the provider.
|
||||
GetPodStatus(namespace, name string) (*v1.PodStatus, error)
|
||||
|
||||
// GetPods retrieves a list of all pods running on the provider (can be cached).
|
||||
@@ -37,6 +40,10 @@ type Provider interface {
|
||||
// within Kuberentes.
|
||||
NodeConditions() []v1.NodeCondition
|
||||
|
||||
// NodeAddresses returns a list of addresses for the node status
|
||||
// within Kuberentes.
|
||||
NodeAddresses() []v1.NodeAddress
|
||||
|
||||
// OperatingSystem returns the operating system the provider is for.
|
||||
OperatingSystem() string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user