- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ParseRule (0.24 sec)
-
pkg/util/iptables/testing/parse.go
// Used by ParseRule var boolPtrType = reflect.PointerTo(reflect.TypeOf(true)) var ipTablesValuePtrType = reflect.TypeOf((*IPTablesValue)(nil)) // ParseRule parses rule. If strict is false, it will parse the recognized // parameters and ignore unrecognized ones. If it is true, parsing will fail if there are // unrecognized parameters. func ParseRule(rule string, strict bool) (*Rule, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java
throws MalformedURLException { state = State.DEP_ARTIFACT; parseRule(tag, attributes); } private void addIncludeRule(String tag, Attributes attributes) throws MalformedURLException { state = State.ARTIFACT_INCLUDE; parseRule(tag, attributes); } private void addExcludeRule(String tag, Attributes attributes)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 65K bytes - Viewed (0) -
pkg/util/iptables/testing/parse_test.go
}, }, { name: "addRuleToChainRegex requires an actual rule, not just a chain name", rule: `-A KUBE-NODEPORTS`, err: `(no match rules)`, }, { name: "ParseRule only parses adds", rule: `-D KUBE-NODEPORTS -m comment --comment "ns2/svc2:p80 health check node port" -m tcp -p tcp --dport 30000 -j ACCEPT`, err: `(does not start with "-A CHAIN")`, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 26K bytes - Viewed (0) -
pkg/util/iptables/testing/fake.go
return false, err } rule := "-A " + string(chain) + " " + strings.Join(args, " ") for _, r := range c.Rules { if r.Raw == rule { return true, nil } } parsed, err := ParseRule(rule, false) if err != nil { return false, err } if position == iptables.Append { c.Rules = append(c.Rules, parsed) } else { c.Rules = append([]*Rule{parsed}, c.Rules...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
_ = ipt.SaveInto(utiliptables.TableNAT, buf) natRules := strings.Split(buf.String(), "\n") var hasMasqueradeJump, hasMasqRandomFully bool for _, line := range natRules { rule, _ := iptablestest.ParseRule(line, false) if rule != nil && rule.Chain == kubePostroutingChain && rule.Jump != nil && rule.Jump.Value == "MASQUERADE" { hasMasqueradeJump = true if rule.RandomFully != nil { hasMasqRandomFully = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
; private void managerStarted(org.xml.sax.Attributes, String); private void includeConfStarted(org.xml.sax.Attributes); private void confStarted(org.xml.sax.Attributes); private void artifactStarted(String, org.xml.sax.Attributes); private void parseRule(String, org.xml.sax.Attributes); private void addConfiguration(String); private org.apache.ivy.plugins.matcher.PatternMatcher getPatternMatcher(String); public final void characters(char[], int, int); public final void endElement(String, String,...
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (1)