MCPcopy Index your code
hub / github.com/devspace-sh/devspace / Logs

Method Logs

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

Logs starts a new logs request to the given pod and container and returns a ReadCloser interface to allow continuous reading. Can also follow a log if specified.

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

Source from the content-addressed store, hash-verified

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.
79 Logs(ctx context.Context, namespace, podName, containerName string, lastContainerLog bool, tail *int64, follow bool) (io.ReadCloser, error)
80
81 // IsInCluster returns true if in cluster kubernetes configuration is detected
82 IsInCluster() bool

Callers 5

StartLogsWithWriterFunction · 0.65
StartLogsFunction · 0.65
PrintPodInfoMethod · 0.65
ExecuteRemotelyMethod · 0.65
logsMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected