plugin_verifier

command
v5.1.3+incompatible Latest Latest
Warning

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

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

README

ATS plugin readiness verifier

This implements the ATS plugin readiness verifier as defined in the blueprint #4628, see https://github.com/apache/trafficcontrol/pull/4628

Synopsis

plugin_verifier [options] [optional_config_file]

Description

The plugin_verifier 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, the plugin_verifier reads its config file input from 'stdin'

Options

--log-location-debug=[value] | -d [value], where to log debugs, default is empty --log-location-error=[value], | -e [value], where to log errors, default is 'stderr' --log-location-info=[value] | -i [value], where to log infos, default is 'stderr' --trafficserver-config-dir=[value] | -c [value], where to find ATS config files, default is '/opt/trafficserver/etc/trafficserver' --trafficserver-plugin-dir=[value] | -p [value], where to find ATS plugins, default is '/opt/trafficserver/libexec/trafficserver' --help | -h, this help message

Exit Status

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.

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