Documentation ¶
Index ¶
Constants ¶
View Source
const ( SPIFFE_PREFIX = "spiffe://" // IPV4_TUPLE_LENGTH is the fixed length of IPv4 source/destination address(4 bytes each) and port(2 bytes each) IPV4_TUPLE_LENGTH = int(unsafe.Sizeof(bpfSockTupleV4{})) // TUPLE_LEN is the fixed length of 4-tuple(source/dest IP/port) in a record from map of tuple TUPLE_LEN = int(unsafe.Sizeof(bpfSockTupleV6{})) // MSG_LEN is the fixed length of one record we retrieve from map of tuple MSG_LEN = TUPLE_LEN + int(unsafe.Sizeof(constants.MSG_TYPE_IPV4)) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rbac ¶
type Rbac struct {
// contains filtered or unexported fields
}
func NewRbac ¶
func NewRbac(workloadCache cache.WorkloadCache) *Rbac
func (*Rbac) GetAllPolicies ¶ added in v0.4.0
GetAllPolicies returns all policy names in the policy store
func (*Rbac) RemovePolicy ¶
func (*Rbac) UpdatePolicy ¶
func (r *Rbac) UpdatePolicy(auth *security.Authorization) error
Click to show internal directories.
Click to hide internal directories.