remote-server-plugin

command
v0.15.15 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

README

Remote Server Plugin

This example is just like the simple example, but it registers an external server as a plugin. The example plugin implements the Watch RPC, which allows the plugin to be notified of changes to the mesh state. The plugin also injects a querier that can be used to query the mesh state.

Running

You can run the example with the following command:

# Start the plugin server
go run ./main.go -listen-address :8081

# In another terminal, start the nodes
docker-compose up

The plugin will be notified when the join-node is added to the mesh state.

Documentation

Overview

This is an example plugin that runs as a remote server. It registers to watch events from the Mesh and prints them to stdout.

Jump to

Keyboard shortcuts

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