From 55b45efbc4dbbafd5b9010daa023d1ce9edb0ec7 Mon Sep 17 00:00:00 2001 From: mattmoor-sockpuppet Date: Fri, 28 Jun 2019 08:25:07 -0700 Subject: [PATCH] Auto-update dependencies (#39) Produced via: `dep ensure -update github.com/knative/test-infra knative.dev/pkg` /assign @mattmoor --- Gopkg.lock | 6 +++--- vendor/knative.dev/pkg/DEVELOPMENT.md | 5 ++--- vendor/knative.dev/pkg/Gopkg.lock | 4 ++-- vendor/knative.dev/pkg/apis/duck/v1alpha1/condition_set.go | 2 +- vendor/knative.dev/pkg/apis/duck/v1alpha1/register.go | 2 +- vendor/knative.dev/pkg/apis/duck/v1beta1/register.go | 2 +- .../pkg/apis/istio/authentication/v1alpha1/policy_types.go | 2 +- .../pkg/apis/istio/authentication/v1alpha1/register.go | 2 +- vendor/knative.dev/pkg/apis/istio/v1alpha3/register.go | 2 +- .../pkg/apis/istio/v1alpha3/virtualservice_types.go | 2 +- vendor/knative.dev/pkg/apis/testing/conditions.go | 2 +- vendor/knative.dev/pkg/codegen/cmd/injection-gen/main.go | 2 +- vendor/knative.dev/pkg/configmap/testing/configmap.go | 2 +- vendor/knative.dev/pkg/controller/stats_reporter.go | 2 +- vendor/knative.dev/pkg/injection/sharedmain/main.go | 2 +- vendor/knative.dev/pkg/metrics/record.go | 2 +- vendor/knative.dev/pkg/metrics/stackdriver_exporter.go | 2 +- vendor/knative.dev/pkg/reconciler/testing/table.go | 6 +++--- vendor/knative.dev/pkg/test/README.md | 7 +++---- vendor/knative.dev/pkg/test/clients.go | 4 ++-- vendor/knative.dev/pkg/test/kube_checks.go | 2 +- vendor/knative.dev/pkg/test/logging/logging.go | 2 +- vendor/knative.dev/pkg/test/monitoring/monitoring.go | 2 +- vendor/knative.dev/pkg/test/spoof/spoof.go | 6 +++--- vendor/knative.dev/pkg/test/zipkin/util.go | 4 ++-- vendor/knative.dev/pkg/testing/inner_default_resource.go | 2 +- vendor/knative.dev/pkg/testing/resource.go | 2 +- vendor/knative.dev/pkg/tracing/opencensus.go | 2 +- 28 files changed, 40 insertions(+), 42 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 349d6679..3747ceb0 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -261,7 +261,7 @@ "tools/dep-collector", ] pruneopts = "UT" - revision = "3f359626cb5e4f29001a1b6d9b4c38a0954f2069" + revision = "118e4f2cafc2df70d391b1259512a92d7add18f5" [[projects]] digest = "1:5985ef4caf91ece5d54817c11ea25f182697534f8ae6521eadcd628c142ac4b6" @@ -930,7 +930,7 @@ [[projects]] branch = "master" - digest = "1:6ecb9d5aa84772cbbc21e966fd1ab71bc7e13dee2857a71186db6ca59da78159" + digest = "1:df8dd286355037777c67f3cf8a4b287d018df3fd98b76cf31c21eba955933664" name = "knative.dev/pkg" packages = [ "apis", @@ -949,7 +949,7 @@ "metrics/metricskey", ] pruneopts = "T" - revision = "1104d6c75533160d27c02d3eb373fc567bd6d60c" + revision = "1864f499dcaa98b9de0e46faa40861591b678f03" [solve-meta] analyzer-name = "dep" diff --git a/vendor/knative.dev/pkg/DEVELOPMENT.md b/vendor/knative.dev/pkg/DEVELOPMENT.md index f7b9b199..cacef108 100644 --- a/vendor/knative.dev/pkg/DEVELOPMENT.md +++ b/vendor/knative.dev/pkg/DEVELOPMENT.md @@ -45,9 +45,8 @@ export PATH="${PATH}:${GOPATH}/bin" ### Checkout your fork -The Go tools require that you clone the repository to the -`src/knative.dev/pkg` directory in your -[`GOPATH`](https://github.com/golang/go/wiki/SettingGOPATH). +The Go tools require that you clone the repository to the `src/knative.dev/pkg` +directory in your [`GOPATH`](https://github.com/golang/go/wiki/SettingGOPATH). To check out this repository: diff --git a/vendor/knative.dev/pkg/Gopkg.lock b/vendor/knative.dev/pkg/Gopkg.lock index a5c181fd..ccf0213e 100644 --- a/vendor/knative.dev/pkg/Gopkg.lock +++ b/vendor/knative.dev/pkg/Gopkg.lock @@ -300,14 +300,14 @@ [[projects]] branch = "master" - digest = "1:fa87bf3dd5923ba242fd7b496eb170a158e449f6b4a9ba3f0890c551b808f620" + digest = "1:bba4889bf4bf0a2f132ed8a2bbc4725c2877bc7b7dee37cdc551351b862a3559" name = "github.com/knative/test-infra" packages = [ "scripts", "tools/dep-collector", ] pruneopts = "UT" - revision = "0d9dc298d262fe0b0f6944aa9d45b9ab7f6b34ea" + revision = "3f359626cb5e4f29001a1b6d9b4c38a0954f2069" [[projects]] digest = "1:56dbf15e091bf7926cb33a57cb6bdfc658fc6d3498d2f76f10a97ce7856f1fde" diff --git a/vendor/knative.dev/pkg/apis/duck/v1alpha1/condition_set.go b/vendor/knative.dev/pkg/apis/duck/v1alpha1/condition_set.go index 490a5bb8..20deaefd 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1alpha1/condition_set.go +++ b/vendor/knative.dev/pkg/apis/duck/v1alpha1/condition_set.go @@ -23,9 +23,9 @@ import ( "fmt" - "knative.dev/pkg/apis" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "knative.dev/pkg/apis" ) // Conditions is the interface for a Resource that implements the getter and diff --git a/vendor/knative.dev/pkg/apis/duck/v1alpha1/register.go b/vendor/knative.dev/pkg/apis/duck/v1alpha1/register.go index 51e3565c..a66a2c38 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1alpha1/register.go +++ b/vendor/knative.dev/pkg/apis/duck/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - "knative.dev/pkg/apis/duck" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" + "knative.dev/pkg/apis/duck" ) // SchemeGroupVersion is group version used to register these objects diff --git a/vendor/knative.dev/pkg/apis/duck/v1beta1/register.go b/vendor/knative.dev/pkg/apis/duck/v1beta1/register.go index 7d5ac1c4..ca8388ad 100644 --- a/vendor/knative.dev/pkg/apis/duck/v1beta1/register.go +++ b/vendor/knative.dev/pkg/apis/duck/v1beta1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - "knative.dev/pkg/apis/duck" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" + "knative.dev/pkg/apis/duck" ) // SchemeGroupVersion is group version used to register these objects diff --git a/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/policy_types.go b/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/policy_types.go index 11648a0c..cbda34d2 100644 --- a/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/policy_types.go +++ b/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/policy_types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "knative.dev/pkg/apis/istio/common/v1alpha1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "knative.dev/pkg/apis/istio/common/v1alpha1" ) // +genclient diff --git a/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/register.go b/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/register.go index b96de764..61281333 100644 --- a/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/register.go +++ b/vendor/knative.dev/pkg/apis/istio/authentication/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - "knative.dev/pkg/apis/istio/authentication" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" + "knative.dev/pkg/apis/istio/authentication" ) // SchemeGroupVersion is group version used to register these objects diff --git a/vendor/knative.dev/pkg/apis/istio/v1alpha3/register.go b/vendor/knative.dev/pkg/apis/istio/v1alpha3/register.go index 5507b1f9..301109ea 100644 --- a/vendor/knative.dev/pkg/apis/istio/v1alpha3/register.go +++ b/vendor/knative.dev/pkg/apis/istio/v1alpha3/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha3 import ( - "knative.dev/pkg/apis/istio" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" + "knative.dev/pkg/apis/istio" ) // SchemeGroupVersion is group version used to register these objects diff --git a/vendor/knative.dev/pkg/apis/istio/v1alpha3/virtualservice_types.go b/vendor/knative.dev/pkg/apis/istio/v1alpha3/virtualservice_types.go index bd12f361..adb41d9e 100644 --- a/vendor/knative.dev/pkg/apis/istio/v1alpha3/virtualservice_types.go +++ b/vendor/knative.dev/pkg/apis/istio/v1alpha3/virtualservice_types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha3 import ( - "knative.dev/pkg/apis/istio/common/v1alpha1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "knative.dev/pkg/apis/istio/common/v1alpha1" ) // +genclient diff --git a/vendor/knative.dev/pkg/apis/testing/conditions.go b/vendor/knative.dev/pkg/apis/testing/conditions.go index 19f102da..ada1d8d1 100644 --- a/vendor/knative.dev/pkg/apis/testing/conditions.go +++ b/vendor/knative.dev/pkg/apis/testing/conditions.go @@ -19,9 +19,9 @@ import ( "fmt" "testing" + corev1 "k8s.io/api/core/v1" "knative.dev/pkg/apis" duckv1b1 "knative.dev/pkg/apis/duck/v1beta1" - corev1 "k8s.io/api/core/v1" ) // CheckCondition checks if condition `c` on `cc` has value `cs`. diff --git a/vendor/knative.dev/pkg/codegen/cmd/injection-gen/main.go b/vendor/knative.dev/pkg/codegen/cmd/injection-gen/main.go index 62bb30e0..26410cc9 100644 --- a/vendor/knative.dev/pkg/codegen/cmd/injection-gen/main.go +++ b/vendor/knative.dev/pkg/codegen/cmd/injection-gen/main.go @@ -24,9 +24,9 @@ import ( "k8s.io/gengo/args" "k8s.io/klog" + "github.com/spf13/pflag" generatorargs "knative.dev/pkg/codegen/cmd/injection-gen/args" "knative.dev/pkg/codegen/cmd/injection-gen/generators" - "github.com/spf13/pflag" ) func main() { diff --git a/vendor/knative.dev/pkg/configmap/testing/configmap.go b/vendor/knative.dev/pkg/configmap/testing/configmap.go index 5c67f8ff..2e1932bf 100644 --- a/vendor/knative.dev/pkg/configmap/testing/configmap.go +++ b/vendor/knative.dev/pkg/configmap/testing/configmap.go @@ -20,9 +20,9 @@ import ( "testing" "github.com/ghodss/yaml" - "knative.dev/pkg/configmap" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/sets" + "knative.dev/pkg/configmap" ) // ConfigMapFromTestFile creates a v1.ConfigMap from a YAML file diff --git a/vendor/knative.dev/pkg/controller/stats_reporter.go b/vendor/knative.dev/pkg/controller/stats_reporter.go index c2e74cba..60a9157c 100644 --- a/vendor/knative.dev/pkg/controller/stats_reporter.go +++ b/vendor/knative.dev/pkg/controller/stats_reporter.go @@ -21,11 +21,11 @@ import ( "errors" "time" - "knative.dev/pkg/metrics" "go.opencensus.io/stats" "go.opencensus.io/stats/view" "go.opencensus.io/tag" "go.uber.org/zap" + "knative.dev/pkg/metrics" ) var ( diff --git a/vendor/knative.dev/pkg/injection/sharedmain/main.go b/vendor/knative.dev/pkg/injection/sharedmain/main.go index 677176c7..eada5b7c 100644 --- a/vendor/knative.dev/pkg/injection/sharedmain/main.go +++ b/vendor/knative.dev/pkg/injection/sharedmain/main.go @@ -24,6 +24,7 @@ import ( "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" + "go.uber.org/zap" "knative.dev/pkg/configmap" "knative.dev/pkg/controller" "knative.dev/pkg/injection" @@ -32,7 +33,6 @@ import ( "knative.dev/pkg/metrics" "knative.dev/pkg/signals" "knative.dev/pkg/system" - "go.uber.org/zap" ) func Main(component string, ctors ...injection.ControllerConstructor) { diff --git a/vendor/knative.dev/pkg/metrics/record.go b/vendor/knative.dev/pkg/metrics/record.go index 6a35394f..4e435ee5 100644 --- a/vendor/knative.dev/pkg/metrics/record.go +++ b/vendor/knative.dev/pkg/metrics/record.go @@ -20,8 +20,8 @@ import ( "context" "path" - "knative.dev/pkg/metrics/metricskey" "go.opencensus.io/stats" + "knative.dev/pkg/metrics/metricskey" ) // Record decides whether to record one measurement via OpenCensus based on the diff --git a/vendor/knative.dev/pkg/metrics/stackdriver_exporter.go b/vendor/knative.dev/pkg/metrics/stackdriver_exporter.go index 2275a57e..6d2a8cab 100644 --- a/vendor/knative.dev/pkg/metrics/stackdriver_exporter.go +++ b/vendor/knative.dev/pkg/metrics/stackdriver_exporter.go @@ -18,10 +18,10 @@ import ( "contrib.go.opencensus.io/exporter/stackdriver" "contrib.go.opencensus.io/exporter/stackdriver/monitoredresource" - "knative.dev/pkg/metrics/metricskey" "go.opencensus.io/stats/view" "go.opencensus.io/tag" "go.uber.org/zap" + "knative.dev/pkg/metrics/metricskey" ) // customMetricTypePrefix is the metric type prefix for unsupported metrics by diff --git a/vendor/knative.dev/pkg/reconciler/testing/table.go b/vendor/knative.dev/pkg/reconciler/testing/table.go index 0cf5b729..2e8ce075 100644 --- a/vendor/knative.dev/pkg/reconciler/testing/table.go +++ b/vendor/knative.dev/pkg/reconciler/testing/table.go @@ -25,13 +25,13 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "knative.dev/pkg/controller" - "knative.dev/pkg/kmeta" - _ "knative.dev/pkg/system/testing" // Setup system.Namespace() "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" "k8s.io/client-go/tools/cache" + "knative.dev/pkg/controller" + "knative.dev/pkg/kmeta" + _ "knative.dev/pkg/system/testing" // Setup system.Namespace() ) // TableRow holds a single row of our table test. diff --git a/vendor/knative.dev/pkg/test/README.md b/vendor/knative.dev/pkg/test/README.md index b2110a8c..60e5d484 100644 --- a/vendor/knative.dev/pkg/test/README.md +++ b/vendor/knative.dev/pkg/test/README.md @@ -31,8 +31,8 @@ These flags are useful for running against an existing cluster, making use of your existing [environment setup](https://github.com/knative/serving/blob/master/DEVELOPMENT.md#environment-setup). -By importing `knative.dev/pkg/test` you get access to a global variable -called `test.Flags` which holds the values of +By importing `knative.dev/pkg/test` you get access to a global variable called +`test.Flags` which holds the values of [the command line flags](/test/README.md#flags). ```go @@ -170,8 +170,7 @@ _See [cleanup.go](./cleanup.go)._ Importing [the test library](#test-library) adds flags that are useful for end to end tests that need to run against a cluster. -Tests importing [`knative.dev/pkg/test`](#test-library) recognize these -flags: +Tests importing [`knative.dev/pkg/test`](#test-library) recognize these flags: - [`--kubeconfig`](#specifying-kubeconfig) - [`--cluster`](#specifying-cluster) diff --git a/vendor/knative.dev/pkg/test/clients.go b/vendor/knative.dev/pkg/test/clients.go index 44f7532f..4162a386 100644 --- a/vendor/knative.dev/pkg/test/clients.go +++ b/vendor/knative.dev/pkg/test/clients.go @@ -22,14 +22,14 @@ import ( "fmt" "strings" - "knative.dev/pkg/test/logging" - "knative.dev/pkg/test/spoof" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" k8styped "k8s.io/client-go/kubernetes/typed/core/v1" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" + "knative.dev/pkg/test/logging" + "knative.dev/pkg/test/spoof" ) // KubeClient holds instances of interfaces for making requests to kubernetes client. diff --git a/vendor/knative.dev/pkg/test/kube_checks.go b/vendor/knative.dev/pkg/test/kube_checks.go index cf1b6cc4..b15f8ea2 100644 --- a/vendor/knative.dev/pkg/test/kube_checks.go +++ b/vendor/knative.dev/pkg/test/kube_checks.go @@ -25,12 +25,12 @@ import ( "strings" "time" - "knative.dev/pkg/test/logging" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/wait" k8styped "k8s.io/client-go/kubernetes/typed/core/v1" + "knative.dev/pkg/test/logging" ) const ( diff --git a/vendor/knative.dev/pkg/test/logging/logging.go b/vendor/knative.dev/pkg/test/logging/logging.go index 13bd1d72..4d9c5a96 100644 --- a/vendor/knative.dev/pkg/test/logging/logging.go +++ b/vendor/knative.dev/pkg/test/logging/logging.go @@ -28,10 +28,10 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/golang/glog" - "knative.dev/pkg/logging" "go.opencensus.io/stats/view" "go.opencensus.io/trace" "go.uber.org/zap" + "knative.dev/pkg/logging" ) const ( diff --git a/vendor/knative.dev/pkg/test/monitoring/monitoring.go b/vendor/knative.dev/pkg/test/monitoring/monitoring.go index ea593d62..708b0cae 100644 --- a/vendor/knative.dev/pkg/test/monitoring/monitoring.go +++ b/vendor/knative.dev/pkg/test/monitoring/monitoring.go @@ -23,10 +23,10 @@ import ( "os/exec" "strings" - "knative.dev/pkg/test/logging" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes" + "knative.dev/pkg/test/logging" ) // CheckPortAvailability checks to see if the port is available on the machine. diff --git a/vendor/knative.dev/pkg/test/spoof/spoof.go b/vendor/knative.dev/pkg/test/spoof/spoof.go index 37f83b6c..5e58905b 100644 --- a/vendor/knative.dev/pkg/test/spoof/spoof.go +++ b/vendor/knative.dev/pkg/test/spoof/spoof.go @@ -24,12 +24,12 @@ import ( "net/http" "time" - ingress "knative.dev/pkg/test/ingress" - "knative.dev/pkg/test/logging" - "knative.dev/pkg/test/zipkin" "github.com/pkg/errors" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/kubernetes" + ingress "knative.dev/pkg/test/ingress" + "knative.dev/pkg/test/logging" + "knative.dev/pkg/test/zipkin" "go.opencensus.io/plugin/ochttp" "go.opencensus.io/plugin/ochttp/propagation/b3" diff --git a/vendor/knative.dev/pkg/test/zipkin/util.go b/vendor/knative.dev/pkg/test/zipkin/util.go index cbf3c7eb..9196db9f 100644 --- a/vendor/knative.dev/pkg/test/zipkin/util.go +++ b/vendor/knative.dev/pkg/test/zipkin/util.go @@ -25,10 +25,10 @@ import ( "net/http" "sync" - "knative.dev/pkg/test/logging" - "knative.dev/pkg/test/monitoring" "go.opencensus.io/trace" "k8s.io/client-go/kubernetes" + "knative.dev/pkg/test/logging" + "knative.dev/pkg/test/monitoring" ) const ( diff --git a/vendor/knative.dev/pkg/testing/inner_default_resource.go b/vendor/knative.dev/pkg/testing/inner_default_resource.go index be049128..df57397f 100644 --- a/vendor/knative.dev/pkg/testing/inner_default_resource.go +++ b/vendor/knative.dev/pkg/testing/inner_default_resource.go @@ -19,8 +19,8 @@ package testing import ( "context" - "knative.dev/pkg/apis" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "knative.dev/pkg/apis" ) // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/knative.dev/pkg/testing/resource.go b/vendor/knative.dev/pkg/testing/resource.go index f29c80ab..aa1d6813 100644 --- a/vendor/knative.dev/pkg/testing/resource.go +++ b/vendor/knative.dev/pkg/testing/resource.go @@ -20,9 +20,9 @@ import ( "context" "fmt" - "knative.dev/pkg/apis" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" + "knative.dev/pkg/apis" ) // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/vendor/knative.dev/pkg/tracing/opencensus.go b/vendor/knative.dev/pkg/tracing/opencensus.go index 86f11e8d..b99d8c81 100644 --- a/vendor/knative.dev/pkg/tracing/opencensus.go +++ b/vendor/knative.dev/pkg/tracing/opencensus.go @@ -4,11 +4,11 @@ import ( "errors" "sync" - "knative.dev/pkg/tracing/config" zipkinmodel "github.com/openzipkin/zipkin-go/model" zipkinreporter "github.com/openzipkin/zipkin-go/reporter" "go.opencensus.io/exporter/zipkin" "go.opencensus.io/trace" + "knative.dev/pkg/tracing/config" ) // ConfigOption is the interface for adding additional exporters and configuring opencensus tracing.