WIP: Integration sink and source: all together #6830
Annotations
10 errors and 1 warning
cmd/controller/main.go#L1
Please run goimports.
diff --git a/cmd/controller/main.go b/cmd/controller/main.go
index bfca7ca..03dd21d 100644
--- a/cmd/controller/main.go
+++ b/cmd/controller/main.go
@@ -21,13 +21,14 @@ import (
// _ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
"errors"
- integrationSink "knative.dev/eventing/pkg/reconciler/integration/sink"
- integrationSource "knative.dev/eventing/pkg/reconciler/integration/source"
"log"
"net/http"
"os"
"time"
+ integrationSink "knative.dev/eventing/pkg/reconciler/integration/sink"
+ integrationSource "knative.dev/eventing/pkg/reconciler/integration/source"
+
"knative.dev/pkg/injection/sharedmain"
filteredFactory "knative.dev/pkg/client/injection/kube/informers/factory/filtered"
|
cmd/webhook/main.go#L1
Please run goimports.
diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go
index fddd03f..76dc703 100644
--- a/cmd/webhook/main.go
+++ b/cmd/webhook/main.go
@@ -18,9 +18,10 @@ package main
import (
"context"
- sourcesv1alpha1 "knative.dev/eventing/pkg/apis/sources/v1alpha1"
"os"
+ sourcesv1alpha1 "knative.dev/eventing/pkg/apis/sources/v1alpha1"
+
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/types"
"k8s.io/client-go/kubernetes/scheme"
|
pkg/apis/sinks/v1alpha1/integration_sink_defaults_test.go#L1
Please run goimports.
diff --git a/pkg/apis/sinks/v1alpha1/integration_sink_defaults_test.go b/pkg/apis/sinks/v1alpha1/integration_sink_defaults_test.go
index 41bdc31..fd60580 100644
--- a/pkg/apis/sinks/v1alpha1/integration_sink_defaults_test.go
+++ b/pkg/apis/sinks/v1alpha1/integration_sink_defaults_test.go
@@ -18,8 +18,9 @@ package v1alpha1
import (
"context"
- "github.com/google/go-cmp/cmp"
"testing"
+
+ "github.com/google/go-cmp/cmp"
)
func TestIntegrationSinkSetDefaults(t *testing.T) {
|
pkg/apis/sinks/v1alpha1/integration_sink_lifecycle_test.go#L1
Please run goimports.
diff --git a/pkg/apis/sinks/v1alpha1/integration_sink_lifecycle_test.go b/pkg/apis/sinks/v1alpha1/integration_sink_lifecycle_test.go
index 4cb2902..a7cfeee 100644
--- a/pkg/apis/sinks/v1alpha1/integration_sink_lifecycle_test.go
+++ b/pkg/apis/sinks/v1alpha1/integration_sink_lifecycle_test.go
@@ -17,11 +17,12 @@ limitations under the License.
package v1alpha1
import (
+ "testing"
+
"github.com/google/go-cmp/cmp"
corev1 "k8s.io/api/core/v1"
"knative.dev/pkg/apis"
duckv1 "knative.dev/pkg/apis/duck/v1"
- "testing"
)
func TestIntegrationSinkGetConditionSet(t *testing.T) {
|
pkg/apis/sinks/v1alpha1/integration_sink_types_test.go#L1
Please run goimports.
diff --git a/pkg/apis/sinks/v1alpha1/integration_sink_types_test.go b/pkg/apis/sinks/v1alpha1/integration_sink_types_test.go
index d148aa2..c35bf59 100644
--- a/pkg/apis/sinks/v1alpha1/integration_sink_types_test.go
+++ b/pkg/apis/sinks/v1alpha1/integration_sink_types_test.go
@@ -17,8 +17,9 @@ limitations under the License.
package v1alpha1
import (
- "knative.dev/eventing/pkg/apis/common"
"testing"
+
+ "knative.dev/eventing/pkg/apis/common"
)
func TestIntegrationSink_GetStatus(t *testing.T) {
|
pkg/apis/sinks/v1alpha1/integration_sink_validation.go#L1
Please run goimports.
diff --git a/pkg/apis/sinks/v1alpha1/integration_sink_validation.go b/pkg/apis/sinks/v1alpha1/integration_sink_validation.go
index 40d0231..202df43 100644
--- a/pkg/apis/sinks/v1alpha1/integration_sink_validation.go
+++ b/pkg/apis/sinks/v1alpha1/integration_sink_validation.go
@@ -18,6 +18,7 @@ package v1alpha1
import (
"context"
+
"knative.dev/pkg/apis"
)
|
pkg/apis/sinks/v1alpha1/integration_sink_validation_test.go#L1
Please run goimports.
diff --git a/pkg/apis/sinks/v1alpha1/integration_sink_validation_test.go b/pkg/apis/sinks/v1alpha1/integration_sink_validation_test.go
index d984ead..8e346fd 100644
--- a/pkg/apis/sinks/v1alpha1/integration_sink_validation_test.go
+++ b/pkg/apis/sinks/v1alpha1/integration_sink_validation_test.go
@@ -18,9 +18,10 @@ package v1alpha1
import (
"context"
- "knative.dev/eventing/pkg/apis/common"
"testing"
+ "knative.dev/eventing/pkg/apis/common"
+
"github.com/google/go-cmp/cmp"
"knative.dev/pkg/apis"
)
|
pkg/apis/sources/v1alpha1/integration_conversion.go#L1
Please run goimports.
diff --git a/pkg/apis/sources/v1alpha1/integration_conversion.go b/pkg/apis/sources/v1alpha1/integration_conversion.go
index 6b0235d..32bfc7c 100644
--- a/pkg/apis/sources/v1alpha1/integration_conversion.go
+++ b/pkg/apis/sources/v1alpha1/integration_conversion.go
@@ -19,6 +19,7 @@ package v1alpha1
import (
"context"
"fmt"
+
"knative.dev/pkg/apis"
)
|
pkg/apis/sources/v1alpha1/integration_conversion_test.go#L1
Please run goimports.
diff --git a/pkg/apis/sources/v1alpha1/integration_conversion_test.go b/pkg/apis/sources/v1alpha1/integration_conversion_test.go
index 93d712e..2272ecc 100644
--- a/pkg/apis/sources/v1alpha1/integration_conversion_test.go
+++ b/pkg/apis/sources/v1alpha1/integration_conversion_test.go
@@ -19,8 +19,9 @@ package v1alpha1
import (
"context"
"errors"
- "knative.dev/pkg/apis"
"testing"
+
+ "knative.dev/pkg/apis"
)
// implement apis.Convertible
|
pkg/apis/sources/v1alpha1/integration_defaults_test.go#L1
Please run goimports.
diff --git a/pkg/apis/sources/v1alpha1/integration_defaults_test.go b/pkg/apis/sources/v1alpha1/integration_defaults_test.go
index 3497c91..ed58649 100644
--- a/pkg/apis/sources/v1alpha1/integration_defaults_test.go
+++ b/pkg/apis/sources/v1alpha1/integration_defaults_test.go
@@ -18,8 +18,9 @@ package v1alpha1
import (
"context"
- "github.com/google/go-cmp/cmp"
"testing"
+
+ "github.com/google/go-cmp/cmp"
)
func TestSetDefaults(t *testing.T) {
|
|
This job failed
Loading