Versions in this module Expand all Collapse all v0 v0.1.0 Oct 18, 2020 Changes in this version + const PluginTypeAuthProvider + const PluginTypeAuthVerifier + const PluginTypeConfiguration + var Handshake = plugin.HandshakeConfig + var PluginClients = map[string]*plugin.Client + var PluginMap = map[string]plugin.Plugin + var PluginSearchPath = "./plugins" + func Close() + func FindPluginInPath(path string, rName string, rType string) (string, error) + func GetAuthProviderClient(alias string) (dockerregistryproxyv1.AuthenticationProviderAPIClient, error) + func GetAuthVerifierClient(alias string) (dockerregistryproxyv1.AuthenticationVerifierAPIClient, error) + func GetConfigurationAPIClient(alias string) (dockerregistryproxyv1.ConfigurationAPIClient, error) + func GetStringSliceValue(flag string, req *dockerregistryproxyv1.ConfigureRequest) []string + func LoadPluginsFromConfigSlice(configs []string) error + func MarshalConfigurationValue(t dockerregistryproxyv1.ConfigType, value interface{}) ([]byte, error) + func ResolvePluginTypeNameAndAlias(config string) (string, string, string, error) + func ServeAuthProviderPlugin(impl interface{}) + func ServeAuthVerifierPlugin(impl interface{}) + func UnmarshalConfigurationValue(t dockerregistryproxyv1.ConfigType, value []byte) (interface{}, error) + type AuthProviderGRPCPlugin struct + Impl dockerregistryproxyv1.AuthenticationProviderAPIServer + func (p *AuthProviderGRPCPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *AuthProviderGRPCPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error + type AuthVerifierGRPCPlugin struct + Impl dockerregistryproxyv1.AuthenticationVerifierAPIServer + func (p *AuthVerifierGRPCPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *AuthVerifierGRPCPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error + type ConfigurationGRPCPlugin struct + Impl dockerregistryproxyv1.ConfigurationAPIServer + func (p *ConfigurationGRPCPlugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *ConfigurationGRPCPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error