Documentation ¶
Overview ¶
Package keymanager provides the CometBFT backed key manager management implementation.
Index ¶
- type ServiceClient
- func (sc *ServiceClient) DeliverEvent(ev *cmtabcitypes.Event) error
- func (sc *ServiceClient) GetEphemeralSecret(ctx context.Context, query *registry.NamespaceQuery) (*secrets.SignedEncryptedEphemeralSecret, error)
- func (sc *ServiceClient) GetMasterSecret(ctx context.Context, query *registry.NamespaceQuery) (*secrets.SignedEncryptedMasterSecret, error)
- func (sc *ServiceClient) GetStatus(ctx context.Context, query *registry.NamespaceQuery) (*secrets.Status, error)
- func (sc *ServiceClient) GetStatuses(ctx context.Context, height int64) ([]*secrets.Status, error)
- func (sc *ServiceClient) StateToGenesis(ctx context.Context, height int64) (*secrets.Genesis, error)
- func (sc *ServiceClient) WatchEphemeralSecrets() (<-chan *secrets.SignedEncryptedEphemeralSecret, *pubsub.Subscription)
- func (sc *ServiceClient) WatchMasterSecrets() (<-chan *secrets.SignedEncryptedMasterSecret, *pubsub.Subscription)
- func (sc *ServiceClient) WatchStatuses() (<-chan *secrets.Status, *pubsub.Subscription)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, querier *app.QueryFactory) (*ServiceClient, error)
New constructs a new CometBFT backed key manager secrets management Backend instance.
func (*ServiceClient) DeliverEvent ¶
func (sc *ServiceClient) DeliverEvent(ev *cmtabcitypes.Event) error
func (*ServiceClient) GetEphemeralSecret ¶
func (sc *ServiceClient) GetEphemeralSecret(ctx context.Context, query *registry.NamespaceQuery) (*secrets.SignedEncryptedEphemeralSecret, error)
func (*ServiceClient) GetMasterSecret ¶
func (sc *ServiceClient) GetMasterSecret(ctx context.Context, query *registry.NamespaceQuery) (*secrets.SignedEncryptedMasterSecret, error)
func (*ServiceClient) GetStatus ¶
func (sc *ServiceClient) GetStatus(ctx context.Context, query *registry.NamespaceQuery) (*secrets.Status, error)
func (*ServiceClient) GetStatuses ¶
func (*ServiceClient) StateToGenesis ¶
func (*ServiceClient) WatchEphemeralSecrets ¶
func (sc *ServiceClient) WatchEphemeralSecrets() (<-chan *secrets.SignedEncryptedEphemeralSecret, *pubsub.Subscription)
func (*ServiceClient) WatchMasterSecrets ¶
func (sc *ServiceClient) WatchMasterSecrets() (<-chan *secrets.SignedEncryptedMasterSecret, *pubsub.Subscription)
func (*ServiceClient) WatchStatuses ¶
func (sc *ServiceClient) WatchStatuses() (<-chan *secrets.Status, *pubsub.Subscription)
Click to show internal directories.
Click to hide internal directories.