Interface ILogsOperations
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public interface ILogsOperations
Methods
View SourceLogFileHandlerWithHttpMessagesAsync(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> |
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> |