Auto-update dependencies (#39)

Produced via:
  `dep ensure -update github.com/knative/test-infra knative.dev/pkg`
/assign @mattmoor
This commit is contained in:
mattmoor-sockpuppet 2019-06-28 08:25:07 -07:00 committed by Knative Prow Robot
parent e25e136c9f
commit 55b45efbc4
28 changed files with 40 additions and 42 deletions

6
Gopkg.lock generated
View File

@ -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"

View File

@ -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:

4
vendor/knative.dev/pkg/Gopkg.lock generated vendored
View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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`.

View File

@ -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() {

View File

@ -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

View File

@ -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 (

View File

@ -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) {

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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)

View File

@ -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.

View File

@ -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 (

View File

@ -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 (

View File

@ -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.

View File

@ -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"

View File

@ -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 (

View File

@ -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

View File

@ -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

View File

@ -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.