Domain

pt.tecnico.dsi.openstack.keystone.models.Domain
See theDomain companion object
final case class Domain(id: String, name: String, enabled: Boolean, description: String, links: List[Link]) extends Identifiable, RoleAssigner

Attributes

Companion
object
Source
Domain.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait RoleAssigner
trait Identifiable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def roleAssignment[F[_]](using client: KeystoneClient[F]): RoleAssignment[F]

The role assignment for domain

The role assignment for domain

Attributes

Source
Domain.scala

Inherited methods

def assign[F[_]](role: Role)(using evidence$6: KeystoneClient[F]): Assign

Allows assigning the role to user/group on scope.

Allows assigning the role to user/group on scope.

Attributes

Example
 var user: User = ???
 var role: Role = ???
 scope assign role to user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def assign[F[_]](roleId: String)(using evidence$5: KeystoneClient[F]): Assign

Allows assigning the role with roleId to user/group on scope.

Allows assigning the role with roleId to user/group on scope.

Attributes

Example
 var user: User = ???
 scope assign "role-id" to user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def is[F[_]](role: Role)(using evidence$10: KeystoneClient[F]): Is

Allows checking if role is assigned to user/group on scope.

Allows checking if role is assigned to user/group on scope.

Attributes

Example
 var user: User = ???
 var role: Role = ???
 scope is role assignedTo user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def is[F[_]](roleId: String)(using evidence$9: KeystoneClient[F]): Is

Allows checking if the role with roleId is assigned to user/group on scope.

Allows checking if the role with roleId is assigned to user/group on scope.

Attributes

Example
 var user: User = ???
 scope is "role-id" assignedTo user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def listAssignmentsFor[F[_]](group: Group)(using evidence$4: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for group on scope.

Lists the role assignments for group on scope.

Attributes

Example
 var group: Group = ???
 scope listAssignmentsFor group
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def listAssignmentsFor[F[_]](user: User)(using evidence$3: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for user on scope.

Lists the role assignments for user on scope.

Attributes

Example
 var user: User = ???
 scope listAssignmentsFor user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def listAssignmentsForGroup[F[_]](id: String)(using evidence$2: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for the group with id on scope.

Lists the role assignments for the group with id on scope.

Attributes

Example
 scope listAssignmentsFor "group-id"
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def listAssignmentsForUser[F[_]](id: String)(using evidence$1: KeystoneClient[F]): F[List[Role]]

Lists the role assignments for the user with id on scope.

Lists the role assignments for the user with id on scope.

Attributes

Example
 scope listAssignmentsFor "user-id"
Inherited from:
RoleAssigner
Source
RoleAssigner.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def unassign[F[_]](role: Role)(using evidence$8: KeystoneClient[F]): Unassign

Allows unassigning the role from user/group on scope.

Allows unassigning the role from user/group on scope.

Attributes

Example
 var user: User = ???
 var role: Role = ???
 scope unassign role from user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala
def unassign[F[_]](roleId: String)(using evidence$7: KeystoneClient[F]): Unassign

Allows unassigning the role with roleId to user/group on scope.

Allows unassigning the role with roleId to user/group on scope.

Attributes

Example
 var user: User = ???
 scope unassign "role-id" to user
Inherited from:
RoleAssigner
Source
RoleAssigner.scala

Inherited fields

lazy val linksMap: Map[String, Uri]

Attributes

Inherited from:
Identifiable
Source
Identifiable.scala