Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CmdToString (0.23 sec)

  1. tools/istio-iptables/pkg/dependencies/stub.go

    			s.ExecutedAll = append(s.ExecutedAll, stdincmd)
    			s.ExecutedStdin = append(s.ExecutedStdin, stdincmd)
    		}
    	} else {
    		// ...or as discrete individual commands
    		cmdline := strings.Join(append([]string{iptVer.CmdToString(cmd)}, args...), " ")
    		s.ExecutedAll = append(s.ExecutedAll, cmdline)
    		if quietly {
    			s.ExecutedQuietly = append(s.ExecutedQuietly, cmdline)
    		} else {
    			s.ExecutedNormally = append(s.ExecutedNormally, cmdline)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/dependencies/implementation.go

    	// true if legacy mode, false if nf_tables
    	Legacy bool
    	// true if we detected that existing rules are present for this variant (legacy, nft, v6)
    	ExistingRules bool
    }
    
    func (v IptablesVersion) CmdToString(cmd constants.IptablesCmd) string {
    	switch cmd {
    	case constants.IPTables:
    		return v.DetectedBinary
    	case constants.IPTablesSave:
    		return v.DetectedSaveBinary
    	case constants.IPTablesRestore:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 19:54:50 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top