Documentation ¶
Index ¶
- Constants
- type Client
- func (client *Client) AllocateIP(ID string) (*net.IPNet, error)
- func (client *Client) Connect(remote string) error
- func (client *Client) DefaultSubnet() (*net.IPNet, error)
- func (client *Client) DeregisterWithDNS(ID string, ip string) error
- func (client *Client) LookupIP(ID string) (*net.IPNet, error)
- func (client *Client) RegisterWithDNS(ID string, fqdn string, ip string) error
- func (client *Client) ReleaseIP(ID string) error
Constants ¶
View Source
const (
WeaveHttpPort = 6784
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClientWithResolver ¶
func (*Client) AllocateIP ¶
returns an IP for the ID given, allocating a fresh one if necessary
func (*Client) DeregisterWithDNS ¶
func (*Client) RegisterWithDNS ¶
Click to show internal directories.
Click to hide internal directories.