package skel

import "github.com/containerd/nri/skel"

Index

Functions

func Run

func Run(ctx context.Context, plugin Plugin) error

Run the plugin from a main() function

Types

type Plugin

type Plugin interface {
	// Type or plugin name
	Type() string
	// Invoke the plugin
	Invoke(context.Context, *types.Request) (*types.Result, error)
}

Plugin for modifications of resources

Source Files

skel.go

Version
v0.8.0
Published
Oct 31, 2024
Platform
js/wasm
Imports
5 packages
Last checked
20 hours ago

Tools for package owners.