Interface IVersionOperations
Namespace: k8s
Assembly: KubernetesClient.dll
Syntax
public interface IVersionOperations
Methods
View SourceGetCodeWithHttpMessagesAsync(IReadOnlyDictionary<string, IReadOnlyList<string>>, CancellationToken)
get the version information for this server
Declaration
Task<HttpOperationResponse<VersionInfo>> GetCodeWithHttpMessagesAsync(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<VersionInfo>> |