using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace k8s { public partial interface IKubernetes { /// /// Executes a command in a container in a pod. /// /// /// The name of the pod which contains the container in which to execute the command. /// /// /// The namespace of the container. /// /// /// The container in which to run the command. /// /// /// The command to execute. /// /// /// if allocate a pseudo-TTY /// /// /// A callback which processes the standard input, standard output and standard error. /// /// /// A which can be used to cancel the asynchronous operation. /// /// /// A which represents the asynchronous operation. /// Task NamespacedPodExecAsync(string name, string @namespace, string container, IEnumerable command, bool tty, ExecAsyncCallback action, CancellationToken cancellationToken); } }