Skip to content

oauth.v1.scopeRestriction

"ScopeRestriction describe one restriction on scopes. Exactly one option must be non-nil."

Index

Fields

fn withLiterals

withLiterals(literals)

"ExactValues means the scope has to match a particular set of strings exactly"

fn withLiteralsMixin

withLiteralsMixin(literals)

"ExactValues means the scope has to match a particular set of strings exactly"

Note: This function appends passed data to existing values

obj clusterRole

"ClusterRoleScopeRestriction describes restrictions on cluster role scopes"

fn clusterRole.withAllowEscalation

withAllowEscalation(allowEscalation)

"AllowEscalation indicates whether you can request roles and their escalating resources"

fn clusterRole.withNamespaces

withNamespaces(namespaces)

"Namespaces is the list of namespaces that can be referenced. * means any of them (including *)"

fn clusterRole.withNamespacesMixin

withNamespacesMixin(namespaces)

"Namespaces is the list of namespaces that can be referenced. * means any of them (including *)"

Note: This function appends passed data to existing values

fn clusterRole.withRoleNames

withRoleNames(roleNames)

"RoleNames is the list of cluster roles that can referenced. * means anything"

fn clusterRole.withRoleNamesMixin

withRoleNamesMixin(roleNames)

"RoleNames is the list of cluster roles that can referenced. * means anything"

Note: This function appends passed data to existing values