- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 198 for filemode (0.1 sec)
-
cmd/kube-scheduler/app/options/options_test.go
leaderElection: leaderElect: true`, configKubeconfig)), os.FileMode(0600)); err != nil { t.Fatal(err) } noVersionConfig := filepath.Join(tmpDir, "scheduler_invalid_no_version.yaml") if err := os.WriteFile(noVersionConfig, []byte(fmt.Sprintf(` kind: KubeSchedulerConfiguration clientConnection: kubeconfig: '%s' leaderElection: leaderElect: true`, configKubeconfig)), os.FileMode(0600)); err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 30.3K bytes - Viewed (0) -
src/main/assemblies/common-bin.xml
</includes> </fileSet> <fileSet> <filtered>true</filtered> <directory>src/main/assemblies/files</directory> <outputDirectory>fess-${project.version}/bin</outputDirectory> <fileMode>0755</fileMode> <directoryMode>0755</directoryMode> <lineEnding>unix</lineEnding> <includes> <include>fess.in.sh</include> <include>fess</include> <include>generate-thumbnail</include> </includes>
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Mar 17 02:29:43 UTC 2022 - 3.7K bytes - Viewed (0) -
cmd/kube-scheduler/app/server_test.go
name: default contexts: - context: cluster: default user: default name: default current-context: default users: - name: default user: username: config `, server.URL)), os.FileMode(0600)); err != nil { t.Fatal(err) } // plugin config pluginConfigFilev1 := filepath.Join(tmpDir, "pluginv1.yaml") if err := os.WriteFile(pluginConfigFilev1, []byte(fmt.Sprintf(`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.2K bytes - Viewed (0) -
cluster/images/etcd/migrate/integration_test.go
if err != nil { return err } os.MkdirAll(filepath.Dir(certFileName), os.FileMode(0777)) err = os.WriteFile(certFileName, certPem, os.FileMode(0777)) if err != nil { return err } os.MkdirAll(filepath.Dir(keyFileName), os.FileMode(0777)) err = os.WriteFile(keyFileName, keyPem, os.FileMode(0777)) if err != nil { return err } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 28 07:33:23 UTC 2022 - 11.4K bytes - Viewed (0) -
security/pkg/nodeagent/util/util.go
// If directory string is empty, return nil. func OutputKeyCertToDir(dir string, privateKey, certChain, rootCert []byte) error { var err error if len(dir) == 0 { return nil } certFileMode := os.FileMode(0o600) if k8sInCluster.Get() != "" { // If this is running on k8s, give more permission to the file certs. // This is typically used to share the certs with non-proxy containers in the pod which does not run as root or 1337.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 10:33:38 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/kubelet/container/testing/mockdirentry.go
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Name", reflect.TypeOf((*MockDirEntry)(nil).Name)) } // Type mocks base method. func (m *MockDirEntry) Type() fs.FileMode { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Type") ret0, _ := ret[0].(fs.FileMode) return ret0 } // Type indicates an expected call of Type. func (mr *MockDirEntryMockRecorder) Type() *gomock.Call { mr.mock.ctrl.T.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 3K bytes - Viewed (0) -
internal/lock/lock_windows.go
// see https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx errLockViolation syscall.Errno = 0x21 ) // lockedOpenFile is an internal function. func lockedOpenFile(path string, flag int, perm os.FileMode, lockType uint32) (*LockedFile, error) { f, err := Open(path, flag, perm) if err != nil { return nil, err } if err = lockFile(syscall.Handle(f.Fd()), lockType); err != nil { f.Close() return nil, err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 7.9K bytes - Viewed (0) -
cmd/os_windows.go
} func osMkdirAll(dirPath string, perm os.FileMode, _ string) error { // baseDir is not honored in windows platform return os.MkdirAll(dirPath, perm) } // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into // the directory itself, if the dirPath doesn't exist this function doesn't return // an error. func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 5.1K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
) func TestSafeMakeDir(t *testing.T) { defaultPerm := os.FileMode(0750) + os.ModeDir maxPerm := os.FileMode(0777) + os.ModeDir tests := []struct { name string // Function that prepares directory structure for the test under given // base. prepare func(base string) error path string checkPath string perm os.FileMode expectError bool }{ { "directory-does-not-exist",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
src/cmd/distpack/archive.go
} } a.Files = files } // SetMode changes the mode of every file in the archive // to be mode(name, m), where m is the file's current mode. func (a *Archive) SetMode(mode func(name string, m fs.FileMode) fs.FileMode) { for i := range a.Files { a.Files[i].Mode = mode(a.Files[i].Name, a.Files[i].Mode) } } // Remove removes files matching any of the patterns from the archive.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 17:37:52 UTC 2023 - 5.9K bytes - Viewed (0)