Show / Hide Table of Contents

Class CoreOperationsExtensions

Extension methods for Kubernetes.

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

Methods

View Source

GetAPIVersions(ICoreOperations)

get available API versions

Declaration
public static V1APIVersions GetAPIVersions(this ICoreOperations operations)
Parameters
Type Name Description
ICoreOperations operations

The operations group for this extension method.

Returns
Type Description
V1APIVersions
View Source

GetAPIVersionsAsync(ICoreOperations, CancellationToken)

get available API versions

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