//
// Code generated by gen/KubernetesWatchGenerator
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
//
using k8s.Models;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace k8s
{
public partial interface IKubernetes
{
{{#.}}
///
/// {{ToXmlDoc operation.description}}
///
{{#operation.actualParameters}}
{{#isRequired}}
///
/// {{ToXmlDoc description}}
///
{{/isRequired}}
{{/operation.actualParameters}}
{{#operation.actualParameters}}
{{^isRequired}}
///
/// {{ToXmlDoc description}}
///
{{/isRequired}}
{{/operation.actualParameters}}
///
/// The headers that will be added to request.
///
///
/// The action to invoke when the server sends a new event.
///
///
/// The action to invoke when an error occurs.
///
///
/// The action to invoke when the server closes the connection.
///
///
/// A which can be used to cancel the asynchronous operation.
///
///
/// A which represents the asynchronous operation, and returns a new watcher.
///
Task> {{GetMethodName operation}}(
{{#operation.actualParameters}}
{{#isRequired}}
{{GetDotNetType type name isRequired}} {{GetDotNetName name}},
{{/isRequired}}
{{/operation.actualParameters}}
{{#operation.actualParameters}}
{{^isRequired}}
{{GetDotNetType .}} {{GetDotNetName .}} = null,
{{/isRequired}}
{{/operation.actualParameters}}
Dictionary> customHeaders = null,
Action onEvent = null,
Action onError = null,
Action onClosed = null,
CancellationToken cancellationToken = default(CancellationToken));
{{/.}}
}
}