cni

package
v1.7.0-community Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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)

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 OVNPlugin

type OVNPlugin struct {
	Plugin
}

func (*OVNPlugin) GetNodeIPs

func (o *OVNPlugin) GetNodeIPs(node *v1.Node) []string

type Plugin

type Plugin interface {
	GetNodeIPs(node *v1.Node) []string
}

type SecondaryNetKey

type SecondaryNetKey struct {
	NetworkName string
	Key         string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL