Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Status() (Status, error) AddDNSEntry(fqdn, containerid string, ip net.IP) error Expose() error // on the interface for mocking }
Client for Weave Net API
type DNS ¶
type DNS struct { Domain string Upstream []string TTL uint32 Entries []struct { Hostname string ContainerID string Tombstone int64 } }
DNS describes the status of Weave DNS
type IPAM ¶ added in v0.14.0
type IPAM struct { Paxos *struct { Elector bool KnownNodes int Quorum uint } Range string DefaultSubnet string Entries []struct { Size uint32 IsKnownPeer bool } PendingAllocates []string }
IPAM describes the status of Weave IPAM
type Peer ¶ added in v1.0.0
type Peer struct { Name string NickName string Connections []struct { Name string NickName string Address string Outbound bool Established bool } }
Peer describes a peer in the weave network
type Plugin ¶ added in v1.6.0
type Plugin struct {
DriverName string
}
Plugin describes the status of the Weave Plugin
type Proxy ¶ added in v1.6.0
type Proxy struct {
Addresses []string
}
Proxy describes the status of Weave Proxy
type Router ¶
type Router struct { Name string Encryption bool ProtocolMinVersion int ProtocolMaxVersion int PeerDiscovery bool Peers []Peer Connections []struct { Address string Outbound bool State string Info string } Targets []string TrustedSubnets []string }
Router describes the status of the Weave Router
Click to show internal directories.
Click to hide internal directories.