Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginInfo ¶
type PluginInfo struct {
ModuleName string // store
PluginPath string // store.in
FuncName string // run
IsRead bool
HandlerName string // "" marks a module constant
ConstantValue starlark.Value
// RequiresAuth marks a privileged system plugin that anonymous callers may
// not invoke unless security.unsafe_allow_system_plugins_anon is set
RequiresAuth bool
// Remote marks a function served by an out-of-process plugin provider;
// the call is dispatched over gRPC to the provider named by ProviderName.
// Otherwise the function is served by the in-process provider of that
// name, through the direct value bridge
Remote bool
ProviderName string
}
PluginInfo is the info for one plugin module function (or constant), used to build the hooked Starlark module at load time. All plugins are SDK plugins (pkg/plugin ModuleDef); Remote selects the dispatch transport.
type PluginMap ¶
type PluginMap map[string]*PluginInfo
PluginMap is the plugin function mapping to PluginFuncs
Click to show internal directories.
Click to hide internal directories.