portainer/portainer

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

Summary

Maintainability
A
45 mins
Test Coverage

Function NewEdgeTransport has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func NewEdgeTransport(dataStore dataservices.DataStore, signatureService portainer.DigitalSignatureService, reverseTunnelService portainer.ReverseTunnelService, endpoint *portainer.Endpoint, tokenManager *tokenManager, k8sClientFactory *cli.ClientFactory) *edgeTransport {
Severity: Minor
Found in api/http/proxy/factory/kubernetes/edge_transport.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status