System

pt.tecnico.dsi.openstack.keystone.models.System$
case object System extends RoleAssigner

Attributes

Source
System.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait RoleAssigner
class Object
trait Matchable
class Any
Show all
Self type
System.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Value members

Concrete methods

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

The role assignment for scope

The role assignment for scope

Attributes

Source
System.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 fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.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