Show / Hide Table of Contents

Class PolicyOperationsExtensions

Extension methods for Kubernetes.

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

Methods

GetAPIGroup(IPolicyOperations)

get information of a group

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

The operations group for this extension method.

Returns
Type Description
V1APIGroup

GetAPIGroupAsync(IPolicyOperations, CancellationToken)

get information of a group

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