Documentation ¶
Index ¶
- func RegisterSettingsBundles(l *olog.Logger)
- type Option
- type Options
- type Service
- func (s Service) AddMember(c context.Context, in *proto.AddMemberRequest, out *proto.Group) (err error)
- func (s Service) CreateAccount(c context.Context, in *proto.CreateAccountRequest, out *proto.Account) (err error)
- func (s Service) CreateGroup(c context.Context, in *proto.CreateGroupRequest, out *proto.Group) (err error)
- func (s Service) DeleteAccount(c context.Context, in *proto.DeleteAccountRequest, out *empty.Empty) (err error)
- func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, out *empty.Empty) (err error)
- func (s Service) GetAccount(c context.Context, in *proto.GetAccountRequest, out *proto.Account) (err error)
- func (s Service) GetGroup(c context.Context, in *proto.GetGroupRequest, out *proto.Group) (err error)
- func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest, ...) (err error)
- func (s Service) ListGroups(c context.Context, in *proto.ListGroupsRequest, out *proto.ListGroupsResponse) (err error)
- func (s Service) ListMembers(c context.Context, in *proto.ListMembersRequest, ...) (err error)
- func (s Service) RemoveMember(c context.Context, in *proto.RemoveMemberRequest, out *proto.Group) (err error)
- func (s Service) UpdateAccount(c context.Context, in *proto.UpdateAccountRequest, out *proto.Account) (err error)
- func (s Service) UpdateGroup(c context.Context, in *proto.UpdateGroupRequest, out *proto.Group) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSettingsBundles ¶ added in v0.2.0
RegisterSettingsBundles pushes the settings bundle definitions for this extension to the ocis-settings service.
Types ¶
type Option ¶ added in v0.2.0
type Option func(o *Options)
Option defines a single option function.
type Service ¶
type Service struct { Config *config.Config Client mclient.Client // contains filtered or unexported fields }
Service implements the AccountsServiceHandler interface
func (Service) AddMember ¶ added in v0.2.0
func (s Service) AddMember(c context.Context, in *proto.AddMemberRequest, out *proto.Group) (err error)
AddMember implements the GroupsServiceHandler interface
func (Service) CreateAccount ¶ added in v0.2.0
func (s Service) CreateAccount(c context.Context, in *proto.CreateAccountRequest, out *proto.Account) (err error)
CreateAccount implements the AccountsServiceHandler interface
func (Service) CreateGroup ¶ added in v0.2.0
func (s Service) CreateGroup(c context.Context, in *proto.CreateGroupRequest, out *proto.Group) (err error)
CreateGroup implements the GroupsServiceHandler interface
func (Service) DeleteAccount ¶ added in v0.2.0
func (s Service) DeleteAccount(c context.Context, in *proto.DeleteAccountRequest, out *empty.Empty) (err error)
DeleteAccount implements the AccountsServiceHandler interface
func (Service) DeleteGroup ¶ added in v0.2.0
func (s Service) DeleteGroup(c context.Context, in *proto.DeleteGroupRequest, out *empty.Empty) (err error)
DeleteGroup implements the GroupsServiceHandler interface
func (Service) GetAccount ¶ added in v0.2.0
func (s Service) GetAccount(c context.Context, in *proto.GetAccountRequest, out *proto.Account) (err error)
GetAccount implements the AccountsServiceHandler interface
func (Service) GetGroup ¶ added in v0.2.0
func (s Service) GetGroup(c context.Context, in *proto.GetGroupRequest, out *proto.Group) (err error)
GetGroup implements the GroupsServiceHandler interface
func (Service) ListAccounts ¶ added in v0.2.0
func (s Service) ListAccounts(ctx context.Context, in *proto.ListAccountsRequest, out *proto.ListAccountsResponse) (err error)
ListAccounts implements the AccountsServiceHandler interface the query contains account properties
func (Service) ListGroups ¶ added in v0.2.0
func (s Service) ListGroups(c context.Context, in *proto.ListGroupsRequest, out *proto.ListGroupsResponse) (err error)
ListGroups implements the GroupsServiceHandler interface
func (Service) ListMembers ¶ added in v0.2.0
func (s Service) ListMembers(c context.Context, in *proto.ListMembersRequest, out *proto.ListMembersResponse) (err error)
ListMembers implements the GroupsServiceHandler interface
func (Service) RemoveMember ¶ added in v0.2.0
func (s Service) RemoveMember(c context.Context, in *proto.RemoveMemberRequest, out *proto.Group) (err error)
RemoveMember implements the GroupsServiceHandler interface
func (Service) UpdateAccount ¶ added in v0.2.0
func (s Service) UpdateAccount(c context.Context, in *proto.UpdateAccountRequest, out *proto.Account) (err error)
UpdateAccount implements the AccountsServiceHandler interface read only fields are ignored TODO how can we unset specific values? using the update mask