usePodLogs()
Home > @backstage/plugin-kubernetes-react
> usePodLogs
Retrieves the logs for the given pod
Signature:
usePodLogs: ({ containerScope, previous }: PodLogsOptions) => import("react-use/esm/useAsyncFn").AsyncState<{
text: string;
}>
Parameters
Parameter |
Type |
Description |
---|---|---|
{ containerScope, previous } |
import("react-use/esm/useAsyncFn").AsyncState<{ text: string; }>