Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2024 Changes in this version + const NoContainerID + const WeaveHTTPHost + const WeaveHTTPPort + type Client struct + func NewClient(addr string, log Logger) *Client + func (client *Client) AllocateIP(ID string, checkAlive bool) (*net.IPNet, error) + func (client *Client) AllocateIPInSubnet(ID string, subnet *net.IPNet, checkAlive bool) (*net.IPNet, error) + func (client *Client) ClaimIP(ID string, cidr *net.IPNet, checkAlive bool) error + func (client *Client) Connect(remote string) error + func (client *Client) DNSDomain() (string, error) + func (client *Client) DefaultSubnet() (*net.IPNet, error) + func (client *Client) DeregisterWithDNS(ID string, ip string) error + func (client *Client) Expose(ipAddr *net.IPNet) error + func (client *Client) IsReady() bool + func (client *Client) LookupIP(ID string) (*net.IPNet, error) + func (client *Client) RegisterWithDNS(ID string, fqdn string, ip string) error + func (client *Client) ReleaseIPsFor(ID string) error + func (client *Client) ReplacePeers(peers []string) error + func (client *Client) RmPeer(peerName string) (string, error) + func (client *Client) WaitAPIServer(n int) + type Logger interface + Debugf func(string, ...interface{}) + Infof func(string, ...interface{})