MCPcopy Create free account
hub / github.com/devspace-sh/devspace / ReadLogs

Method ReadLogs

pkg/devspace/kubectl/client.go:75–75  ·  view source on GitHub ↗

ReadLogs starts a new logs request to the given pod and container

(ctx context.Context, namespace, podName, containerName string, lastContainerLog bool, tail *int64)

Source from the content-addressed store, hash-verified

73
74 // ReadLogs starts a new logs request to the given pod and container
75 ReadLogs(ctx context.Context, namespace, podName, containerName string, lastContainerLog bool, tail *int64) (string, error)
76
77 // Logs starts a new logs request to the given pod and container and returns a ReadCloser interface
78 // to allow continuous reading. Can also follow a log if specified.

Callers 1

getContainerProblemFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected