Show / Hide Table of Contents

Class ResourceOperationsExtensions

Extension methods for Kubernetes.

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

Methods

View Source

GetAPIGroup(IResourceOperations)

get information of a group

Declaration
public static V1APIGroup GetAPIGroup(this IResourceOperations operations)
Parameters
Type Name Description
IResourceOperations operations

The operations group for this extension method.

Returns
Type Description
V1APIGroup
View Source

GetAPIGroupAsync(IResourceOperations, CancellationToken)

get information of a group

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