Skip to content

rolebinding

grafonnet.rolebinding

Index

Fields

fn withRole

withRole(value)

PARAMETERS:

  • value (object)

The role we are discussing

fn withRoleMixin

withRoleMixin(value)

PARAMETERS:

  • value (object)

The role we are discussing

fn withSubject

withSubject(value)

PARAMETERS:

  • value (object)

The team or user that has the specified role

fn withSubjectMixin

withSubjectMixin(value)

PARAMETERS:

  • value (object)

The team or user that has the specified role

obj role

fn role.withBuiltinRoleRef

role.withBuiltinRoleRef(value)

PARAMETERS:

  • value (object)

fn role.withBuiltinRoleRefMixin

role.withBuiltinRoleRefMixin(value)

PARAMETERS:

  • value (object)

fn role.withCustomRoleRef

role.withCustomRoleRef(value)

PARAMETERS:

  • value (object)

fn role.withCustomRoleRefMixin

role.withCustomRoleRefMixin(value)

PARAMETERS:

  • value (object)

obj role.BuiltinRoleRef

fn role.BuiltinRoleRef.withKind
role.BuiltinRoleRef.withKind()
fn role.BuiltinRoleRef.withName
role.BuiltinRoleRef.withName(value)

PARAMETERS:

  • value (string)
    • valid values: "viewer", "editor", "admin"

obj role.CustomRoleRef

fn role.CustomRoleRef.withKind
role.CustomRoleRef.withKind()
fn role.CustomRoleRef.withName
role.CustomRoleRef.withName(value)

PARAMETERS:

  • value (string)

obj subject

fn subject.withKind

subject.withKind(value)

PARAMETERS:

  • value (string)
    • valid values: "Team", "User"

fn subject.withName

subject.withName(value)

PARAMETERS:

  • value (string)

The team/user identifier name