Class DiscoveryOperationsExtensions
Extension methods for Kubernetes.
Inherited Members
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public static class DiscoveryOperationsExtensions
Methods
View SourceGetAPIGroup(IDiscoveryOperations)
get information of a group
Declaration
public static V1APIGroup GetAPIGroup(this IDiscoveryOperations operations)
Parameters
| Type | Name | Description |
|---|---|---|
| IDiscoveryOperations | operations | The operations group for this extension method. |
Returns
| Type | Description |
|---|---|
| V1APIGroup |
GetAPIGroupAsync(IDiscoveryOperations, CancellationToken)
get information of a group
Declaration
public static Task<V1APIGroup> GetAPIGroupAsync(this IDiscoveryOperations operations, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| IDiscoveryOperations | 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> |