Documentation ¶
Index ¶
Constants ¶
View Source
const ContivCniSocket = "/run/contiv/contiv-cni.sock"
ContivCniSocket is the full path to the listen socket for netplugin
View Source
const EPAddURL = "/ContivCNI.AddPod"
EPAddURL is the rest point for adding an endpoint
View Source
const EPDelURL = "/ContivCNI.DelPod"
EPDelURL is the rest point for deleting an endpoint
View Source
const PluginPath = "/run/contiv"
PluginPath is the path to the listen socket directory for netplugin
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CNIPodAttr ¶
type CNIPodAttr struct { Name string `json:"K8S_POD_NAME,omitempty"` K8sNameSpace string `json:"K8S_POD_NAMESPACE,omitempty"` InfraContainerID string `json:"K8S_POD_INFRA_CONTAINER_ID,omitempty"` NwNameSpace string `json:"CNI_NETNS,omitempty"` IntfName string `json:"CNI_IFNAME,omitempty"` }
CNIPodAttr holds attributes of the pod to be attached or detached
Click to show internal directories.
Click to hide internal directories.