backends

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Docker

func Docker(route config.Route) router.Handler

Docker is the docker backend. It returns a handler that connects to a Docker container and executes commands via an SSH session.

func Nomad

func Nomad(route config.Route) router.Handler

Nomad is the nomad backend. It returns a handler that connects to a Nomad task and executes commands via an SSH session.

func Proxy

func Proxy(route config.Route) router.Handler

Proxy is the proxy backend. It returns a handler that establishes a proxy session to a remote server based on the provided configuration.

func Serial

func Serial(route config.Route) router.Handler

Serial is the serial backend. It returns a handler that exposes a serial port on an SSH connection.

Types

type Backend

type Backend func(config.Route) router.Handler

Backend represents a seashell backend

func Get

func Get(name string) Backend

Get returns a backend given its name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址