Show / Hide Table of Contents

Class VersionOperationsExtensions

Extension methods for Kubernetes.

Inheritance
object
VersionOperationsExtensions
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 VersionOperationsExtensions

Methods

View Source

GetCode(IVersionOperations)

get the version information for this server

Declaration
public static VersionInfo GetCode(this IVersionOperations operations)
Parameters
Type Name Description
IVersionOperations operations

The operations group for this extension method.

Returns
Type Description
VersionInfo
View Source

GetCodeAsync(IVersionOperations, CancellationToken)

get the version information for this server

Declaration
public static Task<VersionInfo> GetCodeAsync(this IVersionOperations operations, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IVersionOperations 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<VersionInfo>
  • View Source
In this article
Back to top Generated by DocFX