chainloop_example_plugin

module
v0.0.0-...-22fdc77 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: Apache-2.0

README

Chainloop Example Plugin

An example plugin for Chainloop that uses the experimental CLI plugin API.

Prerequisites

Keep in mind that this uses the experimental CLI plugin API, which is subject to change and is not yet part of the Chainloop main branch. You need to check out the code from the 2090 pull request branch and:

go mod edit -replace github.com/chainloop-dev/chainloop=../../chainloop/

The above command should reflect your directory structure. After that run:

go mod tidy 

Before you'll be able to complie the code.

Compiling

go build -o plugin ./cmd/

Installing (on macOS)

mv plugin "$HOME/Library/Application Support/chainloop/plugins/"

Test change

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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