Define and implement an OpenAPI spec in the backend #542
knative-style.yaml
on: pull_request
style
/
changes
3s
style
/
...
/
Auto-format and Check
11s
style
/
...
/
Lint
15s
style
/
...
/
Do Not Submit
4s
style
/
...
/
shell
5s
style
/
...
/
yaml
23s
style
/
...
/
github_actions
0s
Matrix: style / Golang / Boilerplate Check
Annotations
4 errors and 8 warnings
style / Golang / Auto-format and Check:
backends/pkg/reconciler/eventmesh/controller.go#L1
Please run goimports.
diff --git a/backends/pkg/reconciler/eventmesh/controller.go b/backends/pkg/reconciler/eventmesh/controller.go
index 10f54d0..8f74beb 100644
--- a/backends/pkg/reconciler/eventmesh/controller.go
+++ b/backends/pkg/reconciler/eventmesh/controller.go
@@ -2,10 +2,11 @@ package eventmesh
import (
"context"
- "github.com/getkin/kin-openapi/openapi3filter"
"log"
"net/http"
+ "github.com/getkin/kin-openapi/openapi3filter"
+
"github.com/getkin/kin-openapi/openapi3"
"github.com/gorilla/mux"
middleware "github.com/oapi-codegen/nethttp-middleware"
|
style / Golang / Auto-format and Check:
backends/pkg/reconciler/eventmesh/endpoint.go#L1
Please run goimports.
diff --git a/backends/pkg/reconciler/eventmesh/endpoint.go b/backends/pkg/reconciler/eventmesh/endpoint.go
index 4a7bf4d..a64bc45 100644
--- a/backends/pkg/reconciler/eventmesh/endpoint.go
+++ b/backends/pkg/reconciler/eventmesh/endpoint.go
@@ -3,9 +3,10 @@ package eventmesh
import (
"context"
"fmt"
- "go.uber.org/zap"
"log"
+ "go.uber.org/zap"
+
"k8s.io/client-go/dynamic"
"k8s.io/client-go/rest"
"knative.dev/eventing/pkg/client/clientset/versioned"
|
style / Golang / Auto-format and Check:
backends/pkg/reconciler/eventmesh/util.go#L1
Please run goimports.
diff --git a/backends/pkg/reconciler/eventmesh/util.go b/backends/pkg/reconciler/eventmesh/util.go
index bca0be9..660d2f4 100644
--- a/backends/pkg/reconciler/eventmesh/util.go
+++ b/backends/pkg/reconciler/eventmesh/util.go
@@ -2,6 +2,7 @@ package eventmesh
import (
"fmt"
+
v1 "knative.dev/pkg/apis/duck/v1"
)
|
style / Golang / Auto-format and Check
Process completed with exit code 1.
|
style / changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
style / Golang / Do Not Submit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
style / suggester / shell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
|
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
|
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
|
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/backstage-plugins/backstage-plugins. Supported file pattern: go.sum
|
style / suggester / yaml
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|