Versions in this module Expand all Collapse all v1 v1.12.0 Jul 26, 2016 Changes in this version + const DefaultDriver + type NetworkAllocator struct + func New() (*NetworkAllocator, error) + func (na *NetworkAllocator) Allocate(n *api.Network) error + func (na *NetworkAllocator) AllocateNode(node *api.Node) error + func (na *NetworkAllocator) AllocateTask(t *api.Task) error + func (na *NetworkAllocator) Deallocate(n *api.Network) error + func (na *NetworkAllocator) DeallocateNode(node *api.Node) error + func (na *NetworkAllocator) DeallocateTask(t *api.Task) error + func (na *NetworkAllocator) IsAllocated(n *api.Network) bool + func (na *NetworkAllocator) IsNodeAllocated(node *api.Node) bool + func (na *NetworkAllocator) IsServiceAllocated(s *api.Service) bool + func (na *NetworkAllocator) IsTaskAllocated(t *api.Task) bool + func (na *NetworkAllocator) ServiceAllocate(s *api.Service) (err error) + func (na *NetworkAllocator) ServiceDeallocate(s *api.Service) error v1.12.0-1 Dec 8, 2022