Config source: llm-d/llm-d-inference-scheduler .golangci.yml
Paths checked: pkg/epp/... pkg/common/...
Tool: golangci-lint v2.9.0 (go1.25.0)
Total violations: 562
| Linter / Rule | Count |
|---|---|
errcheck |
34 |
goconst |
2 |
nilnil |
24 |
revive/context-as-argument |
8 |
revive/exported |
380 |
revive/package-comments |
68 |
revive/if-return |
1 |
revive/indent-error-flow |
1 |
revive/receiver-naming |
16 |
revive/unexported-return |
1 |
revive/var-declaration |
1 |
revive/var-naming |
26 |
| Total | 562 |
errcheck — 1 issue(s)
pkg/common/certs.go:59:16: Error return value of `w.Close` is not checked
revive/exported — 3 issue(s)
pkg/common/certs.go:35:6: exported: exported type CertReloader should have comment or be unexported
pkg/common/certs.go:39:1: exported: exported function NewCertReloader should have comment or be unexported
pkg/common/certs.go:101:1: exported: exported method CertReloader.Get should have comment or be unexported
revive/var-naming — 1 issue(s)
pkg/common/certs_test.go:17:9: var-naming: avoid meaningless package names
revive/exported — 2 issue(s)
pkg/common/envoy/headers.go:49:1: exported: exported function GenerateHeadersMutation should have comment or be unexported
pkg/common/envoy/metadata.go:23:1: exported: exported function ExtractMetadataValues should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/common/envoy/chunking.go:17:1: package-comments: should have a package comment
revive/package-comments — 1 issue(s)
pkg/common/envoy/test/utils.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/common/error/error.go:34:2: exported: exported const Unknown should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/common/error/error.go:17:1: package-comments: should have a package comment
revive/exported — 5 issue(s)
pkg/common/observability/logging/const.go:20:2: exported: exported const DEFAULT should have comment (or a comment on this block) or be unexported
pkg/common/observability/logging/logger.go:54:1: exported: exported function InitSetupLogging should have comment or be unexported
pkg/common/observability/logging/logger.go:66:1: exported: exported function InitLogging should have comment or be unexported
pkg/common/observability/logging/options.go:29:2: exported: exported const ZapLogLevelFlagName should have comment (or a comment on this block) or be unexported
pkg/common/observability/logging/options.go:33:6: exported: type name will be used as logging.LoggingOptions by other packages, and that stutters; consider calling this Options
revive/package-comments — 1 issue(s)
pkg/common/observability/logging/const.go:17:1: package-comments: should have a package comment
revive/var-naming — 1 issue(s)
pkg/common/observability/metrics/metrics.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/exported — 1 issue(s)
pkg/common/observability/profiling/pprof.go:26:1: exported: comment on exported function SetupPprofHandlers should be of the form "SetupPprofHandlers ..." to match its exported status, not "setupPprofHandlers ..."
revive/package-comments — 1 issue(s)
pkg/common/observability/profiling/pprof.go:17:1: package-comments: should have a package comment
errcheck — 2 issue(s)
pkg/common/observability/tracing/telemetry.go:52:12: Error return value of `os.Setenv` is not checked
pkg/common/observability/tracing/telemetry.go:57:12: Error return value of `os.Setenv` is not checked
revive/exported — 1 issue(s)
pkg/common/observability/tracing/telemetry.go:46:1: exported: exported function InitTracing should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/common/observability/tracing/telemetry.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/common/request/headers.go:20:2: exported: exported const RequestIdHeaderKey should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/common/request/headers.go:17:1: package-comments: should have a package comment
errcheck — 2 issue(s)
pkg/epp/backend/metrics/podmetrics_parity_test.go:425:14: Error return value of `fmt.Fprintf` is not checked
pkg/epp/backend/metrics/podmetrics_parity_test.go:432:13: Error return value of `fmt.Fprint` is not checked
nilnil — 3 issue(s)
pkg/epp/backend/metrics/metrics.go:248:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/backend/metrics/metrics.go:284:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/backend/metrics/metrics_spec.go:47:3: return both a `nil` error and an invalid value: use a sentinel error instead
revive/context-as-argument — 2 issue(s)
pkg/epp/backend/metrics/podmetrics_parity_test.go:276:47: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/backend/metrics/podmetrics_parity_test.go:311:46: context-as-argument: context.Context should be the first parameter of a function
revive/exported — 24 issue(s)
pkg/epp/backend/metrics/fake.go:43:1: exported: exported method FakePodMetrics.GetMetadata should have comment or be unexported
pkg/epp/backend/metrics/fake.go:47:1: exported: exported method FakePodMetrics.GetMetrics should have comment or be unexported
pkg/epp/backend/metrics/fake.go:51:1: exported: exported method FakePodMetrics.UpdateMetadata should have comment or be unexported
pkg/epp/backend/metrics/fake.go:54:1: exported: exported method FakePodMetrics.GetAttributes should have comment or be unexported
pkg/epp/backend/metrics/fake.go:58:1: exported: exported method FakePodMetrics.Put should have comment or be unexported
pkg/epp/backend/metrics/fake.go:59:1: exported: exported method FakePodMetrics.Get should have comment or be unexported
pkg/epp/backend/metrics/fake.go:60:1: exported: exported method FakePodMetrics.Keys should have comment or be unexported
pkg/epp/backend/metrics/fake.go:62:1: exported: exported method FakePodMetrics.UpdateMetrics should have comment or be unexported
pkg/epp/backend/metrics/fake.go:67:6: exported: exported type FakePodMetricsClient should have comment or be unexported
pkg/epp/backend/metrics/fake.go:74:1: exported: exported method FakePodMetricsClient.FetchMetrics should have comment or be unexported
pkg/epp/backend/metrics/fake.go:91:1: exported: exported method FakePodMetricsClient.SetRes should have comment or be unexported
pkg/epp/backend/metrics/fake.go:97:1: exported: exported method FakePodMetricsClient.SetErr should have comment or be unexported
pkg/epp/backend/metrics/metrics.go:37:2: exported: comment on exported const LoraInfoRunningAdaptersMetricName should be of the form "LoraInfoRunningAdaptersMetricName ..."
pkg/epp/backend/metrics/metrics.go:39:2: exported: exported const LoraInfoWaitingAdaptersMetricName should have comment (or a comment on this block) or be unexported
pkg/epp/backend/metrics/metrics.go:46:6: exported: exported type PodMetricsClientImpl should have comment or be unexported
pkg/epp/backend/metrics/metrics.go:54:6: exported: exported type Config should have comment or be unexported
pkg/epp/backend/metrics/metrics.go:66:1: exported: exported function NewPodMetricsClientImpl should have comment or be unexported
pkg/epp/backend/metrics/metrics_state.go:24:6: exported: type name will be used as metrics.MetricsState by other packages, and that stutters; consider calling this State
pkg/epp/backend/metrics/pod_metrics.go:51:6: exported: exported type PodMetricsClient should have comment or be unexported
pkg/epp/backend/metrics/types.go:31:1: exported: exported function PodsWithFreshMetrics should have comment or be unexported
pkg/epp/backend/metrics/types.go:40:1: exported: exported function NewPodMetricsFactory should have comment or be unexported
pkg/epp/backend/metrics/types.go:47:6: exported: exported type PodMetricsFactory should have comment or be unexported
pkg/epp/backend/metrics/types.go:52:1: exported: exported method PodMetricsFactory.NewEndpoint should have comment or be unexported
pkg/epp/backend/metrics/types.go:69:1: exported: exported method PodMetricsFactory.ReleaseEndpoint should have comment or be unexported
revive/var-naming — 2 issue(s)
pkg/epp/backend/metrics/metrics.go:79:6: var-naming: var metricsHttpClient should be metricsHTTPClient
pkg/epp/backend/metrics/podmetrics_parity_test.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/package-comments — 1 issue(s)
pkg/epp/config/config.go:17:1: package-comments: should have a package comment
nilnil — 1 issue(s)
pkg/epp/config/loader/configloader_test.go:669:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/package-comments — 1 issue(s)
pkg/epp/config/loader/configloader.go:17:1: package-comments: should have a package comment
revive/var-naming — 1 issue(s)
pkg/epp/config/loader/testdata_test.go:277:7: var-naming: const errorBadPluginJsonText should be errorBadPluginJSONText
revive/exported — 11 issue(s)
pkg/epp/controller/inferencemodelrewrite_reconciler.go:36:6: exported: exported type InferenceModelRewriteReconciler should have comment or be unexported
pkg/epp/controller/inferencemodelrewrite_reconciler.go:42:1: exported: exported method InferenceModelRewriteReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/inferencemodelrewrite_reconciler.go:76:1: exported: exported method InferenceModelRewriteReconciler.SetupWithManager should have comment or be unexported
pkg/epp/controller/inferenceobjective_reconciler.go:36:6: exported: exported type InferenceObjectiveReconciler should have comment or be unexported
pkg/epp/controller/inferenceobjective_reconciler.go:42:1: exported: exported method InferenceObjectiveReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/inferenceobjective_reconciler.go:71:1: exported: exported method InferenceObjectiveReconciler.SetupWithManager should have comment or be unexported
pkg/epp/controller/inferencepool_reconciler.go:42:1: exported: exported method InferencePoolReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/inferencepool_reconciler.go:74:1: exported: exported method InferencePoolReconciler.SetupWithManager should have comment or be unexported
pkg/epp/controller/pod_reconciler.go:36:6: exported: exported type PodReconciler should have comment or be unexported
pkg/epp/controller/pod_reconciler.go:41:1: exported: exported method PodReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/pod_reconciler.go:64:1: exported: exported method PodReconciler.SetupWithManager should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/controller/inferencemodelrewrite_reconciler.go:17:1: package-comments: should have a package comment
revive/var-naming — 2 issue(s)
pkg/epp/controller/inferencepool_reconciler_test.go:45:2: var-naming: don't use underscores in Go names; var selector_v1 should be selectorV1
pkg/epp/controller/inferencepool_reconciler_test.go:46:2: var-naming: don't use underscores in Go names; var selector_v2 should be selectorV2
revive/exported — 1 issue(s)
pkg/epp/datalayer/endpoint_pool.go:23:6: exported: exported type EndpointPool should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/datalayer/collector.go:17:1: package-comments: should have a package comment
revive/package-comments — 1 issue(s)
pkg/epp/datalayer/logger/logger.go:17:1: package-comments: should have a package comment
revive/exported — 5 issue(s)
pkg/epp/datalayer/mocks/ticker.go:23:1: exported: comment on exported type Ticker should be of the form "Ticker ..." (with optional leading article)
pkg/epp/datalayer/mocks/ticker.go:28:1: exported: exported function NewTicker should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:34:1: exported: exported method Ticker.Channel should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:38:1: exported: exported method Ticker.Tick should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:45:1: exported: exported method Ticker.Stop should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/datalayer/mocks/ticker.go:17:1: package-comments: should have a package comment
revive/exported — 2 issue(s)
pkg/epp/datastore/datastore.go:46:2: exported: exported var AllPodsPredicate should have comment or be unexported
pkg/epp/datastore/datastore.go:56:1: exported: comment on exported type Datastore should be of the form "Datastore ..." (with optional leading article) by using its correct casing, not "datastore ..."
revive/package-comments — 1 issue(s)
pkg/epp/datastore/datastore.go:17:1: package-comments: should have a package comment
revive/unexported-return — 1 issue(s)
pkg/epp/datastore/datastore.go:93:113: unexported-return: exported func NewDatastore returns unexported type *datastore.datastore, which can be annoying to use
revive/exported — 1 issue(s)
pkg/epp/flowcontrol/config.go:29:7: exported: exported const FeatureGate should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/flowcontrol/config.go:17:1: package-comments: should have a package comment
revive/context-as-argument — 2 issue(s)
pkg/epp/flowcontrol/benchmark/benchmark.go:196:2: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/flowcontrol/benchmark/benchmark.go:236:2: context-as-argument: context.Context should be the first parameter of a function
nilnil — 4 issue(s)
pkg/epp/flowcontrol/contracts/mocks/mocks.go:76:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:83:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:90:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:187:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 23 issue(s)
pkg/epp/flowcontrol/contracts/mocks/mocks.go:58:1: exported: exported method MockRegistryShard.ID should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:65:1: exported: exported method MockRegistryShard.IsActive should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:72:1: exported: exported method MockRegistryShard.ManagedQueue should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:79:1: exported: exported method MockRegistryShard.FairnessPolicy should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:86:1: exported: exported method MockRegistryShard.PriorityBandAccessor should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:93:1: exported: exported method MockRegistryShard.AllOrderedPriorityLevels should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:100:1: exported: exported method MockRegistryShard.Stats should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:116:1: exported: exported method MockSaturationDetector.Saturation should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:132:1: exported: exported method MockEndpointCandidates.Locate should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:164:1: exported: exported method MockSafeQueue.Name should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:165:1: exported: exported method MockSafeQueue.Capabilities should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:166:1: exported: exported method MockSafeQueue.Len should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:167:1: exported: exported method MockSafeQueue.ByteSize should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:169:1: exported: exported method MockSafeQueue.PeekHead should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:173:1: exported: exported method MockSafeQueue.PeekTail should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:177:1: exported: exported method MockSafeQueue.Add should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:183:1: exported: exported method MockSafeQueue.Remove should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:190:1: exported: exported method MockSafeQueue.Cleanup should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:197:1: exported: exported method MockSafeQueue.Drain should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:329:1: exported: exported method MockManagedQueue.FlowKey should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:330:1: exported: exported method MockManagedQueue.Name should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:331:1: exported: exported method MockManagedQueue.Capabilities should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:332:1: exported: exported method MockManagedQueue.OrderingPolicy should have comment or be unexported
revive/context-as-argument — 2 issue(s)
pkg/epp/flowcontrol/controller/controller_test.go:90:2: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/flowcontrol/controller/controller_test.go:145:42: context-as-argument: context.Context should be the first parameter of a function
nilnil — 3 issue(s)
pkg/epp/flowcontrol/controller/internal/processor.go:391:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/controller/internal/processor_test.go:396:5: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/controller/internal/processor_test.go:957:9: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 5 issue(s)
pkg/epp/flowcontrol/eviction/eviction_registry.go:32:6: exported: type name will be used as eviction.EvictionRegistry by other packages, and that stutters; consider calling this Registry
pkg/epp/flowcontrol/eviction/evictor.go:38:1: exported: exported method NoOpEvictor.Evict should have comment or be unexported
pkg/epp/flowcontrol/eviction/evictor.go:59:1: exported: exported method ImmediateResponseEvictor.Evict should have comment or be unexported
pkg/epp/flowcontrol/eviction/plugin.go:64:1: exported: exported method RequestEvictor.TypedName should have comment or be unexported
pkg/epp/flowcontrol/eviction/queue.go:37:6: exported: type name will be used as eviction.EvictionQueue by other packages, and that stutters; consider calling this Queue
revive/package-comments — 1 issue(s)
pkg/epp/flowcontrol/eviction/eviction_registry.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/flowcontrol/framework/plugins/queue/factory.go:33:6: exported: type name will be used as queue.QueueConstructor by other packages, and that stutters; consider calling this Constructor
revive/package-comments — 2 issue(s)
pkg/epp/flowcontrol/framework/plugins/queue/listqueue.go:17:1: package-comments: package comment should be of the form "Package queue ..."
pkg/epp/flowcontrol/framework/plugins/queue/maxminheap.go:17:1: package-comments: package comment should be of the form "Package queue ..."
revive/exported — 1 issue(s)
pkg/epp/flowcontrol/registry/registry.go:113:6: exported: type name will be used as registry.RegistryOption by other packages, and that stutters; consider calling this Option
revive/var-naming — 1 issue(s)
pkg/epp/flowcontrol/types/doc.go:51:9: var-naming: avoid meaningless package names
revive/package-comments — 1 issue(s)
pkg/epp/framework/common/request/headers.go:17:1: package-comments: should have a package comment
revive/exported — 7 issue(s)
pkg/epp/framework/interface/datalayer/endpoint.go:73:1: exported: exported method ModelServer.GetMetadata should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:77:1: exported: exported method ModelServer.UpdateMetadata should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:81:1: exported: exported method ModelServer.GetMetrics should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:85:1: exported: exported method ModelServer.UpdateMetrics should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:89:1: exported: exported method ModelServer.GetAttributes should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:93:1: exported: exported method ModelServer.Clone should have comment or be unexported
pkg/epp/framework/interface/datalayer/plugin.go:30:2: exported: exported var ExtractorType should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/interface/datalayer/attributemap.go:17:1: package-comments: should have a package comment
revive/receiver-naming — 1 issue(s)
pkg/epp/framework/interface/datalayer/endpoint_metadata.go:45:1: receiver-naming: receiver name p should be consistent with previous receiver name e for EndpointMetadata
revive/exported — 1 issue(s)
pkg/epp/framework/interface/flowcontrol/request.go:31:6: exported: type name will be used as flowcontrol.FlowControlRequest by other packages, and that stutters; consider calling this Request
nilnil — 1 issue(s)
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:253:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 37 issue(s)
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:66:1: exported: exported method MockFlowControlRequest.FlowKey should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:67:1: exported: exported method MockFlowControlRequest.ByteSize should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:68:1: exported: exported method MockFlowControlRequest.InferenceRequest should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:71:1: exported: exported method MockFlowControlRequest.ReceivedTimestamp should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:72:1: exported: exported method MockFlowControlRequest.InitialEffectiveTTL should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:73:1: exported: exported method MockFlowControlRequest.ID should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:74:1: exported: exported method MockFlowControlRequest.GetMetadata should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:75:1: exported: exported method MockFlowControlRequest.InferencePoolName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:76:1: exported: exported method MockFlowControlRequest.ModelName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:77:1: exported: exported method MockFlowControlRequest.TargetModelName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:87:1: exported: exported method MockQueueItemHandle.Handle should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:88:1: exported: exported method MockQueueItemHandle.Invalidate should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:89:1: exported: exported method MockQueueItemHandle.IsInvalidated should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:101:1: exported: exported method MockQueueItemAccessor.EnqueueTime should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:102:1: exported: exported method MockQueueItemAccessor.EffectiveTTL should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:104:1: exported: exported method MockQueueItemAccessor.OriginalRequest should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:111:1: exported: exported method MockQueueItemAccessor.Handle should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:112:1: exported: exported method MockQueueItemAccessor.SetHandle should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:151:1: exported: exported method MockFlowQueueAccessor.Name should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:152:1: exported: exported method MockFlowQueueAccessor.Len should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:153:1: exported: exported method MockFlowQueueAccessor.ByteSize should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:154:1: exported: exported method MockFlowQueueAccessor.OrderingPolicy should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:155:1: exported: exported method MockFlowQueueAccessor.FlowKey should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:156:1: exported: exported method MockFlowQueueAccessor.Capabilities should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:158:1: exported: exported method MockFlowQueueAccessor.PeekHead should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:162:1: exported: exported method MockFlowQueueAccessor.PeekTail should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:182:1: exported: exported method MockPriorityBandAccessor.Priority should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:183:1: exported: exported method MockPriorityBandAccessor.PolicyState should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:185:1: exported: exported method MockPriorityBandAccessor.FlowKeys should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:192:1: exported: exported method MockPriorityBandAccessor.Queue should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:199:1: exported: exported method MockPriorityBandAccessor.IterateQueues should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:216:1: exported: exported method MockOrderingPolicy.TypedName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:218:1: exported: exported method MockOrderingPolicy.Less should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:225:1: exported: exported method MockOrderingPolicy.RequiredQueueCapabilities should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:240:1: exported: exported method MockFairnessPolicy.TypedName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:242:1: exported: exported method MockFairnessPolicy.NewState should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:249:1: exported: exported method MockFairnessPolicy.Pick should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:17:1: package-comments: should have a package comment
revive/exported — 4 issue(s)
pkg/epp/framework/interface/plugin/handle.go:101:1: exported: exported function NewEppHandle should have comment or be unexported
pkg/epp/framework/interface/plugin/handle.go:112:6: exported: func name will be used as plugin.PluginByType by other packages, and that stutters; consider calling this ByType
pkg/epp/framework/interface/plugin/plugin_state.go:53:6: exported: type name will be used as plugin.PluginState by other packages, and that stutters; consider calling this State
pkg/epp/framework/interface/plugin/registry.go:23:1: exported: comment on exported type FactoryFunc should be of the form "FactoryFunc ..." (with optional leading article)
revive/package-comments — 1 issue(s)
pkg/epp/framework/interface/plugin/handle.go:17:1: package-comments: should have a package comment
revive/var-declaration — 1 issue(s)
pkg/epp/framework/interface/plugin/registry.go:33:14: var-declaration: should omit type map[string]FactoryFunc from declaration of var Registry; it will be inferred from the right-hand side
revive/var-naming — 1 issue(s)
pkg/epp/framework/interface/plugin/typedname.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/exported — 1 issue(s)
pkg/epp/framework/interface/requestcontrol/plugins.go:28:2: exported: exported const PreRequestExtensionPoint should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/interface/requestcontrol/plugins.go:17:1: package-comments: should have a package comment
revive/var-naming — 1 issue(s)
pkg/epp/framework/interface/requestcontrol/types.go:28:2: var-naming: struct field RequestId should be RequestID
revive/exported — 17 issue(s)
pkg/epp/framework/interface/requesthandling/plugins.go:44:6: exported: exported type ParsedResponse should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:40:1: exported: exported method PayloadMap.IsParsed should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:48:1: exported: exported method PayloadProto.IsParsed should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:54:1: exported: exported method RawPayload.IsParsed should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:110:1: exported: exported method InferenceRequestBody.CacheSalt should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:137:1: exported: exported method Prompt.UnmarshalJSON should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:147:1: exported: exported method Prompt.MarshalJSON should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:157:1: exported: exported method Prompt.PlainText should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:164:1: exported: exported method Prompt.IsEmpty should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:288:6: exported: exported type Content should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:293:6: exported: exported type ContentBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:301:6: exported: exported type ImageBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:305:6: exported: exported type AudioBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:310:6: exported: exported type VideoBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:333:1: exported: exported method Content.MarshalJSON should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:343:1: exported: exported method Content.PlainText should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:365:6: exported: exported type PromptTokenDetails should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/interface/requesthandling/plugins.go:17:1: package-comments: should have a package comment
revive/var-naming — 2 issue(s)
pkg/epp/framework/interface/requesthandling/types.go:302:2: var-naming: struct field Url should be URL
pkg/epp/framework/interface/requesthandling/types.go:311:2: var-naming: struct field Url should be URL
revive/exported — 7 issue(s)
pkg/epp/framework/interface/scheduling/types.go:96:6: exported: exported type Endpoint should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:132:1: exported: exported function NewEndpoint should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:144:1: exported: exported function EndpointComparer should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:173:1: exported: exported function ScoredEndpointComparer should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:177:6: exported: exported type ScoredEndpoint should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:188:6: exported: type name will be used as scheduling.SchedulingResult by other packages, and that stutters; consider calling this Result
pkg/epp/framework/interface/scheduling/types.go:193:6: exported: exported type SchedulerProfile should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/interface/scheduling/cycle_state.go:17:1: package-comments: should have a package comment
revive/var-naming — 5 issue(s)
pkg/epp/framework/interface/scheduling/types.go:44:2: var-naming: struct field RequestId should be RequestID
pkg/epp/framework/interface/scheduling/types.go:145:2: var-naming: don't use underscores in Go names; var a_ep should be aEp
pkg/epp/framework/interface/scheduling/types.go:146:2: var-naming: don't use underscores in Go names; var b_ep should be bEp
pkg/epp/framework/interface/scheduling/types.go:156:2: var-naming: don't use underscores in Go names; var a_keys should be aKeys
pkg/epp/framework/interface/scheduling/types.go:157:2: var-naming: don't use underscores in Go names; var b_keys should be bKeys
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/datalayer/attribute/concurrency/data_types.go:24:2: exported: exported const InFlightLoadKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/attribute/concurrency/data_types.go:33:1: exported: exported method InFlightLoad.Clone should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/attribute/concurrency/data_types.go:17:1: package-comments: should have a package comment
revive/exported — 11 issue(s)
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:24:2: exported: exported const LatencyPredictionInfoKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:36:6: exported: type name will be used as latency.LatencyPredictionInfo by other packages, and that stutters; consider calling this PredictionInfo
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:55:1: exported: exported function NewLatencyPredictionInfo should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:72:1: exported: comment on exported method LatencyPredictionInfo.TTFTValid should be of the form "TTFTValid ..."
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:74:1: exported: exported method LatencyPredictionInfo.TPOTValid should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:75:1: exported: exported method LatencyPredictionInfo.IsValid should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:76:1: exported: exported method LatencyPredictionInfo.TTFTHeadroom should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:77:1: exported: exported method LatencyPredictionInfo.TPOTHeadroom should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:78:1: exported: exported method LatencyPredictionInfo.TTFT should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:79:1: exported: exported method LatencyPredictionInfo.TPOT should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:80:1: exported: exported method LatencyPredictionInfo.DispatchedRequestCount should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:17:1: package-comments: should have a package comment
revive/exported — 7 issue(s)
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:24:2: exported: exported const PrefixCacheMatchInfoKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:27:6: exported: exported type PrefixCacheMatchInfo should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:36:1: exported: exported function NewPrefixCacheMatchInfo should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:44:1: exported: exported method PrefixCacheMatchInfo.MatchBlocks should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:48:1: exported: exported method PrefixCacheMatchInfo.TotalBlocks should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:52:1: exported: exported method PrefixCacheMatchInfo.BlockSizeTokens should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:56:1: exported: exported method PrefixCacheMatchInfo.Clone should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:17:1: package-comments: should have a package comment
nilnil — 2 issue(s)
pkg/epp/framework/plugins/datalayer/extractor/metrics/loraspec.go:41:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/datalayer/extractor/metrics/spec.go:43:3: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 5 issue(s)
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:39:2: exported: comment on exported const KVCacheUsagePercentKey should be of the form "KVCacheUsagePercentKey ..."
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:41:2: exported: exported const WaitingQueueSizeKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:48:2: exported: comment on exported const LoraInfoRunningAdaptersMetricName should be of the form "LoraInfoRunningAdaptersMetricName ..."
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:89:1: exported: comment on exported method Extractor.ExpectedInputType should be of the form "ExpectedInputType ..."
pkg/epp/framework/plugins/datalayer/extractor/metrics/factories.go:31:2: exported: exported const MetricsExtractorType should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:17:1: package-comments: should have a package comment
revive/var-naming — 1 issue(s)
pkg/epp/framework/plugins/datalayer/extractor/metrics/loraspec.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/exported — 8 issue(s)
pkg/epp/framework/plugins/datalayer/extractor/mocks/endpoint_extractor.go:50:1: exported: exported method EndpointExtractor.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/endpoint_extractor.go:54:1: exported: exported method EndpointExtractor.ExpectedInputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:60:1: exported: exported method NotificationExtractor.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:64:1: exported: exported method NotificationExtractor.ExpectedInputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:73:1: exported: exported method NotificationExtractor.GVK should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:139:1: exported: exported method Extractor.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:143:1: exported: exported method Extractor.ExpectedInputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:147:1: exported: exported method Extractor.Extract should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/extractor/mocks/endpoint_extractor.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/http/datasource.go:32:6: exported: type name will be used as http.HTTPDataSource by other packages, and that stutters; consider calling this DataSource
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/http/client.go:17:1: package-comments: should have a package comment
revive/var-naming — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/http/datasource.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/exported — 4 issue(s)
pkg/epp/framework/plugins/datalayer/source/metrics/datasource.go:33:7: exported: exported const MetricsDataSourceType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/metrics/datasource.go:63:6: exported: func name will be used as metrics.MetricsDataSourceFactory by other packages, and that stutters; consider calling this DataSourceFactory
pkg/epp/framework/plugins/datalayer/source/metrics/types.go:25:6: exported: exported type PrometheusMetricMap should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/metrics/types.go:28:2: exported: exported var PrometheusMetricType should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/metrics/datasource.go:17:1: package-comments: should have a package comment
revive/var-naming — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/metrics/datasource_test.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
nilnil — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:85:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 15 issue(s)
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:35:6: exported: exported type MetricsDataSource should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:43:1: exported: exported function NewDataSource should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:47:1: exported: exported method MetricsDataSource.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:51:1: exported: exported method MetricsDataSource.OutputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:55:1: exported: exported method MetricsDataSource.ExtractorType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:73:1: exported: exported method MetricsDataSource.Poll should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:94:1: exported: exported function NewNotificationSource should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:101:1: exported: exported method NotificationSource.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:105:1: exported: exported method NotificationSource.OutputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:109:1: exported: exported method NotificationSource.ExtractorType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:113:1: exported: exported method NotificationSource.GVK should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:117:1: exported: exported method NotificationSource.Notify should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:121:1: exported: exported method NotificationSource.Extractors should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:125:1: exported: exported method NotificationSource.AddExtractor should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:129:1: exported: exported method NotificationSource.Collect should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:17:1: package-comments: should have a package comment
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/datalayer/source/notifications/endpoint_datasource.go:17:1: package-comments: should have a package comment
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/flowcontrol/eviction/filtering/sheddable.go:52:1: exported: exported method SheddableFilter.TypedName should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/eviction/filtering/sheddable.go:56:1: exported: exported method SheddableFilter.Accept should have comment or be unexported
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/flowcontrol/eviction/ordering/priority_time.go:52:1: exported: exported method PriorityThenTimeOrdering.TypedName should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/eviction/ordering/priority_time.go:56:1: exported: exported method PriorityThenTimeOrdering.Less should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/eviction/ordering/priority_time.go:17:1: package-comments: should have a package comment
nilnil — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/fairness/globalstrict/global_strict.go:78:3: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/fairness/globalstrict/global_strict.go:36:6: exported: func name will be used as globalstrict.GlobalStrictFairnessPolicyFactory by other packages, and that stutters; consider calling this FairnessPolicyFactory
goconst — 2 issue(s)
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin_test.go:62:9: string `flow1` has 4 occurrences, make it a constant
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin_test.go:66:9: string `flow3` has 3 occurrences, make it a constant
nilnil — 3 issue(s)
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:83:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:98:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:126:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:39:6: exported: func name will be used as roundrobin.RoundRobinFairnessPolicyFactory by other packages, and that stutters; consider calling this FairnessPolicyFactory
revive/exported — 4 issue(s)
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:37:1: exported: exported function EDFOrderingPolicyFactory should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:41:1: exported: comment on exported type EDFPolicy should be of the form "EDFPolicy ..." (with optional leading article)
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:43:6: exported: type name will be used as edf.EDFPolicy by other packages, and that stutters; consider calling this Policy
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:62:1: exported: exported method EDFPolicy.Name should have comment or be unexported
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/ordering/fcfs/fcfs.go:36:1: exported: exported function FCFSOrderingPolicyFactory should have comment or be unexported
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/ordering/slodeadline/slo_deadline.go:45:1: exported: exported function SLODeadlineOrderingPolicyFactory should have comment or be unexported
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/flowcontrol/saturationdetector/concurrency/detector.go:40:2: exported: exported const ConcurrencyDetectorType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/flowcontrol/saturationdetector/concurrency/detector.go:44:6: exported: func name will be used as concurrency.ConcurrencyDetectorFactory by other packages, and that stutters; consider calling this DetectorFactory
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/saturationdetector/concurrency/detector.go:1:1: package-comments: package comment should be of the form "Package concurrency ..."
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/saturationdetector/utilization/detector.go:45:6: exported: func name will be used as utilization.UtilizationDetectorFactory by other packages, and that stutters; consider calling this DetectorFactory
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/saturationdetector/utilization/detector.go:1:1: package-comments: package comment should be of the form "Package utilization ..."
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/usagelimits/usagelimitpolicy.go:28:7: exported: exported const StaticUsageLimitPolicyType should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/flowcontrol/usagelimits/usagelimitpolicy.go:17:1: package-comments: should have a package comment
revive/exported — 4 issue(s)
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:36:2: exported: exported const LatencyAdmissionPluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:48:5: exported: exported var LatencyAdmissionDefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:77:1: exported: exported method LatencyAdmission.WithName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:82:1: exported: exported method LatencyAdmission.TypedName should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/dataproducer/approximateprefix/plugin.go:37:2: exported: exported const ApproxPrefixCachePluginType should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/dataproducer/approximateprefix/hashing.go:17:1: package-comments: should have a package comment
revive/exported — 6 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:55:1: exported: comment on exported type Config should be of the form "Config ..." (with optional leading article)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:60:6: exported: exported type Attribute should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:69:1: exported: comment on exported type AttributeKey should be of the form "AttributeKey ..." (with optional leading article)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:77:1: exported: exported function RequestAttributeReporterPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:90:1: exported: exported function New should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:153:1: exported: exported method Plugin.ResponseBody should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:17:1: package-comments: should have a package comment
revive/receiver-naming — 5 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:149:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:204:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:216:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:230:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:249:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
revive/exported — 9 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:39:2: exported: exported const InFlightLoadProducerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:42:1: exported: exported function InFlightLoadProducerFactory should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:58:6: exported: exported type InFlightLoadProducer should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:65:1: exported: exported method InFlightLoadProducer.TypedName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:101:1: exported: exported method InFlightLoadProducer.PrepareRequestData should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:112:1: exported: exported method InFlightLoadProducer.PreRequest should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:134:1: exported: exported method InFlightLoadProducer.ResponseBody should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:151:1: exported: exported method InFlightLoadProducer.Produces should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:157:1: exported: exported method InFlightLoadProducer.Consumes should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:17:1: package-comments: should have a package comment
revive/exported — 10 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:82:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:96:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:105:1: exported: exported function PredictedLatencyFactory should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:146:1: exported: exported function NewPredictedLatency should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:198:1: exported: exported method PredictedLatency.TypedName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:202:1: exported: exported method PredictedLatency.WithName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/preparedata_hooks.go:98:1: exported: exported method PredictedLatency.Produces should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/preparedata_hooks.go:104:1: exported: exported method PredictedLatency.Consumes should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/requestcontrol_hooks.go:43:1: exported: exported method PredictedLatency.PreRequest should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/requestcontrol_hooks.go:113:1: exported: exported method PredictedLatency.ResponseHeader should have comment or be unexported
revive/package-comments — 2 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/prediction.go:17:1: package-comments: package comment should be of the form "Package predictedlatency ..."
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/running_request_tpot_slo_queue.go:17:1: package-comments: package comment should be of the form "Package predictedlatency ..."
revive/receiver-naming — 9 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:266:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:274:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:279:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:303:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:320:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:330:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:338:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:345:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:354:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
revive/var-naming — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:56:2: var-naming: don't use underscores in Go names; const Experimental_DefaultPrefillProfile should be ExperimentalDefaultPrefillProfile
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/test/consts.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/test/responsereceived/destination_endpoint_served_verifier.go:69:1: exported: exported function NewDestinationEndpointServedVerifier should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/test/responsereceived/destination_endpoint_served_verifier.go:17:1: package-comments: should have a package comment
revive/receiver-naming — 1 issue(s)
pkg/epp/framework/plugins/requestcontrol/test/responsereceived/destination_endpoint_served_verifier.go:74:1: receiver-naming: receiver name p should be consistent with previous receiver name f for DestinationEndpointServedVerifier
nilnil — 2 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:116:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:268:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 5 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:32:2: exported: exported const OpenAIParserType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:61:6: exported: type name will be used as openai.OpenAIParser by other packages, and that stutters; consider calling this Parser
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:80:1: exported: exported method OpenAIParser.SupportedAppProtocols should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:84:1: exported: exported function OpenAIParserPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:88:1: exported: exported method OpenAIParser.WithName should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:17:1: package-comments: should have a package comment
nilnil — 1 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:77:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 5 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:29:2: exported: exported const PassthroughParserType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:36:6: exported: type name will be used as passthrough.PassthroughParser by other packages, and that stutters; consider calling this Parser
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:55:1: exported: exported method PassthroughParser.SupportedAppProtocols should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:59:1: exported: exported function PassthroughParserPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:63:1: exported: exported method PassthroughParser.WithName should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:17:1: package-comments: should have a package comment
revive/exported — 5 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:36:2: exported: exported const VllmGRPCParserType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:49:6: exported: type name will be used as vllmgrpc.VllmGRPCParser by other packages, and that stutters; consider calling this Parser
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:63:1: exported: exported function VllmGRPCParserPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:67:1: exported: exported method VllmGRPCParser.WithName should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:77:1: exported: exported method VllmGRPCParser.SupportedAppProtocols should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:17:1: package-comments: should have a package comment
revive/exported — 8 issue(s)
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:40:2: exported: exported const PluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:45:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:61:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:67:6: exported: exported type Plugin should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:72:1: exported: exported function Factory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:101:1: exported: exported method Plugin.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:105:1: exported: exported method Plugin.Filter should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:153:1: exported: exported method Plugin.Consumes should have comment or be unexported
revive/exported — 7 issue(s)
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:38:2: exported: exported const PluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:43:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:50:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:54:6: exported: exported type Plugin should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:59:1: exported: exported function Factory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:75:1: exported: exported method Plugin.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:140:1: exported: exported method Plugin.Consumes should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:17:1: package-comments: package comment should be of the form "Package sloheadroomtier ..."
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/scheduling/picker/common.go:40:6: exported: type name will be used as picker.PickerParameters by other packages, and that stutters; consider calling this Parameters
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/scheduling/picker/maxscore/picker.go:46:6: exported: func name will be used as maxscore.MaxScorePickerFactory by other packages, and that stutters; consider calling this PickerFactory
pkg/epp/framework/plugins/scheduling/picker/maxscore/picker.go:70:6: exported: type name will be used as maxscore.MaxScorePicker by other packages, and that stutters; consider calling this Picker
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/scheduling/picker/random/picker.go:45:6: exported: func name will be used as random.RandomPickerFactory by other packages, and that stutters; consider calling this PickerFactory
pkg/epp/framework/plugins/scheduling/picker/random/picker.go:69:6: exported: type name will be used as random.RandomPicker by other packages, and that stutters; consider calling this Picker
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/scheduling/picker/weightedrandom/picker.go:55:6: exported: func name will be used as weightedrandom.WeightedRandomPickerFactory by other packages, and that stutters; consider calling this PickerFactory
pkg/epp/framework/plugins/scheduling/picker/weightedrandom/picker.go:92:6: exported: type name will be used as weightedrandom.WeightedRandomPicker by other packages, and that stutters; consider calling this Picker
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/scheduling/profile/single_profile_handler.go:30:2: exported: exported const SingleProfileHandlerType should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/profile/single_profile_handler.go:17:1: package-comments: should have a package comment
revive/exported — 3 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:29:2: exported: exported const KvCacheUtilizationScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:36:6: exported: func name will be used as kvcacheutilization.KvCacheUtilizationScorerFactory by other packages, and that stutters; consider calling this ScorerFactory
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:48:6: exported: type name will be used as kvcacheutilization.KVCacheUtilizationScorer by other packages, and that stutters; consider calling this Scorer
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:17:1: package-comments: should have a package comment
revive/exported — 7 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:38:2: exported: exported const LatencyScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:59:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:83:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:114:1: exported: exported function Factory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:127:1: exported: exported method Plugin.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:131:1: exported: exported method Plugin.Category should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:369:1: exported: exported method Plugin.Consumes should have comment or be unexported
revive/exported — 4 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:29:2: exported: exported const LoraAffinityScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:36:6: exported: func name will be used as loraaffinity.LoraAffinityScorerFactory by other packages, and that stutters; consider calling this ScorerFactory
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:48:6: exported: type name will be used as loraaffinity.LoraAffinityScorer by other packages, and that stutters; consider calling this Scorer
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:76:1: exported: exported method LoraAffinityScorer.Score should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:17:1: package-comments: should have a package comment
revive/exported — 2 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/prefix/plugin.go:42:2: exported: comment on exported const PrefixCacheScorerPluginType should be of the form "PrefixCacheScorerPluginType ..."
pkg/epp/framework/plugins/scheduling/scorer/prefix/plugin.go:47:6: exported: func name will be used as prefix.PrefixCachePluginFactory by other packages, and that stutters; consider calling this CachePluginFactory
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/prefix/plugin.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/queuedepth/queue.go:30:2: exported: exported const QueueScorerType should have comment (or a comment on this block) or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/queuedepth/queue.go:17:1: package-comments: should have a package comment
revive/exported — 3 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/runningrequest.go:30:2: exported: exported const RunningRequestsSizeScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/runningrequest.go:37:6: exported: func name will be used as runningrequests.RunningRequestsSizeScorerFactory by other packages, and that stutters; consider calling this SizeScorerFactory
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/runningrequest.go:50:6: exported: type name will be used as runningrequests.RunningRequestsSizeScorer by other packages, and that stutters; consider calling this SizeScorer
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/running_test.go:17:1: package-comments: should have a package comment
revive/exported — 7 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:31:2: exported: exported const TokenLoadScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:45:6: exported: exported type TokenLoadScorer should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:50:1: exported: exported function TokenLoadScorerFactory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:69:1: exported: exported method TokenLoadScorer.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:73:1: exported: exported method TokenLoadScorer.Category should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:77:1: exported: exported method TokenLoadScorer.Consumes should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:83:1: exported: exported method TokenLoadScorer.Score should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:17:1: package-comments: should have a package comment
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/test/consts.go:17:1: package-comments: should have a package comment
revive/package-comments — 1 issue(s)
pkg/epp/framework/plugins/scheduling/test/filter/filter_test.go:17:1: package-comments: should have a package comment
nilnil — 1 issue(s)
pkg/epp/handlers/server_abort_test.go:42:76: return both a `nil` error and an invalid value: use a sentinel error instead
revive/exported — 12 issue(s)
pkg/epp/handlers/parsers.go:28:1: exported: exported function NewParser should have comment or be unexported
pkg/epp/handlers/request.go:37:1: exported: exported method StreamingServer.HandleRequestHeaders should have comment or be unexported
pkg/epp/handlers/response.go:69:1: exported: exported method StreamingServer.HandleResponseHeaders should have comment or be unexported
pkg/epp/handlers/server.go:58:1: exported: exported function NewStreamingServer should have comment or be unexported
pkg/epp/handlers/server.go:71:6: exported: exported type Director should have comment or be unexported
pkg/epp/handlers/server.go:78:6: exported: exported type Datastore should have comment or be unexported
pkg/epp/handlers/server.go:82:1: exported: comment on exported type StreamingServer should be of the form "StreamingServer ..." (with optional leading article)
pkg/epp/handlers/server.go:130:6: exported: exported type Request should have comment or be unexported
pkg/epp/handlers/server.go:135:6: exported: exported type Response should have comment or be unexported
pkg/epp/handlers/server.go:139:6: exported: exported type StreamRequestState should have comment or be unexported
pkg/epp/handlers/server.go:142:2: exported: exported const RequestReceived should have comment (or a comment on this block) or be unexported
pkg/epp/handlers/server.go:161:1: exported: exported method StreamingServer.Process should have comment or be unexported
revive/indent-error-flow — 1 issue(s)
pkg/epp/handlers/server.go:536:10: indent-error-flow: 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)
revive/package-comments — 1 issue(s)
pkg/epp/handlers/parsers.go:17:1: package-comments: should have a package comment
revive/package-comments — 1 issue(s)
pkg/epp/metadata/consts.go:17:1: package-comments: should have a package comment
errcheck — 1 issue(s)
pkg/epp/metrics/metrics_test.go:806:35: Error return value of `wantEnqueueLatency.Close` is not checked
revive/exported — 11 issue(s)
pkg/epp/metrics/metrics.go:520:1: exported: comment on exported function Reset should be of the form "Reset ..."
pkg/epp/metrics/metrics.go:595:1: exported: exported function RecordRequestTPOT should have comment or be unexported
pkg/epp/metrics/metrics.go:629:1: exported: comment on exported function RecordRequestPredictedTPOT should be of the form "RecordRequestPredictedTPOT ..."
pkg/epp/metrics/metrics.go:653:1: exported: comment on exported function RecordRequestTTFT should be of the form "RecordRequestTTFT ..."
pkg/epp/metrics/metrics.go:688:1: exported: comment on exported function RecordRequestPredictedTTFT should be of the form "RecordRequestPredictedTTFT ..."
pkg/epp/metrics/metrics.go:769:1: exported: exported function RecordInferencePoolAvgKVCache should have comment or be unexported
pkg/epp/metrics/metrics.go:773:1: exported: exported function RecordInferencePoolAvgQueueSize should have comment or be unexported
pkg/epp/metrics/metrics.go:777:1: exported: exported function RecordInferencePoolAvgRunningRequests should have comment or be unexported
pkg/epp/metrics/metrics.go:781:1: exported: exported function RecordInferencePoolReadyPods should have comment or be unexported
pkg/epp/metrics/metrics.go:816:2: exported: exported const SchedulerStatusSuccess should have comment (or a comment on this block) or be unexported
pkg/epp/metrics/metrics.go:843:1: exported: exported function RecordInferenceExtensionInfo should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/metrics/metrics.go:17:1: package-comments: should have a package comment
revive/var-naming — 3 issue(s)
pkg/epp/metrics/metrics.go:630:89: var-naming: don't use underscores in Go names; func parameter predicted_tpot should be predictedTpot
pkg/epp/metrics/metrics.go:689:89: var-naming: don't use underscores in Go names; func parameter predicted_ttft should be predictedTtft
pkg/epp/metrics/metrics_test.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/package-comments — 1 issue(s)
pkg/epp/metrics/collectors/inference_pool.go:17:1: package-comments: should have a package comment
nilnil — 1 issue(s)
pkg/epp/requestcontrol/director_test.go:94:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/context-as-argument — 2 issue(s)
pkg/epp/requestcontrol/plugin_executor.go:31:54: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/requestcontrol/plugin_executor.go:44:2: context-as-argument: context.Context should be the first parameter of a function
revive/exported — 1 issue(s)
pkg/epp/requestcontrol/director.go:365:1: exported: exported method Director.GetRandomEndpoint should have comment or be unexported
revive/exported — 1 issue(s)
pkg/epp/scheduling/scheduler.go:48:6: exported: exported type Scheduler should have comment or be unexported
revive/var-naming — 1 issue(s)
pkg/epp/scheduling/scheduler_profile_test.go:44:2: var-naming: don't use underscores in Go names; var tp_filterAll should be tpFilterAll
errcheck — 2 issue(s)
pkg/epp/server/server_test.go:133:18: Error return value of `conn.Close` is not checked
pkg/epp/server/server_test.go:286:20: Error return value of `testListener.Close` is not checked
revive/exported — 7 issue(s)
pkg/epp/server/controller_config.go:27:6: exported: exported type ControllerConfig should have comment or be unexported
pkg/epp/server/controller_config.go:33:1: exported: exported function NewControllerConfig should have comment or be unexported
pkg/epp/server/controller_config.go:39:1: exported: exported method ControllerConfig.PopulateControllerConfig should have comment or be unexported
pkg/epp/server/options.go:31:2: exported: exported const DefaultGrpcPort should have comment (or a comment on this block) or be unexported
pkg/epp/server/options.go:120:1: exported: exported method Options.AddFlags should have comment or be unexported
pkg/epp/server/options.go:195:1: exported: exported method Options.Complete should have comment or be unexported
pkg/epp/server/options.go:205:1: exported: exported method Options.Validate should have comment or be unexported
revive/if-return — 1 issue(s)
pkg/epp/server/options.go:243:2: if-return: redundant if ...; err != nil check, just return error instead.
revive/package-comments — 1 issue(s)
pkg/epp/server/controller_config.go:17:1: package-comments: should have a package comment
errcheck — 26 issue(s)
pkg/epp/util/env/env_test.go:30:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:33:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:42:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:45:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:88:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:91:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:100:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:103:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:120:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:123:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:158:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:161:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:170:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:173:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:190:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:193:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:228:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:231:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:240:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:243:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:260:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:263:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:298:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:301:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:318:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:321:16: Error return value of `os.Unsetenv` is not checked
revive/package-comments — 1 issue(s)
pkg/epp/util/env/env.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/util/pod/pod.go:23:1: exported: exported function IsPodReady should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/util/pod/pod.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/util/pool/pool.go:24:1: exported: exported function InferencePoolToEndpointPool should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/util/pool/pool.go:17:1: package-comments: should have a package comment
revive/exported — 1 issue(s)
pkg/epp/util/request/headers.go:48:1: exported: exported function IsSystemOwnedHeader should have comment or be unexported
revive/package-comments — 1 issue(s)
pkg/epp/util/request/headers.go:17:1: package-comments: should have a package comment
revive/exported — 18 issue(s)
pkg/epp/util/testing/wrappers.go:35:1: exported: exported function FromBase should have comment or be unexported
pkg/epp/util/testing/wrappers.go:76:1: exported: exported method PodWrapper.Namespace should have comment or be unexported
pkg/epp/util/testing/wrappers.go:87:1: exported: comment on exported method PodWrapper.ReadyCondition should be of the form "ReadyCondition ..."
pkg/epp/util/testing/wrappers.go:96:1: exported: exported method PodWrapper.IP should have comment or be unexported
pkg/epp/util/testing/wrappers.go:101:1: exported: exported method PodWrapper.DeletionTimestamp should have comment or be unexported
pkg/epp/util/testing/wrappers.go:108:1: exported: comment on exported method PodWrapper.ObjRef should be of the form "ObjRef ..."
pkg/epp/util/testing/wrappers.go:130:1: exported: exported method InferenceObjectiveWrapper.Namespace should have comment or be unexported
pkg/epp/util/testing/wrappers.go:135:1: exported: comment on exported method InferenceObjectiveWrapper.ObjRef should be of the form "ObjRef ..."
pkg/epp/util/testing/wrappers.go:140:1: exported: exported method InferenceObjectiveWrapper.PoolName should have comment or be unexported
pkg/epp/util/testing/wrappers.go:145:1: exported: exported method InferenceObjectiveWrapper.PoolGroup should have comment or be unexported
pkg/epp/util/testing/wrappers.go:150:1: exported: exported method InferenceObjectiveWrapper.Priority should have comment or be unexported
pkg/epp/util/testing/wrappers.go:155:1: exported: exported method InferenceObjectiveWrapper.DeletionTimestamp should have comment or be unexported
pkg/epp/util/testing/wrappers.go:162:1: exported: exported method InferenceObjectiveWrapper.CreationTimestamp should have comment or be unexported
pkg/epp/util/testing/wrappers.go:192:1: exported: exported method InferencePoolWrapper.Namespace should have comment or be unexported
pkg/epp/util/testing/wrappers.go:197:1: exported: exported method InferencePoolWrapper.Selector should have comment or be unexported
pkg/epp/util/testing/wrappers.go:208:1: exported: exported method InferencePoolWrapper.TargetPorts should have comment or be unexported
pkg/epp/util/testing/wrappers.go:213:1: exported: exported method InferencePoolWrapper.EndpointPickerRef should have comment or be unexported
pkg/epp/util/testing/wrappers.go:218:1: exported: comment on exported method InferencePoolWrapper.ObjRef should be of the form "ObjRef ..."
revive/var-naming — 1 issue(s)
pkg/epp/util/testing/wrappers.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
revive/exported — 380 issue(s)
pkg/common/certs.go:35:6: exported: exported type CertReloader should have comment or be unexported
pkg/common/certs.go:39:1: exported: exported function NewCertReloader should have comment or be unexported
pkg/common/certs.go:101:1: exported: exported method CertReloader.Get should have comment or be unexported
pkg/common/envoy/headers.go:49:1: exported: exported function GenerateHeadersMutation should have comment or be unexported
pkg/common/envoy/metadata.go:23:1: exported: exported function ExtractMetadataValues should have comment or be unexported
pkg/common/error/error.go:34:2: exported: exported const Unknown should have comment (or a comment on this block) or be unexported
pkg/common/observability/logging/const.go:20:2: exported: exported const DEFAULT should have comment (or a comment on this block) or be unexported
pkg/common/observability/logging/logger.go:54:1: exported: exported function InitSetupLogging should have comment or be unexported
pkg/common/observability/logging/logger.go:66:1: exported: exported function InitLogging should have comment or be unexported
pkg/common/observability/logging/options.go:29:2: exported: exported const ZapLogLevelFlagName should have comment (or a comment on this block) or be unexported
pkg/common/observability/logging/options.go:33:6: exported: type name will be used as logging.LoggingOptions by other packages, and that stutters; consider calling this Options
pkg/common/observability/profiling/pprof.go:26:1: exported: comment on exported function SetupPprofHandlers should be of the form "SetupPprofHandlers ..." to match its exported status, not "setupPprofHandlers ..."
pkg/common/observability/tracing/telemetry.go:46:1: exported: exported function InitTracing should have comment or be unexported
pkg/common/request/headers.go:20:2: exported: exported const RequestIdHeaderKey should have comment (or a comment on this block) or be unexported
pkg/epp/backend/metrics/fake.go:43:1: exported: exported method FakePodMetrics.GetMetadata should have comment or be unexported
pkg/epp/backend/metrics/fake.go:47:1: exported: exported method FakePodMetrics.GetMetrics should have comment or be unexported
pkg/epp/backend/metrics/fake.go:51:1: exported: exported method FakePodMetrics.UpdateMetadata should have comment or be unexported
pkg/epp/backend/metrics/fake.go:54:1: exported: exported method FakePodMetrics.GetAttributes should have comment or be unexported
pkg/epp/backend/metrics/fake.go:58:1: exported: exported method FakePodMetrics.Put should have comment or be unexported
pkg/epp/backend/metrics/fake.go:59:1: exported: exported method FakePodMetrics.Get should have comment or be unexported
pkg/epp/backend/metrics/fake.go:60:1: exported: exported method FakePodMetrics.Keys should have comment or be unexported
pkg/epp/backend/metrics/fake.go:62:1: exported: exported method FakePodMetrics.UpdateMetrics should have comment or be unexported
pkg/epp/backend/metrics/fake.go:67:6: exported: exported type FakePodMetricsClient should have comment or be unexported
pkg/epp/backend/metrics/fake.go:74:1: exported: exported method FakePodMetricsClient.FetchMetrics should have comment or be unexported
pkg/epp/backend/metrics/fake.go:91:1: exported: exported method FakePodMetricsClient.SetRes should have comment or be unexported
pkg/epp/backend/metrics/fake.go:97:1: exported: exported method FakePodMetricsClient.SetErr should have comment or be unexported
pkg/epp/backend/metrics/metrics.go:37:2: exported: comment on exported const LoraInfoRunningAdaptersMetricName should be of the form "LoraInfoRunningAdaptersMetricName ..."
pkg/epp/backend/metrics/metrics.go:39:2: exported: exported const LoraInfoWaitingAdaptersMetricName should have comment (or a comment on this block) or be unexported
pkg/epp/backend/metrics/metrics.go:46:6: exported: exported type PodMetricsClientImpl should have comment or be unexported
pkg/epp/backend/metrics/metrics.go:54:6: exported: exported type Config should have comment or be unexported
pkg/epp/backend/metrics/metrics.go:66:1: exported: exported function NewPodMetricsClientImpl should have comment or be unexported
pkg/epp/backend/metrics/metrics_state.go:24:6: exported: type name will be used as metrics.MetricsState by other packages, and that stutters; consider calling this State
pkg/epp/backend/metrics/pod_metrics.go:51:6: exported: exported type PodMetricsClient should have comment or be unexported
pkg/epp/backend/metrics/types.go:31:1: exported: exported function PodsWithFreshMetrics should have comment or be unexported
pkg/epp/backend/metrics/types.go:40:1: exported: exported function NewPodMetricsFactory should have comment or be unexported
pkg/epp/backend/metrics/types.go:47:6: exported: exported type PodMetricsFactory should have comment or be unexported
pkg/epp/backend/metrics/types.go:52:1: exported: exported method PodMetricsFactory.NewEndpoint should have comment or be unexported
pkg/epp/backend/metrics/types.go:69:1: exported: exported method PodMetricsFactory.ReleaseEndpoint should have comment or be unexported
pkg/epp/controller/inferencemodelrewrite_reconciler.go:36:6: exported: exported type InferenceModelRewriteReconciler should have comment or be unexported
pkg/epp/controller/inferencemodelrewrite_reconciler.go:42:1: exported: exported method InferenceModelRewriteReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/inferencemodelrewrite_reconciler.go:76:1: exported: exported method InferenceModelRewriteReconciler.SetupWithManager should have comment or be unexported
pkg/epp/controller/inferenceobjective_reconciler.go:36:6: exported: exported type InferenceObjectiveReconciler should have comment or be unexported
pkg/epp/controller/inferenceobjective_reconciler.go:42:1: exported: exported method InferenceObjectiveReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/inferenceobjective_reconciler.go:71:1: exported: exported method InferenceObjectiveReconciler.SetupWithManager should have comment or be unexported
pkg/epp/controller/inferencepool_reconciler.go:42:1: exported: exported method InferencePoolReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/inferencepool_reconciler.go:74:1: exported: exported method InferencePoolReconciler.SetupWithManager should have comment or be unexported
pkg/epp/controller/pod_reconciler.go:36:6: exported: exported type PodReconciler should have comment or be unexported
pkg/epp/controller/pod_reconciler.go:41:1: exported: exported method PodReconciler.Reconcile should have comment or be unexported
pkg/epp/controller/pod_reconciler.go:64:1: exported: exported method PodReconciler.SetupWithManager should have comment or be unexported
pkg/epp/datalayer/endpoint_pool.go:23:6: exported: exported type EndpointPool should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:23:1: exported: comment on exported type Ticker should be of the form "Ticker ..." (with optional leading article)
pkg/epp/datalayer/mocks/ticker.go:28:1: exported: exported function NewTicker should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:34:1: exported: exported method Ticker.Channel should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:38:1: exported: exported method Ticker.Tick should have comment or be unexported
pkg/epp/datalayer/mocks/ticker.go:45:1: exported: exported method Ticker.Stop should have comment or be unexported
pkg/epp/datastore/datastore.go:46:2: exported: exported var AllPodsPredicate should have comment or be unexported
pkg/epp/datastore/datastore.go:56:1: exported: comment on exported type Datastore should be of the form "Datastore ..." (with optional leading article) by using its correct casing, not "datastore ..."
pkg/epp/flowcontrol/config.go:29:7: exported: exported const FeatureGate should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:58:1: exported: exported method MockRegistryShard.ID should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:65:1: exported: exported method MockRegistryShard.IsActive should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:72:1: exported: exported method MockRegistryShard.ManagedQueue should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:79:1: exported: exported method MockRegistryShard.FairnessPolicy should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:86:1: exported: exported method MockRegistryShard.PriorityBandAccessor should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:93:1: exported: exported method MockRegistryShard.AllOrderedPriorityLevels should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:100:1: exported: exported method MockRegistryShard.Stats should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:116:1: exported: exported method MockSaturationDetector.Saturation should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:132:1: exported: exported method MockEndpointCandidates.Locate should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:164:1: exported: exported method MockSafeQueue.Name should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:165:1: exported: exported method MockSafeQueue.Capabilities should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:166:1: exported: exported method MockSafeQueue.Len should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:167:1: exported: exported method MockSafeQueue.ByteSize should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:169:1: exported: exported method MockSafeQueue.PeekHead should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:173:1: exported: exported method MockSafeQueue.PeekTail should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:177:1: exported: exported method MockSafeQueue.Add should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:183:1: exported: exported method MockSafeQueue.Remove should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:190:1: exported: exported method MockSafeQueue.Cleanup should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:197:1: exported: exported method MockSafeQueue.Drain should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:329:1: exported: exported method MockManagedQueue.FlowKey should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:330:1: exported: exported method MockManagedQueue.Name should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:331:1: exported: exported method MockManagedQueue.Capabilities should have comment or be unexported
pkg/epp/flowcontrol/contracts/mocks/mocks.go:332:1: exported: exported method MockManagedQueue.OrderingPolicy should have comment or be unexported
pkg/epp/flowcontrol/eviction/eviction_registry.go:32:6: exported: type name will be used as eviction.EvictionRegistry by other packages, and that stutters; consider calling this Registry
pkg/epp/flowcontrol/eviction/evictor.go:38:1: exported: exported method NoOpEvictor.Evict should have comment or be unexported
pkg/epp/flowcontrol/eviction/evictor.go:59:1: exported: exported method ImmediateResponseEvictor.Evict should have comment or be unexported
pkg/epp/flowcontrol/eviction/plugin.go:64:1: exported: exported method RequestEvictor.TypedName should have comment or be unexported
pkg/epp/flowcontrol/eviction/queue.go:37:6: exported: type name will be used as eviction.EvictionQueue by other packages, and that stutters; consider calling this Queue
pkg/epp/flowcontrol/framework/plugins/queue/factory.go:33:6: exported: type name will be used as queue.QueueConstructor by other packages, and that stutters; consider calling this Constructor
pkg/epp/flowcontrol/registry/registry.go:113:6: exported: type name will be used as registry.RegistryOption by other packages, and that stutters; consider calling this Option
pkg/epp/framework/interface/datalayer/endpoint.go:73:1: exported: exported method ModelServer.GetMetadata should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:77:1: exported: exported method ModelServer.UpdateMetadata should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:81:1: exported: exported method ModelServer.GetMetrics should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:85:1: exported: exported method ModelServer.UpdateMetrics should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:89:1: exported: exported method ModelServer.GetAttributes should have comment or be unexported
pkg/epp/framework/interface/datalayer/endpoint.go:93:1: exported: exported method ModelServer.Clone should have comment or be unexported
pkg/epp/framework/interface/datalayer/plugin.go:30:2: exported: exported var ExtractorType should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:66:1: exported: exported method MockFlowControlRequest.FlowKey should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:67:1: exported: exported method MockFlowControlRequest.ByteSize should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:68:1: exported: exported method MockFlowControlRequest.InferenceRequest should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:71:1: exported: exported method MockFlowControlRequest.ReceivedTimestamp should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:72:1: exported: exported method MockFlowControlRequest.InitialEffectiveTTL should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:73:1: exported: exported method MockFlowControlRequest.ID should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:74:1: exported: exported method MockFlowControlRequest.GetMetadata should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:75:1: exported: exported method MockFlowControlRequest.InferencePoolName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:76:1: exported: exported method MockFlowControlRequest.ModelName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:77:1: exported: exported method MockFlowControlRequest.TargetModelName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:87:1: exported: exported method MockQueueItemHandle.Handle should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:88:1: exported: exported method MockQueueItemHandle.Invalidate should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:89:1: exported: exported method MockQueueItemHandle.IsInvalidated should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:101:1: exported: exported method MockQueueItemAccessor.EnqueueTime should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:102:1: exported: exported method MockQueueItemAccessor.EffectiveTTL should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:104:1: exported: exported method MockQueueItemAccessor.OriginalRequest should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:111:1: exported: exported method MockQueueItemAccessor.Handle should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:112:1: exported: exported method MockQueueItemAccessor.SetHandle should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:151:1: exported: exported method MockFlowQueueAccessor.Name should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:152:1: exported: exported method MockFlowQueueAccessor.Len should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:153:1: exported: exported method MockFlowQueueAccessor.ByteSize should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:154:1: exported: exported method MockFlowQueueAccessor.OrderingPolicy should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:155:1: exported: exported method MockFlowQueueAccessor.FlowKey should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:156:1: exported: exported method MockFlowQueueAccessor.Capabilities should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:158:1: exported: exported method MockFlowQueueAccessor.PeekHead should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:162:1: exported: exported method MockFlowQueueAccessor.PeekTail should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:182:1: exported: exported method MockPriorityBandAccessor.Priority should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:183:1: exported: exported method MockPriorityBandAccessor.PolicyState should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:185:1: exported: exported method MockPriorityBandAccessor.FlowKeys should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:192:1: exported: exported method MockPriorityBandAccessor.Queue should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:199:1: exported: exported method MockPriorityBandAccessor.IterateQueues should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:216:1: exported: exported method MockOrderingPolicy.TypedName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:218:1: exported: exported method MockOrderingPolicy.Less should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:225:1: exported: exported method MockOrderingPolicy.RequiredQueueCapabilities should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:240:1: exported: exported method MockFairnessPolicy.TypedName should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:242:1: exported: exported method MockFairnessPolicy.NewState should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:249:1: exported: exported method MockFairnessPolicy.Pick should have comment or be unexported
pkg/epp/framework/interface/flowcontrol/request.go:31:6: exported: type name will be used as flowcontrol.FlowControlRequest by other packages, and that stutters; consider calling this Request
pkg/epp/framework/interface/plugin/handle.go:101:1: exported: exported function NewEppHandle should have comment or be unexported
pkg/epp/framework/interface/plugin/handle.go:112:6: exported: func name will be used as plugin.PluginByType by other packages, and that stutters; consider calling this ByType
pkg/epp/framework/interface/plugin/plugin_state.go:53:6: exported: type name will be used as plugin.PluginState by other packages, and that stutters; consider calling this State
pkg/epp/framework/interface/plugin/registry.go:23:1: exported: comment on exported type FactoryFunc should be of the form "FactoryFunc ..." (with optional leading article)
pkg/epp/framework/interface/requestcontrol/plugins.go:28:2: exported: exported const PreRequestExtensionPoint should have comment (or a comment on this block) or be unexported
pkg/epp/framework/interface/requesthandling/plugins.go:44:6: exported: exported type ParsedResponse should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:40:1: exported: exported method PayloadMap.IsParsed should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:48:1: exported: exported method PayloadProto.IsParsed should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:54:1: exported: exported method RawPayload.IsParsed should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:110:1: exported: exported method InferenceRequestBody.CacheSalt should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:137:1: exported: exported method Prompt.UnmarshalJSON should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:147:1: exported: exported method Prompt.MarshalJSON should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:157:1: exported: exported method Prompt.PlainText should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:164:1: exported: exported method Prompt.IsEmpty should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:288:6: exported: exported type Content should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:293:6: exported: exported type ContentBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:301:6: exported: exported type ImageBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:305:6: exported: exported type AudioBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:310:6: exported: exported type VideoBlock should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:333:1: exported: exported method Content.MarshalJSON should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:343:1: exported: exported method Content.PlainText should have comment or be unexported
pkg/epp/framework/interface/requesthandling/types.go:365:6: exported: exported type PromptTokenDetails should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:96:6: exported: exported type Endpoint should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:132:1: exported: exported function NewEndpoint should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:144:1: exported: exported function EndpointComparer should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:173:1: exported: exported function ScoredEndpointComparer should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:177:6: exported: exported type ScoredEndpoint should have comment or be unexported
pkg/epp/framework/interface/scheduling/types.go:188:6: exported: type name will be used as scheduling.SchedulingResult by other packages, and that stutters; consider calling this Result
pkg/epp/framework/interface/scheduling/types.go:193:6: exported: exported type SchedulerProfile should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/concurrency/data_types.go:24:2: exported: exported const InFlightLoadKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/attribute/concurrency/data_types.go:33:1: exported: exported method InFlightLoad.Clone should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:24:2: exported: exported const LatencyPredictionInfoKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:36:6: exported: type name will be used as latency.LatencyPredictionInfo by other packages, and that stutters; consider calling this PredictionInfo
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:55:1: exported: exported function NewLatencyPredictionInfo should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:72:1: exported: comment on exported method LatencyPredictionInfo.TTFTValid should be of the form "TTFTValid ..."
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:74:1: exported: exported method LatencyPredictionInfo.TPOTValid should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:75:1: exported: exported method LatencyPredictionInfo.IsValid should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:76:1: exported: exported method LatencyPredictionInfo.TTFTHeadroom should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:77:1: exported: exported method LatencyPredictionInfo.TPOTHeadroom should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:78:1: exported: exported method LatencyPredictionInfo.TTFT should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:79:1: exported: exported method LatencyPredictionInfo.TPOT should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:80:1: exported: exported method LatencyPredictionInfo.DispatchedRequestCount should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:24:2: exported: exported const PrefixCacheMatchInfoKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:27:6: exported: exported type PrefixCacheMatchInfo should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:36:1: exported: exported function NewPrefixCacheMatchInfo should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:44:1: exported: exported method PrefixCacheMatchInfo.MatchBlocks should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:48:1: exported: exported method PrefixCacheMatchInfo.TotalBlocks should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:52:1: exported: exported method PrefixCacheMatchInfo.BlockSizeTokens should have comment or be unexported
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:56:1: exported: exported method PrefixCacheMatchInfo.Clone should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:39:2: exported: comment on exported const KVCacheUsagePercentKey should be of the form "KVCacheUsagePercentKey ..."
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:41:2: exported: exported const WaitingQueueSizeKey should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:48:2: exported: comment on exported const LoraInfoRunningAdaptersMetricName should be of the form "LoraInfoRunningAdaptersMetricName ..."
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:89:1: exported: comment on exported method Extractor.ExpectedInputType should be of the form "ExpectedInputType ..."
pkg/epp/framework/plugins/datalayer/extractor/metrics/factories.go:31:2: exported: exported const MetricsExtractorType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/endpoint_extractor.go:50:1: exported: exported method EndpointExtractor.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/endpoint_extractor.go:54:1: exported: exported method EndpointExtractor.ExpectedInputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:60:1: exported: exported method NotificationExtractor.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:64:1: exported: exported method NotificationExtractor.ExpectedInputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:73:1: exported: exported method NotificationExtractor.GVK should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:139:1: exported: exported method Extractor.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:143:1: exported: exported method Extractor.ExpectedInputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/extractor/mocks/k8s_notification_extractor.go:147:1: exported: exported method Extractor.Extract should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/http/datasource.go:32:6: exported: type name will be used as http.HTTPDataSource by other packages, and that stutters; consider calling this DataSource
pkg/epp/framework/plugins/datalayer/source/metrics/datasource.go:33:7: exported: exported const MetricsDataSourceType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/metrics/datasource.go:63:6: exported: func name will be used as metrics.MetricsDataSourceFactory by other packages, and that stutters; consider calling this DataSourceFactory
pkg/epp/framework/plugins/datalayer/source/metrics/types.go:25:6: exported: exported type PrometheusMetricMap should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/metrics/types.go:28:2: exported: exported var PrometheusMetricType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:35:6: exported: exported type MetricsDataSource should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:43:1: exported: exported function NewDataSource should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:47:1: exported: exported method MetricsDataSource.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:51:1: exported: exported method MetricsDataSource.OutputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:55:1: exported: exported method MetricsDataSource.ExtractorType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:73:1: exported: exported method MetricsDataSource.Poll should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:94:1: exported: exported function NewNotificationSource should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:101:1: exported: exported method NotificationSource.TypedName should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:105:1: exported: exported method NotificationSource.OutputType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:109:1: exported: exported method NotificationSource.ExtractorType should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:113:1: exported: exported method NotificationSource.GVK should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:117:1: exported: exported method NotificationSource.Notify should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:121:1: exported: exported method NotificationSource.Extractors should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:125:1: exported: exported method NotificationSource.AddExtractor should have comment or be unexported
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:129:1: exported: exported method NotificationSource.Collect should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/eviction/filtering/sheddable.go:52:1: exported: exported method SheddableFilter.TypedName should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/eviction/filtering/sheddable.go:56:1: exported: exported method SheddableFilter.Accept should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/eviction/ordering/priority_time.go:52:1: exported: exported method PriorityThenTimeOrdering.TypedName should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/eviction/ordering/priority_time.go:56:1: exported: exported method PriorityThenTimeOrdering.Less should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/fairness/globalstrict/global_strict.go:36:6: exported: func name will be used as globalstrict.GlobalStrictFairnessPolicyFactory by other packages, and that stutters; consider calling this FairnessPolicyFactory
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:39:6: exported: func name will be used as roundrobin.RoundRobinFairnessPolicyFactory by other packages, and that stutters; consider calling this FairnessPolicyFactory
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:37:1: exported: exported function EDFOrderingPolicyFactory should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:41:1: exported: comment on exported type EDFPolicy should be of the form "EDFPolicy ..." (with optional leading article)
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:43:6: exported: type name will be used as edf.EDFPolicy by other packages, and that stutters; consider calling this Policy
pkg/epp/framework/plugins/flowcontrol/ordering/edf/edf.go:62:1: exported: exported method EDFPolicy.Name should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/ordering/fcfs/fcfs.go:36:1: exported: exported function FCFSOrderingPolicyFactory should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/ordering/slodeadline/slo_deadline.go:45:1: exported: exported function SLODeadlineOrderingPolicyFactory should have comment or be unexported
pkg/epp/framework/plugins/flowcontrol/saturationdetector/concurrency/detector.go:40:2: exported: exported const ConcurrencyDetectorType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/flowcontrol/saturationdetector/concurrency/detector.go:44:6: exported: func name will be used as concurrency.ConcurrencyDetectorFactory by other packages, and that stutters; consider calling this DetectorFactory
pkg/epp/framework/plugins/flowcontrol/saturationdetector/utilization/detector.go:45:6: exported: func name will be used as utilization.UtilizationDetectorFactory by other packages, and that stutters; consider calling this DetectorFactory
pkg/epp/framework/plugins/flowcontrol/usagelimits/usagelimitpolicy.go:28:7: exported: exported const StaticUsageLimitPolicyType should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:36:2: exported: exported const LatencyAdmissionPluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:48:5: exported: exported var LatencyAdmissionDefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:77:1: exported: exported method LatencyAdmission.WithName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:82:1: exported: exported method LatencyAdmission.TypedName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/dataproducer/approximateprefix/plugin.go:37:2: exported: exported const ApproxPrefixCachePluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:55:1: exported: comment on exported type Config should be of the form "Config ..." (with optional leading article)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:60:6: exported: exported type Attribute should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:69:1: exported: comment on exported type AttributeKey should be of the form "AttributeKey ..." (with optional leading article)
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:77:1: exported: exported function RequestAttributeReporterPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:90:1: exported: exported function New should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:153:1: exported: exported method Plugin.ResponseBody should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:39:2: exported: exported const InFlightLoadProducerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:42:1: exported: exported function InFlightLoadProducerFactory should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:58:6: exported: exported type InFlightLoadProducer should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:65:1: exported: exported method InFlightLoadProducer.TypedName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:101:1: exported: exported method InFlightLoadProducer.PrepareRequestData should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:112:1: exported: exported method InFlightLoadProducer.PreRequest should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:134:1: exported: exported method InFlightLoadProducer.ResponseBody should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:151:1: exported: exported method InFlightLoadProducer.Produces should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:157:1: exported: exported method InFlightLoadProducer.Consumes should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:82:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:96:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:105:1: exported: exported function PredictedLatencyFactory should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:146:1: exported: exported function NewPredictedLatency should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:198:1: exported: exported method PredictedLatency.TypedName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:202:1: exported: exported method PredictedLatency.WithName should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/preparedata_hooks.go:98:1: exported: exported method PredictedLatency.Produces should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/preparedata_hooks.go:104:1: exported: exported method PredictedLatency.Consumes should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/requestcontrol_hooks.go:43:1: exported: exported method PredictedLatency.PreRequest should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/requestcontrol_hooks.go:113:1: exported: exported method PredictedLatency.ResponseHeader should have comment or be unexported
pkg/epp/framework/plugins/requestcontrol/test/responsereceived/destination_endpoint_served_verifier.go:69:1: exported: exported function NewDestinationEndpointServedVerifier should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:32:2: exported: exported const OpenAIParserType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:61:6: exported: type name will be used as openai.OpenAIParser by other packages, and that stutters; consider calling this Parser
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:80:1: exported: exported method OpenAIParser.SupportedAppProtocols should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:84:1: exported: exported function OpenAIParserPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:88:1: exported: exported method OpenAIParser.WithName should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:29:2: exported: exported const PassthroughParserType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:36:6: exported: type name will be used as passthrough.PassthroughParser by other packages, and that stutters; consider calling this Parser
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:55:1: exported: exported method PassthroughParser.SupportedAppProtocols should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:59:1: exported: exported function PassthroughParserPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:63:1: exported: exported method PassthroughParser.WithName should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:36:2: exported: exported const VllmGRPCParserType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:49:6: exported: type name will be used as vllmgrpc.VllmGRPCParser by other packages, and that stutters; consider calling this Parser
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:63:1: exported: exported function VllmGRPCParserPluginFactory should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:67:1: exported: exported method VllmGRPCParser.WithName should have comment or be unexported
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:77:1: exported: exported method VllmGRPCParser.SupportedAppProtocols should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:40:2: exported: exported const PluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:45:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:61:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:67:6: exported: exported type Plugin should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:72:1: exported: exported function Factory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:101:1: exported: exported method Plugin.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:105:1: exported: exported method Plugin.Filter should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/prefixcacheaffinity/plugin.go:153:1: exported: exported method Plugin.Consumes should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:38:2: exported: exported const PluginType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:43:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:50:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:54:6: exported: exported type Plugin should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:59:1: exported: exported function Factory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:75:1: exported: exported method Plugin.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:140:1: exported: exported method Plugin.Consumes should have comment or be unexported
pkg/epp/framework/plugins/scheduling/picker/common.go:40:6: exported: type name will be used as picker.PickerParameters by other packages, and that stutters; consider calling this Parameters
pkg/epp/framework/plugins/scheduling/picker/maxscore/picker.go:46:6: exported: func name will be used as maxscore.MaxScorePickerFactory by other packages, and that stutters; consider calling this PickerFactory
pkg/epp/framework/plugins/scheduling/picker/maxscore/picker.go:70:6: exported: type name will be used as maxscore.MaxScorePicker by other packages, and that stutters; consider calling this Picker
pkg/epp/framework/plugins/scheduling/picker/random/picker.go:45:6: exported: func name will be used as random.RandomPickerFactory by other packages, and that stutters; consider calling this PickerFactory
pkg/epp/framework/plugins/scheduling/picker/random/picker.go:69:6: exported: type name will be used as random.RandomPicker by other packages, and that stutters; consider calling this Picker
pkg/epp/framework/plugins/scheduling/picker/weightedrandom/picker.go:55:6: exported: func name will be used as weightedrandom.WeightedRandomPickerFactory by other packages, and that stutters; consider calling this PickerFactory
pkg/epp/framework/plugins/scheduling/picker/weightedrandom/picker.go:92:6: exported: type name will be used as weightedrandom.WeightedRandomPicker by other packages, and that stutters; consider calling this Picker
pkg/epp/framework/plugins/scheduling/profile/single_profile_handler.go:30:2: exported: exported const SingleProfileHandlerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:29:2: exported: exported const KvCacheUtilizationScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:36:6: exported: func name will be used as kvcacheutilization.KvCacheUtilizationScorerFactory by other packages, and that stutters; consider calling this ScorerFactory
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:48:6: exported: type name will be used as kvcacheutilization.KVCacheUtilizationScorer by other packages, and that stutters; consider calling this Scorer
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:38:2: exported: exported const LatencyScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:59:6: exported: exported type Config should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:83:5: exported: exported var DefaultConfig should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:114:1: exported: exported function Factory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:127:1: exported: exported method Plugin.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:131:1: exported: exported method Plugin.Category should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/latency/plugin.go:369:1: exported: exported method Plugin.Consumes should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:29:2: exported: exported const LoraAffinityScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:36:6: exported: func name will be used as loraaffinity.LoraAffinityScorerFactory by other packages, and that stutters; consider calling this ScorerFactory
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:48:6: exported: type name will be used as loraaffinity.LoraAffinityScorer by other packages, and that stutters; consider calling this Scorer
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:76:1: exported: exported method LoraAffinityScorer.Score should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/prefix/plugin.go:42:2: exported: comment on exported const PrefixCacheScorerPluginType should be of the form "PrefixCacheScorerPluginType ..."
pkg/epp/framework/plugins/scheduling/scorer/prefix/plugin.go:47:6: exported: func name will be used as prefix.PrefixCachePluginFactory by other packages, and that stutters; consider calling this CachePluginFactory
pkg/epp/framework/plugins/scheduling/scorer/queuedepth/queue.go:30:2: exported: exported const QueueScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/runningrequest.go:30:2: exported: exported const RunningRequestsSizeScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/runningrequest.go:37:6: exported: func name will be used as runningrequests.RunningRequestsSizeScorerFactory by other packages, and that stutters; consider calling this SizeScorerFactory
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/runningrequest.go:50:6: exported: type name will be used as runningrequests.RunningRequestsSizeScorer by other packages, and that stutters; consider calling this SizeScorer
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:31:2: exported: exported const TokenLoadScorerType should have comment (or a comment on this block) or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:45:6: exported: exported type TokenLoadScorer should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:50:1: exported: exported function TokenLoadScorerFactory should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:69:1: exported: exported method TokenLoadScorer.TypedName should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:73:1: exported: exported method TokenLoadScorer.Category should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:77:1: exported: exported method TokenLoadScorer.Consumes should have comment or be unexported
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:83:1: exported: exported method TokenLoadScorer.Score should have comment or be unexported
pkg/epp/handlers/parsers.go:28:1: exported: exported function NewParser should have comment or be unexported
pkg/epp/handlers/request.go:37:1: exported: exported method StreamingServer.HandleRequestHeaders should have comment or be unexported
pkg/epp/handlers/response.go:69:1: exported: exported method StreamingServer.HandleResponseHeaders should have comment or be unexported
pkg/epp/handlers/server.go:58:1: exported: exported function NewStreamingServer should have comment or be unexported
pkg/epp/handlers/server.go:71:6: exported: exported type Director should have comment or be unexported
pkg/epp/handlers/server.go:78:6: exported: exported type Datastore should have comment or be unexported
pkg/epp/handlers/server.go:82:1: exported: comment on exported type StreamingServer should be of the form "StreamingServer ..." (with optional leading article)
pkg/epp/handlers/server.go:130:6: exported: exported type Request should have comment or be unexported
pkg/epp/handlers/server.go:135:6: exported: exported type Response should have comment or be unexported
pkg/epp/handlers/server.go:139:6: exported: exported type StreamRequestState should have comment or be unexported
pkg/epp/handlers/server.go:142:2: exported: exported const RequestReceived should have comment (or a comment on this block) or be unexported
pkg/epp/handlers/server.go:161:1: exported: exported method StreamingServer.Process should have comment or be unexported
pkg/epp/metrics/metrics.go:520:1: exported: comment on exported function Reset should be of the form "Reset ..."
pkg/epp/metrics/metrics.go:595:1: exported: exported function RecordRequestTPOT should have comment or be unexported
pkg/epp/metrics/metrics.go:629:1: exported: comment on exported function RecordRequestPredictedTPOT should be of the form "RecordRequestPredictedTPOT ..."
pkg/epp/metrics/metrics.go:653:1: exported: comment on exported function RecordRequestTTFT should be of the form "RecordRequestTTFT ..."
pkg/epp/metrics/metrics.go:688:1: exported: comment on exported function RecordRequestPredictedTTFT should be of the form "RecordRequestPredictedTTFT ..."
pkg/epp/metrics/metrics.go:769:1: exported: exported function RecordInferencePoolAvgKVCache should have comment or be unexported
pkg/epp/metrics/metrics.go:773:1: exported: exported function RecordInferencePoolAvgQueueSize should have comment or be unexported
pkg/epp/metrics/metrics.go:777:1: exported: exported function RecordInferencePoolAvgRunningRequests should have comment or be unexported
pkg/epp/metrics/metrics.go:781:1: exported: exported function RecordInferencePoolReadyPods should have comment or be unexported
pkg/epp/metrics/metrics.go:816:2: exported: exported const SchedulerStatusSuccess should have comment (or a comment on this block) or be unexported
pkg/epp/metrics/metrics.go:843:1: exported: exported function RecordInferenceExtensionInfo should have comment or be unexported
pkg/epp/requestcontrol/director.go:365:1: exported: exported method Director.GetRandomEndpoint should have comment or be unexported
pkg/epp/scheduling/scheduler.go:48:6: exported: exported type Scheduler should have comment or be unexported
pkg/epp/server/controller_config.go:27:6: exported: exported type ControllerConfig should have comment or be unexported
pkg/epp/server/controller_config.go:33:1: exported: exported function NewControllerConfig should have comment or be unexported
pkg/epp/server/controller_config.go:39:1: exported: exported method ControllerConfig.PopulateControllerConfig should have comment or be unexported
pkg/epp/server/options.go:31:2: exported: exported const DefaultGrpcPort should have comment (or a comment on this block) or be unexported
pkg/epp/server/options.go:120:1: exported: exported method Options.AddFlags should have comment or be unexported
pkg/epp/server/options.go:195:1: exported: exported method Options.Complete should have comment or be unexported
pkg/epp/server/options.go:205:1: exported: exported method Options.Validate should have comment or be unexported
pkg/epp/util/pod/pod.go:23:1: exported: exported function IsPodReady should have comment or be unexported
pkg/epp/util/pool/pool.go:24:1: exported: exported function InferencePoolToEndpointPool should have comment or be unexported
pkg/epp/util/request/headers.go:48:1: exported: exported function IsSystemOwnedHeader should have comment or be unexported
pkg/epp/util/testing/wrappers.go:35:1: exported: exported function FromBase should have comment or be unexported
pkg/epp/util/testing/wrappers.go:76:1: exported: exported method PodWrapper.Namespace should have comment or be unexported
pkg/epp/util/testing/wrappers.go:87:1: exported: comment on exported method PodWrapper.ReadyCondition should be of the form "ReadyCondition ..."
pkg/epp/util/testing/wrappers.go:96:1: exported: exported method PodWrapper.IP should have comment or be unexported
pkg/epp/util/testing/wrappers.go:101:1: exported: exported method PodWrapper.DeletionTimestamp should have comment or be unexported
pkg/epp/util/testing/wrappers.go:108:1: exported: comment on exported method PodWrapper.ObjRef should be of the form "ObjRef ..."
pkg/epp/util/testing/wrappers.go:130:1: exported: exported method InferenceObjectiveWrapper.Namespace should have comment or be unexported
pkg/epp/util/testing/wrappers.go:135:1: exported: comment on exported method InferenceObjectiveWrapper.ObjRef should be of the form "ObjRef ..."
pkg/epp/util/testing/wrappers.go:140:1: exported: exported method InferenceObjectiveWrapper.PoolName should have comment or be unexported
pkg/epp/util/testing/wrappers.go:145:1: exported: exported method InferenceObjectiveWrapper.PoolGroup should have comment or be unexported
pkg/epp/util/testing/wrappers.go:150:1: exported: exported method InferenceObjectiveWrapper.Priority should have comment or be unexported
pkg/epp/util/testing/wrappers.go:155:1: exported: exported method InferenceObjectiveWrapper.DeletionTimestamp should have comment or be unexported
pkg/epp/util/testing/wrappers.go:162:1: exported: exported method InferenceObjectiveWrapper.CreationTimestamp should have comment or be unexported
pkg/epp/util/testing/wrappers.go:192:1: exported: exported method InferencePoolWrapper.Namespace should have comment or be unexported
pkg/epp/util/testing/wrappers.go:197:1: exported: exported method InferencePoolWrapper.Selector should have comment or be unexported
pkg/epp/util/testing/wrappers.go:208:1: exported: exported method InferencePoolWrapper.TargetPorts should have comment or be unexported
pkg/epp/util/testing/wrappers.go:213:1: exported: exported method InferencePoolWrapper.EndpointPickerRef should have comment or be unexported
pkg/epp/util/testing/wrappers.go:218:1: exported: comment on exported method InferencePoolWrapper.ObjRef should be of the form "ObjRef ..."
revive/package-comments — 68 issue(s)
pkg/common/envoy/chunking.go:17:1: package-comments: should have a package comment
pkg/common/envoy/test/utils.go:17:1: package-comments: should have a package comment
pkg/common/error/error.go:17:1: package-comments: should have a package comment
pkg/common/observability/logging/const.go:17:1: package-comments: should have a package comment
pkg/common/observability/profiling/pprof.go:17:1: package-comments: should have a package comment
pkg/common/observability/tracing/telemetry.go:17:1: package-comments: should have a package comment
pkg/common/request/headers.go:17:1: package-comments: should have a package comment
pkg/epp/config/config.go:17:1: package-comments: should have a package comment
pkg/epp/config/loader/configloader.go:17:1: package-comments: should have a package comment
pkg/epp/controller/inferencemodelrewrite_reconciler.go:17:1: package-comments: should have a package comment
pkg/epp/datalayer/collector.go:17:1: package-comments: should have a package comment
pkg/epp/datalayer/logger/logger.go:17:1: package-comments: should have a package comment
pkg/epp/datalayer/mocks/ticker.go:17:1: package-comments: should have a package comment
pkg/epp/datastore/datastore.go:17:1: package-comments: should have a package comment
pkg/epp/flowcontrol/config.go:17:1: package-comments: should have a package comment
pkg/epp/flowcontrol/eviction/eviction_registry.go:17:1: package-comments: should have a package comment
pkg/epp/flowcontrol/framework/plugins/queue/listqueue.go:17:1: package-comments: package comment should be of the form "Package queue ..."
pkg/epp/flowcontrol/framework/plugins/queue/maxminheap.go:17:1: package-comments: package comment should be of the form "Package queue ..."
pkg/epp/framework/common/request/headers.go:17:1: package-comments: should have a package comment
pkg/epp/framework/interface/datalayer/attributemap.go:17:1: package-comments: should have a package comment
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:17:1: package-comments: should have a package comment
pkg/epp/framework/interface/plugin/handle.go:17:1: package-comments: should have a package comment
pkg/epp/framework/interface/requestcontrol/plugins.go:17:1: package-comments: should have a package comment
pkg/epp/framework/interface/requesthandling/plugins.go:17:1: package-comments: should have a package comment
pkg/epp/framework/interface/scheduling/cycle_state.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/attribute/concurrency/data_types.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/attribute/latency/data_types.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/attribute/prefix/data_types.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/extractor/metrics/extractor.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/extractor/mocks/endpoint_extractor.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/source/http/client.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/source/metrics/datasource.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/datalayer/source/notifications/endpoint_datasource.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/flowcontrol/eviction/ordering/priority_time.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/flowcontrol/saturationdetector/concurrency/detector.go:1:1: package-comments: package comment should be of the form "Package concurrency ..."
pkg/epp/framework/plugins/flowcontrol/saturationdetector/utilization/detector.go:1:1: package-comments: package comment should be of the form "Package utilization ..."
pkg/epp/framework/plugins/flowcontrol/usagelimits/usagelimitpolicy.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requestcontrol/admitter/latencyslo/plugin.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requestcontrol/dataproducer/approximateprefix/hashing.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/inflightload/producer.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/prediction.go:17:1: package-comments: package comment should be of the form "Package predictedlatency ..."
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/running_request_tpot_slo_queue.go:17:1: package-comments: package comment should be of the form "Package predictedlatency ..."
pkg/epp/framework/plugins/requestcontrol/test/consts.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requestcontrol/test/responsereceived/destination_endpoint_served_verifier.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/requesthandling/parsers/vllmgrpc/vllmgrpc.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/filter/sloheadroomtier/plugin.go:17:1: package-comments: package comment should be of the form "Package sloheadroomtier ..."
pkg/epp/framework/plugins/scheduling/profile/single_profile_handler.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/scorer/kvcacheutilization/kvcache_utilization.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/scorer/loraaffinity/lora_affinity.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/scorer/prefix/plugin.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/scorer/queuedepth/queue.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/scorer/runningrequests/running_test.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/scorer/tokenload/token_load.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/test/consts.go:17:1: package-comments: should have a package comment
pkg/epp/framework/plugins/scheduling/test/filter/filter_test.go:17:1: package-comments: should have a package comment
pkg/epp/handlers/parsers.go:17:1: package-comments: should have a package comment
pkg/epp/metadata/consts.go:17:1: package-comments: should have a package comment
pkg/epp/metrics/collectors/inference_pool.go:17:1: package-comments: should have a package comment
pkg/epp/metrics/metrics.go:17:1: package-comments: should have a package comment
pkg/epp/server/controller_config.go:17:1: package-comments: should have a package comment
pkg/epp/util/env/env.go:17:1: package-comments: should have a package comment
pkg/epp/util/pod/pod.go:17:1: package-comments: should have a package comment
pkg/epp/util/pool/pool.go:17:1: package-comments: should have a package comment
pkg/epp/util/request/headers.go:17:1: package-comments: should have a package comment
errcheck — 34 issue(s)
pkg/common/certs.go:59:16: Error return value of `w.Close` is not checked
pkg/common/observability/tracing/telemetry.go:52:12: Error return value of `os.Setenv` is not checked
pkg/common/observability/tracing/telemetry.go:57:12: Error return value of `os.Setenv` is not checked
pkg/epp/backend/metrics/podmetrics_parity_test.go:425:14: Error return value of `fmt.Fprintf` is not checked
pkg/epp/backend/metrics/podmetrics_parity_test.go:432:13: Error return value of `fmt.Fprint` is not checked
pkg/epp/metrics/metrics_test.go:806:35: Error return value of `wantEnqueueLatency.Close` is not checked
pkg/epp/server/server_test.go:133:18: Error return value of `conn.Close` is not checked
pkg/epp/server/server_test.go:286:20: Error return value of `testListener.Close` is not checked
pkg/epp/util/env/env_test.go:30:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:33:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:42:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:45:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:88:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:91:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:100:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:103:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:120:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:123:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:158:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:161:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:170:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:173:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:190:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:193:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:228:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:231:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:240:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:243:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:260:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:263:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:298:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:301:16: Error return value of `os.Unsetenv` is not checked
pkg/epp/util/env/env_test.go:318:14: Error return value of `os.Setenv` is not checked
pkg/epp/util/env/env_test.go:321:16: Error return value of `os.Unsetenv` is not checked
revive/var-naming — 26 issue(s)
pkg/common/certs_test.go:17:9: var-naming: avoid meaningless package names
pkg/common/observability/metrics/metrics.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/backend/metrics/metrics.go:79:6: var-naming: var metricsHttpClient should be metricsHTTPClient
pkg/epp/backend/metrics/podmetrics_parity_test.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/config/loader/testdata_test.go:277:7: var-naming: const errorBadPluginJsonText should be errorBadPluginJSONText
pkg/epp/controller/inferencepool_reconciler_test.go:45:2: var-naming: don't use underscores in Go names; var selector_v1 should be selectorV1
pkg/epp/controller/inferencepool_reconciler_test.go:46:2: var-naming: don't use underscores in Go names; var selector_v2 should be selectorV2
pkg/epp/flowcontrol/types/doc.go:51:9: var-naming: avoid meaningless package names
pkg/epp/framework/interface/plugin/typedname.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/framework/interface/requestcontrol/types.go:28:2: var-naming: struct field RequestId should be RequestID
pkg/epp/framework/interface/requesthandling/types.go:302:2: var-naming: struct field Url should be URL
pkg/epp/framework/interface/requesthandling/types.go:311:2: var-naming: struct field Url should be URL
pkg/epp/framework/interface/scheduling/types.go:44:2: var-naming: struct field RequestId should be RequestID
pkg/epp/framework/interface/scheduling/types.go:145:2: var-naming: don't use underscores in Go names; var a_ep should be aEp
pkg/epp/framework/interface/scheduling/types.go:146:2: var-naming: don't use underscores in Go names; var b_ep should be bEp
pkg/epp/framework/interface/scheduling/types.go:156:2: var-naming: don't use underscores in Go names; var a_keys should be aKeys
pkg/epp/framework/interface/scheduling/types.go:157:2: var-naming: don't use underscores in Go names; var b_keys should be bKeys
pkg/epp/framework/plugins/datalayer/extractor/metrics/loraspec.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/framework/plugins/datalayer/source/http/datasource.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/framework/plugins/datalayer/source/metrics/datasource_test.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:56:2: var-naming: don't use underscores in Go names; const Experimental_DefaultPrefillProfile should be ExperimentalDefaultPrefillProfile
pkg/epp/metrics/metrics.go:630:89: var-naming: don't use underscores in Go names; func parameter predicted_tpot should be predictedTpot
pkg/epp/metrics/metrics.go:689:89: var-naming: don't use underscores in Go names; func parameter predicted_ttft should be predictedTtft
pkg/epp/metrics/metrics_test.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
pkg/epp/scheduling/scheduler_profile_test.go:44:2: var-naming: don't use underscores in Go names; var tp_filterAll should be tpFilterAll
pkg/epp/util/testing/wrappers.go:17:9: var-naming: avoid package names that conflict with Go standard library package names
nilnil — 24 issue(s)
pkg/epp/backend/metrics/metrics.go:248:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/backend/metrics/metrics.go:284:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/backend/metrics/metrics_spec.go:47:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/config/loader/configloader_test.go:669:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:76:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:83:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:90:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/contracts/mocks/mocks.go:187:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/controller/internal/processor.go:391:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/controller/internal/processor_test.go:396:5: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/flowcontrol/controller/internal/processor_test.go:957:9: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/interface/flowcontrol/mocks/mocks.go:253:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/datalayer/extractor/metrics/loraspec.go:41:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/datalayer/extractor/metrics/spec.go:43:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/datalayer/source/mocks/data_source_mock.go:85:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/flowcontrol/fairness/globalstrict/global_strict.go:78:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:83:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:98:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin.go:126:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:116:3: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/requesthandling/parsers/openai/openai.go:268:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/framework/plugins/requesthandling/parsers/passthrough/passthrough.go:77:2: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/handlers/server_abort_test.go:42:76: return both a `nil` error and an invalid value: use a sentinel error instead
pkg/epp/requestcontrol/director_test.go:94:2: return both a `nil` error and an invalid value: use a sentinel error instead
revive/receiver-naming — 16 issue(s)
pkg/epp/framework/interface/datalayer/endpoint_metadata.go:45:1: receiver-naming: receiver name p should be consistent with previous receiver name e for EndpointMetadata
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:149:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:204:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:216:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:230:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestattributereporter/plugin.go:249:1: receiver-naming: receiver name c should be consistent with previous receiver name p for Plugin
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:266:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:274:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:279:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:303:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:320:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:330:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:338:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:345:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/requestdataproducer/predictedlatency/plugin.go:354:1: receiver-naming: receiver name s should be consistent with previous receiver name t for PredictedLatency
pkg/epp/framework/plugins/requestcontrol/test/responsereceived/destination_endpoint_served_verifier.go:74:1: receiver-naming: receiver name p should be consistent with previous receiver name f for DestinationEndpointServedVerifier
revive/context-as-argument — 8 issue(s)
pkg/epp/backend/metrics/podmetrics_parity_test.go:276:47: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/backend/metrics/podmetrics_parity_test.go:311:46: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/flowcontrol/benchmark/benchmark.go:196:2: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/flowcontrol/benchmark/benchmark.go:236:2: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/flowcontrol/controller/controller_test.go:90:2: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/flowcontrol/controller/controller_test.go:145:42: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/requestcontrol/plugin_executor.go:31:54: context-as-argument: context.Context should be the first parameter of a function
pkg/epp/requestcontrol/plugin_executor.go:44:2: context-as-argument: context.Context should be the first parameter of a function
goconst — 2 issue(s)
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin_test.go:62:9: string `flow1` has 4 occurrences, make it a constant
pkg/epp/framework/plugins/flowcontrol/fairness/roundrobin/roundrobin_test.go:66:9: string `flow3` has 3 occurrences, make it a constant
revive/unexported-return — 1 issue(s)
pkg/epp/datastore/datastore.go:93:113: unexported-return: exported func NewDatastore returns unexported type *datastore.datastore, which can be annoying to use
revive/var-declaration — 1 issue(s)
pkg/epp/framework/interface/plugin/registry.go:33:14: var-declaration: should omit type map[string]FactoryFunc from declaration of var Registry; it will be inferred from the right-hand side
revive/indent-error-flow — 1 issue(s)
pkg/epp/handlers/server.go:536:10: indent-error-flow: 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)
revive/if-return — 1 issue(s)
pkg/epp/server/options.go:243:2: if-return: redundant if ...; err != nil check, just return error instead.