Documentation ¶
Index ¶
- func NewACLService(ctx context.Context, svc service.Service, acls ...*idm.ACL) (grpc.ClientConnInterface, error)
- func NewRolesService(ctx context.Context, svc service.Service, roles ...*idm.Role) (grpc.ClientConnInterface, error)
- func NewUsersService(ctx context.Context, svc service.Service, users ...*idm.User) (grpc.ClientConnInterface, error)
- func NewWorkspacesService(ctx context.Context, svc service.Service, ww ...*idm.Workspace) (grpc.ClientConnInterface, error)
- func RegisterIdmMocksWithData(ctx context.Context, testData *TestData) error
- type TestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewACLService ¶
func NewRolesService ¶
func NewUsersService ¶
func NewUsersService(ctx context.Context, svc service.Service, users ...*idm.User) (grpc.ClientConnInterface, error)
NewUsersService registers a mock - Warning, passed context must contain necessary data to resolve DAO
func NewWorkspacesService ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.