Documentation
¶
Index ¶
- func AssignRole(ctx context.Context, ...) (*pb.AssignRoleResponse, error)
- func DeleteGroup(ctx context.Context, domainType, domainID, groupName string, ...) (*pb.DeleteGroupResponse, error)
- func DeleteRole(ctx context.Context, domainType, domainID, roleName string, ...) (*pb.DeleteRoleResponse, error)
- func DescribeGroup(ctx context.Context, domainType, domainID, groupName string, ...) (*pb.DescribeGroupResponse, error)
- func DescribeRole(ctx context.Context, domainType, domainID, roleName string, ...) (*pb.DescribeRoleResponse, error)
- func FindUser(org, id, email string) (*models.User, error)
- func ListGroupUsers(ctx context.Context, domainType, domainID, groupName string, ...) (*pb.ListGroupUsersResponse, error)
- func ListGroups(ctx context.Context, domainType string, domainID string, ...) (*pb.ListGroupsResponse, error)
- func ListRoles(ctx context.Context, domainType string, domainID string, ...) (*pb.ListRolesResponse, error)
- func ListUsers(ctx context.Context, domainType string, domainID string, includeRoles bool, ...) (*pb.ListUsersResponse, error)
- func RemoveUserFromGroup(ctx context.Context, ...) (*pbGroups.RemoveUserFromGroupResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignRole ¶
func AssignRole(ctx context.Context, orgID, domainType, domainID, roleName, userID, userEmail string, authService authorization.Authorization) (*pb.AssignRoleResponse, error)
func DeleteGroup ¶
func DeleteGroup(ctx context.Context, domainType, domainID, groupName string, authService authorization.Authorization) (*pb.DeleteGroupResponse, error)
func DeleteRole ¶
func DeleteRole(ctx context.Context, domainType, domainID, roleName string, authService authorization.Authorization) (*pb.DeleteRoleResponse, error)
func DescribeGroup ¶
func DescribeGroup(ctx context.Context, domainType, domainID, groupName string, authService authorization.Authorization) (*pb.DescribeGroupResponse, error)
func DescribeRole ¶
func DescribeRole(ctx context.Context, domainType, domainID, roleName string, authService authorization.Authorization) (*pb.DescribeRoleResponse, error)
func ListGroupUsers ¶
func ListGroupUsers(ctx context.Context, domainType, domainID, groupName string, authService authorization.Authorization) (*pb.ListGroupUsersResponse, error)
func ListGroups ¶
func ListGroups(ctx context.Context, domainType string, domainID string, authService authorization.Authorization) (*pb.ListGroupsResponse, error)
func ListRoles ¶
func ListRoles(ctx context.Context, domainType string, domainID string, authService authorization.Authorization) (*pb.ListRolesResponse, error)
func ListUsers ¶
func ListUsers( ctx context.Context, domainType string, domainID string, includeRoles bool, authService authorization.Authorization, ) (*pb.ListUsersResponse, error)
func RemoveUserFromGroup ¶
func RemoveUserFromGroup(ctx context.Context, orgID, domainType, domainID, userID, userEmail, groupName string, authService authorization.Authorization) (*pbGroups.RemoveUserFromGroupResponse, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.