portainer/portainer

View on GitHub
api/http/proxy/factory/factory.go

Summary

Maintainability
A
1 hr
Test Coverage

Function NewProxyFactory has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

func NewProxyFactory(dataStore dataservices.DataStore, signatureService portainer.DigitalSignatureService, tunnelService portainer.ReverseTunnelService, clientFactory *dockerclient.ClientFactory, kubernetesClientFactory *cli.ClientFactory, kubernetesTokenCacheManager *kubernetes.TokenCacheManager, gitService portainer.GitService, snapshotService portainer.SnapshotService) *ProxyFactory {
Severity: Major
Found in api/http/proxy/factory/factory.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status