mirror of https://github.com/knative/caching.git
Auto-update dependencies (#123)
Produced via: `dep ensure -update knative.dev/test-infra knative.dev/pkg` /assign mattmoor
This commit is contained in:
parent
698f5d81ff
commit
fd459b90e8
|
@ -933,7 +933,7 @@
|
|||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:d91a27f79bca7f71b57bdc3581542d646c90dca75862c38d21ad7b1aca6c22aa"
|
||||
digest = "1:bd3e233f8af5d4e16b88a9dc7b3ca0efa654ef51239a30fb851ea1df19490dfe"
|
||||
name = "knative.dev/pkg"
|
||||
packages = [
|
||||
"apis",
|
||||
|
@ -952,18 +952,18 @@
|
|||
"metrics/metricskey",
|
||||
]
|
||||
pruneopts = "T"
|
||||
revision = "cad41c40ccb5a40de7a3b65097649703c8d96e0b"
|
||||
revision = "3588ed3e5c74b25740bbc535a2a43dfac998fa8a"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:15b833e870afd578a79069324b74c9cc2ac07b5547f34d54516d90f781c37461"
|
||||
digest = "1:d98cbeb7a88cc866d8353ffec3116baf6397669bde5ceb4caccf540e8cacc496"
|
||||
name = "knative.dev/test-infra"
|
||||
packages = [
|
||||
"scripts",
|
||||
"tools/dep-collector",
|
||||
]
|
||||
pruneopts = "UT"
|
||||
revision = "75f9d5135b8f823b6a663fe49f00dbc498b6ad33"
|
||||
revision = "027b4ff36fdb3a671f12e4fb1d386a742ee12183"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c"
|
||||
|
|
|
@ -1370,6 +1370,7 @@
|
|||
"k8s.io/client-go/dynamic",
|
||||
"k8s.io/client-go/dynamic/fake",
|
||||
"k8s.io/client-go/informers",
|
||||
"k8s.io/client-go/informers/admissionregistration/v1beta1",
|
||||
"k8s.io/client-go/informers/apps/v1",
|
||||
"k8s.io/client-go/informers/autoscaling/v1",
|
||||
"k8s.io/client-go/informers/autoscaling/v2beta1",
|
||||
|
|
|
@ -17,9 +17,8 @@ At present, these downstream repositories include:
|
|||
1. knative/serving
|
||||
1. knative/eventing
|
||||
1. knative/eventing-contrib
|
||||
1. knative/build
|
||||
1. knative/sample-controller
|
||||
1. GoogleCloudPlatform/cloud-run-events
|
||||
1. google/knative-gcp
|
||||
|
||||
> The automation that auto-bumps these lives
|
||||
> [here](https://github.com/mattmoor/knobots/tree/knative/cmd/periodic/kodata).
|
||||
|
|
40
vendor/knative.dev/pkg/client/injection/kube/informers/admissionregistration/v1beta1/mutatingwebhookconfiguration/fake/fake.go
generated
vendored
Normal file
40
vendor/knative.dev/pkg/client/injection/kube/informers/admissionregistration/v1beta1/mutatingwebhookconfiguration/fake/fake.go
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
Copyright 2019 The Knative Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by injection-gen. DO NOT EDIT.
|
||||
|
||||
package fake
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
mutatingwebhookconfiguration "knative.dev/pkg/client/injection/kube/informers/admissionregistration/v1beta1/mutatingwebhookconfiguration"
|
||||
fake "knative.dev/pkg/client/injection/kube/informers/factory/fake"
|
||||
controller "knative.dev/pkg/controller"
|
||||
injection "knative.dev/pkg/injection"
|
||||
)
|
||||
|
||||
var Get = mutatingwebhookconfiguration.Get
|
||||
|
||||
func init() {
|
||||
injection.Fake.RegisterInformer(withInformer)
|
||||
}
|
||||
|
||||
func withInformer(ctx context.Context) (context.Context, controller.Informer) {
|
||||
f := fake.Get(ctx)
|
||||
inf := f.Admissionregistration().V1beta1().MutatingWebhookConfigurations()
|
||||
return context.WithValue(ctx, mutatingwebhookconfiguration.Key{}, inf), inf.Informer()
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
Copyright 2019 The Knative Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by injection-gen. DO NOT EDIT.
|
||||
|
||||
package mutatingwebhookconfiguration
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
v1beta1 "k8s.io/client-go/informers/admissionregistration/v1beta1"
|
||||
factory "knative.dev/pkg/client/injection/kube/informers/factory"
|
||||
controller "knative.dev/pkg/controller"
|
||||
injection "knative.dev/pkg/injection"
|
||||
logging "knative.dev/pkg/logging"
|
||||
)
|
||||
|
||||
func init() {
|
||||
injection.Default.RegisterInformer(withInformer)
|
||||
}
|
||||
|
||||
// Key is used for associating the Informer inside the context.Context.
|
||||
type Key struct{}
|
||||
|
||||
func withInformer(ctx context.Context) (context.Context, controller.Informer) {
|
||||
f := factory.Get(ctx)
|
||||
inf := f.Admissionregistration().V1beta1().MutatingWebhookConfigurations()
|
||||
return context.WithValue(ctx, Key{}, inf), inf.Informer()
|
||||
}
|
||||
|
||||
// Get extracts the typed informer from the context.
|
||||
func Get(ctx context.Context) v1beta1.MutatingWebhookConfigurationInformer {
|
||||
untyped := ctx.Value(Key{})
|
||||
if untyped == nil {
|
||||
logging.FromContext(ctx).Panic(
|
||||
"Unable to fetch k8s.io/client-go/informers/admissionregistration/v1beta1.MutatingWebhookConfigurationInformer from context.")
|
||||
}
|
||||
return untyped.(v1beta1.MutatingWebhookConfigurationInformer)
|
||||
}
|
40
vendor/knative.dev/pkg/client/injection/kube/informers/admissionregistration/v1beta1/validatingwebhookconfiguration/fake/fake.go
generated
vendored
Normal file
40
vendor/knative.dev/pkg/client/injection/kube/informers/admissionregistration/v1beta1/validatingwebhookconfiguration/fake/fake.go
generated
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*
|
||||
Copyright 2019 The Knative Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by injection-gen. DO NOT EDIT.
|
||||
|
||||
package fake
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
validatingwebhookconfiguration "knative.dev/pkg/client/injection/kube/informers/admissionregistration/v1beta1/validatingwebhookconfiguration"
|
||||
fake "knative.dev/pkg/client/injection/kube/informers/factory/fake"
|
||||
controller "knative.dev/pkg/controller"
|
||||
injection "knative.dev/pkg/injection"
|
||||
)
|
||||
|
||||
var Get = validatingwebhookconfiguration.Get
|
||||
|
||||
func init() {
|
||||
injection.Fake.RegisterInformer(withInformer)
|
||||
}
|
||||
|
||||
func withInformer(ctx context.Context) (context.Context, controller.Informer) {
|
||||
f := fake.Get(ctx)
|
||||
inf := f.Admissionregistration().V1beta1().ValidatingWebhookConfigurations()
|
||||
return context.WithValue(ctx, validatingwebhookconfiguration.Key{}, inf), inf.Informer()
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
/*
|
||||
Copyright 2019 The Knative Authors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Code generated by injection-gen. DO NOT EDIT.
|
||||
|
||||
package validatingwebhookconfiguration
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
v1beta1 "k8s.io/client-go/informers/admissionregistration/v1beta1"
|
||||
factory "knative.dev/pkg/client/injection/kube/informers/factory"
|
||||
controller "knative.dev/pkg/controller"
|
||||
injection "knative.dev/pkg/injection"
|
||||
logging "knative.dev/pkg/logging"
|
||||
)
|
||||
|
||||
func init() {
|
||||
injection.Default.RegisterInformer(withInformer)
|
||||
}
|
||||
|
||||
// Key is used for associating the Informer inside the context.Context.
|
||||
type Key struct{}
|
||||
|
||||
func withInformer(ctx context.Context) (context.Context, controller.Informer) {
|
||||
f := factory.Get(ctx)
|
||||
inf := f.Admissionregistration().V1beta1().ValidatingWebhookConfigurations()
|
||||
return context.WithValue(ctx, Key{}, inf), inf.Informer()
|
||||
}
|
||||
|
||||
// Get extracts the typed informer from the context.
|
||||
func Get(ctx context.Context) v1beta1.ValidatingWebhookConfigurationInformer {
|
||||
untyped := ctx.Value(Key{})
|
||||
if untyped == nil {
|
||||
logging.FromContext(ctx).Panic(
|
||||
"Unable to fetch k8s.io/client-go/informers/admissionregistration/v1beta1.ValidatingWebhookConfigurationInformer from context.")
|
||||
}
|
||||
return untyped.(v1beta1.ValidatingWebhookConfigurationInformer)
|
||||
}
|
|
@ -45,7 +45,7 @@ EXTERNAL_INFORMER_PKG="k8s.io/client-go/informers" \
|
|||
${REPO_ROOT_DIR}/hack/generate-knative.sh "injection" \
|
||||
k8s.io/client-go \
|
||||
k8s.io/api \
|
||||
"apps:v1 autoscaling:v1,v2beta1 batch:v1,v1beta1 core:v1 rbac:v1" \
|
||||
"admissionregistration:v1beta1 apps:v1 autoscaling:v1,v2beta1 batch:v1,v1beta1 core:v1 rbac:v1" \
|
||||
--go-header-file ${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt
|
||||
|
||||
OUTPUT_PKG="knative.dev/pkg/client/injection/apiextensions" \
|
||||
|
|
|
@ -48,8 +48,8 @@ these below).
|
|||
import (
|
||||
// These are how you access a client or informer off of the "ctx" passed
|
||||
// to set up the controller.
|
||||
"knative.dev/pkg/injection/clients/kubeclient"
|
||||
svcinformer "knative.dev/pkg/injection/informers/kubeinformers/corev1/service"
|
||||
"knative.dev/pkg/client/injection/kube/client"
|
||||
svcinformer "knative.dev/pkg/client/injection/kube/informers/core/v1/service"
|
||||
|
||||
// Other imports ...
|
||||
)
|
||||
|
@ -91,7 +91,7 @@ import (
|
|||
"testing"
|
||||
|
||||
// Link the fakes for any informers our controller accesses.
|
||||
_ "knative.dev/pkg/injection/informers/kubeinformers/corev1/service/fake"
|
||||
_ "knative.dev/pkg/client/injection/kube/informers/core/v1/service/fake"
|
||||
|
||||
"k8s.io/client-go/rest"
|
||||
"knative.dev/pkg/injection"
|
||||
|
@ -116,7 +116,7 @@ The fake clients also support manually setting up contexts seeded with objects:
|
|||
import (
|
||||
"testing"
|
||||
|
||||
fakekubeclient "knative.dev/pkg/injection/clients/kubeclient/fake"
|
||||
fakekubeclient "knative.dev/pkg/client/injection/kube/client/fake"
|
||||
|
||||
"k8s.io/client-go/rest"
|
||||
"knative.dev/pkg/injection"
|
||||
|
|
|
@ -42,8 +42,8 @@ func withClient(ctx context.Context, cfg *rest.Config) context.Context {
|
|||
func Get(ctx context.Context) dynamic.Interface {
|
||||
untyped := ctx.Value(Key{})
|
||||
if untyped == nil {
|
||||
logging.FromContext(ctx).Panicf(
|
||||
"Unable to fetch %T from context.", (dynamic.Interface)(nil))
|
||||
logging.FromContext(ctx).Panic(
|
||||
"Unable to fetch k8s.io/client-go/dynamic.Interface from context.")
|
||||
}
|
||||
return untyped.(dynamic.Interface)
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ source $(dirname ${BASH_SOURCE})/library.sh
|
|||
# If not provided, they will fall back to the default values.
|
||||
readonly BENCHMARK_ROOT_PATH=${BENCHMARK_ROOT_PATH:-test/performance/benchmarks}
|
||||
readonly PROJECT_NAME=${PROJECT_NAME:-knative-performance}
|
||||
readonly SERVICE_ACCOUNT_NAME=${SERVICE_ACCOUNT_NAME:-mako-job}
|
||||
readonly SERVICE_ACCOUNT_NAME=${SERVICE_ACCOUNT_NAME:-mako-job@knative-performance.iam.gserviceaccount.com}
|
||||
|
||||
# Setup env vars.
|
||||
export KO_DOCKER_REPO="gcr.io/${PROJECT_NAME}"
|
||||
|
@ -36,9 +36,8 @@ readonly SLACK_WRITE_TOKEN="/etc/performance-test/slack-write-token"
|
|||
# Set up the user for cluster operations.
|
||||
function setup_user() {
|
||||
echo ">> Setting up user"
|
||||
local user_name="${SERVICE_ACCOUNT_NAME}@${PROJECT_NAME}.iam.gserviceaccount.com"
|
||||
echo "Using gcloud user ${user_name}"
|
||||
gcloud config set core/account ${user_name}
|
||||
echo "Using gcloud user ${SERVICE_ACCOUNT_NAME}"
|
||||
gcloud config set core/account ${SERVICE_ACCOUNT_NAME}
|
||||
echo "Using gcloud project ${PROJECT_NAME}"
|
||||
gcloud config set core/project ${PROJECT_NAME}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue