vendor: update all dependencies

* Update all dependencies
  * Remove all `[[constraint]]` from Gopkg.toml
  * Add in the minimum number of `[[override]]` to build
  * Remove go get of github.com/inconshreveable/mousetrap as it is vendored
  * Update docs with new policy on constraints
This commit is contained in:
Nick Craig-Wood
2018-05-05 15:52:24 +01:00
parent 21383877df
commit 6427029c4e
4902 changed files with 1443412 additions and 227278 deletions
+26 -14
View File
@@ -269,7 +269,7 @@
}
}
},
"revision": "20180215",
"revision": "20180405",
"rootUrl": "https://safebrowsing.googleapis.com/",
"schemas": {
"Checksum": {
@@ -555,7 +555,8 @@
"CLIENT_INCIDENT",
"CLIENT_INCIDENT_WHITELIST",
"APK_MALWARE_OFFLINE",
"SUBRESOURCE_FILTER"
"SUBRESOURCE_FILTER",
"SUSPICIOUS"
],
"enumDescriptions": [
"Unknown.",
@@ -571,7 +572,8 @@
"Client incident threat type.",
"Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.",
"List used for offline APK checks in PAM.",
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list."
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list.",
"Entities that are suspected to present a threat."
],
"type": "string"
}
@@ -683,7 +685,8 @@
"CLIENT_INCIDENT",
"CLIENT_INCIDENT_WHITELIST",
"APK_MALWARE_OFFLINE",
"SUBRESOURCE_FILTER"
"SUBRESOURCE_FILTER",
"SUSPICIOUS"
],
"enumDescriptions": [
"Unknown.",
@@ -699,7 +702,8 @@
"Client incident threat type.",
"Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.",
"List used for offline APK checks in PAM.",
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list."
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list.",
"Entities that are suspected to present a threat."
],
"type": "string"
}
@@ -914,7 +918,8 @@
"CLIENT_INCIDENT",
"CLIENT_INCIDENT_WHITELIST",
"APK_MALWARE_OFFLINE",
"SUBRESOURCE_FILTER"
"SUBRESOURCE_FILTER",
"SUSPICIOUS"
],
"enumDescriptions": [
"Unknown.",
@@ -930,7 +935,8 @@
"Client incident threat type.",
"Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.",
"List used for offline APK checks in PAM.",
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list."
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list.",
"Entities that are suspected to present a threat."
],
"type": "string"
},
@@ -1022,7 +1028,8 @@
"Client incident threat type.",
"Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.",
"List used for offline APK checks in PAM.",
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list."
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list.",
"Entities that are suspected to present a threat."
],
"items": {
"enum": [
@@ -1039,7 +1046,8 @@
"CLIENT_INCIDENT",
"CLIENT_INCIDENT_WHITELIST",
"APK_MALWARE_OFFLINE",
"SUBRESOURCE_FILTER"
"SUBRESOURCE_FILTER",
"SUSPICIOUS"
],
"type": "string"
},
@@ -1116,7 +1124,8 @@
"CLIENT_INCIDENT",
"CLIENT_INCIDENT_WHITELIST",
"APK_MALWARE_OFFLINE",
"SUBRESOURCE_FILTER"
"SUBRESOURCE_FILTER",
"SUSPICIOUS"
],
"enumDescriptions": [
"Unknown.",
@@ -1132,7 +1141,8 @@
"Client incident threat type.",
"Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.",
"List used for offline APK checks in PAM.",
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list."
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list.",
"Entities that are suspected to present a threat."
],
"type": "string"
}
@@ -1220,7 +1230,8 @@
"CLIENT_INCIDENT",
"CLIENT_INCIDENT_WHITELIST",
"APK_MALWARE_OFFLINE",
"SUBRESOURCE_FILTER"
"SUBRESOURCE_FILTER",
"SUSPICIOUS"
],
"enumDescriptions": [
"Unknown.",
@@ -1236,7 +1247,8 @@
"Client incident threat type.",
"Whitelist used when detecting client incident threats.\nThis enum was never launched and should be re-used for the next list.",
"List used for offline APK checks in PAM.",
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list."
"Patterns to be used for activating the subresource filter. Interstitial\nwill not be shown for patterns from this list.",
"Entities that are suspected to present a threat."
],
"type": "string"
}
@@ -1298,6 +1310,6 @@
}
},
"servicePath": "",
"title": "Google Safe Browsing API",
"title": "Safe Browsing API",
"version": "v4"
}
+7 -1
View File
@@ -1,4 +1,4 @@
// Package safebrowsing provides access to the Google Safe Browsing API.
// Package safebrowsing provides access to the Safe Browsing API.
//
// See https://developers.google.com/safe-browsing/
//
@@ -609,6 +609,7 @@ type ListUpdateRequest struct {
// "SUBRESOURCE_FILTER" - Patterns to be used for activating the
// subresource filter. Interstitial
// will not be shown for patterns from this list.
// "SUSPICIOUS" - Entities that are suspected to present a threat.
ThreatType string `json:"threatType,omitempty"`
// ForceSendFields is a list of field names (e.g. "Constraints") to
@@ -727,6 +728,7 @@ type ListUpdateResponse struct {
// "SUBRESOURCE_FILTER" - Patterns to be used for activating the
// subresource filter. Interstitial
// will not be shown for patterns from this list.
// "SUSPICIOUS" - Entities that are suspected to present a threat.
ThreatType string `json:"threatType,omitempty"`
// ForceSendFields is a list of field names (e.g. "Additions") to
@@ -1095,6 +1097,7 @@ type ThreatHit struct {
// "SUBRESOURCE_FILTER" - Patterns to be used for activating the
// subresource filter. Interstitial
// will not be shown for patterns from this list.
// "SUSPICIOUS" - Entities that are suspected to present a threat.
ThreatType string `json:"threatType,omitempty"`
// UserInfo: Details about the user that encountered the threat.
@@ -1181,6 +1184,7 @@ type ThreatInfo struct {
// "SUBRESOURCE_FILTER" - Patterns to be used for activating the
// subresource filter. Interstitial
// will not be shown for patterns from this list.
// "SUSPICIOUS" - Entities that are suspected to present a threat.
ThreatTypes []string `json:"threatTypes,omitempty"`
// ForceSendFields is a list of field names (e.g. "PlatformTypes") to
@@ -1263,6 +1267,7 @@ type ThreatListDescriptor struct {
// "SUBRESOURCE_FILTER" - Patterns to be used for activating the
// subresource filter. Interstitial
// will not be shown for patterns from this list.
// "SUSPICIOUS" - Entities that are suspected to present a threat.
ThreatType string `json:"threatType,omitempty"`
// ForceSendFields is a list of field names (e.g. "PlatformType") to
@@ -1353,6 +1358,7 @@ type ThreatMatch struct {
// "SUBRESOURCE_FILTER" - Patterns to be used for activating the
// subresource filter. Interstitial
// will not be shown for patterns from this list.
// "SUSPICIOUS" - Entities that are suspected to present a threat.
ThreatType string `json:"threatType,omitempty"`
// ForceSendFields is a list of field names (e.g. "CacheDuration") to