Show / Hide Table of Contents

Interface ILogsOperations

Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public interface ILogsOperations

Methods

View Source

LogFileHandlerWithHttpMessagesAsync(string, IReadOnlyDictionary<string, IReadOnlyList<string>>, CancellationToken)

Declaration
Task<HttpOperationResponse> LogFileHandlerWithHttpMessagesAsync(string logpath, IReadOnlyDictionary<string, IReadOnlyList<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string logpath

path to the log

IReadOnlyDictionary<string, IReadOnlyList<string>> customHeaders

The headers that will be added to request.

CancellationToken cancellationToken

A CancellationToken which can be used to cancel the asynchronous operation.

Returns
Type Description
Task<HttpOperationResponse>
View Source

LogFileListHandlerWithHttpMessagesAsync(IReadOnlyDictionary<string, IReadOnlyList<string>>, CancellationToken)

Declaration
Task<HttpOperationResponse> LogFileListHandlerWithHttpMessagesAsync(IReadOnlyDictionary<string, IReadOnlyList<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IReadOnlyDictionary<string, IReadOnlyList<string>> customHeaders

The headers that will be added to request.

CancellationToken cancellationToken

A CancellationToken which can be used to cancel the asynchronous operation.

Returns
Type Description
Task<HttpOperationResponse>

Extension Methods

LogsOperationsExtensions.LogFileHandler(ILogsOperations, string)
LogsOperationsExtensions.LogFileHandlerAsync(ILogsOperations, string, CancellationToken)
LogsOperationsExtensions.LogFileListHandler(ILogsOperations)
LogsOperationsExtensions.LogFileListHandlerAsync(ILogsOperations, CancellationToken)
  • View Source
In this article
Back to top Generated by DocFX