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.9.0 (latest)
Published
Dec 12, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
2 months ago

Tools for package owners.