You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("failed to execute http request to VaaS. Request %s, status code: %d, body: %s", request.URL, response.StatusCode, body)
330
+
returnfmt.Errorf("failed to execute http request to Venafi Control Plane. Request %s, status code: %d, body: [%s]", request.URL, response.StatusCode, body)
Copy file name to clipboardExpand all lines: pkg/datagatherer/datagatherer.go
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,9 @@ type Config interface {
12
12
// DataGatherer is the interface for Data Gatherers. Data Gatherers are in charge of fetching data from a certain cloud provider API or Kubernetes component.
13
13
typeDataGathererinterface {
14
14
// Fetch retrieves data.
15
-
Fetch() (interface{}, error)
15
+
// count is the number of items that were discovered. A negative count means the number
16
+
// of items was indeterminate.
17
+
Fetch() (datainterface{}, countint, errerror)
16
18
// Run starts the data gatherer's informers for resource collection.
17
19
// Returns error if the data gatherer informer wasn't initialized
0 commit comments