cfappssh

package
v0.0.0-...-f34f428 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPreventRedirect = errors.New("prevent-redirect")

ErrPreventRedirect - Error to indicate a redirect - used to make a redirect that we want to prevent later

Functions

func Init

Init creates a new CFAppSSH

Types

type CFAppSSH

type CFAppSSH struct {
	// contains filtered or unexported fields
}

CFAppSSH - Plugin to allow SSH into an application instance

func (*CFAppSSH) AddAdminGroupRoutes

func (CFAppSSH *CFAppSSH) AddAdminGroupRoutes(echoGroup *echo.Group)

AddAdminGroupRoutes adds the admin routes for this plugin to the Echo server

func (*CFAppSSH) AddSessionGroupRoutes

func (CFAppSSH *CFAppSSH) AddSessionGroupRoutes(echoGroup *echo.Group)

AddSessionGroupRoutes adds the session routes for this plugin to the Echo server

func (*CFAppSSH) GetEndpointPlugin

func (CFAppSSH *CFAppSSH) GetEndpointPlugin() (interfaces.EndpointPlugin, error)

GetEndpointPlugin gets the endpoint plugin for this plugin

func (*CFAppSSH) GetMiddlewarePlugin

func (CFAppSSH *CFAppSSH) GetMiddlewarePlugin() (interfaces.MiddlewarePlugin, error)

GetMiddlewarePlugin gets the middleware plugin for this plugin

func (*CFAppSSH) GetRoutePlugin

func (CFAppSSH *CFAppSSH) GetRoutePlugin() (interfaces.RoutePlugin, error)

GetRoutePlugin gets the route plugin for this plugin

func (*CFAppSSH) Init

func (CFAppSSH *CFAppSSH) Init() error

Init performs plugin initialization

type KeyCode

type KeyCode struct {
	Key  string `json:"key"`
	Cols int    `json:"cols"`
	Rows int    `json:"rows"`
}

KeyCode - JSON object that is passed from the front-end to notify of a key press or a term resize

Jump to

Keyboard shortcuts

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