Documentation
¶
Index ¶
- func NewRegistration(ns string, dbRegister serviceregistry.DBRegister) *serviceregistry.Service[keyMgmtConnect.KeyManagementServiceHandler]
- func OnConfigUpdate(svc *Service) serviceregistry.OnConfigUpdateHook
- type Service
- func (ksvc *Service) Close()
- func (ksvc Service) CreateProviderConfig(ctx context.Context, ...) (*connect.Response[keyMgmtProto.CreateProviderConfigResponse], error)
- func (ksvc Service) DeleteProviderConfig(ctx context.Context, ...) (*connect.Response[keyMgmtProto.DeleteProviderConfigResponse], error)
- func (ksvc Service) GetProviderConfig(ctx context.Context, ...) (*connect.Response[keyMgmtProto.GetProviderConfigResponse], error)
- func (ksvc Service) ListProviderConfigs(ctx context.Context, ...) (*connect.Response[keyMgmtProto.ListProviderConfigsResponse], error)
- func (ksvc Service) UpdateProviderConfig(ctx context.Context, ...) (*connect.Response[keyMgmtProto.UpdateProviderConfigResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistration ¶
func NewRegistration(ns string, dbRegister serviceregistry.DBRegister) *serviceregistry.Service[keyMgmtConnect.KeyManagementServiceHandler]
func OnConfigUpdate ¶
func OnConfigUpdate(svc *Service) serviceregistry.OnConfigUpdateHook
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Close ¶ added in v0.5.5
func (ksvc *Service) Close()
Close gracefully shuts down the service, closing the database client.
func (Service) CreateProviderConfig ¶
func (ksvc Service) CreateProviderConfig(ctx context.Context, req *connect.Request[keyMgmtProto.CreateProviderConfigRequest]) (*connect.Response[keyMgmtProto.CreateProviderConfigResponse], error)
func (Service) DeleteProviderConfig ¶
func (ksvc Service) DeleteProviderConfig(ctx context.Context, req *connect.Request[keyMgmtProto.DeleteProviderConfigRequest]) (*connect.Response[keyMgmtProto.DeleteProviderConfigResponse], error)
func (Service) GetProviderConfig ¶
func (ksvc Service) GetProviderConfig(ctx context.Context, req *connect.Request[keyMgmtProto.GetProviderConfigRequest]) (*connect.Response[keyMgmtProto.GetProviderConfigResponse], error)
func (Service) ListProviderConfigs ¶
func (ksvc Service) ListProviderConfigs(ctx context.Context, req *connect.Request[keyMgmtProto.ListProviderConfigsRequest]) (*connect.Response[keyMgmtProto.ListProviderConfigsResponse], error)
func (Service) UpdateProviderConfig ¶
func (ksvc Service) UpdateProviderConfig(ctx context.Context, req *connect.Request[keyMgmtProto.UpdateProviderConfigRequest]) (*connect.Response[keyMgmtProto.UpdateProviderConfigResponse], error)
Click to show internal directories.
Click to hide internal directories.