Class LogsOperationsExtensions
Extension methods for Kubernetes.
Inherited Members
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public static class LogsOperationsExtensions
Methods
View SourceLogFileHandler(ILogsOperations, string)
Declaration
public static void LogFileHandler(this ILogsOperations operations, string logpath)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogsOperations | operations | The operations group for this extension method. |
| string | logpath | path to the log |
LogFileHandlerAsync(ILogsOperations, string, CancellationToken)
Declaration
public static Task LogFileHandlerAsync(this ILogsOperations operations, string logpath, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogsOperations | operations | The operations group for this extension method. |
| string | logpath | path to the log |
| CancellationToken | cancellationToken | A CancellationToken which can be used to cancel the asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task |
LogFileListHandler(ILogsOperations)
Declaration
public static void LogFileListHandler(this ILogsOperations operations)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogsOperations | operations | The operations group for this extension method. |
LogFileListHandlerAsync(ILogsOperations, CancellationToken)
Declaration
public static Task LogFileListHandlerAsync(this ILogsOperations operations, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogsOperations | operations | The operations group for this extension method. |
| CancellationToken | cancellationToken | A CancellationToken which can be used to cancel the asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task |