Documentation ¶
Index ¶
- Constants
- func BuildConfig(appName string) error
- func ClearConfig(appName string) error
- func CommandBuildConfig(appName string, allApps bool, parallelCount int) error
- func CommandClearConfig(appName string, allApps bool) error
- func CommandDisable(appName string, allApps bool, parallelCount int) error
- func CommandEnable(appName string, allApps bool, parallelCount int) error
- func CommandReport(appName string, format string, infoFlag string) error
- func CommandSet(appName string, proxyType string) error
- func Disable(appName string) error
- func Enable(appName string) error
- func IsAppProxyEnabled(appName string) bool
- func ReportSingleApp(appName string, format string, infoFlag string) error
- func TriggerProxyIsEnabled(appName string) error
- func TriggerProxyType(appName string) error
Constants ¶
const RunInSerial = 0
RunInSerial is the default value for whether to run a command in parallel or not and defaults to -1 (false)
Variables ¶
This section is empty.
Functions ¶
func BuildConfig ¶
BuildConfig rebuilds the proxy config for the specified app
func ClearConfig ¶
ClearConfig clears the proxy config for the specified app
func CommandBuildConfig ¶
CommandBuildConfig rebuilds config for a given app
func CommandClearConfig ¶
CommandClearConfig clears config for a given app
func CommandDisable ¶
CommandDisable disables the proxy for app via command line
func CommandEnable ¶
CommandEnable enables the proxy for app via command line
func CommandReport ¶
CommandReport displays a proxy report for one or more apps
func CommandSet ¶
CommandSet sets a proxy for an app
func IsAppProxyEnabled ¶
IsAppProxyEnabled returns true if proxy is enabled; otherwise return false
func ReportSingleApp ¶
ReportSingleApp is an internal function that displays the proxy report for one or more apps
func TriggerProxyIsEnabled ¶
TriggerProxyIsEnabled prints true or false depending on whether the proxy is enabled
func TriggerProxyType ¶
TriggerProxyType prints out the current proxy type, defaulting to nginx
Types ¶
This section is empty.