package
8.0.2
Repository: https://github.com/apache/trafficcontrol.git
Documentation: pkg.go.dev

# README

NAME

t3c-check-reload - Traffic Control Cache Configuration reload check tool

SYNOPSIS

t3c-check-reload

[--help]

[--version]

DESCRIPTION

The t3c-check-reload app takes json input from stdin. A comma-delimited list of config file paths being changed, a comma-delimited a list of plugin packages being installed, and returns whether a reload or restart of the caching proxy service is necessary.

Possible return values are:

'restart' - a service restart is necessary

'reload' - a service reload is necessary

'' - no reload or restart is necessary.

JSON Format

{"changed_files":"<list of files>","installed_plugins":"<list of plugins>"}

OPTIONS

-h, --help

Print usage information and exit

-V, --version

Print version information and exit.

AUTHORS

The t3c application is maintained by Apache Traffic Control project. For help, bug reports, contributing, or anything else, see:

https://trafficcontrol.apache.org/

https://github.com/apache/trafficcontrol

# Functions

ExitNothing returns the "needs nothing" message and exits.
ExitReload returns the "needs reload" message and exits.
ExitRestart returns the "needs restart" message and exits.
StrIsEmpty returns whether str == "".
StrMap applies the given function fn to all strings in strs.
StrRemoveIf removes all strings in strs for which fn returns true.

# Constants

No description provided by the author

# Variables

GitRevision is the git revision the application was built from.
Version is the application version.

# Structs

No description provided by the author