Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for rules (0.18 sec)

  1. docs/bucket/replication/setup_ilm_expiry_replication.sh

    	exit 1
    fi
    
    ## Check if ILM expiry rules replicated
    sleep 30s
    
    ./mc ilm rule list siteb/bucket
    count=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules | length')
    if [ $count -ne 1 ]; then
    	echo "BUG: ILM expiry rules not replicated to 'siteb'"
    	exit 1
    fi
    
    ## Check replication of rules content
    expDays=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Expiration.Days')
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables_linux.go

    		inpodMarkRule.Mark = InpodTProxyMark
    		inpodMarkRule.Mask = InpodTProxyMask
    		inpodMarkRule.Priority = 32764
    		rules = append(rules, inpodMarkRule)
    	}
    
    	for _, rule := range rules {
    		log.Debugf("Iterating netlink rule : %+v", rule)
    		if err := f(rule); err != nil {
    			return fmt.Errorf("failed to configure netlink rule: %w", err)
    		}
    	}
    
    	return nil
    }
    
    func AddLoopbackRoutes(cfg *Config) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables.go

    	// Append our rules here
    	builder := cfg.appendHostRules(hostSNATIP, hostSNATIPV6)
    
    	log.Info("Adding host netnamespace iptables rules")
    
    	if err := cfg.executeCommands(builder); err != nil {
    		log.Errorf("failed to add host netnamespace iptables rules: %v", err)
    		return err
    	}
    	return nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    			}
    		}
    		return err
    	}
    
    	if len(r.Rules) > maxBatchRules {
    		return batchExpireJobError{
    			Code:           "InvalidArgument",
    			Description:    "Too many rules. Batch expire job can't have more than 100 rules",
    			HTTPStatusCode: http.StatusBadRequest,
    		}
    	}
    
    	for _, rule := range r.Rules {
    		if err := rule.Validate(); err != nil {
    			return batchExpireJobError{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. ci/official/requirements_updater/WORKSPACE

        ],
    )
    
    http_archive(
        name = "rules_python",
        sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
        strip_prefix = "rules_python-0.26.0",
        url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
    )
    
    # buildifier: disable=same-origin-load
    load("@rules_python//python:repositories.bzl", "py_repositories")
    
    py_repositories()
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:12:56 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  6. .cm/plugins/filters/byCodeowner/ignore/index.js

            // #32
            if (pattern && pattern[KEY_IGNORE]) {
                this._rules = this._rules.concat(pattern._rules)
                this._added = true
                return
            }
    
            if (checkPattern(pattern)) {
                const rule = createRule(pattern, this._ignoreCase)
                this._added = true
                this._rules.push(rule)
            }
        }
    
        // @param {Array<string> | string | Ignore} pattern
    JavaScript
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. ci/official/wheel_test/WORKSPACE

        ],
    )
    
    http_archive(
        name = "rules_python",
        sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
        strip_prefix = "rules_python-0.26.0",
        url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
    )
    
    # buildifier: disable=same-origin-load
    load("@rules_python//python:repositories.bzl", "py_repositories")
    
    py_repositories()
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. WORKSPACE

        ],
    )
    
    http_archive(
        name = "rules_java",
        sha256 = "c73336802d0b4882e40770666ad055212df4ea62cfa6edf9cb0f9d29828a0934",
        url = "https://github.com/bazelbuild/rules_java/releases/download/5.3.5/rules_java-5.3.5.tar.gz",
    )
    
    http_archive(
        name = "rules_python",
        sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
        strip_prefix = "rules_python-0.26.0",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 05 22:27:48 GMT 2024
    - 3K bytes
    - Viewed (2)
  9. cmd/site-replication.go

    		} else {
    			rMap[id] = rl
    		}
    	}
    
    	var rules []lifecycle.Rule
    	for _, rule := range rMap {
    		rules = append(rules, rule)
    	}
    
    	// no rules, return
    	if len(rules) == 0 {
    		return []byte{}, nil
    	}
    
    	// get final list for write
    	finalLcCfg := lifecycle.Lifecycle{
    		XMLName:         xmlName,
    		Rules:           rules,
    		ExpiryUpdatedAt: &updatedAt,
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  10. cni/pkg/nodeagent/net.go

    	}
    	// pod is removed from the mesh, but is still running. remove iptables rules
    	log.Debugf("calling DeleteInpodRules.")
    	if err := s.netnsRunner(openNetns, func() error { return s.iptablesConfigurator.DeleteInpodRules() }); err != nil {
    		log.Errorf("failed to delete inpod rules %v", err)
    		return fmt.Errorf("failed to delete inpod rules %w", err)
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
Back to top