- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for getint (0.17 sec)
-
cni/pkg/cmd/root.go
KubeconfigMode: viper.GetInt(constants.KubeconfigMode), KubeCAFile: viper.GetString(constants.KubeCAFile), SkipTLSVerify: viper.GetBool(constants.SkipTLSVerify), K8sServiceProtocol: os.Getenv("KUBERNETES_SERVICE_PROTOCOL"), K8sServiceHost: os.Getenv("KUBERNETES_SERVICE_HOST"), K8sServicePort: os.Getenv("KUBERNETES_SERVICE_PORT"),
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 21:42:29 GMT 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
"XDS Endpoint certificate directory") cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "", "Istiod pod label selector") cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"), "Istiod pod port") cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30, "The duration to wait before failing")
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
lr, _ := globalBucketObjectLockSys.Get(bucket) rcfg, _ := getReplicationConfig(ctx, bucket) pool := z.serverPools[poolIdx] const envRebalanceWorkers = "_MINIO_REBALANCE_WORKERS" workerSize, err := env.GetInt(envRebalanceWorkers, len(pool.sets)) if err != nil { rebalanceLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets))) workerSize = len(pool.sets) }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 26.5K bytes - Viewed (0) -
internal/s3select/sql/value.go
iB, okBi := b.bytesToInt() if okAi && okBi { a.setInt(iA) b.setInt(iB) return nil } fA, okAf := a.bytesToFloat() fB, okBf := b.bytesToFloat() if okAf && okBf { a.setFloat(fA) b.setFloat(fB) return nil } // Check if they int and float combination. if okAi && okBf { a.setInt(iA) b.setFloat(fA) return nil } if okBi && okAf {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Feb 25 20:31:19 GMT 2022 - 20.2K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
ldflagsStr += " -X github.com/minio/minio/cmd.GOPATH=" + os.Getenv("GOPATH") ldflagsStr += " -X github.com/minio/minio/cmd.GOROOT=" + os.Getenv("GOROOT") return ldflagsStr } // genReleaseTag prints release tag to the console for easy git tagging. func releaseTag(version string) (string, time.Time) { relPrefix := "DEVELOPMENT" if prefix := os.Getenv("MINIO_RELEASE"); prefix != "" { relPrefix = prefix }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jun 16 23:10:48 GMT 2022 - 3.3K bytes - Viewed (0) -
internal/disk/stat_netbsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := unix.Statvfs_t{} if err = unix.Statvfs(path, &s); err != nil { return Info{}, err }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.8K bytes - Viewed (0) -
internal/disk/stat_openbsd.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "errors" "fmt" "syscall" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 1.8K bytes - Viewed (0) -
internal/disk/stat_linux.go
"fmt" "io" "os" "path/filepath" "strconv" "strings" "syscall" "github.com/prometheus/procfs/blockdevice" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, firstTime bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.8K bytes - Viewed (0) -
cmd/sts-handlers_test.go
c.mustListObjects(ctx, lisaClient, "projectaorb") c.mustNotListObjects(ctx, lisaClient, "other") } func TestIAMWithOpenIDMultipleConfigsValidation1(t *testing.T) { openIDServer := os.Getenv(EnvTestOpenIDServer) openIDServer2 := os.Getenv(EnvTestOpenIDServer2) if openIDServer == "" || openIDServer2 == "" { t.Skip("Skipping OpenID test as enough OpenID servers are not provided.") } testApps := testClientApps
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 18 19:09:19 GMT 2024 - 84.7K bytes - Viewed (0) -
internal/disk/stat_linux_32bit.go
fsTypeHex := strconv.FormatInt(int64(ftype), 16) fsTypeString, ok := fsType2StringMap[fsTypeHex] if !ok { return "UNKNOWN" } return fsTypeString } // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Viewed (0)