Versions in this module Expand all Collapse all v1 v1.5.0 Jul 12, 2017 v1.1.0 Jun 6, 2017 Changes in this version + const AgentUrl + const DefaultSegmentName + const NotifyPodDown + const NotifyPodUp + func AddEndpointRoute(ifaceName string, ip *net.IPNet) error + func GetRomanaGwAddr() (*net.IPNet, error) + func MakeRomanaClient(config *NetConf) (*common.RestClient, error) + func NotifyAgent(client *common.RestClient, ip *net.IPNet, iface string, op string) (err error) + func SetupVeth(contVethName, hostVethName string, mtu int, hostNS ns.NetNS) (net.Interface, net.Interface, error) + type DefaultAddressManager struct + func (DefaultAddressManager) Allocate(config NetConf, client *common.RestClient, pod RomanaAllocatorPodDescription) (*net.IPNet, error) + func (DefaultAddressManager) Deallocate(config NetConf, client *common.RestClient, targetName string) error + type K8sArgs struct + IP net.IP + K8S_POD_INFRA_CONTAINER_ID types.UnmarshallableString + K8S_POD_NAME types.UnmarshallableString + K8S_POD_NAMESPACE types.UnmarshallableString + func (k8s K8sArgs) MakePodName() string + func (k8s K8sArgs) MakeVethName() string + type NetConf struct + KubernetesConfig string + RomanaHostName string + RomanaRoot string + SegmentLabelName string + TenantLabelName string + UseAnnotations bool + type PodDescription struct + Annotations map[string]string + Labels map[string]string + Name string + Namespace string + func GetPodDescription(args K8sArgs, configFile string) (*PodDescription, error) + type RomanaAddressManager interface + Allocate func(NetConf, *common.RestClient, RomanaAllocatorPodDescription) (*net.IPNet, error) + Deallocate func(NetConf, *common.RestClient, string) error + func NewRomanaAddressManager(provider RomanaAddressManagerProvider) (RomanaAddressManager, error) + type RomanaAddressManagerProvider string + const DefaultProvider + type RomanaAllocatorPodDescription struct + Annotations map[string]string + Hostname string + Labels map[string]string + Name string + Namespace string Incompatible versions in this module v2.0.2+incompatible Feb 7, 2018 v2.0.1+incompatible Dec 22, 2017 v2.0.0+incompatible Nov 14, 2017