Show / Hide Table of Contents

Class ApisOperationsExtensions

Extension methods for Kubernetes.

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

Methods

View Source

GetAPIVersions(IApisOperations)

get available API versions

Declaration
public static V1APIGroupList GetAPIVersions(this IApisOperations operations)
Parameters
Type Name Description
IApisOperations operations

The operations group for this extension method.

Returns
Type Description
V1APIGroupList
View Source

GetAPIVersionsAsync(IApisOperations, CancellationToken)

get available API versions

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