- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Cooper (0.28 sec)
-
cmd/xl-storage_unix_test.go
// returns file mode creation mask. func getUmask() int { mask := syscall.Umask(0) syscall.Umask(mask) return mask } // Tests if the directory and file creations happen with proper umask. func TestIsValidUmaskVol(t *testing.T) { tmpPath := t.TempDir() testCases := []struct { volName string expectedUmask int }{ {"is-this-valid", getUmask()}, } testCase := testCases[0]
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jul 25 19:37:26 GMT 2022 - 3.4K bytes - Viewed (0) -
internal/config/errors.go
`Use 'sudo setcap cap_net_bind_service=+ep /path/to/minio' to provide sufficient permissions`, ) ErrTLSReadError = newErrFn( "Cannot read the TLS certificate", "Please check if the certificate has the proper owner and read permissions", "", ) ErrTLSUnexpectedData = newErrFn( "Invalid TLS certificate", "Please check your certificate", "", ) ErrTLSNoPassword = newErrFn(
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 18 22:25:32 GMT 2024 - 9.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_windows.go
} switch windows.GetDriveType(&wvolume[0]) { case windows.DRIVE_FIXED, windows.DRIVE_REMOVABLE, windows.DRIVE_REMOTE, windows.DRIVE_RAMDISK: // Recognize "fixed", "removable", "remote" and "ramdisk" drives as proper drives // which can be treated as an actual mount-point, rest can be ignored. // https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-getdrivetypew mountPointCache.Store(path, true) return true }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
dal := make([]*admin.ListenersConfigDump_DynamicListener, 0) for _, l := range listenerDump.DynamicListeners { // If a listener was reloaded, it would contain both the active and draining state // delete the draining state for proper comparison l.DrainingState = nil if l.ActiveState != nil { dal = append(dal, l) } } // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. for i := range dal {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Nov 03 08:41:32 GMT 2022 - 2.5K bytes - Viewed (1) -
cni/pkg/plugin/cnieventclient_test.go
testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { res.WriteHeader(http.StatusInternalServerError) res.Write([]byte("server pooped itself")) })) defer func() { testServer.Close() }() cniC := fakeCNIEventClient(testServer.URL) err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 4.2K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
}, }, CurrentContext: contextName, } lcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion) if err != nil { return kubeconfig{}, err } // Convert to v1 schema which has proper encoding fullYaml, err := yaml.Marshal(lcfg) if err != nil { return kubeconfig{}, err } // Log with redaction if err := api.RedactSecrets(kcfg); err != nil { return kubeconfig{}, err }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 4.9K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
if !filepath.IsAbs(path) { return fmt.Errorf("Invalid argument, path (%s) is expected to be absolute", path) } var crossMounts mountInfos for _, mount := range mts { // Add a separator to indicate that this is a proper mount-point. // This is to avoid a situation where prefix is '/tmp/fsmount' // and mount path is /tmp/fs. In such a scenario we need to check for // `/tmp/fs/` to be a common prefix amount other mounts.
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0)