Discover Packages
github.com/traefik/hub-agent-traefik
pkg
topology
package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Aug 8, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Cluster struct {
Services map[string ]*Service `json:"services"`
}
Cluster describes a Cluster.
type Container struct {
Name string `json:"name"`
Networks []string `json:"networks"`
}
Container describes a container.
type Reference struct {
Topology Cluster `json:"topology"`
Version int64 `json:"version"`
}
Reference describes a Reference.
type Service struct {
Name string `json:"name"`
Container *Container `json:"container,omitempty"`
ExternalPorts []int `json:"externalPorts,omitempty"`
}
Service describes a Service.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.