Add stubs for three missing service interface functions

This commit is contained in:
Benedikt Kulmann
2020-07-01 11:05:32 +02:00
parent b1ba52f02b
commit b58ddeeb62
+15 -1
View File
@@ -33,7 +33,6 @@ import (
)
// New returns a new instance of Service
// TODO pass in logger as options
func New(opts ...Option) (s *Service, err error) {
options := newOptions(opts...)
logger := options.Logger
@@ -421,6 +420,21 @@ func (s Service) DeleteGroup(c context.Context, req *proto.DeleteGroupRequest, r
return errors.New("not implemented")
}
// AddMember implements the AccountsServiceHandler interface
func (s Service) AddMember(c context.Context, req *proto.AddMemberRequest, res *proto.Group) error {
return errors.New("not implemented")
}
// RemoveMember implements the AccountsServiceHandler interface
func (s Service) RemoveMember(c context.Context, req *proto.RemoveMemberRequest, res *proto.Group) error {
return errors.New("not implemented")
}
// ListMembers implements the AccountsServiceHandler interface
func (s Service) ListMembers(c context.Context, req *proto.ListMembersRequest, res *proto.ListMembersResponse) error {
return errors.New("not implemented")
}
// RegisterSettingsBundles pushes the settings bundle definitions for this extension to the ocis-settings service.
func RegisterSettingsBundles(l *log.Logger) {
// TODO this won't work with a registry other than mdns. Look into Micro's client initialization.