Files
k8s-set-context/node_modules/@kubernetes/client-node/dist/attach.d.ts
github-actions[bot] 52d71d28bd Add node modules and compiled JavaScript from main (#54)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-29 15:41:55 -04:00

13 lines
612 B
TypeScript

/// <reference types="node" />
/// <reference types="ws" />
import WebSocket = require('isomorphic-ws');
import stream = require('stream');
import { KubeConfig } from './config';
import { WebSocketInterface } from './web-socket-handler';
export declare class Attach {
'handler': WebSocketInterface;
private terminalSizeQueue?;
constructor(config: KubeConfig, websocketInterface?: WebSocketInterface);
attach(namespace: string, podName: string, containerName: string, stdout: stream.Writable | any, stderr: stream.Writable | any, stdin: stream.Readable | any, tty: boolean): Promise<WebSocket>;
}