-
Notifications
You must be signed in to change notification settings - Fork 2
/
doc.go
34 lines (34 loc) · 1.09 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Pretty(ish) print configuration output on application startup! Make it easy
// to see what those env vars actually told your app to do!
//
// The most basic usage is:
//
// rubberneck.Print(myConfigStruct)
//
// Which will print out an output something like:
//
// Settings -----------------------------------------
// * AdvertiseIP: 192.168.168.168
// * ClusterIPs: [10.3.18.204 123.123.123.123]
// * ConfigFile: sidecar.toml
// * ClusterName: default
// * CpuProfile: false
// * Discover: [docker static]
// * HAproxyDisable: false
// * LoggingLevel:
// * Sidecar:
// * ExcludeIPs: [192.168.168.168]
// * StatsAddr:
// * PushPullInterval:
// * Duration: 20s
// * GossipMessages: 20
// * LoggingFormat: standard
// * LoggingLevel: debug
// * DefaultCheckEndpoint:
// * DockerDiscovery:
// * DockerURL: unix:///var/run/docker.sock
// --------------------------------------------------
//
// You may configure a Printer for your specific needs if the default usage
// is not suited to your purposes.
package rubberneck