File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,13 @@ import (
2020var version string
2121var printVersion bool
2222
23+ // Amazon S3 Provider
2324const PROVIDER_S3 = "s3"
25+ // Google Cloud Storage Provider
2426const PROVIDER_GS = "gs"
27+ // Protocol for the bucket URLs - Amazon S3
2528const PROTO_S3 = "s3"
29+ // Protocol for the bucket URLs - Google Cloud Storage
2630const PROTO_GS = "gs"
2731
2832func main () {
Original file line number Diff line number Diff line change @@ -7,8 +7,12 @@ type ReturnCode int
77// Possible ReturnCode values for a nagios/icinga/sensu check
88// 0 is OK, 1 is WARNING, 2 is CRITICAL, 3 is UNKNOWN
99const (
10+ // OK is value 0 - which means OK
1011 OK ReturnCode = 0 + iota
12+ // WARNING is value 1 - which is a WARNING
1113 WARNING
14+ // CRITICAL is value 2 - which is a CRITICAL
1215 CRITICAL
16+ // UNKNOWN is value 3 - which is UNKNOWN
1317 UNKNOWN
1418)
You can’t perform that action at this time.
0 commit comments