diff --git a/cmd/controller/main.go b/cmd/controller/main.go index 9ee09bd3e7b..985f207de82 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -18,10 +18,11 @@ package main import ( "flag" - "k8s.io/client-go/tools/clientcmd" "log" "os" + "k8s.io/client-go/tools/clientcmd" + // Uncomment the following line to load the gcp plugin (only required to authenticate against GKE clusters). // _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" diff --git a/cmd/in_memory/controller/main.go b/cmd/in_memory/controller/main.go index 9830ccc09b9..927d7a395f2 100644 --- a/cmd/in_memory/controller/main.go +++ b/cmd/in_memory/controller/main.go @@ -22,9 +22,9 @@ import ( // Uncomment the following line to load the gcp plugin (only required to authenticate against GKE clusters). // _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" - "github.com/knative/eventing/pkg/provisioners/inmemory/channel" eventingv1alpha1 "github.com/knative/eventing/pkg/apis/eventing/v1alpha1" "github.com/knative/eventing/pkg/provisioners" + "github.com/knative/eventing/pkg/provisioners/inmemory/channel" "github.com/knative/eventing/pkg/provisioners/inmemory/clusterchannelprovisioner" "github.com/knative/pkg/signals" "go.uber.org/zap" diff --git a/cmd/sources_controller/main.go b/cmd/sources_controller/main.go index 0184689c5ea..9d03984e07c 100644 --- a/cmd/sources_controller/main.go +++ b/cmd/sources_controller/main.go @@ -18,9 +18,10 @@ package main import ( "flag" - "github.com/knative/eventing/pkg/metrics" "log" + "github.com/knative/eventing/pkg/metrics" + // Uncomment the following line to load the gcp plugin (only required to authenticate against GKE clusters). // _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" diff --git a/pkg/apis/sources/v1alpha1/cron_job_types.go b/pkg/apis/sources/v1alpha1/cron_job_types.go index 24606569a6f..c14ecb16e79 100644 --- a/pkg/apis/sources/v1alpha1/cron_job_types.go +++ b/pkg/apis/sources/v1alpha1/cron_job_types.go @@ -18,6 +18,7 @@ package v1alpha1 import ( "fmt" + "github.com/knative/pkg/apis/duck" duckv1alpha1 "github.com/knative/pkg/apis/duck/v1alpha1" "github.com/knative/pkg/kmeta"