Initial CLI scanner commit #107
Annotations
6 errors and 2 warnings
Test:
pkg/scanner/backend_adapter_test.go#L38
cannot use client (variable of type *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient) as secure.Client value in argument to NewBackendAdapter: *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient does not implement secure.Client (wrong type for method GetImage)
|
Test:
pkg/scanner/base_adapter_test.go#L29
cannot use client (variable of type *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient) as secure.Client value in argument to NewBackendAdapter: *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient does not implement secure.Client (wrong type for method GetImage)
|
Test:
pkg/scanner/inline_adapter_test.go#L73
cannot use client (variable of type *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient) as secure.Client value in argument to NewInlineAdapter: *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient does not implement secure.Client (wrong type for method GetImage)
|
Test:
pkg/scanner/inline_adapter_test.go#L120
cannot use client (variable of type *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient) as secure.Client value in argument to NewInlineAdapter: *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient does not implement secure.Client (wrong type for method GetImage)
|
Test:
pkg/scanner/inline_adapter_test.go#L131
cannot use client (variable of type *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient) as secure.Client value in argument to NewInlineAdapter: *"github.com/sysdiglabs/harbor-scanner-sysdig-secure/pkg/secure/mocks".MockClient does not implement secure.Client (wrong type for method GetImage)
|
Test
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading