From 8e7c7751798dbe08995a35fbd380e09a10206c8d Mon Sep 17 00:00:00 2001 From: Yijie Wang <147119743+yijie-04@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:36:54 -0400 Subject: [PATCH 01/11] CrossNamespace: e2e test to verify event delivery for broker and trigger (#7933) * data plane changes * moved global variables inside function * updated other functions * feature flag * verifying events get delivered * main test * test for broker in different namespace * changed to two environments * updated namespace variables * moved feature flag prerequisite * fix global undefined problem * updated creating namespace * ctx variable name update * getting rid of trigger goes ready since it's done in feature * adding withbrokerref option for trigger install * changing the way parameter is passed in * refactor brokername parameter * clean up unused variables * added missing broker name * deleted unused parameter * enabling feature flag * fixed argument * cleaned up unused variable * manually resolving URL for sending events * use StartSenderToNamespacedResource * Update code * comments clean up * Update go.mod * Update go.sum * Update modules.txt * Update forwarder.go * update codegen * debug unit test * comments clean up * clean up unused variables * undo changes to owners_aliases * updated broker filter handler * install broker * install trigger and broker * adding subscriber to triggerCfg * added withbrokerref function * updated filter handler checks * updated broker in reportArgs * updated broker handling in handleDispatchToSubscribeRequest * updated brokerref in handleDispatchToReplyRequest * updated WithBrokerRef fcn * fix(test): the crossnamespace e2e test passes now (#1) Signed-off-by: Calum Murray * fixed typo * fix: feature flags are passed correctly (#2) Signed-off-by: Calum Murray * Update test/rekt/crossnamespace_test.go Co-authored-by: Calum Murray * Update test/rekt/features/broker/crossnamespace.go Co-authored-by: Calum Murray * Update test/rekt/features/trigger/crossnamespace.go Co-authored-by: Calum Murray * cleaned up comments --------- Signed-off-by: Calum Murray Co-authored-by: Calum Murray --- pkg/broker/filter/filter_handler.go | 59 +++++++++----- pkg/reconciler/broker/trigger/controller.go | 11 +-- .../broker/trigger/controller_test.go | 8 +- pkg/reconciler/broker/trigger/trigger.go | 4 +- pkg/reconciler/sugar/trigger/controller.go | 5 +- .../sugar/trigger/controller_test.go | 6 ++ test/config/config-features.yaml | 2 +- test/e2e-common.sh | 2 +- .../features/eventtype_autocreate/features.go | 6 +- test/rekt/crossnamespace_test.go | 54 +++++++++++++ .../features/apiserversource/data_plane.go | 4 +- test/rekt/features/broker/control_plane.go | 10 +-- test/rekt/features/broker/crossnamespace.go | 41 ++++++++++ .../features/broker/eventing_tls_feature.go | 2 +- test/rekt/features/broker/feature.go | 37 ++++----- test/rekt/features/broker/oidc_feature.go | 8 +- test/rekt/features/broker/readyness.go | 4 +- test/rekt/features/broker/source_to_sink.go | 8 +- test/rekt/features/broker/topology.go | 4 +- .../features/featureflags/featureflags.go | 14 ++++ .../features/new_trigger_filters/feature.go | 6 +- .../features/new_trigger_filters/filters.go | 3 +- test/rekt/features/pingsource/features.go | 4 +- test/rekt/features/trigger/control_plane.go | 4 +- test/rekt/features/trigger/crossnamespace.go | 81 +++++++++++++++++++ test/rekt/features/trigger/feature.go | 11 +-- .../trigger/trigger_sink_resolution.go | 8 +- test/rekt/resources/broker/broker.go | 6 ++ test/rekt/resources/trigger/trigger.go | 32 +++++++- test/rekt/resources/trigger/trigger.yaml | 7 ++ 30 files changed, 356 insertions(+), 95 deletions(-) create mode 100644 test/rekt/crossnamespace_test.go create mode 100644 test/rekt/features/broker/crossnamespace.go create mode 100644 test/rekt/features/trigger/crossnamespace.go diff --git a/pkg/broker/filter/filter_handler.go b/pkg/broker/filter/filter_handler.go index 5276b6f0a5e..ec46c0b3886 100644 --- a/pkg/broker/filter/filter_handler.go +++ b/pkg/broker/filter/filter_handler.go @@ -227,16 +227,24 @@ func (h *Handler) ServeHTTP(writer http.ResponseWriter, request *http.Request) { } func (h *Handler) handleDispatchToReplyRequest(ctx context.Context, trigger *eventingv1.Trigger, writer http.ResponseWriter, request *http.Request, event *event.Event) { - var brokerRef, brokerNamespace string - if feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef.Namespace != "" { - brokerRef = trigger.Spec.BrokerRef.Name - brokerNamespace = trigger.Spec.BrokerRef.Namespace + var brokerName, brokerNamespace string + if feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef != nil { + if trigger.Spec.BrokerRef.Name != "" { + brokerName = trigger.Spec.BrokerRef.Name + } else { + brokerName = trigger.Spec.Broker + } + if trigger.Spec.BrokerRef.Namespace != "" { + brokerNamespace = trigger.Spec.BrokerRef.Namespace + } else { + brokerNamespace = trigger.Namespace + } } else { - brokerRef = trigger.Spec.Broker + brokerName = trigger.Spec.Broker brokerNamespace = trigger.Namespace } - broker, err := h.brokerLister.Brokers(brokerNamespace).Get(brokerRef) + broker, err := h.brokerLister.Brokers(brokerNamespace).Get(brokerName) if err != nil { h.logger.Info("Unable to get the Broker", zap.Error(err)) writer.WriteHeader(http.StatusBadRequest) @@ -248,7 +256,7 @@ func (h *Handler) handleDispatchToReplyRequest(ctx context.Context, trigger *eve reportArgs := &ReportArgs{ ns: trigger.Namespace, trigger: trigger.Name, - broker: brokerRef, + broker: brokerName, requestType: "reply_forward", } @@ -265,16 +273,23 @@ func (h *Handler) handleDispatchToReplyRequest(ctx context.Context, trigger *eve } func (h *Handler) handleDispatchToDLSRequest(ctx context.Context, trigger *eventingv1.Trigger, writer http.ResponseWriter, request *http.Request, event *event.Event) { - var brokerRef, brokerNamespace string - if feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef.Namespace != "" { - brokerRef = trigger.Spec.BrokerRef.Name - brokerNamespace = trigger.Spec.BrokerRef.Namespace + var brokerName, brokerNamespace string + if feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef != nil { + if trigger.Spec.BrokerRef.Name != "" { + brokerName = trigger.Spec.BrokerRef.Name + } else { + brokerName = trigger.Spec.Broker + } + if trigger.Spec.BrokerRef.Namespace != "" { + brokerNamespace = trigger.Spec.BrokerRef.Namespace + } else { + brokerNamespace = trigger.Namespace + } } else { - brokerRef = trigger.Spec.Broker + brokerName = trigger.Spec.Broker brokerNamespace = trigger.Namespace } - - broker, err := h.brokerLister.Brokers(brokerNamespace).Get(brokerRef) + broker, err := h.brokerLister.Brokers(brokerNamespace).Get(brokerName) if err != nil { h.logger.Info("Unable to get the Broker", zap.Error(err)) writer.WriteHeader(http.StatusBadRequest) @@ -299,7 +314,7 @@ func (h *Handler) handleDispatchToDLSRequest(ctx context.Context, trigger *event reportArgs := &ReportArgs{ ns: trigger.Namespace, trigger: trigger.Name, - broker: trigger.Spec.Broker, + broker: brokerName, requestType: "dls_forward", } @@ -316,11 +331,15 @@ func (h *Handler) handleDispatchToDLSRequest(ctx context.Context, trigger *event } func (h *Handler) handleDispatchToSubscriberRequest(ctx context.Context, trigger *eventingv1.Trigger, writer http.ResponseWriter, request *http.Request, event *event.Event) { - var brokerRef string - if feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef.Namespace != "" { - brokerRef = trigger.Spec.BrokerRef.Name + var brokerName string + if feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef != nil { + if trigger.Spec.BrokerRef.Name != "" { + brokerName = trigger.Spec.BrokerRef.Name + } else { + brokerName = trigger.Spec.Broker + } } else { - brokerRef = trigger.Spec.Broker + brokerName = trigger.Spec.Broker } triggerRef := types.NamespacedName{ @@ -346,7 +365,7 @@ func (h *Handler) handleDispatchToSubscriberRequest(ctx context.Context, trigger reportArgs := &ReportArgs{ ns: trigger.Namespace, trigger: trigger.Name, - broker: brokerRef, + broker: brokerName, filterType: triggerFilterAttribute(trigger.Spec.Filter, "type"), requestType: "filter", } diff --git a/pkg/reconciler/broker/trigger/controller.go b/pkg/reconciler/broker/trigger/controller.go index 661372365a7..b918cddb440 100644 --- a/pkg/reconciler/broker/trigger/controller.go +++ b/pkg/reconciler/broker/trigger/controller.go @@ -104,7 +104,7 @@ func NewController( FilterFunc: brokerFilter, Handler: controller.HandleAll(func(obj interface{}) { if broker, ok := obj.(*eventing.Broker); ok { - for _, t := range getTriggersForBroker(ctx, logger, triggerLister, broker) { + for _, t := range getTriggersForBroker(logger, triggerLister, broker, featureStore.Load()) { impl.Enqueue(t) } } @@ -163,6 +163,8 @@ func filterTriggers(featureStore *feature.Store, lister eventinglisters.BrokerLi return false } + var broker string + var brokerNamespace string if featureStore.IsEnabled(feature.CrossNamespaceEventLinks) && trigger.Spec.BrokerRef != nil { broker = trigger.Spec.BrokerRef.Name brokerNamespace = trigger.Spec.BrokerRef.Namespace @@ -185,7 +187,7 @@ func filterTriggers(featureStore *feature.Store, lister eventinglisters.BrokerLi // the Triggers belonging to it. As there is no way to return failures in the // Informers EventHandler, errors are logged, and an empty array is returned in case // of failures. -func getTriggersForBroker(ctx context.Context, logger *zap.SugaredLogger, triggerLister eventinglisters.TriggerLister, broker *eventing.Broker) []*eventing.Trigger { +func getTriggersForBroker(logger *zap.SugaredLogger, triggerLister eventinglisters.TriggerLister, broker *eventing.Broker, features feature.Flags) []*eventing.Trigger { r := make([]*eventing.Trigger, 0) selector := labels.SelectorFromSet(map[string]string{apiseventing.BrokerLabelKey: broker.Name}) triggers, err := triggerLister.Triggers(metav1.NamespaceAll).List(selector) @@ -194,10 +196,9 @@ func getTriggersForBroker(ctx context.Context, logger *zap.SugaredLogger, trigge return r } for _, t := range triggers { - if feature.FromContext(ctx).IsCrossNamespaceEventLinks() && t.Spec.BrokerRef != nil && t.Spec.BrokerRef.Namespace == broker.Namespace { + if features.IsCrossNamespaceEventLinks() && t.Spec.BrokerRef != nil && t.Spec.BrokerRef.Namespace == broker.Namespace { r = append(r, t) - } - if t.Namespace == broker.Namespace { + } else if t.Namespace == broker.Namespace { r = append(r, t) } } diff --git a/pkg/reconciler/broker/trigger/controller_test.go b/pkg/reconciler/broker/trigger/controller_test.go index e016ccf41f9..a5595cbc3a3 100644 --- a/pkg/reconciler/broker/trigger/controller_test.go +++ b/pkg/reconciler/broker/trigger/controller_test.go @@ -305,8 +305,8 @@ func TestGetTriggersForBroker(t *testing.T) { ls := testingv1.NewListers(tt.in) logger := logtesting.TestLogger(t) triggerLister := ls.GetTriggerLister() - ctx := feature.ToContext(context.TODO(), feature.FromContextOrDefaults(context.TODO())) - triggers := getTriggersForBroker(ctx, logger, triggerLister, ReadyBroker()) + flags := feature.FromContextOrDefaults(context.TODO()) + triggers := getTriggersForBroker(logger, triggerLister, ReadyBroker(), flags) var found []string for _, want := range tt.out { for _, got := range triggers { @@ -348,8 +348,8 @@ func (failer *TriggerNamespaceListerFailer) Get(name string) (*eventing.Trigger, func TestListFailure(t *testing.T) { logger := logtesting.TestLogger(t) triggerListerFailer := &TriggerListerFailer{} - ctx := feature.ToContext(context.TODO(), feature.FromContextOrDefaults(context.TODO())) - if len(getTriggersForBroker(ctx, logger, triggerListerFailer, ReadyBroker())) != 0 { + flags := feature.FromContextOrDefaults(context.TODO()) + if len(getTriggersForBroker(logger, triggerListerFailer, ReadyBroker(), flags)) != 0 { t.Fatalf("Got back triggers when not expecting any") } } diff --git a/pkg/reconciler/broker/trigger/trigger.go b/pkg/reconciler/broker/trigger/trigger.go index 8d9578b5ae1..51166e638f5 100644 --- a/pkg/reconciler/broker/trigger/trigger.go +++ b/pkg/reconciler/broker/trigger/trigger.go @@ -57,8 +57,6 @@ import ( ) var brokerGVK = eventingv1.SchemeGroupVersion.WithKind("Broker") -var brokerNamespace string -var broker string const ( // Name of the corev1.Events emitted from the Trigger reconciliation process. @@ -91,6 +89,8 @@ type Reconciler struct { func (r *Reconciler) ReconcileKind(ctx context.Context, t *eventingv1.Trigger) pkgreconciler.Event { logging.FromContext(ctx).Infow("Reconciling", zap.Any("Trigger", t)) + var broker string + var brokerNamespace string if t.Spec.BrokerRef != nil && feature.FromContext(ctx).IsEnabled(feature.CrossNamespaceEventLinks) { broker = t.Spec.BrokerRef.Name brokerNamespace = t.Spec.BrokerRef.Namespace diff --git a/pkg/reconciler/sugar/trigger/controller.go b/pkg/reconciler/sugar/trigger/controller.go index b3afb0f9a16..a798b585199 100644 --- a/pkg/reconciler/sugar/trigger/controller.go +++ b/pkg/reconciler/sugar/trigger/controller.go @@ -47,6 +47,9 @@ func NewController( triggerInformer := trigger.Get(ctx) brokerInformer := broker.Get(ctx) + featureStore := feature.NewStore(logging.FromContext(ctx).Named("config-features")) + featureStore.WatchConfigs(cmw) + r := &Reconciler{ eventingClientSet: eventingclient.Get(ctx), brokerLister: brokerInformer.Lister(), @@ -73,7 +76,7 @@ func NewController( return } for _, t := range triggers { - if feature.FromContext(ctx).IsCrossNamespaceEventLinks() && t.Spec.BrokerRef != nil && t.Spec.BrokerRef.Namespace == b.Namespace { + if featureStore.Load().IsCrossNamespaceEventLinks() && t.Spec.BrokerRef != nil && t.Spec.BrokerRef.Namespace == b.Namespace { impl.Enqueue(t) } else if t.Namespace == b.Namespace { impl.Enqueue(t) diff --git a/pkg/reconciler/sugar/trigger/controller_test.go b/pkg/reconciler/sugar/trigger/controller_test.go index 5af2aea2b5a..b2c9a9c27dd 100644 --- a/pkg/reconciler/sugar/trigger/controller_test.go +++ b/pkg/reconciler/sugar/trigger/controller_test.go @@ -48,6 +48,12 @@ func TestNew(t *testing.T) { "_example": "test-config", }, }, + &corev1.ConfigMap{ + ObjectMeta: metav1.ObjectMeta{ + Name: "config-features", + Namespace: "knative-eventing", + }, + }, )) if c == nil { diff --git a/test/config/config-features.yaml b/test/config/config-features.yaml index f5528595dbf..8fbccdd8d6e 100644 --- a/test/config/config-features.yaml +++ b/test/config/config-features.yaml @@ -54,7 +54,7 @@ data: # ALPHA feature: The cross-namespace-event-links flag allows you to use cross-namespace referencing for Eventing. # For more details: https://github.com/knative/eventing/issues/7739 - cross-namespace-event-links: "disabled" + cross-namespace-event-links: "enabled" # ALPHA feature: The new-apiserversource-filters flag allows you to use the new `filters` field # in APIServerSource objects with its rich filtering capabilities. diff --git a/test/e2e-common.sh b/test/e2e-common.sh index 0716dd05c10..73b87d3b634 100755 --- a/test/e2e-common.sh +++ b/test/e2e-common.sh @@ -108,7 +108,7 @@ function scale_controlplane() { function create_knsubscribe_rolebinding() { kubectl delete clusterrolebinding knsubscribe-test-rb --ignore-not-found=true - kubectl create clusterrolebinding knsubscribe-test-rb --user=$(kubectl auth whoami -ojson | jq .status.userInfo.username -r) --clusterrole=crossnamespace=subscriber + kubectl create clusterrolebinding knsubscribe-test-rb --user=$(kubectl auth whoami -ojson | jq .status.userInfo.username -r) --clusterrole=crossnamespace-subscriber } # Install Knative Monitoring in the current cluster. diff --git a/test/experimental/features/eventtype_autocreate/features.go b/test/experimental/features/eventtype_autocreate/features.go index 1c33d7abc70..f4eaa988ccd 100644 --- a/test/experimental/features/eventtype_autocreate/features.go +++ b/test/experimental/features/eventtype_autocreate/features.go @@ -120,7 +120,7 @@ func AutoCreateEventTypesOnBroker(brokerName string) *feature.Feature { sink := feature.MakeRandomK8sName("sink") f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) - f.Setup("install subscription", trigger.Install(triggerName, brokerName, trigger.WithSubscriber(service.AsKReference(sink), ""))) + f.Setup("install subscription", trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink), ""))) f.Setup("trigger is ready", trigger.IsReady(triggerName)) f.Setup("broker is addressable", k8s.IsAddressable(broker.GVR(), brokerName)) @@ -158,7 +158,7 @@ func AutoCreateEventTypesOnTrigger(brokerName string) *feature.Feature { replyData := "" f.Setup("install sink", eventshub.Install(sink, eventshub.ReplyWithTransformedEvent(replyType, replySource, replyData), eventshub.StartReceiver)) - f.Setup("install trigger", trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(service.AsDestinationRef(sink)), trigger.WithFilter(map[string]string{ + f.Setup("install trigger", trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(service.AsDestinationRef(sink)), trigger.WithFilter(map[string]string{ "type": event.Type(), }))) @@ -194,7 +194,7 @@ func AutoCreateEventTypeEventsFromPingSource() *feature.Feature { f.Setup("broker is ready", broker.IsReady(brokerName)) f.Setup("broker is addressable", broker.IsAddressable(brokerName)) f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) - f.Setup("install trigger", trigger.Install(via, brokerName, trigger.WithSubscriber(service.AsKReference(sink), ""))) + f.Setup("install trigger", trigger.Install(via, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink), ""))) f.Setup("trigger goes ready", trigger.IsReady(via)) f.Requirement("install pingsource", func(ctx context.Context, t feature.T) { diff --git a/test/rekt/crossnamespace_test.go b/test/rekt/crossnamespace_test.go new file mode 100644 index 00000000000..3246afc4343 --- /dev/null +++ b/test/rekt/crossnamespace_test.go @@ -0,0 +1,54 @@ +//go:build e2e +// +build e2e + +/* +Copyright 2024 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. +*/ + +package rekt + +import ( + "testing" + + "knative.dev/pkg/system" + "knative.dev/reconciler-test/pkg/environment" + "knative.dev/reconciler-test/pkg/k8s" + "knative.dev/reconciler-test/pkg/knative" + + "knative.dev/eventing/test/rekt/features/trigger" +) + +func TestBrokerTriggerCrossNamespaceReference(t *testing.T) { + t.Parallel() + + brokerEnvCtx, _ := global.Environment( + knative.WithKnativeNamespace(system.Namespace()), + knative.WithLoggingConfig, + knative.WithTracingConfig, + k8s.WithEventListener, + environment.Managed(t), + ) + + triggerEnvCtx, triggerEnv := global.Environment( + knative.WithKnativeNamespace(system.Namespace()), + knative.WithLoggingConfig, + knative.WithTracingConfig, + k8s.WithEventListener, + environment.Managed(t), + ) + + // brokerEnv.Test(brokerEnvCtx, t, broker.GoesReady(brokerName)) + triggerEnv.Test(triggerEnvCtx, t, trigger.CrossNamespaceEventLinks(brokerEnvCtx)) +} diff --git a/test/rekt/features/apiserversource/data_plane.go b/test/rekt/features/apiserversource/data_plane.go index 40b31c6fa73..f856ca6984d 100644 --- a/test/rekt/features/apiserversource/data_plane.go +++ b/test/rekt/features/apiserversource/data_plane.go @@ -286,7 +286,7 @@ func SendsEventsWithEventTypes() *feature.Feature { f.Setup("broker is ready", broker.IsReady(brokerName)) f.Setup("broker is addressable", broker.IsAddressable(brokerName)) f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) - f.Setup("install trigger", trigger.Install(via, brokerName, trigger.WithSubscriber(service.AsKReference(sink), ""))) + f.Setup("install trigger", trigger.Install(via, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink), ""))) f.Setup("trigger goes ready", trigger.IsReady(via)) sacmName := feature.MakeRandomK8sName("apiserversource") @@ -888,7 +888,7 @@ func SendsEventsWithBrokerAsSinkTLS() *feature.Feature { f.Setup("install trigger", func(ctx context.Context, t feature.T) { d := service.AsDestinationRef(sinkName) d.CACerts = eventshub.GetCaCerts(ctx) - trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(d))(ctx, t) + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(d))(ctx, t) }) f.Setup("Wait for Trigger to become ready", trigger.IsReady(triggerName)) diff --git a/test/rekt/features/broker/control_plane.go b/test/rekt/features/broker/control_plane.go index 3f943e9ed0f..d8e87399bbe 100644 --- a/test/rekt/features/broker/control_plane.go +++ b/test/rekt/features/broker/control_plane.go @@ -114,7 +114,7 @@ func ControlPlaneTrigger_GivenBroker(brokerName string) *feature.Feature { service.WithSelectors(map[string]string{"bad": "svc"}))) triggerName := feature.MakeRandomK8sName("trigger") - f.Setup("Create a Trigger", triggerresources.Install(triggerName, brokerName, + f.Setup("Create a Trigger", triggerresources.Install(triggerName, triggerresources.WithBrokerName(brokerName), triggerresources.WithSubscriber(service.AsKReference(subscriberName), ""), )) @@ -142,7 +142,7 @@ func ControlPlaneTrigger_GivenBrokerTriggerReady(brokerName string) *feature.Fea service.WithSelectors(map[string]string{"bad": "svc"}))) triggerName := feature.MakeRandomK8sName("trigger") - f.Setup("Create a Trigger", triggerresources.Install(triggerName, brokerName, + f.Setup("Create a Trigger", triggerresources.Install(triggerName, triggerresources.WithBrokerName(brokerName), triggerresources.WithSubscriber(service.AsKReference(subscriberName), ""), )) @@ -167,7 +167,7 @@ func ControlPlaneTrigger_WithBrokerLifecycle(brokerOpts ...manifest.CfgFn) *feat brokerName := feature.MakeRandomK8sName("broker") triggerName := feature.MakeRandomK8sName("trigger") - f.Setup("Create a Trigger", triggerresources.Install(triggerName, brokerName, + f.Setup("Create a Trigger", triggerresources.Install(triggerName, triggerresources.WithBrokerName(brokerName), triggerresources.WithSubscriber(service.AsKReference(subscriberName), ""), )) @@ -211,7 +211,7 @@ func ControlPlaneTrigger_WithValidFilters(brokerName string) *feature.Feature { } triggerName := feature.MakeRandomK8sName("trigger") - f.Setup("Create a Trigger", triggerresources.Install(triggerName, brokerName, + f.Setup("Create a Trigger", triggerresources.Install(triggerName, triggerresources.WithBrokerName(brokerName), triggerresources.WithSubscriber(service.AsKReference(subscriberName), ""), triggerresources.WithFilter(filters), )) @@ -261,7 +261,7 @@ func ControlPlaneTrigger_WithInvalidFilters(brokerName string) *feature.Feature } triggerName := feature.MakeRandomK8sName("trigger") - f.Setup("Create a Trigger", triggerresources.Install(triggerName, brokerName, + f.Setup("Create a Trigger", triggerresources.Install(triggerName, triggerresources.WithBrokerName(brokerName), triggerresources.WithSubscriber(service.AsKReference(subscriberName), ""), )) diff --git a/test/rekt/features/broker/crossnamespace.go b/test/rekt/features/broker/crossnamespace.go new file mode 100644 index 00000000000..738b93b3ae3 --- /dev/null +++ b/test/rekt/features/broker/crossnamespace.go @@ -0,0 +1,41 @@ +/* +Copyright 2020 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. +*/ + +package broker + +import ( + "fmt" + + "knative.dev/eventing/test/rekt/features/featureflags" + "knative.dev/eventing/test/rekt/resources/broker" + "knative.dev/reconciler-test/pkg/feature" + "knative.dev/reconciler-test/pkg/manifest" +) + +func GoesReadyInDifferentNamespace(name, namespace string, cfg ...manifest.CfgFn) *feature.Feature { + f := new(feature.Feature) + f.Prerequisite("Cross Namespace Event Links is enabled", featureflags.CrossEventLinksEnabled()) + + // Add the namespace configuration + namespaceCfg := broker.WithConfigNamespace(namespace) + cfg = append(cfg, namespaceCfg) + + f.Setup(fmt.Sprintf("install broker %q in namespace %q", name, namespace), broker.Install(name, cfg...)) + f.Setup("Broker is ready", broker.IsReady(name)) + f.Setup("Broker is addressable", broker.IsAddressable(name)) + + return f +} diff --git a/test/rekt/features/broker/eventing_tls_feature.go b/test/rekt/features/broker/eventing_tls_feature.go index a1700550605..15d8894be55 100644 --- a/test/rekt/features/broker/eventing_tls_feature.go +++ b/test/rekt/features/broker/eventing_tls_feature.go @@ -72,7 +72,7 @@ func RotateMTChannelBrokerTLSCertificates() *feature.Feature { f.Setup("install trigger", func(ctx context.Context, t feature.T) { d := service.AsDestinationRef(sink) d.CACerts = eventshub.GetCaCerts(ctx) - trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(d))(ctx, t) + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(d))(ctx, t) }) f.Setup("trigger is ready", trigger.IsReady(triggerName)) f.Setup("Broker has HTTPS address", broker.ValidateAddress(brokerName, addressable.AssertHTTPSAddress)) diff --git a/test/rekt/features/broker/feature.go b/test/rekt/features/broker/feature.go index 5651422af99..1f0984942bf 100644 --- a/test/rekt/features/broker/feature.go +++ b/test/rekt/features/broker/feature.go @@ -140,9 +140,10 @@ func ManyTriggers() *feature.FeatureSet { trigger.WithSubscriber(service.AsKReference(sink), ""), trigger.WithFilter(filter), trigger.WithExtensions(eventFilter.Extensions), + trigger.WithBrokerName(brokerName), } - trigger.Install(sink, brokerName, cfg...)(ctx, t) + trigger.Install(sink, cfg...)(ctx, t) } broker.IsReady(brokerName)(ctx, t) @@ -291,7 +292,7 @@ func brokerChannelFlowWithTransformation(createSubscriberFn func(ref *v1.KRefere // Install the trigger1 point to Broker and transform the original events to new events f.Setup("install trigger1", trigger.Install( trigger1, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithFilter(filter1), trigger.WithSubscriber(service.AsKReference(sink1), ""), )) @@ -299,7 +300,7 @@ func brokerChannelFlowWithTransformation(createSubscriberFn func(ref *v1.KRefere // Install the trigger2 point to Broker to filter all the events f.Setup("install trigger2", trigger.Install( trigger2, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithFilter(filter2), trigger.WithSubscriber(service.AsKReference(sink2), ""), )) @@ -321,7 +322,7 @@ func brokerChannelFlowWithTransformation(createSubscriberFn func(ref *v1.KRefere // Install the trigger3 point to Broker to filter the events after transformation point to channel f.Setup("install trigger3", trigger.Install( trigger3, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithFilter(filter3), trigger.WithSubscriber(channel.AsRef(channelName), ""), )) @@ -431,7 +432,7 @@ func brokerEventTransformationForTrigger() *feature.Feature { // Install the trigger1 point to Broker and transform the original events to new events f.Setup("install trigger1", trigger.Install( trigger1, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithFilter(filter1), trigger.WithSubscriber(service.AsKReference(sink1), ""), )) @@ -439,7 +440,7 @@ func brokerEventTransformationForTrigger() *feature.Feature { // Install the trigger2 point to Broker to filter all the events f.Setup("install trigger2", trigger.Install( trigger2, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithFilter(filter2), trigger.WithSubscriber(service.AsKReference(sink2), ""), )) @@ -499,10 +500,10 @@ func BrokerPreferHeaderCheck() *feature.Feature { f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) // Point the Trigger subscriber to the sink svc. - cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), "")} + cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), ""), trigger.WithBrokerName(brokerName)} // Install the trigger - f.Setup("install trigger", trigger.Install(via, brokerName, cfg...)) + f.Setup("install trigger", trigger.Install(via, cfg...)) f.Setup("trigger goes ready", trigger.IsReady(via)) f.Requirement("install source", eventshub.Install( @@ -560,10 +561,10 @@ func brokerRedeliveryFibonacci(retryNum int32) *feature.Feature { f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) // Point the Trigger subscriber to the sink svc. - cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), "")} + cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), ""), trigger.WithBrokerName(brokerName)} // Install the trigger - f.Setup("install trigger", trigger.Install(via, brokerName, cfg...)) + f.Setup("install trigger", trigger.Install(via, cfg...)) f.Setup("trigger goes ready", trigger.IsReady(via)) f.Requirement("install source", eventshub.Install( @@ -615,10 +616,10 @@ func brokerRedeliveryDropN(retryNum int32, dropNum uint) *feature.Feature { f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) // Point the Trigger subscriber to the sink svc. - cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), "")} + cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), ""), trigger.WithBrokerName(brokerName)} // Install the trigger - f.Setup("install trigger", trigger.Install(via, brokerName, cfg...)) + f.Setup("install trigger", trigger.Install(via, cfg...)) f.Setup("trigger goes ready", trigger.IsReady(via)) f.Requirement("install source", eventshub.Install( @@ -689,7 +690,7 @@ func brokerSubscriberUnreachable() *feature.Feature { // Install the trigger and Point the Trigger subscriber to the sink svc. f.Setup("install trigger", trigger.Install( triggerName, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(nil, subscriberUri), trigger.WithDeadLetterSink(service.AsKReference(sink), ""), )) @@ -748,7 +749,7 @@ func brokerSubscriberErrorNodata() *feature.Feature { // Install the trigger and Point the Trigger subscriber to the sink svc. f.Setup("install trigger", trigger.Install( triggerName, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(failer), ""), trigger.WithDeadLetterSink(service.AsKReference(sink), ""), )) @@ -810,7 +811,7 @@ func brokerSubscriberErrorWithdata() *feature.Feature { // Install the trigger and Point the Trigger subscriber to the sink svc. f.Setup("install trigger", trigger.Install( triggerName, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(failer), ""), trigger.WithDeadLetterSink(service.AsKReference(sink), ""), )) @@ -893,7 +894,7 @@ func brokerSubscriberLongMessage() *feature.Feature { // Install the trigger and Point the Trigger subscriber to the sink svc. f.Setup("install trigger", trigger.Install( triggerName, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink), ""), )) f.Setup("trigger goes ready", trigger.IsReady(triggerName)) @@ -968,7 +969,7 @@ func brokerSubscriberLongResponseMessage() *feature.Feature { // Install the Triggers with appropriate Sinks and filters f.Setup("install trigger1", trigger.Install( trigger1, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink1), ""), trigger.WithFilter(map[string]string{"type": eventType1, "source": eventSource1}), )) @@ -976,7 +977,7 @@ func brokerSubscriberLongResponseMessage() *feature.Feature { f.Setup("install trigger2", trigger.Install( trigger2, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink2), ""), trigger.WithFilter(map[string]string{"type": eventType2, "source": eventSource2}), )) diff --git a/test/rekt/features/broker/oidc_feature.go b/test/rekt/features/broker/oidc_feature.go index 270212228e1..c6d688a18bd 100644 --- a/test/rekt/features/broker/oidc_feature.go +++ b/test/rekt/features/broker/oidc_feature.go @@ -77,7 +77,7 @@ func BrokerSendEventWithOIDCTokenToSubscriber() *feature.Feature { d := service.AsDestinationRef(sink) d.CACerts = eventshub.GetCaCerts(ctx) d.Audience = &sinkAudience - trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(d))(ctx, t) + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(d))(ctx, t) }) f.Setup("trigger goes ready", trigger.IsReady(triggerName)) @@ -135,7 +135,7 @@ func BrokerSendEventWithOIDCTokenToDLS() *feature.Feature { d := duckv1.Destination{} d.CACerts = eventshub.GetCaCerts(ctx) d.URI, _ = apis.ParseURL("bad://uri") - trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(&d))(ctx, t) + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(&d))(ctx, t) }) @@ -201,7 +201,7 @@ func BrokerSendEventWithOIDCTokenToReply() *feature.Feature { f.Setup("install the trigger", func(ctx context.Context, t feature.T) { d := service.AsDestinationRef(subscriber) d.CACerts = eventshub.GetCaCerts(ctx) - trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(d), trigger.WithFilter(map[string]string{ + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(d), trigger.WithFilter(map[string]string{ "type": event.Type(), }))(ctx, t) }) @@ -211,7 +211,7 @@ func BrokerSendEventWithOIDCTokenToReply() *feature.Feature { f.Setup("install the trigger and specify the CA cert of the destination", func(ctx context.Context, t feature.T) { d := service.AsDestinationRef(reply) d.CACerts = eventshub.GetCaCerts(ctx) - trigger.Install(helperTriggerName, brokerName, trigger.WithSubscriberFromDestination(d), trigger.WithFilter(map[string]string{ + trigger.Install(helperTriggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(d), trigger.WithFilter(map[string]string{ "type": replyEventType, }))(ctx, t) }) diff --git a/test/rekt/features/broker/readyness.go b/test/rekt/features/broker/readyness.go index bce002cfd02..784bfb8158f 100644 --- a/test/rekt/features/broker/readyness.go +++ b/test/rekt/features/broker/readyness.go @@ -37,10 +37,10 @@ func TriggerGoesReady(name, brokerName string, cfg ...manifest.CfgFn) *feature.F f.Setup("install a service", service.Install(sub, service.WithSelectors(map[string]string{"app": "rekt"}))) // Append user-provided cfg to the end, in case they are providing their own subscriber. - cfg = append([]manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sub), "")}, cfg...) + cfg = append([]manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sub), ""), trigger.WithBrokerName(brokerName)}, cfg...) // Install the trigger - f.Setup(fmt.Sprintf("install trigger %q", name), trigger.Install(name, brokerName, cfg...)) + f.Setup(fmt.Sprintf("install trigger %q", name), trigger.Install(name, cfg...)) // Wait for a ready broker. f.Setup("Broker is ready", broker.IsReady(brokerName)) diff --git a/test/rekt/features/broker/source_to_sink.go b/test/rekt/features/broker/source_to_sink.go index c3a7d50f73d..4c59c150ccb 100644 --- a/test/rekt/features/broker/source_to_sink.go +++ b/test/rekt/features/broker/source_to_sink.go @@ -46,10 +46,10 @@ func SourceToSink(brokerName string) *feature.Feature { f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) // Point the Trigger subscriber to the sink svc. - cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), "")} + cfg := []manifest.CfgFn{trigger.WithSubscriber(service.AsKReference(sink), ""), trigger.WithBrokerName(brokerName)} // Install the trigger - f.Setup("install trigger", trigger.Install(via, brokerName, cfg...)) + f.Setup("install trigger", trigger.Install(via, cfg...)) f.Setup("trigger goes ready", trigger.IsReady(via)) @@ -85,7 +85,7 @@ func SourceToSinkWithDLQ() *feature.Feature { brokerConfig := append(broker.WithEnvConfig(), delivery.WithDeadLetterSink(service.AsKReference(dls), "")) f.Setup("install broker", broker.Install(brokerName, brokerConfig...)) f.Setup("Broker is ready", broker.IsReady(brokerName)) - f.Setup("install trigger", trigger.Install(triggerName, brokerName, trigger.WithSubscriber(nil, "bad://uri"))) + f.Setup("install trigger", trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(nil, "bad://uri"))) f.Setup("trigger is ready", trigger.IsReady(triggerName)) ce := FullEvent() @@ -123,7 +123,7 @@ func SourceToSinkWithFlakyDLQ(brokerName string) *feature.Feature { f.Setup("install dlq", eventshub.Install(dlq, eventshub.StartReceiver)) f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver, eventshub.DropFirstN(2))) f.Setup("update broker with DLQ", broker.Install(brokerName, broker.WithDeadLetterSink(service.AsKReference(dlq), ""))) - f.Setup("install trigger", trigger.Install(via, brokerName, trigger.WithSubscriber(service.AsKReference(sink), ""))) + f.Setup("install trigger", trigger.Install(via, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink), ""))) f.Setup("trigger goes ready", trigger.IsReady(via)) f.Setup("broker goes ready", broker.IsReady(via)) diff --git a/test/rekt/features/broker/topology.go b/test/rekt/features/broker/topology.go index ef3adbb8ac8..cad9b96c374 100644 --- a/test/rekt/features/broker/topology.go +++ b/test/rekt/features/broker/topology.go @@ -88,7 +88,7 @@ func createBrokerTriggerTopology(f *feature.Feature, brokerName string, brokerDS f.Setup("install recorder for "+name, prober.ReceiverInstall(name, nameOpts...)) f.Setup("install recorder for "+dlqName, prober.ReceiverInstall(dlqName)) - tOpts := []manifest.CfgFn{triggerresources.WithSubscriber(prober.AsKReference(name), "")} + tOpts := []manifest.CfgFn{triggerresources.WithSubscriber(prober.AsKReference(name), ""), triggerresources.WithBrokerName(brokerName)} if t.delivery != nil { if t.delivery.DeadLetterSink != nil { @@ -104,7 +104,7 @@ func createBrokerTriggerTopology(f *feature.Feature, brokerName string, brokerDS triggerName := feature.MakeRandomK8sName(name) f.Setup("Create Trigger"+strconv.Itoa(i)+" with recorder", - triggerresources.Install(triggerName, brokerName, tOpts...)) + triggerresources.Install(triggerName, tOpts...)) f.Setup("Trigger"+strconv.Itoa(i)+" is ready", triggerresources.IsReady(triggerName)) diff --git a/test/rekt/features/featureflags/featureflags.go b/test/rekt/features/featureflags/featureflags.go index 8c1a6c5b6b9..042a46692e8 100644 --- a/test/rekt/features/featureflags/featureflags.go +++ b/test/rekt/features/featureflags/featureflags.go @@ -74,6 +74,20 @@ func AuthenticationOIDCEnabled() feature.ShouldRun { } } +func CrossEventLinksEnabled() feature.ShouldRun { + return func(ctx context.Context, t feature.T) (feature.PrerequisiteResult, error) { + flags, err := getFeatureFlags(ctx, "config-features") + if err != nil { + return feature.PrerequisiteResult{}, err + } + + return feature.PrerequisiteResult{ + ShouldRun: flags.IsCrossNamespaceEventLinks(), + Reason: flags.String(), + }, nil + } +} + func IstioDisabled() feature.ShouldRun { return func(ctx context.Context, t feature.T) (feature.PrerequisiteResult, error) { flags, err := getFeatureFlags(ctx, "config-features") diff --git a/test/rekt/features/new_trigger_filters/feature.go b/test/rekt/features/new_trigger_filters/feature.go index ee95bab4e32..f331b39b999 100644 --- a/test/rekt/features/new_trigger_filters/feature.go +++ b/test/rekt/features/new_trigger_filters/feature.go @@ -351,15 +351,17 @@ func MultipleTriggersAndSinksFeature(installBroker InstallBrokerFunc) *feature.F trigger.WithSubscriber(service.AsKReference(subscriberName1), ""), trigger.WithNewFilters(filtersFirstTrigger), trigger.WithFilter(eventingv1.TriggerFilter{}.Attributes), + trigger.WithBrokerName(brokerName), } - trigger.Install(triggerName1, brokerName, triggerCfg1...)(ctx, t) + trigger.Install(triggerName1, triggerCfg1...)(ctx, t) triggerCfg2 := []manifest.CfgFn{ trigger.WithSubscriber(service.AsKReference(subscriberName2), ""), trigger.WithNewFilters(filtersSecondTrigger), trigger.WithFilter(eventingv1.TriggerFilter{}.Attributes), + trigger.WithBrokerName(brokerName), } - trigger.Install(triggerName2, brokerName, triggerCfg2...)(ctx, t) + trigger.Install(triggerName2, triggerCfg2...)(ctx, t) broker.IsReady(brokerName)(ctx, t) broker.IsAddressable(brokerName)(ctx, t) diff --git a/test/rekt/features/new_trigger_filters/filters.go b/test/rekt/features/new_trigger_filters/filters.go index b07d66f8110..0968056821a 100644 --- a/test/rekt/features/new_trigger_filters/filters.go +++ b/test/rekt/features/new_trigger_filters/filters.go @@ -46,9 +46,10 @@ func createNewFiltersFeature(f *feature.Feature, eventContexts []CloudEventsCont trigger.WithSubscriber(service.AsKReference(subscriberName), ""), trigger.WithNewFilters(filters), trigger.WithFilter(filter.Attributes), + trigger.WithBrokerName(brokerName), } - trigger.Install(triggerName, brokerName, triggerCfg...)(ctx, t) + trigger.Install(triggerName, triggerCfg...)(ctx, t) broker.IsReady(brokerName)(ctx, t) broker.IsAddressable(brokerName)(ctx, t) diff --git a/test/rekt/features/pingsource/features.go b/test/rekt/features/pingsource/features.go index f59858d6d8c..2770cd09f4f 100644 --- a/test/rekt/features/pingsource/features.go +++ b/test/rekt/features/pingsource/features.go @@ -204,7 +204,7 @@ func SendsEventsWithEventTypes() *feature.Feature { f.Setup("broker is ready", broker.IsReady(brokerName)) f.Setup("broker is addressable", broker.IsAddressable(brokerName)) f.Setup("install sink", eventshub.Install(sink, eventshub.StartReceiver)) - f.Setup("install trigger", trigger.Install(via, brokerName, trigger.WithSubscriber(service.AsKReference(sink), ""))) + f.Setup("install trigger", trigger.Install(via, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(service.AsKReference(sink), ""))) f.Setup("trigger goes ready", trigger.IsReady(via)) f.Requirement("install pingsource", func(ctx context.Context, t feature.T) { @@ -253,7 +253,7 @@ func SendsEventsWithBrokerAsSinkTLS() *feature.Feature { f.Setup("install trigger", func(ctx context.Context, t feature.T) { d := service.AsDestinationRef(sinkName) d.CACerts = eventshub.GetCaCerts(ctx) - trigger.Install(triggerName, brokerName, trigger.WithSubscriberFromDestination(d))(ctx, t) + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(d))(ctx, t) }) f.Setup("Wait for Trigger to become ready", trigger.IsReady(triggerName)) diff --git a/test/rekt/features/trigger/control_plane.go b/test/rekt/features/trigger/control_plane.go index bd3c70be247..c6ed3819208 100644 --- a/test/rekt/features/trigger/control_plane.go +++ b/test/rekt/features/trigger/control_plane.go @@ -48,7 +48,7 @@ func Defaulting_Filter() *feature.Feature { f.Setup("Set Trigger name", SetTriggerName(resourceName)) f.Setup("Create a Trigger with empty spec.filter", - triggerresources.Install(resourceName, "broker", withSubscriber)) + triggerresources.Install(resourceName, triggerresources.WithBrokerName("broker"), withSubscriber)) f.Stable("Conformance"). Must("Trigger MUST default spec.filter to empty filter", @@ -65,7 +65,7 @@ func Defaulting_SubscriberNamespace() *feature.Feature { f.Setup("Set Trigger name", SetTriggerName(resourceName)) f.Setup("Create a Trigger with empty subscriber namespace", - triggerresources.Install(resourceName, "broker", withSubscriber)) + triggerresources.Install(resourceName, triggerresources.WithBrokerName("broker"), withSubscriber)) f.Stable("Conformance"). Must("Trigger subscriber namespace MUST be defaulted to Trigger namespace", diff --git a/test/rekt/features/trigger/crossnamespace.go b/test/rekt/features/trigger/crossnamespace.go new file mode 100644 index 00000000000..47a44a80508 --- /dev/null +++ b/test/rekt/features/trigger/crossnamespace.go @@ -0,0 +1,81 @@ +/* +Copyright 2024 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. +*/ + +package trigger + +import ( + "context" + + cetest "github.com/cloudevents/sdk-go/v2/test" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + eventingclient "knative.dev/eventing/pkg/client/injection/client" + "knative.dev/eventing/test/rekt/features/featureflags" + "knative.dev/eventing/test/rekt/resources/broker" + "knative.dev/eventing/test/rekt/resources/trigger" + duckv1 "knative.dev/pkg/apis/duck/v1" + "knative.dev/reconciler-test/pkg/environment" + "knative.dev/reconciler-test/pkg/eventshub" + "knative.dev/reconciler-test/pkg/eventshub/assert" + "knative.dev/reconciler-test/pkg/feature" + "knative.dev/reconciler-test/pkg/manifest" + "knative.dev/reconciler-test/pkg/resources/service" +) + +func CrossNamespaceEventLinks(brokerEnvCtx context.Context) *feature.Feature { + f := feature.NewFeature() + + f.Prerequisite("Cross Namespace Event Links is enabled", featureflags.CrossEventLinksEnabled()) + + sourceName := feature.MakeRandomK8sName("source") + subscriberName := feature.MakeRandomK8sName("subscriber") + + ev := cetest.FullEvent() + + triggerName := feature.MakeRandomK8sName("trigger") + brokerName := feature.MakeRandomK8sName("broker") + brokerNamespace := environment.FromContext(brokerEnvCtx).Namespace() + + brokerRef := &duckv1.KReference{ + APIVersion: "eventing.knative.dev/v1", + Kind: "Broker", + Name: brokerName, + Namespace: brokerNamespace, + } + + triggerCfg := []manifest.CfgFn{ + trigger.WithSubscriber(service.AsKReference(subscriberName), ""), + trigger.WithBrokerRef(brokerRef), + } + + f.Setup("install broker", broker.Install(brokerName, broker.WithNamespace(brokerNamespace))) + f.Setup("install trigger", trigger.Install(triggerName, triggerCfg...)) + + f.Setup("install subscriber", eventshub.Install(subscriberName, eventshub.StartReceiver)) + + // .IsReady uses the environment in the context to find the resource, hence we can only check the trigger + // However, the trigger being ready implies the broker is ready, so we are okay + f.Setup("trigger is ready", trigger.IsReady(triggerName)) + f.Requirement("install event source", eventshub.Install(sourceName, eventshub.StartSenderToNamespacedResource(broker.GVR(), brokerName, brokerNamespace), eventshub.InputEvent(ev))) + + f.Assert("event is received by subscriber", assert.OnStore(subscriberName).MatchEvent(cetest.HasId(ev.ID())).Exact(1)) + + f.Teardown("delete trigger", func(ctx context.Context, t feature.T) { + env := environment.FromContext(ctx) + eventingclient.Get(ctx).EventingV1().Triggers(env.Namespace()).Delete(ctx, triggerName, metav1.DeleteOptions{}) + }) + + return f +} diff --git a/test/rekt/features/trigger/feature.go b/test/rekt/features/trigger/feature.go index 219e48535ce..30d7d69872e 100644 --- a/test/rekt/features/trigger/feature.go +++ b/test/rekt/features/trigger/feature.go @@ -64,10 +64,11 @@ func TriggerDependencyAnnotation() *feature.Feature { cfg := []manifest.CfgFn{ trigger.WithSubscriber(service.AsKReference(sink), ""), trigger.WithAnnotations(annotations), + trigger.WithBrokerName(brokerName), } // Install the trigger - f.Setup("install trigger", trigger.Install(triggerName, brokerName, cfg...)) + f.Setup("install trigger", trigger.Install(triggerName, cfg...)) // trigger won't go ready until after the pingsource exists, because of the dependency annotation f.Requirement("trigger goes ready", trigger.IsReady(triggerName)) @@ -123,7 +124,7 @@ func TriggerWithTLSSubscriber() *feature.Feature { subscriber := service.AsDestinationRef(sinkName) subscriber.CACerts = eventshub.GetCaCerts(ctx) - trigger.Install(triggerName, brokerName, + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(subscriber))(ctx, t) }) f.Setup("Wait for Trigger to become ready", trigger.IsReady(triggerName)) @@ -133,7 +134,7 @@ func TriggerWithTLSSubscriber() *feature.Feature { dls.CACerts = eventshub.GetCaCerts(ctx) linear := eventingv1.BackoffPolicyLinear - trigger.Install(dlsTriggerName, brokerName, + trigger.Install(dlsTriggerName, trigger.WithBrokerName(brokerName), trigger.WithRetry(2, &linear, pointer.String("PT1S")), trigger.WithDeadLetterSinkFromDestination(dls), trigger.WithSubscriber(nil, "http://127.0.0.1:2468"))(ctx, t) @@ -196,7 +197,7 @@ func TriggerWithTLSSubscriberTrustBundle() *feature.Feature { CACerts: nil, // CA certs are in the trust-bundle } - trigger.Install(triggerName, brokerName, + trigger.Install(triggerName, trigger.WithBrokerName(brokerName), trigger.WithSubscriberFromDestination(subscriber))(ctx, t) }) f.Setup("Wait for Trigger to become ready", trigger.IsReady(triggerName)) @@ -211,7 +212,7 @@ func TriggerWithTLSSubscriberTrustBundle() *feature.Feature { } linear := eventingv1.BackoffPolicyLinear - trigger.Install(dlsTriggerName, brokerName, + trigger.Install(dlsTriggerName, trigger.WithBrokerName(brokerName), trigger.WithRetry(2, &linear, pointer.String("PT1S")), trigger.WithDeadLetterSinkFromDestination(dls), trigger.WithSubscriber(nil, "http://127.0.0.1:2468"))(ctx, t) diff --git a/test/rekt/features/trigger/trigger_sink_resolution.go b/test/rekt/features/trigger/trigger_sink_resolution.go index fbdb89dcfd4..ceb8eacd622 100644 --- a/test/rekt/features/trigger/trigger_sink_resolution.go +++ b/test/rekt/features/trigger/trigger_sink_resolution.go @@ -53,7 +53,7 @@ func SourceToTriggerSinkWithDLS() *feature.Feature { // Setup trigger f.Setup("install trigger", trigger.Install( triggerName, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(nil, "bad://uri"), delivery.WithDeadLetterSink(prober.AsKReference(triggerSinkName), ""))) @@ -105,7 +105,7 @@ func SourceToTriggerSinkWithDLSDontUseBrokers() *feature.Feature { f.Setup("install trigger", trigger.Install( triggerName, - brokerName, + trigger.WithBrokerName(brokerName), trigger.WithSubscriber(nil, "bad://uri"), delivery.WithDeadLetterSink(prober.AsKReference(triggerSinkName), ""))) @@ -154,8 +154,8 @@ func BadTriggerDoesNotAffectOkTrigger() *feature.Feature { f.Setup("Broker is ready", broker.IsReady(brokerName)) prober.SetTargetResource(broker.GVR(), brokerName) - f.Setup("install trigger via1", trigger.Install(via1, brokerName, trigger.WithSubscriber(nil, "bad://uri"))) - f.Setup("install trigger via2", trigger.Install(via2, brokerName, trigger.WithSubscriber(prober.AsKReference(sink), ""))) + f.Setup("install trigger via1", trigger.Install(via1, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(nil, "bad://uri"))) + f.Setup("install trigger via2", trigger.Install(via2, trigger.WithBrokerName(brokerName), trigger.WithSubscriber(prober.AsKReference(sink), ""))) // Resources ready. f.Setup("trigger1 goes ready", trigger.IsReady(via1)) diff --git a/test/rekt/resources/broker/broker.go b/test/rekt/resources/broker/broker.go index f2b84459040..1887f9f26fd 100644 --- a/test/rekt/resources/broker/broker.go +++ b/test/rekt/resources/broker/broker.go @@ -104,6 +104,12 @@ func WithConfig(name string) manifest.CfgFn { } } +func WithNamespace(namespace string) manifest.CfgFn { + return func(cfg map[string]interface{}) { + cfg["namespace"] = namespace + } +} + // WithConfigNamespace adds the specified config map namespace to the Broker spec. func WithConfigNamespace(namespace string) manifest.CfgFn { return func(cfg map[string]interface{}) { diff --git a/test/rekt/resources/trigger/trigger.go b/test/rekt/resources/trigger/trigger.go index e6ea82a71fe..5deb1d972fa 100644 --- a/test/rekt/resources/trigger/trigger.go +++ b/test/rekt/resources/trigger/trigger.go @@ -157,6 +157,33 @@ func WithExtensions(extensions map[string]interface{}) manifest.CfgFn { } } +func WithBrokerName(brokerName string) manifest.CfgFn { + return func(cfg map[string]interface{}) { + if brokerName != "" { + cfg["brokerName"] = brokerName + } + } +} + +// WithBrokerRef adds the brokerRef related config to a Trigger spec. +func WithBrokerRef(ref *duckv1.KReference) manifest.CfgFn { + return func(cfg map[string]interface{}) { + if _, set := cfg["brokerRef"]; !set { + cfg["brokerRef"] = map[string]interface{}{} + } + brokerRef := cfg["brokerRef"].(map[string]interface{}) + + if ref != nil { + brokerRef["apiVersion"] = ref.APIVersion + brokerRef["kind"] = ref.Kind + brokerRef["name"] = ref.Name + brokerRef["namespace"] = ref.Namespace + } + + cfg["brokerRef"] = brokerRef + } +} + // WithDeadLetterSink adds the dead letter sink related config to a Trigger spec. var WithDeadLetterSink = delivery.WithDeadLetterSink @@ -170,13 +197,10 @@ var WithRetry = delivery.WithRetry var WithTimeout = delivery.WithTimeout // Install will create a Trigger resource, augmented with the config fn options. -func Install(name, brokerName string, opts ...manifest.CfgFn) feature.StepFn { +func Install(name string, opts ...manifest.CfgFn) feature.StepFn { cfg := map[string]interface{}{ "name": name, } - if len(brokerName) > 0 { - cfg["brokerName"] = brokerName - } for _, fn := range opts { fn(cfg) } diff --git a/test/rekt/resources/trigger/trigger.yaml b/test/rekt/resources/trigger/trigger.yaml index 77d02ad1907..9a27dcdf68b 100644 --- a/test/rekt/resources/trigger/trigger.yaml +++ b/test/rekt/resources/trigger/trigger.yaml @@ -27,6 +27,13 @@ spec: {{ if .brokerName }} broker: {{ .brokerName }} {{ end }} + {{ if .brokerRef }} + brokerRef: + kind: {{ .brokerRef.kind }} + namespace: {{ .brokerRef.namespace }} + name: {{ .brokerRef.name }} + apiVersion: {{ .brokerRef.apiVersion }} + {{ end }} {{ if .filter }} filter: attributes: From 768f1bd66ee2ee9d05b82d552536f9a2d2fc8732 Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Tue, 9 Jul 2024 14:37:02 -0400 Subject: [PATCH 02/11] fix: et v1beta3 does not have broker set by default (#8079) * fix: et v1beta3 does not have broker set by default Signed-off-by: Calum Murray * fix(text): unit tests no longer expect default broker Signed-off-by: Calum Murray * cleanup: test name reflects new behaviour of allowing nil references Signed-off-by: Calum Murray --------- Signed-off-by: Calum Murray --- pkg/apis/eventing/v1beta1/eventtype_defaults.go | 3 --- pkg/apis/eventing/v1beta1/eventtype_defaults_test.go | 8 ++------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/pkg/apis/eventing/v1beta1/eventtype_defaults.go b/pkg/apis/eventing/v1beta1/eventtype_defaults.go index 07a7a3d400c..a4b3c99f8c0 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_defaults.go +++ b/pkg/apis/eventing/v1beta1/eventtype_defaults.go @@ -28,9 +28,6 @@ func (et *EventType) SetDefaults(ctx context.Context) { } func (ets *EventTypeSpec) SetDefaults(ctx context.Context) { - if ets.Reference == nil && ets.Broker == "" { - ets.Broker = "default" - } if ets.Reference != nil { ets.Reference.SetDefaults(ctx) } diff --git a/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go b/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go index db5a1152f65..7880192ebe5 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go +++ b/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go @@ -35,12 +35,10 @@ func TestEventTypeDefaults(t *testing.T) { "nil spec": { initial: EventType{}, expected: EventType{ - Spec: EventTypeSpec{ - Broker: "default", - }, + Spec: EventTypeSpec{}, }, }, - "broker empty": { + "default broker reference": { initial: EventType{ Spec: EventTypeSpec{ Type: "test-type", @@ -53,7 +51,6 @@ func TestEventTypeDefaults(t *testing.T) { Spec: EventTypeSpec{ Type: "test-type", Source: testSource, - Broker: "default", Schema: testSchema, }, }, @@ -70,7 +67,6 @@ func TestEventTypeDefaults(t *testing.T) { Spec: EventTypeSpec{ Type: "test-type", Source: testSource, - Broker: "default", Schema: testSchema, }, }, From 9ea1d5470a1ca93dcb7fc772b048b26d7ed1e12b Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Wed, 10 Jul 2024 01:35:20 -0400 Subject: [PATCH 03/11] chore: fix lint errors (#8089) * chore: fix lint errors Signed-off-by: Calum Murray * cleanup: fix go license headers Signed-off-by: Calum Murray * fix license headers in config Signed-off-by: Calum Murray --------- Signed-off-by: Calum Murray --- DEVELOPMENT.md | 7 ++++--- cmd/apiserver_receive_adapter/main.go | 2 +- cmd/appender/main.go | 2 +- cmd/broker/config.go | 2 +- cmd/broker/filter/main.go | 2 +- cmd/broker/ingress/main.go | 2 +- cmd/controller/main.go | 2 +- cmd/event_display/main.go | 2 +- cmd/event_display/main_test.go | 2 +- cmd/heartbeats/main.go | 2 +- cmd/heartbeats_receiver/main.go | 2 +- cmd/in_memory/channel_controller/main.go | 2 +- cmd/in_memory/channel_dispatcher/main.go | 2 +- cmd/mtchannel_broker/main.go | 2 +- cmd/mtping/main.go | 2 +- cmd/schema/main.go | 2 +- cmd/webhook/main.go | 2 +- cmd/websocketsource/main.go | 2 +- .../channels/in-memory-channel/configmaps/placeholder.go | 2 +- .../in-memory-channel/deployments/placeholder.go | 2 +- config/channels/in-memory-channel/placeholder.go | 2 +- .../channels/in-memory-channel/resources/placeholder.go | 2 +- config/channels/in-memory-channel/roles/placeholder.go | 2 +- .../channels/in-memory-channel/webhooks/placeholder.go | 2 +- config/core/configmaps/features.yaml | 2 +- config/post-install/placeholder.go | 2 +- hack/run.sh | 9 +++++---- hack/teardown.sh | 3 ++- hack/tools.go | 2 +- pkg/adapter/apiserver/adapter.go | 2 +- pkg/adapter/apiserver/adapter_injection.go | 2 +- pkg/adapter/apiserver/adapter_injection_test.go | 2 +- pkg/adapter/apiserver/adapter_test.go | 2 +- pkg/adapter/apiserver/delegate.go | 2 +- pkg/adapter/apiserver/events/events.go | 2 +- pkg/adapter/apiserver/events/events_test.go | 2 +- pkg/adapter/apiserver/filter.go | 2 +- pkg/adapter/apiserver/filter_test.go | 2 +- pkg/adapter/mtping/adapter.go | 2 +- pkg/adapter/mtping/adapter_test.go | 2 +- pkg/adapter/mtping/context.go | 2 +- pkg/adapter/mtping/context_test.go | 2 +- pkg/adapter/mtping/controller.go | 2 +- pkg/adapter/mtping/controller_test.go | 2 +- pkg/adapter/mtping/pingsource.go | 2 +- pkg/adapter/mtping/pingsource_test.go | 2 +- pkg/adapter/mtping/runner.go | 2 +- pkg/adapter/mtping/runner_test.go | 2 +- pkg/adapter/v2/cloudevents.go | 2 +- pkg/adapter/v2/cloudevents_test.go | 2 +- pkg/adapter/v2/config_test.go | 2 +- pkg/adapter/v2/configurator_configmap.go | 2 +- pkg/adapter/v2/configurator_environment.go | 2 +- pkg/adapter/v2/context.go | 2 +- pkg/adapter/v2/context_test.go | 2 +- pkg/adapter/v2/main.go | 2 +- pkg/adapter/v2/main_injection_test.go | 2 +- pkg/adapter/v2/main_message.go | 2 +- pkg/adapter/v2/main_message_test.go | 2 +- pkg/adapter/v2/main_test.go | 2 +- pkg/adapter/v2/util/crstatusevent/eventsstatus.go | 2 +- pkg/adapter/v2/util/crstatusevent/eventsstatus_test.go | 2 +- pkg/apis/config/defaults_test.go | 2 +- pkg/apis/config/doc.go | 2 +- pkg/apis/config/store.go | 2 +- pkg/apis/config/store_test.go | 2 +- pkg/apis/duck/lifecycle_helper.go | 2 +- pkg/apis/duck/v1/channelable_types.go | 2 +- pkg/apis/duck/v1/channelable_types_test.go | 2 +- pkg/apis/duck/v1/delivery_conversion.go | 2 +- pkg/apis/duck/v1/delivery_conversion_test.go | 2 +- pkg/apis/duck/v1/delivery_defaults.go | 2 +- pkg/apis/duck/v1/delivery_defaults_test.go | 2 +- pkg/apis/duck/v1/delivery_types.go | 2 +- pkg/apis/duck/v1/delivery_types_test.go | 2 +- pkg/apis/duck/v1/doc.go | 2 +- pkg/apis/duck/v1/register.go | 2 +- pkg/apis/duck/v1/subscribable_types.go | 2 +- pkg/apis/duck/v1/subscribable_types_conversion.go | 2 +- pkg/apis/duck/v1/subscribable_types_conversion_test.go | 2 +- pkg/apis/duck/v1/subscribable_types_test.go | 2 +- pkg/apis/duck/v1alpha1/doc.go | 2 +- pkg/apis/duck/v1alpha1/placement_types.go | 2 +- pkg/apis/duck/v1alpha1/register.go | 2 +- pkg/apis/duck/v1beta1/channelable_types.go | 2 +- pkg/apis/duck/v1beta1/channelable_types_test.go | 2 +- pkg/apis/duck/v1beta1/delivery_conversion.go | 2 +- pkg/apis/duck/v1beta1/delivery_conversion_test.go | 2 +- pkg/apis/duck/v1beta1/delivery_types.go | 2 +- pkg/apis/duck/v1beta1/delivery_types_test.go | 2 +- pkg/apis/duck/v1beta1/doc.go | 2 +- pkg/apis/duck/v1beta1/subscribable_types.go | 2 +- pkg/apis/duck/v1beta1/subscribable_types_conversion.go | 2 +- .../duck/v1beta1/subscribable_types_conversion_test.go | 2 +- pkg/apis/duck/v1beta1/subscribable_types_test.go | 2 +- pkg/apis/eventing/defaults.go | 2 +- pkg/apis/eventing/register.go | 2 +- pkg/apis/eventing/v1/broker_conversion.go | 2 +- pkg/apis/eventing/v1/broker_conversion_test.go | 2 +- pkg/apis/eventing/v1/broker_defaults.go | 2 +- pkg/apis/eventing/v1/broker_defaults_test.go | 2 +- pkg/apis/eventing/v1/broker_lifecycle.go | 2 +- pkg/apis/eventing/v1/broker_lifecycle_mt.go | 2 +- pkg/apis/eventing/v1/broker_lifecycle_test.go | 2 +- pkg/apis/eventing/v1/broker_types.go | 2 +- pkg/apis/eventing/v1/broker_types_test.go | 2 +- pkg/apis/eventing/v1/broker_validation.go | 2 +- pkg/apis/eventing/v1/broker_validation_test.go | 2 +- pkg/apis/eventing/v1/doc.go | 2 +- pkg/apis/eventing/v1/register.go | 2 +- pkg/apis/eventing/v1/roundtrip_test.go | 2 +- pkg/apis/eventing/v1/test_helper.go | 2 +- pkg/apis/eventing/v1/trigger_conversion.go | 2 +- pkg/apis/eventing/v1/trigger_conversion_test.go | 2 +- pkg/apis/eventing/v1/trigger_defaults.go | 2 +- pkg/apis/eventing/v1/trigger_defaults_test.go | 2 +- pkg/apis/eventing/v1/trigger_lifecycle.go | 2 +- pkg/apis/eventing/v1/trigger_lifecycle_test.go | 2 +- pkg/apis/eventing/v1/trigger_types.go | 2 +- pkg/apis/eventing/v1/trigger_types_test.go | 2 +- pkg/apis/eventing/v1/trigger_validation.go | 2 +- pkg/apis/eventing/v1/trigger_validation_test.go | 2 +- pkg/apis/eventing/v1beta1/doc.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_conversion.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_conversion_test.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_defaults.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_defaults_test.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_lifecycle.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_lifecycle_test.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_types.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_types_test.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_validation.go | 2 +- pkg/apis/eventing/v1beta1/eventtype_validation_test.go | 2 +- pkg/apis/eventing/v1beta1/register.go | 2 +- pkg/apis/eventing/v1beta1/register_test.go | 2 +- pkg/apis/eventing/v1beta2/eventtype_validation_test.go | 2 +- pkg/apis/feature/api_validation.go | 2 +- pkg/apis/feature/api_validation_test.go | 2 +- pkg/apis/feature/features.go | 2 +- pkg/apis/feature/features_test.go | 2 +- pkg/apis/feature/flag_names.go | 2 +- pkg/apis/feature/store.go | 2 +- pkg/apis/feature/store_test.go | 2 +- pkg/apis/flows/register.go | 2 +- pkg/apis/flows/v1/doc.go | 2 +- pkg/apis/flows/v1/implements_test.go | 2 +- pkg/apis/flows/v1/parallel_conversion.go | 2 +- pkg/apis/flows/v1/parallel_conversion_test.go | 2 +- pkg/apis/flows/v1/parallel_defaults.go | 2 +- pkg/apis/flows/v1/parallel_defaults_test.go | 2 +- pkg/apis/flows/v1/parallel_lifecycle.go | 2 +- pkg/apis/flows/v1/parallel_lifecycle_test.go | 2 +- pkg/apis/flows/v1/parallel_types.go | 2 +- pkg/apis/flows/v1/parallel_types_test.go | 2 +- pkg/apis/flows/v1/parallel_validation.go | 2 +- pkg/apis/flows/v1/parallel_validation_test.go | 2 +- pkg/apis/flows/v1/register.go | 2 +- pkg/apis/flows/v1/roundtrip_test.go | 2 +- pkg/apis/flows/v1/sequence_conversion.go | 2 +- pkg/apis/flows/v1/sequence_conversion_test.go | 2 +- pkg/apis/flows/v1/sequence_defaults.go | 2 +- pkg/apis/flows/v1/sequence_defaults_test.go | 2 +- pkg/apis/flows/v1/sequence_lifecycle.go | 2 +- pkg/apis/flows/v1/sequence_lifecycle_test.go | 2 +- pkg/apis/flows/v1/sequence_types.go | 2 +- pkg/apis/flows/v1/sequence_types_test.go | 2 +- pkg/apis/flows/v1/sequence_validation.go | 2 +- pkg/apis/flows/v1/sequence_validation_test.go | 2 +- pkg/apis/flows/v1/test_helpers.go | 2 +- pkg/apis/messaging/config/channel_defaults_test.go | 2 +- pkg/apis/messaging/config/channel_template_types.go | 2 +- pkg/apis/messaging/config/doc.go | 2 +- pkg/apis/messaging/config/store.go | 2 +- pkg/apis/messaging/config/store_test.go | 2 +- pkg/apis/messaging/register.go | 2 +- pkg/apis/messaging/v1/channel_conversion.go | 2 +- pkg/apis/messaging/v1/channel_conversion_test.go | 2 +- pkg/apis/messaging/v1/channel_defaults.go | 2 +- pkg/apis/messaging/v1/channel_defaults_test.go | 2 +- pkg/apis/messaging/v1/channel_lifecycle.go | 2 +- pkg/apis/messaging/v1/channel_lifecycle_test.go | 2 +- pkg/apis/messaging/v1/channel_template_types.go | 2 +- pkg/apis/messaging/v1/channel_types.go | 2 +- pkg/apis/messaging/v1/channel_types_test.go | 2 +- pkg/apis/messaging/v1/channel_validation.go | 2 +- pkg/apis/messaging/v1/channel_validation_test.go | 2 +- pkg/apis/messaging/v1/crd_validation_test.go | 2 +- pkg/apis/messaging/v1/doc.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_conversion.go | 2 +- .../messaging/v1/in_memory_channel_conversion_test.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_defaults.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_defaults_test.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_lifecycle.go | 2 +- .../messaging/v1/in_memory_channel_lifecycle_test.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_types.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_types_test.go | 2 +- pkg/apis/messaging/v1/in_memory_channel_validation.go | 2 +- .../messaging/v1/in_memory_channel_validation_test.go | 2 +- pkg/apis/messaging/v1/register.go | 2 +- pkg/apis/messaging/v1/roundtrip_test.go | 2 +- .../messaging/v1/subscribable_channelable_validation.go | 2 +- .../v1/subscribable_channelable_validation_test.go | 2 +- pkg/apis/messaging/v1/subscription_conversion.go | 2 +- pkg/apis/messaging/v1/subscription_conversion_test.go | 2 +- pkg/apis/messaging/v1/subscription_defaults.go | 2 +- pkg/apis/messaging/v1/subscription_defaults_test.go | 2 +- pkg/apis/messaging/v1/subscription_lifecycle.go | 2 +- pkg/apis/messaging/v1/subscription_lifecycle_test.go | 2 +- pkg/apis/messaging/v1/subscription_types.go | 2 +- pkg/apis/messaging/v1/subscription_types_test.go | 2 +- pkg/apis/messaging/v1/subscription_validation.go | 2 +- pkg/apis/messaging/v1/subscription_validation_test.go | 2 +- pkg/apis/sources/config/ping_defaults.go | 2 +- pkg/apis/sources/config/ping_defaults_test.go | 2 +- pkg/apis/sources/config/store.go | 2 +- pkg/apis/sources/constants.go | 2 +- pkg/apis/sources/register.go | 2 +- pkg/apis/sources/v1/apiserver_conversion.go | 2 +- pkg/apis/sources/v1/apiserver_conversion_test.go | 2 +- pkg/apis/sources/v1/apiserver_defaults.go | 2 +- pkg/apis/sources/v1/apiserver_defaults_test.go | 2 +- pkg/apis/sources/v1/apiserver_lifecycle.go | 2 +- pkg/apis/sources/v1/apiserver_lifecycle_test.go | 2 +- pkg/apis/sources/v1/apiserver_types.go | 2 +- pkg/apis/sources/v1/apiserver_types_test.go | 2 +- pkg/apis/sources/v1/apiserver_validation.go | 2 +- pkg/apis/sources/v1/apiserver_validation_test.go | 2 +- pkg/apis/sources/v1/container_conversion.go | 2 +- pkg/apis/sources/v1/container_conversion_test.go | 2 +- pkg/apis/sources/v1/container_defaults.go | 2 +- pkg/apis/sources/v1/container_defaults_test.go | 2 +- pkg/apis/sources/v1/container_lifecycle.go | 2 +- pkg/apis/sources/v1/container_lifecycle_test.go | 2 +- pkg/apis/sources/v1/container_types.go | 2 +- pkg/apis/sources/v1/container_types_test.go | 2 +- pkg/apis/sources/v1/container_validation.go | 2 +- pkg/apis/sources/v1/container_validation_test.go | 2 +- pkg/apis/sources/v1/doc.go | 2 +- pkg/apis/sources/v1/implements_test.go | 2 +- pkg/apis/sources/v1/ping_conversion.go | 2 +- pkg/apis/sources/v1/ping_conversion_test.go | 2 +- pkg/apis/sources/v1/ping_defaults.go | 2 +- pkg/apis/sources/v1/ping_defaults_test.go | 2 +- pkg/apis/sources/v1/ping_lifecycle.go | 2 +- pkg/apis/sources/v1/ping_lifecycle_test.go | 2 +- pkg/apis/sources/v1/ping_types.go | 2 +- pkg/apis/sources/v1/ping_types_test.go | 2 +- pkg/apis/sources/v1/ping_validation.go | 2 +- pkg/apis/sources/v1/ping_validation_test.go | 2 +- pkg/apis/sources/v1/register.go | 2 +- pkg/apis/sources/v1/register_test.go | 2 +- pkg/apis/sources/v1/roundtrip_test.go | 2 +- pkg/apis/sources/v1/sinkbinding_context.go | 2 +- pkg/apis/sources/v1/sinkbinding_context_test.go | 2 +- pkg/apis/sources/v1/sinkbinding_conversion.go | 2 +- pkg/apis/sources/v1/sinkbinding_conversion_test.go | 2 +- pkg/apis/sources/v1/sinkbinding_defaults.go | 2 +- pkg/apis/sources/v1/sinkbinding_defaults_test.go | 2 +- pkg/apis/sources/v1/sinkbinding_lifecycle.go | 2 +- pkg/apis/sources/v1/sinkbinding_lifecycle_test.go | 2 +- pkg/apis/sources/v1/sinkbinding_types.go | 2 +- pkg/apis/sources/v1/sinkbinding_types_test.go | 2 +- pkg/apis/sources/v1/sinkbinding_validation.go | 2 +- pkg/apis/sources/v1/sinkbinding_validation_test.go | 2 +- pkg/apis/sources/v1beta2/doc.go | 2 +- pkg/apis/sources/v1beta2/implements_test.go | 2 +- pkg/apis/sources/v1beta2/ping_conversion.go | 2 +- pkg/apis/sources/v1beta2/ping_conversion_test.go | 2 +- pkg/apis/sources/v1beta2/ping_defaults.go | 2 +- pkg/apis/sources/v1beta2/ping_defaults_test.go | 2 +- pkg/apis/sources/v1beta2/ping_lifecycle.go | 2 +- pkg/apis/sources/v1beta2/ping_lifecycle_test.go | 2 +- pkg/apis/sources/v1beta2/ping_types.go | 2 +- pkg/apis/sources/v1beta2/ping_types_test.go | 2 +- pkg/apis/sources/v1beta2/ping_validation.go | 2 +- pkg/apis/sources/v1beta2/ping_validation_test.go | 2 +- pkg/apis/sources/v1beta2/register.go | 2 +- pkg/apis/sources/v1beta2/register_test.go | 2 +- pkg/apis/sugar/store.go | 2 +- pkg/apis/sugar/sugar.go | 2 +- pkg/apis/sugar/sugar_test.go | 2 +- pkg/broker/filter/filter_handler.go | 2 +- pkg/broker/filter/filter_handler_test.go | 2 +- pkg/broker/filter/stats_reporter.go | 2 +- pkg/broker/filter/stats_reporter_test.go | 2 +- pkg/broker/ingress/ingress_handler.go | 2 +- pkg/broker/ingress/ingress_handler_test.go | 2 +- pkg/broker/ingress/stats_reporter.go | 2 +- pkg/broker/ingress/stats_reporter_test.go | 2 +- pkg/broker/metrics.go | 2 +- pkg/broker/ttl.go | 2 +- pkg/broker/ttl_test.go | 2 +- pkg/channel/event_receiver.go | 2 +- pkg/channel/event_receiver_test.go | 2 +- pkg/channel/fanout/fanout_event_handler.go | 2 +- pkg/channel/fanout/fanout_event_handler_test.go | 2 +- pkg/channel/metrics.go | 2 +- pkg/channel/multichannelfanout/config.go | 2 +- .../multi_channel_fanout_event_handler.go | 2 +- .../multi_channel_fanout_event_handler_test.go | 2 +- pkg/channel/references.go | 2 +- pkg/channel/references_test.go | 2 +- pkg/channel/stats_reporter.go | 2 +- pkg/channel/stats_reporter_test.go | 2 +- pkg/duck/channel.go | 2 +- pkg/duck/channel_test.go | 2 +- pkg/duck/listable.go | 2 +- pkg/duck/listable_test.go | 2 +- pkg/duck/subscriber.go | 2 +- pkg/duck/subscriber_test.go | 2 +- pkg/eventfilter/attributes/filter.go | 2 +- pkg/eventfilter/attributes/filter_test.go | 2 +- pkg/eventfilter/benchmarks/attributes_benchmark_test.go | 2 +- pkg/eventfilter/benchmarks/common_benchmark_test.go | 2 +- pkg/eventfilter/filter.go | 2 +- pkg/eventfilter/subscriptionsapi/all_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/all_filter_test.go | 2 +- pkg/eventfilter/subscriptionsapi/any_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/any_filter_test.go | 2 +- pkg/eventfilter/subscriptionsapi/cesql_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/cesql_filter_test.go | 2 +- pkg/eventfilter/subscriptionsapi/exact_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/exact_filter_test.go | 2 +- pkg/eventfilter/subscriptionsapi/not_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/not_filter_test.go | 2 +- pkg/eventfilter/subscriptionsapi/prefix_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/prefix_filter_test.go | 2 +- pkg/eventfilter/subscriptionsapi/suffix_filter.go | 2 +- pkg/eventfilter/subscriptionsapi/suffix_filter_test.go | 2 +- pkg/inmemorychannel/event_dispatcher.go | 2 +- pkg/inmemorychannel/event_dispatcher_test.go | 2 +- pkg/kncloudevents/attributes/knative_error.go | 2 +- pkg/kncloudevents/attributes/knative_error_test.go | 2 +- pkg/kncloudevents/event_receiver.go | 2 +- pkg/kncloudevents/event_receiver_test.go | 2 +- pkg/kncloudevents/retries.go | 2 +- pkg/kncloudevents/retries_test.go | 2 +- pkg/metrics/metrics.go | 2 +- pkg/metrics/source/stats_reporter.go | 2 +- pkg/metrics/source/stats_reporter_test.go | 2 +- pkg/observability/attributes.go | 2 +- pkg/observability/attributes_test.go | 2 +- pkg/observability/client/observability_service.go | 2 +- pkg/observability/client/observability_service_test.go | 2 +- pkg/observability/client/observable.go | 2 +- pkg/observability/context.go | 2 +- pkg/observability/context_test.go | 2 +- pkg/reconciler/apiserversource/apiserversource.go | 2 +- pkg/reconciler/apiserversource/apiserversource_test.go | 2 +- pkg/reconciler/apiserversource/cfg_host.go | 2 +- pkg/reconciler/apiserversource/controller.go | 2 +- pkg/reconciler/apiserversource/controller_test.go | 2 +- pkg/reconciler/apiserversource/doc.go | 2 +- pkg/reconciler/apiserversource/resources/labels.go | 2 +- pkg/reconciler/apiserversource/resources/labels_test.go | 2 +- .../apiserversource/resources/receive_adapter.go | 2 +- .../apiserversource/resources/receive_adapter_test.go | 2 +- pkg/reconciler/broker/broker.go | 2 +- pkg/reconciler/broker/broker_test.go | 2 +- pkg/reconciler/broker/config_test.go | 2 +- pkg/reconciler/broker/controller.go | 2 +- pkg/reconciler/broker/controller_test.go | 2 +- pkg/reconciler/broker/resources/channel.go | 2 +- pkg/reconciler/broker/resources/channel_test.go | 2 +- pkg/reconciler/broker/resources/subscription.go | 2 +- pkg/reconciler/broker/resources/subscription_test.go | 2 +- pkg/reconciler/broker/trigger/controller.go | 2 +- pkg/reconciler/broker/trigger/controller_test.go | 2 +- pkg/reconciler/broker/trigger/trigger.go | 2 +- pkg/reconciler/broker/trigger/trigger_test.go | 2 +- pkg/reconciler/channel/channel.go | 2 +- pkg/reconciler/channel/channel_test.go | 2 +- pkg/reconciler/channel/controller.go | 2 +- pkg/reconciler/channel/controller_test.go | 2 +- pkg/reconciler/containersource/containersource.go | 2 +- pkg/reconciler/containersource/containersource_test.go | 2 +- pkg/reconciler/containersource/controller.go | 2 +- pkg/reconciler/containersource/controller_test.go | 2 +- pkg/reconciler/containersource/resources/deployment.go | 2 +- .../containersource/resources/deployment_test.go | 2 +- pkg/reconciler/containersource/resources/labels.go | 2 +- pkg/reconciler/containersource/resources/names.go | 2 +- pkg/reconciler/containersource/resources/sinkbinding.go | 2 +- .../containersource/resources/sinkbinding_test.go | 2 +- pkg/reconciler/eventtype/controller.go | 2 +- pkg/reconciler/eventtype/controller_test.go | 2 +- pkg/reconciler/eventtype/eventtype.go | 2 +- pkg/reconciler/eventtype/eventtype_test.go | 2 +- .../inmemorychannel/controller/config/config.go | 2 +- .../inmemorychannel/controller/config/config_test.go | 2 +- pkg/reconciler/inmemorychannel/controller/controller.go | 2 +- .../inmemorychannel/controller/controller_test.go | 2 +- .../inmemorychannel/controller/inmemorychannel.go | 2 +- .../inmemorychannel/controller/inmemorychannel_test.go | 2 +- .../inmemorychannel/controller/resources/dispatcher.go | 2 +- .../controller/resources/dispatcher_service.go | 2 +- .../controller/resources/dispatcher_service_test.go | 2 +- .../controller/resources/dispatcher_test.go | 2 +- .../inmemorychannel/controller/resources/role_binding.go | 2 +- .../controller/resources/role_binding_test.go | 2 +- .../inmemorychannel/controller/resources/service.go | 2 +- .../controller/resources/service_account.go | 2 +- .../controller/resources/service_account_test.go | 2 +- .../inmemorychannel/controller/resources/service_test.go | 2 +- pkg/reconciler/inmemorychannel/dispatcher/controller.go | 2 +- .../inmemorychannel/dispatcher/controller_test.go | 2 +- .../inmemorychannel/dispatcher/inmemorychannel.go | 2 +- .../inmemorychannel/dispatcher/inmemorychannel_test.go | 2 +- pkg/reconciler/inmemorychannel/dispatcher/readiness.go | 2 +- .../inmemorychannel/dispatcher/readiness_test.go | 2 +- pkg/reconciler/names/mtbroker.go | 2 +- pkg/reconciler/parallel/controller.go | 2 +- pkg/reconciler/parallel/controller_test.go | 2 +- pkg/reconciler/parallel/parallel.go | 2 +- pkg/reconciler/parallel/parallel_test.go | 2 +- pkg/reconciler/parallel/resources/channel.go | 2 +- pkg/reconciler/parallel/resources/subscription.go | 2 +- pkg/reconciler/parallel/resources/subscription_test.go | 2 +- pkg/reconciler/pingsource/controller.go | 2 +- pkg/reconciler/pingsource/controller_test.go | 2 +- pkg/reconciler/pingsource/doc.go | 2 +- pkg/reconciler/pingsource/pingsource.go | 2 +- pkg/reconciler/pingsource/pingsource_test.go | 2 +- pkg/reconciler/pingsource/resources/labels.go | 2 +- pkg/reconciler/pingsource/resources/labels_test.go | 2 +- pkg/reconciler/pingsource/resources/receive_adapter.go | 2 +- .../pingsource/resources/receive_adapter_test.go | 2 +- pkg/reconciler/resources/service_account.go | 2 +- pkg/reconciler/resources/service_account_test.go | 2 +- pkg/reconciler/sequence/controller.go | 2 +- pkg/reconciler/sequence/controller_test.go | 2 +- pkg/reconciler/sequence/resources/channel.go | 2 +- pkg/reconciler/sequence/resources/subscription.go | 2 +- pkg/reconciler/sequence/sequence.go | 2 +- pkg/reconciler/sequence/sequence_test.go | 2 +- pkg/reconciler/sinkbinding/controller.go | 2 +- pkg/reconciler/source/config_watcher.go | 2 +- pkg/reconciler/source/config_watcher_test.go | 2 +- pkg/reconciler/source/crd/controller.go | 2 +- pkg/reconciler/source/crd/controller_test.go | 2 +- pkg/reconciler/source/crd/crd.go | 2 +- pkg/reconciler/source/crd/crd_test.go | 2 +- pkg/reconciler/source/duck/controller.go | 2 +- pkg/reconciler/source/duck/controller_test.go | 2 +- pkg/reconciler/source/duck/duck.go | 2 +- pkg/reconciler/source/duck/duck_test.go | 2 +- pkg/reconciler/source/duck/resources/eventtype.go | 2 +- pkg/reconciler/source/duck/resources/eventtype_test.go | 2 +- pkg/reconciler/source/duck/resources/labels.go | 2 +- pkg/reconciler/subscription/controller.go | 2 +- pkg/reconciler/subscription/controller_test.go | 2 +- pkg/reconciler/subscription/subscription.go | 2 +- pkg/reconciler/subscription/subscription_test.go | 2 +- pkg/reconciler/sugar/namespace/controller.go | 2 +- pkg/reconciler/sugar/namespace/controller_test.go | 2 +- pkg/reconciler/sugar/namespace/doc.go | 2 +- pkg/reconciler/sugar/namespace/namespace.go | 2 +- pkg/reconciler/sugar/namespace/namespace_test.go | 2 +- pkg/reconciler/sugar/resources/broker.go | 2 +- pkg/reconciler/sugar/resources/broker_test.go | 2 +- pkg/reconciler/sugar/resources/labels.go | 2 +- pkg/reconciler/sugar/resources/labels_test.go | 2 +- pkg/reconciler/sugar/trigger/controller.go | 2 +- pkg/reconciler/sugar/trigger/controller_test.go | 2 +- pkg/reconciler/sugar/trigger/path/path.go | 2 +- pkg/reconciler/sugar/trigger/trigger.go | 2 +- pkg/reconciler/sugar/trigger/trigger_test.go | 2 +- pkg/reconciler/testing/builder.go | 2 +- pkg/reconciler/testing/configmap.go | 2 +- pkg/reconciler/testing/customresourcedefinition.go | 2 +- pkg/reconciler/testing/deployment.go | 2 +- pkg/reconciler/testing/endpoints.go | 2 +- pkg/reconciler/testing/factory.go | 2 +- pkg/reconciler/testing/listers.go | 2 +- pkg/reconciler/testing/mock_dynamic_client.go | 2 +- pkg/reconciler/testing/mock_event_recorder.go | 2 +- pkg/reconciler/testing/namespace.go | 2 +- pkg/reconciler/testing/scheme/scheme.go | 2 +- pkg/reconciler/testing/service.go | 2 +- pkg/reconciler/testing/unstructured.go | 2 +- pkg/reconciler/testing/v1/apiserversouce.go | 2 +- pkg/reconciler/testing/v1/broker.go | 2 +- pkg/reconciler/testing/v1/channel.go | 2 +- pkg/reconciler/testing/v1/configmap.go | 2 +- pkg/reconciler/testing/v1/containersource.go | 2 +- pkg/reconciler/testing/v1/deployment.go | 2 +- pkg/reconciler/testing/v1/endpoints.go | 2 +- pkg/reconciler/testing/v1/factory.go | 2 +- pkg/reconciler/testing/v1/inmemorychannel.go | 2 +- pkg/reconciler/testing/v1/listers.go | 2 +- pkg/reconciler/testing/v1/namespace.go | 2 +- pkg/reconciler/testing/v1/parallel.go | 2 +- pkg/reconciler/testing/v1/pingsource.go | 2 +- pkg/reconciler/testing/v1/reactor.go | 2 +- pkg/reconciler/testing/v1/sequence.go | 2 +- pkg/reconciler/testing/v1/service.go | 2 +- pkg/reconciler/testing/v1/sinkbinding.go | 2 +- pkg/reconciler/testing/v1/subscription.go | 2 +- pkg/reconciler/testing/v1/trigger.go | 2 +- pkg/reconciler/testing/v1/unstructured.go | 2 +- pkg/reconciler/testing/v1beta1/factory.go | 2 +- pkg/reconciler/testing/v1beta1/listers.go | 2 +- pkg/reconciler/testing/v1beta2/pingsource.go | 2 +- pkg/resolver/addressable_resolver.go | 2 +- pkg/resolver/addressable_resolver_test.go | 2 +- pkg/resolver/kresource_resolver.go | 2 +- pkg/resolver/mapping_resolver.go | 2 +- pkg/resolver/mapping_resolver_test.go | 2 +- pkg/scheduler/doc.go | 2 +- pkg/scheduler/factory/registry.go | 2 +- pkg/scheduler/placement.go | 2 +- pkg/scheduler/placement_test.go | 2 +- .../availability_node_priority.go | 2 +- .../availability_node_priority_test.go | 2 +- .../availability_zone_priority.go | 2 +- .../availability_zone_priority_test.go | 2 +- .../plugins/core/evenpodspread/even_pod_spread.go | 2 +- .../plugins/core/evenpodspread/even_pod_spread_test.go | 2 +- .../lowestordinalpriority/lowest_ordinal_priority.go | 2 +- .../lowest_ordinal_priority_test.go | 2 +- .../plugins/core/podfitsresources/pod_fits_resources.go | 2 +- .../core/podfitsresources/pod_fits_resources_test.go | 2 +- .../remove_with_availability_node_priority.go | 2 +- .../remove_with_availability_node_priority_test.go | 2 +- .../remove_with_availability_zone_priority.go | 2 +- .../remove_with_availability_zone_priority_test.go | 2 +- .../remove_with_even_pod_spread_priority.go | 2 +- .../remove_with_even_pod_spread_priority_test.go | 2 +- .../remove_with_highest_ordinal_priority.go | 2 +- .../remove_with_highest_ordinal_priority_test.go | 2 +- .../kafka/nomaxresourcecount/no_max_resource_count.go | 2 +- .../nomaxresourcecount/no_max_resource_count_test.go | 2 +- pkg/scheduler/scheduler.go | 2 +- pkg/scheduler/scheduler_test.go | 2 +- pkg/scheduler/state/helpers.go | 2 +- pkg/scheduler/state/interface.go | 2 +- pkg/scheduler/state/interface_test.go | 2 +- pkg/scheduler/state/state.go | 2 +- pkg/scheduler/state/state_test.go | 2 +- pkg/scheduler/statefulset/autoscaler.go | 2 +- pkg/scheduler/statefulset/autoscaler_test.go | 2 +- pkg/scheduler/statefulset/scheduler.go | 2 +- pkg/scheduler/statefulset/scheduler_test.go | 2 +- pkg/scheduler/testing/client.go | 2 +- pkg/scheduler/testing/store.go | 2 +- pkg/scheduler/testing/vpod.go | 2 +- pkg/tracing/attributes.go | 2 +- pkg/tracing/attributes_test.go | 2 +- pkg/tracing/names.go | 2 +- pkg/tracing/names_test.go | 2 +- pkg/tracing/populate_span_transformer.go | 2 +- pkg/tracing/populate_span_transformer_test.go | 2 +- pkg/utils/headers.go | 2 +- pkg/utils/headers_test.go | 2 +- pkg/utils/secret.go | 2 +- pkg/utils/secret_test.go | 2 +- pkg/utils/utils.go | 2 +- pkg/utils/utils_test.go | 2 +- test/conformance/broker_control_plane_test.go | 2 +- test/conformance/broker_data_plane_test.go | 2 +- test/conformance/broker_tracing_test.go | 2 +- .../channel_addressable_resolver_cluster_role_test.go | 2 +- .../channel_channelable_manipulator_cluster_role_test.go | 2 +- test/conformance/channel_crd_metadata_test.go | 2 +- test/conformance/channel_crd_name_test.go | 2 +- test/conformance/channel_data_plane_test.go | 2 +- test/conformance/channel_spec_test.go | 2 +- test/conformance/channel_status_subscriber_test.go | 2 +- test/conformance/channel_status_test.go | 2 +- test/conformance/channel_tracing_test.go | 2 +- test/conformance/header_test.go | 2 +- .../helpers/broker_control_plane_test_helper.go | 2 +- .../conformance/helpers/broker_data_plane_test_helper.go | 2 +- test/conformance/helpers/broker_tracing_test_helper.go | 2 +- test/conformance/helpers/channel.go | 2 +- ...nnel_addressable_resolver_cluster_role_test_helper.go | 2 +- ...l_channelable_manipulator_cluster_role_test_helper.go | 2 +- .../helpers/channel_crd_metadata_test_helper.go | 2 +- test/conformance/helpers/channel_crd_name_test_helper.go | 2 +- test/conformance/helpers/channel_data_plane_helper.go | 2 +- .../helpers/channel_header_single_event_helper.go | 2 +- test/conformance/helpers/channel_spec_test_helper.go | 2 +- .../helpers/channel_status_subscriber_test_helper.go | 2 +- test/conformance/helpers/channel_status_test_helper.go | 2 +- test/conformance/helpers/channel_tracing_test_helper.go | 2 +- test/conformance/helpers/metadata.go | 2 +- test/conformance/helpers/rbac.go | 2 +- .../helpers/sources/source_crd_metadata_test_helper.go | 2 +- .../helpers/sources/source_crd_rbac_test_helper.go | 2 +- .../helpers/sources/source_crd_registry_test_helper.go | 2 +- .../helpers/sources/source_status_test_helper.go | 2 +- test/conformance/helpers/tracing/traces.go | 2 +- test/conformance/helpers/tracing/traces_test.go | 2 +- test/conformance/helpers/tracing_test_helper.go | 2 +- test/conformance/helpers/uri.go | 2 +- test/conformance/main_test.go | 2 +- test/conformance/source_crd_metadata_test.go | 2 +- test/conformance/source_crd_rbac_test.go | 2 +- test/conformance/source_crd_registry_test.go | 2 +- test/conformance/source_status_test.go | 2 +- test/e2e/broker_channel_flow_test.go | 2 +- test/e2e/broker_defaults_webhook_test.go | 2 +- test/e2e/broker_event_transformation_test.go | 2 +- test/e2e/broker_redelivery_test.go | 2 +- test/e2e/channel_defaulter_test.go | 2 +- test/e2e/channel_defaults_webhook_test.go | 2 +- test/e2e/helpers/broker_channel_flow_helper.go | 2 +- .../helpers/broker_event_transformation_test_helper.go | 2 +- test/e2e/helpers/broker_redelivery_helper.go | 2 +- test/e2e/helpers/channel_defaulter_test_helper.go | 2 +- test/e2e/helpers/channel_dls_test_helper.go | 2 +- .../helpers/channel_event_tranformation_test_helper.go | 2 +- test/e2e/helpers/channel_single_event_helper.go | 2 +- test/e2e/helpers/parallel_test_helper.go | 2 +- test/e2e/helpers/sequence_test_helper.go | 2 +- test/e2e/helpers/sugar_helper.go | 2 +- test/e2e/main_test.go | 2 +- test/e2e/parallel_test.go | 2 +- test/e2e/sequence_test.go | 2 +- test/e2e_flags.go | 2 +- test/experimental/features/delivery_timeout/channel.go | 2 +- .../features/kreference_group/channel_to_channel.go | 2 +- .../features/kreference_group/sub_channel.go | 2 +- test/experimental/features/retry_after/channel.go | 2 +- test/experimental/kreference_group_test.go | 2 +- test/experimental/main_test.go | 2 +- test/experimental/retry_after_test.go | 2 +- test/flags/brokers.go | 2 +- test/flags/channels.go | 2 +- test/flags/eventing_environment.go | 2 +- test/flags/parsing.go | 2 +- test/flags/sources.go | 2 +- test/lib/await.go | 2 +- test/lib/client.go | 2 +- test/lib/config.go | 2 +- test/lib/creation.go | 2 +- test/lib/dropevents/dropeventsfibonacci/fibonacci.go | 2 +- test/lib/dropevents/dropeventsfirst/sequence.go | 2 +- test/lib/dropevents/receiver.go | 2 +- test/lib/duck/resource_checks.go | 2 +- test/lib/duck/resource_checks_test.go | 2 +- test/lib/duck/resource_creators.go | 2 +- test/lib/duck/resource_getters.go | 2 +- test/lib/duck/resource_inspectors.go | 2 +- test/lib/duck/serving_checks.go | 2 +- test/lib/k8s_events.go | 2 +- test/lib/logexporter.go | 2 +- test/lib/naming/name.go | 2 +- test/lib/operation.go | 2 +- test/lib/recordevents/event_log.go | 2 +- test/lib/recordevents/logger_vent/logger.go | 2 +- test/lib/recordevents/options.go | 2 +- test/lib/recordevents/receiver/receiver.go | 2 +- test/lib/recordevents/receiver/reply.go | 2 +- test/lib/recordevents/recorder_vent/constructor.go | 2 +- test/lib/recordevents/recorder_vent/doc.go | 2 +- test/lib/recordevents/recorder_vent/recorder.go | 2 +- test/lib/recordevents/resources.go | 2 +- test/lib/recordevents/sender/sender.go | 2 +- test/lib/resources/constants.go | 2 +- test/lib/resources/eventing.go | 2 +- test/lib/resources/kube.go | 2 +- test/lib/resources/meta.go | 2 +- test/lib/resources/recordevents/recordevents.go | 2 +- test/lib/resources/serving.go | 2 +- test/lib/sender/events.go | 2 +- test/lib/sender/matchers.go | 2 +- test/lib/setupclientoptions/sources.go | 2 +- test/lib/test_runner.go | 2 +- test/lib/tracker.go | 2 +- test/lib/typemeta.go | 2 +- test/rekt/apiserversource_test.go | 2 +- test/rekt/broker_test.go | 2 +- test/rekt/channel_test.go | 2 +- test/rekt/container_source_test.go | 2 +- test/rekt/delivery_timeout_test.go | 2 +- test/rekt/features/apiserversource/client.go | 2 +- test/rekt/features/apiserversource/data_plane.go | 2 +- test/rekt/features/apiserversource/readiness.go | 2 +- .../features/apiserversource/webhook_validation_smoke.go | 2 +- test/rekt/features/broker/control_plane.go | 2 +- test/rekt/features/broker/data_plane.go | 2 +- test/rekt/features/broker/delivery.go | 2 +- test/rekt/features/broker/feature.go | 2 +- test/rekt/features/broker/readyness.go | 2 +- test/rekt/features/broker/source_to_sink.go | 2 +- test/rekt/features/broker/topology.go | 2 +- test/rekt/features/broker/topology_test.go | 2 +- test/rekt/features/channel/control_plane.go | 2 +- test/rekt/features/channel/data_plane.go | 2 +- test/rekt/features/channel/features.go | 2 +- test/rekt/features/channel/helpers.go | 2 +- test/rekt/features/channel/readyness.go | 2 +- test/rekt/features/channel/topology.go | 2 +- test/rekt/features/channel/topology_test.go | 2 +- test/rekt/features/containersource/features.go | 2 +- test/rekt/features/containersource/readyness.go | 2 +- test/rekt/features/knconf/control_plane.go | 2 +- test/rekt/features/knconf/data_plane.go | 2 +- test/rekt/features/knconf/event_patterns.go | 2 +- test/rekt/features/knconf/event_patterns_test.go | 2 +- test/rekt/features/new_trigger_filters/filters.go | 2 +- test/rekt/features/parallel/readyness.go | 2 +- test/rekt/features/pingsource/features.go | 2 +- test/rekt/features/pingsource/readyness.go | 2 +- test/rekt/features/sequence/readyness.go | 2 +- test/rekt/features/sinkbinding/feature.go | 2 +- test/rekt/features/sinkbinding/readyness.go | 2 +- test/rekt/features/trigger/client.go | 2 +- test/rekt/features/trigger/control_plane.go | 2 +- test/rekt/features/trigger/feature.go | 2 +- test/rekt/features/trigger/trigger_sink_resolution.go | 2 +- test/rekt/main_test.go | 2 +- test/rekt/new_trigger_filters_test.go | 2 +- test/rekt/pingsource_test.go | 2 +- test/rekt/resources/account_role/role.go | 2 +- test/rekt/resources/account_role/role_test.go | 2 +- test/rekt/resources/addressable/addressable.go | 2 +- test/rekt/resources/apiserversource/apiserversource.go | 2 +- .../resources/apiserversource/apiserversource_test.go | 2 +- test/rekt/resources/broker/broker.go | 2 +- test/rekt/resources/broker/broker_test.go | 2 +- test/rekt/resources/channel/channel.go | 2 +- test/rekt/resources/channel/channel_test.go | 2 +- test/rekt/resources/channel_impl/channel_impl.go | 2 +- test/rekt/resources/channel_impl/channel_impl_test.go | 2 +- test/rekt/resources/containersource/containersource.go | 2 +- .../resources/containersource/containersource_test.go | 2 +- test/rekt/resources/delivery/delivery.go | 2 +- test/rekt/resources/delivery/delivery_test.go | 2 +- test/rekt/resources/delivery/doc.go | 2 +- test/rekt/resources/eventtype/eventtype.go | 2 +- test/rekt/resources/parallel/parallel.go | 2 +- test/rekt/resources/parallel/parallel_test.go | 2 +- test/rekt/resources/pingsource/pingsource.go | 2 +- test/rekt/resources/pingsource/pingsource_test.go | 2 +- test/rekt/resources/sequence/sequence.go | 2 +- test/rekt/resources/sequence/sequence_test.go | 2 +- test/rekt/resources/sinkbinding/sinkbinding.go | 2 +- test/rekt/resources/sinkbinding/sinkbinding_test.go | 2 +- test/rekt/resources/source/source.go | 2 +- test/rekt/resources/subscription/subscription.go | 2 +- test/rekt/resources/subscription/subscription_test.go | 2 +- test/rekt/resources/trigger/trigger.go | 2 +- test/rekt/resources/trigger/trigger_test.go | 2 +- test/rekt/sink_binding_test.go | 2 +- test/rekt/smoke_test.go | 2 +- test/rekt/trigger_test.go | 2 +- test/test_images/print/main.go | 2 +- test/test_images/utils.go | 2 +- test/test_images/wathola-fetcher/main.go | 2 +- test/test_images/wathola-fetcher/main_test.go | 2 +- test/test_images/wathola-forwarder/main.go | 2 +- test/test_images/wathola-forwarder/main_test.go | 2 +- test/test_images/wathola-receiver/main.go | 2 +- test/test_images/wathola-receiver/main_test.go | 2 +- test/test_images/wathola-sender/main.go | 2 +- test/test_images/wathola-sender/main_test.go | 2 +- test/upgrade/continual.go | 2 +- test/upgrade/installation/git_head.go | 2 +- test/upgrade/installation/latest.go | 2 +- test/upgrade/installation/shell.go | 2 +- test/upgrade/postdowngrade.go | 2 +- test/upgrade/postupgrade.go | 2 +- test/upgrade/preupgrade.go | 2 +- test/upgrade/prober/configuration.go | 2 +- test/upgrade/prober/continual.go | 2 +- test/upgrade/prober/errors.go | 2 +- test/upgrade/prober/forwarder.go | 2 +- test/upgrade/prober/prober.go | 2 +- test/upgrade/prober/prober_test.go | 2 +- test/upgrade/prober/receiver.go | 2 +- test/upgrade/prober/sender.go | 2 +- test/upgrade/prober/sut/broker.go | 2 +- test/upgrade/prober/sut/broker_e2e_test.go | 2 +- test/upgrade/prober/sut/default.go | 2 +- test/upgrade/prober/sut/default_test.go | 2 +- test/upgrade/prober/sut/types.go | 2 +- test/upgrade/prober/verify.go | 2 +- test/upgrade/prober/wathola/client/receiver.go | 2 +- test/upgrade/prober/wathola/config/defaults.go | 2 +- test/upgrade/prober/wathola/config/defaults_test.go | 2 +- test/upgrade/prober/wathola/config/logger.go | 2 +- test/upgrade/prober/wathola/config/reader.go | 2 +- test/upgrade/prober/wathola/config/reader_test.go | 2 +- test/upgrade/prober/wathola/config/structure.go | 2 +- test/upgrade/prober/wathola/config/tracing.go | 2 +- test/upgrade/prober/wathola/event/operations.go | 2 +- test/upgrade/prober/wathola/event/services.go | 2 +- test/upgrade/prober/wathola/event/services_test.go | 2 +- test/upgrade/prober/wathola/event/tracing.go | 2 +- test/upgrade/prober/wathola/event/tracing_test.go | 2 +- test/upgrade/prober/wathola/event/types.go | 2 +- test/upgrade/prober/wathola/event/types_test.go | 2 +- test/upgrade/prober/wathola/fetcher/operations.go | 2 +- test/upgrade/prober/wathola/fetcher/types.go | 2 +- test/upgrade/prober/wathola/forwarder/operations.go | 2 +- test/upgrade/prober/wathola/forwarder/services.go | 2 +- test/upgrade/prober/wathola/receiver/operations.go | 2 +- test/upgrade/prober/wathola/receiver/services.go | 2 +- test/upgrade/prober/wathola/receiver/services_test.go | 2 +- test/upgrade/prober/wathola/receiver/types.go | 2 +- test/upgrade/prober/wathola/sender/operations.go | 2 +- test/upgrade/prober/wathola/sender/services.go | 2 +- test/upgrade/prober/wathola/sender/services_test.go | 2 +- test/upgrade/prober/wathola/sender/types.go | 2 +- test/upgrade/smoke.go | 2 +- test/upgrade/upgrade.go | 2 +- test/upgrade/upgrade_test.go | 2 +- 809 files changed, 817 insertions(+), 814 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index d4b0697ecad..a15f0874255 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -12,7 +12,7 @@ Also take a look at: ## Getting started 1. [Create and checkout a repo fork](#checkout-your-fork) -2. [Make sure all the requirements are fullfilled](#requirements) +2. [Make sure all the requirements are fulfilled](#requirements) 3. [Create a cluster and Linux Container repo](#create-a-cluster-and-a-repo) 4. [Set up the environment variables](#setup-your-environment) 5. [Start eventing controller](#starting-eventing-controller) @@ -131,7 +131,7 @@ follow: KO_FLAGS=--platform="linux/amd64" ./hack/install.sh ``` -> :information_source: If you are getting the error `No resources found in cert-manager namespace`, you need to install [cert-manager](https://cert-manager.io/docs/installation/) manually before running the quick full build and install command. +> :information_source: If you are getting the error `No resources found in cert-manager namespace`, you need to install [cert-manager](https://cert-manager.io/docs/installation/) manually before running the quick full build and install command. ## Starting Eventing Controller @@ -490,4 +490,5 @@ telepresence quit - Go version mismatch: `sudo apt-get install golang-go` installs an older version of Go (1.18), which is too outdated for installing Ko and Kubectl - Use [this method](https://www.digitalocean.com/community/tutorials/how-to-install-go-on-ubuntu-20-04) instead to manually install go using the .tar file -- Use `go install` to install any additional gotools such as `goimports` \ No newline at end of file +- Use `go install` to install any additional gotools such as `goimports` + diff --git a/cmd/apiserver_receive_adapter/main.go b/cmd/apiserver_receive_adapter/main.go index 736af22bc9e..7e4c1966184 100644 --- a/cmd/apiserver_receive_adapter/main.go +++ b/cmd/apiserver_receive_adapter/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/appender/main.go b/cmd/appender/main.go index 296430cfa14..66d636a1df9 100644 --- a/cmd/appender/main.go +++ b/cmd/appender/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/broker/config.go b/cmd/broker/config.go index 4ed892e2735..0dab98e5a51 100644 --- a/cmd/broker/config.go +++ b/cmd/broker/config.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/broker/filter/main.go b/cmd/broker/filter/main.go index 167a0e888d6..8d7d9612745 100644 --- a/cmd/broker/filter/main.go +++ b/cmd/broker/filter/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/broker/ingress/main.go b/cmd/broker/ingress/main.go index 7647805d6e9..456154e7508 100644 --- a/cmd/broker/ingress/main.go +++ b/cmd/broker/ingress/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/controller/main.go b/cmd/controller/main.go index 5b01605a5da..a5ce470eba0 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/event_display/main.go b/cmd/event_display/main.go index 4c3c41c8df8..ef9c85041b0 100644 --- a/cmd/event_display/main.go +++ b/cmd/event_display/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/event_display/main_test.go b/cmd/event_display/main_test.go index 36e606c5896..60b4f31ccf9 100644 --- a/cmd/event_display/main_test.go +++ b/cmd/event_display/main_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/heartbeats/main.go b/cmd/heartbeats/main.go index 08f64c46950..096fc6a02b1 100644 --- a/cmd/heartbeats/main.go +++ b/cmd/heartbeats/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/heartbeats_receiver/main.go b/cmd/heartbeats_receiver/main.go index 8ab2650b6bd..2910897cba7 100644 --- a/cmd/heartbeats_receiver/main.go +++ b/cmd/heartbeats_receiver/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/in_memory/channel_controller/main.go b/cmd/in_memory/channel_controller/main.go index 7e121897cc7..55717055a25 100644 --- a/cmd/in_memory/channel_controller/main.go +++ b/cmd/in_memory/channel_controller/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/in_memory/channel_dispatcher/main.go b/cmd/in_memory/channel_dispatcher/main.go index 116bf66f00f..7d708e6dc40 100644 --- a/cmd/in_memory/channel_dispatcher/main.go +++ b/cmd/in_memory/channel_dispatcher/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/mtchannel_broker/main.go b/cmd/mtchannel_broker/main.go index 1728adaf39d..7e1182a2185 100644 --- a/cmd/mtchannel_broker/main.go +++ b/cmd/mtchannel_broker/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/mtping/main.go b/cmd/mtping/main.go index 9a35d892cb1..abe88a0b892 100644 --- a/cmd/mtping/main.go +++ b/cmd/mtping/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/schema/main.go b/cmd/schema/main.go index 2c38476a3cb..fed2f8f8d92 100644 --- a/cmd/schema/main.go +++ b/cmd/schema/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 1c9c25fa761..902e4e4bb22 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/cmd/websocketsource/main.go b/cmd/websocketsource/main.go index 06179fd44c6..d800bdad842 100644 --- a/cmd/websocketsource/main.go +++ b/cmd/websocketsource/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/channels/in-memory-channel/configmaps/placeholder.go b/config/channels/in-memory-channel/configmaps/placeholder.go index ebcc92dfa4e..fb381eb78ed 100644 --- a/config/channels/in-memory-channel/configmaps/placeholder.go +++ b/config/channels/in-memory-channel/configmaps/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/channels/in-memory-channel/deployments/placeholder.go b/config/channels/in-memory-channel/deployments/placeholder.go index fc8c5148e33..a35492a1075 100644 --- a/config/channels/in-memory-channel/deployments/placeholder.go +++ b/config/channels/in-memory-channel/deployments/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/channels/in-memory-channel/placeholder.go b/config/channels/in-memory-channel/placeholder.go index 3715bfed66d..8428476ba4e 100644 --- a/config/channels/in-memory-channel/placeholder.go +++ b/config/channels/in-memory-channel/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/channels/in-memory-channel/resources/placeholder.go b/config/channels/in-memory-channel/resources/placeholder.go index df642fe1584..7dc1f165a05 100644 --- a/config/channels/in-memory-channel/resources/placeholder.go +++ b/config/channels/in-memory-channel/resources/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/channels/in-memory-channel/roles/placeholder.go b/config/channels/in-memory-channel/roles/placeholder.go index 869a88614e5..fa3df3a4b5b 100644 --- a/config/channels/in-memory-channel/roles/placeholder.go +++ b/config/channels/in-memory-channel/roles/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/channels/in-memory-channel/webhooks/placeholder.go b/config/channels/in-memory-channel/webhooks/placeholder.go index e4811119c8c..5d5bdb6aa0d 100644 --- a/config/channels/in-memory-channel/webhooks/placeholder.go +++ b/config/channels/in-memory-channel/webhooks/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/config/core/configmaps/features.yaml b/config/core/configmaps/features.yaml index 9dbec1753ef..d459714ccf0 100644 --- a/config/core/configmaps/features.yaml +++ b/config/core/configmaps/features.yaml @@ -43,7 +43,7 @@ data: # in Trigger objects with its rich filtering capabilities. # For more details: https://github.com/knative/eventing/issues/5204 new-trigger-filters: "enabled" - + # BETA feature: The transport-encryption flag allows you to encrypt events in transit using the transport layer security (TLS) protocol. # For more details: https://github.com/knative/eventing/issues/5957 transport-encryption: "disabled" diff --git a/config/post-install/placeholder.go b/config/post-install/placeholder.go index 6d1d7a97e49..165c1cbf542 100644 --- a/config/post-install/placeholder.go +++ b/config/post-install/placeholder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/hack/run.sh b/hack/run.sh index db1ed924191..de35abcbb80 100755 --- a/hack/run.sh +++ b/hack/run.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/usr/bin/env bash set -e @@ -28,7 +28,7 @@ function usage() { } if [[ "${action}" == "install" ]]; then - ./"${ROOT_DIR}"/hack/install.sh + ./"${ROOT_DIR}"/hack/install.sh elif [[ "${action}" == "update-cert-manager" ]]; then ./"${ROOT_DIR}"/hack/update-cert-manager.sh "$2" "$3" elif [[ "${action}" == "e2e-debug" ]]; then @@ -44,11 +44,12 @@ elif [[ "${action}" == "update-checksums" ]]; then elif [[ "${action}" == "update-codegen" ]]; then ./"${ROOT_DIR}"/hack/update-codegen.sh elif [[ "${action}" == "update-deps" ]]; then - ./"${ROOT_DIR}"/hack/update-deps.sh + ./"${ROOT_DIR}"/hack/update-deps.sh elif [[ "${action}" == "verify-codegen" ]]; then ./"${ROOT_DIR}"/hack/verify-codegen.sh else echo "Unrecognized action ${action}" usage "$0" exit 1 -fi \ No newline at end of file +fi + diff --git a/hack/teardown.sh b/hack/teardown.sh index 362837ec5ba..788e41a75a4 100755 --- a/hack/teardown.sh +++ b/hack/teardown.sh @@ -31,4 +31,5 @@ fi knative_teardown || exit $? -rm -f $(dirname "$0")/../tmp/uninstall_list.txt \ No newline at end of file +rm -f $(dirname "$0")/../tmp/uninstall_list.txt + diff --git a/hack/tools.go b/hack/tools.go index 622e5c32556..3366a6b17a7 100644 --- a/hack/tools.go +++ b/hack/tools.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/adapter.go b/pkg/adapter/apiserver/adapter.go index bfab282d5d0..aba3301306c 100644 --- a/pkg/adapter/apiserver/adapter.go +++ b/pkg/adapter/apiserver/adapter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/adapter_injection.go b/pkg/adapter/apiserver/adapter_injection.go index 045bae46b1d..fde80a2be88 100644 --- a/pkg/adapter/apiserver/adapter_injection.go +++ b/pkg/adapter/apiserver/adapter_injection.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/adapter_injection_test.go b/pkg/adapter/apiserver/adapter_injection_test.go index 1cefff668b9..a766c06a03c 100644 --- a/pkg/adapter/apiserver/adapter_injection_test.go +++ b/pkg/adapter/apiserver/adapter_injection_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/adapter_test.go b/pkg/adapter/apiserver/adapter_test.go index 79e2721884a..93b33df0bb0 100644 --- a/pkg/adapter/apiserver/adapter_test.go +++ b/pkg/adapter/apiserver/adapter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/delegate.go b/pkg/adapter/apiserver/delegate.go index f78b3abe163..3bc362261e3 100644 --- a/pkg/adapter/apiserver/delegate.go +++ b/pkg/adapter/apiserver/delegate.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/events/events.go b/pkg/adapter/apiserver/events/events.go index 4ee57677ad8..eeb1a96f950 100644 --- a/pkg/adapter/apiserver/events/events.go +++ b/pkg/adapter/apiserver/events/events.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/events/events_test.go b/pkg/adapter/apiserver/events/events_test.go index 610f415d711..261dc4260f4 100644 --- a/pkg/adapter/apiserver/events/events_test.go +++ b/pkg/adapter/apiserver/events/events_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/filter.go b/pkg/adapter/apiserver/filter.go index a5575945863..a475fc0765c 100644 --- a/pkg/adapter/apiserver/filter.go +++ b/pkg/adapter/apiserver/filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/apiserver/filter_test.go b/pkg/adapter/apiserver/filter_test.go index 2204e881a26..c579f0d3a83 100644 --- a/pkg/adapter/apiserver/filter_test.go +++ b/pkg/adapter/apiserver/filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/adapter.go b/pkg/adapter/mtping/adapter.go index bbec93abccf..5ad47510cc5 100644 --- a/pkg/adapter/mtping/adapter.go +++ b/pkg/adapter/mtping/adapter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/adapter_test.go b/pkg/adapter/mtping/adapter_test.go index 795383ee43f..cad929af50e 100644 --- a/pkg/adapter/mtping/adapter_test.go +++ b/pkg/adapter/mtping/adapter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/context.go b/pkg/adapter/mtping/context.go index 5c77f699c89..b5f6adc88fe 100644 --- a/pkg/adapter/mtping/context.go +++ b/pkg/adapter/mtping/context.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/context_test.go b/pkg/adapter/mtping/context_test.go index 96dd8a40b69..3eab146b4ec 100644 --- a/pkg/adapter/mtping/context_test.go +++ b/pkg/adapter/mtping/context_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/controller.go b/pkg/adapter/mtping/controller.go index ef68f30b40c..2ca588873d9 100644 --- a/pkg/adapter/mtping/controller.go +++ b/pkg/adapter/mtping/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/controller_test.go b/pkg/adapter/mtping/controller_test.go index deefc642aaa..921d837e94e 100644 --- a/pkg/adapter/mtping/controller_test.go +++ b/pkg/adapter/mtping/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/pingsource.go b/pkg/adapter/mtping/pingsource.go index df8d4dbfe0c..3fa8d0425ff 100644 --- a/pkg/adapter/mtping/pingsource.go +++ b/pkg/adapter/mtping/pingsource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/pingsource_test.go b/pkg/adapter/mtping/pingsource_test.go index f3fb45ee129..32c15897126 100644 --- a/pkg/adapter/mtping/pingsource_test.go +++ b/pkg/adapter/mtping/pingsource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/runner.go b/pkg/adapter/mtping/runner.go index 65d147b10b5..7947396d0bc 100644 --- a/pkg/adapter/mtping/runner.go +++ b/pkg/adapter/mtping/runner.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/mtping/runner_test.go b/pkg/adapter/mtping/runner_test.go index 3cb59b70122..28d829c9f2a 100644 --- a/pkg/adapter/mtping/runner_test.go +++ b/pkg/adapter/mtping/runner_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/cloudevents.go b/pkg/adapter/v2/cloudevents.go index 0a17fa55f75..21d03956050 100644 --- a/pkg/adapter/v2/cloudevents.go +++ b/pkg/adapter/v2/cloudevents.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/cloudevents_test.go b/pkg/adapter/v2/cloudevents_test.go index f20bb9d4fb1..85ea8d73f93 100644 --- a/pkg/adapter/v2/cloudevents_test.go +++ b/pkg/adapter/v2/cloudevents_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/config_test.go b/pkg/adapter/v2/config_test.go index c9aaaf67a9a..c78812ccb56 100644 --- a/pkg/adapter/v2/config_test.go +++ b/pkg/adapter/v2/config_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/configurator_configmap.go b/pkg/adapter/v2/configurator_configmap.go index 630b236cd9b..f2063377837 100644 --- a/pkg/adapter/v2/configurator_configmap.go +++ b/pkg/adapter/v2/configurator_configmap.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/configurator_environment.go b/pkg/adapter/v2/configurator_environment.go index 6317607446b..372b236a6f2 100644 --- a/pkg/adapter/v2/configurator_environment.go +++ b/pkg/adapter/v2/configurator_environment.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/context.go b/pkg/adapter/v2/context.go index 7de6bd81cef..f36f95daa7c 100644 --- a/pkg/adapter/v2/context.go +++ b/pkg/adapter/v2/context.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/context_test.go b/pkg/adapter/v2/context_test.go index b8b44a69748..4f5d7d9c2f6 100644 --- a/pkg/adapter/v2/context_test.go +++ b/pkg/adapter/v2/context_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/main.go b/pkg/adapter/v2/main.go index 6387b8b3da1..1eb274364f4 100644 --- a/pkg/adapter/v2/main.go +++ b/pkg/adapter/v2/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/main_injection_test.go b/pkg/adapter/v2/main_injection_test.go index 067ba0134d9..f6225c1353f 100644 --- a/pkg/adapter/v2/main_injection_test.go +++ b/pkg/adapter/v2/main_injection_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/main_message.go b/pkg/adapter/v2/main_message.go index ba8f9ab5c60..8d38117f3ad 100644 --- a/pkg/adapter/v2/main_message.go +++ b/pkg/adapter/v2/main_message.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/main_message_test.go b/pkg/adapter/v2/main_message_test.go index 201288ca520..abd9cb936c0 100644 --- a/pkg/adapter/v2/main_message_test.go +++ b/pkg/adapter/v2/main_message_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/main_test.go b/pkg/adapter/v2/main_test.go index de2130f003e..bf0d1d0e827 100644 --- a/pkg/adapter/v2/main_test.go +++ b/pkg/adapter/v2/main_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/util/crstatusevent/eventsstatus.go b/pkg/adapter/v2/util/crstatusevent/eventsstatus.go index 45c976dcd01..9c90166c3d9 100644 --- a/pkg/adapter/v2/util/crstatusevent/eventsstatus.go +++ b/pkg/adapter/v2/util/crstatusevent/eventsstatus.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/adapter/v2/util/crstatusevent/eventsstatus_test.go b/pkg/adapter/v2/util/crstatusevent/eventsstatus_test.go index 1ba34c60703..6836218d78f 100644 --- a/pkg/adapter/v2/util/crstatusevent/eventsstatus_test.go +++ b/pkg/adapter/v2/util/crstatusevent/eventsstatus_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/config/defaults_test.go b/pkg/apis/config/defaults_test.go index 2a527a7c02d..1cebf795be4 100644 --- a/pkg/apis/config/defaults_test.go +++ b/pkg/apis/config/defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/config/doc.go b/pkg/apis/config/doc.go index a0d4319efcc..61305f83018 100644 --- a/pkg/apis/config/doc.go +++ b/pkg/apis/config/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/config/store.go b/pkg/apis/config/store.go index a0dfc864582..30f38932ca0 100644 --- a/pkg/apis/config/store.go +++ b/pkg/apis/config/store.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/config/store_test.go b/pkg/apis/config/store_test.go index c1b2c51e0cf..603f3d9cfeb 100644 --- a/pkg/apis/config/store_test.go +++ b/pkg/apis/config/store_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/lifecycle_helper.go b/pkg/apis/duck/lifecycle_helper.go index 98888bbb0e4..1b4badcb742 100644 --- a/pkg/apis/duck/lifecycle_helper.go +++ b/pkg/apis/duck/lifecycle_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/channelable_types.go b/pkg/apis/duck/v1/channelable_types.go index 82d75bd986a..9dc7580bc73 100644 --- a/pkg/apis/duck/v1/channelable_types.go +++ b/pkg/apis/duck/v1/channelable_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/channelable_types_test.go b/pkg/apis/duck/v1/channelable_types_test.go index b2c75b94dfc..80090355579 100644 --- a/pkg/apis/duck/v1/channelable_types_test.go +++ b/pkg/apis/duck/v1/channelable_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/delivery_conversion.go b/pkg/apis/duck/v1/delivery_conversion.go index bae7a804ec2..b0c3cd5ea02 100644 --- a/pkg/apis/duck/v1/delivery_conversion.go +++ b/pkg/apis/duck/v1/delivery_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/delivery_conversion_test.go b/pkg/apis/duck/v1/delivery_conversion_test.go index bc348da09cc..2dcf69ea115 100644 --- a/pkg/apis/duck/v1/delivery_conversion_test.go +++ b/pkg/apis/duck/v1/delivery_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/delivery_defaults.go b/pkg/apis/duck/v1/delivery_defaults.go index b06c792ef89..574df94f214 100644 --- a/pkg/apis/duck/v1/delivery_defaults.go +++ b/pkg/apis/duck/v1/delivery_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/delivery_defaults_test.go b/pkg/apis/duck/v1/delivery_defaults_test.go index 7f77f8fc3cc..14e87ef083f 100644 --- a/pkg/apis/duck/v1/delivery_defaults_test.go +++ b/pkg/apis/duck/v1/delivery_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/delivery_types.go b/pkg/apis/duck/v1/delivery_types.go index e6ba6d5ece1..d9b2b678348 100644 --- a/pkg/apis/duck/v1/delivery_types.go +++ b/pkg/apis/duck/v1/delivery_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/delivery_types_test.go b/pkg/apis/duck/v1/delivery_types_test.go index 5c8d3355ca6..e8e7c4c0399 100644 --- a/pkg/apis/duck/v1/delivery_types_test.go +++ b/pkg/apis/duck/v1/delivery_types_test.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/doc.go b/pkg/apis/duck/v1/doc.go index ff5ac0c20b1..00367a5cb4f 100644 --- a/pkg/apis/duck/v1/doc.go +++ b/pkg/apis/duck/v1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/register.go b/pkg/apis/duck/v1/register.go index fe37475f103..5711480fb63 100644 --- a/pkg/apis/duck/v1/register.go +++ b/pkg/apis/duck/v1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/subscribable_types.go b/pkg/apis/duck/v1/subscribable_types.go index b7f719b9f04..aa307d74adc 100644 --- a/pkg/apis/duck/v1/subscribable_types.go +++ b/pkg/apis/duck/v1/subscribable_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/subscribable_types_conversion.go b/pkg/apis/duck/v1/subscribable_types_conversion.go index 52985caf4f0..f321b6b620c 100644 --- a/pkg/apis/duck/v1/subscribable_types_conversion.go +++ b/pkg/apis/duck/v1/subscribable_types_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/subscribable_types_conversion_test.go b/pkg/apis/duck/v1/subscribable_types_conversion_test.go index d37d039699a..f7bec2d4212 100644 --- a/pkg/apis/duck/v1/subscribable_types_conversion_test.go +++ b/pkg/apis/duck/v1/subscribable_types_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1/subscribable_types_test.go b/pkg/apis/duck/v1/subscribable_types_test.go index f5f352f3499..6ebd225e63b 100644 --- a/pkg/apis/duck/v1/subscribable_types_test.go +++ b/pkg/apis/duck/v1/subscribable_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1alpha1/doc.go b/pkg/apis/duck/v1alpha1/doc.go index deae465ed39..c8362cdf755 100644 --- a/pkg/apis/duck/v1alpha1/doc.go +++ b/pkg/apis/duck/v1alpha1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1alpha1/placement_types.go b/pkg/apis/duck/v1alpha1/placement_types.go index 10a8686d97b..5a4b0047a08 100644 --- a/pkg/apis/duck/v1alpha1/placement_types.go +++ b/pkg/apis/duck/v1alpha1/placement_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1alpha1/register.go b/pkg/apis/duck/v1alpha1/register.go index 5057316282d..8eb4f63f7cb 100644 --- a/pkg/apis/duck/v1alpha1/register.go +++ b/pkg/apis/duck/v1alpha1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/channelable_types.go b/pkg/apis/duck/v1beta1/channelable_types.go index a87ec65ded1..c8f0f1e0ece 100644 --- a/pkg/apis/duck/v1beta1/channelable_types.go +++ b/pkg/apis/duck/v1beta1/channelable_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/channelable_types_test.go b/pkg/apis/duck/v1beta1/channelable_types_test.go index 6f1ed2733ff..432f5a009d0 100644 --- a/pkg/apis/duck/v1beta1/channelable_types_test.go +++ b/pkg/apis/duck/v1beta1/channelable_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/delivery_conversion.go b/pkg/apis/duck/v1beta1/delivery_conversion.go index b6ec90337a0..ae6285a8b30 100644 --- a/pkg/apis/duck/v1beta1/delivery_conversion.go +++ b/pkg/apis/duck/v1beta1/delivery_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/delivery_conversion_test.go b/pkg/apis/duck/v1beta1/delivery_conversion_test.go index 4dc2e37a338..b238ed1cf5a 100644 --- a/pkg/apis/duck/v1beta1/delivery_conversion_test.go +++ b/pkg/apis/duck/v1beta1/delivery_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/delivery_types.go b/pkg/apis/duck/v1beta1/delivery_types.go index 33ebd3ae2dc..7a444fc0e0e 100644 --- a/pkg/apis/duck/v1beta1/delivery_types.go +++ b/pkg/apis/duck/v1beta1/delivery_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/delivery_types_test.go b/pkg/apis/duck/v1beta1/delivery_types_test.go index d7e9a155ea3..e4a1e698c7d 100644 --- a/pkg/apis/duck/v1beta1/delivery_types_test.go +++ b/pkg/apis/duck/v1beta1/delivery_types_test.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/doc.go b/pkg/apis/duck/v1beta1/doc.go index 08ba5444902..b9c459e1805 100644 --- a/pkg/apis/duck/v1beta1/doc.go +++ b/pkg/apis/duck/v1beta1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/subscribable_types.go b/pkg/apis/duck/v1beta1/subscribable_types.go index db7f9fa6269..0453c3fec5b 100644 --- a/pkg/apis/duck/v1beta1/subscribable_types.go +++ b/pkg/apis/duck/v1beta1/subscribable_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/subscribable_types_conversion.go b/pkg/apis/duck/v1beta1/subscribable_types_conversion.go index 30f17c3bda2..3f8a677b7f3 100644 --- a/pkg/apis/duck/v1beta1/subscribable_types_conversion.go +++ b/pkg/apis/duck/v1beta1/subscribable_types_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/subscribable_types_conversion_test.go b/pkg/apis/duck/v1beta1/subscribable_types_conversion_test.go index 42873de483c..6c22319dc43 100644 --- a/pkg/apis/duck/v1beta1/subscribable_types_conversion_test.go +++ b/pkg/apis/duck/v1beta1/subscribable_types_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/duck/v1beta1/subscribable_types_test.go b/pkg/apis/duck/v1beta1/subscribable_types_test.go index 9c851b61613..7ed14f7bec8 100644 --- a/pkg/apis/duck/v1beta1/subscribable_types_test.go +++ b/pkg/apis/duck/v1beta1/subscribable_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/defaults.go b/pkg/apis/eventing/defaults.go index d2b52e8f89d..ed0aa4ab165 100644 --- a/pkg/apis/eventing/defaults.go +++ b/pkg/apis/eventing/defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/register.go b/pkg/apis/eventing/register.go index ae699f239c9..5470025cc03 100644 --- a/pkg/apis/eventing/register.go +++ b/pkg/apis/eventing/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_conversion.go b/pkg/apis/eventing/v1/broker_conversion.go index 30f555c43ba..6feba078dbb 100644 --- a/pkg/apis/eventing/v1/broker_conversion.go +++ b/pkg/apis/eventing/v1/broker_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_conversion_test.go b/pkg/apis/eventing/v1/broker_conversion_test.go index 6a9085ad81f..6dd2f3a87b2 100644 --- a/pkg/apis/eventing/v1/broker_conversion_test.go +++ b/pkg/apis/eventing/v1/broker_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_defaults.go b/pkg/apis/eventing/v1/broker_defaults.go index e101713e79a..f4fc1550d5f 100644 --- a/pkg/apis/eventing/v1/broker_defaults.go +++ b/pkg/apis/eventing/v1/broker_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_defaults_test.go b/pkg/apis/eventing/v1/broker_defaults_test.go index 6fca4327b51..bf56dc6fe21 100644 --- a/pkg/apis/eventing/v1/broker_defaults_test.go +++ b/pkg/apis/eventing/v1/broker_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_lifecycle.go b/pkg/apis/eventing/v1/broker_lifecycle.go index ab4d0fdb253..f1836e99b64 100644 --- a/pkg/apis/eventing/v1/broker_lifecycle.go +++ b/pkg/apis/eventing/v1/broker_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_lifecycle_mt.go b/pkg/apis/eventing/v1/broker_lifecycle_mt.go index 006cb9c0194..a27ceaa2419 100644 --- a/pkg/apis/eventing/v1/broker_lifecycle_mt.go +++ b/pkg/apis/eventing/v1/broker_lifecycle_mt.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_lifecycle_test.go b/pkg/apis/eventing/v1/broker_lifecycle_test.go index dbc2ca014de..90ca1735fad 100644 --- a/pkg/apis/eventing/v1/broker_lifecycle_test.go +++ b/pkg/apis/eventing/v1/broker_lifecycle_test.go @@ -3,7 +3,7 @@ Copyright 2020 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 + 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. diff --git a/pkg/apis/eventing/v1/broker_types.go b/pkg/apis/eventing/v1/broker_types.go index f536a879b2f..6eb6f5ede24 100644 --- a/pkg/apis/eventing/v1/broker_types.go +++ b/pkg/apis/eventing/v1/broker_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_types_test.go b/pkg/apis/eventing/v1/broker_types_test.go index cbb883865c5..94eb1d0258f 100644 --- a/pkg/apis/eventing/v1/broker_types_test.go +++ b/pkg/apis/eventing/v1/broker_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_validation.go b/pkg/apis/eventing/v1/broker_validation.go index 1829872f9ee..51e30e10c1a 100644 --- a/pkg/apis/eventing/v1/broker_validation.go +++ b/pkg/apis/eventing/v1/broker_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/broker_validation_test.go b/pkg/apis/eventing/v1/broker_validation_test.go index ae4dd7e25f9..420396a65c9 100644 --- a/pkg/apis/eventing/v1/broker_validation_test.go +++ b/pkg/apis/eventing/v1/broker_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/doc.go b/pkg/apis/eventing/v1/doc.go index f7d484acb04..97ed2d4ae06 100644 --- a/pkg/apis/eventing/v1/doc.go +++ b/pkg/apis/eventing/v1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/register.go b/pkg/apis/eventing/v1/register.go index 6cd0ccf7ca2..3b3d5af8a2a 100644 --- a/pkg/apis/eventing/v1/register.go +++ b/pkg/apis/eventing/v1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/roundtrip_test.go b/pkg/apis/eventing/v1/roundtrip_test.go index a4cac97a4f3..de453520479 100644 --- a/pkg/apis/eventing/v1/roundtrip_test.go +++ b/pkg/apis/eventing/v1/roundtrip_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/test_helper.go b/pkg/apis/eventing/v1/test_helper.go index e2337e94066..b52ce75be79 100644 --- a/pkg/apis/eventing/v1/test_helper.go +++ b/pkg/apis/eventing/v1/test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_conversion.go b/pkg/apis/eventing/v1/trigger_conversion.go index 0df6b92555c..8db47875d0e 100644 --- a/pkg/apis/eventing/v1/trigger_conversion.go +++ b/pkg/apis/eventing/v1/trigger_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_conversion_test.go b/pkg/apis/eventing/v1/trigger_conversion_test.go index e3f44f1193f..5c39b8e346e 100644 --- a/pkg/apis/eventing/v1/trigger_conversion_test.go +++ b/pkg/apis/eventing/v1/trigger_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_defaults.go b/pkg/apis/eventing/v1/trigger_defaults.go index c2a2c588d48..b8d86b598c1 100644 --- a/pkg/apis/eventing/v1/trigger_defaults.go +++ b/pkg/apis/eventing/v1/trigger_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_defaults_test.go b/pkg/apis/eventing/v1/trigger_defaults_test.go index 08e3ce41529..b5b782a0de8 100644 --- a/pkg/apis/eventing/v1/trigger_defaults_test.go +++ b/pkg/apis/eventing/v1/trigger_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_lifecycle.go b/pkg/apis/eventing/v1/trigger_lifecycle.go index 110d05b18d7..e961d3979c9 100644 --- a/pkg/apis/eventing/v1/trigger_lifecycle.go +++ b/pkg/apis/eventing/v1/trigger_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_lifecycle_test.go b/pkg/apis/eventing/v1/trigger_lifecycle_test.go index 5c3273df958..f283729082d 100644 --- a/pkg/apis/eventing/v1/trigger_lifecycle_test.go +++ b/pkg/apis/eventing/v1/trigger_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_types.go b/pkg/apis/eventing/v1/trigger_types.go index bb6d7c6f907..2e217c73a06 100644 --- a/pkg/apis/eventing/v1/trigger_types.go +++ b/pkg/apis/eventing/v1/trigger_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_types_test.go b/pkg/apis/eventing/v1/trigger_types_test.go index 12e2cfbae41..19f2c83a23d 100644 --- a/pkg/apis/eventing/v1/trigger_types_test.go +++ b/pkg/apis/eventing/v1/trigger_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_validation.go b/pkg/apis/eventing/v1/trigger_validation.go index 3edbf4f3b92..7208b6246f6 100644 --- a/pkg/apis/eventing/v1/trigger_validation.go +++ b/pkg/apis/eventing/v1/trigger_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1/trigger_validation_test.go b/pkg/apis/eventing/v1/trigger_validation_test.go index 33fbe1f871c..0c0e35613ee 100644 --- a/pkg/apis/eventing/v1/trigger_validation_test.go +++ b/pkg/apis/eventing/v1/trigger_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/doc.go b/pkg/apis/eventing/v1beta1/doc.go index cc09e2f4870..32587778da0 100644 --- a/pkg/apis/eventing/v1beta1/doc.go +++ b/pkg/apis/eventing/v1beta1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_conversion.go b/pkg/apis/eventing/v1beta1/eventtype_conversion.go index b3e0ae6ba90..28ef3055d86 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_conversion.go +++ b/pkg/apis/eventing/v1beta1/eventtype_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_conversion_test.go b/pkg/apis/eventing/v1beta1/eventtype_conversion_test.go index d07ae390325..4d116e477b1 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_conversion_test.go +++ b/pkg/apis/eventing/v1beta1/eventtype_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_defaults.go b/pkg/apis/eventing/v1beta1/eventtype_defaults.go index a4b3c99f8c0..06c0d794b51 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_defaults.go +++ b/pkg/apis/eventing/v1beta1/eventtype_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go b/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go index 7880192ebe5..78e3843c010 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go +++ b/pkg/apis/eventing/v1beta1/eventtype_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_lifecycle.go b/pkg/apis/eventing/v1beta1/eventtype_lifecycle.go index bc87d472014..139487e197b 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_lifecycle.go +++ b/pkg/apis/eventing/v1beta1/eventtype_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_lifecycle_test.go b/pkg/apis/eventing/v1beta1/eventtype_lifecycle_test.go index 44be722199f..0247bece8ed 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_lifecycle_test.go +++ b/pkg/apis/eventing/v1beta1/eventtype_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_types.go b/pkg/apis/eventing/v1beta1/eventtype_types.go index cad21a02e66..95c4439e0ce 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_types.go +++ b/pkg/apis/eventing/v1beta1/eventtype_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_types_test.go b/pkg/apis/eventing/v1beta1/eventtype_types_test.go index 6bc469cf4c5..b5549b2feef 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_types_test.go +++ b/pkg/apis/eventing/v1beta1/eventtype_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_validation.go b/pkg/apis/eventing/v1beta1/eventtype_validation.go index ae5419f3657..3688bc899e7 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_validation.go +++ b/pkg/apis/eventing/v1beta1/eventtype_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/eventtype_validation_test.go b/pkg/apis/eventing/v1beta1/eventtype_validation_test.go index 5d4704ed63f..80ae19a0893 100644 --- a/pkg/apis/eventing/v1beta1/eventtype_validation_test.go +++ b/pkg/apis/eventing/v1beta1/eventtype_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/register.go b/pkg/apis/eventing/v1beta1/register.go index 29ade310aec..7e45875a8cf 100644 --- a/pkg/apis/eventing/v1beta1/register.go +++ b/pkg/apis/eventing/v1beta1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta1/register_test.go b/pkg/apis/eventing/v1beta1/register_test.go index 589138701d3..929ca8c44a5 100644 --- a/pkg/apis/eventing/v1beta1/register_test.go +++ b/pkg/apis/eventing/v1beta1/register_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/eventing/v1beta2/eventtype_validation_test.go b/pkg/apis/eventing/v1beta2/eventtype_validation_test.go index 81e31983cab..17de764b82c 100644 --- a/pkg/apis/eventing/v1beta2/eventtype_validation_test.go +++ b/pkg/apis/eventing/v1beta2/eventtype_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/api_validation.go b/pkg/apis/feature/api_validation.go index 2a5f9226ab7..a8144e24528 100644 --- a/pkg/apis/feature/api_validation.go +++ b/pkg/apis/feature/api_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/api_validation_test.go b/pkg/apis/feature/api_validation_test.go index 86e7958ada4..fc084436895 100644 --- a/pkg/apis/feature/api_validation_test.go +++ b/pkg/apis/feature/api_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/features.go b/pkg/apis/feature/features.go index 4d6c235df15..7ba4f66de57 100644 --- a/pkg/apis/feature/features.go +++ b/pkg/apis/feature/features.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/features_test.go b/pkg/apis/feature/features_test.go index c03561cc616..6810f7158e3 100644 --- a/pkg/apis/feature/features_test.go +++ b/pkg/apis/feature/features_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/flag_names.go b/pkg/apis/feature/flag_names.go index 99abc20769c..51ccaec3dac 100644 --- a/pkg/apis/feature/flag_names.go +++ b/pkg/apis/feature/flag_names.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/store.go b/pkg/apis/feature/store.go index 8285f786292..06297c96d30 100644 --- a/pkg/apis/feature/store.go +++ b/pkg/apis/feature/store.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/feature/store_test.go b/pkg/apis/feature/store_test.go index dad957a2458..fb8576a4acb 100644 --- a/pkg/apis/feature/store_test.go +++ b/pkg/apis/feature/store_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/register.go b/pkg/apis/flows/register.go index b65ec231299..81b0c8f6550 100644 --- a/pkg/apis/flows/register.go +++ b/pkg/apis/flows/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/doc.go b/pkg/apis/flows/v1/doc.go index ab319b35b3f..90007ffd3c1 100644 --- a/pkg/apis/flows/v1/doc.go +++ b/pkg/apis/flows/v1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/implements_test.go b/pkg/apis/flows/v1/implements_test.go index 75f3457dac0..0880db5fe4d 100644 --- a/pkg/apis/flows/v1/implements_test.go +++ b/pkg/apis/flows/v1/implements_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_conversion.go b/pkg/apis/flows/v1/parallel_conversion.go index 3b0f9f85cdf..b63af3e6548 100644 --- a/pkg/apis/flows/v1/parallel_conversion.go +++ b/pkg/apis/flows/v1/parallel_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_conversion_test.go b/pkg/apis/flows/v1/parallel_conversion_test.go index 9dab7af196a..e2087843b1f 100644 --- a/pkg/apis/flows/v1/parallel_conversion_test.go +++ b/pkg/apis/flows/v1/parallel_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_defaults.go b/pkg/apis/flows/v1/parallel_defaults.go index 9906f8ca376..f739ed3175b 100644 --- a/pkg/apis/flows/v1/parallel_defaults.go +++ b/pkg/apis/flows/v1/parallel_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_defaults_test.go b/pkg/apis/flows/v1/parallel_defaults_test.go index 901da9bf87e..00829b53de2 100644 --- a/pkg/apis/flows/v1/parallel_defaults_test.go +++ b/pkg/apis/flows/v1/parallel_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_lifecycle.go b/pkg/apis/flows/v1/parallel_lifecycle.go index 89a235311cf..99c283108a2 100644 --- a/pkg/apis/flows/v1/parallel_lifecycle.go +++ b/pkg/apis/flows/v1/parallel_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_lifecycle_test.go b/pkg/apis/flows/v1/parallel_lifecycle_test.go index f90248933e0..cb9d2957503 100644 --- a/pkg/apis/flows/v1/parallel_lifecycle_test.go +++ b/pkg/apis/flows/v1/parallel_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_types.go b/pkg/apis/flows/v1/parallel_types.go index 2740a72f010..cccf1cea3b8 100644 --- a/pkg/apis/flows/v1/parallel_types.go +++ b/pkg/apis/flows/v1/parallel_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_types_test.go b/pkg/apis/flows/v1/parallel_types_test.go index 1f0f7c3c003..d4ae754402d 100644 --- a/pkg/apis/flows/v1/parallel_types_test.go +++ b/pkg/apis/flows/v1/parallel_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_validation.go b/pkg/apis/flows/v1/parallel_validation.go index f6486cdc82e..78a7703c41e 100644 --- a/pkg/apis/flows/v1/parallel_validation.go +++ b/pkg/apis/flows/v1/parallel_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/parallel_validation_test.go b/pkg/apis/flows/v1/parallel_validation_test.go index eb5a4f0848d..685d7a1508b 100644 --- a/pkg/apis/flows/v1/parallel_validation_test.go +++ b/pkg/apis/flows/v1/parallel_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/register.go b/pkg/apis/flows/v1/register.go index 821e7468a29..e0bd176dec1 100644 --- a/pkg/apis/flows/v1/register.go +++ b/pkg/apis/flows/v1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/roundtrip_test.go b/pkg/apis/flows/v1/roundtrip_test.go index 1a2cb277e3d..8a08fc14c1f 100644 --- a/pkg/apis/flows/v1/roundtrip_test.go +++ b/pkg/apis/flows/v1/roundtrip_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_conversion.go b/pkg/apis/flows/v1/sequence_conversion.go index 34e26a3abb0..70392cbb40e 100644 --- a/pkg/apis/flows/v1/sequence_conversion.go +++ b/pkg/apis/flows/v1/sequence_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_conversion_test.go b/pkg/apis/flows/v1/sequence_conversion_test.go index 94b87c5c7ea..352502b7cca 100644 --- a/pkg/apis/flows/v1/sequence_conversion_test.go +++ b/pkg/apis/flows/v1/sequence_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_defaults.go b/pkg/apis/flows/v1/sequence_defaults.go index 271960c56a5..d78c63a130f 100644 --- a/pkg/apis/flows/v1/sequence_defaults.go +++ b/pkg/apis/flows/v1/sequence_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_defaults_test.go b/pkg/apis/flows/v1/sequence_defaults_test.go index 82d14719a89..f60785395e4 100644 --- a/pkg/apis/flows/v1/sequence_defaults_test.go +++ b/pkg/apis/flows/v1/sequence_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_lifecycle.go b/pkg/apis/flows/v1/sequence_lifecycle.go index 2a46f34de1a..7e6817fc63f 100644 --- a/pkg/apis/flows/v1/sequence_lifecycle.go +++ b/pkg/apis/flows/v1/sequence_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_lifecycle_test.go b/pkg/apis/flows/v1/sequence_lifecycle_test.go index d75b13c321e..fd4de91ae87 100644 --- a/pkg/apis/flows/v1/sequence_lifecycle_test.go +++ b/pkg/apis/flows/v1/sequence_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_types.go b/pkg/apis/flows/v1/sequence_types.go index 88461b092c8..6aea6633156 100644 --- a/pkg/apis/flows/v1/sequence_types.go +++ b/pkg/apis/flows/v1/sequence_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_types_test.go b/pkg/apis/flows/v1/sequence_types_test.go index b4a93638614..700d94269b1 100644 --- a/pkg/apis/flows/v1/sequence_types_test.go +++ b/pkg/apis/flows/v1/sequence_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_validation.go b/pkg/apis/flows/v1/sequence_validation.go index b6527756b93..a059c52cce2 100644 --- a/pkg/apis/flows/v1/sequence_validation.go +++ b/pkg/apis/flows/v1/sequence_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/sequence_validation_test.go b/pkg/apis/flows/v1/sequence_validation_test.go index 2e8d179159f..8ef38dcf50c 100644 --- a/pkg/apis/flows/v1/sequence_validation_test.go +++ b/pkg/apis/flows/v1/sequence_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/flows/v1/test_helpers.go b/pkg/apis/flows/v1/test_helpers.go index 1b0814042bb..8c9e432cf82 100644 --- a/pkg/apis/flows/v1/test_helpers.go +++ b/pkg/apis/flows/v1/test_helpers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/config/channel_defaults_test.go b/pkg/apis/messaging/config/channel_defaults_test.go index 4e1fe2225bb..8a4939daa3b 100644 --- a/pkg/apis/messaging/config/channel_defaults_test.go +++ b/pkg/apis/messaging/config/channel_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/config/channel_template_types.go b/pkg/apis/messaging/config/channel_template_types.go index faf7d551f1e..bb9e7ccfa4e 100644 --- a/pkg/apis/messaging/config/channel_template_types.go +++ b/pkg/apis/messaging/config/channel_template_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/config/doc.go b/pkg/apis/messaging/config/doc.go index a0d4319efcc..61305f83018 100644 --- a/pkg/apis/messaging/config/doc.go +++ b/pkg/apis/messaging/config/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/config/store.go b/pkg/apis/messaging/config/store.go index 2f2c51248df..88a2b452762 100644 --- a/pkg/apis/messaging/config/store.go +++ b/pkg/apis/messaging/config/store.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/config/store_test.go b/pkg/apis/messaging/config/store_test.go index 3a4e4754b54..3b9e37849f4 100644 --- a/pkg/apis/messaging/config/store_test.go +++ b/pkg/apis/messaging/config/store_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/register.go b/pkg/apis/messaging/register.go index be3366f7cdb..96e6f8b44a3 100644 --- a/pkg/apis/messaging/register.go +++ b/pkg/apis/messaging/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_conversion.go b/pkg/apis/messaging/v1/channel_conversion.go index 6b44fd57971..d5ce8d46cde 100644 --- a/pkg/apis/messaging/v1/channel_conversion.go +++ b/pkg/apis/messaging/v1/channel_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_conversion_test.go b/pkg/apis/messaging/v1/channel_conversion_test.go index 3b9e984b344..7644960e71b 100644 --- a/pkg/apis/messaging/v1/channel_conversion_test.go +++ b/pkg/apis/messaging/v1/channel_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_defaults.go b/pkg/apis/messaging/v1/channel_defaults.go index 682e4d171f6..f9d55953b33 100644 --- a/pkg/apis/messaging/v1/channel_defaults.go +++ b/pkg/apis/messaging/v1/channel_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_defaults_test.go b/pkg/apis/messaging/v1/channel_defaults_test.go index ed0924cffe6..28cb2a7285b 100644 --- a/pkg/apis/messaging/v1/channel_defaults_test.go +++ b/pkg/apis/messaging/v1/channel_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_lifecycle.go b/pkg/apis/messaging/v1/channel_lifecycle.go index 4f225822fce..c8cf84a1905 100644 --- a/pkg/apis/messaging/v1/channel_lifecycle.go +++ b/pkg/apis/messaging/v1/channel_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_lifecycle_test.go b/pkg/apis/messaging/v1/channel_lifecycle_test.go index 91a0775ba02..ab931091f8f 100644 --- a/pkg/apis/messaging/v1/channel_lifecycle_test.go +++ b/pkg/apis/messaging/v1/channel_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_template_types.go b/pkg/apis/messaging/v1/channel_template_types.go index 625249ba1a9..c558a33b21a 100644 --- a/pkg/apis/messaging/v1/channel_template_types.go +++ b/pkg/apis/messaging/v1/channel_template_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_types.go b/pkg/apis/messaging/v1/channel_types.go index 5df5d71b69c..1196c76bcac 100644 --- a/pkg/apis/messaging/v1/channel_types.go +++ b/pkg/apis/messaging/v1/channel_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_types_test.go b/pkg/apis/messaging/v1/channel_types_test.go index debf3d6a661..2ed42608317 100644 --- a/pkg/apis/messaging/v1/channel_types_test.go +++ b/pkg/apis/messaging/v1/channel_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_validation.go b/pkg/apis/messaging/v1/channel_validation.go index 5f0a10b4c07..9443a4f48c3 100644 --- a/pkg/apis/messaging/v1/channel_validation.go +++ b/pkg/apis/messaging/v1/channel_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/channel_validation_test.go b/pkg/apis/messaging/v1/channel_validation_test.go index 35dbe93af44..96535210775 100644 --- a/pkg/apis/messaging/v1/channel_validation_test.go +++ b/pkg/apis/messaging/v1/channel_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/crd_validation_test.go b/pkg/apis/messaging/v1/crd_validation_test.go index ac4bdaf42ce..d0bf81f2d74 100644 --- a/pkg/apis/messaging/v1/crd_validation_test.go +++ b/pkg/apis/messaging/v1/crd_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/doc.go b/pkg/apis/messaging/v1/doc.go index 056ab44b742..4a9dda155e6 100644 --- a/pkg/apis/messaging/v1/doc.go +++ b/pkg/apis/messaging/v1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_conversion.go b/pkg/apis/messaging/v1/in_memory_channel_conversion.go index d0300da28a8..bc9a25158ac 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_conversion.go +++ b/pkg/apis/messaging/v1/in_memory_channel_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_conversion_test.go b/pkg/apis/messaging/v1/in_memory_channel_conversion_test.go index b3613adfd67..98911dc758c 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_conversion_test.go +++ b/pkg/apis/messaging/v1/in_memory_channel_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_defaults.go b/pkg/apis/messaging/v1/in_memory_channel_defaults.go index a3f3bedff54..ea3888bd949 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_defaults.go +++ b/pkg/apis/messaging/v1/in_memory_channel_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_defaults_test.go b/pkg/apis/messaging/v1/in_memory_channel_defaults_test.go index e0c948469ad..70599ccfbab 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_defaults_test.go +++ b/pkg/apis/messaging/v1/in_memory_channel_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_lifecycle.go b/pkg/apis/messaging/v1/in_memory_channel_lifecycle.go index 3b6441a305a..66c47ef2331 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_lifecycle.go +++ b/pkg/apis/messaging/v1/in_memory_channel_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_lifecycle_test.go b/pkg/apis/messaging/v1/in_memory_channel_lifecycle_test.go index f1785342672..ddce4f5a602 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_lifecycle_test.go +++ b/pkg/apis/messaging/v1/in_memory_channel_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_types.go b/pkg/apis/messaging/v1/in_memory_channel_types.go index 5b0c971b54b..d45d1a971b4 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_types.go +++ b/pkg/apis/messaging/v1/in_memory_channel_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_types_test.go b/pkg/apis/messaging/v1/in_memory_channel_types_test.go index edc6d8564f5..2b76f8460ad 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_types_test.go +++ b/pkg/apis/messaging/v1/in_memory_channel_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_validation.go b/pkg/apis/messaging/v1/in_memory_channel_validation.go index 865fcd02c6e..5f7e5f42d76 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_validation.go +++ b/pkg/apis/messaging/v1/in_memory_channel_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/in_memory_channel_validation_test.go b/pkg/apis/messaging/v1/in_memory_channel_validation_test.go index cf6b15cecac..f2c43cdfd1a 100644 --- a/pkg/apis/messaging/v1/in_memory_channel_validation_test.go +++ b/pkg/apis/messaging/v1/in_memory_channel_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/register.go b/pkg/apis/messaging/v1/register.go index 27b38b997ac..2d80c1b0415 100644 --- a/pkg/apis/messaging/v1/register.go +++ b/pkg/apis/messaging/v1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/roundtrip_test.go b/pkg/apis/messaging/v1/roundtrip_test.go index ecdfc2083c8..6b4a34db7d5 100644 --- a/pkg/apis/messaging/v1/roundtrip_test.go +++ b/pkg/apis/messaging/v1/roundtrip_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscribable_channelable_validation.go b/pkg/apis/messaging/v1/subscribable_channelable_validation.go index 767fcca2ac5..008ee41ee96 100644 --- a/pkg/apis/messaging/v1/subscribable_channelable_validation.go +++ b/pkg/apis/messaging/v1/subscribable_channelable_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscribable_channelable_validation_test.go b/pkg/apis/messaging/v1/subscribable_channelable_validation_test.go index 38c69760002..a189deb0929 100644 --- a/pkg/apis/messaging/v1/subscribable_channelable_validation_test.go +++ b/pkg/apis/messaging/v1/subscribable_channelable_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_conversion.go b/pkg/apis/messaging/v1/subscription_conversion.go index 9422c7a3c2c..b5f2ce40e9e 100644 --- a/pkg/apis/messaging/v1/subscription_conversion.go +++ b/pkg/apis/messaging/v1/subscription_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_conversion_test.go b/pkg/apis/messaging/v1/subscription_conversion_test.go index 0b97467dc4c..ed7d6f2c26b 100644 --- a/pkg/apis/messaging/v1/subscription_conversion_test.go +++ b/pkg/apis/messaging/v1/subscription_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_defaults.go b/pkg/apis/messaging/v1/subscription_defaults.go index c2e5e38bec8..63e3ec026b8 100644 --- a/pkg/apis/messaging/v1/subscription_defaults.go +++ b/pkg/apis/messaging/v1/subscription_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_defaults_test.go b/pkg/apis/messaging/v1/subscription_defaults_test.go index 13366b7ae0a..0e24bc5bd20 100644 --- a/pkg/apis/messaging/v1/subscription_defaults_test.go +++ b/pkg/apis/messaging/v1/subscription_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_lifecycle.go b/pkg/apis/messaging/v1/subscription_lifecycle.go index b6be048fe9c..095731d4bfb 100644 --- a/pkg/apis/messaging/v1/subscription_lifecycle.go +++ b/pkg/apis/messaging/v1/subscription_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_lifecycle_test.go b/pkg/apis/messaging/v1/subscription_lifecycle_test.go index 421b849360a..38dc8f7ce30 100644 --- a/pkg/apis/messaging/v1/subscription_lifecycle_test.go +++ b/pkg/apis/messaging/v1/subscription_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_types.go b/pkg/apis/messaging/v1/subscription_types.go index 9901c9a6a2b..cb514339a0c 100644 --- a/pkg/apis/messaging/v1/subscription_types.go +++ b/pkg/apis/messaging/v1/subscription_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_types_test.go b/pkg/apis/messaging/v1/subscription_types_test.go index 8e13e78b06f..e31c661fdd9 100644 --- a/pkg/apis/messaging/v1/subscription_types_test.go +++ b/pkg/apis/messaging/v1/subscription_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_validation.go b/pkg/apis/messaging/v1/subscription_validation.go index f2cd298971b..050ab1a2d17 100644 --- a/pkg/apis/messaging/v1/subscription_validation.go +++ b/pkg/apis/messaging/v1/subscription_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/messaging/v1/subscription_validation_test.go b/pkg/apis/messaging/v1/subscription_validation_test.go index 0327fcfb6a1..75be6c53d1d 100644 --- a/pkg/apis/messaging/v1/subscription_validation_test.go +++ b/pkg/apis/messaging/v1/subscription_validation_test.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/pkg/apis/sources/config/ping_defaults.go b/pkg/apis/sources/config/ping_defaults.go index ebe8f99ab60..08f67dd1857 100644 --- a/pkg/apis/sources/config/ping_defaults.go +++ b/pkg/apis/sources/config/ping_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/config/ping_defaults_test.go b/pkg/apis/sources/config/ping_defaults_test.go index 422e3dab558..a6c1712e901 100644 --- a/pkg/apis/sources/config/ping_defaults_test.go +++ b/pkg/apis/sources/config/ping_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/config/store.go b/pkg/apis/sources/config/store.go index ceab865de48..4113c6b3610 100644 --- a/pkg/apis/sources/config/store.go +++ b/pkg/apis/sources/config/store.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/constants.go b/pkg/apis/sources/constants.go index 730116918ff..42cfe29029b 100644 --- a/pkg/apis/sources/constants.go +++ b/pkg/apis/sources/constants.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/register.go b/pkg/apis/sources/register.go index 55b4a748b17..04716c8ca65 100644 --- a/pkg/apis/sources/register.go +++ b/pkg/apis/sources/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_conversion.go b/pkg/apis/sources/v1/apiserver_conversion.go index 33e58a22a02..8445429413a 100644 --- a/pkg/apis/sources/v1/apiserver_conversion.go +++ b/pkg/apis/sources/v1/apiserver_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_conversion_test.go b/pkg/apis/sources/v1/apiserver_conversion_test.go index d3e7cb7a379..0f18969bebc 100644 --- a/pkg/apis/sources/v1/apiserver_conversion_test.go +++ b/pkg/apis/sources/v1/apiserver_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_defaults.go b/pkg/apis/sources/v1/apiserver_defaults.go index 5c8dcd00e7b..1e52d9576a8 100644 --- a/pkg/apis/sources/v1/apiserver_defaults.go +++ b/pkg/apis/sources/v1/apiserver_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_defaults_test.go b/pkg/apis/sources/v1/apiserver_defaults_test.go index d82c7cfc28b..7f43d60257c 100644 --- a/pkg/apis/sources/v1/apiserver_defaults_test.go +++ b/pkg/apis/sources/v1/apiserver_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_lifecycle.go b/pkg/apis/sources/v1/apiserver_lifecycle.go index b4604dfe432..42e4df840ec 100644 --- a/pkg/apis/sources/v1/apiserver_lifecycle.go +++ b/pkg/apis/sources/v1/apiserver_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_lifecycle_test.go b/pkg/apis/sources/v1/apiserver_lifecycle_test.go index 2519b347c27..4cf711f7156 100644 --- a/pkg/apis/sources/v1/apiserver_lifecycle_test.go +++ b/pkg/apis/sources/v1/apiserver_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_types.go b/pkg/apis/sources/v1/apiserver_types.go index ddd6332f359..e3d30765e8e 100644 --- a/pkg/apis/sources/v1/apiserver_types.go +++ b/pkg/apis/sources/v1/apiserver_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_types_test.go b/pkg/apis/sources/v1/apiserver_types_test.go index 0a3fcbf0f64..876761cd19d 100644 --- a/pkg/apis/sources/v1/apiserver_types_test.go +++ b/pkg/apis/sources/v1/apiserver_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_validation.go b/pkg/apis/sources/v1/apiserver_validation.go index 0eacb2dec94..3d18b12737e 100644 --- a/pkg/apis/sources/v1/apiserver_validation.go +++ b/pkg/apis/sources/v1/apiserver_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/apiserver_validation_test.go b/pkg/apis/sources/v1/apiserver_validation_test.go index 57646f3e23d..883a04a6e9a 100644 --- a/pkg/apis/sources/v1/apiserver_validation_test.go +++ b/pkg/apis/sources/v1/apiserver_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_conversion.go b/pkg/apis/sources/v1/container_conversion.go index e9996ba340f..d02548af780 100644 --- a/pkg/apis/sources/v1/container_conversion.go +++ b/pkg/apis/sources/v1/container_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_conversion_test.go b/pkg/apis/sources/v1/container_conversion_test.go index f3aab96d62b..c3350a45179 100644 --- a/pkg/apis/sources/v1/container_conversion_test.go +++ b/pkg/apis/sources/v1/container_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_defaults.go b/pkg/apis/sources/v1/container_defaults.go index 18ec5ced2fd..8789c586a51 100644 --- a/pkg/apis/sources/v1/container_defaults.go +++ b/pkg/apis/sources/v1/container_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_defaults_test.go b/pkg/apis/sources/v1/container_defaults_test.go index 25b036b1ae4..aeaac51ce22 100644 --- a/pkg/apis/sources/v1/container_defaults_test.go +++ b/pkg/apis/sources/v1/container_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_lifecycle.go b/pkg/apis/sources/v1/container_lifecycle.go index 0f47a4e9746..79ac2aa2a34 100644 --- a/pkg/apis/sources/v1/container_lifecycle.go +++ b/pkg/apis/sources/v1/container_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_lifecycle_test.go b/pkg/apis/sources/v1/container_lifecycle_test.go index 6ed2c87668e..225d470892d 100644 --- a/pkg/apis/sources/v1/container_lifecycle_test.go +++ b/pkg/apis/sources/v1/container_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_types.go b/pkg/apis/sources/v1/container_types.go index 5dee6312f48..ab75a451bc9 100644 --- a/pkg/apis/sources/v1/container_types.go +++ b/pkg/apis/sources/v1/container_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_types_test.go b/pkg/apis/sources/v1/container_types_test.go index 58ac91998c7..722e73519f6 100644 --- a/pkg/apis/sources/v1/container_types_test.go +++ b/pkg/apis/sources/v1/container_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_validation.go b/pkg/apis/sources/v1/container_validation.go index fae9e5cfd70..d5d9c5bf2ff 100644 --- a/pkg/apis/sources/v1/container_validation.go +++ b/pkg/apis/sources/v1/container_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/container_validation_test.go b/pkg/apis/sources/v1/container_validation_test.go index 3ab2f719fa6..c8c08b9b1e2 100644 --- a/pkg/apis/sources/v1/container_validation_test.go +++ b/pkg/apis/sources/v1/container_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/doc.go b/pkg/apis/sources/v1/doc.go index 04c0bb4346e..94a692f27c3 100644 --- a/pkg/apis/sources/v1/doc.go +++ b/pkg/apis/sources/v1/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/implements_test.go b/pkg/apis/sources/v1/implements_test.go index dbacc73426f..a397a679acd 100644 --- a/pkg/apis/sources/v1/implements_test.go +++ b/pkg/apis/sources/v1/implements_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_conversion.go b/pkg/apis/sources/v1/ping_conversion.go index 12afe722e40..598a344bb36 100644 --- a/pkg/apis/sources/v1/ping_conversion.go +++ b/pkg/apis/sources/v1/ping_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_conversion_test.go b/pkg/apis/sources/v1/ping_conversion_test.go index 446e2883ce4..dc320cc7ca4 100644 --- a/pkg/apis/sources/v1/ping_conversion_test.go +++ b/pkg/apis/sources/v1/ping_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_defaults.go b/pkg/apis/sources/v1/ping_defaults.go index efe8db64f1c..15610151b24 100644 --- a/pkg/apis/sources/v1/ping_defaults.go +++ b/pkg/apis/sources/v1/ping_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_defaults_test.go b/pkg/apis/sources/v1/ping_defaults_test.go index 32fe44f3ce1..ecee3f851f8 100644 --- a/pkg/apis/sources/v1/ping_defaults_test.go +++ b/pkg/apis/sources/v1/ping_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_lifecycle.go b/pkg/apis/sources/v1/ping_lifecycle.go index 42d3e7db884..5f7dd547091 100644 --- a/pkg/apis/sources/v1/ping_lifecycle.go +++ b/pkg/apis/sources/v1/ping_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_lifecycle_test.go b/pkg/apis/sources/v1/ping_lifecycle_test.go index 1c5bd337d26..cc83be6528a 100644 --- a/pkg/apis/sources/v1/ping_lifecycle_test.go +++ b/pkg/apis/sources/v1/ping_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_types.go b/pkg/apis/sources/v1/ping_types.go index 5390fc288ff..b911c6911ac 100644 --- a/pkg/apis/sources/v1/ping_types.go +++ b/pkg/apis/sources/v1/ping_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_types_test.go b/pkg/apis/sources/v1/ping_types_test.go index b2a7d54b95f..e9d576edad1 100644 --- a/pkg/apis/sources/v1/ping_types_test.go +++ b/pkg/apis/sources/v1/ping_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_validation.go b/pkg/apis/sources/v1/ping_validation.go index 5bed8c7b66d..b8315ee0dd5 100644 --- a/pkg/apis/sources/v1/ping_validation.go +++ b/pkg/apis/sources/v1/ping_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/ping_validation_test.go b/pkg/apis/sources/v1/ping_validation_test.go index 4f0678f07e2..98a89dd154b 100644 --- a/pkg/apis/sources/v1/ping_validation_test.go +++ b/pkg/apis/sources/v1/ping_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/register.go b/pkg/apis/sources/v1/register.go index 45260f42c27..d7be9a9cc90 100644 --- a/pkg/apis/sources/v1/register.go +++ b/pkg/apis/sources/v1/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/register_test.go b/pkg/apis/sources/v1/register_test.go index 49489149d12..d5c2fef9187 100644 --- a/pkg/apis/sources/v1/register_test.go +++ b/pkg/apis/sources/v1/register_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/roundtrip_test.go b/pkg/apis/sources/v1/roundtrip_test.go index a18af0e75ab..0bfdefe1e9a 100644 --- a/pkg/apis/sources/v1/roundtrip_test.go +++ b/pkg/apis/sources/v1/roundtrip_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_context.go b/pkg/apis/sources/v1/sinkbinding_context.go index f2b7155f36f..41c793c30d8 100644 --- a/pkg/apis/sources/v1/sinkbinding_context.go +++ b/pkg/apis/sources/v1/sinkbinding_context.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_context_test.go b/pkg/apis/sources/v1/sinkbinding_context_test.go index 497677d5544..eb1380f37c9 100644 --- a/pkg/apis/sources/v1/sinkbinding_context_test.go +++ b/pkg/apis/sources/v1/sinkbinding_context_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_conversion.go b/pkg/apis/sources/v1/sinkbinding_conversion.go index 46edae3ecd0..b5c911830bd 100644 --- a/pkg/apis/sources/v1/sinkbinding_conversion.go +++ b/pkg/apis/sources/v1/sinkbinding_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_conversion_test.go b/pkg/apis/sources/v1/sinkbinding_conversion_test.go index c2c221b593f..19775bb9766 100644 --- a/pkg/apis/sources/v1/sinkbinding_conversion_test.go +++ b/pkg/apis/sources/v1/sinkbinding_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_defaults.go b/pkg/apis/sources/v1/sinkbinding_defaults.go index 1528d61c38d..8ef237307ae 100644 --- a/pkg/apis/sources/v1/sinkbinding_defaults.go +++ b/pkg/apis/sources/v1/sinkbinding_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_defaults_test.go b/pkg/apis/sources/v1/sinkbinding_defaults_test.go index 1b6dd162829..a1d620cf2b5 100644 --- a/pkg/apis/sources/v1/sinkbinding_defaults_test.go +++ b/pkg/apis/sources/v1/sinkbinding_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_lifecycle.go b/pkg/apis/sources/v1/sinkbinding_lifecycle.go index 0138839f2f5..081549a2082 100644 --- a/pkg/apis/sources/v1/sinkbinding_lifecycle.go +++ b/pkg/apis/sources/v1/sinkbinding_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_lifecycle_test.go b/pkg/apis/sources/v1/sinkbinding_lifecycle_test.go index bae0d75509f..bfb71ea5261 100644 --- a/pkg/apis/sources/v1/sinkbinding_lifecycle_test.go +++ b/pkg/apis/sources/v1/sinkbinding_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_types.go b/pkg/apis/sources/v1/sinkbinding_types.go index e8afbc1451d..e5e5d7a2147 100644 --- a/pkg/apis/sources/v1/sinkbinding_types.go +++ b/pkg/apis/sources/v1/sinkbinding_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_types_test.go b/pkg/apis/sources/v1/sinkbinding_types_test.go index 32ce61c36ab..fa45af9de76 100644 --- a/pkg/apis/sources/v1/sinkbinding_types_test.go +++ b/pkg/apis/sources/v1/sinkbinding_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_validation.go b/pkg/apis/sources/v1/sinkbinding_validation.go index 860bda99f23..76e4421b7d2 100644 --- a/pkg/apis/sources/v1/sinkbinding_validation.go +++ b/pkg/apis/sources/v1/sinkbinding_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1/sinkbinding_validation_test.go b/pkg/apis/sources/v1/sinkbinding_validation_test.go index e8676dd9e0d..84a45740592 100644 --- a/pkg/apis/sources/v1/sinkbinding_validation_test.go +++ b/pkg/apis/sources/v1/sinkbinding_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/doc.go b/pkg/apis/sources/v1beta2/doc.go index 1454b38ba2d..c9bd848ebbe 100644 --- a/pkg/apis/sources/v1beta2/doc.go +++ b/pkg/apis/sources/v1beta2/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/implements_test.go b/pkg/apis/sources/v1beta2/implements_test.go index 2cb7a8c102f..293346cd12d 100644 --- a/pkg/apis/sources/v1beta2/implements_test.go +++ b/pkg/apis/sources/v1beta2/implements_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_conversion.go b/pkg/apis/sources/v1beta2/ping_conversion.go index fd0ece828ac..4af7e806fbd 100644 --- a/pkg/apis/sources/v1beta2/ping_conversion.go +++ b/pkg/apis/sources/v1beta2/ping_conversion.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_conversion_test.go b/pkg/apis/sources/v1beta2/ping_conversion_test.go index 1c93bc8acf1..e1550cab736 100644 --- a/pkg/apis/sources/v1beta2/ping_conversion_test.go +++ b/pkg/apis/sources/v1beta2/ping_conversion_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_defaults.go b/pkg/apis/sources/v1beta2/ping_defaults.go index 8078c36d11f..ab0cb8eae7d 100644 --- a/pkg/apis/sources/v1beta2/ping_defaults.go +++ b/pkg/apis/sources/v1beta2/ping_defaults.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_defaults_test.go b/pkg/apis/sources/v1beta2/ping_defaults_test.go index 276b9701159..3970d7b989e 100644 --- a/pkg/apis/sources/v1beta2/ping_defaults_test.go +++ b/pkg/apis/sources/v1beta2/ping_defaults_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_lifecycle.go b/pkg/apis/sources/v1beta2/ping_lifecycle.go index 76da4136867..4ca010aa736 100644 --- a/pkg/apis/sources/v1beta2/ping_lifecycle.go +++ b/pkg/apis/sources/v1beta2/ping_lifecycle.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_lifecycle_test.go b/pkg/apis/sources/v1beta2/ping_lifecycle_test.go index 170806cd8dc..761e018c9bd 100644 --- a/pkg/apis/sources/v1beta2/ping_lifecycle_test.go +++ b/pkg/apis/sources/v1beta2/ping_lifecycle_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_types.go b/pkg/apis/sources/v1beta2/ping_types.go index 02247e1b331..3b23f9622d1 100644 --- a/pkg/apis/sources/v1beta2/ping_types.go +++ b/pkg/apis/sources/v1beta2/ping_types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_types_test.go b/pkg/apis/sources/v1beta2/ping_types_test.go index 91df1640c32..0444db3f391 100644 --- a/pkg/apis/sources/v1beta2/ping_types_test.go +++ b/pkg/apis/sources/v1beta2/ping_types_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_validation.go b/pkg/apis/sources/v1beta2/ping_validation.go index de43bf2e90e..a2cb865f286 100644 --- a/pkg/apis/sources/v1beta2/ping_validation.go +++ b/pkg/apis/sources/v1beta2/ping_validation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/ping_validation_test.go b/pkg/apis/sources/v1beta2/ping_validation_test.go index 779e3d97883..c4541539efe 100644 --- a/pkg/apis/sources/v1beta2/ping_validation_test.go +++ b/pkg/apis/sources/v1beta2/ping_validation_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/register.go b/pkg/apis/sources/v1beta2/register.go index aa10f1f697c..76e97b30864 100644 --- a/pkg/apis/sources/v1beta2/register.go +++ b/pkg/apis/sources/v1beta2/register.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sources/v1beta2/register_test.go b/pkg/apis/sources/v1beta2/register_test.go index 12f56dc50ec..5f041126ab4 100644 --- a/pkg/apis/sources/v1beta2/register_test.go +++ b/pkg/apis/sources/v1beta2/register_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sugar/store.go b/pkg/apis/sugar/store.go index e5d7dc85bf0..776e9e17c93 100644 --- a/pkg/apis/sugar/store.go +++ b/pkg/apis/sugar/store.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sugar/sugar.go b/pkg/apis/sugar/sugar.go index aa2da7c764d..6acfd43bfa4 100644 --- a/pkg/apis/sugar/sugar.go +++ b/pkg/apis/sugar/sugar.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/apis/sugar/sugar_test.go b/pkg/apis/sugar/sugar_test.go index 6e687655923..14680ee400f 100644 --- a/pkg/apis/sugar/sugar_test.go +++ b/pkg/apis/sugar/sugar_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/filter/filter_handler.go b/pkg/broker/filter/filter_handler.go index ec46c0b3886..cbd3fddd44d 100644 --- a/pkg/broker/filter/filter_handler.go +++ b/pkg/broker/filter/filter_handler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/filter/filter_handler_test.go b/pkg/broker/filter/filter_handler_test.go index e6bf900ec65..e652e67fb8f 100644 --- a/pkg/broker/filter/filter_handler_test.go +++ b/pkg/broker/filter/filter_handler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/filter/stats_reporter.go b/pkg/broker/filter/stats_reporter.go index c2df9b3c9b5..264e1d6b107 100644 --- a/pkg/broker/filter/stats_reporter.go +++ b/pkg/broker/filter/stats_reporter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/filter/stats_reporter_test.go b/pkg/broker/filter/stats_reporter_test.go index da1635dfe0f..1033a7efe48 100644 --- a/pkg/broker/filter/stats_reporter_test.go +++ b/pkg/broker/filter/stats_reporter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/ingress/ingress_handler.go b/pkg/broker/ingress/ingress_handler.go index 6219cb92537..fc9bc0778a6 100644 --- a/pkg/broker/ingress/ingress_handler.go +++ b/pkg/broker/ingress/ingress_handler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/ingress/ingress_handler_test.go b/pkg/broker/ingress/ingress_handler_test.go index b7f21912a44..db6a18dda4c 100644 --- a/pkg/broker/ingress/ingress_handler_test.go +++ b/pkg/broker/ingress/ingress_handler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/ingress/stats_reporter.go b/pkg/broker/ingress/stats_reporter.go index 209981e76f4..21f2e7e14cc 100644 --- a/pkg/broker/ingress/stats_reporter.go +++ b/pkg/broker/ingress/stats_reporter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/ingress/stats_reporter_test.go b/pkg/broker/ingress/stats_reporter_test.go index b948ed37dce..23ab966b6a5 100644 --- a/pkg/broker/ingress/stats_reporter_test.go +++ b/pkg/broker/ingress/stats_reporter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/metrics.go b/pkg/broker/metrics.go index c6d38bb4a79..bad4c2531f9 100644 --- a/pkg/broker/metrics.go +++ b/pkg/broker/metrics.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/ttl.go b/pkg/broker/ttl.go index fc93afe40fe..0ad50bd2c1c 100644 --- a/pkg/broker/ttl.go +++ b/pkg/broker/ttl.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/broker/ttl_test.go b/pkg/broker/ttl_test.go index a7026842ce3..318eef9b141 100644 --- a/pkg/broker/ttl_test.go +++ b/pkg/broker/ttl_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/event_receiver.go b/pkg/channel/event_receiver.go index ffb441cbcce..baaa8653ba7 100644 --- a/pkg/channel/event_receiver.go +++ b/pkg/channel/event_receiver.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/event_receiver_test.go b/pkg/channel/event_receiver_test.go index 0221e5e22a9..959846d669f 100644 --- a/pkg/channel/event_receiver_test.go +++ b/pkg/channel/event_receiver_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/fanout/fanout_event_handler.go b/pkg/channel/fanout/fanout_event_handler.go index cd8312e7c85..7aa80acd0c3 100644 --- a/pkg/channel/fanout/fanout_event_handler.go +++ b/pkg/channel/fanout/fanout_event_handler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/fanout/fanout_event_handler_test.go b/pkg/channel/fanout/fanout_event_handler_test.go index f513832bb29..17866ae7caa 100644 --- a/pkg/channel/fanout/fanout_event_handler_test.go +++ b/pkg/channel/fanout/fanout_event_handler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/metrics.go b/pkg/channel/metrics.go index bfe81cb76ae..5a3f4251853 100644 --- a/pkg/channel/metrics.go +++ b/pkg/channel/metrics.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/multichannelfanout/config.go b/pkg/channel/multichannelfanout/config.go index 6c471337529..d2b9656093c 100644 --- a/pkg/channel/multichannelfanout/config.go +++ b/pkg/channel/multichannelfanout/config.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler.go b/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler.go index 20bbeb7d3e9..2f24fe325db 100644 --- a/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler.go +++ b/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler_test.go b/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler_test.go index 97244f560b0..de82c082c8c 100644 --- a/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler_test.go +++ b/pkg/channel/multichannelfanout/multi_channel_fanout_event_handler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/references.go b/pkg/channel/references.go index 5805b74a4dc..7ee265ba443 100644 --- a/pkg/channel/references.go +++ b/pkg/channel/references.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/references_test.go b/pkg/channel/references_test.go index 03c7265649b..c416137157b 100644 --- a/pkg/channel/references_test.go +++ b/pkg/channel/references_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/stats_reporter.go b/pkg/channel/stats_reporter.go index 7bc9821358f..49e32cd6ab9 100644 --- a/pkg/channel/stats_reporter.go +++ b/pkg/channel/stats_reporter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/channel/stats_reporter_test.go b/pkg/channel/stats_reporter_test.go index 9038fe6eafe..580adbbec69 100644 --- a/pkg/channel/stats_reporter_test.go +++ b/pkg/channel/stats_reporter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/duck/channel.go b/pkg/duck/channel.go index dc747c4bebd..bfe56a21eb5 100644 --- a/pkg/duck/channel.go +++ b/pkg/duck/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/duck/channel_test.go b/pkg/duck/channel_test.go index 64a370c6778..f37d8b6439a 100644 --- a/pkg/duck/channel_test.go +++ b/pkg/duck/channel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/duck/listable.go b/pkg/duck/listable.go index 4bb9262c5df..af92767c4f0 100644 --- a/pkg/duck/listable.go +++ b/pkg/duck/listable.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/duck/listable_test.go b/pkg/duck/listable_test.go index 6597bfaee33..5d2f57b1d63 100644 --- a/pkg/duck/listable_test.go +++ b/pkg/duck/listable_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/duck/subscriber.go b/pkg/duck/subscriber.go index 8b7c2a91f50..d84b584fac2 100644 --- a/pkg/duck/subscriber.go +++ b/pkg/duck/subscriber.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/duck/subscriber_test.go b/pkg/duck/subscriber_test.go index e557890142a..19c1e8d471c 100644 --- a/pkg/duck/subscriber_test.go +++ b/pkg/duck/subscriber_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/attributes/filter.go b/pkg/eventfilter/attributes/filter.go index 089b03520ca..f031a74ab34 100644 --- a/pkg/eventfilter/attributes/filter.go +++ b/pkg/eventfilter/attributes/filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/attributes/filter_test.go b/pkg/eventfilter/attributes/filter_test.go index d164168b6ad..5b5be53b462 100644 --- a/pkg/eventfilter/attributes/filter_test.go +++ b/pkg/eventfilter/attributes/filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/benchmarks/attributes_benchmark_test.go b/pkg/eventfilter/benchmarks/attributes_benchmark_test.go index 14b04f15dcf..6bbac5ff377 100644 --- a/pkg/eventfilter/benchmarks/attributes_benchmark_test.go +++ b/pkg/eventfilter/benchmarks/attributes_benchmark_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/benchmarks/common_benchmark_test.go b/pkg/eventfilter/benchmarks/common_benchmark_test.go index 5f360031be5..49e98c134f7 100644 --- a/pkg/eventfilter/benchmarks/common_benchmark_test.go +++ b/pkg/eventfilter/benchmarks/common_benchmark_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/filter.go b/pkg/eventfilter/filter.go index c1a61e178e2..2fb9df2d7ca 100644 --- a/pkg/eventfilter/filter.go +++ b/pkg/eventfilter/filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/all_filter.go b/pkg/eventfilter/subscriptionsapi/all_filter.go index 6eda5a78d38..41b71820f9d 100644 --- a/pkg/eventfilter/subscriptionsapi/all_filter.go +++ b/pkg/eventfilter/subscriptionsapi/all_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/all_filter_test.go b/pkg/eventfilter/subscriptionsapi/all_filter_test.go index 78e847a2dff..478718c03b4 100644 --- a/pkg/eventfilter/subscriptionsapi/all_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/all_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/any_filter.go b/pkg/eventfilter/subscriptionsapi/any_filter.go index a93467e9c08..f7b52bbe098 100644 --- a/pkg/eventfilter/subscriptionsapi/any_filter.go +++ b/pkg/eventfilter/subscriptionsapi/any_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/any_filter_test.go b/pkg/eventfilter/subscriptionsapi/any_filter_test.go index b9fe00c2fbe..a027d55a7e2 100644 --- a/pkg/eventfilter/subscriptionsapi/any_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/any_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/cesql_filter.go b/pkg/eventfilter/subscriptionsapi/cesql_filter.go index dafe21ef383..00a6d2ae325 100644 --- a/pkg/eventfilter/subscriptionsapi/cesql_filter.go +++ b/pkg/eventfilter/subscriptionsapi/cesql_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/cesql_filter_test.go b/pkg/eventfilter/subscriptionsapi/cesql_filter_test.go index b91253cc17f..93a10c281ba 100644 --- a/pkg/eventfilter/subscriptionsapi/cesql_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/cesql_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/exact_filter.go b/pkg/eventfilter/subscriptionsapi/exact_filter.go index 55859f7a593..9a9b77c9df3 100644 --- a/pkg/eventfilter/subscriptionsapi/exact_filter.go +++ b/pkg/eventfilter/subscriptionsapi/exact_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/exact_filter_test.go b/pkg/eventfilter/subscriptionsapi/exact_filter_test.go index ce921b81304..a61ce92f045 100644 --- a/pkg/eventfilter/subscriptionsapi/exact_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/exact_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/not_filter.go b/pkg/eventfilter/subscriptionsapi/not_filter.go index 57d98ae0391..aad82f6e196 100644 --- a/pkg/eventfilter/subscriptionsapi/not_filter.go +++ b/pkg/eventfilter/subscriptionsapi/not_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/not_filter_test.go b/pkg/eventfilter/subscriptionsapi/not_filter_test.go index 2eff8f379be..ed1b9db2554 100644 --- a/pkg/eventfilter/subscriptionsapi/not_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/not_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/prefix_filter.go b/pkg/eventfilter/subscriptionsapi/prefix_filter.go index fc19911decf..df1d79b99e6 100644 --- a/pkg/eventfilter/subscriptionsapi/prefix_filter.go +++ b/pkg/eventfilter/subscriptionsapi/prefix_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/prefix_filter_test.go b/pkg/eventfilter/subscriptionsapi/prefix_filter_test.go index 76d32210ddd..b3b4e669662 100644 --- a/pkg/eventfilter/subscriptionsapi/prefix_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/prefix_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/suffix_filter.go b/pkg/eventfilter/subscriptionsapi/suffix_filter.go index fe41bf6c1f8..dae74e16a7e 100644 --- a/pkg/eventfilter/subscriptionsapi/suffix_filter.go +++ b/pkg/eventfilter/subscriptionsapi/suffix_filter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/eventfilter/subscriptionsapi/suffix_filter_test.go b/pkg/eventfilter/subscriptionsapi/suffix_filter_test.go index e908058981a..f43c9b7ffc1 100644 --- a/pkg/eventfilter/subscriptionsapi/suffix_filter_test.go +++ b/pkg/eventfilter/subscriptionsapi/suffix_filter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/inmemorychannel/event_dispatcher.go b/pkg/inmemorychannel/event_dispatcher.go index 008a722d049..4f53c0ea7c0 100644 --- a/pkg/inmemorychannel/event_dispatcher.go +++ b/pkg/inmemorychannel/event_dispatcher.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/inmemorychannel/event_dispatcher_test.go b/pkg/inmemorychannel/event_dispatcher_test.go index ab34efba503..e7642b446a2 100644 --- a/pkg/inmemorychannel/event_dispatcher_test.go +++ b/pkg/inmemorychannel/event_dispatcher_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/kncloudevents/attributes/knative_error.go b/pkg/kncloudevents/attributes/knative_error.go index b9e4d31ce41..327fa8cfb91 100644 --- a/pkg/kncloudevents/attributes/knative_error.go +++ b/pkg/kncloudevents/attributes/knative_error.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/kncloudevents/attributes/knative_error_test.go b/pkg/kncloudevents/attributes/knative_error_test.go index 07bb11fbaae..c6abad59317 100644 --- a/pkg/kncloudevents/attributes/knative_error_test.go +++ b/pkg/kncloudevents/attributes/knative_error_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/kncloudevents/event_receiver.go b/pkg/kncloudevents/event_receiver.go index 152cf06b1c0..17c503cc251 100644 --- a/pkg/kncloudevents/event_receiver.go +++ b/pkg/kncloudevents/event_receiver.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/kncloudevents/event_receiver_test.go b/pkg/kncloudevents/event_receiver_test.go index 894486d1d5b..de8c71a525c 100644 --- a/pkg/kncloudevents/event_receiver_test.go +++ b/pkg/kncloudevents/event_receiver_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/kncloudevents/retries.go b/pkg/kncloudevents/retries.go index a4bd26bc844..6b85c5e3d27 100644 --- a/pkg/kncloudevents/retries.go +++ b/pkg/kncloudevents/retries.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/kncloudevents/retries_test.go b/pkg/kncloudevents/retries_test.go index 65625ecebd1..a8ddaa0e5ec 100644 --- a/pkg/kncloudevents/retries_test.go +++ b/pkg/kncloudevents/retries_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go index 363673b101f..beedaaa6bc4 100644 --- a/pkg/metrics/metrics.go +++ b/pkg/metrics/metrics.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/metrics/source/stats_reporter.go b/pkg/metrics/source/stats_reporter.go index 3c39c582363..88883768b9b 100644 --- a/pkg/metrics/source/stats_reporter.go +++ b/pkg/metrics/source/stats_reporter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/metrics/source/stats_reporter_test.go b/pkg/metrics/source/stats_reporter_test.go index d039fff29c0..ef68289d0bb 100644 --- a/pkg/metrics/source/stats_reporter_test.go +++ b/pkg/metrics/source/stats_reporter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/attributes.go b/pkg/observability/attributes.go index 72703f4f0a9..519f824d23f 100644 --- a/pkg/observability/attributes.go +++ b/pkg/observability/attributes.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/attributes_test.go b/pkg/observability/attributes_test.go index 107102b8a2c..c2ea24f44f8 100644 --- a/pkg/observability/attributes_test.go +++ b/pkg/observability/attributes_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/client/observability_service.go b/pkg/observability/client/observability_service.go index bbd6bd1a4dc..222e1cee904 100644 --- a/pkg/observability/client/observability_service.go +++ b/pkg/observability/client/observability_service.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/client/observability_service_test.go b/pkg/observability/client/observability_service_test.go index 2834d50c8bc..4cb98bcbe59 100644 --- a/pkg/observability/client/observability_service_test.go +++ b/pkg/observability/client/observability_service_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/client/observable.go b/pkg/observability/client/observable.go index 8804671e5be..3ef02d99ce9 100644 --- a/pkg/observability/client/observable.go +++ b/pkg/observability/client/observable.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/context.go b/pkg/observability/context.go index 4f3a5c9bd80..49e7b444913 100644 --- a/pkg/observability/context.go +++ b/pkg/observability/context.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/observability/context_test.go b/pkg/observability/context_test.go index c91bfc04243..f29611da30a 100644 --- a/pkg/observability/context_test.go +++ b/pkg/observability/context_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/apiserversource.go b/pkg/reconciler/apiserversource/apiserversource.go index a4051f378ab..37a2fb91f45 100644 --- a/pkg/reconciler/apiserversource/apiserversource.go +++ b/pkg/reconciler/apiserversource/apiserversource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/apiserversource_test.go b/pkg/reconciler/apiserversource/apiserversource_test.go index e48c716c793..887b6ba03ca 100644 --- a/pkg/reconciler/apiserversource/apiserversource_test.go +++ b/pkg/reconciler/apiserversource/apiserversource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/cfg_host.go b/pkg/reconciler/apiserversource/cfg_host.go index 465511cd5ce..d0889ac7739 100644 --- a/pkg/reconciler/apiserversource/cfg_host.go +++ b/pkg/reconciler/apiserversource/cfg_host.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/controller.go b/pkg/reconciler/apiserversource/controller.go index c3f9983dc3b..00365393108 100644 --- a/pkg/reconciler/apiserversource/controller.go +++ b/pkg/reconciler/apiserversource/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/controller_test.go b/pkg/reconciler/apiserversource/controller_test.go index 497d150f619..302d7267e26 100644 --- a/pkg/reconciler/apiserversource/controller_test.go +++ b/pkg/reconciler/apiserversource/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/doc.go b/pkg/reconciler/apiserversource/doc.go index 97aaab17cfe..477d9720950 100644 --- a/pkg/reconciler/apiserversource/doc.go +++ b/pkg/reconciler/apiserversource/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/resources/labels.go b/pkg/reconciler/apiserversource/resources/labels.go index 22e0a93e64b..452bd46583c 100644 --- a/pkg/reconciler/apiserversource/resources/labels.go +++ b/pkg/reconciler/apiserversource/resources/labels.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/resources/labels_test.go b/pkg/reconciler/apiserversource/resources/labels_test.go index 1569f89e803..bcbe905d7be 100644 --- a/pkg/reconciler/apiserversource/resources/labels_test.go +++ b/pkg/reconciler/apiserversource/resources/labels_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/resources/receive_adapter.go b/pkg/reconciler/apiserversource/resources/receive_adapter.go index 0997c8c7632..4964f2a48b5 100644 --- a/pkg/reconciler/apiserversource/resources/receive_adapter.go +++ b/pkg/reconciler/apiserversource/resources/receive_adapter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/apiserversource/resources/receive_adapter_test.go b/pkg/reconciler/apiserversource/resources/receive_adapter_test.go index 55c2817e5cf..7093b652f2b 100644 --- a/pkg/reconciler/apiserversource/resources/receive_adapter_test.go +++ b/pkg/reconciler/apiserversource/resources/receive_adapter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/broker.go b/pkg/reconciler/broker/broker.go index c631fc50932..b440cc4df6b 100644 --- a/pkg/reconciler/broker/broker.go +++ b/pkg/reconciler/broker/broker.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/broker_test.go b/pkg/reconciler/broker/broker_test.go index 82e72f7d768..06c90bc3deb 100644 --- a/pkg/reconciler/broker/broker_test.go +++ b/pkg/reconciler/broker/broker_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/config_test.go b/pkg/reconciler/broker/config_test.go index 35cd40bd54f..253787114b1 100644 --- a/pkg/reconciler/broker/config_test.go +++ b/pkg/reconciler/broker/config_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/controller.go b/pkg/reconciler/broker/controller.go index ebb0a513735..bbf9f4117c4 100644 --- a/pkg/reconciler/broker/controller.go +++ b/pkg/reconciler/broker/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/controller_test.go b/pkg/reconciler/broker/controller_test.go index 80e5a7120f5..44fe88902e7 100644 --- a/pkg/reconciler/broker/controller_test.go +++ b/pkg/reconciler/broker/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/resources/channel.go b/pkg/reconciler/broker/resources/channel.go index 99cd3b2657c..f1eaa606fca 100644 --- a/pkg/reconciler/broker/resources/channel.go +++ b/pkg/reconciler/broker/resources/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/resources/channel_test.go b/pkg/reconciler/broker/resources/channel_test.go index 4857604d303..9cf46bf466c 100644 --- a/pkg/reconciler/broker/resources/channel_test.go +++ b/pkg/reconciler/broker/resources/channel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/resources/subscription.go b/pkg/reconciler/broker/resources/subscription.go index 7be849f05ad..622267433b4 100644 --- a/pkg/reconciler/broker/resources/subscription.go +++ b/pkg/reconciler/broker/resources/subscription.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/resources/subscription_test.go b/pkg/reconciler/broker/resources/subscription_test.go index bfe9692baee..5d9c69b4a47 100644 --- a/pkg/reconciler/broker/resources/subscription_test.go +++ b/pkg/reconciler/broker/resources/subscription_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/trigger/controller.go b/pkg/reconciler/broker/trigger/controller.go index b918cddb440..af883b32aa9 100644 --- a/pkg/reconciler/broker/trigger/controller.go +++ b/pkg/reconciler/broker/trigger/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/trigger/controller_test.go b/pkg/reconciler/broker/trigger/controller_test.go index a5595cbc3a3..d594669e75d 100644 --- a/pkg/reconciler/broker/trigger/controller_test.go +++ b/pkg/reconciler/broker/trigger/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/trigger/trigger.go b/pkg/reconciler/broker/trigger/trigger.go index 51166e638f5..8ad3041bde3 100644 --- a/pkg/reconciler/broker/trigger/trigger.go +++ b/pkg/reconciler/broker/trigger/trigger.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/broker/trigger/trigger_test.go b/pkg/reconciler/broker/trigger/trigger_test.go index 306f46e04dc..dd673a0e26a 100644 --- a/pkg/reconciler/broker/trigger/trigger_test.go +++ b/pkg/reconciler/broker/trigger/trigger_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/channel/channel.go b/pkg/reconciler/channel/channel.go index daa66ca5ff0..2a1b6ba1db5 100644 --- a/pkg/reconciler/channel/channel.go +++ b/pkg/reconciler/channel/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/channel/channel_test.go b/pkg/reconciler/channel/channel_test.go index 58dadd1ec72..9835098b435 100644 --- a/pkg/reconciler/channel/channel_test.go +++ b/pkg/reconciler/channel/channel_test.go @@ -3,7 +3,7 @@ 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 + 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. diff --git a/pkg/reconciler/channel/controller.go b/pkg/reconciler/channel/controller.go index 2d9eff5f6f8..0cb3272a2d6 100644 --- a/pkg/reconciler/channel/controller.go +++ b/pkg/reconciler/channel/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/channel/controller_test.go b/pkg/reconciler/channel/controller_test.go index 548a41868e3..90e5fd13c33 100644 --- a/pkg/reconciler/channel/controller_test.go +++ b/pkg/reconciler/channel/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/containersource.go b/pkg/reconciler/containersource/containersource.go index fb1052c270b..f36b8a87e94 100644 --- a/pkg/reconciler/containersource/containersource.go +++ b/pkg/reconciler/containersource/containersource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/containersource_test.go b/pkg/reconciler/containersource/containersource_test.go index b0acf68a98a..6c588a59b87 100644 --- a/pkg/reconciler/containersource/containersource_test.go +++ b/pkg/reconciler/containersource/containersource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/controller.go b/pkg/reconciler/containersource/controller.go index 76899a00b68..ea078044d93 100644 --- a/pkg/reconciler/containersource/controller.go +++ b/pkg/reconciler/containersource/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/controller_test.go b/pkg/reconciler/containersource/controller_test.go index 8b51e93dd87..e7de0f0afd5 100644 --- a/pkg/reconciler/containersource/controller_test.go +++ b/pkg/reconciler/containersource/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/resources/deployment.go b/pkg/reconciler/containersource/resources/deployment.go index 9d2b060eb36..dbeb1b6749d 100644 --- a/pkg/reconciler/containersource/resources/deployment.go +++ b/pkg/reconciler/containersource/resources/deployment.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/resources/deployment_test.go b/pkg/reconciler/containersource/resources/deployment_test.go index 14af577bdea..5c6123e6fb4 100644 --- a/pkg/reconciler/containersource/resources/deployment_test.go +++ b/pkg/reconciler/containersource/resources/deployment_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/resources/labels.go b/pkg/reconciler/containersource/resources/labels.go index 6d0563a14ac..4a2ce9c864a 100644 --- a/pkg/reconciler/containersource/resources/labels.go +++ b/pkg/reconciler/containersource/resources/labels.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/resources/names.go b/pkg/reconciler/containersource/resources/names.go index ddb038864b9..4bae9959730 100644 --- a/pkg/reconciler/containersource/resources/names.go +++ b/pkg/reconciler/containersource/resources/names.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/resources/sinkbinding.go b/pkg/reconciler/containersource/resources/sinkbinding.go index 99d8f4994f0..090fe3433eb 100644 --- a/pkg/reconciler/containersource/resources/sinkbinding.go +++ b/pkg/reconciler/containersource/resources/sinkbinding.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/containersource/resources/sinkbinding_test.go b/pkg/reconciler/containersource/resources/sinkbinding_test.go index 368baf326cc..d7559142daf 100644 --- a/pkg/reconciler/containersource/resources/sinkbinding_test.go +++ b/pkg/reconciler/containersource/resources/sinkbinding_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/eventtype/controller.go b/pkg/reconciler/eventtype/controller.go index bd4c2c39c8b..b3397685d8e 100644 --- a/pkg/reconciler/eventtype/controller.go +++ b/pkg/reconciler/eventtype/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/eventtype/controller_test.go b/pkg/reconciler/eventtype/controller_test.go index cff79fe1de1..015a838daba 100644 --- a/pkg/reconciler/eventtype/controller_test.go +++ b/pkg/reconciler/eventtype/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/eventtype/eventtype.go b/pkg/reconciler/eventtype/eventtype.go index 4b14e495fda..14f7dbef040 100644 --- a/pkg/reconciler/eventtype/eventtype.go +++ b/pkg/reconciler/eventtype/eventtype.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/eventtype/eventtype_test.go b/pkg/reconciler/eventtype/eventtype_test.go index f72ebfb16e4..2d0dad57bde 100644 --- a/pkg/reconciler/eventtype/eventtype_test.go +++ b/pkg/reconciler/eventtype/eventtype_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/config/config.go b/pkg/reconciler/inmemorychannel/controller/config/config.go index a617d9ffe06..7c82a79236a 100644 --- a/pkg/reconciler/inmemorychannel/controller/config/config.go +++ b/pkg/reconciler/inmemorychannel/controller/config/config.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/config/config_test.go b/pkg/reconciler/inmemorychannel/controller/config/config_test.go index d084923a8f0..da1423926dc 100644 --- a/pkg/reconciler/inmemorychannel/controller/config/config_test.go +++ b/pkg/reconciler/inmemorychannel/controller/config/config_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/controller.go b/pkg/reconciler/inmemorychannel/controller/controller.go index 2102b3728e7..b5405b0a9ed 100644 --- a/pkg/reconciler/inmemorychannel/controller/controller.go +++ b/pkg/reconciler/inmemorychannel/controller/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/controller_test.go b/pkg/reconciler/inmemorychannel/controller/controller_test.go index 4a6f1f3d2f0..869a25d19f4 100644 --- a/pkg/reconciler/inmemorychannel/controller/controller_test.go +++ b/pkg/reconciler/inmemorychannel/controller/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/inmemorychannel.go b/pkg/reconciler/inmemorychannel/controller/inmemorychannel.go index 73281a54e68..c170701a5b1 100644 --- a/pkg/reconciler/inmemorychannel/controller/inmemorychannel.go +++ b/pkg/reconciler/inmemorychannel/controller/inmemorychannel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/inmemorychannel_test.go b/pkg/reconciler/inmemorychannel/controller/inmemorychannel_test.go index 79e5fa0e012..62d9368abfe 100644 --- a/pkg/reconciler/inmemorychannel/controller/inmemorychannel_test.go +++ b/pkg/reconciler/inmemorychannel/controller/inmemorychannel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher.go b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher.go index 357e62e77c4..bed872ad6aa 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service.go b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service.go index e947a64a2c7..19ac0b60cee 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service_test.go b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service_test.go index 624eae3075f..91bcfc4184e 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service_test.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_service_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_test.go b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_test.go index 2a4e7e93260..a892af8e8b4 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_test.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/dispatcher_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/role_binding.go b/pkg/reconciler/inmemorychannel/controller/resources/role_binding.go index 4c835878174..fcf5592177d 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/role_binding.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/role_binding.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/role_binding_test.go b/pkg/reconciler/inmemorychannel/controller/resources/role_binding_test.go index 8fe480c9d84..d1424e3b78b 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/role_binding_test.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/role_binding_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/service.go b/pkg/reconciler/inmemorychannel/controller/resources/service.go index fdee5feb4cd..fc27155b300 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/service.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/service.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/service_account.go b/pkg/reconciler/inmemorychannel/controller/resources/service_account.go index d42d045d212..e36061e1982 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/service_account.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/service_account.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/service_account_test.go b/pkg/reconciler/inmemorychannel/controller/resources/service_account_test.go index 1ac09e29eba..efac36f6885 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/service_account_test.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/service_account_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/controller/resources/service_test.go b/pkg/reconciler/inmemorychannel/controller/resources/service_test.go index 50ef4e6a9bf..e6e6b26e4cb 100644 --- a/pkg/reconciler/inmemorychannel/controller/resources/service_test.go +++ b/pkg/reconciler/inmemorychannel/controller/resources/service_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/dispatcher/controller.go b/pkg/reconciler/inmemorychannel/dispatcher/controller.go index ffd57d84b45..fbe1cd4fde3 100644 --- a/pkg/reconciler/inmemorychannel/dispatcher/controller.go +++ b/pkg/reconciler/inmemorychannel/dispatcher/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/dispatcher/controller_test.go b/pkg/reconciler/inmemorychannel/dispatcher/controller_test.go index c6a3407eeb4..ed9994d934c 100644 --- a/pkg/reconciler/inmemorychannel/dispatcher/controller_test.go +++ b/pkg/reconciler/inmemorychannel/dispatcher/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel.go b/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel.go index a2717927399..e94ab710da3 100644 --- a/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel.go +++ b/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel_test.go b/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel_test.go index b50a27c351d..ea85a6fc9a6 100644 --- a/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel_test.go +++ b/pkg/reconciler/inmemorychannel/dispatcher/inmemorychannel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/dispatcher/readiness.go b/pkg/reconciler/inmemorychannel/dispatcher/readiness.go index c45ba5b6648..35e82bb9b8d 100644 --- a/pkg/reconciler/inmemorychannel/dispatcher/readiness.go +++ b/pkg/reconciler/inmemorychannel/dispatcher/readiness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/inmemorychannel/dispatcher/readiness_test.go b/pkg/reconciler/inmemorychannel/dispatcher/readiness_test.go index 9bc37da21b2..a778770bd27 100644 --- a/pkg/reconciler/inmemorychannel/dispatcher/readiness_test.go +++ b/pkg/reconciler/inmemorychannel/dispatcher/readiness_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/names/mtbroker.go b/pkg/reconciler/names/mtbroker.go index e4db3f9ec50..d639d884698 100644 --- a/pkg/reconciler/names/mtbroker.go +++ b/pkg/reconciler/names/mtbroker.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/controller.go b/pkg/reconciler/parallel/controller.go index 71121995dee..8a9f6d3ea56 100644 --- a/pkg/reconciler/parallel/controller.go +++ b/pkg/reconciler/parallel/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/controller_test.go b/pkg/reconciler/parallel/controller_test.go index acf3b8c5258..9b6b1e5c618 100644 --- a/pkg/reconciler/parallel/controller_test.go +++ b/pkg/reconciler/parallel/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/parallel.go b/pkg/reconciler/parallel/parallel.go index 1e6d674a6a2..eeefb989d03 100644 --- a/pkg/reconciler/parallel/parallel.go +++ b/pkg/reconciler/parallel/parallel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/parallel_test.go b/pkg/reconciler/parallel/parallel_test.go index 8a3dbee44b8..b97a077748b 100644 --- a/pkg/reconciler/parallel/parallel_test.go +++ b/pkg/reconciler/parallel/parallel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/resources/channel.go b/pkg/reconciler/parallel/resources/channel.go index c4e3f2b9f63..5fbfa5827e6 100644 --- a/pkg/reconciler/parallel/resources/channel.go +++ b/pkg/reconciler/parallel/resources/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/resources/subscription.go b/pkg/reconciler/parallel/resources/subscription.go index 4e83570eb43..e997f4e01ea 100644 --- a/pkg/reconciler/parallel/resources/subscription.go +++ b/pkg/reconciler/parallel/resources/subscription.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/parallel/resources/subscription_test.go b/pkg/reconciler/parallel/resources/subscription_test.go index 924c87a79cf..89b01341db0 100644 --- a/pkg/reconciler/parallel/resources/subscription_test.go +++ b/pkg/reconciler/parallel/resources/subscription_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/controller.go b/pkg/reconciler/pingsource/controller.go index be0d30f2a90..680f7aed6e8 100644 --- a/pkg/reconciler/pingsource/controller.go +++ b/pkg/reconciler/pingsource/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/controller_test.go b/pkg/reconciler/pingsource/controller_test.go index 2c9a373328d..f32011253f4 100644 --- a/pkg/reconciler/pingsource/controller_test.go +++ b/pkg/reconciler/pingsource/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/doc.go b/pkg/reconciler/pingsource/doc.go index b3d45c90b5d..c4888fbcf32 100644 --- a/pkg/reconciler/pingsource/doc.go +++ b/pkg/reconciler/pingsource/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/pingsource.go b/pkg/reconciler/pingsource/pingsource.go index cd88c938646..1d2bcfacacd 100644 --- a/pkg/reconciler/pingsource/pingsource.go +++ b/pkg/reconciler/pingsource/pingsource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/pingsource_test.go b/pkg/reconciler/pingsource/pingsource_test.go index 1b046ff2cf2..a82aab9475b 100644 --- a/pkg/reconciler/pingsource/pingsource_test.go +++ b/pkg/reconciler/pingsource/pingsource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/resources/labels.go b/pkg/reconciler/pingsource/resources/labels.go index 4156045f137..ac806c43bc7 100644 --- a/pkg/reconciler/pingsource/resources/labels.go +++ b/pkg/reconciler/pingsource/resources/labels.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/resources/labels_test.go b/pkg/reconciler/pingsource/resources/labels_test.go index 6ffc1c7dcc4..56546c7912a 100644 --- a/pkg/reconciler/pingsource/resources/labels_test.go +++ b/pkg/reconciler/pingsource/resources/labels_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/resources/receive_adapter.go b/pkg/reconciler/pingsource/resources/receive_adapter.go index 475c92ea4be..f1d4538c4be 100644 --- a/pkg/reconciler/pingsource/resources/receive_adapter.go +++ b/pkg/reconciler/pingsource/resources/receive_adapter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/pingsource/resources/receive_adapter_test.go b/pkg/reconciler/pingsource/resources/receive_adapter_test.go index ae32397035c..29004ecae06 100644 --- a/pkg/reconciler/pingsource/resources/receive_adapter_test.go +++ b/pkg/reconciler/pingsource/resources/receive_adapter_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/resources/service_account.go b/pkg/reconciler/resources/service_account.go index f756be2546f..f15438f351a 100644 --- a/pkg/reconciler/resources/service_account.go +++ b/pkg/reconciler/resources/service_account.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/resources/service_account_test.go b/pkg/reconciler/resources/service_account_test.go index 61d02e8da46..12484168292 100644 --- a/pkg/reconciler/resources/service_account_test.go +++ b/pkg/reconciler/resources/service_account_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sequence/controller.go b/pkg/reconciler/sequence/controller.go index a82611965dc..2fa359a4ddb 100644 --- a/pkg/reconciler/sequence/controller.go +++ b/pkg/reconciler/sequence/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sequence/controller_test.go b/pkg/reconciler/sequence/controller_test.go index 7c68ae21fcc..733cc0f3a2f 100644 --- a/pkg/reconciler/sequence/controller_test.go +++ b/pkg/reconciler/sequence/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sequence/resources/channel.go b/pkg/reconciler/sequence/resources/channel.go index 157326252ef..26474eac99e 100644 --- a/pkg/reconciler/sequence/resources/channel.go +++ b/pkg/reconciler/sequence/resources/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sequence/resources/subscription.go b/pkg/reconciler/sequence/resources/subscription.go index 4f9c365ceaa..0f9d5a15401 100644 --- a/pkg/reconciler/sequence/resources/subscription.go +++ b/pkg/reconciler/sequence/resources/subscription.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sequence/sequence.go b/pkg/reconciler/sequence/sequence.go index 089a2d2248a..2bedb0510ca 100644 --- a/pkg/reconciler/sequence/sequence.go +++ b/pkg/reconciler/sequence/sequence.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sequence/sequence_test.go b/pkg/reconciler/sequence/sequence_test.go index ae785d273cb..5232672e4cb 100644 --- a/pkg/reconciler/sequence/sequence_test.go +++ b/pkg/reconciler/sequence/sequence_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sinkbinding/controller.go b/pkg/reconciler/sinkbinding/controller.go index 1e6836089dc..95e652d791b 100644 --- a/pkg/reconciler/sinkbinding/controller.go +++ b/pkg/reconciler/sinkbinding/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/config_watcher.go b/pkg/reconciler/source/config_watcher.go index a89271072ad..ed33a0df13b 100644 --- a/pkg/reconciler/source/config_watcher.go +++ b/pkg/reconciler/source/config_watcher.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/config_watcher_test.go b/pkg/reconciler/source/config_watcher_test.go index 5ccc962dbda..7327673db3c 100644 --- a/pkg/reconciler/source/config_watcher_test.go +++ b/pkg/reconciler/source/config_watcher_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/crd/controller.go b/pkg/reconciler/source/crd/controller.go index 55ec7a8003a..498ec0d7b63 100644 --- a/pkg/reconciler/source/crd/controller.go +++ b/pkg/reconciler/source/crd/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/crd/controller_test.go b/pkg/reconciler/source/crd/controller_test.go index f98733201d2..ae09f80915c 100644 --- a/pkg/reconciler/source/crd/controller_test.go +++ b/pkg/reconciler/source/crd/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/crd/crd.go b/pkg/reconciler/source/crd/crd.go index a1d5e68ada6..64db8d7cda0 100644 --- a/pkg/reconciler/source/crd/crd.go +++ b/pkg/reconciler/source/crd/crd.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/crd/crd_test.go b/pkg/reconciler/source/crd/crd_test.go index baaeea457c4..431a151f324 100644 --- a/pkg/reconciler/source/crd/crd_test.go +++ b/pkg/reconciler/source/crd/crd_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/controller.go b/pkg/reconciler/source/duck/controller.go index 71260ba8e5a..621c5023c6a 100644 --- a/pkg/reconciler/source/duck/controller.go +++ b/pkg/reconciler/source/duck/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/controller_test.go b/pkg/reconciler/source/duck/controller_test.go index 9dddb47fe34..caa779fa14c 100644 --- a/pkg/reconciler/source/duck/controller_test.go +++ b/pkg/reconciler/source/duck/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/duck.go b/pkg/reconciler/source/duck/duck.go index f41b3774bd6..d91b80f9ee0 100644 --- a/pkg/reconciler/source/duck/duck.go +++ b/pkg/reconciler/source/duck/duck.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/duck_test.go b/pkg/reconciler/source/duck/duck_test.go index c68482ac480..e61263c61d4 100644 --- a/pkg/reconciler/source/duck/duck_test.go +++ b/pkg/reconciler/source/duck/duck_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/resources/eventtype.go b/pkg/reconciler/source/duck/resources/eventtype.go index 2d209311bca..989e1e6b52d 100644 --- a/pkg/reconciler/source/duck/resources/eventtype.go +++ b/pkg/reconciler/source/duck/resources/eventtype.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/resources/eventtype_test.go b/pkg/reconciler/source/duck/resources/eventtype_test.go index e06b93c7322..7e396c17fd1 100644 --- a/pkg/reconciler/source/duck/resources/eventtype_test.go +++ b/pkg/reconciler/source/duck/resources/eventtype_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/source/duck/resources/labels.go b/pkg/reconciler/source/duck/resources/labels.go index bb6366cbb12..43b3a75cb5f 100644 --- a/pkg/reconciler/source/duck/resources/labels.go +++ b/pkg/reconciler/source/duck/resources/labels.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/subscription/controller.go b/pkg/reconciler/subscription/controller.go index 6f5d96b3849..2ca936d189f 100644 --- a/pkg/reconciler/subscription/controller.go +++ b/pkg/reconciler/subscription/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/subscription/controller_test.go b/pkg/reconciler/subscription/controller_test.go index 19416e1ef32..b31cb0a126e 100644 --- a/pkg/reconciler/subscription/controller_test.go +++ b/pkg/reconciler/subscription/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/subscription/subscription.go b/pkg/reconciler/subscription/subscription.go index 4597a099a31..6382601c787 100644 --- a/pkg/reconciler/subscription/subscription.go +++ b/pkg/reconciler/subscription/subscription.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/subscription/subscription_test.go b/pkg/reconciler/subscription/subscription_test.go index b0e208ed936..ae53f7ef002 100644 --- a/pkg/reconciler/subscription/subscription_test.go +++ b/pkg/reconciler/subscription/subscription_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/namespace/controller.go b/pkg/reconciler/sugar/namespace/controller.go index b7d488444a1..93a1881450b 100644 --- a/pkg/reconciler/sugar/namespace/controller.go +++ b/pkg/reconciler/sugar/namespace/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/namespace/controller_test.go b/pkg/reconciler/sugar/namespace/controller_test.go index 406f331a2d0..d9b284ec271 100644 --- a/pkg/reconciler/sugar/namespace/controller_test.go +++ b/pkg/reconciler/sugar/namespace/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/namespace/doc.go b/pkg/reconciler/sugar/namespace/doc.go index 2c5fc5371cd..7afb79e85eb 100644 --- a/pkg/reconciler/sugar/namespace/doc.go +++ b/pkg/reconciler/sugar/namespace/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/namespace/namespace.go b/pkg/reconciler/sugar/namespace/namespace.go index 62032109e6d..e514987d4c2 100644 --- a/pkg/reconciler/sugar/namespace/namespace.go +++ b/pkg/reconciler/sugar/namespace/namespace.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/namespace/namespace_test.go b/pkg/reconciler/sugar/namespace/namespace_test.go index 00519766672..322751795aa 100644 --- a/pkg/reconciler/sugar/namespace/namespace_test.go +++ b/pkg/reconciler/sugar/namespace/namespace_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/resources/broker.go b/pkg/reconciler/sugar/resources/broker.go index 4143f910b3d..1e0ce8431bd 100644 --- a/pkg/reconciler/sugar/resources/broker.go +++ b/pkg/reconciler/sugar/resources/broker.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/resources/broker_test.go b/pkg/reconciler/sugar/resources/broker_test.go index 59d7ab84d99..d1d0e4a53da 100644 --- a/pkg/reconciler/sugar/resources/broker_test.go +++ b/pkg/reconciler/sugar/resources/broker_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/resources/labels.go b/pkg/reconciler/sugar/resources/labels.go index 49224165a09..c9263a153dc 100644 --- a/pkg/reconciler/sugar/resources/labels.go +++ b/pkg/reconciler/sugar/resources/labels.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/resources/labels_test.go b/pkg/reconciler/sugar/resources/labels_test.go index 66fa50569b0..ba435b223aa 100644 --- a/pkg/reconciler/sugar/resources/labels_test.go +++ b/pkg/reconciler/sugar/resources/labels_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/trigger/controller.go b/pkg/reconciler/sugar/trigger/controller.go index a798b585199..13b1d127148 100644 --- a/pkg/reconciler/sugar/trigger/controller.go +++ b/pkg/reconciler/sugar/trigger/controller.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/trigger/controller_test.go b/pkg/reconciler/sugar/trigger/controller_test.go index b2c9a9c27dd..a704d95f4a8 100644 --- a/pkg/reconciler/sugar/trigger/controller_test.go +++ b/pkg/reconciler/sugar/trigger/controller_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/trigger/path/path.go b/pkg/reconciler/sugar/trigger/path/path.go index 0e4106f2541..5a0be044dbf 100644 --- a/pkg/reconciler/sugar/trigger/path/path.go +++ b/pkg/reconciler/sugar/trigger/path/path.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/trigger/trigger.go b/pkg/reconciler/sugar/trigger/trigger.go index 230ee79e70b..3ea7d281fa0 100644 --- a/pkg/reconciler/sugar/trigger/trigger.go +++ b/pkg/reconciler/sugar/trigger/trigger.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/sugar/trigger/trigger_test.go b/pkg/reconciler/sugar/trigger/trigger_test.go index d377e450ad1..9fb439a5d54 100644 --- a/pkg/reconciler/sugar/trigger/trigger_test.go +++ b/pkg/reconciler/sugar/trigger/trigger_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/builder.go b/pkg/reconciler/testing/builder.go index a4c4823edee..2895d16d7f6 100644 --- a/pkg/reconciler/testing/builder.go +++ b/pkg/reconciler/testing/builder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/configmap.go b/pkg/reconciler/testing/configmap.go index 3bd694ca3d9..ef5e9f036a5 100644 --- a/pkg/reconciler/testing/configmap.go +++ b/pkg/reconciler/testing/configmap.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/customresourcedefinition.go b/pkg/reconciler/testing/customresourcedefinition.go index b5423de39b2..a375b1f555b 100644 --- a/pkg/reconciler/testing/customresourcedefinition.go +++ b/pkg/reconciler/testing/customresourcedefinition.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/deployment.go b/pkg/reconciler/testing/deployment.go index 66978e45cf5..78cf6534a5d 100644 --- a/pkg/reconciler/testing/deployment.go +++ b/pkg/reconciler/testing/deployment.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/endpoints.go b/pkg/reconciler/testing/endpoints.go index c593a3617a3..9acaf8a640c 100644 --- a/pkg/reconciler/testing/endpoints.go +++ b/pkg/reconciler/testing/endpoints.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/factory.go b/pkg/reconciler/testing/factory.go index 59f1c808a89..26a19b9d373 100644 --- a/pkg/reconciler/testing/factory.go +++ b/pkg/reconciler/testing/factory.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/listers.go b/pkg/reconciler/testing/listers.go index adbc473708b..48e7863bd0d 100644 --- a/pkg/reconciler/testing/listers.go +++ b/pkg/reconciler/testing/listers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/mock_dynamic_client.go b/pkg/reconciler/testing/mock_dynamic_client.go index 6434f04526f..cb1bdc139f8 100644 --- a/pkg/reconciler/testing/mock_dynamic_client.go +++ b/pkg/reconciler/testing/mock_dynamic_client.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/mock_event_recorder.go b/pkg/reconciler/testing/mock_event_recorder.go index 793d8f56fe5..6040843b14c 100644 --- a/pkg/reconciler/testing/mock_event_recorder.go +++ b/pkg/reconciler/testing/mock_event_recorder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/namespace.go b/pkg/reconciler/testing/namespace.go index d15036a5d95..8ec0c1ed25d 100644 --- a/pkg/reconciler/testing/namespace.go +++ b/pkg/reconciler/testing/namespace.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/scheme/scheme.go b/pkg/reconciler/testing/scheme/scheme.go index 9cc68715a39..682e894fa3c 100644 --- a/pkg/reconciler/testing/scheme/scheme.go +++ b/pkg/reconciler/testing/scheme/scheme.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/service.go b/pkg/reconciler/testing/service.go index b6e5dc77fd6..e7116542ebf 100644 --- a/pkg/reconciler/testing/service.go +++ b/pkg/reconciler/testing/service.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/unstructured.go b/pkg/reconciler/testing/unstructured.go index a51e646ee47..172b8c32df7 100644 --- a/pkg/reconciler/testing/unstructured.go +++ b/pkg/reconciler/testing/unstructured.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/apiserversouce.go b/pkg/reconciler/testing/v1/apiserversouce.go index cdbe78c8b81..ba28f0fd5af 100644 --- a/pkg/reconciler/testing/v1/apiserversouce.go +++ b/pkg/reconciler/testing/v1/apiserversouce.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/broker.go b/pkg/reconciler/testing/v1/broker.go index 96b4f9d9f43..e4bfa7141e4 100644 --- a/pkg/reconciler/testing/v1/broker.go +++ b/pkg/reconciler/testing/v1/broker.go @@ -3,7 +3,7 @@ Copyright 2020 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 + 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. diff --git a/pkg/reconciler/testing/v1/channel.go b/pkg/reconciler/testing/v1/channel.go index 2c2d87d4896..a83990a0820 100644 --- a/pkg/reconciler/testing/v1/channel.go +++ b/pkg/reconciler/testing/v1/channel.go @@ -3,7 +3,7 @@ Copyright 2020 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 + 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. diff --git a/pkg/reconciler/testing/v1/configmap.go b/pkg/reconciler/testing/v1/configmap.go index 3bd694ca3d9..ef5e9f036a5 100644 --- a/pkg/reconciler/testing/v1/configmap.go +++ b/pkg/reconciler/testing/v1/configmap.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/containersource.go b/pkg/reconciler/testing/v1/containersource.go index 99729da1701..d6c94abc666 100644 --- a/pkg/reconciler/testing/v1/containersource.go +++ b/pkg/reconciler/testing/v1/containersource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/deployment.go b/pkg/reconciler/testing/v1/deployment.go index 8a7e6b46307..da128515725 100644 --- a/pkg/reconciler/testing/v1/deployment.go +++ b/pkg/reconciler/testing/v1/deployment.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/endpoints.go b/pkg/reconciler/testing/v1/endpoints.go index c593a3617a3..9acaf8a640c 100644 --- a/pkg/reconciler/testing/v1/endpoints.go +++ b/pkg/reconciler/testing/v1/endpoints.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/factory.go b/pkg/reconciler/testing/v1/factory.go index ded0d6684b0..7d45c79ab7a 100644 --- a/pkg/reconciler/testing/v1/factory.go +++ b/pkg/reconciler/testing/v1/factory.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/inmemorychannel.go b/pkg/reconciler/testing/v1/inmemorychannel.go index 4405cfaf533..2647729bb15 100644 --- a/pkg/reconciler/testing/v1/inmemorychannel.go +++ b/pkg/reconciler/testing/v1/inmemorychannel.go @@ -3,7 +3,7 @@ Copyright 2020 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 + 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. diff --git a/pkg/reconciler/testing/v1/listers.go b/pkg/reconciler/testing/v1/listers.go index ecc91831ec9..aecff2763d7 100644 --- a/pkg/reconciler/testing/v1/listers.go +++ b/pkg/reconciler/testing/v1/listers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/namespace.go b/pkg/reconciler/testing/v1/namespace.go index 7394524e2d9..50008b527d2 100644 --- a/pkg/reconciler/testing/v1/namespace.go +++ b/pkg/reconciler/testing/v1/namespace.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/parallel.go b/pkg/reconciler/testing/v1/parallel.go index a9d50c0743c..f77f417079d 100644 --- a/pkg/reconciler/testing/v1/parallel.go +++ b/pkg/reconciler/testing/v1/parallel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/pingsource.go b/pkg/reconciler/testing/v1/pingsource.go index e930ed46027..7598231a375 100644 --- a/pkg/reconciler/testing/v1/pingsource.go +++ b/pkg/reconciler/testing/v1/pingsource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/reactor.go b/pkg/reconciler/testing/v1/reactor.go index 0bc26206dea..bb6b7fae7a1 100644 --- a/pkg/reconciler/testing/v1/reactor.go +++ b/pkg/reconciler/testing/v1/reactor.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/sequence.go b/pkg/reconciler/testing/v1/sequence.go index 924ab695603..ff8774eb1bc 100644 --- a/pkg/reconciler/testing/v1/sequence.go +++ b/pkg/reconciler/testing/v1/sequence.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/service.go b/pkg/reconciler/testing/v1/service.go index 1eb8817d1dc..4f3cf67168e 100644 --- a/pkg/reconciler/testing/v1/service.go +++ b/pkg/reconciler/testing/v1/service.go @@ -3,7 +3,7 @@ Copyright 2020 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 + 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. diff --git a/pkg/reconciler/testing/v1/sinkbinding.go b/pkg/reconciler/testing/v1/sinkbinding.go index 301f9bf1246..c86a4085c6c 100644 --- a/pkg/reconciler/testing/v1/sinkbinding.go +++ b/pkg/reconciler/testing/v1/sinkbinding.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/subscription.go b/pkg/reconciler/testing/v1/subscription.go index 3ec22841518..ef63f9f5c68 100644 --- a/pkg/reconciler/testing/v1/subscription.go +++ b/pkg/reconciler/testing/v1/subscription.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/trigger.go b/pkg/reconciler/testing/v1/trigger.go index 23f92199be5..83d9223f7f4 100644 --- a/pkg/reconciler/testing/v1/trigger.go +++ b/pkg/reconciler/testing/v1/trigger.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1/unstructured.go b/pkg/reconciler/testing/v1/unstructured.go index 3e75407d9c6..5b6f2959deb 100644 --- a/pkg/reconciler/testing/v1/unstructured.go +++ b/pkg/reconciler/testing/v1/unstructured.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1beta1/factory.go b/pkg/reconciler/testing/v1beta1/factory.go index af26a765cb4..c96278ea8c0 100644 --- a/pkg/reconciler/testing/v1beta1/factory.go +++ b/pkg/reconciler/testing/v1beta1/factory.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1beta1/listers.go b/pkg/reconciler/testing/v1beta1/listers.go index 57600d3ca1d..3f3fb63a474 100644 --- a/pkg/reconciler/testing/v1beta1/listers.go +++ b/pkg/reconciler/testing/v1beta1/listers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/reconciler/testing/v1beta2/pingsource.go b/pkg/reconciler/testing/v1beta2/pingsource.go index 4a743796a22..c23192795db 100644 --- a/pkg/reconciler/testing/v1beta2/pingsource.go +++ b/pkg/reconciler/testing/v1beta2/pingsource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/resolver/addressable_resolver.go b/pkg/resolver/addressable_resolver.go index b6524c4c3ee..9010bb952c7 100644 --- a/pkg/resolver/addressable_resolver.go +++ b/pkg/resolver/addressable_resolver.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/resolver/addressable_resolver_test.go b/pkg/resolver/addressable_resolver_test.go index b6460ce9712..fe8828b2779 100644 --- a/pkg/resolver/addressable_resolver_test.go +++ b/pkg/resolver/addressable_resolver_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/resolver/kresource_resolver.go b/pkg/resolver/kresource_resolver.go index e8a24cab945..fed3b6a0f01 100644 --- a/pkg/resolver/kresource_resolver.go +++ b/pkg/resolver/kresource_resolver.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/pkg/resolver/mapping_resolver.go b/pkg/resolver/mapping_resolver.go index 30e91099532..a60c83e83ce 100644 --- a/pkg/resolver/mapping_resolver.go +++ b/pkg/resolver/mapping_resolver.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/resolver/mapping_resolver_test.go b/pkg/resolver/mapping_resolver_test.go index a81667936ea..0c63a3790e8 100644 --- a/pkg/resolver/mapping_resolver_test.go +++ b/pkg/resolver/mapping_resolver_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/doc.go b/pkg/scheduler/doc.go index 57ebf7e894d..b66262a4be9 100644 --- a/pkg/scheduler/doc.go +++ b/pkg/scheduler/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/factory/registry.go b/pkg/scheduler/factory/registry.go index 518a910567d..dbc814055c6 100644 --- a/pkg/scheduler/factory/registry.go +++ b/pkg/scheduler/factory/registry.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/placement.go b/pkg/scheduler/placement.go index e0aaab0da23..36250323541 100644 --- a/pkg/scheduler/placement.go +++ b/pkg/scheduler/placement.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/placement_test.go b/pkg/scheduler/placement_test.go index 2caeed2c2f4..66314dfccf2 100644 --- a/pkg/scheduler/placement_test.go +++ b/pkg/scheduler/placement_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority.go b/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority.go index 2b9a9d1fb4d..e0e60c8832f 100644 --- a/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority.go +++ b/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority_test.go b/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority_test.go index 56275559d15..fb822b7947a 100644 --- a/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority_test.go +++ b/pkg/scheduler/plugins/core/availabilitynodepriority/availability_node_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority.go b/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority.go index 326f25abecd..397ff075fbc 100644 --- a/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority.go +++ b/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority_test.go b/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority_test.go index 1e675219b50..de58f055f78 100644 --- a/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority_test.go +++ b/pkg/scheduler/plugins/core/availabilityzonepriority/availability_zone_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread.go b/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread.go index edba306372d..070e47a9957 100644 --- a/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread.go +++ b/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread_test.go b/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread_test.go index 4b553d9f113..da9f09eb082 100644 --- a/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread_test.go +++ b/pkg/scheduler/plugins/core/evenpodspread/even_pod_spread_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority.go b/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority.go index 3068d55263a..a7d84ca390b 100644 --- a/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority.go +++ b/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority_test.go b/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority_test.go index 2cbfef76014..4ce956ebd49 100644 --- a/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority_test.go +++ b/pkg/scheduler/plugins/core/lowestordinalpriority/lowest_ordinal_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources.go b/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources.go index e5fc2e61924..a4a751e8479 100644 --- a/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources.go +++ b/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources_test.go b/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources_test.go index 251a6fd87d4..c8973be01f1 100644 --- a/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources_test.go +++ b/pkg/scheduler/plugins/core/podfitsresources/pod_fits_resources_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority.go b/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority.go index 10f4e778cff..62959ee79b1 100644 --- a/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority.go +++ b/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority_test.go b/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority_test.go index 919a5763a0b..2528a131a1a 100644 --- a/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority_test.go +++ b/pkg/scheduler/plugins/core/removewithavailabilitynodepriority/remove_with_availability_node_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority.go b/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority.go index 9ac6d2774a0..f2e3eb23f0c 100644 --- a/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority.go +++ b/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority_test.go b/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority_test.go index 66fba6d57e6..f72504e9146 100644 --- a/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority_test.go +++ b/pkg/scheduler/plugins/core/removewithavailabilityzonepriority/remove_with_availability_zone_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority.go b/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority.go index 8c7692d6636..e7b008e0b0a 100644 --- a/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority.go +++ b/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority_test.go b/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority_test.go index 76ac9e9349b..fb2234fe05c 100644 --- a/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority_test.go +++ b/pkg/scheduler/plugins/core/removewithevenpodspreadpriority/remove_with_even_pod_spread_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority.go b/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority.go index 9a390977f2a..324454f5e8d 100644 --- a/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority.go +++ b/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority_test.go b/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority_test.go index 15d21e410dc..37060437254 100644 --- a/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority_test.go +++ b/pkg/scheduler/plugins/core/removewithhighestordinalpriority/remove_with_highest_ordinal_priority_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count.go b/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count.go index 301d29293e5..49975eefb89 100644 --- a/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count.go +++ b/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count_test.go b/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count_test.go index a41c0ca97b7..e3417934775 100644 --- a/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count_test.go +++ b/pkg/scheduler/plugins/kafka/nomaxresourcecount/no_max_resource_count_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/scheduler.go b/pkg/scheduler/scheduler.go index bc2f043db18..88e470d8b42 100644 --- a/pkg/scheduler/scheduler.go +++ b/pkg/scheduler/scheduler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/scheduler_test.go b/pkg/scheduler/scheduler_test.go index 597e312f8b4..d8d6c62e1e1 100644 --- a/pkg/scheduler/scheduler_test.go +++ b/pkg/scheduler/scheduler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/state/helpers.go b/pkg/scheduler/state/helpers.go index 3f8670e7e73..5ec66b2156b 100644 --- a/pkg/scheduler/state/helpers.go +++ b/pkg/scheduler/state/helpers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/state/interface.go b/pkg/scheduler/state/interface.go index 664fb3e4f05..44c7a2d4d4c 100644 --- a/pkg/scheduler/state/interface.go +++ b/pkg/scheduler/state/interface.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/state/interface_test.go b/pkg/scheduler/state/interface_test.go index 550377d62a2..44c5695fa37 100644 --- a/pkg/scheduler/state/interface_test.go +++ b/pkg/scheduler/state/interface_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/state/state.go b/pkg/scheduler/state/state.go index 04794805a39..aa84ca996f9 100644 --- a/pkg/scheduler/state/state.go +++ b/pkg/scheduler/state/state.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/state/state_test.go b/pkg/scheduler/state/state_test.go index dacc4aa2ceb..027186bebf5 100644 --- a/pkg/scheduler/state/state_test.go +++ b/pkg/scheduler/state/state_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/statefulset/autoscaler.go b/pkg/scheduler/statefulset/autoscaler.go index fe15aff3a51..296feb16f2a 100644 --- a/pkg/scheduler/statefulset/autoscaler.go +++ b/pkg/scheduler/statefulset/autoscaler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/statefulset/autoscaler_test.go b/pkg/scheduler/statefulset/autoscaler_test.go index 37c055635f1..2d216daafa6 100644 --- a/pkg/scheduler/statefulset/autoscaler_test.go +++ b/pkg/scheduler/statefulset/autoscaler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/statefulset/scheduler.go b/pkg/scheduler/statefulset/scheduler.go index 62235e474c1..931aca1550d 100644 --- a/pkg/scheduler/statefulset/scheduler.go +++ b/pkg/scheduler/statefulset/scheduler.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/statefulset/scheduler_test.go b/pkg/scheduler/statefulset/scheduler_test.go index a1a0537d5dc..9b250b969e6 100644 --- a/pkg/scheduler/statefulset/scheduler_test.go +++ b/pkg/scheduler/statefulset/scheduler_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/testing/client.go b/pkg/scheduler/testing/client.go index 2d02d243e97..8ecc9398154 100644 --- a/pkg/scheduler/testing/client.go +++ b/pkg/scheduler/testing/client.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/testing/store.go b/pkg/scheduler/testing/store.go index f6e5dbdbb5f..39dea649475 100644 --- a/pkg/scheduler/testing/store.go +++ b/pkg/scheduler/testing/store.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/scheduler/testing/vpod.go b/pkg/scheduler/testing/vpod.go index 909f47cbd93..f3347173b65 100644 --- a/pkg/scheduler/testing/vpod.go +++ b/pkg/scheduler/testing/vpod.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/tracing/attributes.go b/pkg/tracing/attributes.go index eb24094399b..05109871678 100644 --- a/pkg/tracing/attributes.go +++ b/pkg/tracing/attributes.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/tracing/attributes_test.go b/pkg/tracing/attributes_test.go index 491b60d0e44..2791f21e208 100644 --- a/pkg/tracing/attributes_test.go +++ b/pkg/tracing/attributes_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/tracing/names.go b/pkg/tracing/names.go index 4cb52165a70..6c576c895c6 100644 --- a/pkg/tracing/names.go +++ b/pkg/tracing/names.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/tracing/names_test.go b/pkg/tracing/names_test.go index ad24a8c4747..cab9f25e3c1 100644 --- a/pkg/tracing/names_test.go +++ b/pkg/tracing/names_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/tracing/populate_span_transformer.go b/pkg/tracing/populate_span_transformer.go index d00790956fe..563b9089854 100644 --- a/pkg/tracing/populate_span_transformer.go +++ b/pkg/tracing/populate_span_transformer.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/tracing/populate_span_transformer_test.go b/pkg/tracing/populate_span_transformer_test.go index 4af52861e21..f674f87eb3d 100644 --- a/pkg/tracing/populate_span_transformer_test.go +++ b/pkg/tracing/populate_span_transformer_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/utils/headers.go b/pkg/utils/headers.go index a565926bdcb..8b9ae3ea446 100644 --- a/pkg/utils/headers.go +++ b/pkg/utils/headers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/utils/headers_test.go b/pkg/utils/headers_test.go index 8fab200705a..67536c9e5af 100644 --- a/pkg/utils/headers_test.go +++ b/pkg/utils/headers_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/utils/secret.go b/pkg/utils/secret.go index f3cadedf5fa..0445ea487ef 100644 --- a/pkg/utils/secret.go +++ b/pkg/utils/secret.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/utils/secret_test.go b/pkg/utils/secret_test.go index c60b26ed1c5..7cb89689fe5 100644 --- a/pkg/utils/secret_test.go +++ b/pkg/utils/secret_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 94e10b2ee46..b1a73c278c9 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/pkg/utils/utils_test.go b/pkg/utils/utils_test.go index 920f4b06bb5..ecbeb8c3f82 100644 --- a/pkg/utils/utils_test.go +++ b/pkg/utils/utils_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/broker_control_plane_test.go b/test/conformance/broker_control_plane_test.go index 79c971e445f..5ad7457de8c 100644 --- a/test/conformance/broker_control_plane_test.go +++ b/test/conformance/broker_control_plane_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/broker_data_plane_test.go b/test/conformance/broker_data_plane_test.go index 948ff4fc13a..d4d43350f5c 100644 --- a/test/conformance/broker_data_plane_test.go +++ b/test/conformance/broker_data_plane_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/broker_tracing_test.go b/test/conformance/broker_tracing_test.go index 4195e6dc958..f2a490f6f95 100644 --- a/test/conformance/broker_tracing_test.go +++ b/test/conformance/broker_tracing_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_addressable_resolver_cluster_role_test.go b/test/conformance/channel_addressable_resolver_cluster_role_test.go index fe0a022e4fd..7e74ab8139d 100644 --- a/test/conformance/channel_addressable_resolver_cluster_role_test.go +++ b/test/conformance/channel_addressable_resolver_cluster_role_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_channelable_manipulator_cluster_role_test.go b/test/conformance/channel_channelable_manipulator_cluster_role_test.go index 31ca351984c..3d5c74264ad 100644 --- a/test/conformance/channel_channelable_manipulator_cluster_role_test.go +++ b/test/conformance/channel_channelable_manipulator_cluster_role_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_crd_metadata_test.go b/test/conformance/channel_crd_metadata_test.go index 283eeecafea..236f8d98f54 100644 --- a/test/conformance/channel_crd_metadata_test.go +++ b/test/conformance/channel_crd_metadata_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_crd_name_test.go b/test/conformance/channel_crd_name_test.go index 4726d9ecb14..9a16f022e39 100644 --- a/test/conformance/channel_crd_name_test.go +++ b/test/conformance/channel_crd_name_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_data_plane_test.go b/test/conformance/channel_data_plane_test.go index 50df45c2960..c974f57d7a2 100644 --- a/test/conformance/channel_data_plane_test.go +++ b/test/conformance/channel_data_plane_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_spec_test.go b/test/conformance/channel_spec_test.go index 4fcc3017c8e..3f370a19987 100644 --- a/test/conformance/channel_spec_test.go +++ b/test/conformance/channel_spec_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_status_subscriber_test.go b/test/conformance/channel_status_subscriber_test.go index 362e9253faf..83de902b173 100644 --- a/test/conformance/channel_status_subscriber_test.go +++ b/test/conformance/channel_status_subscriber_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_status_test.go b/test/conformance/channel_status_test.go index cfd479cf708..6cd7e2a736f 100644 --- a/test/conformance/channel_status_test.go +++ b/test/conformance/channel_status_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/channel_tracing_test.go b/test/conformance/channel_tracing_test.go index 503ffba78b0..bbe06cf4cf3 100644 --- a/test/conformance/channel_tracing_test.go +++ b/test/conformance/channel_tracing_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/header_test.go b/test/conformance/header_test.go index 92bf3f0010e..e2aaaa9f2cb 100644 --- a/test/conformance/header_test.go +++ b/test/conformance/header_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/helpers/broker_control_plane_test_helper.go b/test/conformance/helpers/broker_control_plane_test_helper.go index b248219b802..cef77eb946d 100644 --- a/test/conformance/helpers/broker_control_plane_test_helper.go +++ b/test/conformance/helpers/broker_control_plane_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/broker_data_plane_test_helper.go b/test/conformance/helpers/broker_data_plane_test_helper.go index 1d851d31d0b..a8dec456aa6 100644 --- a/test/conformance/helpers/broker_data_plane_test_helper.go +++ b/test/conformance/helpers/broker_data_plane_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/broker_tracing_test_helper.go b/test/conformance/helpers/broker_tracing_test_helper.go index 24a3d3fb451..ddaca8e48fc 100644 --- a/test/conformance/helpers/broker_tracing_test_helper.go +++ b/test/conformance/helpers/broker_tracing_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel.go b/test/conformance/helpers/channel.go index 8979152b9f7..af0cc3cfd71 100644 --- a/test/conformance/helpers/channel.go +++ b/test/conformance/helpers/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_addressable_resolver_cluster_role_test_helper.go b/test/conformance/helpers/channel_addressable_resolver_cluster_role_test_helper.go index 7aa6732ae7c..d36c7a4a594 100644 --- a/test/conformance/helpers/channel_addressable_resolver_cluster_role_test_helper.go +++ b/test/conformance/helpers/channel_addressable_resolver_cluster_role_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_channelable_manipulator_cluster_role_test_helper.go b/test/conformance/helpers/channel_channelable_manipulator_cluster_role_test_helper.go index 50754531859..dbb85f621f9 100644 --- a/test/conformance/helpers/channel_channelable_manipulator_cluster_role_test_helper.go +++ b/test/conformance/helpers/channel_channelable_manipulator_cluster_role_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_crd_metadata_test_helper.go b/test/conformance/helpers/channel_crd_metadata_test_helper.go index d467bfcaa7e..e8e64446f66 100644 --- a/test/conformance/helpers/channel_crd_metadata_test_helper.go +++ b/test/conformance/helpers/channel_crd_metadata_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_crd_name_test_helper.go b/test/conformance/helpers/channel_crd_name_test_helper.go index a3354146787..4be2a4072b6 100644 --- a/test/conformance/helpers/channel_crd_name_test_helper.go +++ b/test/conformance/helpers/channel_crd_name_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_data_plane_helper.go b/test/conformance/helpers/channel_data_plane_helper.go index f24faba7b32..797439584ea 100644 --- a/test/conformance/helpers/channel_data_plane_helper.go +++ b/test/conformance/helpers/channel_data_plane_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_header_single_event_helper.go b/test/conformance/helpers/channel_header_single_event_helper.go index c6e0faf2dde..8152713d439 100644 --- a/test/conformance/helpers/channel_header_single_event_helper.go +++ b/test/conformance/helpers/channel_header_single_event_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_spec_test_helper.go b/test/conformance/helpers/channel_spec_test_helper.go index aef7b9a6c5e..2eef2d03b40 100644 --- a/test/conformance/helpers/channel_spec_test_helper.go +++ b/test/conformance/helpers/channel_spec_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_status_subscriber_test_helper.go b/test/conformance/helpers/channel_status_subscriber_test_helper.go index 509ae64845f..cdad1ef1754 100644 --- a/test/conformance/helpers/channel_status_subscriber_test_helper.go +++ b/test/conformance/helpers/channel_status_subscriber_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_status_test_helper.go b/test/conformance/helpers/channel_status_test_helper.go index 86686b38e9c..6de5c928fe3 100644 --- a/test/conformance/helpers/channel_status_test_helper.go +++ b/test/conformance/helpers/channel_status_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/channel_tracing_test_helper.go b/test/conformance/helpers/channel_tracing_test_helper.go index fb63660e42f..113738defc7 100644 --- a/test/conformance/helpers/channel_tracing_test_helper.go +++ b/test/conformance/helpers/channel_tracing_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/metadata.go b/test/conformance/helpers/metadata.go index 533a5c69b69..19b57c5fbdc 100644 --- a/test/conformance/helpers/metadata.go +++ b/test/conformance/helpers/metadata.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/rbac.go b/test/conformance/helpers/rbac.go index 8fbc2ece238..04345e3a452 100644 --- a/test/conformance/helpers/rbac.go +++ b/test/conformance/helpers/rbac.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/sources/source_crd_metadata_test_helper.go b/test/conformance/helpers/sources/source_crd_metadata_test_helper.go index 8105a78b5dd..5d08b3ed2b5 100644 --- a/test/conformance/helpers/sources/source_crd_metadata_test_helper.go +++ b/test/conformance/helpers/sources/source_crd_metadata_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/sources/source_crd_rbac_test_helper.go b/test/conformance/helpers/sources/source_crd_rbac_test_helper.go index 69fe6ef46a8..1cf00f87059 100644 --- a/test/conformance/helpers/sources/source_crd_rbac_test_helper.go +++ b/test/conformance/helpers/sources/source_crd_rbac_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/sources/source_crd_registry_test_helper.go b/test/conformance/helpers/sources/source_crd_registry_test_helper.go index e38563c6a65..ff65ed2da60 100644 --- a/test/conformance/helpers/sources/source_crd_registry_test_helper.go +++ b/test/conformance/helpers/sources/source_crd_registry_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/sources/source_status_test_helper.go b/test/conformance/helpers/sources/source_status_test_helper.go index 2bdebb28be1..bcc323d6930 100644 --- a/test/conformance/helpers/sources/source_status_test_helper.go +++ b/test/conformance/helpers/sources/source_status_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/tracing/traces.go b/test/conformance/helpers/tracing/traces.go index 26d1cd898f1..c3f989ce445 100644 --- a/test/conformance/helpers/tracing/traces.go +++ b/test/conformance/helpers/tracing/traces.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/tracing/traces_test.go b/test/conformance/helpers/tracing/traces_test.go index 5a144221166..509a5d84cf6 100644 --- a/test/conformance/helpers/tracing/traces_test.go +++ b/test/conformance/helpers/tracing/traces_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/tracing_test_helper.go b/test/conformance/helpers/tracing_test_helper.go index dd12667e840..5381293a39e 100644 --- a/test/conformance/helpers/tracing_test_helper.go +++ b/test/conformance/helpers/tracing_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/helpers/uri.go b/test/conformance/helpers/uri.go index 4618f50335f..882574c7c67 100644 --- a/test/conformance/helpers/uri.go +++ b/test/conformance/helpers/uri.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/conformance/main_test.go b/test/conformance/main_test.go index 8343932fc57..ccc1c8a130c 100644 --- a/test/conformance/main_test.go +++ b/test/conformance/main_test.go @@ -7,7 +7,7 @@ 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 + 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, diff --git a/test/conformance/source_crd_metadata_test.go b/test/conformance/source_crd_metadata_test.go index a823b969b37..2a8282fb591 100644 --- a/test/conformance/source_crd_metadata_test.go +++ b/test/conformance/source_crd_metadata_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/source_crd_rbac_test.go b/test/conformance/source_crd_rbac_test.go index 9009301291a..746d01c6694 100644 --- a/test/conformance/source_crd_rbac_test.go +++ b/test/conformance/source_crd_rbac_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/source_crd_registry_test.go b/test/conformance/source_crd_registry_test.go index 03406d3b464..1ec70836b4d 100644 --- a/test/conformance/source_crd_registry_test.go +++ b/test/conformance/source_crd_registry_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/conformance/source_status_test.go b/test/conformance/source_status_test.go index e92bd358f06..4f40de8f4f9 100644 --- a/test/conformance/source_status_test.go +++ b/test/conformance/source_status_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/e2e/broker_channel_flow_test.go b/test/e2e/broker_channel_flow_test.go index e24dd39f1ab..8073dc9847a 100644 --- a/test/e2e/broker_channel_flow_test.go +++ b/test/e2e/broker_channel_flow_test.go @@ -7,7 +7,7 @@ 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 + 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, diff --git a/test/e2e/broker_defaults_webhook_test.go b/test/e2e/broker_defaults_webhook_test.go index d03154cea7b..9b75a854442 100644 --- a/test/e2e/broker_defaults_webhook_test.go +++ b/test/e2e/broker_defaults_webhook_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/e2e/broker_event_transformation_test.go b/test/e2e/broker_event_transformation_test.go index 23b715722c2..6308de29e39 100644 --- a/test/e2e/broker_event_transformation_test.go +++ b/test/e2e/broker_event_transformation_test.go @@ -7,7 +7,7 @@ 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 + 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, diff --git a/test/e2e/broker_redelivery_test.go b/test/e2e/broker_redelivery_test.go index b72972c3f8f..a1e173a26d0 100644 --- a/test/e2e/broker_redelivery_test.go +++ b/test/e2e/broker_redelivery_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/e2e/channel_defaulter_test.go b/test/e2e/channel_defaulter_test.go index 97f63d18370..20b454143a1 100644 --- a/test/e2e/channel_defaulter_test.go +++ b/test/e2e/channel_defaulter_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/e2e/channel_defaults_webhook_test.go b/test/e2e/channel_defaults_webhook_test.go index c94cfd96877..806a4ee866c 100644 --- a/test/e2e/channel_defaults_webhook_test.go +++ b/test/e2e/channel_defaults_webhook_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/e2e/helpers/broker_channel_flow_helper.go b/test/e2e/helpers/broker_channel_flow_helper.go index 088d51bd08a..366ad49899d 100644 --- a/test/e2e/helpers/broker_channel_flow_helper.go +++ b/test/e2e/helpers/broker_channel_flow_helper.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/test/e2e/helpers/broker_event_transformation_test_helper.go b/test/e2e/helpers/broker_event_transformation_test_helper.go index bbfae53b37a..c0b7d46a7c7 100644 --- a/test/e2e/helpers/broker_event_transformation_test_helper.go +++ b/test/e2e/helpers/broker_event_transformation_test_helper.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/test/e2e/helpers/broker_redelivery_helper.go b/test/e2e/helpers/broker_redelivery_helper.go index 322ed16b4a1..25e985a1d69 100644 --- a/test/e2e/helpers/broker_redelivery_helper.go +++ b/test/e2e/helpers/broker_redelivery_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/e2e/helpers/channel_defaulter_test_helper.go b/test/e2e/helpers/channel_defaulter_test_helper.go index 4568c452943..10791f56350 100644 --- a/test/e2e/helpers/channel_defaulter_test_helper.go +++ b/test/e2e/helpers/channel_defaulter_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/e2e/helpers/channel_dls_test_helper.go b/test/e2e/helpers/channel_dls_test_helper.go index cc1004ae2e5..2c0a016360e 100644 --- a/test/e2e/helpers/channel_dls_test_helper.go +++ b/test/e2e/helpers/channel_dls_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/e2e/helpers/channel_event_tranformation_test_helper.go b/test/e2e/helpers/channel_event_tranformation_test_helper.go index 6a92ab29033..2b936ac2bf5 100644 --- a/test/e2e/helpers/channel_event_tranformation_test_helper.go +++ b/test/e2e/helpers/channel_event_tranformation_test_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/e2e/helpers/channel_single_event_helper.go b/test/e2e/helpers/channel_single_event_helper.go index 89d6151a86a..d113bfd0a08 100644 --- a/test/e2e/helpers/channel_single_event_helper.go +++ b/test/e2e/helpers/channel_single_event_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/e2e/helpers/parallel_test_helper.go b/test/e2e/helpers/parallel_test_helper.go index 7bc15b4982d..12b77c6af8b 100644 --- a/test/e2e/helpers/parallel_test_helper.go +++ b/test/e2e/helpers/parallel_test_helper.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/test/e2e/helpers/sequence_test_helper.go b/test/e2e/helpers/sequence_test_helper.go index a9742a06237..60ca270bfae 100644 --- a/test/e2e/helpers/sequence_test_helper.go +++ b/test/e2e/helpers/sequence_test_helper.go @@ -4,7 +4,7 @@ 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 + 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, diff --git a/test/e2e/helpers/sugar_helper.go b/test/e2e/helpers/sugar_helper.go index eec438b6916..8be80114257 100644 --- a/test/e2e/helpers/sugar_helper.go +++ b/test/e2e/helpers/sugar_helper.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/e2e/main_test.go b/test/e2e/main_test.go index 0c6f4d70437..b9a1b8ba426 100644 --- a/test/e2e/main_test.go +++ b/test/e2e/main_test.go @@ -7,7 +7,7 @@ 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 + 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, diff --git a/test/e2e/parallel_test.go b/test/e2e/parallel_test.go index 765f33a00d3..ee9e4e23407 100644 --- a/test/e2e/parallel_test.go +++ b/test/e2e/parallel_test.go @@ -7,7 +7,7 @@ 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 + 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, diff --git a/test/e2e/sequence_test.go b/test/e2e/sequence_test.go index 853d48ec700..be952e06ae8 100644 --- a/test/e2e/sequence_test.go +++ b/test/e2e/sequence_test.go @@ -7,7 +7,7 @@ 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 + 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, diff --git a/test/e2e_flags.go b/test/e2e_flags.go index 035f362d671..0b17d92a113 100644 --- a/test/e2e_flags.go +++ b/test/e2e_flags.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/experimental/features/delivery_timeout/channel.go b/test/experimental/features/delivery_timeout/channel.go index f907fb205fb..a7eb870d867 100644 --- a/test/experimental/features/delivery_timeout/channel.go +++ b/test/experimental/features/delivery_timeout/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/experimental/features/kreference_group/channel_to_channel.go b/test/experimental/features/kreference_group/channel_to_channel.go index a05bee3aa24..59cce79ad3c 100644 --- a/test/experimental/features/kreference_group/channel_to_channel.go +++ b/test/experimental/features/kreference_group/channel_to_channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/experimental/features/kreference_group/sub_channel.go b/test/experimental/features/kreference_group/sub_channel.go index 6862f7eb1c2..445977caad7 100644 --- a/test/experimental/features/kreference_group/sub_channel.go +++ b/test/experimental/features/kreference_group/sub_channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/experimental/features/retry_after/channel.go b/test/experimental/features/retry_after/channel.go index 760ef6e9bec..a4ca64716c1 100644 --- a/test/experimental/features/retry_after/channel.go +++ b/test/experimental/features/retry_after/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/experimental/kreference_group_test.go b/test/experimental/kreference_group_test.go index 3339bc2b7c2..6f7ccbfc552 100644 --- a/test/experimental/kreference_group_test.go +++ b/test/experimental/kreference_group_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/experimental/main_test.go b/test/experimental/main_test.go index 7fea694df4b..7cc26663940 100644 --- a/test/experimental/main_test.go +++ b/test/experimental/main_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/experimental/retry_after_test.go b/test/experimental/retry_after_test.go index e05fe5c7a23..0181d887643 100644 --- a/test/experimental/retry_after_test.go +++ b/test/experimental/retry_after_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/flags/brokers.go b/test/flags/brokers.go index c4b51c18e4c..bcfffaaec68 100644 --- a/test/flags/brokers.go +++ b/test/flags/brokers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/flags/channels.go b/test/flags/channels.go index 3cb7a2928f5..31e28df496d 100644 --- a/test/flags/channels.go +++ b/test/flags/channels.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/flags/eventing_environment.go b/test/flags/eventing_environment.go index f4a4eff42c9..5b1306cd2dc 100644 --- a/test/flags/eventing_environment.go +++ b/test/flags/eventing_environment.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/flags/parsing.go b/test/flags/parsing.go index 4c356700081..490dd4e91a0 100644 --- a/test/flags/parsing.go +++ b/test/flags/parsing.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/flags/sources.go b/test/flags/sources.go index 9add5e7b8ce..e8f5cab3b98 100644 --- a/test/flags/sources.go +++ b/test/flags/sources.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/await.go b/test/lib/await.go index 6a5b7aaddb6..35884ad9bee 100644 --- a/test/lib/await.go +++ b/test/lib/await.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/lib/client.go b/test/lib/client.go index 778adafe9b1..4f0515f8e9b 100644 --- a/test/lib/client.go +++ b/test/lib/client.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/config.go b/test/lib/config.go index e5ad31086c7..a2bdd8400d5 100644 --- a/test/lib/config.go +++ b/test/lib/config.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/creation.go b/test/lib/creation.go index f2dd25cefc8..c58b8ca6dab 100644 --- a/test/lib/creation.go +++ b/test/lib/creation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/dropevents/dropeventsfibonacci/fibonacci.go b/test/lib/dropevents/dropeventsfibonacci/fibonacci.go index f0106cd2a06..d3ec33c3466 100644 --- a/test/lib/dropevents/dropeventsfibonacci/fibonacci.go +++ b/test/lib/dropevents/dropeventsfibonacci/fibonacci.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/dropevents/dropeventsfirst/sequence.go b/test/lib/dropevents/dropeventsfirst/sequence.go index 9f223b1a7fd..6575802414d 100644 --- a/test/lib/dropevents/dropeventsfirst/sequence.go +++ b/test/lib/dropevents/dropeventsfirst/sequence.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/dropevents/receiver.go b/test/lib/dropevents/receiver.go index 6b18f2be10d..095cb83dee3 100644 --- a/test/lib/dropevents/receiver.go +++ b/test/lib/dropevents/receiver.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/duck/resource_checks.go b/test/lib/duck/resource_checks.go index 4c8e5f001ef..5144cca32c5 100644 --- a/test/lib/duck/resource_checks.go +++ b/test/lib/duck/resource_checks.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/duck/resource_checks_test.go b/test/lib/duck/resource_checks_test.go index f5adf332f2c..0ebfa48fae7 100644 --- a/test/lib/duck/resource_checks_test.go +++ b/test/lib/duck/resource_checks_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/duck/resource_creators.go b/test/lib/duck/resource_creators.go index 997e1e9eb48..7fd6b5b5ea4 100644 --- a/test/lib/duck/resource_creators.go +++ b/test/lib/duck/resource_creators.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/duck/resource_getters.go b/test/lib/duck/resource_getters.go index d2a0cd968cc..76bb450c366 100644 --- a/test/lib/duck/resource_getters.go +++ b/test/lib/duck/resource_getters.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/duck/resource_inspectors.go b/test/lib/duck/resource_inspectors.go index fa29ec282cf..4c23d3c22eb 100644 --- a/test/lib/duck/resource_inspectors.go +++ b/test/lib/duck/resource_inspectors.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/duck/serving_checks.go b/test/lib/duck/serving_checks.go index 8f0c18a7b23..3e43667c0ee 100644 --- a/test/lib/duck/serving_checks.go +++ b/test/lib/duck/serving_checks.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/lib/k8s_events.go b/test/lib/k8s_events.go index 62c07c26dcc..7f13ac6cafa 100644 --- a/test/lib/k8s_events.go +++ b/test/lib/k8s_events.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/logexporter.go b/test/lib/logexporter.go index efe0107e860..5842df1368e 100644 --- a/test/lib/logexporter.go +++ b/test/lib/logexporter.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/naming/name.go b/test/lib/naming/name.go index f7065db90fb..5badcb2085b 100644 --- a/test/lib/naming/name.go +++ b/test/lib/naming/name.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/operation.go b/test/lib/operation.go index 7f97f9d3e1f..81e522251b6 100644 --- a/test/lib/operation.go +++ b/test/lib/operation.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/event_log.go b/test/lib/recordevents/event_log.go index 92eb2d2752e..2dc8cf1e7c6 100644 --- a/test/lib/recordevents/event_log.go +++ b/test/lib/recordevents/event_log.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/logger_vent/logger.go b/test/lib/recordevents/logger_vent/logger.go index 95d7012f23c..ac79ba177f0 100644 --- a/test/lib/recordevents/logger_vent/logger.go +++ b/test/lib/recordevents/logger_vent/logger.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/options.go b/test/lib/recordevents/options.go index 4bc9f0f889c..e99a135766a 100644 --- a/test/lib/recordevents/options.go +++ b/test/lib/recordevents/options.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/receiver/receiver.go b/test/lib/recordevents/receiver/receiver.go index 05742930116..3e56b4bc276 100644 --- a/test/lib/recordevents/receiver/receiver.go +++ b/test/lib/recordevents/receiver/receiver.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/receiver/reply.go b/test/lib/recordevents/receiver/reply.go index fe494cd7a43..4ddfd866f60 100644 --- a/test/lib/recordevents/receiver/reply.go +++ b/test/lib/recordevents/receiver/reply.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/recorder_vent/constructor.go b/test/lib/recordevents/recorder_vent/constructor.go index fb51aaddfcc..e69db0e3f72 100644 --- a/test/lib/recordevents/recorder_vent/constructor.go +++ b/test/lib/recordevents/recorder_vent/constructor.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/recorder_vent/doc.go b/test/lib/recordevents/recorder_vent/doc.go index 1a4bcc2907f..3de0c600455 100644 --- a/test/lib/recordevents/recorder_vent/doc.go +++ b/test/lib/recordevents/recorder_vent/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/recorder_vent/recorder.go b/test/lib/recordevents/recorder_vent/recorder.go index b173d64af62..cb647cc1c6b 100644 --- a/test/lib/recordevents/recorder_vent/recorder.go +++ b/test/lib/recordevents/recorder_vent/recorder.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/resources.go b/test/lib/recordevents/resources.go index 3b04ed74b8c..c02661fd782 100644 --- a/test/lib/recordevents/resources.go +++ b/test/lib/recordevents/resources.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/recordevents/sender/sender.go b/test/lib/recordevents/sender/sender.go index 08c57834588..dffab769cf4 100644 --- a/test/lib/recordevents/sender/sender.go +++ b/test/lib/recordevents/sender/sender.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/resources/constants.go b/test/lib/resources/constants.go index a77a91863c2..a6c1c90f7d7 100644 --- a/test/lib/resources/constants.go +++ b/test/lib/resources/constants.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/resources/eventing.go b/test/lib/resources/eventing.go index 3f7f7b54be9..01df6292399 100644 --- a/test/lib/resources/eventing.go +++ b/test/lib/resources/eventing.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/resources/kube.go b/test/lib/resources/kube.go index a0f68094d6c..fb0acaff921 100644 --- a/test/lib/resources/kube.go +++ b/test/lib/resources/kube.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/resources/meta.go b/test/lib/resources/meta.go index 6059612fe7b..7001401865b 100644 --- a/test/lib/resources/meta.go +++ b/test/lib/resources/meta.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/resources/recordevents/recordevents.go b/test/lib/resources/recordevents/recordevents.go index aac2d78d2a3..0401898c4a8 100644 --- a/test/lib/resources/recordevents/recordevents.go +++ b/test/lib/resources/recordevents/recordevents.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/resources/serving.go b/test/lib/resources/serving.go index cfa516e4724..a1d63168b6f 100644 --- a/test/lib/resources/serving.go +++ b/test/lib/resources/serving.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/sender/events.go b/test/lib/sender/events.go index d358e2ac78b..c80776286e9 100644 --- a/test/lib/sender/events.go +++ b/test/lib/sender/events.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/sender/matchers.go b/test/lib/sender/matchers.go index 8f76384554f..22c82ad835d 100644 --- a/test/lib/sender/matchers.go +++ b/test/lib/sender/matchers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/setupclientoptions/sources.go b/test/lib/setupclientoptions/sources.go index fe8d5d9ead4..52b27b18d5b 100644 --- a/test/lib/setupclientoptions/sources.go +++ b/test/lib/setupclientoptions/sources.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/test_runner.go b/test/lib/test_runner.go index 945a5de96d9..e11714a9394 100644 --- a/test/lib/test_runner.go +++ b/test/lib/test_runner.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/tracker.go b/test/lib/tracker.go index 154dd3c7a28..cc2623c86e3 100644 --- a/test/lib/tracker.go +++ b/test/lib/tracker.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/lib/typemeta.go b/test/lib/typemeta.go index e09268052b1..39eb3f9f954 100644 --- a/test/lib/typemeta.go +++ b/test/lib/typemeta.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/apiserversource_test.go b/test/rekt/apiserversource_test.go index f9ff6f9094e..633e10ba091 100644 --- a/test/rekt/apiserversource_test.go +++ b/test/rekt/apiserversource_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/broker_test.go b/test/rekt/broker_test.go index 2f2b8cde3b7..d606d5ea77c 100644 --- a/test/rekt/broker_test.go +++ b/test/rekt/broker_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/channel_test.go b/test/rekt/channel_test.go index 6cca352dd22..bc1b08cef9b 100644 --- a/test/rekt/channel_test.go +++ b/test/rekt/channel_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/container_source_test.go b/test/rekt/container_source_test.go index a57c0576d61..a870a67e2d1 100644 --- a/test/rekt/container_source_test.go +++ b/test/rekt/container_source_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/delivery_timeout_test.go b/test/rekt/delivery_timeout_test.go index 38ef5b5f163..ed199a3fc0c 100644 --- a/test/rekt/delivery_timeout_test.go +++ b/test/rekt/delivery_timeout_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/features/apiserversource/client.go b/test/rekt/features/apiserversource/client.go index ac400ff2133..c2cff7e6168 100644 --- a/test/rekt/features/apiserversource/client.go +++ b/test/rekt/features/apiserversource/client.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/apiserversource/data_plane.go b/test/rekt/features/apiserversource/data_plane.go index f856ca6984d..525880140c0 100644 --- a/test/rekt/features/apiserversource/data_plane.go +++ b/test/rekt/features/apiserversource/data_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/apiserversource/readiness.go b/test/rekt/features/apiserversource/readiness.go index ca9902f4728..861398da4b7 100644 --- a/test/rekt/features/apiserversource/readiness.go +++ b/test/rekt/features/apiserversource/readiness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/apiserversource/webhook_validation_smoke.go b/test/rekt/features/apiserversource/webhook_validation_smoke.go index 076c9d9de7b..3c599993fde 100644 --- a/test/rekt/features/apiserversource/webhook_validation_smoke.go +++ b/test/rekt/features/apiserversource/webhook_validation_smoke.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/control_plane.go b/test/rekt/features/broker/control_plane.go index d8e87399bbe..608c1c35094 100644 --- a/test/rekt/features/broker/control_plane.go +++ b/test/rekt/features/broker/control_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/data_plane.go b/test/rekt/features/broker/data_plane.go index 24ad575b0b3..3c3a46dc88f 100644 --- a/test/rekt/features/broker/data_plane.go +++ b/test/rekt/features/broker/data_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/delivery.go b/test/rekt/features/broker/delivery.go index 39141ce8e78..cc7996c22d3 100644 --- a/test/rekt/features/broker/delivery.go +++ b/test/rekt/features/broker/delivery.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/feature.go b/test/rekt/features/broker/feature.go index 1f0984942bf..dea2fe5fd46 100644 --- a/test/rekt/features/broker/feature.go +++ b/test/rekt/features/broker/feature.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/readyness.go b/test/rekt/features/broker/readyness.go index 784bfb8158f..e26384d56e5 100644 --- a/test/rekt/features/broker/readyness.go +++ b/test/rekt/features/broker/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/source_to_sink.go b/test/rekt/features/broker/source_to_sink.go index 4c59c150ccb..bf0c5431145 100644 --- a/test/rekt/features/broker/source_to_sink.go +++ b/test/rekt/features/broker/source_to_sink.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/topology.go b/test/rekt/features/broker/topology.go index cad9b96c374..897a9a3348f 100644 --- a/test/rekt/features/broker/topology.go +++ b/test/rekt/features/broker/topology.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/broker/topology_test.go b/test/rekt/features/broker/topology_test.go index 7ecef8b1ce8..5faac169bd9 100644 --- a/test/rekt/features/broker/topology_test.go +++ b/test/rekt/features/broker/topology_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/control_plane.go b/test/rekt/features/channel/control_plane.go index 68c8af78bf6..5a2e7a26a9d 100644 --- a/test/rekt/features/channel/control_plane.go +++ b/test/rekt/features/channel/control_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/data_plane.go b/test/rekt/features/channel/data_plane.go index 2e39fce63bf..bbbb2d89d8e 100644 --- a/test/rekt/features/channel/data_plane.go +++ b/test/rekt/features/channel/data_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/features.go b/test/rekt/features/channel/features.go index 5f0f0daac1a..bc7238b51ef 100644 --- a/test/rekt/features/channel/features.go +++ b/test/rekt/features/channel/features.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/helpers.go b/test/rekt/features/channel/helpers.go index 5c52da70bda..ef6b1d700fb 100644 --- a/test/rekt/features/channel/helpers.go +++ b/test/rekt/features/channel/helpers.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/readyness.go b/test/rekt/features/channel/readyness.go index d620cb7f4ef..aa7e4e8d0f6 100644 --- a/test/rekt/features/channel/readyness.go +++ b/test/rekt/features/channel/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/topology.go b/test/rekt/features/channel/topology.go index a1c5aaf48f1..e58e72cdd0b 100644 --- a/test/rekt/features/channel/topology.go +++ b/test/rekt/features/channel/topology.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/channel/topology_test.go b/test/rekt/features/channel/topology_test.go index 4c5e7c6321d..e2647a69d9f 100644 --- a/test/rekt/features/channel/topology_test.go +++ b/test/rekt/features/channel/topology_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/containersource/features.go b/test/rekt/features/containersource/features.go index 9d015135194..3b5ec1bb95e 100644 --- a/test/rekt/features/containersource/features.go +++ b/test/rekt/features/containersource/features.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/containersource/readyness.go b/test/rekt/features/containersource/readyness.go index 69ec9b4b507..165c128791d 100644 --- a/test/rekt/features/containersource/readyness.go +++ b/test/rekt/features/containersource/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/knconf/control_plane.go b/test/rekt/features/knconf/control_plane.go index 7612333a6d2..c5032d79c0e 100644 --- a/test/rekt/features/knconf/control_plane.go +++ b/test/rekt/features/knconf/control_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/knconf/data_plane.go b/test/rekt/features/knconf/data_plane.go index 13c82b3678e..0fc21b6edb0 100644 --- a/test/rekt/features/knconf/data_plane.go +++ b/test/rekt/features/knconf/data_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/knconf/event_patterns.go b/test/rekt/features/knconf/event_patterns.go index 91e739a41f1..2cb3753c00d 100644 --- a/test/rekt/features/knconf/event_patterns.go +++ b/test/rekt/features/knconf/event_patterns.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/knconf/event_patterns_test.go b/test/rekt/features/knconf/event_patterns_test.go index 86df8d6b1c0..ac0b8dbf66a 100644 --- a/test/rekt/features/knconf/event_patterns_test.go +++ b/test/rekt/features/knconf/event_patterns_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/new_trigger_filters/filters.go b/test/rekt/features/new_trigger_filters/filters.go index 0968056821a..e8bb6fa56bd 100644 --- a/test/rekt/features/new_trigger_filters/filters.go +++ b/test/rekt/features/new_trigger_filters/filters.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/parallel/readyness.go b/test/rekt/features/parallel/readyness.go index b3fe94c8d02..e38d6d033b1 100644 --- a/test/rekt/features/parallel/readyness.go +++ b/test/rekt/features/parallel/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/pingsource/features.go b/test/rekt/features/pingsource/features.go index 2770cd09f4f..1765acb78e5 100644 --- a/test/rekt/features/pingsource/features.go +++ b/test/rekt/features/pingsource/features.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/pingsource/readyness.go b/test/rekt/features/pingsource/readyness.go index 05f15f8218e..d52d669ba69 100644 --- a/test/rekt/features/pingsource/readyness.go +++ b/test/rekt/features/pingsource/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/sequence/readyness.go b/test/rekt/features/sequence/readyness.go index eeb15ae1f02..38f9b92fea4 100644 --- a/test/rekt/features/sequence/readyness.go +++ b/test/rekt/features/sequence/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/sinkbinding/feature.go b/test/rekt/features/sinkbinding/feature.go index 0efcf482d0f..6cbefe6af78 100644 --- a/test/rekt/features/sinkbinding/feature.go +++ b/test/rekt/features/sinkbinding/feature.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/sinkbinding/readyness.go b/test/rekt/features/sinkbinding/readyness.go index 807c585b523..c031a510917 100644 --- a/test/rekt/features/sinkbinding/readyness.go +++ b/test/rekt/features/sinkbinding/readyness.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/trigger/client.go b/test/rekt/features/trigger/client.go index acc42f3cfba..07cd23a8980 100644 --- a/test/rekt/features/trigger/client.go +++ b/test/rekt/features/trigger/client.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/trigger/control_plane.go b/test/rekt/features/trigger/control_plane.go index c6ed3819208..59cb548e7ab 100644 --- a/test/rekt/features/trigger/control_plane.go +++ b/test/rekt/features/trigger/control_plane.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/trigger/feature.go b/test/rekt/features/trigger/feature.go index 30d7d69872e..ab8954ad57a 100644 --- a/test/rekt/features/trigger/feature.go +++ b/test/rekt/features/trigger/feature.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/features/trigger/trigger_sink_resolution.go b/test/rekt/features/trigger/trigger_sink_resolution.go index ceb8eacd622..e8462481b7d 100644 --- a/test/rekt/features/trigger/trigger_sink_resolution.go +++ b/test/rekt/features/trigger/trigger_sink_resolution.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/main_test.go b/test/rekt/main_test.go index 2db59aeabe2..977d58595a7 100644 --- a/test/rekt/main_test.go +++ b/test/rekt/main_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/new_trigger_filters_test.go b/test/rekt/new_trigger_filters_test.go index b103e82317f..deadd99e73a 100644 --- a/test/rekt/new_trigger_filters_test.go +++ b/test/rekt/new_trigger_filters_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/pingsource_test.go b/test/rekt/pingsource_test.go index 1aab02f7e8c..91e76997b98 100644 --- a/test/rekt/pingsource_test.go +++ b/test/rekt/pingsource_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/resources/account_role/role.go b/test/rekt/resources/account_role/role.go index aac3e716521..e4d3e97f80b 100644 --- a/test/rekt/resources/account_role/role.go +++ b/test/rekt/resources/account_role/role.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/account_role/role_test.go b/test/rekt/resources/account_role/role_test.go index 61af7fca8a6..28cf430fe5b 100644 --- a/test/rekt/resources/account_role/role_test.go +++ b/test/rekt/resources/account_role/role_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/addressable/addressable.go b/test/rekt/resources/addressable/addressable.go index cb710785d1f..0c278d4aee7 100644 --- a/test/rekt/resources/addressable/addressable.go +++ b/test/rekt/resources/addressable/addressable.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/apiserversource/apiserversource.go b/test/rekt/resources/apiserversource/apiserversource.go index 158243b8555..65e685f1a6e 100644 --- a/test/rekt/resources/apiserversource/apiserversource.go +++ b/test/rekt/resources/apiserversource/apiserversource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/apiserversource/apiserversource_test.go b/test/rekt/resources/apiserversource/apiserversource_test.go index c3e832cc18f..ced69a7de5f 100644 --- a/test/rekt/resources/apiserversource/apiserversource_test.go +++ b/test/rekt/resources/apiserversource/apiserversource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/broker/broker.go b/test/rekt/resources/broker/broker.go index 1887f9f26fd..81c170ad0d4 100644 --- a/test/rekt/resources/broker/broker.go +++ b/test/rekt/resources/broker/broker.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/broker/broker_test.go b/test/rekt/resources/broker/broker_test.go index f801266c70b..2b3b7f2e418 100644 --- a/test/rekt/resources/broker/broker_test.go +++ b/test/rekt/resources/broker/broker_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/channel/channel.go b/test/rekt/resources/channel/channel.go index 3fe4d0d344e..7086496676b 100644 --- a/test/rekt/resources/channel/channel.go +++ b/test/rekt/resources/channel/channel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/channel/channel_test.go b/test/rekt/resources/channel/channel_test.go index 74accb2aa6d..163459313c0 100644 --- a/test/rekt/resources/channel/channel_test.go +++ b/test/rekt/resources/channel/channel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/channel_impl/channel_impl.go b/test/rekt/resources/channel_impl/channel_impl.go index 9f5ce5df9d2..93d51230a6a 100644 --- a/test/rekt/resources/channel_impl/channel_impl.go +++ b/test/rekt/resources/channel_impl/channel_impl.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/channel_impl/channel_impl_test.go b/test/rekt/resources/channel_impl/channel_impl_test.go index 0f5fe29ea5a..fe1c5faafaf 100644 --- a/test/rekt/resources/channel_impl/channel_impl_test.go +++ b/test/rekt/resources/channel_impl/channel_impl_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/containersource/containersource.go b/test/rekt/resources/containersource/containersource.go index abcf461513a..9fb2e4a5666 100644 --- a/test/rekt/resources/containersource/containersource.go +++ b/test/rekt/resources/containersource/containersource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/containersource/containersource_test.go b/test/rekt/resources/containersource/containersource_test.go index 3725cf2b738..8c9a718e215 100644 --- a/test/rekt/resources/containersource/containersource_test.go +++ b/test/rekt/resources/containersource/containersource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/delivery/delivery.go b/test/rekt/resources/delivery/delivery.go index 8998173dff5..c94a0c5ebd4 100644 --- a/test/rekt/resources/delivery/delivery.go +++ b/test/rekt/resources/delivery/delivery.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/delivery/delivery_test.go b/test/rekt/resources/delivery/delivery_test.go index f97619418c7..87e68cdc6c8 100644 --- a/test/rekt/resources/delivery/delivery_test.go +++ b/test/rekt/resources/delivery/delivery_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/delivery/doc.go b/test/rekt/resources/delivery/doc.go index 45c4a673c8f..46ba179b879 100644 --- a/test/rekt/resources/delivery/doc.go +++ b/test/rekt/resources/delivery/doc.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/eventtype/eventtype.go b/test/rekt/resources/eventtype/eventtype.go index af081e53421..878d5451c19 100644 --- a/test/rekt/resources/eventtype/eventtype.go +++ b/test/rekt/resources/eventtype/eventtype.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/parallel/parallel.go b/test/rekt/resources/parallel/parallel.go index d0578e36461..b32e9bbdc55 100644 --- a/test/rekt/resources/parallel/parallel.go +++ b/test/rekt/resources/parallel/parallel.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/parallel/parallel_test.go b/test/rekt/resources/parallel/parallel_test.go index 9c9f07aa31d..6aae0318ced 100644 --- a/test/rekt/resources/parallel/parallel_test.go +++ b/test/rekt/resources/parallel/parallel_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/pingsource/pingsource.go b/test/rekt/resources/pingsource/pingsource.go index 9a7f90f5f52..492a570f67a 100644 --- a/test/rekt/resources/pingsource/pingsource.go +++ b/test/rekt/resources/pingsource/pingsource.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/pingsource/pingsource_test.go b/test/rekt/resources/pingsource/pingsource_test.go index f49a8e168e9..5309eac0d55 100644 --- a/test/rekt/resources/pingsource/pingsource_test.go +++ b/test/rekt/resources/pingsource/pingsource_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/sequence/sequence.go b/test/rekt/resources/sequence/sequence.go index a034486779e..6b1b24afe0e 100644 --- a/test/rekt/resources/sequence/sequence.go +++ b/test/rekt/resources/sequence/sequence.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/sequence/sequence_test.go b/test/rekt/resources/sequence/sequence_test.go index 253af5654e6..13257f1f915 100644 --- a/test/rekt/resources/sequence/sequence_test.go +++ b/test/rekt/resources/sequence/sequence_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/sinkbinding/sinkbinding.go b/test/rekt/resources/sinkbinding/sinkbinding.go index fe143f66559..e3c2b768124 100644 --- a/test/rekt/resources/sinkbinding/sinkbinding.go +++ b/test/rekt/resources/sinkbinding/sinkbinding.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/sinkbinding/sinkbinding_test.go b/test/rekt/resources/sinkbinding/sinkbinding_test.go index 55892a5d724..8a2e1367d20 100644 --- a/test/rekt/resources/sinkbinding/sinkbinding_test.go +++ b/test/rekt/resources/sinkbinding/sinkbinding_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/source/source.go b/test/rekt/resources/source/source.go index a2e8343b6ff..2daa48a2116 100644 --- a/test/rekt/resources/source/source.go +++ b/test/rekt/resources/source/source.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/subscription/subscription.go b/test/rekt/resources/subscription/subscription.go index 0553167f6f4..5a3b4d426d1 100644 --- a/test/rekt/resources/subscription/subscription.go +++ b/test/rekt/resources/subscription/subscription.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/subscription/subscription_test.go b/test/rekt/resources/subscription/subscription_test.go index a9a65fbc2e1..32bce1f77ab 100644 --- a/test/rekt/resources/subscription/subscription_test.go +++ b/test/rekt/resources/subscription/subscription_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/trigger/trigger.go b/test/rekt/resources/trigger/trigger.go index 5deb1d972fa..1d64fb305b8 100644 --- a/test/rekt/resources/trigger/trigger.go +++ b/test/rekt/resources/trigger/trigger.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/resources/trigger/trigger_test.go b/test/rekt/resources/trigger/trigger_test.go index 939f0a6c7e3..9a899d242e5 100644 --- a/test/rekt/resources/trigger/trigger_test.go +++ b/test/rekt/resources/trigger/trigger_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/rekt/sink_binding_test.go b/test/rekt/sink_binding_test.go index b7b1c4217d9..01fa07d09be 100644 --- a/test/rekt/sink_binding_test.go +++ b/test/rekt/sink_binding_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/smoke_test.go b/test/rekt/smoke_test.go index e3c84fd24d9..8a3c9f44d2f 100644 --- a/test/rekt/smoke_test.go +++ b/test/rekt/smoke_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/rekt/trigger_test.go b/test/rekt/trigger_test.go index 66981384270..00121550d9d 100644 --- a/test/rekt/trigger_test.go +++ b/test/rekt/trigger_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/test_images/print/main.go b/test/test_images/print/main.go index 2e3f52a2c62..764688a3ec9 100644 --- a/test/test_images/print/main.go +++ b/test/test_images/print/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/test_images/utils.go b/test/test_images/utils.go index 13efeeaa651..8b160802912 100644 --- a/test/test_images/utils.go +++ b/test/test_images/utils.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/test_images/wathola-fetcher/main.go b/test/test_images/wathola-fetcher/main.go index 8348e4668f3..46cf79737ad 100644 --- a/test/test_images/wathola-fetcher/main.go +++ b/test/test_images/wathola-fetcher/main.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/test_images/wathola-fetcher/main_test.go b/test/test_images/wathola-fetcher/main_test.go index 568253f0cd9..fd64a66c979 100644 --- a/test/test_images/wathola-fetcher/main_test.go +++ b/test/test_images/wathola-fetcher/main_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/test_images/wathola-forwarder/main.go b/test/test_images/wathola-forwarder/main.go index 34878785791..f6d04aa6e68 100644 --- a/test/test_images/wathola-forwarder/main.go +++ b/test/test_images/wathola-forwarder/main.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/test_images/wathola-forwarder/main_test.go b/test/test_images/wathola-forwarder/main_test.go index 000d4c7145a..4d4853bed67 100644 --- a/test/test_images/wathola-forwarder/main_test.go +++ b/test/test_images/wathola-forwarder/main_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/test_images/wathola-receiver/main.go b/test/test_images/wathola-receiver/main.go index da7bea9275c..327f87ec1d1 100644 --- a/test/test_images/wathola-receiver/main.go +++ b/test/test_images/wathola-receiver/main.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/test_images/wathola-receiver/main_test.go b/test/test_images/wathola-receiver/main_test.go index a64fff958fe..77462539e9b 100644 --- a/test/test_images/wathola-receiver/main_test.go +++ b/test/test_images/wathola-receiver/main_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/test_images/wathola-sender/main.go b/test/test_images/wathola-sender/main.go index 8016a9a3fba..6845f48be4b 100644 --- a/test/test_images/wathola-sender/main.go +++ b/test/test_images/wathola-sender/main.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/test_images/wathola-sender/main_test.go b/test/test_images/wathola-sender/main_test.go index 0aa3bc8fc7e..dd49a449606 100644 --- a/test/test_images/wathola-sender/main_test.go +++ b/test/test_images/wathola-sender/main_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/continual.go b/test/upgrade/continual.go index 56d1bb54822..3dd96e922b6 100644 --- a/test/upgrade/continual.go +++ b/test/upgrade/continual.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/installation/git_head.go b/test/upgrade/installation/git_head.go index 447c907ad3b..3242497d550 100644 --- a/test/upgrade/installation/git_head.go +++ b/test/upgrade/installation/git_head.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/installation/latest.go b/test/upgrade/installation/latest.go index 6ab9c042150..65046faabbe 100644 --- a/test/upgrade/installation/latest.go +++ b/test/upgrade/installation/latest.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/installation/shell.go b/test/upgrade/installation/shell.go index 6fe54687e9e..62223a4c9d1 100644 --- a/test/upgrade/installation/shell.go +++ b/test/upgrade/installation/shell.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/postdowngrade.go b/test/upgrade/postdowngrade.go index 8ee96252ead..aa8572112c5 100644 --- a/test/upgrade/postdowngrade.go +++ b/test/upgrade/postdowngrade.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/postupgrade.go b/test/upgrade/postupgrade.go index d8303bf7e3d..4009656bf50 100644 --- a/test/upgrade/postupgrade.go +++ b/test/upgrade/postupgrade.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/preupgrade.go b/test/upgrade/preupgrade.go index cd4f911f548..1107a303f10 100644 --- a/test/upgrade/preupgrade.go +++ b/test/upgrade/preupgrade.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/configuration.go b/test/upgrade/prober/configuration.go index ce587cacc80..535264baca5 100644 --- a/test/upgrade/prober/configuration.go +++ b/test/upgrade/prober/configuration.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/continual.go b/test/upgrade/prober/continual.go index 237fdb582e4..3387898cb48 100644 --- a/test/upgrade/prober/continual.go +++ b/test/upgrade/prober/continual.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/errors.go b/test/upgrade/prober/errors.go index e70da17bd9b..e03c16f82d4 100644 --- a/test/upgrade/prober/errors.go +++ b/test/upgrade/prober/errors.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/forwarder.go b/test/upgrade/prober/forwarder.go index 833b35716f6..a7ee1d1ab67 100644 --- a/test/upgrade/prober/forwarder.go +++ b/test/upgrade/prober/forwarder.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/prober.go b/test/upgrade/prober/prober.go index 88f1529bd5e..0e18ebbcde4 100644 --- a/test/upgrade/prober/prober.go +++ b/test/upgrade/prober/prober.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/prober_test.go b/test/upgrade/prober/prober_test.go index 5f6cdca3062..da958ecd60e 100644 --- a/test/upgrade/prober/prober_test.go +++ b/test/upgrade/prober/prober_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/receiver.go b/test/upgrade/prober/receiver.go index ca2dcf37c54..ddd75fd6641 100644 --- a/test/upgrade/prober/receiver.go +++ b/test/upgrade/prober/receiver.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/sender.go b/test/upgrade/prober/sender.go index d00352f2d8b..df9173a1f09 100644 --- a/test/upgrade/prober/sender.go +++ b/test/upgrade/prober/sender.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/sut/broker.go b/test/upgrade/prober/sut/broker.go index 0c1a410b619..0b07b7658dd 100644 --- a/test/upgrade/prober/sut/broker.go +++ b/test/upgrade/prober/sut/broker.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/sut/broker_e2e_test.go b/test/upgrade/prober/sut/broker_e2e_test.go index 7a856faa6c3..17d115cbb25 100644 --- a/test/upgrade/prober/sut/broker_e2e_test.go +++ b/test/upgrade/prober/sut/broker_e2e_test.go @@ -8,7 +8,7 @@ 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 + 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, diff --git a/test/upgrade/prober/sut/default.go b/test/upgrade/prober/sut/default.go index 1f11edbdd2c..02bce4ae426 100644 --- a/test/upgrade/prober/sut/default.go +++ b/test/upgrade/prober/sut/default.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/sut/default_test.go b/test/upgrade/prober/sut/default_test.go index 11a45aa29e0..6d54e3c2a4b 100644 --- a/test/upgrade/prober/sut/default_test.go +++ b/test/upgrade/prober/sut/default_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/sut/types.go b/test/upgrade/prober/sut/types.go index 8f134101951..05c2fa03754 100644 --- a/test/upgrade/prober/sut/types.go +++ b/test/upgrade/prober/sut/types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/verify.go b/test/upgrade/prober/verify.go index 901db354ba2..9810daf8cc1 100644 --- a/test/upgrade/prober/verify.go +++ b/test/upgrade/prober/verify.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/client/receiver.go b/test/upgrade/prober/wathola/client/receiver.go index 487bc093003..24a735396dc 100644 --- a/test/upgrade/prober/wathola/client/receiver.go +++ b/test/upgrade/prober/wathola/client/receiver.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/config/defaults.go b/test/upgrade/prober/wathola/config/defaults.go index 9fd5d6b8d16..621fc7df9cc 100644 --- a/test/upgrade/prober/wathola/config/defaults.go +++ b/test/upgrade/prober/wathola/config/defaults.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/config/defaults_test.go b/test/upgrade/prober/wathola/config/defaults_test.go index a00eaf191f4..b53e334d91c 100644 --- a/test/upgrade/prober/wathola/config/defaults_test.go +++ b/test/upgrade/prober/wathola/config/defaults_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/config/logger.go b/test/upgrade/prober/wathola/config/logger.go index c102392ab37..9aede7cb11e 100644 --- a/test/upgrade/prober/wathola/config/logger.go +++ b/test/upgrade/prober/wathola/config/logger.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/config/reader.go b/test/upgrade/prober/wathola/config/reader.go index b77450d0bca..fc0c0668f27 100644 --- a/test/upgrade/prober/wathola/config/reader.go +++ b/test/upgrade/prober/wathola/config/reader.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/config/reader_test.go b/test/upgrade/prober/wathola/config/reader_test.go index d0b50306716..37e064676bd 100644 --- a/test/upgrade/prober/wathola/config/reader_test.go +++ b/test/upgrade/prober/wathola/config/reader_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/config/structure.go b/test/upgrade/prober/wathola/config/structure.go index 39ee37cbf40..02472e40746 100644 --- a/test/upgrade/prober/wathola/config/structure.go +++ b/test/upgrade/prober/wathola/config/structure.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/config/tracing.go b/test/upgrade/prober/wathola/config/tracing.go index 20f6839ec26..e36c7231698 100644 --- a/test/upgrade/prober/wathola/config/tracing.go +++ b/test/upgrade/prober/wathola/config/tracing.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/event/operations.go b/test/upgrade/prober/wathola/event/operations.go index c2887a39fd2..b6c3aada7b5 100644 --- a/test/upgrade/prober/wathola/event/operations.go +++ b/test/upgrade/prober/wathola/event/operations.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/event/services.go b/test/upgrade/prober/wathola/event/services.go index ed91bafb6b6..edfab48d629 100644 --- a/test/upgrade/prober/wathola/event/services.go +++ b/test/upgrade/prober/wathola/event/services.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/event/services_test.go b/test/upgrade/prober/wathola/event/services_test.go index e21e2a55bfd..3b55388bdbc 100644 --- a/test/upgrade/prober/wathola/event/services_test.go +++ b/test/upgrade/prober/wathola/event/services_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/event/tracing.go b/test/upgrade/prober/wathola/event/tracing.go index 9eff7773751..7e52d63d6d0 100644 --- a/test/upgrade/prober/wathola/event/tracing.go +++ b/test/upgrade/prober/wathola/event/tracing.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/event/tracing_test.go b/test/upgrade/prober/wathola/event/tracing_test.go index 31a381ca4bd..c756e776cb0 100644 --- a/test/upgrade/prober/wathola/event/tracing_test.go +++ b/test/upgrade/prober/wathola/event/tracing_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/event/types.go b/test/upgrade/prober/wathola/event/types.go index d53284ba420..c137a83b9cf 100644 --- a/test/upgrade/prober/wathola/event/types.go +++ b/test/upgrade/prober/wathola/event/types.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/event/types_test.go b/test/upgrade/prober/wathola/event/types_test.go index cb65551a3dd..fd16644f4f1 100644 --- a/test/upgrade/prober/wathola/event/types_test.go +++ b/test/upgrade/prober/wathola/event/types_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/fetcher/operations.go b/test/upgrade/prober/wathola/fetcher/operations.go index 1fc8b38e775..76377711aaf 100644 --- a/test/upgrade/prober/wathola/fetcher/operations.go +++ b/test/upgrade/prober/wathola/fetcher/operations.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/fetcher/types.go b/test/upgrade/prober/wathola/fetcher/types.go index 5dc98682c49..7a3568d3101 100644 --- a/test/upgrade/prober/wathola/fetcher/types.go +++ b/test/upgrade/prober/wathola/fetcher/types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/forwarder/operations.go b/test/upgrade/prober/wathola/forwarder/operations.go index 4ee037fde30..08c0cf0df5b 100644 --- a/test/upgrade/prober/wathola/forwarder/operations.go +++ b/test/upgrade/prober/wathola/forwarder/operations.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/forwarder/services.go b/test/upgrade/prober/wathola/forwarder/services.go index 1a86445a7df..02d96f788cf 100644 --- a/test/upgrade/prober/wathola/forwarder/services.go +++ b/test/upgrade/prober/wathola/forwarder/services.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/receiver/operations.go b/test/upgrade/prober/wathola/receiver/operations.go index b188cc3afab..d3b7611b00b 100644 --- a/test/upgrade/prober/wathola/receiver/operations.go +++ b/test/upgrade/prober/wathola/receiver/operations.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/receiver/services.go b/test/upgrade/prober/wathola/receiver/services.go index d5af55dbef3..a555d97b53b 100644 --- a/test/upgrade/prober/wathola/receiver/services.go +++ b/test/upgrade/prober/wathola/receiver/services.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/receiver/services_test.go b/test/upgrade/prober/wathola/receiver/services_test.go index 0c71642898f..20243ef9a0c 100644 --- a/test/upgrade/prober/wathola/receiver/services_test.go +++ b/test/upgrade/prober/wathola/receiver/services_test.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/receiver/types.go b/test/upgrade/prober/wathola/receiver/types.go index 4a9d3e074c2..a99bb1c1f79 100644 --- a/test/upgrade/prober/wathola/receiver/types.go +++ b/test/upgrade/prober/wathola/receiver/types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/sender/operations.go b/test/upgrade/prober/wathola/sender/operations.go index 8cbc03a9807..fdba69d1809 100644 --- a/test/upgrade/prober/wathola/sender/operations.go +++ b/test/upgrade/prober/wathola/sender/operations.go @@ -4,7 +4,7 @@ * 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 + * 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, diff --git a/test/upgrade/prober/wathola/sender/services.go b/test/upgrade/prober/wathola/sender/services.go index 38ace276c73..5de21c64b79 100644 --- a/test/upgrade/prober/wathola/sender/services.go +++ b/test/upgrade/prober/wathola/sender/services.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/sender/services_test.go b/test/upgrade/prober/wathola/sender/services_test.go index 16b2f3fba5e..eb6f9495767 100644 --- a/test/upgrade/prober/wathola/sender/services_test.go +++ b/test/upgrade/prober/wathola/sender/services_test.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/prober/wathola/sender/types.go b/test/upgrade/prober/wathola/sender/types.go index 1bbae5c2336..0a53700e682 100644 --- a/test/upgrade/prober/wathola/sender/types.go +++ b/test/upgrade/prober/wathola/sender/types.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/smoke.go b/test/upgrade/smoke.go index 71c5456899d..0c57cefb705 100644 --- a/test/upgrade/smoke.go +++ b/test/upgrade/smoke.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/upgrade.go b/test/upgrade/upgrade.go index 62c3a5df5e6..999dcdbeaad 100644 --- a/test/upgrade/upgrade.go +++ b/test/upgrade/upgrade.go @@ -5,7 +5,7 @@ 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 + 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, diff --git a/test/upgrade/upgrade_test.go b/test/upgrade/upgrade_test.go index 07ddf65eebe..1e2faac4f7d 100644 --- a/test/upgrade/upgrade_test.go +++ b/test/upgrade/upgrade_test.go @@ -8,7 +8,7 @@ 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 + 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, From 57b52eab350a4f46059ddb8ec005cffcfeea3181 Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Wed, 10 Jul 2024 02:33:36 -0400 Subject: [PATCH 04/11] fix: tls dispatcher tests all use different ports (#8088) Signed-off-by: Calum Murray --- pkg/kncloudevents/event_dispatcher_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/kncloudevents/event_dispatcher_test.go b/pkg/kncloudevents/event_dispatcher_test.go index 29b6cd2f2d9..61efde1c2ad 100644 --- a/pkg/kncloudevents/event_dispatcher_test.go +++ b/pkg/kncloudevents/event_dispatcher_test.go @@ -999,9 +999,9 @@ func TestDispatchMessageToTLSEndpointWithReply(t *testing.T) { w.Write(eventToReply.Data()) }) - destinationCA := eventingtlstesting.StartServer(ctxDestination, t, 8334, destinationHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) + destinationCA := eventingtlstesting.StartServer(ctxDestination, t, 8335, destinationHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) destination := duckv1.Addressable{ - URL: apis.HTTPS("localhost:8334"), + URL: apis.HTTPS("localhost:8335"), CACerts: &destinationCA, } @@ -1009,9 +1009,9 @@ func TestDispatchMessageToTLSEndpointWithReply(t *testing.T) { replyEventChan := make(chan cloudevents.Event, 10) replyHandler := eventingtlstesting.EventChannelHandler(replyEventChan) replyReceivedEvents := make([]cloudevents.Event, 0, 10) - replyCA := eventingtlstesting.StartServer(ctxReply, t, 8335, replyHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) + replyCA := eventingtlstesting.StartServer(ctxReply, t, 8336, replyHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) reply := duckv1.Addressable{ - URL: apis.HTTPS("localhost:8335"), + URL: apis.HTTPS("localhost:8336"), CACerts: &replyCA, } @@ -1059,9 +1059,9 @@ func TestDispatchMessageToTLSEndpointWithDeadLetterSink(t *testing.T) { w.WriteHeader(http.StatusInternalServerError) }) - destinationCA := eventingtlstesting.StartServer(ctxDestination, t, 8334, destinationHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) + destinationCA := eventingtlstesting.StartServer(ctxDestination, t, 8337, destinationHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) destination := duckv1.Addressable{ - URL: apis.HTTPS("localhost:8334"), + URL: apis.HTTPS("localhost:8337"), CACerts: &destinationCA, } @@ -1069,9 +1069,9 @@ func TestDispatchMessageToTLSEndpointWithDeadLetterSink(t *testing.T) { dlsEventChan := make(chan cloudevents.Event, 10) dlsHandler := eventingtlstesting.EventChannelHandler(dlsEventChan) dlsReceivedEvents := make([]cloudevents.Event, 0, 10) - dlsCA := eventingtlstesting.StartServer(ctxDls, t, 8335, dlsHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) + dlsCA := eventingtlstesting.StartServer(ctxDls, t, 8338, dlsHandler, kncloudevents.WithDrainQuietPeriod(time.Millisecond)) dls := duckv1.Addressable{ - URL: apis.HTTPS("localhost:8335"), + URL: apis.HTTPS("localhost:8338"), CACerts: &dlsCA, } From ea08684bad50cfbd064226ddf395117e51bed653 Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Thu, 11 Jul 2024 03:59:51 -0400 Subject: [PATCH 05/11] feat: reconcile eventtype v1beta3 resources (#8087) * feat: reconcile eventtype v1beta3 Signed-off-by: Calum Murray * serve v1beta3 CRD Signed-off-by: Calum Murray --------- Signed-off-by: Calum Murray --- config/core/resources/eventtype.yaml | 2 +- .../eventing/v1beta3/eventtype_lifecycle.go | 4 + pkg/reconciler/eventtype/controller.go | 4 +- pkg/reconciler/eventtype/controller_test.go | 2 +- pkg/reconciler/eventtype/eventtype.go | 20 ++++- pkg/reconciler/eventtype/eventtype_test.go | 42 +++++++++- pkg/reconciler/testing/v1/eventtype.go | 79 +++++++++++++++---- pkg/reconciler/testing/v1/listers.go | 8 +- 8 files changed, 130 insertions(+), 31 deletions(-) diff --git a/config/core/resources/eventtype.yaml b/config/core/resources/eventtype.yaml index ed600c327ee..335c14ac421 100644 --- a/config/core/resources/eventtype.yaml +++ b/config/core/resources/eventtype.yaml @@ -23,7 +23,7 @@ spec: group: eventing.knative.dev versions: - name: v1beta3 - served: false + served: true storage: false subresources: status: {} diff --git a/pkg/apis/eventing/v1beta3/eventtype_lifecycle.go b/pkg/apis/eventing/v1beta3/eventtype_lifecycle.go index 0dd08e56e6e..35d994b44ef 100644 --- a/pkg/apis/eventing/v1beta3/eventtype_lifecycle.go +++ b/pkg/apis/eventing/v1beta3/eventtype_lifecycle.go @@ -60,6 +60,10 @@ func (et *EventTypeStatus) MarkReferenceDoesNotExist() { eventTypeCondSet.Manage(et).MarkFalse(EventTypeConditionReferenceExists, "ResourceDoesNotExist", "Resource in spec.reference does not exist") } +func (et *EventTypeStatus) MarkReferenceNotSet() { + eventTypeCondSet.Manage(et).MarkTrueWithReason(EventTypeConditionReferenceExists, "ReferenceNotSet", "spec.reference is not set") +} + func (et *EventTypeStatus) MarkReferenceExistsUnknown(reason, messageFormat string, messageA ...interface{}) { eventTypeCondSet.Manage(et).MarkUnknown(EventTypeConditionReferenceExists, reason, messageFormat, messageA...) } diff --git a/pkg/reconciler/eventtype/controller.go b/pkg/reconciler/eventtype/controller.go index b3397685d8e..c6bec1e476e 100644 --- a/pkg/reconciler/eventtype/controller.go +++ b/pkg/reconciler/eventtype/controller.go @@ -23,8 +23,8 @@ import ( "knative.dev/pkg/configmap" "knative.dev/pkg/controller" - eventtypeinformer "knative.dev/eventing/pkg/client/injection/informers/eventing/v1beta2/eventtype" - eventtypereconciler "knative.dev/eventing/pkg/client/injection/reconciler/eventing/v1beta2/eventtype" + eventtypeinformer "knative.dev/eventing/pkg/client/injection/informers/eventing/v1beta3/eventtype" + eventtypereconciler "knative.dev/eventing/pkg/client/injection/reconciler/eventing/v1beta3/eventtype" ) // NewController initializes the controller and is called by the generated code diff --git a/pkg/reconciler/eventtype/controller_test.go b/pkg/reconciler/eventtype/controller_test.go index 015a838daba..72c9838bcc6 100644 --- a/pkg/reconciler/eventtype/controller_test.go +++ b/pkg/reconciler/eventtype/controller_test.go @@ -27,7 +27,7 @@ import ( // Fake injection informers _ "knative.dev/eventing/pkg/client/injection/informers/eventing/v1/broker/fake" - _ "knative.dev/eventing/pkg/client/injection/informers/eventing/v1beta2/eventtype/fake" + _ "knative.dev/eventing/pkg/client/injection/informers/eventing/v1beta3/eventtype/fake" ) func TestNew(t *testing.T) { diff --git a/pkg/reconciler/eventtype/eventtype.go b/pkg/reconciler/eventtype/eventtype.go index 14f7dbef040..fa6dd32eb8c 100644 --- a/pkg/reconciler/eventtype/eventtype.go +++ b/pkg/reconciler/eventtype/eventtype.go @@ -24,8 +24,9 @@ import ( "go.uber.org/zap" apierrs "k8s.io/apimachinery/pkg/api/errors" - "knative.dev/eventing/pkg/apis/eventing/v1beta2" - eventtypereconciler "knative.dev/eventing/pkg/client/injection/reconciler/eventing/v1beta2/eventtype" + "knative.dev/eventing/pkg/apis/eventing/v1beta3" + eventtypereconciler "knative.dev/eventing/pkg/client/injection/reconciler/eventing/v1beta3/eventtype" + duckv1 "knative.dev/pkg/apis/duck/v1" "knative.dev/pkg/logging" pkgreconciler "knative.dev/pkg/reconciler" ) @@ -38,8 +39,15 @@ type Reconciler struct { var _ eventtypereconciler.Interface = (*Reconciler)(nil) // ReconcileKind implements Interface.ReconcileKind. -// 1. Verify the Reference exists. -func (r *Reconciler) ReconcileKind(ctx context.Context, et *v1beta2.EventType) pkgreconciler.Event { +// 1. Check if there is a reference +// a) if not, reconcile to true +// b) if yes, continue reconciling +// 2. Verify the Reference exist +func (r *Reconciler) ReconcileKind(ctx context.Context, et *v1beta3.EventType) pkgreconciler.Event { + if et.Spec.Reference == nil || isEmptyReference(et.Spec.Reference) { + et.Status.MarkReferenceNotSet() + return nil + } _, err := r.kReferenceResolver.Resolve(ctx, et.Spec.Reference, et) if err != nil { @@ -55,3 +63,7 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, et *v1beta2.EventType) p et.Status.MarkReferenceExists() return nil } + +func isEmptyReference(ref *duckv1.KReference) bool { + return ref.Kind == "" && ref.Group == "" && ref.Name == "" && ref.APIVersion == "" && ref.Namespace == "" && (ref.Address == nil || *ref.Address == "") +} diff --git a/pkg/reconciler/eventtype/eventtype_test.go b/pkg/reconciler/eventtype/eventtype_test.go index 2d0dad57bde..e871d87cad8 100644 --- a/pkg/reconciler/eventtype/eventtype_test.go +++ b/pkg/reconciler/eventtype/eventtype_test.go @@ -34,7 +34,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" clientgotesting "k8s.io/client-go/testing" fakeeventingclient "knative.dev/eventing/pkg/client/injection/client/fake" - "knative.dev/eventing/pkg/client/injection/reconciler/eventing/v1beta2/eventtype" + "knative.dev/eventing/pkg/client/injection/reconciler/eventing/v1beta3/eventtype" . "knative.dev/eventing/pkg/reconciler/testing/v1" "knative.dev/pkg/apis" "knative.dev/pkg/configmap" @@ -87,6 +87,8 @@ func TestReconcile(t *testing.T) { NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithEventTypeReference(brokerReference(eventTypeBroker)), ), }, @@ -94,6 +96,8 @@ func TestReconcile(t *testing.T) { Object: NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithEventTypeReference(brokerReference(eventTypeBroker)), WithInitEventTypeConditions, WithEventTypeResourceDoesNotExist, @@ -112,6 +116,8 @@ func TestReconcile(t *testing.T) { NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithEventTypeReference(channelReference(eventTypeChannel)), ), }, @@ -119,6 +125,8 @@ func TestReconcile(t *testing.T) { Object: NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithInitEventTypeConditions, WithEventTypeReference(channelReference(eventTypeChannel)), WithEventTypeResourceDoesNotExist, @@ -136,6 +144,8 @@ func TestReconcile(t *testing.T) { NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithEventTypeReference(brokerReference(eventTypeBroker)), ), resources.MakeBroker(testNS, eventTypeBroker), @@ -144,6 +154,8 @@ func TestReconcile(t *testing.T) { Object: NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithInitEventTypeConditions, WithEventTypeReference(brokerReference(eventTypeBroker)), WithEventTypeResourceExists, @@ -158,6 +170,8 @@ func TestReconcile(t *testing.T) { NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithEventTypeReference(channelReference(eventTypeChannel)), ), NewInMemoryChannel(eventTypeChannel, testNS), @@ -166,14 +180,36 @@ func TestReconcile(t *testing.T) { Object: NewEventType(eventTypeName, testNS, WithEventTypeType(eventTypeType), WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), WithInitEventTypeConditions, WithEventTypeReference(channelReference(eventTypeChannel)), WithEventTypeResourceExists, ), }}, WantErr: false, - }, - } + }, { + Name: "No reference set", + Key: testKey, + Objects: []runtime.Object{ + NewEventType(eventTypeName, testNS, + WithEventTypeType(eventTypeType), + WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), + ), + }, + WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ + Object: NewEventType(eventTypeName, testNS, + WithInitEventTypeConditions, + WithEventTypeType(eventTypeType), + WithEventTypeSource(eventTypeSource), + WithEventTypeSpecV1(), + WithEventTypeEmptyID(), + WithEventTypeReferenceNotSet), + }}, + WantErr: false, + }} logger := logtesting.TestLogger(t) table.Test(t, MakeFactory(func(ctx context.Context, listers *Listers, cmw configmap.Watcher) controller.Reconciler { diff --git a/pkg/reconciler/testing/v1/eventtype.go b/pkg/reconciler/testing/v1/eventtype.go index 871b90cb3a9..d93ac055bac 100644 --- a/pkg/reconciler/testing/v1/eventtype.go +++ b/pkg/reconciler/testing/v1/eventtype.go @@ -23,16 +23,16 @@ import ( duckv1 "knative.dev/pkg/apis/duck/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/eventing/pkg/apis/eventing/v1beta2" + "knative.dev/eventing/pkg/apis/eventing/v1beta3" "knative.dev/pkg/apis" ) // EventTypeOption enables further configuration of an EventType. -type EventTypeOption func(*v1beta2.EventType) +type EventTypeOption func(*v1beta3.EventType) // NewEventType creates a EventType with EventTypeOptions. -func NewEventType(name, namespace string, o ...EventTypeOption) *v1beta2.EventType { - et := &v1beta2.EventType{ +func NewEventType(name, namespace string, o ...EventTypeOption) *v1beta3.EventType { + et := &v1beta3.EventType{ ObjectMeta: metav1.ObjectMeta{ Namespace: namespace, Name: name, @@ -46,59 +46,106 @@ func NewEventType(name, namespace string, o ...EventTypeOption) *v1beta2.EventTy } // WithInitEventTypeConditions initializes the EventType's conditions. -func WithInitEventTypeConditions(et *v1beta2.EventType) { +func WithInitEventTypeConditions(et *v1beta3.EventType) { et.Status.InitializeConditions() } func WithEventTypeSource(source *apis.URL) EventTypeOption { - return func(et *v1beta2.EventType) { - et.Spec.Source = source + return func(et *v1beta3.EventType) { + if et.Spec.Attributes == nil { + et.Spec.Attributes = make([]v1beta3.EventAttributeDefinition, 0) + } + + et.Spec.Attributes = append(et.Spec.Attributes, v1beta3.EventAttributeDefinition{ + Name: "source", + Required: true, + Value: source.String(), + }) } } func WithEventTypeType(t string) EventTypeOption { - return func(et *v1beta2.EventType) { - et.Spec.Type = t + return func(et *v1beta3.EventType) { + if et.Spec.Attributes == nil { + et.Spec.Attributes = make([]v1beta3.EventAttributeDefinition, 0) + } + + et.Spec.Attributes = append(et.Spec.Attributes, v1beta3.EventAttributeDefinition{ + Name: "type", + Required: true, + Value: t, + }) + } +} + +func WithEventTypeSpecV1() EventTypeOption { + return func(et *v1beta3.EventType) { + if et.Spec.Attributes == nil { + et.Spec.Attributes = make([]v1beta3.EventAttributeDefinition, 0) + } + + et.Spec.Attributes = append(et.Spec.Attributes, v1beta3.EventAttributeDefinition{ + Name: "specversion", + Required: true, + Value: "V1", + }) + } +} + +func WithEventTypeEmptyID() EventTypeOption { + return func(et *v1beta3.EventType) { + if et.Spec.Attributes == nil { + et.Spec.Attributes = make([]v1beta3.EventAttributeDefinition, 0) + } + + et.Spec.Attributes = append(et.Spec.Attributes, v1beta3.EventAttributeDefinition{ + Name: "id", + Required: true, + }) } } func WithEventTypeReference(ref *duckv1.KReference) EventTypeOption { - return func(et *v1beta2.EventType) { + return func(et *v1beta3.EventType) { et.Spec.Reference = ref } } func WithEventTypeDescription(description string) EventTypeOption { - return func(et *v1beta2.EventType) { + return func(et *v1beta3.EventType) { et.Spec.Description = description } } func WithEventTypeLabels(labels map[string]string) EventTypeOption { - return func(et *v1beta2.EventType) { + return func(et *v1beta3.EventType) { et.ObjectMeta.Labels = labels } } func WithEventTypeOwnerReference(ownerRef metav1.OwnerReference) EventTypeOption { - return func(et *v1beta2.EventType) { + return func(et *v1beta3.EventType) { et.ObjectMeta.OwnerReferences = []metav1.OwnerReference{ ownerRef, } } } -func WithEventTypeDeletionTimestamp(et *v1beta2.EventType) { +func WithEventTypeDeletionTimestamp(et *v1beta3.EventType) { t := metav1.NewTime(time.Unix(1e9, 0)) et.ObjectMeta.SetDeletionTimestamp(&t) } // WithEventTypeResourceDoesNotExist calls .Status.MarkFilterFailed on the EventType. -func WithEventTypeResourceDoesNotExist(et *v1beta2.EventType) { +func WithEventTypeResourceDoesNotExist(et *v1beta3.EventType) { et.Status.MarkReferenceDoesNotExist() } // WithEventTypeResourceExists calls .Status.MarkReferenceExists on the EventType. -func WithEventTypeResourceExists(et *v1beta2.EventType) { +func WithEventTypeResourceExists(et *v1beta3.EventType) { et.Status.MarkReferenceExists() } + +func WithEventTypeReferenceNotSet(et *v1beta3.EventType) { + et.Status.MarkReferenceNotSet() +} diff --git a/pkg/reconciler/testing/v1/listers.go b/pkg/reconciler/testing/v1/listers.go index aecff2763d7..2d2c32a9f93 100644 --- a/pkg/reconciler/testing/v1/listers.go +++ b/pkg/reconciler/testing/v1/listers.go @@ -34,7 +34,7 @@ import ( eventingduck "knative.dev/eventing/pkg/apis/duck/v1" eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" eventingv1alpha1 "knative.dev/eventing/pkg/apis/eventing/v1alpha1" - eventingv1beta2 "knative.dev/eventing/pkg/apis/eventing/v1beta2" + eventingv1beta3 "knative.dev/eventing/pkg/apis/eventing/v1beta3" flowsv1 "knative.dev/eventing/pkg/apis/flows/v1" messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" sinksv1alpha1 "knative.dev/eventing/pkg/apis/sinks/v1alpha1" @@ -42,7 +42,7 @@ import ( fakeeventingclientset "knative.dev/eventing/pkg/client/clientset/versioned/fake" eventinglisters "knative.dev/eventing/pkg/client/listers/eventing/v1" eventingv1alpha1listers "knative.dev/eventing/pkg/client/listers/eventing/v1alpha1" - eventingv1beta2listers "knative.dev/eventing/pkg/client/listers/eventing/v1beta2" + eventingv1beta3listers "knative.dev/eventing/pkg/client/listers/eventing/v1beta3" flowslisters "knative.dev/eventing/pkg/client/listers/flows/v1" messaginglisters "knative.dev/eventing/pkg/client/listers/messaging/v1" sinkslisters "knative.dev/eventing/pkg/client/listers/sinks/v1alpha1" @@ -114,8 +114,8 @@ func (l *Listers) GetAllObjects() []runtime.Object { return all } -func (l *Listers) GetEventTypeLister() eventingv1beta2listers.EventTypeLister { - return eventingv1beta2listers.NewEventTypeLister(l.indexerFor(&eventingv1beta2.EventType{})) +func (l *Listers) GetEventTypeLister() eventingv1beta3listers.EventTypeLister { + return eventingv1beta3listers.NewEventTypeLister(l.indexerFor(&eventingv1beta3.EventType{})) } func (l *Listers) GetEventPolicyLister() eventingv1alpha1listers.EventPolicyLister { From bb2e0a30ff68c7f145ef243451c446e1a471b3dc Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Thu, 11 Jul 2024 12:50:56 +0200 Subject: [PATCH 06/11] EventType V1B3: Use proper jsonpath for additional column printer (#8097) :lipstick: Fixing additional column printer error Signed-off-by: Matthias Wessendorf --- config/core/resources/eventtype.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/core/resources/eventtype.yaml b/config/core/resources/eventtype.yaml index 335c14ac421..6acc5e162f3 100644 --- a/config/core/resources/eventtype.yaml +++ b/config/core/resources/eventtype.yaml @@ -132,10 +132,10 @@ spec: additionalPrinterColumns: - name: Type type: string - jsonPath: ".spec.attributes[?(@.name='type')].value" + jsonPath: ".spec.attributes[?(@.name=='type')].value" - name: Source type: string - jsonPath: ".spec.attributes[?(@.name='source')].value" + jsonPath: ".spec.attributes[?(@.name=='source')].value" - name: Reference Name type: string jsonPath: ".spec.reference.name" From 5d6c7802aaec18cf133e8a5bf5f1e7fbe7d8f10f Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Fri, 12 Jul 2024 02:47:06 -0400 Subject: [PATCH 07/11] fix: eventtype conversion sets all required attributes for new version (#8099) Signed-off-by: Calum Murray --- .../eventing/v1beta2/eventtype_conversion.go | 34 +++++++++++++++---- .../v1beta2/eventtype_conversion_test.go | 18 +++++++--- 2 files changed, 41 insertions(+), 11 deletions(-) diff --git a/pkg/apis/eventing/v1beta2/eventtype_conversion.go b/pkg/apis/eventing/v1beta2/eventtype_conversion.go index 6212e245df5..c7569fa8238 100644 --- a/pkg/apis/eventing/v1beta2/eventtype_conversion.go +++ b/pkg/apis/eventing/v1beta2/eventtype_conversion.go @@ -45,19 +45,27 @@ func (source *EventType) ConvertTo(ctx context.Context, to apis.Convertible) err } } - sink.Spec.Attributes = []v1beta3.EventAttributeDefinition{} + sink.Spec.Attributes = []v1beta3.EventAttributeDefinition{ + { + Name: "specversion", + Required: true, + }, + { + Name: "id", + Required: true, + }, + } + // set all required attributes for the v1beta3 resource. if there is no value that makes sense, leave that empty if source.Spec.Type != "" { sink.Spec.Attributes = append(sink.Spec.Attributes, v1beta3.EventAttributeDefinition{ Name: "type", Required: true, Value: source.Spec.Type, }) - } - if source.Spec.Schema != nil { + } else { sink.Spec.Attributes = append(sink.Spec.Attributes, v1beta3.EventAttributeDefinition{ - Name: "schemadata", - Required: false, - Value: source.Spec.Schema.String(), + Name: "type", + Required: true, }) } if source.Spec.Source != nil { @@ -66,6 +74,20 @@ func (source *EventType) ConvertTo(ctx context.Context, to apis.Convertible) err Required: true, Value: source.Spec.Source.String(), }) + } else { + sink.Spec.Attributes = append(sink.Spec.Attributes, v1beta3.EventAttributeDefinition{ + Name: "source", + Required: true, + }) + } + + // convert the schema so that we don't lose it in the conversion. + if source.Spec.Schema != nil { + sink.Spec.Attributes = append(sink.Spec.Attributes, v1beta3.EventAttributeDefinition{ + Name: "schemadata", + Required: false, + Value: source.Spec.Schema.String(), + }) } return nil default: diff --git a/pkg/apis/eventing/v1beta2/eventtype_conversion_test.go b/pkg/apis/eventing/v1beta2/eventtype_conversion_test.go index 058146fc09a..387fb800389 100644 --- a/pkg/apis/eventing/v1beta2/eventtype_conversion_test.go +++ b/pkg/apis/eventing/v1beta2/eventtype_conversion_test.go @@ -79,20 +79,28 @@ func TestEventTypeConversionV1Beta3(t *testing.T) { Description: in.Spec.Description, Attributes: []v1beta3.EventAttributeDefinition{ { - Name: "type", + Name: "specversion", Required: true, - Value: in.Spec.Type, }, { - Name: "schemadata", - Required: false, - Value: in.Spec.Schema.String(), + Name: "id", + Required: true, + }, + { + Name: "type", + Required: true, + Value: in.Spec.Type, }, { Name: "source", Required: true, Value: in.Spec.Source.String(), }, + { + Name: "schemadata", + Required: false, + Value: in.Spec.Schema.String(), + }, }, }, Status: v1beta3.EventTypeStatus{ From a61107c3df2b9ebe5db9ab2c5f24ac7f507978c4 Mon Sep 17 00:00:00 2001 From: Rahul Sawra Date: Fri, 12 Jul 2024 18:00:59 +0530 Subject: [PATCH 08/11] Reconcile event policies for mt-broker (#8090) * reconcile event policies for broker Signed-off-by: rahulii * delete the orphaned event policies by owner references and changes as per review comments Signed-off-by: rahulii * fix tests and move event policy creation to new file Signed-off-by: rahulii * add test cases Signed-off-by: rahulii * add test cases Signed-off-by: rahulii * changes to review comments Signed-off-by: rahulii * changes to review comments Signed-off-by: rahulii * refactor the code to reduce redundant if else statements Signed-off-by: rahulii * change logs from info to debug Signed-off-by: rahulii * use a single logger object instead of creating it everytime from context and some minor fixes Signed-off-by: rahulii --------- Signed-off-by: rahulii --- pkg/reconciler/broker/broker.go | 65 +++++++++++++++ pkg/reconciler/broker/broker_test.go | 81 +++++++++++++++++++ .../broker/resources/eventpolicy.go | 78 ++++++++++++++++++ .../broker/resources/eventpolicy_test.go | 77 ++++++++++++++++++ pkg/reconciler/testing/v1/eventpolicy.go | 8 ++ 5 files changed, 309 insertions(+) create mode 100644 pkg/reconciler/broker/resources/eventpolicy.go create mode 100644 pkg/reconciler/broker/resources/eventpolicy_test.go diff --git a/pkg/reconciler/broker/broker.go b/pkg/reconciler/broker/broker.go index b440cc4df6b..46e2bb32b0d 100644 --- a/pkg/reconciler/broker/broker.go +++ b/pkg/reconciler/broker/broker.go @@ -28,6 +28,7 @@ import ( "k8s.io/apimachinery/pkg/api/meta" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/dynamic" corev1listers "k8s.io/client-go/listers/core/v1" @@ -46,6 +47,7 @@ import ( duckv1 "knative.dev/eventing/pkg/apis/duck/v1" "knative.dev/eventing/pkg/apis/eventing" eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" + eventingv1alpha1 "knative.dev/eventing/pkg/apis/eventing/v1alpha1" "knative.dev/eventing/pkg/apis/feature" messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" "knative.dev/eventing/pkg/auth" @@ -264,6 +266,11 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, b *eventingv1.Broker) pk return fmt.Errorf("could not update broker status with EventPolicies: %v", err) } + // Reconcile the EventPolicy for the Broker. + if err := r.reconcileBrokerChannelEventPolicies(ctx, b, triggerChan, featureFlags); err != nil { + return fmt.Errorf("failed to reconcile EventPolicy for Broker %s: %w", b.Name, err) + } + // So, at this point the Broker is ready and everything should be solid // for the triggers to act upon. return nil @@ -428,6 +435,64 @@ func (r *Reconciler) reconcileChannel(ctx context.Context, channelResourceInterf return channelable, nil } +func (r *Reconciler) reconcileBrokerChannelEventPolicies(ctx context.Context, b *eventingv1.Broker, triggerChan *duckv1.Channelable, featureFlags feature.Flags) error { + logger := logging.FromContext(ctx) + + expected := resources.MakeEventPolicyForBackingChannel(b, triggerChan) + if featureFlags.IsOIDCAuthentication() { + // Get the EventPolicy, create if not exists. + foundEP, err := r.eventPolicyLister.EventPolicies(expected.Namespace).Get(expected.Name) + if apierrs.IsNotFound(err) { + // Create the EventPolicy since it doesn't exist. + logger.Debugw("Creating EventPolicy for Broker %s", expected.Name) + + _, err = r.eventingClientSet.EventingV1alpha1().EventPolicies(expected.Namespace).Create(ctx, expected, metav1.CreateOptions{}) + if err != nil { + return fmt.Errorf("failed to create EventPolicy for Broker %s: %w", expected.Name, err) + } + return nil + } + if err != nil { + return fmt.Errorf("failed to get EventPolicy for Broker %s: %w", expected.Name, err) + } + if policyNeedsUpdate(foundEP, expected) { + // Update the EventPolicy since it exists and needs update. + logger.Debugw("Updating EventPolicy for Broker %s", expected.Name) + expected.SetResourceVersion(foundEP.GetResourceVersion()) + _, err = r.eventingClientSet.EventingV1alpha1().EventPolicies(expected.Namespace).Update(ctx, expected, metav1.UpdateOptions{}) + if err != nil { + return fmt.Errorf("failed to update EventPolicy for Broker %s: %w", expected.Name, err) + } + } + return nil + } + + // List all the orphaned EventPolicies that have owner reference set to the Broker and delete them. + selector, err := labels.ValidatedSelectorFromSet(resources.LabelsForBackingChannelsEventPolicy(b)) + if err != nil { + return fmt.Errorf("could not get valid selector for broker's channel EventPolicy %s/%s: %w", b.Namespace, b.Name, err) + } + eventPolicies, err := r.eventPolicyLister.EventPolicies(expected.Namespace).List(selector) + if err != nil { + return fmt.Errorf("failed to list EventPolicies for Broker %s: %w", expected.Name, err) + } + for _, ep := range eventPolicies { + if metav1.IsControlledBy(ep, b) { + logger.Debugw("Deleting EventPolicy for Broker %s", expected.Name) + err := r.eventingClientSet.EventingV1alpha1().EventPolicies(ep.Namespace).Delete(ctx, ep.Name, metav1.DeleteOptions{}) + if err != nil { + return fmt.Errorf("failed to delete EventPolicy for Broker %s: %w", expected.Name, err) + } + logger.Debugw("Deleted EventPolicy for Broker %s", expected.Name) + } + } + return nil +} + +func policyNeedsUpdate(foundEP, expected *eventingv1alpha1.EventPolicy) bool { + return !equality.Semantic.DeepDerivative(expected, foundEP) +} + // TriggerChannelLabels are all the labels placed on the Trigger Channel for the given brokerName. This // should only be used by Broker and Trigger code. func TriggerChannelLabels(brokerName, brokerNamespace string) map[string]string { diff --git a/pkg/reconciler/broker/broker_test.go b/pkg/reconciler/broker/broker_test.go index 06c90bc3deb..3081a50c299 100644 --- a/pkg/reconciler/broker/broker_test.go +++ b/pkg/reconciler/broker/broker_test.go @@ -46,6 +46,7 @@ import ( "knative.dev/eventing/pkg/apis/eventing" eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" + eventingv1alpha1 "knative.dev/eventing/pkg/apis/eventing/v1alpha1" "knative.dev/eventing/pkg/apis/feature" "knative.dev/eventing/pkg/auth" fakeeventingclient "knative.dev/eventing/pkg/client/injection/client/fake" @@ -57,6 +58,7 @@ import ( . "knative.dev/pkg/reconciler/testing" _ "knative.dev/eventing/pkg/client/injection/informers/eventing/v1/trigger/fake" + "knative.dev/eventing/pkg/reconciler/broker/resources" . "knative.dev/eventing/pkg/reconciler/testing/v1" ) @@ -144,6 +146,12 @@ var ( Version: "v1", Kind: "Broker", } + + channelV1GVK = metav1.GroupVersionKind{ + Group: "messaging.knative.dev", + Version: "v1", + Kind: "InMemoryChannel", + } ) func TestReconcile(t *testing.T) { @@ -780,6 +788,9 @@ func TestReconcile(t *testing.T) { WithEndpointsAddresses(corev1.EndpointAddress{IP: "127.0.0.1"})), }, WantErr: false, + WantCreates: []runtime.Object{ + makeEventPolicy(), + }, WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ Object: NewBroker(brokerName, testNS, WithBrokerClass(eventing.MTChannelBrokerClassValue), @@ -824,6 +835,9 @@ func TestReconcile(t *testing.T) { WithEventPolicyToRef(brokerV1GVK, brokerName), ), }, + WantCreates: []runtime.Object{ + makeEventPolicy(), + }, WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ Object: NewBroker(brokerName, testNS, WithBrokerClass(eventing.MTChannelBrokerClassValue), @@ -866,6 +880,9 @@ func TestReconcile(t *testing.T) { WithEventPolicyToRef(brokerV1GVK, brokerName), ), }, + WantCreates: []runtime.Object{ + makeEventPolicy(), + }, WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ Object: NewBroker(brokerName, testNS, WithBrokerClass(eventing.MTChannelBrokerClassValue), @@ -911,6 +928,9 @@ func TestReconcile(t *testing.T) { WithEventPolicyToRef(brokerV1GVK, brokerName), ), }, + WantCreates: []runtime.Object{ + makeEventPolicy(), + }, WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ Object: NewBroker(brokerName, testNS, WithBrokerClass(eventing.MTChannelBrokerClassValue), @@ -932,6 +952,47 @@ func TestReconcile(t *testing.T) { Ctx: feature.ToContext(context.Background(), feature.Flags{ feature.OIDCAuthentication: feature.Enabled, }), + }, { + Name: "Should create an Event Policy for a Broker's underlying Channel", + Key: testKey, + Objects: []runtime.Object{ + NewBroker(brokerName, testNS, + WithBrokerClass(eventing.MTChannelBrokerClassValue), + WithBrokerConfig(config()), + WithInitBrokerConditions), + createChannel(withChannelReady), + imcConfigMap(), + NewEndpoints(filterServiceName, systemNS, + WithEndpointsLabels(FilterLabels()), + WithEndpointsAddresses(corev1.EndpointAddress{IP: "127.0.0.1"})), + NewEndpoints(ingressServiceName, systemNS, + WithEndpointsLabels(IngressLabels()), + WithEndpointsAddresses(corev1.EndpointAddress{IP: "127.0.0.1"})), + }, + WantCreates: []runtime.Object{ + makeEventPolicy(), + }, + WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ + Object: NewBroker(brokerName, testNS, + WithBrokerClass(eventing.MTChannelBrokerClassValue), + WithBrokerConfig(config()), + WithBrokerReady, + WithBrokerAddress(&duckv1.Addressable{ + URL: brokerAddress, + Audience: &brokerAudience, + }), + WithChannelAddressAnnotation(triggerChannelURL), + WithChannelAPIVersionAnnotation(triggerChannelAPIVersion), + WithChannelKindAnnotation(triggerChannelKind), + WithChannelNameAnnotation(triggerChannelName), + WithDLSNotConfigured(), + WithBrokerEventPoliciesReadyBecauseNoPolicyAndOIDCEnabled(), + ), + }}, + Ctx: feature.ToContext(context.Background(), feature.Flags{ + feature.OIDCAuthentication: feature.Enabled, + feature.AuthorizationDefaultMode: feature.AuthorizationAllowSameNamespace, + }), }, } @@ -1227,3 +1288,23 @@ func makeTLSSecret() *corev1.Secret { Type: corev1.SecretTypeTLS, } } + +func makeEventPolicy() *eventingv1alpha1.EventPolicy { + return NewEventPolicy(resources.BrokerEventPolicyName(brokerName, triggerChannelName), testNS, + WithEventPolicyToRef(channelV1GVK, triggerChannelName), + WithEventPolicyFromSub(resources.OIDCBrokerSub), + WithEventPolicyOwnerReferences([]metav1.OwnerReference{ + { + APIVersion: "eventing.knative.dev/v1", + Kind: "Broker", + Name: brokerName, + }, + }...), + WithEventPolicyLabels(map[string]string{ + "eventing.knative.dev/" + "broker-group": brokerV1GVK.Group, + "eventing.knative.dev/" + "broker-version": brokerV1GVK.Version, + "eventing.knative.dev/" + "broker-kind": brokerV1GVK.Kind, + "eventing.knative.dev/" + "broker-name": brokerName, + }), + ) +} diff --git a/pkg/reconciler/broker/resources/eventpolicy.go b/pkg/reconciler/broker/resources/eventpolicy.go new file mode 100644 index 00000000000..e9cba27c542 --- /dev/null +++ b/pkg/reconciler/broker/resources/eventpolicy.go @@ -0,0 +1,78 @@ +/* +Copyright 2024 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. +*/ + +package resources + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" + eventingduckv1 "knative.dev/eventing/pkg/apis/duck/v1" + eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" + eventingv1alpha1 "knative.dev/eventing/pkg/apis/eventing/v1alpha1" + "knative.dev/pkg/kmeta" +) + +const ( + BackingChannelEventPolicyLabelPrefix = "eventing.knative.dev/" + OIDCBrokerSub = "system:serviceaccount:knative-eventing:mt-broker-ingress-oidc" + brokerKind = "Broker" +) + +func MakeEventPolicyForBackingChannel(b *eventingv1.Broker, backingChannel *eventingduckv1.Channelable) *eventingv1alpha1.EventPolicy { + return &eventingv1alpha1.EventPolicy{ + ObjectMeta: metav1.ObjectMeta{ + Namespace: backingChannel.Namespace, + Name: BrokerEventPolicyName(b.Name, backingChannel.Name), + OwnerReferences: []metav1.OwnerReference{ + { + APIVersion: eventingv1.SchemeGroupVersion.String(), + Kind: brokerKind, + Name: b.Name, + }, + }, + Labels: LabelsForBackingChannelsEventPolicy(b), + }, + Spec: eventingv1alpha1.EventPolicySpec{ + To: []eventingv1alpha1.EventPolicySpecTo{ + { + Ref: &eventingv1alpha1.EventPolicyToReference{ + APIVersion: backingChannel.APIVersion, + Kind: backingChannel.Kind, + Name: backingChannel.Name, + }, + }, + }, + From: []eventingv1alpha1.EventPolicySpecFrom{ + { + Sub: ptr.To(OIDCBrokerSub), + }, + }, + }, + } +} + +func LabelsForBackingChannelsEventPolicy(broker *eventingv1.Broker) map[string]string { + return map[string]string{ + BackingChannelEventPolicyLabelPrefix + "broker-group": eventingv1.SchemeGroupVersion.Group, + BackingChannelEventPolicyLabelPrefix + "broker-version": eventingv1.SchemeGroupVersion.Version, + BackingChannelEventPolicyLabelPrefix + "broker-kind": brokerKind, + BackingChannelEventPolicyLabelPrefix + "broker-name": broker.Name, + } +} + +func BrokerEventPolicyName(brokerName, channelName string) string { + return kmeta.ChildName(brokerName, "-ep-"+channelName) +} diff --git a/pkg/reconciler/broker/resources/eventpolicy_test.go b/pkg/reconciler/broker/resources/eventpolicy_test.go new file mode 100644 index 00000000000..148da67b0ec --- /dev/null +++ b/pkg/reconciler/broker/resources/eventpolicy_test.go @@ -0,0 +1,77 @@ +/* +Copyright 2024 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. +*/ + +package resources + +import ( + "testing" + + "github.com/google/go-cmp/cmp" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/utils/ptr" + eventingduckv1 "knative.dev/eventing/pkg/apis/duck/v1" + eventingv1 "knative.dev/eventing/pkg/apis/eventing/v1" + eventingv1alpha1 "knative.dev/eventing/pkg/apis/eventing/v1alpha1" +) + +func TestMakeEventPolicyForBackingChannel(t *testing.T) { + broker := &eventingv1.Broker{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-broker", + Namespace: "test-namespace", + }, + } + backingChannel := &eventingduckv1.Channelable{ + ObjectMeta: metav1.ObjectMeta{ + Name: "test-channel", + Namespace: "test-namespace", + }, + } + want := &eventingv1alpha1.EventPolicy{ + ObjectMeta: metav1.ObjectMeta{ + Namespace: "test-namespace", + Name: BrokerEventPolicyName(broker.Name, backingChannel.Name), + OwnerReferences: []metav1.OwnerReference{ + { + APIVersion: "eventing.knative.dev/v1", + Kind: "Broker", + Name: "test-broker", + }, + }, + Labels: LabelsForBackingChannelsEventPolicy(broker), + }, + Spec: eventingv1alpha1.EventPolicySpec{ + To: []eventingv1alpha1.EventPolicySpecTo{ + { + Ref: &eventingv1alpha1.EventPolicyToReference{ + APIVersion: backingChannel.APIVersion, + Kind: backingChannel.Kind, + Name: backingChannel.Name, + }, + }, + }, + From: []eventingv1alpha1.EventPolicySpecFrom{ + { + Sub: ptr.To(OIDCBrokerSub), + }, + }, + }, + } + got := MakeEventPolicyForBackingChannel(broker, backingChannel) + if diff := cmp.Diff(want, got); diff != "" { + t.Errorf("MakeEventPolicyForBackingChannel() (-want, +got) = %v", diff) + } +} diff --git a/pkg/reconciler/testing/v1/eventpolicy.go b/pkg/reconciler/testing/v1/eventpolicy.go index 442fd397483..df0dedc9700 100644 --- a/pkg/reconciler/testing/v1/eventpolicy.go +++ b/pkg/reconciler/testing/v1/eventpolicy.go @@ -138,6 +138,14 @@ func WithEventPolicyFrom(gvk metav1.GroupVersionKind, name, namespace string) Ev } } +func WithEventPolicyFromSub(sub string) EventPolicyOption { + return func(ep *v1alpha1.EventPolicy) { + ep.Spec.From = append(ep.Spec.From, v1alpha1.EventPolicySpecFrom{ + Sub: &sub, + }) + } +} + func WithEventPolicyLabels(labels map[string]string) EventPolicyOption { return func(ep *v1alpha1.EventPolicy) { ep.ObjectMeta.Labels = labels From e73f2c91d08a982b43adf67c6644bcd89ac1b071 Mon Sep 17 00:00:00 2001 From: Rahul Sawra Date: Fri, 12 Jul 2024 19:03:27 +0530 Subject: [PATCH 09/11] List applying policies in Parallel (#8083) * lifecycle changes for evebtpolicies in parallel Signed-off-by: rahulii * controller changes for eventpolicies and add tests Signed-off-by: rahulii * fix review comments Signed-off-by: rahulii * fix to review comments Signed-off-by: rahulii * add featurestore to watch configmaps Signed-off-by: rahulii * add featurestore to reconciler impl Signed-off-by: rahulii --------- Signed-off-by: rahulii --- pkg/apis/flows/v1/parallel_lifecycle.go | 26 ++- pkg/apis/flows/v1/parallel_lifecycle_test.go | 166 +++++++++++-------- pkg/reconciler/parallel/controller.go | 30 +++- pkg/reconciler/parallel/controller_test.go | 11 +- pkg/reconciler/parallel/parallel.go | 12 ++ pkg/reconciler/parallel/parallel_test.go | 158 +++++++++++++++++- pkg/reconciler/testing/v1/parallel.go | 38 +++++ 7 files changed, 368 insertions(+), 73 deletions(-) diff --git a/pkg/apis/flows/v1/parallel_lifecycle.go b/pkg/apis/flows/v1/parallel_lifecycle.go index 99c283108a2..e8cbb3da132 100644 --- a/pkg/apis/flows/v1/parallel_lifecycle.go +++ b/pkg/apis/flows/v1/parallel_lifecycle.go @@ -25,7 +25,7 @@ import ( pkgduckv1 "knative.dev/pkg/apis/duck/v1" ) -var pCondSet = apis.NewLivingConditionSet(ParallelConditionReady, ParallelConditionChannelsReady, ParallelConditionSubscriptionsReady, ParallelConditionAddressable) +var pCondSet = apis.NewLivingConditionSet(ParallelConditionReady, ParallelConditionChannelsReady, ParallelConditionSubscriptionsReady, ParallelConditionAddressable, ParallelConditionEventPoliciesReady) const ( // ParallelConditionReady has status True when all subconditions below have been set to True. @@ -42,6 +42,10 @@ const ( // ParallelConditionAddressable has status true when this Parallel meets // the Addressable contract and has a non-empty hostname. ParallelConditionAddressable apis.ConditionType = "Addressable" + + // ParallelConditionEventPoliciesReady has status True when applying EventPolicies for this + // Parallel are ready or if there are no EventPolicies. + ParallelConditionEventPoliciesReady apis.ConditionType = "EventPoliciesReady" ) // GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface. @@ -217,3 +221,23 @@ func (ps *ParallelStatus) setAddress(address *pkgduckv1.Addressable) { pCondSet.Manage(ps).MarkTrue(ParallelConditionAddressable) } } + +// MarkEventPoliciesFailed marks the ParallelConditionEventPoliciesReady as False with the given reason and message. +func (ps *ParallelStatus) MarkEventPoliciesFailed(reason, messageFormat string, messageA ...interface{}) { + pCondSet.Manage(ps).MarkFalse(ParallelConditionEventPoliciesReady, reason, messageFormat, messageA...) +} + +// MarkEventPoliciesUnknown marks the ParallelConditionEventPoliciesReady as Unknown with the given reason and message. +func (ps *ParallelStatus) MarkEventPoliciesUnknown(reason, messageFormat string, messageA ...interface{}) { + pCondSet.Manage(ps).MarkUnknown(ParallelConditionEventPoliciesReady, reason, messageFormat, messageA...) +} + +// MarkEventPoliciesTrue marks the ParallelConditionEventPoliciesReady as True. +func (ps *ParallelStatus) MarkEventPoliciesTrue() { + pCondSet.Manage(ps).MarkTrue(ParallelConditionEventPoliciesReady) +} + +// MarkEventPoliciesTrueWithReason marks the ParallelConditionEventPoliciesReady as True with the given reason and message. +func (ps *ParallelStatus) MarkEventPoliciesTrueWithReason(reason, messageFormat string, messageA ...interface{}) { + pCondSet.Manage(ps).MarkTrueWithReason(ParallelConditionEventPoliciesReady, reason, messageFormat, messageA...) +} diff --git a/pkg/apis/flows/v1/parallel_lifecycle_test.go b/pkg/apis/flows/v1/parallel_lifecycle_test.go index cb9d2957503..351e8b1a0d5 100644 --- a/pkg/apis/flows/v1/parallel_lifecycle_test.go +++ b/pkg/apis/flows/v1/parallel_lifecycle_test.go @@ -90,6 +90,9 @@ func TestParallelInitializeConditions(t *testing.T) { }, { Type: ParallelConditionChannelsReady, Status: corev1.ConditionUnknown, + }, { + Type: ParallelConditionEventPoliciesReady, + Status: corev1.ConditionUnknown, }, { Type: ParallelConditionReady, Status: corev1.ConditionUnknown, @@ -117,6 +120,9 @@ func TestParallelInitializeConditions(t *testing.T) { }, { Type: ParallelConditionChannelsReady, Status: corev1.ConditionFalse, + }, { + Type: ParallelConditionEventPoliciesReady, + Status: corev1.ConditionUnknown, }, { Type: ParallelConditionReady, Status: corev1.ConditionUnknown, @@ -144,6 +150,9 @@ func TestParallelInitializeConditions(t *testing.T) { }, { Type: ParallelConditionChannelsReady, Status: corev1.ConditionUnknown, + }, { + Type: ParallelConditionEventPoliciesReady, + Status: corev1.ConditionUnknown, }, { Type: ParallelConditionReady, Status: corev1.ConditionUnknown, @@ -435,82 +444,101 @@ func TestParallelPropagateSubscriptionStatusUpdated(t *testing.T) { func TestParallelReady(t *testing.T) { tests := []struct { - name string - fsubs []*messagingv1.Subscription - subs []*messagingv1.Subscription - ichannel *eventingduckv1.Channelable - channels []*eventingduckv1.Channelable - want bool + name string + fsubs []*messagingv1.Subscription + subs []*messagingv1.Subscription + ichannel *eventingduckv1.Channelable + channels []*eventingduckv1.Channelable + eventPoliciesReady bool + want bool }{{ - name: "ingress false, empty", - fsubs: []*messagingv1.Subscription{}, - subs: []*messagingv1.Subscription{}, - ichannel: getChannelable(false), - channels: []*eventingduckv1.Channelable{}, - want: false, + name: "ingress false, empty", + fsubs: []*messagingv1.Subscription{}, + subs: []*messagingv1.Subscription{}, + ichannel: getChannelable(false), + channels: []*eventingduckv1.Channelable{}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress true, empty", - fsubs: []*messagingv1.Subscription{}, - subs: []*messagingv1.Subscription{}, - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{}, - want: false, + name: "ingress true, empty", + fsubs: []*messagingv1.Subscription{}, + subs: []*messagingv1.Subscription{}, + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress true, one channelable not ready, one subscription ready", - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{getChannelable(false)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true)}, - want: false, + name: "ingress true, one channelable not ready, one subscription ready", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(false)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true)}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress true, one channelable ready, one subscription not ready", - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{getChannelable(true)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", false)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", false)}, - want: false, + name: "ingress true, one channelable ready, one subscription not ready", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", false)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", false)}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress false, one channelable ready, one subscription ready", - ichannel: getChannelable(false), - channels: []*eventingduckv1.Channelable{getChannelable(true)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true)}, - want: false, + name: "ingress false, one channelable ready, one subscription ready", + ichannel: getChannelable(false), + channels: []*eventingduckv1.Channelable{getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true)}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress true, one channelable ready, one subscription ready", - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{getChannelable(true)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true)}, - want: true, + name: "ingress true, one channelable ready, one subscription ready", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true)}, + eventPoliciesReady: true, + want: true, }, { - name: "ingress true, one channelable ready, one not, two subscriptions ready", - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(false)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, - want: false, + name: "ingress true, one channelable ready, one not, two subscriptions ready", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(false)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress true, two channelables ready, one subscription ready, one not", - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", false)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", false)}, - want: false, + name: "ingress true, two channelables ready, one subscription ready, one not", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", false)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", false)}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress false, two channelables ready, two subscriptions ready", - ichannel: getChannelable(false), - channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, - want: false, + name: "ingress false, two channelables ready, two subscriptions ready", + ichannel: getChannelable(false), + channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, + eventPoliciesReady: true, + want: false, }, { - name: "ingress true, two channelables ready, two subscriptions ready", - ichannel: getChannelable(true), - channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, - fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, - subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, - want: true, + name: "ingress true, two channelables ready, two subscriptions ready", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, + eventPoliciesReady: true, + want: true, + }, { + name: "ingress true, two channelables ready, two subscriptions ready, event policies not ready", + ichannel: getChannelable(true), + channels: []*eventingduckv1.Channelable{getChannelable(true), getChannelable(true)}, + fsubs: []*messagingv1.Subscription{getSubscription("fsub0", true), getSubscription("fsub1", true)}, + subs: []*messagingv1.Subscription{getSubscription("sub0", true), getSubscription("sub1", true)}, + eventPoliciesReady: false, + want: false, }} for _, test := range tests { @@ -518,6 +546,12 @@ func TestParallelReady(t *testing.T) { ps := ParallelStatus{} ps.PropagateChannelStatuses(test.ichannel, test.channels) ps.PropagateSubscriptionStatuses(test.fsubs, test.subs) + + if test.eventPoliciesReady { + ps.MarkEventPoliciesTrue() + } else { + ps.MarkEventPoliciesFailed("", "") + } got := ps.IsReady() want := test.want if want != got { diff --git a/pkg/reconciler/parallel/controller.go b/pkg/reconciler/parallel/controller.go index 8a9f6d3ea56..ddebfa6c4e8 100644 --- a/pkg/reconciler/parallel/controller.go +++ b/pkg/reconciler/parallel/controller.go @@ -20,14 +20,18 @@ import ( "context" "k8s.io/client-go/tools/cache" + "knative.dev/eventing/pkg/apis/feature" v1 "knative.dev/eventing/pkg/apis/flows/v1" + "knative.dev/eventing/pkg/auth" "knative.dev/eventing/pkg/duck" "knative.dev/pkg/configmap" "knative.dev/pkg/controller" "knative.dev/pkg/injection/clients/dynamicclient" + "knative.dev/pkg/logging" eventingclient "knative.dev/eventing/pkg/client/injection/client" "knative.dev/eventing/pkg/client/injection/ducks/duck/v1/channelable" + "knative.dev/eventing/pkg/client/injection/informers/eventing/v1alpha1/eventpolicy" "knative.dev/eventing/pkg/client/injection/informers/flows/v1/parallel" "knative.dev/eventing/pkg/client/injection/informers/messaging/v1/subscription" parallelreconciler "knative.dev/eventing/pkg/client/injection/reconciler/flows/v1/parallel" @@ -42,14 +46,29 @@ func NewController( parallelInformer := parallel.Get(ctx) subscriptionInformer := subscription.Get(ctx) + eventPolicyInformer := eventpolicy.Get(ctx) r := &Reconciler{ parallelLister: parallelInformer.Lister(), subscriptionLister: subscriptionInformer.Lister(), dynamicClientSet: dynamicclient.Get(ctx), eventingClientSet: eventingclient.Get(ctx), + eventPolicyLister: eventPolicyInformer.Lister(), } - impl := parallelreconciler.NewImpl(ctx, r) + + var globalResync func() + featureStore := feature.NewStore(logging.FromContext(ctx).Named("feature-config-store"), func(name string, value interface{}) { + if globalResync != nil { + globalResync() + } + }) + featureStore.WatchConfigs(cmw) + + impl := parallelreconciler.NewImpl(ctx, r, func(impl *controller.Impl) controller.Options { + return controller.Options{ + ConfigStore: featureStore, + } + }) r.channelableTracker = duck.NewListableTrackerFromTracker(ctx, channelable.Get, impl.Tracker) parallelInformer.Informer().AddEventHandler(controller.HandleAll(impl.Enqueue)) @@ -61,5 +80,14 @@ func NewController( Handler: controller.HandleAll(impl.EnqueueControllerOf), }) + parallelGK := v1.Kind("Parallel") + // Enqueue the Parallel, if we have an EventPolicy which was referencing + // or got updated and now is referencing the Parallel + eventPolicyInformer.Informer().AddEventHandler(auth.EventPolicyEventHandler( + parallelInformer.Informer().GetIndexer(), + parallelGK, + impl.EnqueueKey, + )) + return impl } diff --git a/pkg/reconciler/parallel/controller_test.go b/pkg/reconciler/parallel/controller_test.go index 9b6b1e5c618..55dec60eba6 100644 --- a/pkg/reconciler/parallel/controller_test.go +++ b/pkg/reconciler/parallel/controller_test.go @@ -19,11 +19,15 @@ package parallel import ( "testing" + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "knative.dev/pkg/configmap" . "knative.dev/pkg/reconciler/testing" // Fake injection informers + "knative.dev/eventing/pkg/apis/feature" _ "knative.dev/eventing/pkg/client/injection/ducks/duck/v1/channelable/fake" + _ "knative.dev/eventing/pkg/client/injection/informers/eventing/v1alpha1/eventpolicy/fake" _ "knative.dev/eventing/pkg/client/injection/informers/flows/v1/parallel/fake" _ "knative.dev/eventing/pkg/client/injection/informers/messaging/v1/subscription/fake" ) @@ -31,7 +35,12 @@ import ( func TestNew(t *testing.T) { ctx, _ := SetupFakeContext(t) - c := NewController(ctx, configmap.NewStaticWatcher()) + c := NewController(ctx, configmap.NewStaticWatcher(&corev1.ConfigMap{ + ObjectMeta: metav1.ObjectMeta{ + Name: feature.FlagsConfigName, + Namespace: "knative-eventing", + }, + })) if c == nil { t.Fatal("Expected NewController to return a non-nil value") diff --git a/pkg/reconciler/parallel/parallel.go b/pkg/reconciler/parallel/parallel.go index eeefb989d03..eb2bb010f92 100644 --- a/pkg/reconciler/parallel/parallel.go +++ b/pkg/reconciler/parallel/parallel.go @@ -36,10 +36,13 @@ import ( pkgreconciler "knative.dev/pkg/reconciler" duckv1 "knative.dev/eventing/pkg/apis/duck/v1" + "knative.dev/eventing/pkg/apis/feature" v1 "knative.dev/eventing/pkg/apis/flows/v1" messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" + "knative.dev/eventing/pkg/auth" clientset "knative.dev/eventing/pkg/client/clientset/versioned" parallelreconciler "knative.dev/eventing/pkg/client/injection/reconciler/flows/v1/parallel" + eventingv1alpha1listers "knative.dev/eventing/pkg/client/listers/eventing/v1alpha1" listers "knative.dev/eventing/pkg/client/listers/flows/v1" messaginglisters "knative.dev/eventing/pkg/client/listers/messaging/v1" ducklib "knative.dev/eventing/pkg/duck" @@ -58,6 +61,8 @@ type Reconciler struct { // dynamicClientSet allows us to configure pluggable Build objects dynamicClientSet dynamic.Interface + + eventPolicyLister eventingv1alpha1listers.EventPolicyLister } // Check that our Reconciler implements parallelreconciler.Interface @@ -71,6 +76,8 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, p *v1.Parallel) pkgrecon // 2.2 create a Subscription to the filter Channel, subscribe the subscriber and send reply to // either the branch Reply. If not present, send reply to the global Reply. If not present, do not send reply. // 3. Rinse and repeat step #2 above for each branch in the list + featureFlags := feature.FromContext(ctx) + if p.Status.BranchStatuses == nil { p.Status.BranchStatuses = make([]v1.ParallelBranchStatus, 0) } @@ -137,6 +144,11 @@ func (r *Reconciler) ReconcileKind(ctx context.Context, p *v1.Parallel) pkgrecon return fmt.Errorf("error removing unwanted Subscriptions: %w", err) } + err := auth.UpdateStatusWithEventPolicies(featureFlags, &p.Status.AppliedEventPoliciesStatus, &p.Status, r.eventPolicyLister, v1.SchemeGroupVersion.WithKind("Parallel"), p.ObjectMeta) + if err != nil { + return fmt.Errorf("could not update parallel status with EventPolicies: %v", err) + } + return nil } diff --git a/pkg/reconciler/parallel/parallel_test.go b/pkg/reconciler/parallel/parallel_test.go index b97a077748b..1c4fe0310ee 100644 --- a/pkg/reconciler/parallel/parallel_test.go +++ b/pkg/reconciler/parallel/parallel_test.go @@ -53,10 +53,12 @@ import ( ) const ( - testNS = "test-namespace" - parallelName = "test-parallel" - replyChannelName = "reply-channel" - parallelGeneration = 79 + testNS = "test-namespace" + parallelName = "test-parallel" + replyChannelName = "reply-channel" + parallelGeneration = 79 + readyEventPolicyName = "test-event-policy-ready" + unreadyEventPolicyName = "test-event-policy-unready" ) var ( @@ -65,6 +67,12 @@ var ( Version: "v1", Kind: "Subscriber", } + + parallelGVK = metav1.GroupVersionKind{ + Group: "flows.knative.dev", + Version: "v1", + Kind: "Parallel", + } ) func TestAllBranches(t *testing.T) { @@ -137,6 +145,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -173,6 +182,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -209,6 +219,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -249,6 +260,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelChannelsNotReady("ChannelsNotReady", "Channels are not ready yet, or there are none"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -289,6 +301,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelChannelsNotReady("ChannelsNotReady", "Channels are not ready yet, or there are none"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -339,6 +352,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{ { FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), @@ -398,6 +412,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{ { FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), @@ -456,6 +471,7 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -553,6 +569,139 @@ func TestAllBranches(t *testing.T) { WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled(), + WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ + FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), + FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), + SubscriptionStatus: createParallelSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), + }})), + }}, + }, { + Name: "Should provision applying EventPolicies", + Key: pKey, + Objects: []runtime.Object{ + NewFlowsParallel(parallelName, testNS, + WithInitFlowsParallelConditions, + WithFlowsParallelChannelTemplateSpec(imc), + WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + })), + NewEventPolicy(readyEventPolicyName, testNS, + WithReadyEventPolicyCondition, + WithEventPolicyToRef(parallelGVK, parallelName), + ), + }, + WantErr: false, + WantCreates: []runtime.Object{ + createChannel(parallelName), + createBranchChannel(parallelName, 0), + resources.NewFilterSubscription(0, NewFlowsParallel(parallelName, testNS, WithFlowsParallelChannelTemplateSpec(imc), WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + }))), + resources.NewSubscription(0, NewFlowsParallel(parallelName, testNS, WithFlowsParallelChannelTemplateSpec(imc), WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + }))), + }, + WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ + Object: NewFlowsParallel(parallelName, testNS, + WithInitFlowsParallelConditions, + WithFlowsParallelChannelTemplateSpec(imc), + WithFlowsParallelBranches([]v1.ParallelBranch{{Filter: createFilter(0), Subscriber: createSubscriber(0)}}), + WithFlowsParallelChannelsNotReady("ChannelsNotReady", "Channels are not ready yet, or there are none"), + WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), + WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), + WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesReady(), + WithFlowsParallelEventPoliciesListed(readyEventPolicyName), + WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ + FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), + FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), + SubscriptionStatus: createParallelSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), + }})), + }}, + }, { + Name: "Should mark as NotReady on unready EventPolicies", + Key: pKey, + Objects: []runtime.Object{ + NewFlowsParallel(parallelName, testNS, + WithInitFlowsParallelConditions, + WithFlowsParallelChannelTemplateSpec(imc), + WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + })), + NewEventPolicy(unreadyEventPolicyName, testNS, + WithUnreadyEventPolicyCondition("", ""), + WithEventPolicyToRef(parallelGVK, parallelName), + ), + }, + WantErr: false, + WantCreates: []runtime.Object{ + createChannel(parallelName), + createBranchChannel(parallelName, 0), + resources.NewFilterSubscription(0, NewFlowsParallel(parallelName, testNS, WithFlowsParallelChannelTemplateSpec(imc), WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + }))), + resources.NewSubscription(0, NewFlowsParallel(parallelName, testNS, WithFlowsParallelChannelTemplateSpec(imc), WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + }))), + }, + WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ + Object: NewFlowsParallel(parallelName, testNS, + WithInitFlowsParallelConditions, + WithFlowsParallelChannelTemplateSpec(imc), + WithFlowsParallelBranches([]v1.ParallelBranch{{Filter: createFilter(0), Subscriber: createSubscriber(0)}}), + WithFlowsParallelChannelsNotReady("ChannelsNotReady", "Channels are not ready yet, or there are none"), + WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), + WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), + WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesNotReady("EventPoliciesNotReady", fmt.Sprintf("event policies %s are not ready", unreadyEventPolicyName)), + WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ + FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), + FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), + SubscriptionStatus: createParallelSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), + }})), + }}, + }, { + Name: "should list only Ready EventPolicies", + Key: pKey, + Objects: []runtime.Object{ + NewFlowsParallel(parallelName, testNS, + WithInitFlowsParallelConditions, + WithFlowsParallelChannelTemplateSpec(imc), + WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + })), + NewEventPolicy(unreadyEventPolicyName, testNS, + WithUnreadyEventPolicyCondition("", ""), + WithEventPolicyToRef(parallelGVK, parallelName), + ), + NewEventPolicy(readyEventPolicyName, testNS, + WithReadyEventPolicyCondition, + WithEventPolicyToRef(parallelGVK, parallelName), + ), + }, + WantErr: false, + WantCreates: []runtime.Object{ + createChannel(parallelName), + createBranchChannel(parallelName, 0), + resources.NewFilterSubscription(0, NewFlowsParallel(parallelName, testNS, WithFlowsParallelChannelTemplateSpec(imc), WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + }))), + resources.NewSubscription(0, NewFlowsParallel(parallelName, testNS, WithFlowsParallelChannelTemplateSpec(imc), WithFlowsParallelBranches([]v1.ParallelBranch{ + {Filter: createFilter(0), Subscriber: createSubscriber(0)}, + }))), + }, + WantStatusUpdates: []clientgotesting.UpdateActionImpl{{ + Object: NewFlowsParallel(parallelName, testNS, + WithInitFlowsParallelConditions, + WithFlowsParallelChannelTemplateSpec(imc), + WithFlowsParallelBranches([]v1.ParallelBranch{{Filter: createFilter(0), Subscriber: createSubscriber(0)}}), + WithFlowsParallelChannelsNotReady("ChannelsNotReady", "Channels are not ready yet, or there are none"), + WithFlowsParallelAddressableNotReady("emptyAddress", "addressable is nil"), + WithFlowsParallelSubscriptionsNotReady("SubscriptionsNotReady", "Subscriptions are not ready yet, or there are none"), + WithFlowsParallelIngressChannelStatus(createParallelChannelStatus(parallelName, corev1.ConditionFalse)), + WithFlowsParallelEventPoliciesNotReady("EventPoliciesNotReady", fmt.Sprintf("event policies %s are not ready", unreadyEventPolicyName)), + WithFlowsParallelEventPoliciesListed(readyEventPolicyName), WithFlowsParallelBranchStatuses([]v1.ParallelBranchStatus{{ FilterSubscriptionStatus: createParallelFilterSubscriptionStatus(parallelName, 0, corev1.ConditionFalse), FilterChannelStatus: createParallelBranchChannelStatus(parallelName, 0, corev1.ConditionFalse), @@ -571,6 +720,7 @@ func TestAllBranches(t *testing.T) { subscriptionLister: listers.GetSubscriptionLister(), eventingClientSet: fakeeventingclient.Get(ctx), dynamicClientSet: fakedynamicclient.Get(ctx), + eventPolicyLister: listers.GetEventPolicyLister(), } return parallel.NewReconciler(ctx, logging.FromContext(ctx), fakeeventingclient.Get(ctx), listers.GetParallelLister(), diff --git a/pkg/reconciler/testing/v1/parallel.go b/pkg/reconciler/testing/v1/parallel.go index f77f417079d..936faf823ce 100644 --- a/pkg/reconciler/testing/v1/parallel.go +++ b/pkg/reconciler/testing/v1/parallel.go @@ -21,6 +21,9 @@ import ( "time" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + eventingduckv1 "knative.dev/eventing/pkg/apis/duck/v1" + "knative.dev/eventing/pkg/apis/eventing/v1alpha1" + "knative.dev/eventing/pkg/apis/feature" flowsv1 "knative.dev/eventing/pkg/apis/flows/v1" messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1" duckv1 "knative.dev/pkg/apis/duck/v1" @@ -113,3 +116,38 @@ func WithFlowsParallelAddressableNotReady(reason, message string) FlowsParallelO p.Status.MarkAddressableNotReady(reason, message) } } + +func WithFlowsParallelEventPoliciesReady() FlowsParallelOption { + return func(p *flowsv1.Parallel) { + p.Status.MarkEventPoliciesTrue() + } +} + +func WithFlowsParallelEventPoliciesNotReady(reason, message string) FlowsParallelOption { + return func(p *flowsv1.Parallel) { + p.Status.MarkEventPoliciesFailed(reason, message) + } +} + +func WithFlowsParallelEventPoliciesReadyBecauseOIDCDisabled() FlowsParallelOption { + return func(p *flowsv1.Parallel) { + p.Status.MarkEventPoliciesTrueWithReason("OIDCDisabled", "Feature %q must be enabled to support Authorization", feature.OIDCAuthentication) + } +} + +func WithFlowsParallelEventPoliciesReadyBecauseNoPolicyAndOIDCEnabled() FlowsParallelOption { + return func(p *flowsv1.Parallel) { + p.Status.MarkEventPoliciesTrueWithReason("DefaultAuthorizationMode", "Default authz mode is %q", feature.AuthorizationAllowSameNamespace) + } +} + +func WithFlowsParallelEventPoliciesListed(policyNames ...string) FlowsParallelOption { + return func(p *flowsv1.Parallel) { + for _, name := range policyNames { + p.Status.Policies = append(p.Status.Policies, eventingduckv1.AppliedEventPolicyRef{ + APIVersion: v1alpha1.SchemeGroupVersion.String(), + Name: name, + }) + } + } +} From 1316277e2b83dd6a806b250b5cc621ecfe3fe9c2 Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Tue, 16 Jul 2024 09:40:43 -0400 Subject: [PATCH 10/11] Update CESQL v1 (#8103) * chore(deps): update cesql version Signed-off-by: Calum Murray * fix(test): cesql validation expects new parse error message format Signed-off-by: Calum Murray --------- Signed-off-by: Calum Murray --- go.mod | 2 +- go.sum | 4 +- .../eventing/v1/trigger_validation_test.go | 2 +- .../cloudevents/sdk-go/sql/v2/CESQLLexer.g4 | 2 +- .../cloudevents/sdk-go/sql/v2/README.md | 48 +++++ .../sdk-go/sql/v2/errors/errors.go | 152 ++++++++++++++++ .../v2/expression/comparison_expressions.go | 6 +- .../function_invocation_expression.go | 24 ++- .../v2/expression/identifier_expression.go | 5 +- .../sdk-go/sql/v2/expression/in_expression.go | 6 +- .../integer_comparison_expressions.go | 8 +- .../sql/v2/expression/like_expression.go | 100 +++++------ .../sql/v2/expression/logic_expressions.go | 8 +- .../sql/v2/expression/math_expressions.go | 15 +- .../sql/v2/expression/negate_expression.go | 4 +- .../sql/v2/expression/not_expression.go | 4 +- .../cloudevents/sdk-go/sql/v2/function.go | 1 + .../sql/v2/function/casting_functions.go | 5 + .../sdk-go/sql/v2/function/function.go | 23 ++- .../sql/v2/function/integer_functions.go | 6 + .../sql/v2/function/string_functions.go | 47 +++-- .../sdk-go/sql/v2/gen/CESQLParserLexer.interp | 2 +- .../sdk-go/sql/v2/gen/cesqlparser_lexer.go | 169 +++++++++--------- .../sql/v2/parser/expression_visitor.go | 7 +- .../sdk-go/sql/v2/parser/parser.go | 22 +-- .../sql/v2/runtime/functions_resolver.go | 5 + .../cloudevents/sdk-go/sql/v2/types.go | 15 ++ .../sdk-go/sql/v2/utils/casting.go | 19 +- vendor/modules.txt | 3 +- 29 files changed, 493 insertions(+), 221 deletions(-) create mode 100644 vendor/github.com/cloudevents/sdk-go/sql/v2/errors/errors.go diff --git a/go.mod b/go.mod index 73d6cd2c9c0..b4cbf6cead0 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/cloudevents/conformance v0.2.0 github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2 github.com/cloudevents/sdk-go/protocol/mqtt_paho/v2 v2.0.0-20240508060731-1ed9471c98bd - github.com/cloudevents/sdk-go/sql/v2 v2.15.2 + github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20240712172937-3ce6b2f1f011 github.com/cloudevents/sdk-go/v2 v2.15.2 github.com/coreos/go-oidc/v3 v3.9.0 github.com/eclipse/paho.golang v0.12.0 diff --git a/go.sum b/go.sum index 3ac1c0ba419..df523009d1c 100644 --- a/go.sum +++ b/go.sum @@ -78,8 +78,8 @@ github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2 h1:AbtPqiUDzKu github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.15.2/go.mod h1:ZbYLE+yaEQ2j4vbRc9qzvGmg30A9LhwFt/1bSebNnbU= github.com/cloudevents/sdk-go/protocol/mqtt_paho/v2 v2.0.0-20240508060731-1ed9471c98bd h1:MGVlnkCz/b0vjfkM5tSVLD+4oaUnYuVEjiW6lAMJ9IM= github.com/cloudevents/sdk-go/protocol/mqtt_paho/v2 v2.0.0-20240508060731-1ed9471c98bd/go.mod h1:s+KZsVZst0bVW6vuKYb8CH49CcSJDO09+ZiIeKzJmqE= -github.com/cloudevents/sdk-go/sql/v2 v2.15.2 h1:TNaTeWIbDaci89xgXbmmNVGccawQOvEfWYLWrr7Fk/k= -github.com/cloudevents/sdk-go/sql/v2 v2.15.2/go.mod h1:us+PSk8OXdk8pDbRfvxy5w8ub5goKE7UP9PjKDY7TPw= +github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20240712172937-3ce6b2f1f011 h1:mx6avAROtrV9yTlBBH4Y8IAmspmcz9v44Pkcrjq0tAA= +github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20240712172937-3ce6b2f1f011/go.mod h1:oqJ9+L9IXySYb8PN6M/g/K8y/WdVQunmmZhJnlLFcCk= github.com/cloudevents/sdk-go/v2 v2.15.2 h1:54+I5xQEnI73RBhWHxbI1XJcqOFOVJN85vb41+8mHUc= github.com/cloudevents/sdk-go/v2 v2.15.2/go.mod h1:lL7kSWAE/V8VI4Wh0jbL2v/jvqsm6tjmaQBSvxcv4uE= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= diff --git a/pkg/apis/eventing/v1/trigger_validation_test.go b/pkg/apis/eventing/v1/trigger_validation_test.go index 0c0e35613ee..b571d8472d9 100644 --- a/pkg/apis/eventing/v1/trigger_validation_test.go +++ b/pkg/apis/eventing/v1/trigger_validation_test.go @@ -921,7 +921,7 @@ func TestFilterSpecValidation(t *testing.T) { { CESQL: "this is wrong", }}, - want: apis.ErrInvalidValue("this is wrong", "cesql", "syntax error: ").ViaFieldIndex("filters", 0), + want: apis.ErrInvalidValue("this is wrong", "cesql", "parse error: syntax error: ").ViaFieldIndex("filters", 0), }, { name: "Valid CE SQL expression", filters: []SubscriptionsAPIFilter{ diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/CESQLLexer.g4 b/vendor/github.com/cloudevents/sdk-go/sql/v2/CESQLLexer.g4 index a889c058a46..d83124abd3b 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/CESQLLexer.g4 +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/CESQLLexer.g4 @@ -70,7 +70,7 @@ FALSE: 'FALSE'; DQUOTED_STRING_LITERAL: DQUOTA_STRING; SQUOTED_STRING_LITERAL: SQUOTA_STRING; -INTEGER_LITERAL: INT_DIGIT+; +INTEGER_LITERAL: ('+' | '-')? INT_DIGIT+; // Identifiers diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/README.md b/vendor/github.com/cloudevents/sdk-go/sql/v2/README.md index f45641d973d..948f48f416d 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/README.md +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/README.md @@ -18,6 +18,54 @@ expression, err := cesqlparser.Parse("subject = 'Hello world'") res, err := expression.Evaluate(event) ``` +Add a user defined function +```go +import ( + cesql "github.com/cloudevents/sdk-go/sql/v2" + cefn "github.com/cloudevents/sdk-go/sql/v2/function" + cesqlparser "github.com/cloudevents/sdk-go/sql/v2/parser" + ceruntime "github.com/cloudevents/sdk-go/sql/v2/runtime" + cloudevents "github.com/cloudevents/sdk-go/v2" +) + +// Create a test event +event := cloudevents.NewEvent() +event.SetID("aaaa-bbbb-dddd") +event.SetSource("https://my-source") +event.SetType("dev.tekton.event") + +// Create and add a new user defined function +var HasPrefixFunction cesql.Function = cefn.NewFunction( + "HASPREFIX", + []cesql.Type{cesql.StringType, cesql.StringType}, + nil, + func(event cloudevents.Event, i []interface{}) (interface{}, error) { + str := i[0].(string) + prefix := i[1].(string) + + return strings.HasPrefix(str, prefix), nil + }, +) + +err := ceruntime.AddFunction(HasPrefixFunction) + +// parse the expression +expression, err := cesqlparser.Parse("HASPREFIX(type, 'dev.tekton.event')") + if err != nil { + fmt.Println("parser err: ", err) + os.Exit(1) + } + +// Evalute the expression with the test event +res, err := expression.Evaluate(event) + +if res.(bool) { + fmt.Println("Event type has the prefix") +} else { + fmt.Println("Event type doesn't have the prefix") +} +``` + ## Development guide To regenerate the parser, make sure you have [ANTLR4 installed](https://github.com/antlr/antlr4/blob/master/doc/getting-started.md) and then run: diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/errors/errors.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/errors/errors.go new file mode 100644 index 00000000000..207ce55f34e --- /dev/null +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/errors/errors.go @@ -0,0 +1,152 @@ +/* + Copyright 2024 The CloudEvents Authors + SPDX-License-Identifier: Apache-2.0 +*/ + +package errors + +import ( + "fmt" + "strings" +) + +type errorKind int + +const ( + parseError = iota + mathError + castError + missingAttributeError + missingFunctionError + functionEvaluationError + dummyLastError // always add new error classes ABOVE this error +) + +type cesqlError struct { + kind errorKind + message string +} + +func (eKind errorKind) String() string { + switch eKind { + case parseError: + return "parse error" + case mathError: + return "math error" + case castError: + return "cast error" + case missingAttributeError: + return "missing attribute error" + case missingFunctionError: + return "missing function error" + case functionEvaluationError: + return "function evaluation error" + default: + return "generic error" + } + +} + +func (cerr cesqlError) Error() string { + return fmt.Sprintf("%s: %s", cerr.kind, cerr.message) +} + +func NewParseError(errs []error) error { + if len(errs) == 0 { + return nil + } + + errorMessages := make([]string, 0, len(errs)) + for _, err := range errs { + errorMessages = append(errorMessages, err.Error()) + } + + return cesqlError{ + kind: parseError, + message: strings.Join(errorMessages, "|"), + } +} + +func IsParseError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind == parseError + } + return false +} + +func IsMathError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind == mathError + } + return false +} + +func NewMathError(message string) error { + return cesqlError{ + kind: mathError, + message: message, + } +} + +func IsCastError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind == castError + } + return false +} + +func NewCastError(err error) error { + return cesqlError{ + kind: castError, + message: err.Error(), + } +} + +func IsMissingAttributeError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind == missingAttributeError + } + return false +} + +func NewMissingAttributeError(attribute string) error { + return cesqlError{ + kind: missingAttributeError, + message: attribute, + } +} + +func IsMissingFunctionError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind == missingFunctionError + } + return false +} + +func NewMissingFunctionError(function string) error { + return cesqlError{ + kind: missingFunctionError, + message: function, + } +} + +func IsFunctionEvaluationError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind == functionEvaluationError + } + return false +} + +func NewFunctionEvaluationError(err error) error { + return cesqlError{ + kind: functionEvaluationError, + message: err.Error(), + } +} + +func IsGenericError(err error) bool { + if cesqlErr, ok := err.(cesqlError); ok { + return cesqlErr.kind < 0 || cesqlErr.kind >= dummyLastError + } + return false +} diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/comparison_expressions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/comparison_expressions.go index 97449073738..a39ad3ce793 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/comparison_expressions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/comparison_expressions.go @@ -19,17 +19,17 @@ type equalExpression struct { func (s equalExpression) Evaluate(event cloudevents.Event) (interface{}, error) { leftVal, err := s.left.Evaluate(event) if err != nil { - return nil, err + return false, err } rightVal, err := s.right.Evaluate(event) if err != nil { - return nil, err + return false, err } leftVal, err = utils.Cast(leftVal, cesql.TypeFromVal(rightVal)) if err != nil { - return nil, err + return false, err } return (leftVal == rightVal) == s.equal, nil diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/function_invocation_expression.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/function_invocation_expression.go index 94e383aa158..577272f268f 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/function_invocation_expression.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/function_invocation_expression.go @@ -9,6 +9,7 @@ import ( "fmt" cesql "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" "github.com/cloudevents/sdk-go/sql/v2/runtime" "github.com/cloudevents/sdk-go/sql/v2/utils" cloudevents "github.com/cloudevents/sdk-go/v2" @@ -22,31 +23,44 @@ type functionInvocationExpression struct { func (expr functionInvocationExpression) Evaluate(event cloudevents.Event) (interface{}, error) { fn := runtime.ResolveFunction(expr.name, len(expr.argumentsExpression)) if fn == nil { - return nil, fmt.Errorf("cannot resolve function %s", expr.name) + return false, sqlerrors.NewMissingFunctionError(expr.name) } args := make([]interface{}, len(expr.argumentsExpression)) + defaultVal := fn.ReturnType().ZeroValue() + for i, expr := range expr.argumentsExpression { arg, err := expr.Evaluate(event) if err != nil { - return nil, err + return defaultVal, err } argType := fn.ArgType(i) if argType == nil { - return nil, fmt.Errorf("cannot resolve arg type at index %d", i) + return defaultVal, sqlerrors.NewFunctionEvaluationError(fmt.Errorf("cannot resolve arg type at index %d for function %s", i, fn.Name())) } arg, err = utils.Cast(arg, *argType) if err != nil { - return nil, err + return defaultVal, err } args[i] = arg } - return fn.Run(event, args) + result, err := fn.Run(event, args) + if result == nil { + if err != nil { + err = sqlerrors.NewFunctionEvaluationError(fmt.Errorf("function %s encountered error %w and did not return any value, defaulting to the default value for the function", fn.Name(), err)) + } else { + err = sqlerrors.NewFunctionEvaluationError(fmt.Errorf("function %s did not return any value, defaulting to the default value for the function", fn.Name())) + } + + return defaultVal, err + } + + return result, err } func NewFunctionInvocationExpression(name string, argumentsExpression []cesql.Expression) cesql.Expression { diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/identifier_expression.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/identifier_expression.go index 265a3b463f5..fe85052f9c6 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/identifier_expression.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/identifier_expression.go @@ -6,9 +6,8 @@ package expression import ( - "fmt" - cesql "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" "github.com/cloudevents/sdk-go/sql/v2/utils" cloudevents "github.com/cloudevents/sdk-go/v2" ) @@ -20,7 +19,7 @@ type identifierExpression struct { func (l identifierExpression) Evaluate(event cloudevents.Event) (interface{}, error) { value := utils.GetAttribute(event, l.identifier) if value == nil { - return nil, fmt.Errorf("missing attribute '%s'", l.identifier) + return false, sqlerrors.NewMissingAttributeError(l.identifier) } return value, nil diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/in_expression.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/in_expression.go index b45a421ceab..ef1c587c04c 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/in_expression.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/in_expression.go @@ -19,18 +19,18 @@ type inExpression struct { func (l inExpression) Evaluate(event cloudevents.Event) (interface{}, error) { leftValue, err := l.leftExpression.Evaluate(event) if err != nil { - return nil, err + return false, err } for _, rightExpression := range l.setExpression { rightValue, err := rightExpression.Evaluate(event) if err != nil { - return nil, err + return false, err } rightValue, err = utils.Cast(rightValue, cesql.TypeFromVal(leftValue)) if err != nil { - return nil, err + return false, err } if leftValue == rightValue { diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/integer_comparison_expressions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/integer_comparison_expressions.go index 13a70a974c0..12e529b79a1 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/integer_comparison_expressions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/integer_comparison_expressions.go @@ -19,22 +19,22 @@ type integerComparisonExpression struct { func (s integerComparisonExpression) Evaluate(event cloudevents.Event) (interface{}, error) { leftVal, err := s.left.Evaluate(event) if err != nil { - return nil, err + return false, err } rightVal, err := s.right.Evaluate(event) if err != nil { - return nil, err + return false, err } leftVal, err = utils.Cast(leftVal, cesql.IntegerType) if err != nil { - return nil, err + return false, err } rightVal, err = utils.Cast(rightVal, cesql.IntegerType) if err != nil { - return nil, err + return false, err } return s.fn(leftVal.(int32), rightVal.(int32)), nil diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/like_expression.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/like_expression.go index 5f557fa5ac7..ed43db49415 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/like_expression.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/like_expression.go @@ -6,9 +6,6 @@ package expression import ( - "regexp" - "strings" - cesql "github.com/cloudevents/sdk-go/sql/v2" "github.com/cloudevents/sdk-go/sql/v2/utils" cloudevents "github.com/cloudevents/sdk-go/v2" @@ -16,84 +13,79 @@ import ( type likeExpression struct { baseUnaryExpression - pattern *regexp.Regexp + pattern string } func (l likeExpression) Evaluate(event cloudevents.Event) (interface{}, error) { val, err := l.child.Evaluate(event) if err != nil { - return nil, err + return false, err } val, err = utils.Cast(val, cesql.StringType) if err != nil { - return nil, err + return false, err } - return l.pattern.MatchString(val.(string)), nil + return matchString(val.(string), l.pattern), nil + } func NewLikeExpression(child cesql.Expression, pattern string) (cesql.Expression, error) { - // Converting to regex is not the most performant impl, but it works - p, err := convertLikePatternToRegex(pattern) - if err != nil { - return nil, err - } - return likeExpression{ baseUnaryExpression: baseUnaryExpression{ child: child, }, - pattern: p, + pattern: pattern, }, nil } -func convertLikePatternToRegex(pattern string) (*regexp.Regexp, error) { - var chunks []string - chunks = append(chunks, "^") +func matchString(text, pattern string) bool { + textLen := len(text) + patternLen := len(pattern) + textIdx := 0 + patternIdx := 0 + lastWildcardIdx := -1 + lastMatchIdx := 0 - var chunk strings.Builder + if patternLen == 0 { + return patternLen == textLen + } - for i := 0; i < len(pattern); i++ { - if pattern[i] == '\\' && i < len(pattern)-1 { - if pattern[i+1] == '%' { - // \% case - chunk.WriteRune('%') - chunks = append(chunks, "\\Q"+chunk.String()+"\\E") - chunk.Reset() - i++ - continue - } else if pattern[i+1] == '_' { - // \_ case - chunk.WriteRune('_') - chunks = append(chunks, "\\Q"+chunk.String()+"\\E") - chunk.Reset() - i++ - continue - } else { - // if there is an actual literal \ character, we need to include that in the string - chunk.WriteRune('\\') - } - } else if pattern[i] == '_' { - // replace with . - chunks = append(chunks, "\\Q"+chunk.String()+"\\E") - chunk.Reset() - chunks = append(chunks, ".") - } else if pattern[i] == '%' { - // replace with .* - chunks = append(chunks, "\\Q"+chunk.String()+"\\E") - chunk.Reset() - chunks = append(chunks, ".*") + for textIdx < textLen { + if patternIdx < patternLen-1 && pattern[patternIdx] == '\\' && + ((pattern[patternIdx+1] == '_' || pattern[patternIdx+1] == '%') && + pattern[patternIdx+1] == text[textIdx]) { + // handle escaped characters -> pattern needs to increment two places here + patternIdx += 2 + textIdx += 1 + } else if patternIdx < patternLen && (pattern[patternIdx] == '_' || pattern[patternIdx] == text[textIdx]) { + // handle non escaped characters + textIdx += 1 + patternIdx += 1 + } else if patternIdx < patternLen && pattern[patternIdx] == '%' { + // handle wildcard characters + lastWildcardIdx = patternIdx + lastMatchIdx = textIdx + patternIdx += 1 + } else if lastWildcardIdx != -1 { + // greedy match didn't work, try again from the last known match + patternIdx = lastWildcardIdx + 1 + lastMatchIdx += 1 + textIdx = lastMatchIdx } else { - chunk.WriteByte(pattern[i]) + return false } } - if chunk.Len() != 0 { - chunks = append(chunks, "\\Q"+chunk.String()+"\\E") - } + // consume remaining pattern characters as long as they are wildcards + for patternIdx < patternLen { + if pattern[patternIdx] != '%' { + return false + } - chunks = append(chunks, "$") + patternIdx += 1 + } - return regexp.Compile(strings.Join(chunks, "")) + return true } diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/logic_expressions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/logic_expressions.go index f75a0f9c4e3..4812debf221 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/logic_expressions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/logic_expressions.go @@ -20,12 +20,12 @@ type logicExpression struct { func (s logicExpression) Evaluate(event cloudevents.Event) (interface{}, error) { leftVal, err := s.left.Evaluate(event) if err != nil { - return nil, err + return false, err } leftVal, err = utils.Cast(leftVal, cesql.BooleanType) if err != nil { - return nil, err + return false, err } // Don't bother to check the other expression unless we need to @@ -38,12 +38,12 @@ func (s logicExpression) Evaluate(event cloudevents.Event) (interface{}, error) rightVal, err := s.right.Evaluate(event) if err != nil { - return nil, err + return false, err } rightVal, err = utils.Cast(rightVal, cesql.BooleanType) if err != nil { - return nil, err + return false, err } return s.fn(leftVal.(bool), rightVal.(bool)), nil diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/math_expressions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/math_expressions.go index d0378201132..50b45d70b03 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/math_expressions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/math_expressions.go @@ -6,9 +6,8 @@ package expression import ( - "errors" - cesql "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" "github.com/cloudevents/sdk-go/sql/v2/utils" cloudevents "github.com/cloudevents/sdk-go/v2" ) @@ -21,22 +20,22 @@ type mathExpression struct { func (s mathExpression) Evaluate(event cloudevents.Event) (interface{}, error) { leftVal, err := s.left.Evaluate(event) if err != nil { - return nil, err + return int32(0), err } rightVal, err := s.right.Evaluate(event) if err != nil { - return nil, err + return int32(0), err } leftVal, err = utils.Cast(leftVal, cesql.IntegerType) if err != nil { - return nil, err + return int32(0), err } rightVal, err = utils.Cast(rightVal, cesql.IntegerType) if err != nil { - return nil, err + return int32(0), err } return s.fn(leftVal.(int32), rightVal.(int32)) @@ -86,7 +85,7 @@ func NewModuleExpression(left cesql.Expression, right cesql.Expression) cesql.Ex }, fn: func(x, y int32) (int32, error) { if y == 0 { - return 0, errors.New("math error: division by zero") + return 0, sqlerrors.NewMathError("division by zero") } return x % y, nil }, @@ -101,7 +100,7 @@ func NewDivisionExpression(left cesql.Expression, right cesql.Expression) cesql. }, fn: func(x, y int32) (int32, error) { if y == 0 { - return 0, errors.New("math error: division by zero") + return 0, sqlerrors.NewMathError("division by zero") } return x / y, nil }, diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/negate_expression.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/negate_expression.go index f917a83bf49..d271f324389 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/negate_expression.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/negate_expression.go @@ -16,12 +16,12 @@ type negateExpression baseUnaryExpression func (l negateExpression) Evaluate(event cloudevents.Event) (interface{}, error) { val, err := l.child.Evaluate(event) if err != nil { - return nil, err + return int32(0), err } val, err = utils.Cast(val, cesql.IntegerType) if err != nil { - return nil, err + return int32(0), err } return -(val.(int32)), nil diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/not_expression.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/not_expression.go index 7f5e95b9f8c..a1bedac10ba 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/not_expression.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/expression/not_expression.go @@ -16,12 +16,12 @@ type notExpression baseUnaryExpression func (l notExpression) Evaluate(event cloudevents.Event) (interface{}, error) { val, err := l.child.Evaluate(event) if err != nil { - return nil, err + return false, err } val, err = utils.Cast(val, cesql.BooleanType) if err != nil { - return nil, err + return false, err } return !(val.(bool)), nil diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/function.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/function.go index 1502a3d2f8d..fb7efb65552 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/function.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/function.go @@ -12,6 +12,7 @@ type Function interface { Arity() int IsVariadic() bool ArgType(index int) *Type + ReturnType() Type Run(event cloudevents.Event, arguments []interface{}) (interface{}, error) } diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/casting_functions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/casting_functions.go index 91069de8096..35c1d562eba 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/casting_functions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/casting_functions.go @@ -15,6 +15,7 @@ var IntFunction function = function{ name: "INT", fixedArgs: []cesql.Type{cesql.AnyType}, variadicArgs: nil, + returnType: cesql.IntegerType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return utils.Cast(i[0], cesql.IntegerType) }, @@ -24,6 +25,7 @@ var BoolFunction function = function{ name: "BOOL", fixedArgs: []cesql.Type{cesql.AnyType}, variadicArgs: nil, + returnType: cesql.BooleanType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return utils.Cast(i[0], cesql.BooleanType) }, @@ -33,6 +35,7 @@ var StringFunction function = function{ name: "STRING", fixedArgs: []cesql.Type{cesql.AnyType}, variadicArgs: nil, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return utils.Cast(i[0], cesql.StringType) }, @@ -42,6 +45,7 @@ var IsIntFunction function = function{ name: "IS_INT", fixedArgs: []cesql.Type{cesql.AnyType}, variadicArgs: nil, + returnType: cesql.BooleanType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return utils.CanCast(i[0], cesql.IntegerType), nil }, @@ -51,6 +55,7 @@ var IsBoolFunction function = function{ name: "IS_BOOL", fixedArgs: []cesql.Type{cesql.AnyType}, variadicArgs: nil, + returnType: cesql.BooleanType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return utils.CanCast(i[0], cesql.BooleanType), nil }, diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/function.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/function.go index 4ad61faed6b..ddc3d0489fe 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/function.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/function.go @@ -10,11 +10,14 @@ import ( cloudevents "github.com/cloudevents/sdk-go/v2" ) +type FuncType func(cloudevents.Event, []interface{}) (interface{}, error) + type function struct { name string fixedArgs []cesql.Type variadicArgs *cesql.Type - fn func(cloudevents.Event, []interface{}) (interface{}, error) + returnType cesql.Type + fn FuncType } func (f function) Name() string { @@ -36,6 +39,24 @@ func (f function) ArgType(index int) *cesql.Type { return f.variadicArgs } +func (f function) ReturnType() cesql.Type { + return f.returnType +} + func (f function) Run(event cloudevents.Event, arguments []interface{}) (interface{}, error) { return f.fn(event, arguments) } + +func NewFunction(name string, + fixedArgs []cesql.Type, + variadicArgs *cesql.Type, + returnType cesql.Type, + fn FuncType) cesql.Function { + return function{ + name: name, + fixedArgs: fixedArgs, + variadicArgs: variadicArgs, + returnType: returnType, + fn: fn, + } +} diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/integer_functions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/integer_functions.go index 4aaf64f2272..f7f3f7225b7 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/integer_functions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/integer_functions.go @@ -7,15 +7,21 @@ package function import ( cesql "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" cloudevents "github.com/cloudevents/sdk-go/v2" + "math" ) var AbsFunction function = function{ name: "ABS", fixedArgs: []cesql.Type{cesql.IntegerType}, variadicArgs: nil, + returnType: cesql.IntegerType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { x := i[0].(int32) + if x == math.MinInt32 { + return int32(math.MaxInt32), sqlerrors.NewMathError("integer overflow while computing ABS") + } if x < 0 { return -x, nil } diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/string_functions.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/string_functions.go index 2d0d7e4a93e..66eeb2c1637 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/function/string_functions.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/function/string_functions.go @@ -10,6 +10,7 @@ import ( "strings" cesql "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" cloudevents "github.com/cloudevents/sdk-go/v2" ) @@ -17,6 +18,7 @@ var LengthFunction function = function{ name: "LENGTH", fixedArgs: []cesql.Type{cesql.StringType}, variadicArgs: nil, + returnType: cesql.IntegerType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return int32(len(i[0].(string))), nil }, @@ -25,6 +27,7 @@ var LengthFunction function = function{ var ConcatFunction function = function{ name: "CONCAT", variadicArgs: cesql.TypePtr(cesql.StringType), + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { var sb strings.Builder for _, v := range i { @@ -38,6 +41,7 @@ var ConcatWSFunction function = function{ name: "CONCAT_WS", fixedArgs: []cesql.Type{cesql.StringType}, variadicArgs: cesql.TypePtr(cesql.StringType), + returnType: cesql.StringType, fn: func(event cloudevents.Event, args []interface{}) (interface{}, error) { if len(args) == 1 { return "", nil @@ -55,32 +59,36 @@ var ConcatWSFunction function = function{ } var LowerFunction function = function{ - name: "LOWER", - fixedArgs: []cesql.Type{cesql.StringType}, + name: "LOWER", + fixedArgs: []cesql.Type{cesql.StringType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return strings.ToLower(i[0].(string)), nil }, } var UpperFunction function = function{ - name: "UPPER", - fixedArgs: []cesql.Type{cesql.StringType}, + name: "UPPER", + fixedArgs: []cesql.Type{cesql.StringType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return strings.ToUpper(i[0].(string)), nil }, } var TrimFunction function = function{ - name: "TRIM", - fixedArgs: []cesql.Type{cesql.StringType}, + name: "TRIM", + fixedArgs: []cesql.Type{cesql.StringType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { return strings.TrimSpace(i[0].(string)), nil }, } var LeftFunction function = function{ - name: "LEFT", - fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType}, + name: "LEFT", + fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { str := i[0].(string) y := int(i[1].(int32)) @@ -90,7 +98,7 @@ var LeftFunction function = function{ } if y < 0 { - return nil, fmt.Errorf("LEFT y argument is < 0: %d", y) + return str, sqlerrors.NewFunctionEvaluationError(fmt.Errorf("LEFT y argument is < 0: %d", y)) } return str[0:y], nil @@ -98,8 +106,9 @@ var LeftFunction function = function{ } var RightFunction function = function{ - name: "RIGHT", - fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType}, + name: "RIGHT", + fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { str := i[0].(string) y := int(i[1].(int32)) @@ -109,7 +118,7 @@ var RightFunction function = function{ } if y < 0 { - return nil, fmt.Errorf("RIGHT y argument is < 0: %d", y) + return str, sqlerrors.NewFunctionEvaluationError(fmt.Errorf("RIGHT y argument is < 0: %d", y)) } return str[len(str)-y:], nil @@ -117,8 +126,9 @@ var RightFunction function = function{ } var SubstringFunction function = function{ - name: "SUBSTRING", - fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType}, + name: "SUBSTRING", + fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { str := i[0].(string) pos := int(i[1].(int32)) @@ -128,7 +138,7 @@ var SubstringFunction function = function{ } if pos < -len(str) || pos > len(str) { - return "", fmt.Errorf("SUBSTRING invalid pos argument: %d", pos) + return "", sqlerrors.NewFunctionEvaluationError(fmt.Errorf("SUBSTRING invalid pos argument: %d", pos)) } var beginning int @@ -143,8 +153,9 @@ var SubstringFunction function = function{ } var SubstringWithLengthFunction function = function{ - name: "SUBSTRING", - fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType, cesql.IntegerType}, + name: "SUBSTRING", + fixedArgs: []cesql.Type{cesql.StringType, cesql.IntegerType, cesql.IntegerType}, + returnType: cesql.StringType, fn: func(event cloudevents.Event, i []interface{}) (interface{}, error) { str := i[0].(string) pos := int(i[1].(int32)) @@ -155,7 +166,7 @@ var SubstringWithLengthFunction function = function{ } if pos < -len(str) || pos > len(str) { - return "", fmt.Errorf("SUBSTRING invalid pos argument: %d", pos) + return "", sqlerrors.NewFunctionEvaluationError(fmt.Errorf("SUBSTRING invalid pos argument: %d", pos)) } var beginning int diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/CESQLParserLexer.interp b/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/CESQLParserLexer.interp index f758513dbe9..befa543b494 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/CESQLParserLexer.interp +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/CESQLParserLexer.interp @@ -119,4 +119,4 @@ mode names: DEFAULT_MODE atn: -[4, 0, 33, 235, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 1, 0, 4, 0, 81, 8, 0, 11, 0, 12, 0, 82, 1, 0, 1, 0, 1, 1, 4, 1, 88, 8, 1, 11, 1, 12, 1, 89, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 98, 8, 2, 10, 2, 12, 2, 101, 9, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 111, 8, 3, 10, 3, 12, 3, 114, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 5, 5, 122, 8, 5, 10, 5, 12, 5, 125, 9, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 139, 8, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 4, 35, 215, 8, 35, 11, 35, 12, 35, 216, 1, 36, 4, 36, 220, 8, 36, 11, 36, 12, 36, 221, 1, 37, 4, 37, 225, 8, 37, 11, 37, 12, 37, 226, 1, 38, 1, 38, 5, 38, 231, 8, 38, 10, 38, 12, 38, 234, 9, 38, 0, 0, 39, 1, 1, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 2, 15, 3, 17, 4, 19, 5, 21, 6, 23, 0, 25, 7, 27, 8, 29, 9, 31, 10, 33, 11, 35, 12, 37, 13, 39, 14, 41, 15, 43, 16, 45, 17, 47, 18, 49, 19, 51, 20, 53, 21, 55, 22, 57, 23, 59, 24, 61, 25, 63, 26, 65, 27, 67, 28, 69, 29, 71, 30, 73, 31, 75, 32, 77, 33, 1, 0, 8, 3, 0, 9, 10, 13, 13, 32, 32, 3, 0, 48, 57, 65, 90, 97, 122, 2, 0, 34, 34, 92, 92, 2, 0, 39, 39, 92, 92, 1, 0, 48, 57, 1, 0, 65, 90, 2, 0, 65, 90, 95, 95, 2, 0, 65, 90, 97, 122, 242, 0, 1, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 1, 80, 1, 0, 0, 0, 3, 87, 1, 0, 0, 0, 5, 91, 1, 0, 0, 0, 7, 104, 1, 0, 0, 0, 9, 117, 1, 0, 0, 0, 11, 119, 1, 0, 0, 0, 13, 126, 1, 0, 0, 0, 15, 128, 1, 0, 0, 0, 17, 130, 1, 0, 0, 0, 19, 132, 1, 0, 0, 0, 21, 134, 1, 0, 0, 0, 23, 138, 1, 0, 0, 0, 25, 140, 1, 0, 0, 0, 27, 144, 1, 0, 0, 0, 29, 147, 1, 0, 0, 0, 31, 151, 1, 0, 0, 0, 33, 155, 1, 0, 0, 0, 35, 157, 1, 0, 0, 0, 37, 159, 1, 0, 0, 0, 39, 161, 1, 0, 0, 0, 41, 163, 1, 0, 0, 0, 43, 165, 1, 0, 0, 0, 45, 167, 1, 0, 0, 0, 47, 170, 1, 0, 0, 0, 49, 172, 1, 0, 0, 0, 51, 175, 1, 0, 0, 0, 53, 177, 1, 0, 0, 0, 55, 180, 1, 0, 0, 0, 57, 183, 1, 0, 0, 0, 59, 188, 1, 0, 0, 0, 61, 195, 1, 0, 0, 0, 63, 198, 1, 0, 0, 0, 65, 203, 1, 0, 0, 0, 67, 209, 1, 0, 0, 0, 69, 211, 1, 0, 0, 0, 71, 214, 1, 0, 0, 0, 73, 219, 1, 0, 0, 0, 75, 224, 1, 0, 0, 0, 77, 228, 1, 0, 0, 0, 79, 81, 7, 0, 0, 0, 80, 79, 1, 0, 0, 0, 81, 82, 1, 0, 0, 0, 82, 80, 1, 0, 0, 0, 82, 83, 1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 6, 0, 0, 0, 85, 2, 1, 0, 0, 0, 86, 88, 7, 1, 0, 0, 87, 86, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 87, 1, 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 4, 1, 0, 0, 0, 91, 99, 5, 34, 0, 0, 92, 93, 5, 92, 0, 0, 93, 98, 9, 0, 0, 0, 94, 95, 5, 34, 0, 0, 95, 98, 5, 34, 0, 0, 96, 98, 8, 2, 0, 0, 97, 92, 1, 0, 0, 0, 97, 94, 1, 0, 0, 0, 97, 96, 1, 0, 0, 0, 98, 101, 1, 0, 0, 0, 99, 97, 1, 0, 0, 0, 99, 100, 1, 0, 0, 0, 100, 102, 1, 0, 0, 0, 101, 99, 1, 0, 0, 0, 102, 103, 5, 34, 0, 0, 103, 6, 1, 0, 0, 0, 104, 112, 5, 39, 0, 0, 105, 106, 5, 92, 0, 0, 106, 111, 9, 0, 0, 0, 107, 108, 5, 39, 0, 0, 108, 111, 5, 39, 0, 0, 109, 111, 8, 3, 0, 0, 110, 105, 1, 0, 0, 0, 110, 107, 1, 0, 0, 0, 110, 109, 1, 0, 0, 0, 111, 114, 1, 0, 0, 0, 112, 110, 1, 0, 0, 0, 112, 113, 1, 0, 0, 0, 113, 115, 1, 0, 0, 0, 114, 112, 1, 0, 0, 0, 115, 116, 5, 39, 0, 0, 116, 8, 1, 0, 0, 0, 117, 118, 7, 4, 0, 0, 118, 10, 1, 0, 0, 0, 119, 123, 7, 5, 0, 0, 120, 122, 7, 6, 0, 0, 121, 120, 1, 0, 0, 0, 122, 125, 1, 0, 0, 0, 123, 121, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 12, 1, 0, 0, 0, 125, 123, 1, 0, 0, 0, 126, 127, 5, 40, 0, 0, 127, 14, 1, 0, 0, 0, 128, 129, 5, 41, 0, 0, 129, 16, 1, 0, 0, 0, 130, 131, 5, 44, 0, 0, 131, 18, 1, 0, 0, 0, 132, 133, 5, 39, 0, 0, 133, 20, 1, 0, 0, 0, 134, 135, 5, 34, 0, 0, 135, 22, 1, 0, 0, 0, 136, 139, 3, 19, 9, 0, 137, 139, 3, 21, 10, 0, 138, 136, 1, 0, 0, 0, 138, 137, 1, 0, 0, 0, 139, 24, 1, 0, 0, 0, 140, 141, 5, 65, 0, 0, 141, 142, 5, 78, 0, 0, 142, 143, 5, 68, 0, 0, 143, 26, 1, 0, 0, 0, 144, 145, 5, 79, 0, 0, 145, 146, 5, 82, 0, 0, 146, 28, 1, 0, 0, 0, 147, 148, 5, 88, 0, 0, 148, 149, 5, 79, 0, 0, 149, 150, 5, 82, 0, 0, 150, 30, 1, 0, 0, 0, 151, 152, 5, 78, 0, 0, 152, 153, 5, 79, 0, 0, 153, 154, 5, 84, 0, 0, 154, 32, 1, 0, 0, 0, 155, 156, 5, 42, 0, 0, 156, 34, 1, 0, 0, 0, 157, 158, 5, 47, 0, 0, 158, 36, 1, 0, 0, 0, 159, 160, 5, 37, 0, 0, 160, 38, 1, 0, 0, 0, 161, 162, 5, 43, 0, 0, 162, 40, 1, 0, 0, 0, 163, 164, 5, 45, 0, 0, 164, 42, 1, 0, 0, 0, 165, 166, 5, 61, 0, 0, 166, 44, 1, 0, 0, 0, 167, 168, 5, 33, 0, 0, 168, 169, 5, 61, 0, 0, 169, 46, 1, 0, 0, 0, 170, 171, 5, 62, 0, 0, 171, 48, 1, 0, 0, 0, 172, 173, 5, 62, 0, 0, 173, 174, 5, 61, 0, 0, 174, 50, 1, 0, 0, 0, 175, 176, 5, 60, 0, 0, 176, 52, 1, 0, 0, 0, 177, 178, 5, 60, 0, 0, 178, 179, 5, 62, 0, 0, 179, 54, 1, 0, 0, 0, 180, 181, 5, 60, 0, 0, 181, 182, 5, 61, 0, 0, 182, 56, 1, 0, 0, 0, 183, 184, 5, 76, 0, 0, 184, 185, 5, 73, 0, 0, 185, 186, 5, 75, 0, 0, 186, 187, 5, 69, 0, 0, 187, 58, 1, 0, 0, 0, 188, 189, 5, 69, 0, 0, 189, 190, 5, 88, 0, 0, 190, 191, 5, 73, 0, 0, 191, 192, 5, 83, 0, 0, 192, 193, 5, 84, 0, 0, 193, 194, 5, 83, 0, 0, 194, 60, 1, 0, 0, 0, 195, 196, 5, 73, 0, 0, 196, 197, 5, 78, 0, 0, 197, 62, 1, 0, 0, 0, 198, 199, 5, 84, 0, 0, 199, 200, 5, 82, 0, 0, 200, 201, 5, 85, 0, 0, 201, 202, 5, 69, 0, 0, 202, 64, 1, 0, 0, 0, 203, 204, 5, 70, 0, 0, 204, 205, 5, 65, 0, 0, 205, 206, 5, 76, 0, 0, 206, 207, 5, 83, 0, 0, 207, 208, 5, 69, 0, 0, 208, 66, 1, 0, 0, 0, 209, 210, 3, 5, 2, 0, 210, 68, 1, 0, 0, 0, 211, 212, 3, 7, 3, 0, 212, 70, 1, 0, 0, 0, 213, 215, 3, 9, 4, 0, 214, 213, 1, 0, 0, 0, 215, 216, 1, 0, 0, 0, 216, 214, 1, 0, 0, 0, 216, 217, 1, 0, 0, 0, 217, 72, 1, 0, 0, 0, 218, 220, 7, 7, 0, 0, 219, 218, 1, 0, 0, 0, 220, 221, 1, 0, 0, 0, 221, 219, 1, 0, 0, 0, 221, 222, 1, 0, 0, 0, 222, 74, 1, 0, 0, 0, 223, 225, 7, 1, 0, 0, 224, 223, 1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 224, 1, 0, 0, 0, 226, 227, 1, 0, 0, 0, 227, 76, 1, 0, 0, 0, 228, 232, 7, 5, 0, 0, 229, 231, 7, 6, 0, 0, 230, 229, 1, 0, 0, 0, 231, 234, 1, 0, 0, 0, 232, 230, 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 78, 1, 0, 0, 0, 234, 232, 1, 0, 0, 0, 13, 0, 82, 89, 97, 99, 110, 112, 123, 138, 216, 221, 226, 232, 1, 6, 0, 0] \ No newline at end of file +[4, 0, 33, 238, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 1, 0, 4, 0, 81, 8, 0, 11, 0, 12, 0, 82, 1, 0, 1, 0, 1, 1, 4, 1, 88, 8, 1, 11, 1, 12, 1, 89, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 98, 8, 2, 10, 2, 12, 2, 101, 9, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 111, 8, 3, 10, 3, 12, 3, 114, 9, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 5, 5, 122, 8, 5, 10, 5, 12, 5, 125, 9, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 3, 11, 139, 8, 11, 1, 12, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 20, 1, 20, 1, 21, 1, 21, 1, 22, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 3, 35, 215, 8, 35, 1, 35, 4, 35, 218, 8, 35, 11, 35, 12, 35, 219, 1, 36, 4, 36, 223, 8, 36, 11, 36, 12, 36, 224, 1, 37, 4, 37, 228, 8, 37, 11, 37, 12, 37, 229, 1, 38, 1, 38, 5, 38, 234, 8, 38, 10, 38, 12, 38, 237, 9, 38, 0, 0, 39, 1, 1, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 2, 15, 3, 17, 4, 19, 5, 21, 6, 23, 0, 25, 7, 27, 8, 29, 9, 31, 10, 33, 11, 35, 12, 37, 13, 39, 14, 41, 15, 43, 16, 45, 17, 47, 18, 49, 19, 51, 20, 53, 21, 55, 22, 57, 23, 59, 24, 61, 25, 63, 26, 65, 27, 67, 28, 69, 29, 71, 30, 73, 31, 75, 32, 77, 33, 1, 0, 9, 3, 0, 9, 10, 13, 13, 32, 32, 3, 0, 48, 57, 65, 90, 97, 122, 2, 0, 34, 34, 92, 92, 2, 0, 39, 39, 92, 92, 1, 0, 48, 57, 1, 0, 65, 90, 2, 0, 65, 90, 95, 95, 2, 0, 43, 43, 45, 45, 2, 0, 65, 90, 97, 122, 246, 0, 1, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 1, 80, 1, 0, 0, 0, 3, 87, 1, 0, 0, 0, 5, 91, 1, 0, 0, 0, 7, 104, 1, 0, 0, 0, 9, 117, 1, 0, 0, 0, 11, 119, 1, 0, 0, 0, 13, 126, 1, 0, 0, 0, 15, 128, 1, 0, 0, 0, 17, 130, 1, 0, 0, 0, 19, 132, 1, 0, 0, 0, 21, 134, 1, 0, 0, 0, 23, 138, 1, 0, 0, 0, 25, 140, 1, 0, 0, 0, 27, 144, 1, 0, 0, 0, 29, 147, 1, 0, 0, 0, 31, 151, 1, 0, 0, 0, 33, 155, 1, 0, 0, 0, 35, 157, 1, 0, 0, 0, 37, 159, 1, 0, 0, 0, 39, 161, 1, 0, 0, 0, 41, 163, 1, 0, 0, 0, 43, 165, 1, 0, 0, 0, 45, 167, 1, 0, 0, 0, 47, 170, 1, 0, 0, 0, 49, 172, 1, 0, 0, 0, 51, 175, 1, 0, 0, 0, 53, 177, 1, 0, 0, 0, 55, 180, 1, 0, 0, 0, 57, 183, 1, 0, 0, 0, 59, 188, 1, 0, 0, 0, 61, 195, 1, 0, 0, 0, 63, 198, 1, 0, 0, 0, 65, 203, 1, 0, 0, 0, 67, 209, 1, 0, 0, 0, 69, 211, 1, 0, 0, 0, 71, 214, 1, 0, 0, 0, 73, 222, 1, 0, 0, 0, 75, 227, 1, 0, 0, 0, 77, 231, 1, 0, 0, 0, 79, 81, 7, 0, 0, 0, 80, 79, 1, 0, 0, 0, 81, 82, 1, 0, 0, 0, 82, 80, 1, 0, 0, 0, 82, 83, 1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 6, 0, 0, 0, 85, 2, 1, 0, 0, 0, 86, 88, 7, 1, 0, 0, 87, 86, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 87, 1, 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 4, 1, 0, 0, 0, 91, 99, 5, 34, 0, 0, 92, 93, 5, 92, 0, 0, 93, 98, 9, 0, 0, 0, 94, 95, 5, 34, 0, 0, 95, 98, 5, 34, 0, 0, 96, 98, 8, 2, 0, 0, 97, 92, 1, 0, 0, 0, 97, 94, 1, 0, 0, 0, 97, 96, 1, 0, 0, 0, 98, 101, 1, 0, 0, 0, 99, 97, 1, 0, 0, 0, 99, 100, 1, 0, 0, 0, 100, 102, 1, 0, 0, 0, 101, 99, 1, 0, 0, 0, 102, 103, 5, 34, 0, 0, 103, 6, 1, 0, 0, 0, 104, 112, 5, 39, 0, 0, 105, 106, 5, 92, 0, 0, 106, 111, 9, 0, 0, 0, 107, 108, 5, 39, 0, 0, 108, 111, 5, 39, 0, 0, 109, 111, 8, 3, 0, 0, 110, 105, 1, 0, 0, 0, 110, 107, 1, 0, 0, 0, 110, 109, 1, 0, 0, 0, 111, 114, 1, 0, 0, 0, 112, 110, 1, 0, 0, 0, 112, 113, 1, 0, 0, 0, 113, 115, 1, 0, 0, 0, 114, 112, 1, 0, 0, 0, 115, 116, 5, 39, 0, 0, 116, 8, 1, 0, 0, 0, 117, 118, 7, 4, 0, 0, 118, 10, 1, 0, 0, 0, 119, 123, 7, 5, 0, 0, 120, 122, 7, 6, 0, 0, 121, 120, 1, 0, 0, 0, 122, 125, 1, 0, 0, 0, 123, 121, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 12, 1, 0, 0, 0, 125, 123, 1, 0, 0, 0, 126, 127, 5, 40, 0, 0, 127, 14, 1, 0, 0, 0, 128, 129, 5, 41, 0, 0, 129, 16, 1, 0, 0, 0, 130, 131, 5, 44, 0, 0, 131, 18, 1, 0, 0, 0, 132, 133, 5, 39, 0, 0, 133, 20, 1, 0, 0, 0, 134, 135, 5, 34, 0, 0, 135, 22, 1, 0, 0, 0, 136, 139, 3, 19, 9, 0, 137, 139, 3, 21, 10, 0, 138, 136, 1, 0, 0, 0, 138, 137, 1, 0, 0, 0, 139, 24, 1, 0, 0, 0, 140, 141, 5, 65, 0, 0, 141, 142, 5, 78, 0, 0, 142, 143, 5, 68, 0, 0, 143, 26, 1, 0, 0, 0, 144, 145, 5, 79, 0, 0, 145, 146, 5, 82, 0, 0, 146, 28, 1, 0, 0, 0, 147, 148, 5, 88, 0, 0, 148, 149, 5, 79, 0, 0, 149, 150, 5, 82, 0, 0, 150, 30, 1, 0, 0, 0, 151, 152, 5, 78, 0, 0, 152, 153, 5, 79, 0, 0, 153, 154, 5, 84, 0, 0, 154, 32, 1, 0, 0, 0, 155, 156, 5, 42, 0, 0, 156, 34, 1, 0, 0, 0, 157, 158, 5, 47, 0, 0, 158, 36, 1, 0, 0, 0, 159, 160, 5, 37, 0, 0, 160, 38, 1, 0, 0, 0, 161, 162, 5, 43, 0, 0, 162, 40, 1, 0, 0, 0, 163, 164, 5, 45, 0, 0, 164, 42, 1, 0, 0, 0, 165, 166, 5, 61, 0, 0, 166, 44, 1, 0, 0, 0, 167, 168, 5, 33, 0, 0, 168, 169, 5, 61, 0, 0, 169, 46, 1, 0, 0, 0, 170, 171, 5, 62, 0, 0, 171, 48, 1, 0, 0, 0, 172, 173, 5, 62, 0, 0, 173, 174, 5, 61, 0, 0, 174, 50, 1, 0, 0, 0, 175, 176, 5, 60, 0, 0, 176, 52, 1, 0, 0, 0, 177, 178, 5, 60, 0, 0, 178, 179, 5, 62, 0, 0, 179, 54, 1, 0, 0, 0, 180, 181, 5, 60, 0, 0, 181, 182, 5, 61, 0, 0, 182, 56, 1, 0, 0, 0, 183, 184, 5, 76, 0, 0, 184, 185, 5, 73, 0, 0, 185, 186, 5, 75, 0, 0, 186, 187, 5, 69, 0, 0, 187, 58, 1, 0, 0, 0, 188, 189, 5, 69, 0, 0, 189, 190, 5, 88, 0, 0, 190, 191, 5, 73, 0, 0, 191, 192, 5, 83, 0, 0, 192, 193, 5, 84, 0, 0, 193, 194, 5, 83, 0, 0, 194, 60, 1, 0, 0, 0, 195, 196, 5, 73, 0, 0, 196, 197, 5, 78, 0, 0, 197, 62, 1, 0, 0, 0, 198, 199, 5, 84, 0, 0, 199, 200, 5, 82, 0, 0, 200, 201, 5, 85, 0, 0, 201, 202, 5, 69, 0, 0, 202, 64, 1, 0, 0, 0, 203, 204, 5, 70, 0, 0, 204, 205, 5, 65, 0, 0, 205, 206, 5, 76, 0, 0, 206, 207, 5, 83, 0, 0, 207, 208, 5, 69, 0, 0, 208, 66, 1, 0, 0, 0, 209, 210, 3, 5, 2, 0, 210, 68, 1, 0, 0, 0, 211, 212, 3, 7, 3, 0, 212, 70, 1, 0, 0, 0, 213, 215, 7, 7, 0, 0, 214, 213, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 217, 1, 0, 0, 0, 216, 218, 3, 9, 4, 0, 217, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, 217, 1, 0, 0, 0, 219, 220, 1, 0, 0, 0, 220, 72, 1, 0, 0, 0, 221, 223, 7, 8, 0, 0, 222, 221, 1, 0, 0, 0, 223, 224, 1, 0, 0, 0, 224, 222, 1, 0, 0, 0, 224, 225, 1, 0, 0, 0, 225, 74, 1, 0, 0, 0, 226, 228, 7, 1, 0, 0, 227, 226, 1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 230, 1, 0, 0, 0, 230, 76, 1, 0, 0, 0, 231, 235, 7, 5, 0, 0, 232, 234, 7, 6, 0, 0, 233, 232, 1, 0, 0, 0, 234, 237, 1, 0, 0, 0, 235, 233, 1, 0, 0, 0, 235, 236, 1, 0, 0, 0, 236, 78, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 14, 0, 82, 89, 97, 99, 110, 112, 123, 138, 214, 219, 224, 229, 235, 1, 6, 0, 0] \ No newline at end of file diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/cesqlparser_lexer.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/cesqlparser_lexer.go index 556d8b90986..22dc8dacc44 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/cesqlparser_lexer.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/gen/cesqlparser_lexer.go @@ -67,7 +67,7 @@ func cesqlparserlexerLexerInit() { } staticData.predictionContextCache = antlr.NewPredictionContextCache() staticData.serializedATN = []int32{ - 4, 0, 33, 235, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, + 4, 0, 33, 238, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, @@ -87,89 +87,90 @@ func cesqlparserlexerLexerInit() { 1, 26, 1, 26, 1, 26, 1, 27, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, - 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 4, 35, 215, 8, 35, 11, 35, 12, 35, - 216, 1, 36, 4, 36, 220, 8, 36, 11, 36, 12, 36, 221, 1, 37, 4, 37, 225, - 8, 37, 11, 37, 12, 37, 226, 1, 38, 1, 38, 5, 38, 231, 8, 38, 10, 38, 12, - 38, 234, 9, 38, 0, 0, 39, 1, 1, 3, 0, 5, 0, 7, 0, 9, 0, 11, 0, 13, 2, 15, - 3, 17, 4, 19, 5, 21, 6, 23, 0, 25, 7, 27, 8, 29, 9, 31, 10, 33, 11, 35, - 12, 37, 13, 39, 14, 41, 15, 43, 16, 45, 17, 47, 18, 49, 19, 51, 20, 53, - 21, 55, 22, 57, 23, 59, 24, 61, 25, 63, 26, 65, 27, 67, 28, 69, 29, 71, - 30, 73, 31, 75, 32, 77, 33, 1, 0, 8, 3, 0, 9, 10, 13, 13, 32, 32, 3, 0, - 48, 57, 65, 90, 97, 122, 2, 0, 34, 34, 92, 92, 2, 0, 39, 39, 92, 92, 1, - 0, 48, 57, 1, 0, 65, 90, 2, 0, 65, 90, 95, 95, 2, 0, 65, 90, 97, 122, 242, - 0, 1, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, - 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, - 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, - 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, - 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, - 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, - 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, - 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, - 0, 0, 0, 75, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 1, 80, 1, 0, 0, 0, 3, 87, 1, - 0, 0, 0, 5, 91, 1, 0, 0, 0, 7, 104, 1, 0, 0, 0, 9, 117, 1, 0, 0, 0, 11, - 119, 1, 0, 0, 0, 13, 126, 1, 0, 0, 0, 15, 128, 1, 0, 0, 0, 17, 130, 1, - 0, 0, 0, 19, 132, 1, 0, 0, 0, 21, 134, 1, 0, 0, 0, 23, 138, 1, 0, 0, 0, - 25, 140, 1, 0, 0, 0, 27, 144, 1, 0, 0, 0, 29, 147, 1, 0, 0, 0, 31, 151, - 1, 0, 0, 0, 33, 155, 1, 0, 0, 0, 35, 157, 1, 0, 0, 0, 37, 159, 1, 0, 0, - 0, 39, 161, 1, 0, 0, 0, 41, 163, 1, 0, 0, 0, 43, 165, 1, 0, 0, 0, 45, 167, - 1, 0, 0, 0, 47, 170, 1, 0, 0, 0, 49, 172, 1, 0, 0, 0, 51, 175, 1, 0, 0, - 0, 53, 177, 1, 0, 0, 0, 55, 180, 1, 0, 0, 0, 57, 183, 1, 0, 0, 0, 59, 188, - 1, 0, 0, 0, 61, 195, 1, 0, 0, 0, 63, 198, 1, 0, 0, 0, 65, 203, 1, 0, 0, - 0, 67, 209, 1, 0, 0, 0, 69, 211, 1, 0, 0, 0, 71, 214, 1, 0, 0, 0, 73, 219, - 1, 0, 0, 0, 75, 224, 1, 0, 0, 0, 77, 228, 1, 0, 0, 0, 79, 81, 7, 0, 0, - 0, 80, 79, 1, 0, 0, 0, 81, 82, 1, 0, 0, 0, 82, 80, 1, 0, 0, 0, 82, 83, - 1, 0, 0, 0, 83, 84, 1, 0, 0, 0, 84, 85, 6, 0, 0, 0, 85, 2, 1, 0, 0, 0, - 86, 88, 7, 1, 0, 0, 87, 86, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 87, 1, - 0, 0, 0, 89, 90, 1, 0, 0, 0, 90, 4, 1, 0, 0, 0, 91, 99, 5, 34, 0, 0, 92, - 93, 5, 92, 0, 0, 93, 98, 9, 0, 0, 0, 94, 95, 5, 34, 0, 0, 95, 98, 5, 34, - 0, 0, 96, 98, 8, 2, 0, 0, 97, 92, 1, 0, 0, 0, 97, 94, 1, 0, 0, 0, 97, 96, - 1, 0, 0, 0, 98, 101, 1, 0, 0, 0, 99, 97, 1, 0, 0, 0, 99, 100, 1, 0, 0, - 0, 100, 102, 1, 0, 0, 0, 101, 99, 1, 0, 0, 0, 102, 103, 5, 34, 0, 0, 103, - 6, 1, 0, 0, 0, 104, 112, 5, 39, 0, 0, 105, 106, 5, 92, 0, 0, 106, 111, - 9, 0, 0, 0, 107, 108, 5, 39, 0, 0, 108, 111, 5, 39, 0, 0, 109, 111, 8, - 3, 0, 0, 110, 105, 1, 0, 0, 0, 110, 107, 1, 0, 0, 0, 110, 109, 1, 0, 0, - 0, 111, 114, 1, 0, 0, 0, 112, 110, 1, 0, 0, 0, 112, 113, 1, 0, 0, 0, 113, - 115, 1, 0, 0, 0, 114, 112, 1, 0, 0, 0, 115, 116, 5, 39, 0, 0, 116, 8, 1, - 0, 0, 0, 117, 118, 7, 4, 0, 0, 118, 10, 1, 0, 0, 0, 119, 123, 7, 5, 0, - 0, 120, 122, 7, 6, 0, 0, 121, 120, 1, 0, 0, 0, 122, 125, 1, 0, 0, 0, 123, - 121, 1, 0, 0, 0, 123, 124, 1, 0, 0, 0, 124, 12, 1, 0, 0, 0, 125, 123, 1, - 0, 0, 0, 126, 127, 5, 40, 0, 0, 127, 14, 1, 0, 0, 0, 128, 129, 5, 41, 0, - 0, 129, 16, 1, 0, 0, 0, 130, 131, 5, 44, 0, 0, 131, 18, 1, 0, 0, 0, 132, - 133, 5, 39, 0, 0, 133, 20, 1, 0, 0, 0, 134, 135, 5, 34, 0, 0, 135, 22, - 1, 0, 0, 0, 136, 139, 3, 19, 9, 0, 137, 139, 3, 21, 10, 0, 138, 136, 1, - 0, 0, 0, 138, 137, 1, 0, 0, 0, 139, 24, 1, 0, 0, 0, 140, 141, 5, 65, 0, - 0, 141, 142, 5, 78, 0, 0, 142, 143, 5, 68, 0, 0, 143, 26, 1, 0, 0, 0, 144, - 145, 5, 79, 0, 0, 145, 146, 5, 82, 0, 0, 146, 28, 1, 0, 0, 0, 147, 148, - 5, 88, 0, 0, 148, 149, 5, 79, 0, 0, 149, 150, 5, 82, 0, 0, 150, 30, 1, - 0, 0, 0, 151, 152, 5, 78, 0, 0, 152, 153, 5, 79, 0, 0, 153, 154, 5, 84, - 0, 0, 154, 32, 1, 0, 0, 0, 155, 156, 5, 42, 0, 0, 156, 34, 1, 0, 0, 0, - 157, 158, 5, 47, 0, 0, 158, 36, 1, 0, 0, 0, 159, 160, 5, 37, 0, 0, 160, - 38, 1, 0, 0, 0, 161, 162, 5, 43, 0, 0, 162, 40, 1, 0, 0, 0, 163, 164, 5, - 45, 0, 0, 164, 42, 1, 0, 0, 0, 165, 166, 5, 61, 0, 0, 166, 44, 1, 0, 0, - 0, 167, 168, 5, 33, 0, 0, 168, 169, 5, 61, 0, 0, 169, 46, 1, 0, 0, 0, 170, - 171, 5, 62, 0, 0, 171, 48, 1, 0, 0, 0, 172, 173, 5, 62, 0, 0, 173, 174, - 5, 61, 0, 0, 174, 50, 1, 0, 0, 0, 175, 176, 5, 60, 0, 0, 176, 52, 1, 0, - 0, 0, 177, 178, 5, 60, 0, 0, 178, 179, 5, 62, 0, 0, 179, 54, 1, 0, 0, 0, - 180, 181, 5, 60, 0, 0, 181, 182, 5, 61, 0, 0, 182, 56, 1, 0, 0, 0, 183, - 184, 5, 76, 0, 0, 184, 185, 5, 73, 0, 0, 185, 186, 5, 75, 0, 0, 186, 187, - 5, 69, 0, 0, 187, 58, 1, 0, 0, 0, 188, 189, 5, 69, 0, 0, 189, 190, 5, 88, - 0, 0, 190, 191, 5, 73, 0, 0, 191, 192, 5, 83, 0, 0, 192, 193, 5, 84, 0, - 0, 193, 194, 5, 83, 0, 0, 194, 60, 1, 0, 0, 0, 195, 196, 5, 73, 0, 0, 196, - 197, 5, 78, 0, 0, 197, 62, 1, 0, 0, 0, 198, 199, 5, 84, 0, 0, 199, 200, - 5, 82, 0, 0, 200, 201, 5, 85, 0, 0, 201, 202, 5, 69, 0, 0, 202, 64, 1, - 0, 0, 0, 203, 204, 5, 70, 0, 0, 204, 205, 5, 65, 0, 0, 205, 206, 5, 76, - 0, 0, 206, 207, 5, 83, 0, 0, 207, 208, 5, 69, 0, 0, 208, 66, 1, 0, 0, 0, - 209, 210, 3, 5, 2, 0, 210, 68, 1, 0, 0, 0, 211, 212, 3, 7, 3, 0, 212, 70, - 1, 0, 0, 0, 213, 215, 3, 9, 4, 0, 214, 213, 1, 0, 0, 0, 215, 216, 1, 0, - 0, 0, 216, 214, 1, 0, 0, 0, 216, 217, 1, 0, 0, 0, 217, 72, 1, 0, 0, 0, - 218, 220, 7, 7, 0, 0, 219, 218, 1, 0, 0, 0, 220, 221, 1, 0, 0, 0, 221, - 219, 1, 0, 0, 0, 221, 222, 1, 0, 0, 0, 222, 74, 1, 0, 0, 0, 223, 225, 7, - 1, 0, 0, 224, 223, 1, 0, 0, 0, 225, 226, 1, 0, 0, 0, 226, 224, 1, 0, 0, - 0, 226, 227, 1, 0, 0, 0, 227, 76, 1, 0, 0, 0, 228, 232, 7, 5, 0, 0, 229, - 231, 7, 6, 0, 0, 230, 229, 1, 0, 0, 0, 231, 234, 1, 0, 0, 0, 232, 230, - 1, 0, 0, 0, 232, 233, 1, 0, 0, 0, 233, 78, 1, 0, 0, 0, 234, 232, 1, 0, - 0, 0, 13, 0, 82, 89, 97, 99, 110, 112, 123, 138, 216, 221, 226, 232, 1, - 6, 0, 0, + 32, 1, 33, 1, 33, 1, 34, 1, 34, 1, 35, 3, 35, 215, 8, 35, 1, 35, 4, 35, + 218, 8, 35, 11, 35, 12, 35, 219, 1, 36, 4, 36, 223, 8, 36, 11, 36, 12, + 36, 224, 1, 37, 4, 37, 228, 8, 37, 11, 37, 12, 37, 229, 1, 38, 1, 38, 5, + 38, 234, 8, 38, 10, 38, 12, 38, 237, 9, 38, 0, 0, 39, 1, 1, 3, 0, 5, 0, + 7, 0, 9, 0, 11, 0, 13, 2, 15, 3, 17, 4, 19, 5, 21, 6, 23, 0, 25, 7, 27, + 8, 29, 9, 31, 10, 33, 11, 35, 12, 37, 13, 39, 14, 41, 15, 43, 16, 45, 17, + 47, 18, 49, 19, 51, 20, 53, 21, 55, 22, 57, 23, 59, 24, 61, 25, 63, 26, + 65, 27, 67, 28, 69, 29, 71, 30, 73, 31, 75, 32, 77, 33, 1, 0, 9, 3, 0, + 9, 10, 13, 13, 32, 32, 3, 0, 48, 57, 65, 90, 97, 122, 2, 0, 34, 34, 92, + 92, 2, 0, 39, 39, 92, 92, 1, 0, 48, 57, 1, 0, 65, 90, 2, 0, 65, 90, 95, + 95, 2, 0, 43, 43, 45, 45, 2, 0, 65, 90, 97, 122, 246, 0, 1, 1, 0, 0, 0, + 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, + 0, 0, 21, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, + 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, + 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, + 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, + 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, + 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, + 0, 0, 69, 1, 0, 0, 0, 0, 71, 1, 0, 0, 0, 0, 73, 1, 0, 0, 0, 0, 75, 1, 0, + 0, 0, 0, 77, 1, 0, 0, 0, 1, 80, 1, 0, 0, 0, 3, 87, 1, 0, 0, 0, 5, 91, 1, + 0, 0, 0, 7, 104, 1, 0, 0, 0, 9, 117, 1, 0, 0, 0, 11, 119, 1, 0, 0, 0, 13, + 126, 1, 0, 0, 0, 15, 128, 1, 0, 0, 0, 17, 130, 1, 0, 0, 0, 19, 132, 1, + 0, 0, 0, 21, 134, 1, 0, 0, 0, 23, 138, 1, 0, 0, 0, 25, 140, 1, 0, 0, 0, + 27, 144, 1, 0, 0, 0, 29, 147, 1, 0, 0, 0, 31, 151, 1, 0, 0, 0, 33, 155, + 1, 0, 0, 0, 35, 157, 1, 0, 0, 0, 37, 159, 1, 0, 0, 0, 39, 161, 1, 0, 0, + 0, 41, 163, 1, 0, 0, 0, 43, 165, 1, 0, 0, 0, 45, 167, 1, 0, 0, 0, 47, 170, + 1, 0, 0, 0, 49, 172, 1, 0, 0, 0, 51, 175, 1, 0, 0, 0, 53, 177, 1, 0, 0, + 0, 55, 180, 1, 0, 0, 0, 57, 183, 1, 0, 0, 0, 59, 188, 1, 0, 0, 0, 61, 195, + 1, 0, 0, 0, 63, 198, 1, 0, 0, 0, 65, 203, 1, 0, 0, 0, 67, 209, 1, 0, 0, + 0, 69, 211, 1, 0, 0, 0, 71, 214, 1, 0, 0, 0, 73, 222, 1, 0, 0, 0, 75, 227, + 1, 0, 0, 0, 77, 231, 1, 0, 0, 0, 79, 81, 7, 0, 0, 0, 80, 79, 1, 0, 0, 0, + 81, 82, 1, 0, 0, 0, 82, 80, 1, 0, 0, 0, 82, 83, 1, 0, 0, 0, 83, 84, 1, + 0, 0, 0, 84, 85, 6, 0, 0, 0, 85, 2, 1, 0, 0, 0, 86, 88, 7, 1, 0, 0, 87, + 86, 1, 0, 0, 0, 88, 89, 1, 0, 0, 0, 89, 87, 1, 0, 0, 0, 89, 90, 1, 0, 0, + 0, 90, 4, 1, 0, 0, 0, 91, 99, 5, 34, 0, 0, 92, 93, 5, 92, 0, 0, 93, 98, + 9, 0, 0, 0, 94, 95, 5, 34, 0, 0, 95, 98, 5, 34, 0, 0, 96, 98, 8, 2, 0, + 0, 97, 92, 1, 0, 0, 0, 97, 94, 1, 0, 0, 0, 97, 96, 1, 0, 0, 0, 98, 101, + 1, 0, 0, 0, 99, 97, 1, 0, 0, 0, 99, 100, 1, 0, 0, 0, 100, 102, 1, 0, 0, + 0, 101, 99, 1, 0, 0, 0, 102, 103, 5, 34, 0, 0, 103, 6, 1, 0, 0, 0, 104, + 112, 5, 39, 0, 0, 105, 106, 5, 92, 0, 0, 106, 111, 9, 0, 0, 0, 107, 108, + 5, 39, 0, 0, 108, 111, 5, 39, 0, 0, 109, 111, 8, 3, 0, 0, 110, 105, 1, + 0, 0, 0, 110, 107, 1, 0, 0, 0, 110, 109, 1, 0, 0, 0, 111, 114, 1, 0, 0, + 0, 112, 110, 1, 0, 0, 0, 112, 113, 1, 0, 0, 0, 113, 115, 1, 0, 0, 0, 114, + 112, 1, 0, 0, 0, 115, 116, 5, 39, 0, 0, 116, 8, 1, 0, 0, 0, 117, 118, 7, + 4, 0, 0, 118, 10, 1, 0, 0, 0, 119, 123, 7, 5, 0, 0, 120, 122, 7, 6, 0, + 0, 121, 120, 1, 0, 0, 0, 122, 125, 1, 0, 0, 0, 123, 121, 1, 0, 0, 0, 123, + 124, 1, 0, 0, 0, 124, 12, 1, 0, 0, 0, 125, 123, 1, 0, 0, 0, 126, 127, 5, + 40, 0, 0, 127, 14, 1, 0, 0, 0, 128, 129, 5, 41, 0, 0, 129, 16, 1, 0, 0, + 0, 130, 131, 5, 44, 0, 0, 131, 18, 1, 0, 0, 0, 132, 133, 5, 39, 0, 0, 133, + 20, 1, 0, 0, 0, 134, 135, 5, 34, 0, 0, 135, 22, 1, 0, 0, 0, 136, 139, 3, + 19, 9, 0, 137, 139, 3, 21, 10, 0, 138, 136, 1, 0, 0, 0, 138, 137, 1, 0, + 0, 0, 139, 24, 1, 0, 0, 0, 140, 141, 5, 65, 0, 0, 141, 142, 5, 78, 0, 0, + 142, 143, 5, 68, 0, 0, 143, 26, 1, 0, 0, 0, 144, 145, 5, 79, 0, 0, 145, + 146, 5, 82, 0, 0, 146, 28, 1, 0, 0, 0, 147, 148, 5, 88, 0, 0, 148, 149, + 5, 79, 0, 0, 149, 150, 5, 82, 0, 0, 150, 30, 1, 0, 0, 0, 151, 152, 5, 78, + 0, 0, 152, 153, 5, 79, 0, 0, 153, 154, 5, 84, 0, 0, 154, 32, 1, 0, 0, 0, + 155, 156, 5, 42, 0, 0, 156, 34, 1, 0, 0, 0, 157, 158, 5, 47, 0, 0, 158, + 36, 1, 0, 0, 0, 159, 160, 5, 37, 0, 0, 160, 38, 1, 0, 0, 0, 161, 162, 5, + 43, 0, 0, 162, 40, 1, 0, 0, 0, 163, 164, 5, 45, 0, 0, 164, 42, 1, 0, 0, + 0, 165, 166, 5, 61, 0, 0, 166, 44, 1, 0, 0, 0, 167, 168, 5, 33, 0, 0, 168, + 169, 5, 61, 0, 0, 169, 46, 1, 0, 0, 0, 170, 171, 5, 62, 0, 0, 171, 48, + 1, 0, 0, 0, 172, 173, 5, 62, 0, 0, 173, 174, 5, 61, 0, 0, 174, 50, 1, 0, + 0, 0, 175, 176, 5, 60, 0, 0, 176, 52, 1, 0, 0, 0, 177, 178, 5, 60, 0, 0, + 178, 179, 5, 62, 0, 0, 179, 54, 1, 0, 0, 0, 180, 181, 5, 60, 0, 0, 181, + 182, 5, 61, 0, 0, 182, 56, 1, 0, 0, 0, 183, 184, 5, 76, 0, 0, 184, 185, + 5, 73, 0, 0, 185, 186, 5, 75, 0, 0, 186, 187, 5, 69, 0, 0, 187, 58, 1, + 0, 0, 0, 188, 189, 5, 69, 0, 0, 189, 190, 5, 88, 0, 0, 190, 191, 5, 73, + 0, 0, 191, 192, 5, 83, 0, 0, 192, 193, 5, 84, 0, 0, 193, 194, 5, 83, 0, + 0, 194, 60, 1, 0, 0, 0, 195, 196, 5, 73, 0, 0, 196, 197, 5, 78, 0, 0, 197, + 62, 1, 0, 0, 0, 198, 199, 5, 84, 0, 0, 199, 200, 5, 82, 0, 0, 200, 201, + 5, 85, 0, 0, 201, 202, 5, 69, 0, 0, 202, 64, 1, 0, 0, 0, 203, 204, 5, 70, + 0, 0, 204, 205, 5, 65, 0, 0, 205, 206, 5, 76, 0, 0, 206, 207, 5, 83, 0, + 0, 207, 208, 5, 69, 0, 0, 208, 66, 1, 0, 0, 0, 209, 210, 3, 5, 2, 0, 210, + 68, 1, 0, 0, 0, 211, 212, 3, 7, 3, 0, 212, 70, 1, 0, 0, 0, 213, 215, 7, + 7, 0, 0, 214, 213, 1, 0, 0, 0, 214, 215, 1, 0, 0, 0, 215, 217, 1, 0, 0, + 0, 216, 218, 3, 9, 4, 0, 217, 216, 1, 0, 0, 0, 218, 219, 1, 0, 0, 0, 219, + 217, 1, 0, 0, 0, 219, 220, 1, 0, 0, 0, 220, 72, 1, 0, 0, 0, 221, 223, 7, + 8, 0, 0, 222, 221, 1, 0, 0, 0, 223, 224, 1, 0, 0, 0, 224, 222, 1, 0, 0, + 0, 224, 225, 1, 0, 0, 0, 225, 74, 1, 0, 0, 0, 226, 228, 7, 1, 0, 0, 227, + 226, 1, 0, 0, 0, 228, 229, 1, 0, 0, 0, 229, 227, 1, 0, 0, 0, 229, 230, + 1, 0, 0, 0, 230, 76, 1, 0, 0, 0, 231, 235, 7, 5, 0, 0, 232, 234, 7, 6, + 0, 0, 233, 232, 1, 0, 0, 0, 234, 237, 1, 0, 0, 0, 235, 233, 1, 0, 0, 0, + 235, 236, 1, 0, 0, 0, 236, 78, 1, 0, 0, 0, 237, 235, 1, 0, 0, 0, 14, 0, + 82, 89, 97, 99, 110, 112, 123, 138, 214, 219, 224, 229, 235, 1, 6, 0, 0, } deserializer := antlr.NewATNDeserializer(nil) staticData.atn = deserializer.Deserialize(staticData.serializedATN) diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/expression_visitor.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/expression_visitor.go index 8ca5fd07ed4..4fb863ac2a3 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/expression_visitor.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/expression_visitor.go @@ -6,6 +6,7 @@ package parser import ( + "fmt" "strconv" "strings" @@ -175,9 +176,13 @@ func (v *expressionVisitor) VisitLikeExpression(ctx *gen.LikeExpressionContext) if patternContext.DQUOTED_STRING_LITERAL() != nil { // Parse double quoted string pattern = dQuotedStringToString(patternContext.DQUOTED_STRING_LITERAL().GetText()) - } else { + } else if patternContext.SQUOTED_STRING_LITERAL() != nil { // Parse single quoted string pattern = sQuotedStringToString(patternContext.SQUOTED_STRING_LITERAL().GetText()) + } else { + // not a string, return an error + v.parsingErrors = append(v.parsingErrors, fmt.Errorf("failed to parse LIKE expression: the pattern was not a string literal")) + return noopExpression{} } likeExpression, err := expression.NewLikeExpression(v.Visit(ctx.Expression()).(cesql.Expression), pattern) diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/parser.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/parser.go index 2dacf834be7..e332da2cc3b 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/parser.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/parser/parser.go @@ -6,13 +6,12 @@ package parser import ( - "errors" "fmt" - "strings" "github.com/antlr/antlr4/runtime/Go/antlr" - "github.com/cloudevents/sdk-go/sql/v2" + v2 "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" "github.com/cloudevents/sdk-go/sql/v2/gen" ) @@ -39,10 +38,10 @@ func (p *Parser) Parse(input string) (v2.Expression, error) { result := antlrParser.Cesql().Accept(&visitor) if result == nil { - return nil, mergeErrs(append(collectingErrorListener.errs, visitor.parsingErrors...)) + return nil, sqlerrors.NewParseError(append(collectingErrorListener.errs, visitor.parsingErrors...)) } - return result.(v2.Expression), mergeErrs(append(collectingErrorListener.errs, visitor.parsingErrors...)) + return result.(v2.Expression), sqlerrors.NewParseError(append(collectingErrorListener.errs, visitor.parsingErrors...)) } type errorListener struct { @@ -54,19 +53,6 @@ func (d *errorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol d.errs = append(d.errs, fmt.Errorf("syntax error: %v", e.GetMessage())) } -func mergeErrs(errs []error) error { - if len(errs) == 0 { - return nil - } - - var errStrings []string - for _, err := range errs { - errStrings = append(errStrings, err.Error()) - } - - return errors.New(strings.Join(errStrings, ",")) -} - var defaultParser = Parser{} func Parse(input string) (v2.Expression, error) { diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/runtime/functions_resolver.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/runtime/functions_resolver.go index b801368426b..5ab964fb7ff 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/runtime/functions_resolver.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/runtime/functions_resolver.go @@ -58,6 +58,11 @@ func (table functionTable) AddFunction(function cesql.Function) error { } } +// Adds user defined function +func AddFunction(fn cesql.Function) error { + return globalFunctionTable.AddFunction(fn) +} + func (table functionTable) ResolveFunction(name string, args int) cesql.Function { item := table[strings.ToUpper(name)] if item == nil { diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/types.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/types.go index 0c1f20078e8..629b7a18d55 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/types.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/types.go @@ -34,6 +34,21 @@ func (t Type) String() string { return "Any" } +func (t Type) ZeroValue() interface{} { + switch t { + case StringType: + return "" + case IntegerType: + return 0 + case BooleanType: + return false + case AnyType: + // by default, return false + return false + } + return false +} + func TypeFromVal(val interface{}) Type { switch val.(type) { case string: diff --git a/vendor/github.com/cloudevents/sdk-go/sql/v2/utils/casting.go b/vendor/github.com/cloudevents/sdk-go/sql/v2/utils/casting.go index 25895374db2..d8053adb328 100644 --- a/vendor/github.com/cloudevents/sdk-go/sql/v2/utils/casting.go +++ b/vendor/github.com/cloudevents/sdk-go/sql/v2/utils/casting.go @@ -11,6 +11,7 @@ import ( "strings" cesql "github.com/cloudevents/sdk-go/sql/v2" + sqlerrors "github.com/cloudevents/sdk-go/sql/v2/errors" ) func Cast(val interface{}, target cesql.Type) (interface{}, error) { @@ -36,11 +37,16 @@ func Cast(val interface{}, target cesql.Type) (interface{}, error) { case string: v, err := strconv.ParseInt(val.(string), 10, 32) if err != nil { - err = fmt.Errorf("cannot cast from String to Integer: %w", err) + err = sqlerrors.NewCastError(fmt.Errorf("cannot cast from String to Integer: %w", err)) } return int32(v), err + case bool: + if val.(bool) { + return int32(1), nil + } + return int32(0), nil } - return 0, fmt.Errorf("undefined cast from %v to %v", cesql.TypeFromVal(val), target) + return 0, sqlerrors.NewCastError(fmt.Errorf("undefined cast from %v to %v", cesql.TypeFromVal(val), target)) case cesql.BooleanType: switch val.(type) { case string: @@ -50,9 +56,14 @@ func Cast(val interface{}, target cesql.Type) (interface{}, error) { } else if lowerCase == "false" { return false, nil } - return false, fmt.Errorf("cannot cast String to Boolean, actual value: %v", val) + return false, sqlerrors.NewCastError(fmt.Errorf("cannot cast String to Boolean, actual value: %v", val)) + case int32: + if val.(int32) == 0 { + return false, nil + } + return true, nil } - return false, fmt.Errorf("undefined cast from %v to %v", cesql.TypeFromVal(val), target) + return false, sqlerrors.NewCastError(fmt.Errorf("undefined cast from %v to %v", cesql.TypeFromVal(val), target)) } // AnyType doesn't need casting diff --git a/vendor/modules.txt b/vendor/modules.txt index b554df8fc99..e990b6c4dfb 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -45,9 +45,10 @@ github.com/cloudevents/sdk-go/observability/opencensus/v2/http # github.com/cloudevents/sdk-go/protocol/mqtt_paho/v2 v2.0.0-20240508060731-1ed9471c98bd ## explicit; go 1.18 github.com/cloudevents/sdk-go/protocol/mqtt_paho/v2 -# github.com/cloudevents/sdk-go/sql/v2 v2.15.2 +# github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20240712172937-3ce6b2f1f011 ## explicit; go 1.18 github.com/cloudevents/sdk-go/sql/v2 +github.com/cloudevents/sdk-go/sql/v2/errors github.com/cloudevents/sdk-go/sql/v2/expression github.com/cloudevents/sdk-go/sql/v2/function github.com/cloudevents/sdk-go/sql/v2/gen From 2cc0a5bedff599083375c188f32976b8a945c7fb Mon Sep 17 00:00:00 2001 From: Calum Murray Date: Tue, 16 Jul 2024 10:42:58 -0400 Subject: [PATCH 11/11] feat: remove new-trigger-filters feature flag (#8067) Signed-off-by: Calum Murray --- config/core/configmaps/features.yaml | 5 ----- pkg/apis/eventing/v1/trigger_validation.go | 2 +- pkg/apis/eventing/v1/trigger_validation_test.go | 5 +---- pkg/apis/feature/features.go | 1 - pkg/apis/feature/features_test.go | 3 --- pkg/apis/feature/flag_names.go | 1 - pkg/broker/filter/filter_handler.go | 2 +- pkg/broker/filter/filter_handler_test.go | 4 +--- test/config/config-features.yaml | 5 ----- test/experimental/config/features.yaml | 1 - 10 files changed, 4 insertions(+), 25 deletions(-) diff --git a/config/core/configmaps/features.yaml b/config/core/configmaps/features.yaml index d459714ccf0..a64c0dc0c2f 100644 --- a/config/core/configmaps/features.yaml +++ b/config/core/configmaps/features.yaml @@ -39,11 +39,6 @@ data: # For more details: https://github.com/knative/eventing/issues/5593 kreference-mapping: "disabled" - # BETA feature: The new-trigger-filters flag allows you to use the new `filters` field - # in Trigger objects with its rich filtering capabilities. - # For more details: https://github.com/knative/eventing/issues/5204 - new-trigger-filters: "enabled" - # BETA feature: The transport-encryption flag allows you to encrypt events in transit using the transport layer security (TLS) protocol. # For more details: https://github.com/knative/eventing/issues/5957 transport-encryption: "disabled" diff --git a/pkg/apis/eventing/v1/trigger_validation.go b/pkg/apis/eventing/v1/trigger_validation.go index 7208b6246f6..b0d8b2b2424 100644 --- a/pkg/apis/eventing/v1/trigger_validation.go +++ b/pkg/apis/eventing/v1/trigger_validation.go @@ -186,7 +186,7 @@ func ValidateAttributesNames(attrs map[string]string) (errs *apis.FieldError) { } func ValidateSubscriptionAPIFiltersList(ctx context.Context, filters []SubscriptionsAPIFilter) (errs *apis.FieldError) { - if filters == nil || !feature.FromContext(ctx).IsEnabled(feature.NewTriggerFilters) { + if filters == nil { return nil } diff --git a/pkg/apis/eventing/v1/trigger_validation_test.go b/pkg/apis/eventing/v1/trigger_validation_test.go index b571d8472d9..ae914fc0504 100644 --- a/pkg/apis/eventing/v1/trigger_validation_test.go +++ b/pkg/apis/eventing/v1/trigger_validation_test.go @@ -692,9 +692,6 @@ func TestTriggerSpecValidationWithCrossNamespaceEventLinksFeatureEnabled(t *test } func TestFilterSpecValidation(t *testing.T) { - newTriggerFiltersEnabledCtx := feature.ToContext(context.TODO(), feature.Flags{ - feature.NewTriggerFilters: feature.Enabled, - }) tests := []struct { name string filter *TriggerFilter @@ -939,7 +936,7 @@ func TestFilterSpecValidation(t *testing.T) { Filters: test.filters, Subscriber: validSubscriber, } - got := ts.Validate(newTriggerFiltersEnabledCtx) + got := ts.Validate(context.Background()) if diff := cmp.Diff(test.want.Error(), got.Error()); diff != "" { t.Errorf("Validate TriggerSpec (-want, +got) =\n%s", diff) } diff --git a/pkg/apis/feature/features.go b/pkg/apis/feature/features.go index 7ba4f66de57..b2ca380fc77 100644 --- a/pkg/apis/feature/features.go +++ b/pkg/apis/feature/features.go @@ -76,7 +76,6 @@ func newDefaults() Flags { DeliveryRetryAfter: Disabled, DeliveryTimeout: Enabled, KReferenceMapping: Disabled, - NewTriggerFilters: Enabled, TransportEncryption: Disabled, OIDCAuthentication: Disabled, EvenTypeAutoCreate: Disabled, diff --git a/pkg/apis/feature/features_test.go b/pkg/apis/feature/features_test.go index 6810f7158e3..5b7caa8404a 100644 --- a/pkg/apis/feature/features_test.go +++ b/pkg/apis/feature/features_test.go @@ -71,7 +71,4 @@ func TestShouldNotOverrideDefaults(t *testing.T) { if !f.IsDisabled(KReferenceGroup) && !f.IsEnabled(KReferenceGroup) { t.Errorf("Expected default value for %s in flags %+v", KReferenceGroup, f) } - if !f.IsEnabled(NewTriggerFilters) { - t.Errorf("Expected default value for %s to be %s in flags %+v", NewTriggerFilters, Enabled, f) - } } diff --git a/pkg/apis/feature/flag_names.go b/pkg/apis/feature/flag_names.go index 51ccaec3dac..6a7579fb710 100644 --- a/pkg/apis/feature/flag_names.go +++ b/pkg/apis/feature/flag_names.go @@ -21,7 +21,6 @@ const ( DeliveryRetryAfter = "delivery-retryafter" DeliveryTimeout = "delivery-timeout" KReferenceMapping = "kreference-mapping" - NewTriggerFilters = "new-trigger-filters" TransportEncryption = "transport-encryption" EvenTypeAutoCreate = "eventtype-auto-create" OIDCAuthentication = "authentication-oidc" diff --git a/pkg/broker/filter/filter_handler.go b/pkg/broker/filter/filter_handler.go index cbd3fddd44d..8ea2565ebfa 100644 --- a/pkg/broker/filter/filter_handler.go +++ b/pkg/broker/filter/filter_handler.go @@ -563,7 +563,7 @@ func (h *Handler) getTrigger(ref path.NamespacedNameUID) (*eventingv1.Trigger, e func (h *Handler) filterEvent(ctx context.Context, trigger *eventingv1.Trigger, event cloudevents.Event) eventfilter.FilterResult { switch { - case feature.FromContext(ctx).IsEnabled(feature.NewTriggerFilters) && len(trigger.Spec.Filters) > 0: + case len(trigger.Spec.Filters) > 0: logging.FromContext(ctx).Debugw("New trigger filters feature is enabled. Applying new filters.", zap.Any("filters", trigger.Spec.Filters)) filter, ok := h.filtersMap.Get(trigger) if !ok { diff --git a/pkg/broker/filter/filter_handler_test.go b/pkg/broker/filter/filter_handler_test.go index e652e67fb8f..e220e401774 100644 --- a/pkg/broker/filter/filter_handler_test.go +++ b/pkg/broker/filter/filter_handler_test.go @@ -672,9 +672,7 @@ func TestReceiver_WithSubscriptionsAPI(t *testing.T) { reporter, configmapinformer.Get(ctx).Lister().ConfigMaps("ns"), func(ctx context.Context) context.Context { - return feature.ToContext(context.TODO(), feature.Flags{ - feature.NewTriggerFilters: feature.Enabled, - }) + return ctx }) if err != nil { t.Fatal("Unable to create receiver:", err) diff --git a/test/config/config-features.yaml b/test/config/config-features.yaml index 8fbccdd8d6e..81c2dfce9c8 100644 --- a/test/config/config-features.yaml +++ b/test/config/config-features.yaml @@ -35,11 +35,6 @@ data: # For more details: https://github.com/knative/eventing/issues/5593 kreference-mapping: "disabled" - # BETA feature: The new-trigger-filters flag allows you to use the new `filters` field - # in Trigger objects with its rich filtering capabilities. - # For more details: https://github.com/knative/eventing/issues/5204 - new-trigger-filters: "enabled" - # ALPHA feature: The transport-encryption flag allows you to encrypt events in transit using the transport layer security (TLS) protocol. # For more details: https://github.com/knative/eventing/issues/5957 transport-encryption: "disabled" diff --git a/test/experimental/config/features.yaml b/test/experimental/config/features.yaml index 8968e320835..b9174cd8fba 100644 --- a/test/experimental/config/features.yaml +++ b/test/experimental/config/features.yaml @@ -24,5 +24,4 @@ data: kreference-group: "enabled" delivery-retryafter: "enabled" delivery-timeout: "enabled" - new-trigger-filters: "enabled" eventtype-auto-create: "enabled"