0.37.0
This commit is contained in:
1 parent
ad0ff60632
commit
6b59434ffa
60 files changed
+7418
-732
No files matched your search
+25
-19
@@ -1,18 +1,19 @@
|
||||
package main
|
||||
|
||||
var version = "1.0.1" // overridden by the package builder using -ldflags -X main.version
|
||||
var version = "1.1.0" // overridden by the package builder using -ldflags -X main.version
|
||||
|
||||
type config struct {
|
||||
Listen string
|
||||
Token string
|
||||
DockerSock string
|
||||
AdvertiseIP string
|
||||
PublicIPURL string
|
||||
Hostname string
|
||||
TLS bool
|
||||
CertFile string
|
||||
KeyFile string
|
||||
Fingerprint string
|
||||
Listen string
|
||||
Token string
|
||||
DockerSock string
|
||||
AdvertiseIP string
|
||||
PublicIPURL string
|
||||
Hostname string
|
||||
TLS bool
|
||||
CertFile string
|
||||
KeyFile string
|
||||
Fingerprint string
|
||||
DisableSystemInfo bool
|
||||
}
|
||||
|
||||
type dockerPort struct {
|
||||
@@ -28,6 +29,8 @@ type dockerContainer struct {
|
||||
Image string `json:"Image"`
|
||||
Labels map[string]string `json:"Labels"`
|
||||
Ports []dockerPort `json:"Ports"`
|
||||
State string `json:"State"`
|
||||
Status string `json:"Status"`
|
||||
}
|
||||
|
||||
type binding struct {
|
||||
@@ -36,14 +39,16 @@ type binding struct {
|
||||
}
|
||||
|
||||
type service struct {
|
||||
Key string `json:"key"`
|
||||
TechnicalName string `json:"technical_name"`
|
||||
ContainerID string `json:"container_id"`
|
||||
ContainerName string `json:"container_name"`
|
||||
Image string `json:"image"`
|
||||
PrivatePort uint16 `json:"private_port"`
|
||||
Protocol string `json:"protocol"`
|
||||
Bindings []binding `json:"bindings"`
|
||||
Key string `json:"key"`
|
||||
TechnicalName string `json:"technical_name"`
|
||||
ContainerID string `json:"container_id"`
|
||||
ContainerName string `json:"container_name"`
|
||||
Image string `json:"image"`
|
||||
PrivatePort uint16 `json:"private_port"`
|
||||
Protocol string `json:"protocol"`
|
||||
Bindings []binding `json:"bindings"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Container *containerState `json:"container,omitempty"`
|
||||
}
|
||||
|
||||
type hostAddress struct {
|
||||
@@ -62,4 +67,5 @@ type inventory struct {
|
||||
Addresses []hostAddress `json:"addresses"`
|
||||
ObservedAt string `json:"observed_at"`
|
||||
Services []service `json:"services"`
|
||||
System *systemInfo `json:"system,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user