package plugin

import "github.com/moby/swarmkit/v2/node/plugin"

Index

Types

type AddrPlugin

type AddrPlugin interface {
	Plugin
	Addr() net.Addr
}

type Client

type Client interface {
	Call(method string, args, ret interface{}) error
}

type Getter

type Getter interface {
	Get(name, capability string) (Plugin, error)
	GetAllManagedPluginsByCap(capability string) []Plugin
}

type Plugin

type Plugin interface {
	Name() string
	ScopedPath(string) string
	Client() Client
}

Source Files

pluginapi.go

Version
v2.0.0-20250103191802-8c1959736554 (latest)
Published
Jan 3, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
1 week ago

Tools for package owners.