;ELC   
;;; Compiled
;;; in Emacs version 29.4
;;; with all optimizations.



(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\301\311\312\313\314&	\210\302\315\304\305\316DD\317\310\301\311\312\313\320&	\210\302\321\304\305\322DD\323\310\301\311\312\313\324&	\207" [require tramp custom-declare-variable tramp-docker-program funcall function #[0 "\300\207" ["docker"] 1 #1=""] "Name of the Docker client program." :group :version "29.1" :type (choice (const "docker") (string)) tramp-podman-program #[0 "\300\207" ["podman"] 1 #1#] "Name of the Podman client program." (choice (const "podman") (string)) tramp-kubernetes-program #[0 "\300\207" ["kubectl"] 1 #1#] "Name of the Kubernetes client program." (choice (const "kubectl") (string))] 10)#@59 Tramp method name to use to connect to Docker containers.
(defconst tramp-docker-method "docker" (#$ . 758))#@59 Tramp method name to use to connect to Podman containers.
(defconst tramp-podman-method "podman" (#$ . 872))#@63 Tramp method name to use to connect to Kubernetes containers.
(defconst tramp-kubernetes-method "kubernetes" (#$ . 986))#@286 List running containers available for connection.
PROGRAM is the program to be run for "ps", either
`tramp-docker-program' or `tramp-podman-program'.

This function is used by `tramp-set-completion-function', please
see its function help for a description of the format.

(fn PROGRAM)
(defalias 'tramp-container--completion-function #[257 "\211\205 \302\303P!\211\205 \304\305\306#\211\205 \307\310\"\211\205' \307\311\312\313\"\")\207" [tramp-compat-temporary-file-directory default-directory shell-command-to-string " ps --format '{{.ID}}	{{.Names}}'" split-string "\n" omit mapcar #[257 "\300\301\"\205 \302\303\"\206 \302\304\"\207" [string-match "^\\(.+\\)	\\(.+\\)?$" match-string 2 1] 4 "\n\n(fn LINE)"] #[257 "\300D\207" [nil] 3 "\n\n(fn NAME)"] delq nil] 10 (#$ . 1113)])#@186 List Kubernetes pods available for connection.

This function is used by `tramp-set-completion-function', please
see its function help for a description of the format.

(fn &rest ARGS)
(defalias 'tramp-kubernetes--completion-function #[128 "\211\205 \303\n\304P!\211\205 \305\306\307#\211\205 \310\311\")\207" [tramp-compat-temporary-file-directory default-directory tramp-kubernetes-program shell-command-to-string " get pods --no-headers -o custom-columns=NAME:.metadata.name" split-string "\n" omit mapcar #[257 "\300D\207" [nil] 3 "\n\n(fn NAME)"]] 7 (#$ . 1915)])#@66 Return Kubernetes current context data as JSON string.

(fn VEC)
(defalias 'tramp-kubernetes--current-context-data #[257 "\301\302\303\"r\211q\210\304\305\"\216\306\307\303\307\310\311&\312U\205? eb\210`\313 {\314 \210\306\307\303\307\310\315\316\317\320\"&	\312U\205= \321 \262*\207" [tramp-kubernetes-program generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205	 \302\300!\207" [V0 buffer-name kill-buffer] 2] tramp-call-process nil "config" "current-context" 0 line-end-position erase-buffer "view" "-o" format "jsonpath='{.contexts[?(@.name == \"%s\")]}'" buffer-string] 15 (#$ . 2497)])
(byte-code "\300\301\302\"\210\300\303\304\"\210\305\306!\207" [add-hook tramp--startup-hook #[0 "\306\307\310	D\311\312\n\313BD\314\nD\315BBBBB\"\210\306\307\310\fD\316\312\n\317BD\314\nD\320BBBBB\"\210\306\307\310D\321\322\312\n\323BD\314\nD\324BBBBBB\"\210\325\326\327	!DC\"\210\325\326\327\f!DC\"\210\325\330\"\207" [tramp-docker-method tramp-docker-program tramp-default-remote-shell tramp-podman-method tramp-podman-program tramp-kubernetes-method add-to-list tramp-methods tramp-login-program (tramp-login-args (("exec") ("-it") ("-u" "%u") ("%h") ("%l"))) tramp-direct-async ("-c") tramp-remote-shell ((tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-i" "-c"))) (tramp-login-args (("exec") ("-it") ("-u" "%u") ("%h") ("%l"))) ("-c") ((tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-i" "-c"))) (tramp-login-args (("exec") ("%h") ("-it") ("--") ("%l"))) (tramp-config-check tramp-kubernetes--current-context-data) ("-c") ((tramp-remote-shell-login ("-l")) (tramp-remote-shell-args ("-i" "-c"))) tramp-set-completion-function tramp-container--completion-function executable-find ((tramp-kubernetes--completion-function "")) tramp-kubernetes-program] 9] tramp-unload-hook #[0 "\300\301\302\"\207" [unload-feature tramp-container force] 3] provide tramp-container] 3)
