Documentation ¶
Index ¶
- Constants
- type PolicyEntry
- type PolicyEntryDump
- type PolicyMap
- func (pm *PolicyMap) AllowConsumer(id uint32) error
- func (pm *PolicyMap) Close() error
- func (pm *PolicyMap) ConsumerExists(id uint32) bool
- func (pm *PolicyMap) DeepCopy() *PolicyMap
- func (pm *PolicyMap) DeleteConsumer(id uint32) error
- func (pm *PolicyMap) Dump() (string, error)
- func (pm *PolicyMap) DumpToSlice() ([]PolicyEntryDump, error)
- func (pm *PolicyMap) String() string
Constants ¶
View Source
const (
MAX_KEYS = 1024
)
View Source
const (
MapName = "cilium_policy_"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyEntry ¶
func (*PolicyEntry) Add ¶
func (pe *PolicyEntry) Add(oPe PolicyEntry)
func (*PolicyEntry) String ¶
func (pe *PolicyEntry) String() string
type PolicyEntryDump ¶
type PolicyEntryDump struct { PolicyEntry ID uint32 }
type PolicyMap ¶
type PolicyMap struct { Fd int // contains filtered or unexported fields }
func OpenGlobalMap ¶ added in v0.9.0
func (*PolicyMap) AllowConsumer ¶
func (*PolicyMap) ConsumerExists ¶
func (*PolicyMap) DeleteConsumer ¶
func (*PolicyMap) DumpToSlice ¶
func (pm *PolicyMap) DumpToSlice() ([]PolicyEntryDump, error)
Click to show internal directories.
Click to hide internal directories.