Show / Hide Table of Contents

Class LogsOperationsExtensions

Extension methods for Kubernetes.

Inheritance
object
LogsOperationsExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public static class LogsOperationsExtensions

Methods

LogFileHandler(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
In this article
Back to top Generated by DocFX