#include <rbac_policy.h>
Classes | |
struct | CidrRange |
struct | Permission |
struct | Policy |
struct | Principal |
Public Types | |
enum | Action { Action::kAllow, Action::kDeny } |
Public Member Functions | |
Rbac & | operator= (Rbac &&other) noexcept |
Rbac ()=default | |
Rbac (Rbac &&other) noexcept | |
Rbac (Rbac::Action action, std::map< std::string, Policy > policies) | |
std::string | ToString () const |
Public Attributes | |
Action | action |
std::map< std::string, Policy > | policies |
Definition at line 35 of file rbac_policy.h.
|
strong |
Enumerator | |
---|---|
kAllow | |
kDeny |
Definition at line 36 of file rbac_policy.h.
|
default |
grpc_core::Rbac::Rbac | ( | Rbac::Action | action, |
std::map< std::string, Policy > | policies | ||
) |
Definition at line 33 of file rbac_policy.cc.
|
noexcept |
Definition at line 36 of file rbac_policy.cc.
Definition at line 39 of file rbac_policy.cc.
std::string grpc_core::Rbac::ToString | ( | ) | const |
Definition at line 45 of file rbac_policy.cc.
Action grpc_core::Rbac::action |
Definition at line 172 of file rbac_policy.h.
Definition at line 173 of file rbac_policy.h.