Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultusHandler ¶
type MultusHandler struct {
}
func (*MultusHandler) BuildKeys ¶
func (m *MultusHandler) BuildKeys(flow config.GenericMap, rule *api.K8sRule, secNets []api.SecondaryNetwork) []SecondaryNetKey
func (*MultusHandler) GetPodUniqueKeys ¶
func (m *MultusHandler) GetPodUniqueKeys(pod *v1.Pod, secNets []api.SecondaryNetwork) ([]string, error)
func (*MultusHandler) Manages ¶
func (m *MultusHandler) Manages(indexKey string) bool
type NetStatItem ¶
type NetStatItem struct {
Name string `json:"name"`
Interface string `json:"interface"`
IPs []string `json:"ips"`
MAC string `json:"mac"`
}
func (*NetStatItem) Keys ¶
func (n *NetStatItem) Keys(snConfig api.SecondaryNetwork) []string
type SecondaryNetKey ¶
func UDNKey ¶
func UDNKey(label, ip string) SecondaryNetKey
type UDNHandler ¶
type UDNHandler struct {
}
func (*UDNHandler) BuildKeys ¶
func (m *UDNHandler) BuildKeys(flow config.GenericMap, rule *api.K8sRule) []SecondaryNetKey
func (*UDNHandler) GetPodUniqueKeys ¶
func (m *UDNHandler) GetPodUniqueKeys(ctx context.Context, dynClient *dynamic.DynamicClient, pod *v1.Pod) ([]string, error)
func (*UDNHandler) Manages ¶
func (m *UDNHandler) Manages(indexKey string) bool
Click to show internal directories.
Click to hide internal directories.