Preparing report...

Report for github.com/knative/eventing

A+    Excellent!    Found 325 issues across 1020 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


golint69%

Golint is a linter for Go source code.

    • eventing/cmd/webhook/main.go
    • Line 87: warning: exported function NewDefaultingAdmissionController should have comment or be unexported (golint)
    • Line 122: warning: exported function NewValidationAdmissionController should have comment or be unexported (golint)
    • Line 163: warning: exported function NewConfigValidationController should have comment or be unexported (golint)
    • Line 182: warning: exported function NewSinkBindingWebhook should have comment or be unexported (golint)
    • Line 204: warning: exported function NewConversionController should have comment or be unexported (golint)
    • Line 221: warning: don't use underscores in Go names; var sourcesv1beta2_ should be sourcesv1beta2 (golint)
    • Line 222: warning: don't use underscores in Go names; var sourcesv1_ should be sourcesv1 (golint)
    • eventing/pkg/adapter/v2/main_message.go
    • Line 38: warning: exported type MessageAdapter should have comment or be unexported (golint)
    • Line 42: warning: exported type MessageAdapterConstructor should have comment or be unexported (golint)
    • Line 44: warning: exported function MainMessageAdapter should have comment or be unexported (golint)
    • Line 48: warning: exported function MainMessageAdapterWithContext should have comment or be unexported (golint)
    • eventing/test/rekt/features/trigger/client.go
    • Line 33: warning: exported const TriggerNameKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported function GetTrigger should have comment or be unexported (golint)
    • Line 47: warning: exported function SetTriggerName should have comment or be unexported (golint)
    • Line 53: warning: exported type EventingClient should have comment or be unexported (golint)
    • Line 58: warning: exported function Client should have comment or be unexported (golint)
    • eventing/test/lib/config.go
    • Line 42: warning: comment on exported var ChannelFeatureMap should be of the form "ChannelFeatureMap ..." (golint)
    • Line 49: warning: exported var ApiServerSourceTypeMeta should have comment or be unexported (golint)
    • Line 54: warning: exported var PingSourceTypeMeta should have comment or be unexported (golint)
    • Line 59: warning: exported var SourceFeatureMap should have comment or be unexported (golint)
    • Line 64: warning: exported var BrokerFeatureMap should have comment or be unexported (golint)
    • Line 79: warning: comment on exported const FeatureLongLiving should be of the form "FeatureLongLiving ..." (golint)
    • Line 81: warning: comment on exported const FeatureBatch should be of the form "FeatureBatch ..." (golint)
    • Line 86: warning: comment on exported const DefaultEventSource should be of the form "DefaultEventSource ..." (golint)
    • Line 88: warning: exported const DefaultEventType should have comment (or a comment on this block) or be unexported (golint)
    • eventing/pkg/kncloudevents/message_sender.go
    • Line 33: warning: comment on exported function NewHTTPMessageSender should be of the form "NewHTTPMessageSender ..." (golint)
    • Line 39: warning: exported function NewHTTPMessageSenderWithTarget should have comment or be unexported (golint)
    • Line 43: warning: exported method HTTPMessageSender.NewCloudEventRequest should have comment or be unexported (golint)
    • Line 47: warning: exported method HTTPMessageSender.NewCloudEventRequestWithTarget should have comment or be unexported (golint)
    • Line 51: warning: exported method HTTPMessageSender.Send should have comment or be unexported (golint)
    • Line 55: warning: exported method HTTPMessageSender.SendWithRetries should have comment or be unexported (golint)
    • eventing/test/rekt/resources/channel_impl/channel_impl.go
    • Line 17: warning: don't use an underscore in package name (golint)
    • Line 40: warning: exported function GVR should have comment or be unexported (golint)
    • Line 45: warning: exported function GVK should have comment or be unexported (golint)
    • Line 49: warning: exported var EnvCfg should have comment or be unexported (golint)
    • Line 51: warning: exported type EnvConfig should have comment or be unexported (golint)
    • eventing/test/lib/k8s_events.go
    • Line 81: warning: exported method EventListener.AddHandler should have comment or be unexported (golint)
    • Line 90: warning: exported method EventListener.Stop should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/containersource.go
    • Line 47: warning: exported function WithContainerSourceUID should have comment or be unexported (golint)
    • Line 58: warning: exported function WithContainerSourcePropagateReceiveAdapterStatus should have comment or be unexported (golint)
    • Line 64: warning: exported function WithContainerSourcePropagateSinkbindingStatus should have comment or be unexported (golint)
    • Line 70: warning: exported function WithContainerSourceSpec should have comment or be unexported (golint)
    • Line 76: warning: exported function WithContainerSourceStatusObservedGeneration should have comment or be unexported (golint)
    • Line 82: warning: exported function WithContainerSourceObjectMetaGeneration should have comment or be unexported (golint)
    • Line 88: warning: exported function WithContainerUnobservedGeneration should have comment or be unexported (golint)
    • eventing/test/lib/recordevents/event_info_matchers.go
    • Line 27: warning: comment on exported type EventInfoMatcher should be of the form "EventInfoMatcher ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported function Any should be of the form "Any ..." (golint)
    • Line 49: warning: comment on exported function NoError should be of the form "NoError ..." (golint)
    • Line 59: warning: comment on exported function MatchEvent should be of the form "MatchEvent ..." (golint)
    • Line 66: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 72: warning: comment on exported function HasAdditionalHeader should be of the form "HasAdditionalHeader ..." (golint)
    • eventing/test/rekt/resources/broker/broker.go
    • Line 39: warning: exported var EnvCfg should have comment or be unexported (golint)
    • Line 41: warning: exported type EnvConfig should have comment or be unexported (golint)
    • Line 53: warning: exported function WithEnvConfig should have comment or be unexported (golint)
    • Line 62: warning: exported function GVR should have comment or be unexported (golint)
    • Line 73: warning: exported function WithBrokerTemplateFiles should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/service.go
    • Line 39: warning: exported function WithServiceOwnerReferences should have comment or be unexported (golint)
    • Line 45: warning: exported function WithServiceLabels should have comment or be unexported (golint)
    • Line 52: warning: exported function WithServicePorts should have comment or be unexported (golint)
    • Line 58: warning: exported function WithServiceAnnotations should have comment or be unexported (golint)
    • eventing/pkg/apis/duck/v1/subscribable_types_conversion.go
    • Line 32: warning: receiver name sink should be consistent with previous receiver name source for Subscribable (golint)
    • Line 42: warning: receiver name sink should be consistent with previous receiver name source for SubscribableSpec (golint)
    • Line 52: warning: receiver name sink should be consistent with previous receiver name source for SubscribableStatus (golint)
    • Line 62: warning: receiver name sink should be consistent with previous receiver name source for SubscriberSpec (golint)
    • Line 72: warning: receiver name sink should be consistent with previous receiver name source for SubscriberStatus (golint)
    • eventing/test/lib/test_runner.go
    • Line 50: warning: exported const MaxNamespaceSkip should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: exported var ReuseNamespace should have comment or be unexported (golint)
    • Line 187: warning: exported function CreateNamespacedClient should have comment or be unexported (golint)
    • Line 205: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • eventing/test/e2e/helpers/broker_redelivery_helper.go
    • Line 25: warning: should not use dot imports (golint)
    • Line 35: warning: comment on exported type BrokerCreatorWithRetries should be of the form "BrokerCreatorWithRetries ..." (with optional leading article) (golint)
    • Line 38: warning: exported function BrokerRedelivery should have comment or be unexported (golint)
    • eventing/test/lib/operation.go
    • Line 114: warning: exported method Client.WaitForAllTestResourcesReadyOrFail should have comment or be unexported (golint)
    • Line 120: warning: exported method Client.WaitForServiceEndpointsOrFail should have comment or be unexported (golint)
    • eventing/pkg/adapter/apiserver/config.go
    • Line 1: warning: package comment should be of the form "Package apiserver ..." (golint)
    • Line 23: warning: exported type ResourceWatch should have comment or be unexported (golint)
    • Line 33: warning: exported type Config should have comment or be unexported (golint)
    • eventing/test/lib/recordevents/event_info_store.go
    • Line 42: warning: comment on exported function StartEventRecordOrFail should be of the form "StartEventRecordOrFail ..." (golint)
    • Line 53: warning: comment on exported type EventInfoStore should be of the form "EventInfoStore ..." (with optional leading article) (golint)
    • Line 69: warning: comment on exported function NewEventInfoStore should be of the form "NewEventInfoStore ..." (golint)
    • Line 161: warning: comment on exported method EventInfoStore.AssertAtLeast should be of the form "AssertAtLeast ..." (golint)
    • Line 173: warning: comment on exported method EventInfoStore.AssertInRange should be of the form "AssertInRange ..." (golint)
    • Line 185: warning: comment on exported method EventInfoStore.AssertNot should be of the form "AssertNot ..." (golint)
    • Line 203: warning: comment on exported method EventInfoStore.AssertExact should be of the form "AssertExact ..." (golint)
    • eventing/test/rekt/features/knconf/data_plane.go
    • Line 23: warning: should not use dot imports (golint)
    • Line 31: warning: exported function AcceptsCEVersions should have comment or be unexported (golint)
    • Line 67: warning: exported type EventInfoCombined should have comment or be unexported (golint)
    • Line 72: warning: exported function SentEventMatcher should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/sequence.go
    • Line 48: warning: exported function WithSequenceGeneration should have comment or be unexported (golint)
    • Line 54: warning: exported function WithSequenceStatusObservedGeneration should have comment or be unexported (golint)
    • Line 60: warning: exported function WithInitSequenceConditions should have comment or be unexported (golint)
    • Line 64: warning: exported function WithSequenceDeleted should have comment or be unexported (golint)
    • Line 69: warning: exported function WithSequenceChannelTemplateSpec should have comment or be unexported (golint)
    • Line 75: warning: exported function WithSequenceSteps should have comment or be unexported (golint)
    • Line 81: warning: exported function WithSequenceReply should have comment or be unexported (golint)
    • Line 87: warning: exported function WithSequenceSubscriptionStatuses should have comment or be unexported (golint)
    • Line 93: warning: exported function WithSequenceChannelStatuses should have comment or be unexported (golint)
    • Line 99: warning: exported function WithSequenceChannelsNotReady should have comment or be unexported (golint)
    • Line 105: warning: exported function WithSequenceSubscriptionsNotReady should have comment or be unexported (golint)
    • Line 111: warning: exported function WithSequenceAddressableNotReady should have comment or be unexported (golint)
    • eventing/pkg/kncloudevents/message_receiver.go
    • Line 32: warning: exported const DefaultShutdownTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: exported type HTTPMessageReceiver should have comment or be unexported (golint)
    • Line 51: warning: exported function NewHTTPMessageReceiver should have comment or be unexported (golint)
    • Line 81: warning: comment on exported method HTTPMessageReceiver.StartListen should be of the form "StartListen ..." (golint)
    • Line 130: warning: exported function WithShutdownTimeout should have comment or be unexported (golint)
    • Line 134: warning: exported function CreateHandler should have comment or be unexported (golint)
    • eventing/pkg/reconciler/sugar/labels.go
    • Line 20: warning: comment on exported const InjectionLabelKey should be of the form "InjectionLabelKey ..." (golint)
    • Line 22: warning: exported const InjectionEnabledLabelValue should have comment (or a comment on this block) or be unexported (golint)
    • Line 26: warning: exported function InjectionLabelKeys should have comment or be unexported (golint)
    • Line 32: warning: exported function InjectionEnabledLabels should have comment or be unexported (golint)
    • Line 38: warning: exported function InjectionDisabledLabels should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/channel.go
    • Line 60: warning: exported function WithNoAnnotations should have comment or be unexported (golint)
    • Line 64: warning: exported function WithChannelGeneration should have comment or be unexported (golint)
    • Line 70: warning: exported function WithChannelObservedGeneration should have comment or be unexported (golint)
    • Line 76: warning: exported function WithChannelDeleted should have comment or be unexported (golint)
    • Line 81: warning: exported function WithChannelTemplate should have comment or be unexported (golint)
    • Line 89: warning: exported function WithBackingChannelFailed should have comment or be unexported (golint)
    • Line 95: warning: exported function WithBackingChannelUnknown should have comment or be unexported (golint)
    • Line 101: warning: exported function WithBackingChannelReady should have comment or be unexported (golint)
    • Line 105: warning: exported function WithChannelDelivery should have comment or be unexported (golint)
    • Line 111: warning: exported function WithBackingChannelObjRef should have comment or be unexported (golint)
    • Line 117: warning: exported function WithChannelNoAddress should have comment or be unexported (golint)
    • Line 123: warning: exported function WithChannelAddress should have comment or be unexported (golint)
    • Line 129: warning: exported function WithChannelReadySubscriber should have comment or be unexported (golint)
    • Line 133: warning: exported function WithChannelReadySubscriberAndGeneration should have comment or be unexported (golint)
    • Line 143: warning: exported function WithChannelSubscriberStatuses should have comment or be unexported (golint)
    • eventing/pkg/kncloudevents/utils.go
    • Line 29: warning: exported function WriteHTTPRequestWithAdditionalHeaders should have comment or be unexported (golint)
    • Line 43: warning: exported type TypeExtractorTransformer should have comment or be unexported (golint)
    • Line 45: warning: exported method TypeExtractorTransformer.Transform should have comment or be unexported (golint)
    • eventing/pkg/adapter/v2/test/test_client.go
    • Line 1: warning: package comment should be of the form "Package test ..." (golint)
    • Line 33: warning: exported type TestCloudEventsClient should have comment or be unexported (golint)
    • Line 44: warning: exported type EventData should have comment or be unexported (golint)
    • Line 54: warning: don't use underscores in Go names; method Send_AppendResult should be SendAppendResult (golint)
    • Line 60: warning: don't use underscores in Go names; method Request_AppendResult should be RequestAppendResult (golint)
    • Line 67: warning: exported method TestCloudEventsClient.Send should have comment or be unexported (golint)
    • Line 97: warning: exported method TestCloudEventsClient.Request should have comment or be unexported (golint)
    • Line 123: warning: exported method TestCloudEventsClient.StartReceiver should have comment or be unexported (golint)
    • Line 129: warning: exported method TestCloudEventsClient.Reset should have comment or be unexported (golint)
    • Line 135: warning: exported method TestCloudEventsClient.Sent should have comment or be unexported (golint)
    • Line 145: warning: exported function NewTestClient should have comment or be unexported (golint)
    • Line 149: warning: exported function NewTestClientWithDelay should have comment or be unexported (golint)
    • eventing/test/performance/infra/event_state/client.go
    • Line 17: warning: don't use an underscore in package name (golint)
    • Line 29: warning: exported type AggregatorClient should have comment or be unexported (golint)
    • Line 34: warning: exported function NewAggregatorClient should have comment or be unexported (golint)
    • Line 46: warning: exported method AggregatorClient.Publish should have comment or be unexported (golint)
    • Line 57: warning: exported method AggregatorClient.Close should have comment or be unexported (golint)
    • eventing/test/lib/recordevents/event_info.go
    • Line 28: warning: comment on exported const CloudEventObservedReason should be of the form "CloudEventObservedReason ..." (golint)
    • Line 32: warning: exported type EventKind should have comment or be unexported (golint)
    • Line 35: warning: exported const EventReceived should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: comment on exported type EventInfo should be of the form "EventInfo ..." (with optional leading article) (golint)
    • Line 103: warning: comment on exported type SearchedInfo should be of the form "SearchedInfo ..." (with optional leading article) (golint)
    • eventing/test/lib/creation.go
    • Line 65: warning: exported method Client.RetryWebhookErrors should have comment or be unexported (golint)
    • Line 102: warning: comment on exported method Client.CreateChannelWithDefaultOrFail should be of the form "CreateChannelWithDefaultOrFail ..." (golint)
    • Line 119: warning: comment on exported method Client.CreateSubscriptionOrFail should be of the form "CreateSubscriptionOrFail ..." (golint)
    • Line 161: warning: comment on exported method Client.CreateSubscriptionsOrFail should be of the form "CreateSubscriptionsOrFail ..." (golint)
    • Line 185: warning: exported method Client.CreateBrokerConfigMapOrFail should have comment or be unexported (golint)
    • Line 210: warning: comment on exported method Client.CreateBrokerOrFail should be of the form "CreateBrokerOrFail ..." (golint)
    • Line 408: warning: exported method Client.CreateServiceOrFail should have comment or be unexported (golint)
    • Line 414: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 555: warning: exported const ClusterRoleKind should have comment (or a comment on this block) or be unexported (golint)
    • eventing/pkg/eventfilter/filter.go
    • Line 26: warning: exported const PassFilter should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported method FilterResult.And should have comment or be unexported (golint)
    • Line 56: warning: exported method Filters.Filter should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1beta2/pingsource.go
    • Line 51: warning: exported function WithPingSource should have comment or be unexported (golint)
    • Line 57: warning: exported function WithInitPingSourceConditions should have comment or be unexported (golint)
    • Line 61: warning: exported function WithPingSourceSinkNotFound should have comment or be unexported (golint)
    • Line 65: warning: exported function WithPingSourceSink should have comment or be unexported (golint)
    • Line 71: warning: exported function WithPingSourceDeployed should have comment or be unexported (golint)
    • Line 75: warning: exported function WithPingSourceCloudEventAttributes should have comment or be unexported (golint)
    • Line 82: warning: exported function WithPingSourceSpec should have comment or be unexported (golint)
    • Line 88: warning: exported function WithPingSourceStatusObservedGeneration should have comment or be unexported (golint)
    • Line 94: warning: exported function WithPingSourceObjectMetaGeneration should have comment or be unexported (golint)
    • Line 100: warning: exported function WithPingSourceFinalizers should have comment or be unexported (golint)
    • Line 106: warning: exported function WithPingSourceDeleted should have comment or be unexported (golint)
    • eventing/test/rekt/features/broker/data_plane.go
    • Line 31: warning: exported function DataPlaneConformance should have comment or be unexported (golint)
    • Line 46: warning: exported function DataPlaneIngress should have comment or be unexported (golint)
    • Line 71: warning: exported function DataPlaneAddressability should have comment or be unexported (golint)
    • Line 145: warning: exported function DataPlaneObservability should have comment or be unexported (golint)
    • eventing/pkg/apis/eventing/v1beta1/eventtype_lifecycle.go
    • Line 29: warning: exported const EventTypeConditionReady should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported method EventTypeStatus.MarkBrokerExists should have comment or be unexported (golint)
    • Line 63: warning: exported method EventTypeStatus.MarkBrokerDoesNotExist should have comment or be unexported (golint)
    • Line 67: warning: exported method EventTypeStatus.MarkBrokerExistsUnknown should have comment or be unexported (golint)
    • Line 71: warning: exported method EventTypeStatus.MarkBrokerReady should have comment or be unexported (golint)
    • Line 75: warning: exported method EventTypeStatus.MarkBrokerFailed should have comment or be unexported (golint)
    • Line 79: warning: exported method EventTypeStatus.MarkBrokerUnknown should have comment or be unexported (golint)
    • Line 83: warning: exported method EventTypeStatus.MarkBrokerNotConfigured should have comment or be unexported (golint)
    • Line 88: warning: exported method EventTypeStatus.PropagateBrokerStatus should have comment or be unexported (golint)
    • eventing/pkg/inmemorychannel/message_dispatcher.go
    • Line 29: warning: exported type MessageDispatcher should have comment or be unexported (golint)
    • Line 33: warning: exported type InMemoryMessageDispatcher should have comment or be unexported (golint)
    • Line 40: warning: exported type InMemoryMessageDispatcherArgs should have comment or be unexported (golint)
    • Line 65: warning: exported function NewMessageDispatcher should have comment or be unexported (golint)
    • eventing/pkg/apis/messaging/v1/channel_validation.go
    • Line 27: warning: exported method Channel.Validate should have comment or be unexported (golint)
    • Line 37: warning: exported method ChannelSpec.Validate should have comment or be unexported (golint)
    • Line 55: warning: exported function IsValidChannelTemplate should have comment or be unexported (golint)
    • Line 66: warning: exported method Channel.CheckImmutableFields should have comment or be unexported (golint)
    • eventing/test/lib/resources/eventing.go
    • Line 55: warning: exported function KnativeRefForService should have comment or be unexported (golint)
    • Line 64: warning: exported function KnativeRefForBroker should have comment or be unexported (golint)
    • Line 118: warning: comment on exported function Subscription should be of the form "Subscription ..." (golint)
    • Line 138: warning: exported function WithConfigForBroker should have comment or be unexported (golint)
    • eventing/pkg/reconciler/parallel/resources/subscription.go
    • Line 30: warning: exported function ParallelFilterSubscriptionName should have comment or be unexported (golint)
    • Line 34: warning: exported function ParallelSubscriptionName should have comment or be unexported (golint)
    • Line 38: warning: exported function NewFilterSubscription should have comment or be unexported (golint)
    • Line 77: warning: exported function NewSubscription should have comment or be unexported (golint)
    • eventing/test/lib/resources/kube.go
    • Line 36: warning: comment on exported type RoleOption should be of the form "RoleOption ..." (with optional leading article) (golint)
    • Line 69: warning: exported const PerfConsumerService should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported function PerformanceConsumerService should have comment or be unexported (golint)
    • Line 87: warning: exported function PerformanceAggregatorService should have comment or be unexported (golint)
    • Line 100: warning: exported function PerformanceImageReceiverPod should have comment or be unexported (golint)
    • Line 148: warning: exported function PerformanceImageAggregatorPod should have comment or be unexported (golint)
    • Line 203: warning: comment on exported function ServiceDefaultHTTP should be of the form "ServiceDefaultHTTP ..." (golint)
    • Line 285: warning: comment on exported function Role should be of the form "Role ..." (golint)
    • eventing/pkg/apis/flows/v1/parallel_lifecycle.go
    • Line 186: warning: exported method ParallelStatus.MarkChannelsNotReady should have comment or be unexported (golint)
    • Line 190: warning: exported method ParallelStatus.MarkSubscriptionsNotReady should have comment or be unexported (golint)
    • Line 194: warning: exported method ParallelStatus.MarkAddressableNotReady should have comment or be unexported (golint)
    • eventing/test/lib/dropevents/receiver.go
    • Line 29: warning: exported const Fibonacci should have comment (or a comment on this block) or be unexported (golint)
    • Line 35: warning: comment on exported function SkipperAlgorithmWithCount should be of the form "SkipperAlgorithmWithCount ..." (golint)
    • Line 49: warning: exported function SkipperAlgorithm should have comment or be unexported (golint)
    • Line 77: warning: exported type CounterHandler should have comment or be unexported (golint)
    • Line 83: warning: exported method CounterHandler.Skip should have comment or be unexported (golint)
    • eventing/pkg/channel/multichannelfanout/multi_channel_fanout_message_handler.go
    • Line 40: warning: exported type MultiChannelMessageHandler should have comment or be unexported (golint)
    • Line 53: warning: comment on exported type MessageHandler should be of the form "MessageHandler ..." (with optional leading article) (golint)
    • Line 62: warning: comment on exported function NewMessageHandler should be of the form "NewMessageHandler ..." (golint)
    • Line 94: warning: exported method MessageHandler.SetChannelHandler should have comment or be unexported (golint)
    • Line 100: warning: exported method MessageHandler.DeleteChannelHandler should have comment or be unexported (golint)
    • Line 106: warning: exported method MessageHandler.GetChannelHandler should have comment or be unexported (golint)
    • eventing/pkg/channel/fanout/fanout_message_handler.go
    • Line 45: warning: exported type Subscription should have comment or be unexported (golint)
    • Line 70: warning: comment on exported type FanoutMessageHandler should be of the form "FanoutMessageHandler ..." (with optional leading article) (golint)
    • Line 92: warning: exported function NewFanoutMessageHandler should have comment or be unexported (golint)
    • Line 115: warning: exported function SubscriberSpecToFanoutConfig should have comment or be unexported (golint)
    • Line 136: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 144: warning: exported method FanoutMessageHandler.SetSubscriptions should have comment or be unexported (golint)
    • Line 152: warning: exported method FanoutMessageHandler.GetSubscriptions should have comment or be unexported (golint)
    • Line 227: warning: comment on exported function ParseDispatchResultAndReportMetrics should be of the form "ParseDispatchResultAndReportMetrics ..." (golint)
    • Line 309: warning: exported type DispatchResult should have comment or be unexported (golint)
    • Line 318: warning: exported method DispatchResult.Info should have comment or be unexported (golint)
    • Line 322: warning: exported function NewDispatchResult should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/deployment.go
    • Line 49: warning: exported function WithDeploymentLabels should have comment or be unexported (golint)
    • Line 59: warning: exported function WithDeploymentOwnerReferences should have comment or be unexported (golint)
    • Line 65: warning: exported function WithDeploymentAnnotations should have comment or be unexported (golint)
    • Line 71: warning: exported function WithDeploymentServiceAccount should have comment or be unexported (golint)
    • Line 77: warning: exported function WithDeploymentContainer should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/parallel.go
    • Line 29: warning: comment on exported type FlowsParallelOption should be of the form "FlowsParallelOption ..." (with optional leading article) (golint)
    • Line 48: warning: exported function WithInitFlowsParallelConditions should have comment or be unexported (golint)
    • Line 52: warning: exported function WithFlowsParallelGeneration should have comment or be unexported (golint)
    • Line 58: warning: exported function WithFlowsParallelStatusObservedGeneration should have comment or be unexported (golint)
    • Line 64: warning: exported function WithFlowsParallelDeleted should have comment or be unexported (golint)
    • Line 69: warning: exported function WithFlowsParallelChannelTemplateSpec should have comment or be unexported (golint)
    • Line 75: warning: exported function WithFlowsParallelBranches should have comment or be unexported (golint)
    • Line 81: warning: exported function WithFlowsParallelReply should have comment or be unexported (golint)
    • Line 87: warning: exported function WithFlowsParallelBranchStatuses should have comment or be unexported (golint)
    • Line 93: warning: exported function WithFlowsParallelIngressChannelStatus should have comment or be unexported (golint)
    • Line 99: warning: exported function WithFlowsParallelChannelsNotReady should have comment or be unexported (golint)
    • Line 105: warning: exported function WithFlowsParallelSubscriptionsNotReady should have comment or be unexported (golint)
    • Line 111: warning: exported function WithFlowsParallelAddressableNotReady should have comment or be unexported (golint)
    • eventing/pkg/reconciler/subscription/subscription.go
    • Line 63: warning: exported type Reconciler should have comment or be unexported (golint)
    • Line 116: warning: exported method Reconciler.FinalizeKind should have comment or be unexported (golint)
    • Line 164: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 430: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • eventing/pkg/apis/duck/v1beta1/delivery_types.go
    • Line 63: warning: exported method DeliverySpec.Validate should have comment or be unexported (golint)
    • Line 105: warning: comment on exported const BackoffPolicyLinear should be of the form "BackoffPolicyLinear ..." (golint)
    • Line 108: warning: comment on exported const BackoffPolicyExponential should be of the form "BackoffPolicyExponential ..." (golint)
    • eventing/pkg/apis/flows/v1/sequence_validation.go
    • Line 26: warning: exported method Sequence.Validate should have comment or be unexported (golint)
    • Line 30: warning: exported method SequenceSpec.Validate should have comment or be unexported (golint)
    • Line 58: warning: exported method SequenceStep.Validate should have comment or be unexported (golint)
    • eventing/test/performance/infra/common/pace.go
    • Line 28: warning: exported type PaceSpec should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function CalculateMemoryConstraintsForPaceSpecs should be of the form "CalculateMemoryConstraintsForPaceSpecs ..." (golint)
    • Line 50: warning: exported function ParsePaceSpec should have comment or be unexported (golint)
    • eventing/pkg/apis/eventing/v1/broker_validation.go
    • Line 27: warning: exported const BrokerClassAnnotationKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: exported method Broker.Validate should have comment or be unexported (golint)
    • Line 47: warning: exported method BrokerSpec.Validate should have comment or be unexported (golint)
    • Line 65: warning: exported method Broker.CheckImmutableFields should have comment or be unexported (golint)
    • eventing/pkg/channel/message_dispatcher.go
    • Line 40: warning: comment on exported const NoDuration should be of the form "NoDuration ..." (golint)
    • Line 42: warning: exported const NoResponse should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type MessageDispatcher should have comment or be unexported (golint)
    • Line 68: warning: exported type DispatchExecutionInfo should have comment or be unexported (golint)
    • Line 74: warning: comment on exported function NewMessageDispatcher should be of the form "NewMessageDispatcher ..." (golint)
    • Line 83: warning: comment on exported function NewMessageDispatcherFromSender should be of the form "NewMessageDispatcherFromSender ..." (golint)
    • Line 92: warning: exported method MessageDispatcherImpl.DispatchMessage should have comment or be unexported (golint)
    • Line 96: warning: exported method MessageDispatcherImpl.DispatchMessageWithRetries should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/trigger.go
    • Line 54: warning: exported function WithTriggerSubscriberURI should have comment or be unexported (golint)
    • Line 61: warning: exported function WithTriggerDeadLeaderSink should have comment or be unexported (golint)
    • Line 77: warning: exported function WithTriggerRetry should have comment or be unexported (golint)
    • Line 88: warning: exported function WithTriggerSubscriberRef should have comment or be unexported (golint)
    • Line 101: warning: exported function WithTriggerSubscriberRefAndURIReference should have comment or be unexported (golint)
    • Line 121: warning: exported function WithTriggerGeneration should have comment or be unexported (golint)
    • Line 127: warning: exported function WithTriggerStatusObservedGeneration should have comment or be unexported (golint)
    • Line 161: warning: exported function WithTriggerNotSubscribed should have comment or be unexported (golint)
    • Line 167: warning: exported function WithTriggerSubscribedUnknown should have comment or be unexported (golint)
    • Line 173: warning: exported function WithTriggerSubscriptionNotConfigured should have comment or be unexported (golint)
    • Line 179: warning: exported function WithTriggerSubscribed should have comment or be unexported (golint)
    • Line 185: warning: exported function WithTriggerStatusSubscriberURI should have comment or be unexported (golint)
    • Line 192: warning: exported function WithTriggerStatusDeadLetterSinkURI should have comment or be unexported (golint)
    • Line 199: warning: exported function WithAnnotation should have comment or be unexported (golint)
    • Line 208: warning: exported function WithDependencyAnnotation should have comment or be unexported (golint)
    • Line 217: warning: exported function WithTriggerDependencyReady should have comment or be unexported (golint)
    • Line 223: warning: exported function WithTriggerDependencyFailed should have comment or be unexported (golint)
    • Line 229: warning: exported function WithTriggerDependencyUnknown should have comment or be unexported (golint)
    • Line 235: warning: exported function WithTriggerSubscriberResolvedSucceeded should have comment or be unexported (golint)
    • Line 241: warning: exported function WithTriggerSubscriberResolvedFailed should have comment or be unexported (golint)
    • Line 247: warning: exported function WithTriggerDeadLetterSinkResolvedFailed should have comment or be unexported (golint)
    • Line 253: warning: exported function WithTriggerDeadLetterSinkResolvedSucceeded should have comment or be unexported (golint)
    • Line 259: warning: exported function WithTriggerDeadLetterSinkNotConfigured should have comment or be unexported (golint)
    • Line 265: warning: exported function WithTriggerSubscriberResolvedUnknown should have comment or be unexported (golint)
    • Line 271: warning: exported function WithTriggerDeleted should have comment or be unexported (golint)
    • Line 276: warning: exported function WithTriggerUID should have comment or be unexported (golint)
    • eventing/pkg/channel/message_receiver.go
    • Line 69: warning: comment on exported type MessageReceiverOptions should be of the form "MessageReceiverOptions ..." (with optional leading article) (golint)
    • Line 194: warning: exported function ReportEventCountMetricsForDispatchError should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1beta1/listers.go
    • Line 49: warning: exported type Listers should have comment or be unexported (golint)
    • Line 53: warning: exported function NewScheme should have comment or be unexported (golint)
    • Line 62: warning: exported function NewListers should have comment or be unexported (golint)
    • Line 82: warning: exported method Listers.GetKubeObjects should have comment or be unexported (golint)
    • Line 86: warning: exported method Listers.GetAPIExtensionObjects should have comment or be unexported (golint)
    • Line 90: warning: exported method Listers.GetEventingObjects should have comment or be unexported (golint)
    • Line 94: warning: exported method Listers.GetSubscriberObjects should have comment or be unexported (golint)
    • Line 98: warning: exported method Listers.GetAllObjects should have comment or be unexported (golint)
    • Line 107: warning: exported method Listers.GetEventTypeLister should have comment or be unexported (golint)
    • Line 111: warning: exported method Listers.GetDeploymentLister should have comment or be unexported (golint)
    • Line 115: warning: exported method Listers.GetK8sServiceLister should have comment or be unexported (golint)
    • Line 119: warning: exported method Listers.GetNamespaceLister should have comment or be unexported (golint)
    • Line 123: warning: exported method Listers.GetServiceAccountLister should have comment or be unexported (golint)
    • Line 127: warning: exported method Listers.GetServiceLister should have comment or be unexported (golint)
    • Line 131: warning: exported method Listers.GetRoleBindingLister should have comment or be unexported (golint)
    • Line 135: warning: exported method Listers.GetEndpointsLister should have comment or be unexported (golint)
    • Line 139: warning: exported method Listers.GetConfigMapLister should have comment or be unexported (golint)
    • Line 143: warning: exported method Listers.GetCustomResourceDefinitionLister should have comment or be unexported (golint)
    • eventing/test/conformance/helpers/broker_data_plane_test_helper.go
    • Line 41: warning: exported function BrokerDataPlaneSetupHelper should have comment or be unexported (golint)
    • Line 73: warning: exported function BrokerDataPlaneNamespaceSetupOption should have comment or be unexported (golint)
    • Line 82: warning: comment on exported function BrokerIngressDataPlaneTestHelper should be of the form "BrokerIngressDataPlaneTestHelper ..." (golint)
    • Line 237: warning: comment on exported function BrokerConsumerDataPlaneTestHelper should be of the form "BrokerConsumerDataPlaneTestHelper ..." (golint)
    • eventing/pkg/apis/duck/v1beta1/subscribable_types_conversion.go
    • Line 117: warning: receiver name sink should be consistent with previous receiver name source for Subscribable (golint)
    • Line 134: warning: receiver name sink should be consistent with previous receiver name source for SubscribableSpec (golint)
    • Line 152: warning: receiver name sink should be consistent with previous receiver name source for SubscriberSpec (golint)
    • Line 170: warning: receiver name sink should be consistent with previous receiver name source for SubscribableStatus (golint)
    • Line 189: warning: receiver name sink should be consistent with previous receiver name source for SubscriberStatus (golint)
    • eventing/pkg/adapter/v2/main.go
    • Line 53: warning: exported type AdapterConstructor should have comment or be unexported (golint)
    • Line 74: warning: exported function Main should have comment or be unexported (golint)
    • Line 79: warning: exported function MainWithContext should have comment or be unexported (golint)
    • Line 83: warning: exported function MainWithEnv should have comment or be unexported (golint)
    • Line 108: warning: exported function MainWithInformers should have comment or be unexported (golint)
    • Line 211: warning: exported function ConstructEnvOrDie should have comment or be unexported (golint)
    • Line 219: warning: exported function SetupInformers should have comment or be unexported (golint)
    • Line 234: warning: exported function StartInformers should have comment or be unexported (golint)
    • eventing/pkg/apis/messaging/v1/channel_lifecycle.go
    • Line 76: warning: exported method ChannelStatus.SetAddress should have comment or be unexported (golint)
    • Line 86: warning: exported method ChannelStatus.MarkBackingChannelFailed should have comment or be unexported (golint)
    • Line 90: warning: exported method ChannelStatus.MarkBackingChannelUnknown should have comment or be unexported (golint)
    • Line 94: warning: exported method ChannelStatus.MarkBackingChannelNotConfigured should have comment or be unexported (golint)
    • Line 99: warning: exported method ChannelStatus.MarkBackingChannelReady should have comment or be unexported (golint)
    • Line 103: warning: exported method ChannelStatus.PropagateStatuses should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/endpoints.go
    • Line 41: warning: exported function WithEndpointsLabels should have comment or be unexported (golint)
    • Line 47: warning: exported function WithEndpointsAddresses should have comment or be unexported (golint)
    • Line 55: warning: exported function WithEndpointsNotReadyAddresses should have comment or be unexported (golint)
    • Line 63: warning: exported function WithEndpointsAnnotations should have comment or be unexported (golint)
    • eventing/test/rekt/features/knconf/control_plane.go
    • Line 34: warning: exported function HasReadyInConditions should have comment or be unexported (golint)
    • Line 46: warning: exported function KResourceHasObservedGeneration should have comment or be unexported (golint)
    • Line 88: warning: exported function KResourceHasReadyInConditions should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/pingsource.go
    • Line 51: warning: exported function WithPingSource should have comment or be unexported (golint)
    • Line 57: warning: exported function WithInitPingSourceConditions should have comment or be unexported (golint)
    • Line 61: warning: exported function WithPingSourceSinkNotFound should have comment or be unexported (golint)
    • Line 65: warning: exported function WithPingSourceSink should have comment or be unexported (golint)
    • Line 71: warning: exported function WithPingSourceDeployed should have comment or be unexported (golint)
    • Line 75: warning: exported function WithPingSourceCloudEventAttributes should have comment or be unexported (golint)
    • Line 82: warning: exported function WithPingSourceSpec should have comment or be unexported (golint)
    • Line 88: warning: exported function WithPingSourceStatusObservedGeneration should have comment or be unexported (golint)
    • Line 94: warning: exported function WithPingSourceObjectMetaGeneration should have comment or be unexported (golint)
    • Line 100: warning: exported function WithPingSourceFinalizers should have comment or be unexported (golint)
    • Line 106: warning: exported function WithPingSourceDeleted should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/scheme/scheme.go
    • Line 26: warning: exported var Eventing should have comment or be unexported (golint)
    • Line 31: warning: exported var Serving should have comment or be unexported (golint)
    • Line 35: warning: exported function SubscriberToScheme should have comment or be unexported (golint)
    • Line 42: warning: exported function TestSourceToScheme should have comment or be unexported (golint)
    • Line 49: warning: exported function ServingServiceToScheme should have comment or be unexported (golint)
    • eventing/test/lib/sender/events.go
    • Line 28: warning: exported const EventType should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported function NewSenderEventFromRaw should have comment or be unexported (golint)
    • eventing/pkg/apis/sources/config/ping_defaults.go
    • Line 31: warning: exported const DataMaxSizeKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 63: warning: exported method PingDefaults.GetPingConfig should have comment or be unexported (golint)
    • Line 71: warning: exported method PingDefaults.DeepCopy should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/listers.go
    • Line 49: warning: exported type Listers should have comment or be unexported (golint)
    • Line 53: warning: exported function NewScheme should have comment or be unexported (golint)
    • Line 62: warning: exported function NewListers should have comment or be unexported (golint)
    • Line 82: warning: exported method Listers.GetKubeObjects should have comment or be unexported (golint)
    • Line 86: warning: exported method Listers.GetEventingObjects should have comment or be unexported (golint)
    • Line 90: warning: exported method Listers.GetAPIExtentionsObjects should have comment or be unexported (golint)
    • Line 94: warning: exported method Listers.GetSubscriberObjects should have comment or be unexported (golint)
    • Line 98: warning: exported method Listers.GetAllObjects should have comment or be unexported (golint)
    • Line 105: warning: exported method Listers.GetPingSourceV1beta2Lister should have comment or be unexported (golint)
    • Line 109: warning: exported method Listers.GetDeploymentLister should have comment or be unexported (golint)
    • Line 113: warning: exported method Listers.GetK8sServiceLister should have comment or be unexported (golint)
    • Line 117: warning: exported method Listers.GetSecretLister should have comment or be unexported (golint)
    • Line 121: warning: exported method Listers.GetNamespaceLister should have comment or be unexported (golint)
    • Line 125: warning: exported method Listers.GetServiceAccountLister should have comment or be unexported (golint)
    • Line 129: warning: exported method Listers.GetServiceLister should have comment or be unexported (golint)
    • Line 133: warning: exported method Listers.GetRoleBindingLister should have comment or be unexported (golint)
    • Line 137: warning: exported method Listers.GetEndpointsLister should have comment or be unexported (golint)
    • Line 141: warning: exported method Listers.GetConfigMapLister should have comment or be unexported (golint)
    • Line 145: warning: exported method Listers.GetCustomResourceDefinitionLister should have comment or be unexported (golint)
    • eventing/test/rekt/resources/account_role/role.go
    • Line 17: warning: don't use an underscore in package name (golint)
    • Line 49: warning: exported function WithRole should have comment or be unexported (golint)
    • Line 55: warning: exported function WithRules should have comment or be unexported (golint)
    • Line 75: warning: exported function WithRoleMatchLabel should have comment or be unexported (golint)
    • Line 81: warning: exported function AsChannelableManipulator should have comment or be unexported (golint)
    • Line 86: warning: exported function AsAddressableResolver should have comment or be unexported (golint)
    • eventing/pkg/apis/eventing/v1/trigger_lifecycle.go
    • Line 32: warning: exported const TriggerConditionBroker should have comment (or a comment on this block) or be unexported (golint)
    • Line 81: warning: exported method TriggerStatus.PropagateBrokerCondition should have comment or be unexported (golint)
    • Line 99: warning: exported method TriggerStatus.MarkBrokerFailed should have comment or be unexported (golint)
    • Line 103: warning: exported method TriggerStatus.MarkBrokerUnknown should have comment or be unexported (golint)
    • Line 107: warning: exported method TriggerStatus.MarkBrokerNotConfigured should have comment or be unexported (golint)
    • Line 112: warning: exported method TriggerStatus.PropagateSubscriptionCondition should have comment or be unexported (golint)
    • Line 130: warning: exported method TriggerStatus.MarkNotSubscribed should have comment or be unexported (golint)
    • Line 134: warning: exported method TriggerStatus.MarkSubscribedUnknown should have comment or be unexported (golint)
    • Line 138: warning: exported method TriggerStatus.MarkSubscriptionNotConfigured should have comment or be unexported (golint)
    • Line 143: warning: exported method TriggerStatus.MarkSubscriberResolvedSucceeded should have comment or be unexported (golint)
    • Line 147: warning: exported method TriggerStatus.MarkSubscriberResolvedFailed should have comment or be unexported (golint)
    • Line 151: warning: exported method TriggerStatus.MarkSubscriberResolvedUnknown should have comment or be unexported (golint)
    • Line 155: warning: exported method TriggerStatus.MarkDeadLetterSinkResolvedSucceeded should have comment or be unexported (golint)
    • Line 159: warning: exported method TriggerStatus.MarkDeadLetterSinkNotConfigured should have comment or be unexported (golint)
    • Line 163: warning: exported method TriggerStatus.MarkDeadLetterSinkResolvedFailed should have comment or be unexported (golint)
    • Line 167: warning: exported method TriggerStatus.MarkDependencySucceeded should have comment or be unexported (golint)
    • Line 171: warning: exported method TriggerStatus.MarkDependencyFailed should have comment or be unexported (golint)
    • Line 175: warning: exported method TriggerStatus.MarkDependencyUnknown should have comment or be unexported (golint)
    • Line 179: warning: exported method TriggerStatus.MarkDependencyNotConfigured should have comment or be unexported (golint)
    • Line 184: warning: exported method TriggerStatus.PropagateDependencyStatus should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/endpoints.go
    • Line 41: warning: exported function WithEndpointsLabels should have comment or be unexported (golint)
    • Line 47: warning: exported function WithEndpointsAddresses should have comment or be unexported (golint)
    • Line 55: warning: exported function WithEndpointsNotReadyAddresses should have comment or be unexported (golint)
    • Line 63: warning: exported function WithEndpointsAnnotations should have comment or be unexported (golint)
    • eventing/pkg/apis/eventing/v1/broker_lifecycle_mt.go
    • Line 26: warning: exported method BrokerStatus.MarkIngressFailed should have comment or be unexported (golint)
    • Line 30: warning: exported method BrokerStatus.PropagateIngressAvailability should have comment or be unexported (golint)
    • Line 38: warning: exported method BrokerStatus.MarkTriggerChannelFailed should have comment or be unexported (golint)
    • Line 42: warning: exported method BrokerStatus.PropagateTriggerChannelReadiness should have comment or be unexported (golint)
    • Line 52: warning: exported method BrokerStatus.MarkFilterFailed should have comment or be unexported (golint)
    • Line 56: warning: exported method BrokerStatus.PropagateFilterAvailability should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/subscription.go
    • Line 67: warning: exported function WithSubscriptionUID should have comment or be unexported (golint)
    • Line 73: warning: exported function WithSubscriptionGeneration should have comment or be unexported (golint)
    • Line 79: warning: exported function WithSubscriptionStatusObservedGeneration should have comment or be unexported (golint)
    • Line 85: warning: exported function WithSubscriptionGenerateName should have comment or be unexported (golint)
    • Line 96: warning: exported function WithSubscriptionReady should have comment or be unexported (golint)
    • Line 100: warning: comment on exported function WithSubscriptionDeleted should be of the form "WithSubscriptionDeleted ..." (golint)
    • Line 106: warning: exported function WithSubscriptionOwnerReferences should have comment or be unexported (golint)
    • Line 112: warning: exported function WithSubscriptionLabels should have comment or be unexported (golint)
    • Line 118: warning: exported function WithSubscriptionChannel should have comment or be unexported (golint)
    • Line 128: warning: exported function WithSubscriptionChannelUsingGroup should have comment or be unexported (golint)
    • Line 138: warning: exported function WithSubscriptionChannelUsingApiVersionAndGroup should have comment or be unexported (golint)
    • Line 149: warning: exported function WithSubscriptionSubscriberRef should have comment or be unexported (golint)
    • Line 162: warning: exported function WithSubscriptionSubscriberRefUsingGroup should have comment or be unexported (golint)
    • Line 175: warning: exported function WithSubscriptionSubscriberRefUsingApiVersionAndGroup should have comment or be unexported (golint)
    • Line 189: warning: exported function WithSubscriptionDeliveryRef should have comment or be unexported (golint)
    • Line 204: warning: exported function WithSubscriptionPhysicalSubscriptionSubscriber should have comment or be unexported (golint)
    • Line 213: warning: exported function WithSubscriptionPhysicalSubscriptionReply should have comment or be unexported (golint)
    • Line 222: warning: exported function WithSubscriptionDeadLetterSinkURI should have comment or be unexported (golint)
    • Line 231: warning: exported function WithSubscriptionFinalizers should have comment or be unexported (golint)
    • Line 237: warning: exported function MarkSubscriptionReady should have comment or be unexported (golint)
    • Line 243: warning: exported function MarkAddedToChannel should have comment or be unexported (golint)
    • Line 247: warning: exported function MarkNotAddedToChannel should have comment or be unexported (golint)
    • Line 253: warning: exported function MarkReferencesResolved should have comment or be unexported (golint)
    • Line 257: warning: exported function WithSubscriptionReferencesNotResolved should have comment or be unexported (golint)
    • Line 263: warning: exported function WithSubscriptionReferencesResolvedUnknown should have comment or be unexported (golint)
    • Line 269: warning: exported function WithSubscriptionReply should have comment or be unexported (golint)
    • eventing/pkg/apis/flows/v1/sequence_defaults.go
    • Line 27: warning: exported method Sequence.SetDefaults should have comment or be unexported (golint)
    • Line 47: warning: exported method SequenceSpec.SetDefaults should have comment or be unexported (golint)
    • Line 58: warning: exported method SequenceStep.SetDefaults should have comment or be unexported (golint)
    • eventing/pkg/tracing/attributes.go
    • Line 27: warning: exported const MessagingSystemAttributeName should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported var MessagingSystemAttribute should have comment or be unexported (golint)
    • Line 38: warning: exported function MessagingProtocolAttribute should have comment or be unexported (golint)
    • Line 42: warning: exported function MessagingMessageIDAttribute should have comment or be unexported (golint)
    • Line 46: warning: exported function BrokerMessagingDestination should have comment or be unexported (golint)
    • Line 49: warning: exported function BrokerMessagingDestinationAttribute should have comment or be unexported (golint)
    • Line 53: warning: exported function TriggerMessagingDestination should have comment or be unexported (golint)
    • Line 57: warning: exported function TriggerMessagingDestinationAttribute should have comment or be unexported (golint)
    • eventing/test/conformance/helpers/tracing/traces.go
    • Line 31: warning: comment on exported const HostSuffix should be of the form "HostSuffix ..." (golint)
    • Line 60: warning: exported type SpanMatcher should have comment or be unexported (golint)
    • Line 66: warning: exported type SpanMatcherOption should have comment or be unexported (golint)
    • Line 68: warning: exported function WithLocalEndpointServiceName should have comment or be unexported (golint)
    • Line 74: warning: exported function WithHTTPHostAndPath should have comment or be unexported (golint)
    • Line 88: warning: exported method SpanMatcher.MatchesSpan should have comment or be unexported (golint)
    • Line 113: warning: exported function MatchHTTPSpanWithCode should have comment or be unexported (golint)
    • Line 127: warning: exported function MatchHTTPSpanNoReply should have comment or be unexported (golint)
    • Line 131: warning: exported function MatchHTTPSpanWithReply should have comment or be unexported (golint)
    • eventing/test/rekt/features/channel/features.go
    • Line 39: warning: exported function ChannelChain should have comment or be unexported (golint)
    • Line 79: warning: exported function DeadLetterSink should have comment or be unexported (golint)
    • Line 103: warning: exported function EventTransformation should have comment or be unexported (golint)
    • Line 159: warning: exported function SingleEventWithEncoding should have comment or be unexported (golint)
    • eventing/test/test_images/utils.go
    • Line 17: warning: don't use an underscore in package name (golint)
    • Line 33: warning: exported function ParseHeaders should have comment or be unexported (golint)
    • Line 55: warning: exported const ConfigTracingEnv should have comment (or a comment on this block) or be unexported (golint)
    • Line 75: warning: comment on exported function ConfigureLogging should be of the form "ConfigureLogging ..." (golint)
    • eventing/pkg/reconciler/testing/v1beta1/endpoints.go
    • Line 41: warning: exported function WithEndpointsLabels should have comment or be unexported (golint)
    • Line 47: warning: exported function WithEndpointsAddresses should have comment or be unexported (golint)
    • Line 55: warning: exported function WithEndpointsNotReadyAddresses should have comment or be unexported (golint)
    • Line 63: warning: exported function WithEndpointsAnnotations should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/inmemorychannel.go
    • Line 53: warning: exported function WithInitInMemoryChannelConditions should have comment or be unexported (golint)
    • Line 57: warning: exported function WithInMemoryChannelGeneration should have comment or be unexported (golint)
    • Line 63: warning: exported function WithInMemoryChannelStatusObservedGeneration should have comment or be unexported (golint)
    • Line 69: warning: exported function WithInMemoryChannelDeleted should have comment or be unexported (golint)
    • Line 74: warning: exported function WithInMemoryChannelSubscribers should have comment or be unexported (golint)
    • Line 80: warning: exported function WithInMemoryChannelDeploymentFailed should have comment or be unexported (golint)
    • Line 86: warning: exported function WithInMemoryChannelDeploymentUnknown should have comment or be unexported (golint)
    • Line 92: warning: exported function WithInMemoryChannelFinalizers should have comment or be unexported (golint)
    • Line 98: warning: exported function WithInMemoryChannelDeploymentReady should have comment or be unexported (golint)
    • Line 104: warning: exported function WithInMemoryChannelServicetNotReady should have comment or be unexported (golint)
    • Line 110: warning: exported function WithInMemoryChannelServiceReady should have comment or be unexported (golint)
    • Line 116: warning: exported function WithInMemoryChannelChannelServiceNotReady should have comment or be unexported (golint)
    • Line 122: warning: exported function WithInMemoryChannelChannelServiceReady should have comment or be unexported (golint)
    • Line 128: warning: exported function WithInMemoryChannelEndpointsNotReady should have comment or be unexported (golint)
    • Line 134: warning: exported function WithInMemoryChannelEndpointsReady should have comment or be unexported (golint)
    • Line 140: warning: exported function WithInMemoryChannelAddress should have comment or be unexported (golint)
    • Line 149: warning: exported function WithInMemoryChannelReady should have comment or be unexported (golint)
    • Line 161: warning: exported function WithInMemoryChannelReadySubscriber should have comment or be unexported (golint)
    • Line 165: warning: exported function WithInMemoryChannelReadySubscriberAndGeneration should have comment or be unexported (golint)
    • Line 175: warning: exported function WithInMemoryChannelDelivery should have comment or be unexported (golint)
    • Line 181: warning: exported function WithInMemoryChannelStatusSubscribers should have comment or be unexported (golint)
    • Line 187: warning: exported function WithInMemoryChannelDuckAnnotationV1Beta1 should have comment or be unexported (golint)
    • Line 195: warning: exported function WithInMemoryScopeAnnotation should have comment or be unexported (golint)
    • eventing/test/rekt/features/knconf/event_patterns.go
    • Line 32: warning: exported type EventPattern should have comment or be unexported (golint)
    • Line 37: warning: exported function ReceivedEventsFromProber should have comment or be unexported (golint)
    • Line 49: warning: exported function EventToEvent should have comment or be unexported (golint)
    • Line 78: warning: exported function PatternFromProber should have comment or be unexported (golint)
    • Line 99: warning: exported function PatternFromEstimates should have comment or be unexported (golint)
    • Line 116: warning: exported function AssertEventPatterns should have comment or be unexported (golint)
    • eventing/test/rekt/features/channel/helpers.go
    • Line 49: warning: exported type EventingClient should have comment or be unexported (golint)
    • Line 54: warning: exported function Client should have comment or be unexported (golint)
    • Line 67: warning: exported const ChannelableNameKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 161: warning: comment on exported function ServiceAccountSubjectAccessReviewAllowedOrFail should be of the form "ServiceAccountSubjectAccessReviewAllowedOrFail ..." (golint)
    • eventing/pkg/reconciler/testing/v1/listers.go
    • Line 59: warning: exported type Listers should have comment or be unexported (golint)
    • Line 63: warning: exported function NewScheme should have comment or be unexported (golint)
    • Line 72: warning: exported function NewListers should have comment or be unexported (golint)
    • Line 92: warning: exported method Listers.GetKubeObjects should have comment or be unexported (golint)
    • Line 96: warning: exported method Listers.GetEventingObjects should have comment or be unexported (golint)
    • Line 100: warning: exported method Listers.GetSubscriberObjects should have comment or be unexported (golint)
    • Line 104: warning: exported method Listers.GetAllObjects should have comment or be unexported (golint)
    • Line 111: warning: exported method Listers.GetEventTypeLister should have comment or be unexported (golint)
    • Line 115: warning: exported method Listers.GetPingSourceLister should have comment or be unexported (golint)
    • Line 119: warning: exported method Listers.GetSubscriptionLister should have comment or be unexported (golint)
    • Line 123: warning: exported method Listers.GetSequenceLister should have comment or be unexported (golint)
    • Line 127: warning: exported method Listers.GetTriggerLister should have comment or be unexported (golint)
    • Line 131: warning: exported method Listers.GetBrokerLister should have comment or be unexported (golint)
    • Line 135: warning: exported method Listers.GetInMemoryChannelLister should have comment or be unexported (golint)
    • Line 139: warning: exported method Listers.GetMessagingChannelLister should have comment or be unexported (golint)
    • Line 143: warning: exported method Listers.GetParallelLister should have comment or be unexported (golint)
    • Line 147: warning: exported method Listers.GetApiServerSourceLister should have comment or be unexported (golint)
    • Line 151: warning: exported method Listers.GetSinkBindingLister should have comment or be unexported (golint)
    • Line 155: warning: exported method Listers.GetContainerSourceLister should have comment or be unexported (golint)
    • Line 159: warning: exported method Listers.GetDeploymentLister should have comment or be unexported (golint)
    • Line 163: warning: exported method Listers.GetK8sServiceLister should have comment or be unexported (golint)
    • Line 167: warning: exported method Listers.GetSecretLister should have comment or be unexported (golint)
    • Line 171: warning: exported method Listers.GetNamespaceLister should have comment or be unexported (golint)
    • Line 175: warning: exported method Listers.GetServiceAccountLister should have comment or be unexported (golint)
    • Line 179: warning: exported method Listers.GetServiceLister should have comment or be unexported (golint)
    • Line 183: warning: exported method Listers.GetRoleBindingLister should have comment or be unexported (golint)
    • Line 187: warning: exported method Listers.GetEndpointsLister should have comment or be unexported (golint)
    • Line 191: warning: exported method Listers.GetConfigMapLister should have comment or be unexported (golint)
    • Line 195: warning: exported method Listers.GetCustomResourceDefinitionLister should have comment or be unexported (golint)
    • Line 199: warning: exported method Listers.GetNodeLister should have comment or be unexported (golint)
    • Line 203: warning: exported method Listers.GetPodLister should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/mock_dynamic_client.go
    • Line 30: warning: exported type MockHandled should have comment or be unexported (golint)
    • Line 33: warning: comment on exported const Handled should be of the form "Handled ..." (golint)
    • Line 36: warning: comment on exported const Unhandled should be of the form "Unhandled ..." (golint)
    • Line 41: warning: comment on exported type MockDynamicResource should be of the form "MockDynamicResource ..." (with optional leading article) (golint)
    • Line 44: warning: comment on exported type MockDynamicCreate should be of the form "MockDynamicCreate ..." (with optional leading article) (golint)
    • Line 48: warning: exported type MockDynamicUpdate should have comment or be unexported (golint)
    • Line 49: warning: exported type MockDynamicUpdateStatus should have comment or be unexported (golint)
    • Line 50: warning: exported type MockDynamicDelete should have comment or be unexported (golint)
    • Line 51: warning: exported type MockDynamicDeleteCollection should have comment or be unexported (golint)
    • Line 52: warning: exported type MockDynamicGet should have comment or be unexported (golint)
    • Line 53: warning: exported type MockDynamicList should have comment or be unexported (golint)
    • Line 54: warning: exported type MockDynamicWatch should have comment or be unexported (golint)
    • Line 55: warning: exported type MockDynamicPatch should have comment or be unexported (golint)
    • Line 57: warning: exported type MockDynamicInterface should have comment or be unexported (golint)
    • Line 64: warning: exported function NewMockDynamicInterface should have comment or be unexported (golint)
    • Line 71: warning: exported method MockDynamicInterface.Resource should have comment or be unexported (golint)
    • Line 100: warning: exported type MockDynamicContext should have comment or be unexported (golint)
    • Line 108: warning: comment on exported type DynamicMocks should be of the form "DynamicMocks ..." (with optional leading article) (golint)
    • eventing/test/conformance/helpers/metadata.go
    • Line 28: warning: exported function ValidateRequiredLabels should have comment or be unexported (golint)
    • Line 49: warning: exported type EventTypesAnnotationJsonValue should have comment or be unexported (golint)
    • Line 55: warning: exported function ValidateAnnotations should have comment or be unexported (golint)
    • eventing/pkg/reconciler/source/config_watcher.go
    • Line 34: warning: exported const EnvLoggingCfg should have comment (or a comment on this block) or be unexported (golint)
    • Line 39: warning: exported type ConfigAccessor should have comment or be unexported (golint)
    • Line 265: warning: exported method EmptyVarsGenerator.ToEnvVars should have comment or be unexported (golint)
    • eventing/pkg/kncloudevents/retries.go
    • Line 55: warning: exported type RetryConfig should have comment or be unexported (golint)
    • Line 71: warning: exported function NoRetries should have comment or be unexported (golint)
    • Line 75: warning: exported function RetryConfigFromDeliverySpec should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1beta1/eventtype.go
    • Line 48: warning: exported function WithEventTypeSource should have comment or be unexported (golint)
    • Line 54: warning: exported function WithEventTypeType should have comment or be unexported (golint)
    • Line 60: warning: exported function WithEventTypeBroker should have comment or be unexported (golint)
    • Line 66: warning: exported function WithEventTypeDescription should have comment or be unexported (golint)
    • Line 72: warning: exported function WithEventTypeLabels should have comment or be unexported (golint)
    • Line 78: warning: exported function WithEventTypeOwnerReference should have comment or be unexported (golint)
    • Line 86: warning: exported function WithEventTypeDeletionTimestamp should have comment or be unexported (golint)
    • Line 91: warning: comment on exported function WithEventTypeBrokerDoesNotExist should be of the form "WithEventTypeBrokerDoesNotExist ..." (golint)
    • Line 101: warning: exported function WithEventTypeBrokerFailed should have comment or be unexported (golint)
    • Line 107: warning: exported function WithEventTypeBrokerUnknown should have comment or be unexported (golint)
    • eventing/test/rekt/features/containersource/features.go
    • Line 31: warning: exported function SendsEventsWithSinkRef should have comment or be unexported (golint)
    • Line 48: warning: exported function SendsEventsWithSinkURI should have comment or be unexported (golint)
    • Line 71: warning: exported function SendsEventsWithCloudEventOverrides should have comment or be unexported (golint)
    • eventing/pkg/apis/duck/v1beta1/subscribable_types.go
    • Line 123: warning: receiver name c should be consistent with previous receiver name s for Subscribable (golint)
    • Line 150: warning: receiver name c should be consistent with previous receiver name s for Subscribable (golint)
    • Line 156: warning: comment on exported type SubscribableList should be of the form "SubscribableList ..." (with optional leading article) (golint)
    • eventing/test/lib/sender/resources.go
    • Line 77: warning: comment on exported function WithAdditionalHeaders should be of the form "WithAdditionalHeaders ..." (golint)
    • Line 139: warning: comment on exported function RequestSenderPod should be of the form "RequestSenderPod ..." (golint)
    • eventing/pkg/apis/duck/v1/subscribable_types.go
    • Line 123: warning: receiver name c should be consistent with previous receiver name s for Subscribable (golint)
    • Line 150: warning: receiver name c should be consistent with previous receiver name s for Subscribable (golint)
    • Line 156: warning: comment on exported type SubscribableList should be of the form "SubscribableList ..." (with optional leading article) (golint)
    • eventing/pkg/reconciler/testing/v1beta1/service.go
    • Line 39: warning: exported function WithServiceOwnerReferences should have comment or be unexported (golint)
    • Line 45: warning: exported function WithServiceLabels should have comment or be unexported (golint)
    • Line 52: warning: exported function WithServicePorts should have comment or be unexported (golint)
    • Line 58: warning: exported function WithServiceAnnotations should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/service.go
    • Line 42: warning: exported function WithServiceOwnerReferences should have comment or be unexported (golint)
    • Line 48: warning: exported function WithServiceLabels should have comment or be unexported (golint)
    • Line 55: warning: exported function WithServicePorts should have comment or be unexported (golint)
    • Line 61: warning: exported function WithServiceAnnotations should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/eventtype.go
    • Line 51: warning: exported function WithEventTypeSource should have comment or be unexported (golint)
    • Line 57: warning: exported function WithEventTypeType should have comment or be unexported (golint)
    • Line 63: warning: exported function WithEventTypeBroker should have comment or be unexported (golint)
    • Line 69: warning: exported function WithEventTypeDescription should have comment or be unexported (golint)
    • Line 75: warning: exported function WithEventTypeLabels should have comment or be unexported (golint)
    • Line 81: warning: exported function WithEventTypeOwnerReference should have comment or be unexported (golint)
    • Line 89: warning: exported function WithEventTypeDeletionTimestamp should have comment or be unexported (golint)
    • Line 94: warning: comment on exported function WithEventTypeBrokerDoesNotExist should be of the form "WithEventTypeBrokerDoesNotExist ..." (golint)
    • Line 104: warning: exported function WithEventTypeBrokerFailed should have comment or be unexported (golint)
    • Line 110: warning: exported function WithEventTypeBrokerUnknown should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/eventtype.go
    • Line 51: warning: exported function WithEventTypeSource should have comment or be unexported (golint)
    • Line 57: warning: exported function WithEventTypeType should have comment or be unexported (golint)
    • Line 63: warning: exported function WithEventTypeBroker should have comment or be unexported (golint)
    • Line 69: warning: exported function WithEventTypeDescription should have comment or be unexported (golint)
    • Line 75: warning: exported function WithEventTypeLabels should have comment or be unexported (golint)
    • Line 81: warning: exported function WithEventTypeOwnerReference should have comment or be unexported (golint)
    • Line 89: warning: exported function WithEventTypeDeletionTimestamp should have comment or be unexported (golint)
    • Line 94: warning: comment on exported function WithEventTypeBrokerDoesNotExist should be of the form "WithEventTypeBrokerDoesNotExist ..." (golint)
    • Line 104: warning: exported function WithEventTypeBrokerFailed should have comment or be unexported (golint)
    • Line 110: warning: exported function WithEventTypeBrokerUnknown should have comment or be unexported (golint)
    • eventing/pkg/apis/flows/v1/parallel_types.go
    • Line 31: warning: comment on exported type Parallel should be of the form "Parallel ..." (with optional leading article) (golint)
    • Line 70: warning: exported type ParallelSpec should have comment or be unexported (golint)
    • Line 85: warning: exported type ParallelBranch should have comment or be unexported (golint)
    • Line 136: warning: exported type ParallelChannelStatus should have comment or be unexported (golint)
    • Line 144: warning: exported type ParallelSubscriptionStatus should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/customresourcedefinition.go
    • Line 49: warning: exported function WithCustomResourceDefinitionVersions should have comment or be unexported (golint)
    • Line 55: warning: exported function WithCustomResourceDefinitionGroup should have comment or be unexported (golint)
    • Line 61: warning: exported function WithCustomResourceDefinitionNames should have comment or be unexported (golint)
    • Line 67: warning: exported function WithCustomResourceDefinitionDeletionTimestamp should have comment or be unexported (golint)
    • eventing/pkg/adapter/mtping/adapter.go
    • Line 39: warning: exported const EnvNoShutdownAfter should have comment (or a comment on this block) or be unexported (golint)
    • Line 55: warning: exported function NewEnvConfig should have comment or be unexported (golint)
    • Line 59: warning: exported function NewAdapter should have comment or be unexported (golint)
    • Line 81: warning: exported function GetNoShutDownAfterValue should have comment or be unexported (golint)
    • eventing/test/rekt/features/trigger/control_plane.go
    • Line 30: warning: exported function Defaulting should have comment or be unexported (golint)
    • Line 42: warning: exported function Defaulting_Filter should have comment or be unexported (golint)
    • Line 42: warning: don't use underscores in Go names; func Defaulting_Filter should be DefaultingFilter (golint)
    • Line 59: warning: exported function Defaulting_SubscriberNamespace should have comment or be unexported (golint)
    • Line 59: warning: don't use underscores in Go names; func Defaulting_SubscriberNamespace should be DefaultingSubscriberNamespace (golint)
    • eventing/pkg/reconciler/sinkbinding/controller.go
    • Line 49: warning: exported type SinkBindingSubResourcesReconciler should have comment or be unexported (golint)
    • Line 118: warning: exported function ListAll should have comment or be unexported (golint)
    • Line 138: warning: exported function WithContextFactory should have comment or be unexported (golint)
    • Line 146: warning: exported method SinkBindingSubResourcesReconciler.Reconcile should have comment or be unexported (golint)
    • Line 172: warning: comment on exported method SinkBindingSubResourcesReconciler.ReconcileDeletion should be of the form "ReconcileDeletion ..." (golint)
    • eventing/test/rekt/features/broker/control_plane.go
    • Line 50: warning: exported function ControlPlaneConformance should have comment or be unexported (golint)
    • Line 78: warning: exported function ControlPlaneBroker should have comment or be unexported (golint)
    • Line 95: warning: exported function ControlPlaneTrigger_GivenBroker should have comment or be unexported (golint)
    • Line 95: warning: don't use underscores in Go names; func ControlPlaneTrigger_GivenBroker should be ControlPlaneTriggerGivenBroker (golint)
    • Line 122: warning: exported function ControlPlaneTrigger_GivenBrokerTriggerReady should have comment or be unexported (golint)
    • Line 122: warning: don't use underscores in Go names; func ControlPlaneTrigger_GivenBrokerTriggerReady should be ControlPlaneTriggerGivenBrokerTriggerReady (golint)
    • Line 145: warning: exported function ControlPlaneTrigger_WithBrokerLifecycle should have comment or be unexported (golint)
    • Line 145: warning: don't use underscores in Go names; func ControlPlaneTrigger_WithBrokerLifecycle should be ControlPlaneTriggerWithBrokerLifecycle (golint)
    • Line 172: warning: exported function ControlPlaneTrigger_WithValidFilters should have comment or be unexported (golint)
    • Line 172: warning: don't use underscores in Go names; func ControlPlaneTrigger_WithValidFilters should be ControlPlaneTriggerWithValidFilters (golint)
    • Line 222: warning: exported function ControlPlaneTrigger_WithInvalidFilters should have comment or be unexported (golint)
    • Line 222: warning: don't use underscores in Go names; func ControlPlaneTrigger_WithInvalidFilters should be ControlPlaneTriggerWithInvalidFilters (golint)
    • Line 548: warning: exported type EventingClient should have comment or be unexported (golint)
    • Line 553: warning: exported function Client should have comment or be unexported (golint)
    • Line 564: warning: exported const BrokerNameKey should have comment (or a comment on this block) or be unexported (golint)
    • eventing/pkg/adapter/v2/config.go
    • Line 1: warning: package comment should be of the form "Package adapter ..." (golint)
    • Line 34: warning: exported type EnvConfigConstructor should have comment or be unexported (golint)
    • Line 37: warning: exported const EnvConfigComponent should have comment (or a comment on this block) or be unexported (golint)
    • Line 132: warning: exported method EnvConfig.SetComponent should have comment or be unexported (golint)
    • Line 136: warning: exported method EnvConfig.GetMetricsConfig should have comment or be unexported (golint)
    • Line 145: warning: exported method EnvConfig.GetLogger should have comment or be unexported (golint)
    • Line 162: warning: exported method EnvConfig.GetSink should have comment or be unexported (golint)
    • Line 166: warning: exported method EnvConfig.GetNamespace should have comment or be unexported (golint)
    • Line 170: warning: exported method EnvConfig.GetName should have comment or be unexported (golint)
    • Line 174: warning: exported method EnvConfig.GetSinktimeout should have comment or be unexported (golint)
    • Line 182: warning: exported method EnvConfig.SetupTracing should have comment or be unexported (golint)
    • Line 190: warning: exported method EnvConfig.GetCloudEventOverrides should have comment or be unexported (golint)
    • Line 201: warning: exported method EnvConfig.GetLeaderElectionConfig should have comment or be unexported (golint)
    • Line 234: warning: exported function GetSinkTimeout should have comment or be unexported (golint)
    • eventing/test/rekt/features/apiserversource/data_plane.go
    • Line 43: warning: exported function DataPlane_SinkTypes should have comment or be unexported (golint)
    • Line 43: warning: don't use underscores in Go names; func DataPlane_SinkTypes should be DataPlaneSinkTypes (golint)
    • Line 58: warning: exported function DataPlane_EventModes should have comment or be unexported (golint)
    • Line 58: warning: don't use underscores in Go names; func DataPlane_EventModes should be DataPlaneEventModes (golint)
    • Line 73: warning: exported function DataPlane_ResourceMatching should have comment or be unexported (golint)
    • Line 73: warning: don't use underscores in Go names; func DataPlane_ResourceMatching should be DataPlaneResourceMatching (golint)
    • Line 90: warning: exported function SendsEventsWithSinkRef should have comment or be unexported (golint)
    • Line 121: warning: exported function SendsEventsWithSinkUri should have comment or be unexported (golint)
    • Line 159: warning: exported function SendsEventsWithObjectReferencePayload should have comment or be unexported (golint)
    • Line 203: warning: exported function SendsEventsWithResourceEventPayload should have comment or be unexported (golint)
    • Line 247: warning: exported function SendsEventsForAllResources should have comment or be unexported (golint)
    • Line 291: warning: exported function SendsEventsForLabelMatchingResources should have comment or be unexported (golint)
    • Line 386: warning: exported function SendEventsForLabelExpressionMatchingResources should have comment or be unexported (golint)
    • Line 451: warning: exported function SendsEventsWithRetries should have comment or be unexported (golint)
    • eventing/pkg/apis/messaging/v1/in_memory_channel_lifecycle.go
    • Line 51: warning: comment on exported const InMemoryChannelConditionChannelServiceReady should be of the form "InMemoryChannelConditionChannelServiceReady ..." (golint)
    • Line 86: warning: exported method InMemoryChannelStatus.SetAddress should have comment or be unexported (golint)
    • Line 95: warning: exported method InMemoryChannelStatus.MarkDispatcherFailed should have comment or be unexported (golint)
    • Line 99: warning: exported method InMemoryChannelStatus.MarkDispatcherUnknown should have comment or be unexported (golint)
    • Line 103: warning: comment on exported method InMemoryChannelStatus.PropagateDispatcherStatus should be of the form "PropagateDispatcherStatus ..." (golint)
    • Line 118: warning: exported method InMemoryChannelStatus.MarkServiceFailed should have comment or be unexported (golint)
    • Line 122: warning: exported method InMemoryChannelStatus.MarkServiceUnknown should have comment or be unexported (golint)
    • Line 126: warning: exported method InMemoryChannelStatus.MarkServiceTrue should have comment or be unexported (golint)
    • Line 130: warning: exported method InMemoryChannelStatus.MarkChannelServiceFailed should have comment or be unexported (golint)
    • Line 134: warning: exported method InMemoryChannelStatus.MarkChannelServiceUnknown should have comment or be unexported (golint)
    • Line 138: warning: exported method InMemoryChannelStatus.MarkChannelServiceTrue should have comment or be unexported (golint)
    • Line 142: warning: exported method InMemoryChannelStatus.MarkEndpointsFailed should have comment or be unexported (golint)
    • Line 146: warning: exported method InMemoryChannelStatus.MarkEndpointsUnknown should have comment or be unexported (golint)
    • Line 150: warning: exported method InMemoryChannelStatus.MarkEndpointsTrue should have comment or be unexported (golint)
    • eventing/pkg/reconciler/broker/trigger/trigger.go
    • Line 61: warning: exported type Reconciler should have comment or be unexported (golint)
    • Line 79: warning: exported method Reconciler.ReconcileKind should have comment or be unexported (golint)
    • Line 95: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • eventing/pkg/reconciler/testing/v1/apiserversouce.go
    • Line 52: warning: exported function WithApiServerSourceUID should have comment or be unexported (golint)
    • Line 63: warning: exported function WithApiServerSourceSinkNotFound should have comment or be unexported (golint)
    • Line 67: warning: exported function WithApiServerSourceSink should have comment or be unexported (golint)
    • Line 73: warning: exported function WithApiServerSourceDeploymentUnavailable should have comment or be unexported (golint)
    • Line 79: warning: exported function WithApiServerSourceDeployed should have comment or be unexported (golint)
    • Line 83: warning: exported function WithApiServerSourceReferenceModeEventTypes should have comment or be unexported (golint)
    • Line 96: warning: exported function WithApiServerSourceResourceModeEventTypes should have comment or be unexported (golint)
    • Line 109: warning: exported function WithApiServerSourceSufficientPermissions should have comment or be unexported (golint)
    • Line 113: warning: exported function WithApiServerSourceNoSufficientPermissions should have comment or be unexported (golint)
    • Line 117: warning: exported function WithApiServerSourceDeleted should have comment or be unexported (golint)
    • Line 121: warning: exported function WithApiServerSourceSpec should have comment or be unexported (golint)
    • Line 128: warning: exported function WithApiServerSourceStatusObservedGeneration should have comment or be unexported (golint)
    • Line 134: warning: exported function WithApiServerSourceObjectMetaGeneration should have comment or be unexported (golint)
    • eventing/pkg/reconciler/testing/v1/broker.go
    • Line 52: warning: exported function WithBrokerFinalizers should have comment or be unexported (golint)
    • Line 58: warning: exported function WithBrokerResourceVersion should have comment or be unexported (golint)
    • Line 64: warning: exported function WithBrokerGeneration should have comment or be unexported (golint)
    • Line 70: warning: exported function WithBrokerStatusObservedGeneration should have comment or be unexported (golint)
    • Line 76: warning: exported function WithBrokerDeletionTimestamp should have comment or be unexported (golint)
    • Line 81: warning: comment on exported function WithBrokerConfig should be of the form "WithBrokerConfig ..." (golint)
    • Line 138: warning: exported function WithFilterAvailable should have comment or be unexported (golint)
    • Line 144: warning: exported function WithIngressAvailable should have comment or be unexported (golint)
    • Line 150: warning: exported function WithBrokerClass should have comment or be unexported (golint)
    • Line 161: warning: exported function WithChannelAddressAnnotation should have comment or be unexported (golint)
    • Line 170: warning: exported function WithChannelAPIVersionAnnotation should have comment or be unexported (golint)
    • Line 179: warning: exported function WithChannelKindAnnotation should have comment or be unexported (golint)
    • Line 188: warning: exported function WithChannelNameAnnotation should have comment or be unexported (golint)
    • Line 197: warning: exported function WithDeadLeaderSink should have comment or be unexported (golint)
    • eventing/test/lib/recordevents/event_log.go
    • Line 32: warning: exported function NewEventLogs should have comment or be unexported (golint)
    • Line 36: warning: exported method EventLogs.Vent should have comment or be unexported (golint)
    • Line 47: warning: exported type EventGeneratorType should have comment or be unexported (golint)
    • Line 50: warning: exported const ReceiverEventGenerator should have comment (or a comment on this block) or be unexported (golint)
    • Line 54: warning: exported type EventLogType should have comment or be unexported (golint)
    • Line 57: warning: exported const RecorderEventLog should have comment (or a comment on this block) or be unexported (golint)
    • eventing/pkg/adapter/v2/util/crstatusevent/eventsstatus.go
    • Line 41: warning: exported type CRStatusEventClient should have comment or be unexported (golint)
    • Line 45: warning: exported function GetDefaultClient should have comment or be unexported (golint)
    • Line 49: warning: exported function NewCRStatusEventClient should have comment or be unexported (golint)
    • Line 64: warning: exported function ContextWithCRStatus should have comment or be unexported (golint)
    • Line 79: warning: exported method CRStatusEventClient.ReportCRStatusEvent should have comment or be unexported (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • eventing/test/rekt/resources/svc/service.go
    • Line 36: warning: comment on exported function Gvr should be of the form "Gvr ..." (golint)
    • Line 68: warning: comment on exported function AsTrackerReference should be of the form "AsTrackerReference ..." (golint)
    • Line 77: warning: comment on exported function AsDestinationRef should be of the form "AsDestinationRef ..." (golint)
    • Line 84: warning: comment on exported function Address should be of the form "Address ..." (golint)
    • eventing/pkg/apis/duck/v1/delivery_types.go
    • Line 65: warning: exported method DeliverySpec.Validate should have comment or be unexported (golint)
    • Line 111: warning: comment on exported const BackoffPolicyLinear should be of the form "BackoffPolicyLinear ..." (golint)
    • Line 114: warning: comment on exported const BackoffPolicyExponential should be of the form "BackoffPolicyExponential ..." (golint)
    • eventing/pkg/reconciler/testing/mock_event_recorder.go
    • Line 30: warning: exported function NewEventRecorder should have comment or be unexported (golint)
    • Line 34: warning: exported method MockEventRecorder.Eventf should have comment or be unexported (golint)
    • Line 38: warning: exported method MockEventRecorder.Event should have comment or be unexported (golint)
    • Line 42: warning: exported method MockEventRecorder.PastEventf should have comment or be unexported (golint)
    • Line 46: warning: exported method MockEventRecorder.AnnotatedEventf should have comment or be unexported (golint)
    • eventing/test/performance/infra/aggregator/aggregator.go
    • Line 83: warning: exported type Aggregator should have comment or be unexported (golint)
    • Line 101: warning: exported function NewAggregator should have comment or be unexported (golint)
    • Line 137: warning: exported method Aggregator.Run should have comment or be unexported (golint)
    • Line 345: warning: comment on exported method Aggregator.RecordEvents should be of the form "RecordEvents ..." (golint)
    • eventing/pkg/apis/sources/v1/sinkbinding_lifecycle.go
    • Line 56: warning: receiver name sb should be consistent with previous receiver name s for SinkBinding (golint)
    • Line 61: warning: receiver name sb should be consistent with previous receiver name s for SinkBinding (golint)
    • Line 98: warning: receiver name sb should be consistent with previous receiver name s for SinkBinding (golint)
    • Line 146: warning: exported method SinkBinding.Undo should have comment or be unexported (golint)
    • Line 146: warning: receiver name sb should be consistent with previous receiver name s for SinkBinding (golint)
    • eventing/pkg/reconciler/testing/v1/deployment.go
    • Line 49: warning: exported function WithDeploymentLabels should have comment or be unexported (golint)
    • Line 59: warning: exported function WithDeploymentOwnerReferences should have comment or be unexported (golint)
    • Line 65: warning: exported function WithDeploymentAnnotations should have comment or be unexported (golint)
    • Line 71: warning: exported function WithDeploymentServiceAccount should have comment or be unexported (golint)
    • Line 77: warning: exported function WithDeploymentContainer should have comment or be unexported (golint)
    • eventing/test/performance/infra/sender/http_load_generator.go
    • Line 40: warning: exported type CloudEventsTargeter should have comment or be unexported (golint)
    • Line 64: warning: exported function NewCloudEventsTargeter should have comment or be unexported (golint)
    • Line 80: warning: exported method CloudEventsTargeter.VegetaTargeter should have comment or be unexported (golint)
    • Line 122: warning: exported function NewHTTPLoadGeneratorFactory should have comment or be unexported (golint)
    • eventing/pkg/apis/flows/v1/sequence_lifecycle.go
    • Line 156: warning: exported method SequenceStatus.MarkChannelsNotReady should have comment or be unexported (golint)
    • Line 160: warning: exported method SequenceStatus.MarkSubscriptionsNotReady should have comment or be unexported (golint)
    • Line 164: warning: exported method SequenceStatus.MarkAddressableNotReady should have comment or be unexported (golint)
    • eventing/pkg/apis/flows/v1/sequence_types.go
    • Line 32: warning: comment on exported type Sequence should be of the form "Sequence ..." (with optional leading article) (golint)
    • Line 71: warning: exported type SequenceSpec should have comment or be unexported (golint)
    • Line 86: warning: exported type SequenceStep should have comment or be unexported (golint)
    • Line 96: warning: exported type SequenceChannelStatus should have comment or be unexported (golint)
    • Line 104: warning: exported type SequenceSubscriptionStatus should have comment or be unexported (golint)

gocyclo97%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!