Documentation
¶
Index ¶
- func AuthContextToGRPC(v *identitymanagement.AuthContext) *grpcidentitymanagementv1.AuthContext
- func FromGRPCGroup(v *grpcidentitymanagementv1.Group) identitymanagement.Group
- func FromGRPCGroups(groups []*grpcidentitymanagementv1.Group) []identitymanagement.Group
- func FromGRPCUser(v *grpcidentitymanagementv1.User) identitymanagement.User
- func FromGRPCUsers(users []*grpcidentitymanagementv1.User) []identitymanagement.User
- type Repository
- type V1
- func (v1 *V1) GetGroup(ctx context.Context, req *identitymanagement.GetGroupRequest) (*identitymanagement.GetGroupResponse, error)
- func (v1 *V1) ListGroupUsers(ctx context.Context, req *identitymanagement.ListGroupUsersRequest) (*identitymanagement.ListGroupUsersResponse, error)
- func (v1 *V1) ListGroups(ctx context.Context, req *identitymanagement.ListGroupsRequest) (*identitymanagement.ListGroupsResponse, error)
- func (v1 *V1) ListUserGroups(ctx context.Context, req *identitymanagement.ListUserGroupsRequest) (*identitymanagement.ListUserGroupsResponse, error)
- func (v1 *V1) ServiceInfo() api.Info
- func (v1 *V1) Version() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthContextToGRPC ¶
func AuthContextToGRPC(v *identitymanagement.AuthContext) *grpcidentitymanagementv1.AuthContext
func FromGRPCGroup ¶
func FromGRPCGroup(v *grpcidentitymanagementv1.Group) identitymanagement.Group
func FromGRPCGroups ¶
func FromGRPCGroups(groups []*grpcidentitymanagementv1.Group) []identitymanagement.Group
func FromGRPCUser ¶
func FromGRPCUser(v *grpcidentitymanagementv1.User) identitymanagement.User
func FromGRPCUsers ¶
func FromGRPCUsers(users []*grpcidentitymanagementv1.User) []identitymanagement.User
Types ¶
type Repository ¶
type Repository struct {
Instance identitymanagement.IdentityManagement
}
func (*Repository) Clear ¶
func (repo *Repository) Clear()
func (*Repository) IdentityManagement ¶
func (repo *Repository) IdentityManagement() (identitymanagement.IdentityManagement, bool)
func (*Repository) SetIdentityManagement ¶
func (repo *Repository) SetIdentityManagement(instance identitymanagement.IdentityManagement)
type V1 ¶
type V1 struct {
plugin.Facade
grpcidentitymanagementv1.IdentityManagementServicePluginClient
}
func (*V1) GetGroup ¶
func (v1 *V1) GetGroup( ctx context.Context, req *identitymanagement.GetGroupRequest, ) (*identitymanagement.GetGroupResponse, error)
func (*V1) ListGroupUsers ¶
func (v1 *V1) ListGroupUsers( ctx context.Context, req *identitymanagement.ListGroupUsersRequest, ) (*identitymanagement.ListGroupUsersResponse, error)
func (*V1) ListGroups ¶
func (v1 *V1) ListGroups( ctx context.Context, req *identitymanagement.ListGroupsRequest, ) (*identitymanagement.ListGroupsResponse, error)
func (*V1) ListUserGroups ¶
func (v1 *V1) ListUserGroups( ctx context.Context, req *identitymanagement.ListUserGroupsRequest, ) (*identitymanagement.ListUserGroupsResponse, error)
func (*V1) ServiceInfo ¶
Click to show internal directories.
Click to hide internal directories.