Show / Hide Table of Contents

Interface IApisOperations

Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public interface IApisOperations

Methods

View Source

GetAPIVersionsWithHttpMessagesAsync(IReadOnlyDictionary<string, IReadOnlyList<string>>, CancellationToken)

get available API versions

Declaration
Task<HttpOperationResponse<V1APIGroupList>> GetAPIVersionsWithHttpMessagesAsync(IReadOnlyDictionary<string, IReadOnlyList<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IReadOnlyDictionary<string, IReadOnlyList<string>> customHeaders

The headers that will be added to request.

CancellationToken cancellationToken

A CancellationToken which can be used to cancel the asynchronous operation.

Returns
Type Description
Task<HttpOperationResponse<V1APIGroupList>>

Extension Methods

ApisOperationsExtensions.GetAPIVersions(IApisOperations)
ApisOperationsExtensions.GetAPIVersionsAsync(IApisOperations, CancellationToken)
  • View Source
In this article
Back to top Generated by DocFX