Documentation ¶
Index ¶
- func HandleSSHConnection(conn net.Conn, sshConfig *ssh.ServerConfig, clientset kubernetes.Interface, ...)
- func RunServer(reconcileInterval, sshPort, metricsPort int, namespace, privateKeyPath string)
- type SFTPHandler
- func (h *SFTPHandler) FileChmod(r *sftp.Request) error
- func (h *SFTPHandler) FileGet(r *sftp.Request) (io.ReaderAt, error)
- func (h *SFTPHandler) FileList(r *sftp.Request) ([]os.FileInfo, error)
- func (h *SFTPHandler) FilePut(r *sftp.Request) (io.WriterAt, error)
- func (h *SFTPHandler) FileRemove(r *sftp.Request) error
- func (h *SFTPHandler) FileRename(r *sftp.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSSHConnection ¶
func HandleSSHConnection(conn net.Conn, sshConfig *ssh.ServerConfig, clientset kubernetes.Interface, restConfig *rest.Config)
Types ¶
type SFTPHandler ¶
type SFTPHandler struct { Clientset kubernetes.Interface Config *rest.Config Namespace string PodName string ContainerName string }
func (*SFTPHandler) FileRemove ¶
func (h *SFTPHandler) FileRemove(r *sftp.Request) error
func (*SFTPHandler) FileRename ¶
func (h *SFTPHandler) FileRename(r *sftp.Request) error
Click to show internal directories.
Click to hide internal directories.