Documentation ¶
Index ¶
- type AppPod
- type CheckPodConnectionArgs
- type CheckPodConnectionRetval
- type CommonCNIRPCArgs
- type CommonCNIRPCRetval
- type ConnectPodAtL2Args
- type ConnectPodAtL2Retval
- type ConnectPodAtL3Args
- type ConnectPodAtL3Retval
- type DisconnectPodArgs
- type DisconnectPodRetval
- type NetInterfaceWithNs
- type PodDNS
- type PodIPAMConfig
- type PodIPAddress
- type PodRoute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppPod ¶
type AppPod struct { Name string // NetNsPath references network namespace of the Kubernetes pod // inside which the application is running. NetNsPath string }
AppPod is defined only in the Kubernetes mode. It describes Kubernetes Pod under which a given app is running.
type CheckPodConnectionArgs ¶
type CheckPodConnectionArgs struct {
CommonCNIRPCArgs
}
CheckPodConnectionArgs : arguments for the CheckPodConnection RPC method.
type CheckPodConnectionRetval ¶
type CheckPodConnectionRetval struct { CommonCNIRPCRetval UsesDHCP bool }
CheckPodConnectionRetval : type of the value returned by the CheckPodConnection RPC method.
type CommonCNIRPCArgs ¶
type CommonCNIRPCArgs struct { Pod AppPod // Interface inside the pod. PodInterface NetInterfaceWithNs }
CommonCNIRPCArgs : arguments used for every CNI RPC method (called by eve-bridge, served by zedrouter).
type CommonCNIRPCRetval ¶
CommonCNIRPCRetval : a set of values returned by every CNI RPC method.
type ConnectPodAtL2Args ¶
type ConnectPodAtL2Args struct {
CommonCNIRPCArgs
}
ConnectPodAtL2Args : arguments for the ConnectPodAtL2 RPC method.
type ConnectPodAtL2Retval ¶
type ConnectPodAtL2Retval struct { CommonCNIRPCRetval UseDHCP bool // Interfaces include the bridge interface and both sides of the VETH connecting // pod with the host. Interfaces []NetInterfaceWithNs }
ConnectPodAtL2Retval : type of the value returned by the ConnectPodAtL2 RPC method.
type ConnectPodAtL3Args ¶
type ConnectPodAtL3Args struct { CommonCNIRPCArgs PodIPAMConfig }
ConnectPodAtL3Args : arguments for the ConnectPodAtL3 RPC method.
type ConnectPodAtL3Retval ¶
type ConnectPodAtL3Retval struct {
CommonCNIRPCRetval
}
ConnectPodAtL3Retval : type of the value returned by the ConnectPodAtL3 RPC method.
type DisconnectPodArgs ¶
type DisconnectPodArgs struct {
CommonCNIRPCArgs
}
DisconnectPodArgs : arguments for the DisconnectPod RPC method.
type DisconnectPodRetval ¶
type DisconnectPodRetval struct { CommonCNIRPCRetval UsedDHCP bool }
DisconnectPodRetval : type of the value returned by the DisconnectPod RPC method.
type NetInterfaceWithNs ¶
type NetInterfaceWithNs struct { Name string MAC net.HardwareAddr NetNsPath string }
NetInterfaceWithNs : single network interface (configured by zedrouter for Kube CNI).
type PodIPAMConfig ¶
type PodIPAMConfig struct { IPs []PodIPAddress Routes []PodRoute DNS PodDNS }
PodIPAMConfig : IP config assigned to Pod by a Kubernetes IPAM plugin.
type PodIPAddress ¶
PodIPAddress : ip address assigned to kubernetes pod network interface.