Class CoreV1Api.APIreadNamespacedPodLogRequest
java.lang.Object
io.kubernetes.client.openapi.apis.CoreV1Api.APIreadNamespacedPodLogRequest
- Enclosing class:
- CoreV1Api
-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.Call
buildCall
(ApiCallback _callback) Build call for readNamespacedPodLogSet containerexecute()
Execute readNamespacedPodLog requestokhttp3.Call
executeAsync
(ApiCallback<String> _callback) Execute readNamespacedPodLog request (asynchronously)Execute readNamespacedPodLog request with HTTP info returnedSet followinsecureSkipTLSVerifyBackend
(Boolean insecureSkipTLSVerifyBackend) Set insecureSkipTLSVerifyBackendlimitBytes
(Integer limitBytes) Set limitBytesSet prettySet previoussinceSeconds
(Integer sinceSeconds) Set sinceSecondsSet tailLinestimestamps
(Boolean timestamps) Set timestamps
-
Method Details
-
container
Set container- Parameters:
container
- The container for which to stream logs. Defaults to only container if there is one container in the pod. (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
follow
Set follow- Parameters:
follow
- Follow the log stream of the pod. Defaults to false. (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
insecureSkipTLSVerifyBackend
public CoreV1Api.APIreadNamespacedPodLogRequest insecureSkipTLSVerifyBackend(Boolean insecureSkipTLSVerifyBackend) Set insecureSkipTLSVerifyBackend- Parameters:
insecureSkipTLSVerifyBackend
- insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
limitBytes
Set limitBytes- Parameters:
limitBytes
- If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
pretty
Set pretty- Parameters:
pretty
- If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
previous
Set previous- Parameters:
previous
- Return previous terminated container logs. Defaults to false. (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
sinceSeconds
Set sinceSeconds- Parameters:
sinceSeconds
- A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
tailLines
Set tailLines- Parameters:
tailLines
- If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
timestamps
Set timestamps- Parameters:
timestamps
- If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional)- Returns:
- APIreadNamespacedPodLogRequest
-
buildCall
Build call for readNamespacedPodLog- Parameters:
_callback
- ApiCallback API callback- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
execute
Execute readNamespacedPodLog request- Returns:
- String
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
executeWithHttpInfo
Execute readNamespacedPodLog request with HTTP info returned- Returns:
- ApiResponse<String>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
executeAsync
Execute readNamespacedPodLog request (asynchronously)- Parameters:
_callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-