scripts

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PowerShell = iota
	Bash
	Unknown
)

Variables

This section is empty.

Functions

func DetectScriptByExtension

func DetectScriptByExtension(name string) int

Given a script name return the resulting extension

func EscapeString

func EscapeString(content string) string

Format a string by escaping quotes

func ScriptToSSMCommands

func ScriptToSSMCommands(script string) []string

Return a script formatted for a command argument

func ScriptTypeByName

func ScriptTypeByName(name string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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