Class ApisOperationsExtensions
Extension methods for Kubernetes.
Inherited Members
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public static class ApisOperationsExtensions
Methods
View SourceGetAPIVersions(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 |
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> |