Documentation ¶
Index ¶
- type Connection
- type Container
- type Edge
- type JSON
- type Meta
- type Node
- type Port
- type PortMatcher
- type Ports
- func (ps *Ports) Add(process string, p *Port)
- func (ps *Ports) Compact()
- func (ps *Ports) Get(p *Port) (name string, ok bool)
- func (ps *Ports) Has(label ...string) (yes bool)
- func (ps *Ports) HasAny(label ...string) (yes bool)
- func (ps *Ports) Iter(it func(process string, p []*Port))
- func (ps *Ports) Join(other *Ports)
- func (ps *Ports) Len() (rv int)
- type View
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶ added in v1.9.0
type JSON ¶ added in v1.0.0
type JSON struct { Name string `json:"name"` IsExternal bool `json:"is_external"` Image *string `json:"image,omitempty"` Networks []string `json:"networks"` Tags []string `json:"tags"` Volumes []*Volume `json:"volumes"` Container Container `json:"container"` Listen map[string][]*Port `json:"listen"` Connected map[string][]*Connection `json:"connected"` }
type Node ¶
type Node struct { Container Container Meta *Meta Ports *Ports ID string Name string Image string Cluster string Networks []string Volumes []*Volume }
func (*Node) FormatMeta ¶ added in v1.7.7
func (*Node) IsExternal ¶
type PortMatcher ¶ added in v1.6.4
Click to show internal directories.
Click to hide internal directories.