Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for allowlists (0.21 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				}
    			}
    		})
    	}
    }
    
    type preEnqueuePlugin struct {
    	allowlists []string
    }
    
    func (pl *preEnqueuePlugin) Name() string {
    	return "preEnqueuePlugin"
    }
    
    func (pl *preEnqueuePlugin) PreEnqueue(ctx context.Context, p *v1.Pod) *framework.Status {
    	for _, allowed := range pl.allowlists {
    		for label := range p.Labels {
    			if label == allowed {
    				return nil
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. pkg/kubelet/sysctl/allowlist.go

    // respective namespaces with the host. This check is only possible for sysctls on
    // the static default allowlist, not those on the custom allowlist provided by the admin.
    func (w *patternAllowlist) validateSysctl(sysctl string, hostNet, hostIPC bool) error {
    	sysctl = utilsysctl.NormalizeName(sysctl)
    	nsErrorFmt := "%q not allowed with host %s enabled"
    	if ns, found := w.sysctls[sysctl]; found {
    		if ns == utilsysctl.IPCNamespace && hostIPC {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 22:58:54 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. pkg/kubelet/sysctl/allowlist_test.go

    	} {
    		_, err := NewAllowlist(append(SafeSysctlAllowlist(), test.sysctls...))
    		if test.err && err == nil {
    			t.Errorf("expected an error creating a allowlist for %v", test.sysctls)
    		} else if !test.err && err != nil {
    			t.Errorf("got unexpected error creating a allowlist for %v: %v", test.sysctls, err)
    		}
    	}
    }
    
    func TestAllowlist(t *testing.T) {
    	type Test struct {
    		sysctl           string
    		hostNet, hostIPC bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 22:58:54 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. pkg/test/framework/features/allowlist.txt

    zirain <******@****.***> 1666116203 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 103.9K bytes
    - Viewed (0)
  5. pkg/test/framework/analyzer-allowlist.yaml

    Steven Landow <******@****.***> 1655333092 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 15 22:44:52 UTC 2022
    - 151 bytes
    - Viewed (0)
  6. hack/unwanted-dependencies.json

          "github.com/hashicorp/go-sockaddr": "MPL license not in CNCF allowlist",
          "github.com/hashicorp/go-uuid": "MPL license not in CNCF allowlist",
          "github.com/hashicorp/golang-lru": "MPL license not in CNCF allowlist",
          "github.com/hashicorp/hcl": "MPL license not in CNCF allowlist",
          "github.com/hashicorp/logutils": "MPL license not in CNCF allowlist",
          "github.com/hashicorp/memberlist": "MPL license not in CNCF allowlist",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 12:31:38 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc

    // The cmd line flag to specify the allowlist of functions. Rest are trimmed
    // after this pass is run.
    namespace mlir {
    namespace TFL {
    namespace {
    #define GEN_PASS_DEF_TRIMFUNCTIONSPASS
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    // The pass to trim functions before we legalize to TFL
    // dialect using the specified allowlist.
    class TrimFunctionsPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/passes.td

      let summary = "Trim functions to restrict them to a specified allowlist prior to legalization to TensorFlow lite dialect";
      let constructor = "CreateTrimFunctionsPass()";
      let options = [
          ListOption<"trim_funcs_allowlist_", "trim-funcs-allowlist", "std::string",
                     "comma separated list of allowlisted functions. The first "
                     "function specified will be used as main">
      ];
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_compile_util_test.cc

      // Flag is turned on, but no device is allowlisted.
      auto& rollout_config = GetXlaOpsCommonFlags()->tf_xla_use_device_api;
      rollout_config.enabled_for_xla_launch_ = true;
    
      EXPECT_FALSE(UsePjRtForSingleDeviceCompilation(DeviceType(DEVICE_CPU)));
    
      // Flag is turned on, some device is allowlisted, but the requested one isn't.
      rollout_config.AllowForDeviceInXlaLaunch(DeviceType(DEVICE_GPU));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 21:48:05 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          allowlist.insert(string(s));
        }
      }
    
      if (VLOG_IS_ON(2) && !allowlist.empty()) {
        std::vector<string> vallowlist(allowlist.begin(), allowlist.end());
        absl::c_sort(vallowlist);
        VLOG(2) << "XLA clustering will only consider the following TF operations: "
                << absl::StrJoin(vallowlist, " ");
      }
      return allowlist;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top