- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for ParseHost (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/generic-handlers.go
_, redirect := redirectPrefixes[path.Clean(bucket)] if redirect || resource == slashSeparator { if globalBrowserRedirectURL != nil { return globalBrowserRedirectURL } xhost, err := xnet.ParseHost(r.Host) if err != nil { return nil } return &xnet.URL{ Host: net.JoinHostPort(xhost.Name, globalMinioConsolePort), Scheme: func() string { scheme := "http" if r.TLS != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.7K bytes - Click Count (1) -
internal/config/notify/parse.go
if len(kafkaBrokers) == 0 { return nil, config.Errorf("kafka 'brokers' cannot be empty") } for s := range strings.SplitSeq(kafkaBrokers, config.ValueSeparator) { var host *xnet.Host host, err = xnet.ParseHost(s) if err != nil { break } brokers = append(brokers, *host) } if err != nil { return nil, err } queueLimitEnv := target.EnvKafkaQueueLimit
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 47.5K bytes - Click Count (0) -
cmd/endpoint.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.5K bytes - Click Count (0) -
internal/logger/target/kafka/kafka.go
} func (h *Target) validate() error { if len(h.kconfig.Brokers) == 0 { return errors.New("no broker address found") } for _, b := range h.kconfig.Brokers { if _, err := xnet.ParseHost(b.String()); err != nil { return err } } return nil } // Name returns the name of the target func (h *Target) Name() string { return "minio-kafka-audit" }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/handler-utils.go
func getResource(path string, host string, domains []string) (string, error) { if len(domains) == 0 { return path, nil } // If virtual-host-style is enabled construct the "resource" properly. xhost, err := xnet.ParseHost(host) if err != nil { return "", err } for _, domain := range domains { if xhost.Name == minioReservedBucket+"."+domain { continue } if !strings.HasSuffix(xhost.Name, "."+domain) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
cmd/notification.go
} } return nil }, i, *client.host) } ng.Wait() if ctx.Err() != nil { return false } // Local host thisAddr, err := xnet.ParseHost(globalLocalNodeName) if err != nil { bugLogIf(ctx, err) return profilingDataFound } data, err := getProfileData() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 46K bytes - Click Count (0)