Documentation ¶
Index ¶
- func IsIPCacheNotFoundErr(err error) bool
- type Cilium
- func (c *Cilium) GetEndpoint(id uint64) (*models.Endpoint, error)
- func (c *Cilium) GetFqdnCache() ([]*models.DNSLookup, error)
- func (c *Cilium) GetIPCache() ([]*models.IPListEntry, error)
- func (c *Cilium) GetIdentity(id uint64) (*models.Identity, error)
- func (c *Cilium) GetServiceCache() ([]*models.Service, error)
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIPCacheNotFoundErr ¶
IsIPCacheNotFoundErr is true if the IPCache fetch error was a 404
Types ¶
type Cilium ¶
Cilium is an abstraction to communicate with the cilium-agent.
func (*Cilium) GetEndpoint ¶
GetEndpoint returns the endpoint with the given ID from the cilium-agent.
func (*Cilium) GetFqdnCache ¶
GetFqdnCache retrieves the list of DNS lookups intercepted from all endpoints.
func (*Cilium) GetIPCache ¶
func (c *Cilium) GetIPCache() ([]*models.IPListEntry, error)
GetIPCache retrieves the contents of the Cilium ipcache
func (*Cilium) GetIdentity ¶
GetIdentity returns security identity information for a given identity.
type Client ¶
type Client interface { EndpointList() ([]*models.Endpoint, error) GetEndpoint(id uint64) (*models.Endpoint, error) GetIdentity(id uint64) (*models.Identity, error) GetFqdnCache() ([]*models.DNSLookup, error) GetIPCache() ([]*models.IPListEntry, error) GetServiceCache() ([]*models.Service, error) }
Client is the interface for Cilium API.
Click to show internal directories.
Click to hide internal directories.