- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for Bind (0.07 sec)
-
pkg/flag/flag_test.go
A, B, C string Env string Bool bool } opts := Options{ B: "b-def", } test.SetEnvForTest(t, "TEST_ENV", "from-env") fs := pflag.NewFlagSet("test", pflag.ContinueOnError) Bind(fs, "a", "", "desc", &opts.A) Bind(fs, "bool", "", "desc", &opts.Bool) BindEnv(fs, "test-env", "", "desc", &opts.Env) fs.Set("a", "a-set") fs.Set("bool", "true") assert.Equal(t, opts, Options{ A: "a-set", B: "b-def",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 1.2K bytes - Viewed (0) -
pkg/volume/fc/disk_manager.go
return err } // Perform a bind mount to the full path to allow duplicate mounts of the same disk. options := []string{"bind"} if b.readOnly { options = append(options, "ro") } mountOptions := util.JoinMountOptions(options, b.mountOptions) err = mounter.MountSensitiveWithoutSystemd(globalPDPath, volPath, "", mountOptions, nil) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3K bytes - Viewed (0) -
pkg/scheduler/testing/framework/framework_helpers.go
return RegisterPluginAsExtensions(pluginName, pluginNewFunc, "PreScore") } // RegisterBindPlugin returns a function to register a Bind Plugin to a given registry. func RegisterBindPlugin(pluginName string, pluginNewFunc runtime.PluginFactory) RegisterPluginFunc { return RegisterPluginAsExtensions(pluginName, pluginNewFunc, "Bind") } // RegisterPluginAsExtensions returns a function to register a Plugin as given extensionPoints to a given registry.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 6.3K bytes - Viewed (0) -
internal/http/check_port_test.go
port := l.Addr().(*net.TCPAddr).Port testCases := []struct { host string port int expectedErr error }{ {"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)}, {"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)}, } for _, testCase := range testCases { err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{}) switch {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/volume/iscsi/disk_manager.go
} if !notMnt { return nil } if err := os.MkdirAll(volPath, 0750); err != nil { klog.Errorf("failed to mkdir:%s", volPath) return err } // Perform a bind mount to the full path to allow duplicate mounts of the same disk. options := []string{"bind"} if b.readOnly { options = append(options, "ro") } if b.iscsiDisk.InitiatorName != "" { // new iface name is <target portal>:<volume name>
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/scheduler/apis/config/types.go
// PreBind is a list of plugins that should be invoked before a pod is bound. PreBind PluginSet // Bind is a list of plugins that should be invoked at "Bind" extension point of the scheduling framework. // The scheduler call these plugins in order. Scheduler skips the rest of these plugins as soon as one returns success. Bind PluginSet // PostBind is a list of plugins that should be invoked after a pod is successfully bound.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 18:47:23 UTC 2024 - 14.8K bytes - Viewed (0) -
cmd/kubeadm/test/cmd/init_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:03:09 UTC 2023 - 6.4K bytes - Viewed (0) -
releasenotes/notes/40268.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management issue: - https://github.com/istio/istio/issues/40268 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 08 19:15:19 UTC 2022 - 272 bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
} // BindPlugin is an interface that must be implemented by "Bind" plugins. Bind // plugins are used to bind a pod to a Node. type BindPlugin interface { Plugin // Bind plugins will not be called until all pre-bind plugins have completed. Each // bind plugin is called in the configured order. A bind plugin may choose whether // or not to handle the given Pod. If a bind plugin chooses to handle a Pod, the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil_linux.go
klog.V(4).Infof("Directory %s is already on a shared mount", path) return nil } klog.V(2).Infof("Bind-mounting %q with shared mount propagation", path) // mount --bind /var/lib/kubelet /var/lib/kubelet if err := syscall.Mount(path, path, "" /*fstype*/, syscall.MS_BIND, "" /*data*/); err != nil { return fmt.Errorf("failed to bind-mount %s: %v", path, err) } // mount --make-rshared /var/lib/kubelet
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 23 08:36:44 UTC 2023 - 10K bytes - Viewed (0)