Skip to content
/ apisix-plugin-template Public template

Simple template to get started with custom Apache APISIX plugins

License

Notifications You must be signed in to change notification settings

api7/apisix-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APISIX Plugin Template

Build Status

This template can be used to create custom Lua plugins for Apache APISIX.

Table of Contents

Usage

You can use this template by clicking the "Use this template" button on the top.

You can then clone the newly generated repository to your local machine and write your custom code.

Back to TOC

Plugin Template Structure

The template contains the following files:

.
├── .github/         GitHub Actions workflows and Dependabot configuration files
├── apisix           All files in this folder will be copied and will overwrite the original APISIX files
│   └── plugins/     Your custom plugin goes here
├── ci               All files in this folder will be copied and will overwrite the original APISIX
│   └── utils/       CI utils script folder
├── t/               Test cases go here
├── LICENSE
├── Makefile
└── README.md

Back to TOC

Testing

To test your custom plugin, you can write tests for it and run these tests in the CI.

The ci.yml workflow runs the tests cases in the t folder on push and pull_request events.

Back to TOC

Learn More

About

Simple template to get started with custom Apache APISIX plugins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published