shellsupport

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2017 License: Apache-2.0 Imports: 2 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterShellHandler

func RegisterShellHandler(shell string, fn ShellHandler)

RegisterShellHandler registers a ShellHandler for a given shell. The shell name must be the last part of the path. So for example for /bin/bash it would be "bash"

Types

type ShellHandler

type ShellHandler func(credentials.AWSCredential, bool) []string

ShellHandler defines the method stub to implement for every supported shell

func GetShellHandler

func GetShellHandler(shell string) (ShellHandler, error)

GetShellHandler returns a ShellHandler for the given shell name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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