Show / Hide Table of Contents

Interface ICoreOperations

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

Methods

View Source

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

get available API versions

Declaration
Task<HttpOperationResponse<V1APIVersions>> 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<V1APIVersions>>

Extension Methods

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