Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isServiceChainName (0.37 sec)

  1. pkg/proxy/iptables/proxier.go

    				natRules.Write("-X", chainString)                  // delete
    			}
    		}
    		// Hunt for service and endpoint chains.
    		for chain := range existingNATChains {
    			chainString := string(chain)
    			if isServiceChainName(chainString) {
    				natChains.Write(utiliptables.MakeChainLine(chain)) // flush
    				natRules.Write("-X", chainString)                  // delete
    			}
    		}
    		natRules.Write("COMMIT")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier.go

    	// length of 252, well over chainNameBaseLengthMax (240), so truncation is
    	// theoretically possible (though incredibly unlikely).
    	return hashAndTruncate(name)
    }
    
    func isServiceChainName(chainString string) bool {
    	// The chains returned from servicePortChainNameBase and
    	// servicePortEndpointChainNameBase will always have at least one "/" in them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
Back to top