- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for newApi (0.18 sec)
-
istioctl/pkg/metrics/metrics.go
promClient, err := api.NewClient(api.Config{Address: address}) if err != nil { return nil, fmt.Errorf("could not build prometheus client: %v", err) } return promv1.NewAPI(promClient), nil } func metrics(promAPI promv1.API, workload string, duration time.Duration) (workloadMetrics, error) { parts := strings.Split(workload, ".") wname := parts[0] wns := "" if len(parts) > 1 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 8.4K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
"github.com/klauspost/filepathx" "github.com/klauspost/reedsolomon" "github.com/minio/cli" "github.com/minio/highwayhash" "github.com/tinylib/msgp/msgp" ) func main() { app := cli.NewApp() app.Copyright = "MinIO, Inc." app.Usage = "xl.meta to JSON" app.HideVersion = true app.CustomAppHelpTemplate = `NAME: {{.Name}} - {{.Usage}} USAGE:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:56:22 GMT 2024 - 20.2K bytes - Viewed (1) -
cmd/xl-storage-free-version_test.go
t.Fatalf("Expected zero free version but got %d", len(freeVersions)) } report() // Adding a free version to a version with no tiered content. newfi := fi newfi.SetTierFreeVersionID("00000000-0000-0000-0000-0000000000f3") fatalErr(xl.AddFreeVersion(newfi)) // this shouldn't add a free-version report() // Check number of free-versions freeVersions, err = xl.listFreeVersions(newtierfi.Volume, newtierfi.Name)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 7.8K bytes - Viewed (0) -
docs/debugging/healing-bin/main.go
import ( "archive/zip" "bytes" "encoding/json" "fmt" "io" "log" "os" "strings" "github.com/minio/cli" "github.com/tinylib/msgp/msgp" ) func main() { app := cli.NewApp() app.Copyright = "MinIO, Inc." app.Usage = "healing.bin to JSON" app.HideVersion = true app.HideHelpCommand = true app.CustomAppHelpTemplate = `NAME: {{.Name}} - {{.Usage}} USAGE:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.2K bytes - Viewed (0) -
cmd/main.go
COMMANDS: {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}} {{end}}{{if .VisibleFlags}} FLAGS: {{range .VisibleFlags}}{{.}} {{end}}{{end}} VERSION: {{.Version}} ` func newApp(name string) *cli.App { // Collection of minio commands currently supported are. commands := []cli.Command{} // Collection of minio commands currently supported in a trie tree. commandsTree := trie.NewTrie()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 6.4K bytes - Viewed (0)