public interface RBACOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPolicies(String key)
Maps from policy name to policy.
|
RBAC.Action |
getAction()
The action to take if a policy matches.
|
int |
getActionValue()
The action to take if a policy matches.
|
Map<String,Policy> |
getPolicies()
Deprecated.
|
int |
getPoliciesCount()
Maps from policy name to policy.
|
Map<String,Policy> |
getPoliciesMap()
Maps from policy name to policy.
|
Policy |
getPoliciesOrDefault(String key,
Policy defaultValue)
Maps from policy name to policy.
|
Policy |
getPoliciesOrThrow(String key)
Maps from policy name to policy.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getActionValue()
The action to take if a policy matches. Every action either allows or denies a request,
and can also carry out action-specific operations.
Actions:
* ALLOW: Allows the request if and only if there is a policy that matches
the request.
* DENY: Allows the request if and only if there are no policies that
match the request.
* LOG: Allows all requests. If at least one policy matches, the dynamic
metadata key `access_log_hint` is set to the value `true` under the shared
key namespace 'envoy.common'. If no policies match, it is set to `false`.
Other actions do not modify this key.
.envoy.config.rbac.v4alpha.RBAC.Action action = 1 [(.validate.rules) = { ... }RBAC.Action getAction()
The action to take if a policy matches. Every action either allows or denies a request,
and can also carry out action-specific operations.
Actions:
* ALLOW: Allows the request if and only if there is a policy that matches
the request.
* DENY: Allows the request if and only if there are no policies that
match the request.
* LOG: Allows all requests. If at least one policy matches, the dynamic
metadata key `access_log_hint` is set to the value `true` under the shared
key namespace 'envoy.common'. If no policies match, it is set to `false`.
Other actions do not modify this key.
.envoy.config.rbac.v4alpha.RBAC.Action action = 1 [(.validate.rules) = { ... }int getPoliciesCount()
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v4alpha.Policy> policies = 2;boolean containsPolicies(String key)
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v4alpha.Policy> policies = 2;@Deprecated Map<String,Policy> getPolicies()
getPoliciesMap() instead.Map<String,Policy> getPoliciesMap()
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v4alpha.Policy> policies = 2;Policy getPoliciesOrDefault(String key, Policy defaultValue)
Maps from policy name to policy. A match occurs when at least one policy matches the request.
map<string, .envoy.config.rbac.v4alpha.Policy> policies = 2;Copyright © 2018–2021 The Envoy Project. All rights reserved.