feat: add cataloguer #95
ci.yml
on: pull_request
Test
3m 6s
Golangci-lint
2m 28s
Annotations
6 errors
Golangci-lint:
internal/handlers/cataloger.go#L41
G402: TLS InsecureSkipVerify set true. (gosec)
|
Golangci-lint:
internal/handlers/registry_client/client.go#L1
var-naming: don't use an underscore in package name (revive)
|
Golangci-lint:
internal/handlers/registry_client/client.go#L113
error returned from external package is unwrapped: sig: func (*github.com/google/go-containerregistry/pkg/v1/remote.Lister).Next(ctx context.Context) (*github.com/google/go-containerregistry/pkg/v1/remote.Tags, error) (wrapcheck)
|
Golangci-lint:
internal/handlers/registry_client/client.go#L129
error returned from external package is unwrapped: sig: func github.com/google/go-containerregistry/pkg/v1/remote.Index(ref github.com/google/go-containerregistry/pkg/name.Reference, options ...github.com/google/go-containerregistry/pkg/v1/remote.Option) (github.com/google/go-containerregistry/pkg/v1.ImageIndex, error) (wrapcheck)
|
Golangci-lint:
internal/handlers/cataloger.go#L150
error returned from interface method should be wrapped: sig: func (github.com/rancher/sbombastic/internal/handlers/registry_client.RegistryClient).ListRepositoryContents(ctx context.Context, repository github.com/google/go-containerregistry/pkg/name.Repository) ([]string, error) (wrapcheck)
|
Golangci-lint
issues found
|