plugin

An add-on package that extends a tool with extra features without changing the tool itself.

In more detail

The host tool defines where plugins plug in and discovers them automatically once installed. Plugins let a small core stay stable while features are added around it.

Examples

Ansible inventory, connection, become, callback and cache plugins all run on the control node; modules, by contrast, run on the managed node.
PostgreSQL loads a logical decoding output plugin such as test_decoding.
ESLint and Babel are both built around plugins; the React Compiler and the JSX transform are Babel plugins, and the hooks rules are an ESLint plugin.
In Terraform, providers are plugins: separate programs that Terraform starts and talks to. terraform init downloads them into the hidden .terraform directory of each configuration. Keeping them separate lets thousands of services be supported while Terraform itself stays small.
In this course: pytest plugins such as pytest-cov add options and hooks; the session header lists the ones loaded. Plugins are installed like any other Python package and pytest discovers them automatically.

Related terms

Taught in

References

Certification courses