package
1.25.0
Repository: https://github.com/stripe/stripe-cli.git
Documentation: pkg.go.dev

# Packages

# Functions

CleanupAllClients tears down and disconnects all "managed" plugin clients.
FetchRemoteResource returns the remote resource body.
GetBinaryExtension returns the appropriate file extension for plugin binary.
GetPluginList builds a list of allowed plugins to be installed and run by the CLI.
IsPluginCommand returns true if the command invoked is for a plugin false otherwise.
LookUpPlugin returns the matching plugin object.
RefreshPluginManifest refreshes the plugin manifest.

# Variables

dev mode vars.
dev mode vars.

# Structs

CLIPluginGRPC is the implementation of plugin.GRPCPlugin so we can serve/consume this.
CLIPluginV1 is the implementation of plugin.Plugin so we can serve/consume this This has two methods: Server must return an RPC server for this plugin type.
DispatcherRPCServer is the RPC server that a plugin talks to, conforming to the requirements of net/rpc.
GRPCClient is an implementation of the gRPC client that talks over gRPC.
GRPCServer is the gRPC server that GRPCClient talks to.
Plugin contains the plugin properties.
PluginClient is an implementation that talks over RPC.
PluginList contains a list of plugins.
Release is the type that holds release data for a specific build of a plugin.
TestConfig Implementations out several methods.
TestServers is a struct containing test servers that will be useful for unit testing plugin logic.

# Interfaces

Dispatcher is the interface that we're exposing as a plugin.
DispatcherGRPC is the interface that's implemented by the plugin and used by the host.