Metrics: support expose metrics for plugins #2249
Annotations
20 errors and 1 warning
lint
cannot use i (variable of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks value in return statement: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks (missing method GetCounterMetrics)
|
lint
cannot use (*filterCallbackHandler)(nil) (value of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".FilterCallbackHandler value in variable declaration: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".FilterCallbackHandler (missing method GetCounterMetrics) (typecheck)
|
lint
could not import mosn.io/htnn/api/plugins/tests/pkg/envoy (-: # mosn.io/htnn/api/plugins/tests/pkg/envoy
|
lint
cannot use i (variable of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks value in return statement: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks (missing method GetCounterMetrics)
|
lint
cannot use (*filterCallbackHandler)(nil) (value of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".FilterCallbackHandler value in variable declaration: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".FilterCallbackHandler (missing method GetCounterMetrics)) (typecheck)
|
lint
could not import mosn.io/htnn/api/plugins/tests/pkg/envoy (-: # mosn.io/htnn/api/plugins/tests/pkg/envoy
|
lint
cannot use i (variable of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks value in return statement: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks (missing method GetCounterMetrics)
|
lint
cannot use (*filterCallbackHandler)(nil) (value of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".FilterCallbackHandler value in variable declaration: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".FilterCallbackHandler (missing method GetCounterMetrics)) (typecheck)
|
lint
could not import mosn.io/htnn/api/plugins/tests/pkg/envoy (-: # mosn.io/htnn/api/plugins/tests/pkg/envoy
|
lint
cannot use i (variable of type *filterCallbackHandler) as "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks value in return statement: *filterCallbackHandler does not implement "mosn.io/htnn/api/pkg/filtermanager/api".StreamFilterCallbacks (missing method GetCounterMetrics)
|
lint
cannot use cpu.X86.HasSSE42 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
|
lint
unsafe.Offsetof(cpu.X86.HasSSE42) (value of type uintptr) is not constant
|
lint
cannot use cpu.X86.HasAVX2 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
|
lint
unsafe.Offsetof(cpu.X86.HasAVX2) (value of type uintptr) is not constant
|
lint
cannot use cpu.X86.HasPOPCNT (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
|
lint
unsafe.Offsetof(cpu.X86.HasPOPCNT) (value of type uintptr) is not constant
|
lint
cannot use cpu.S390X.HasVX (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
|
lint
unsafe.Offsetof(cpu.S390X.HasVX) (value of type uintptr) is not constant
|
lint
cannot use cpu.PPC64.IsPOWER9 (variable of type bool) as unsafe.ArbitraryType value in argument to unsafe.Offsetof
|
lint
unsafe.Offsetof(cpu.PPC64.IsPOWER9) (value of type uintptr) is not constant
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|