Versions in this module Expand all Collapse all v1 v1.1.0 Jun 23, 2024 Changes in this version + func NewSigningPluginConfig() pluggable.PluginTypeConfig + type GClient struct + func NewClient(client proto.SigningProtocolClient) *GClient + func (m *GClient) Connect(ctx context.Context) error + func (m *GClient) Sign(ctx context.Context, ref string) error + func (m *GClient) Verify(ctx context.Context, ref string) error + type GServer struct + func NewServer(c *portercontext.Context, impl plugins.SigningProtocol) *GServer + func (m *GServer) Connect(ctx context.Context, request *proto.ConnectRequest) (*proto.ConnectResponse, error) + func (m *GServer) Sign(ctx context.Context, request *proto.SignRequest) (*proto.SignResponse, error) + func (m *GServer) Verify(ctx context.Context, request *proto.VerifyRequest) (*proto.VerifyResponse, error) + type Plugin struct + func NewPlugin(c *portercontext.Context, impl plugins.SigningProtocol) Plugin + func (p Plugin) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, conn *grpc.ClientConn) (interface{}, error) + func (p Plugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error + type Signer struct + func NewSigner(c *config.Config) *Signer + func (s *Signer) Close() error + func (s *Signer) Connect(ctx context.Context) error + func (s *Signer) Sign(ctx context.Context, ref string) error + func (s *Signer) Verify(ctx context.Context, ref string) error v1.1.0-rc Jun 3, 2024