Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Format contrib repo to be more flat. #526

Merged
merged 1 commit into from
Aug 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@

**/zz_generated.*.go linguist-generated=true
/pkg/client/** linguist-generated=true
/contrib/*/pkg/client/** linguist-generated=true
/kafka/*/pkg/client/** linguist-generated=true
/**/pkg/client/** linguist-generated=true


# coverage-excluded is an attribute used to explicitly exclude a path from being included in code
# coverage. If a path is marked as linguist-generated already, it will be implicitly excluded and
# there is no need to add the coverage-excluded attribute
/pkg/**/testing/** coverage-excluded=true
/contrib/*/pkg/**/testing/** coverage-excluded=true
/kafka/*/pkg/**/testing/** coverage-excluded=true
/**/pkg/**/testing/** coverage-excluded=true
/vendor/** coverage-excluded=true
/test/** coverage-excluded=true
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package main
import (
"log"

"github.com/knative/eventing-contrib/contrib/awssqs/pkg/apis"
"github.com/knative/eventing-contrib/contrib/awssqs/pkg/reconciler"
"github.com/knative/eventing-contrib/awssqs/pkg/apis"
"github.com/knative/eventing-contrib/awssqs/pkg/reconciler"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"knative.dev/pkg/logging/logkey"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"log"
"os"

awssqs "github.com/knative/eventing-contrib/contrib/awssqs/pkg/adapter"
awssqs "github.com/knative/eventing-contrib/awssqs/pkg/adapter"
"knative.dev/pkg/signals"

"go.uber.org/zap"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ spec:
control-plane: awssqs-controller-manager
spec:
containers:
- image: github.com/knative/eventing-contrib/contrib/awssqs/cmd/controller
- image: github.com/knative/eventing-contrib/awssqs/cmd/controller
env:
- name: AWSSQS_RA_IMAGE
value: github.com/knative/eventing-contrib/contrib/awssqs/cmd/receive_adapter
value: github.com/knative/eventing-contrib/awssqs/cmd/receive_adapter
name: manager
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"github.com/cloudevents/sdk-go/pkg/cloudevents"
"github.com/cloudevents/sdk-go/pkg/cloudevents/client"
"github.com/cloudevents/sdk-go/pkg/cloudevents/types"
sourcesv1alpha1 "github.com/knative/eventing-contrib/contrib/awssqs/pkg/apis/sources/v1alpha1"
sourcesv1alpha1 "github.com/knative/eventing-contrib/awssqs/pkg/apis/sources/v1alpha1"
"github.com/knative/eventing-contrib/pkg/kncloudevents"
"go.uber.org/zap"
"golang.org/x/net/context"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

package apis

import "github.com/knative/eventing-contrib/contrib/awssqs/pkg/apis/sources/v1alpha1"
import "github.com/knative/eventing-contrib/awssqs/pkg/apis/sources/v1alpha1"

func init() {
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Generate deepcopy for apis
//go:generate go run ../../../../vendor/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./... -h ../../../../hack/boilerplate.go.txt
//go:generate go run ../../../vendor/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./... -h ../../../hack/boilerplate.go.txt

// Package apis contains Kubernetes API groups.
package apis
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"log"
"os"

"github.com/knative/eventing-contrib/contrib/awssqs/pkg/apis/sources/v1alpha1"
"github.com/knative/eventing-contrib/contrib/awssqs/pkg/reconciler/resources"
"github.com/knative/eventing-contrib/awssqs/pkg/apis/sources/v1alpha1"
"github.com/knative/eventing-contrib/awssqs/pkg/reconciler/resources"
"github.com/knative/eventing-contrib/pkg/controller/sdk"
"github.com/knative/eventing-contrib/pkg/controller/sinks"
"github.com/knative/eventing-contrib/pkg/reconciler/eventtype"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package resources
import (
"fmt"

"github.com/knative/eventing-contrib/contrib/awssqs/pkg/apis/sources/v1alpha1"
"github.com/knative/eventing-contrib/awssqs/pkg/apis/sources/v1alpha1"
v1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package main
import (
"log"

"github.com/knative/eventing-contrib/contrib/github/pkg/apis"
controller "github.com/knative/eventing-contrib/contrib/github/pkg/reconciler"
"github.com/knative/eventing-contrib/github/pkg/apis"
controller "github.com/knative/eventing-contrib/github/pkg/reconciler"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
"knative.dev/pkg/logging/logkey"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net/http"
"os"

github "github.com/knative/eventing-contrib/contrib/github/pkg/adapter"
github "github.com/knative/eventing-contrib/github/pkg/adapter"
gh "gopkg.in/go-playground/webhooks.v5/github"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ spec:
spec:
serviceAccountName: github-controller-manager
containers:
- image: github.com/knative/eventing-contrib/contrib/github/cmd/controller
- image: github.com/knative/eventing-contrib/github/cmd/controller
name: manager
env:
- name: GH_RA_IMAGE
value: github.com/knative/eventing-contrib/contrib/github/cmd/receive_adapter
value: github.com/knative/eventing-contrib/github/cmd/receive_adapter
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"strings"

cloudevents "github.com/cloudevents/sdk-go"
sourcesv1alpha1 "github.com/knative/eventing-contrib/contrib/github/pkg/apis/sources/v1alpha1"
sourcesv1alpha1 "github.com/knative/eventing-contrib/github/pkg/apis/sources/v1alpha1"
"github.com/knative/eventing-contrib/pkg/kncloudevents"
gh "gopkg.in/go-playground/webhooks.v5/github"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"strings"
"testing"

"github.com/knative/eventing-contrib/contrib/github/pkg/apis/sources/v1alpha1"
"github.com/knative/eventing-contrib/github/pkg/apis/sources/v1alpha1"

"github.com/google/go-cmp/cmp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

package apis

import "github.com/knative/eventing-contrib/contrib/github/pkg/apis/sources/v1alpha1"
import "github.com/knative/eventing-contrib/github/pkg/apis/sources/v1alpha1"

func init() {
// Register the types with the Scheme so the components can map objects to GroupVersionKinds and back
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

// Generate deepcopy for apis
//go:generate go run ../../../../vendor/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./... -h ../../../../hack/boilerplate.go.txt
//go:generate go run ../../../vendor/k8s.io/code-generator/cmd/deepcopy-gen/main.go -O zz_generated.deepcopy -i ./... -h ../../../hack/boilerplate.go.txt

// Package apis contains Kubernetes API groups.
package apis
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading