https://github.com/inspektor-gadget/gadget-template
Template to create your own gadgets
https://github.com/inspektor-gadget/gadget-template
Last synced: 13 days ago
JSON representation
Template to create your own gadgets
- Host: GitHub
- URL: https://github.com/inspektor-gadget/gadget-template
- Owner: inspektor-gadget
- License: apache-2.0
- Created: 2024-02-11T11:30:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-01T11:01:02.000Z (7 months ago)
- Last Synced: 2025-03-31T09:37:20.930Z (about 1 month ago)
- Language: C
- Size: 20.5 KB
- Stars: 6
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gadget-template
This repository is a template repository to help you create your own gadgets.
Steps to use this template:
- Click on [use this template](https://github.com/new?template_name=gadget-template&template_owner=inspektor-gadget)
- Choose a name for your repository
- Click on *Create repository*
- Update the placeholders (`git grep -i CHANGEME`, `git grep -i TODO`)
- Write your eBPF program (follow [Hello world gadget](https://www.inspektor-gadget.io/docs/latest/gadget-devel/hello-world-gadget))
- Delete this section from README.md---
# CHANGEME-GADGET-NAME
CHANGEME-GADGET-NAME is a [gadget from Inspektor
Gadget](https://inspektor-gadget.io/). It detects CHANGEME...## How to use
```bash
$ sudo ig run ghcr.io/CHANGEME-ORG/CHANGEME-GADGET-NAME:latest
```## Requirements
- ig v0.26.0 (CHANGEME)
- Linux v5.15 (CHANGEME)## License (CHANGEME)
The user space components are licensed under the [Apache License, Version
2.0](LICENSE). The BPF code templates are licensed under the [General Public
License, Version 2.0, with the Linux-syscall-note](LICENSE-bpf.txt).