t3c-check-refs

command
v6.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 10 Imported by: 0

README

NAME

t3c-check-refs - Traffic Control Cache Configuration generated file reference check tool

SYNOPSIS

t3c-check-refs [-c directory] [-d location] [-e location] [-f files] [-i location] [-p directory] [file]

[--help]

DESCRIPTION

The t3c-check-refs app will read an ATS formatted plugin.config or remap.config file line by line and verify that the plugin '.so' files are available in the filesystem or relative to the ATS plugin installation directory by the absolute or relative plugin filename.

In addition, any plugin parameters that end in '.config', '.cfg', or '.txt' are considered to be plugin configuration files and there existence in the filesystem or relative to the ATS configuration files directory is verified.

The configuration file argument is optional. If no config file argument is supplied, t3c-check-refs reads its config file input from stdin.

OPTIONS

-c, --trafficserver-config-dir=value

directory where ATS config files are stored.
[/opt/trafficserver/etc/trafficserver]

-f, --files-adding=value

comma-delimited list of file names being added, to not fail
to verify if they don't already exist.

-h, --help

Print usage information and exit

-p, --trafficserver-plugin-dir=value

directory where ATS plugins are stored.
[/opt/trafficserver/libexec/trafficserver]

-s, --silent

Silent. Errors are not logged, and the 'verbose' flag is
ignored. If a fatal error occurs, the return code will be
non-zero but no text will be output to stderr

-v, --verbose

Log verbosity. Logging is output to stderr. By default,
errors are logged. To log warnings, pass '-v'. To log info,
pass '-vv'. To omit error logging, see '-s'.

EXIT CODES

Returns 0 if no missing plugin DSO or config files are found. Otherwise the total number of missing plugin DSO and config files are returned.

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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