kubenetworks/kubevpn

View on GitHub
pkg/core/gvisorstack.go

Summary

Maintainability
A
1 hr
Test Coverage

Function NewStack has 68 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func NewStack(ctx context.Context, tun stack.LinkEndpoint) *stack.Stack {
    s := stack.New(stack.Options{
        NetworkProtocols: []stack.NetworkProtocolFactory{
            ipv4.NewProtocol,
            ipv6.NewProtocol,
Severity: Minor
Found in pkg/core/gvisorstack.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status