Classes | Public Types | Public Member Functions | Public Attributes | List of all members
grpc_core::Rbac Struct Reference

#include <rbac_policy.h>

Classes

struct  CidrRange
 
struct  Permission
 
struct  Policy
 
struct  Principal
 

Public Types

enum  Action { Action::kAllow, Action::kDeny }
 

Public Member Functions

Rbacoperator= (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, Policypolicies
 

Detailed Description

Definition at line 35 of file rbac_policy.h.

Member Enumeration Documentation

◆ Action

Enumerator
kAllow 
kDeny 

Definition at line 36 of file rbac_policy.h.

Constructor & Destructor Documentation

◆ Rbac() [1/3]

grpc_core::Rbac::Rbac ( )
default

◆ Rbac() [2/3]

grpc_core::Rbac::Rbac ( Rbac::Action  action,
std::map< std::string, Policy policies 
)

Definition at line 33 of file rbac_policy.cc.

◆ Rbac() [3/3]

grpc_core::Rbac::Rbac ( Rbac &&  other)
noexcept

Definition at line 36 of file rbac_policy.cc.

Member Function Documentation

◆ operator=()

Rbac & grpc_core::Rbac::operator= ( Rbac &&  other)
noexcept

Definition at line 39 of file rbac_policy.cc.

◆ ToString()

std::string grpc_core::Rbac::ToString ( ) const

Definition at line 45 of file rbac_policy.cc.

Member Data Documentation

◆ action

Action grpc_core::Rbac::action

Definition at line 172 of file rbac_policy.h.

◆ policies

std::map<std::string, Policy> grpc_core::Rbac::policies

Definition at line 173 of file rbac_policy.h.


The documentation for this struct was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:37