Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Types = []Type{ TypeBackend, }
Types is a wrapper around plugin type constants for discovery purposes.
var VersionedPlugins = map[int]plugin.PluginSet{ 1: { "backend": &BackendPlugin{}, }, }
VersionedPlugins is a map of PluginSets used to negotiate a compatible version between stori and plugin servers.
Functions ¶
This section is empty.
Types ¶
type BackendPlugin ¶
BackendPlugin implements plugin.Plugin.
type BackendServer ¶
BackendServer is a net/rpc compatible structure for serving a backend.
type BlobStorePlugin ¶
BlobStorePlugin implements plugin.Plugin.
func (*BlobStorePlugin) Client ¶
func (bs *BlobStorePlugin) Client()
Client returns client used to interact with the blobstore server.
type BlobStoreServer ¶
BlobStoreServer is a net/rpc compatible structure for serving a blobstore
type TokenAuthenticator ¶
TokenAuthenticator is an implementation of authn.TokenAuthenticator that communicates over RPC.
type TokenAuthenticatorPlugin ¶
type TokenAuthenticatorPlugin struct {
TokenAuthenticator func() authn.TokenAuthenticator
}
TokenAuthenticatorPlugin implements plugin.Plugin.
type TokenAuthenticatorServer ¶
type TokenAuthenticatorServer struct {
Broker *plugin.MuxBroker
TokenAuthenticator authn.TokenAuthenticator
}
TokenAuthenticatorServer is a net/rpc compatible structure for serving a TokenAuthenticator.