Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 167 for hosts (0.24 sec)

  1. cmd/endpoint-ellipses.go

    	if err != nil {
    		return err
    	}
    	found := false
    	list := *el
    	for i := range list {
    		if list[i].nodeName == u.Host {
    			list[i].disks = append(list[i].disks, u.String())
    			found = true
    			break
    		}
    	}
    	if !found {
    		list = append(list, node{nodeName: u.Host, disks: []string{u.String()}})
    	}
    	*el = list
    	return nil
    }
    
    type poolArgs struct {
    	args          []string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  2. tests/postgres_test.go

    	Title      string
    	Categories []*Category `gorm:"Many2Many:post_categories"`
    }
    
    type Category struct {
    	ID    uuid.UUID `gorm:"primary_key;type:uuid;default:uuid_generate_v4();"`
    	Title string
    	Posts []*Post `gorm:"Many2Many:post_categories"`
    }
    
    func TestMany2ManyWithDefaultValueUUID(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		t.Skip()
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  3. cmd/speedtest.go

    				ignoredPaths = append(ignoredPaths, lp)
    			}
    		}
    		return tmpPaths
    	}()
    
    	scheme := "http"
    	if globalIsTLS {
    		scheme = "https"
    	}
    
    	u := &url.URL{
    		Scheme: scheme,
    		Host:   globalLocalNodeName,
    	}
    
    	perfs, err := perf.Run(ctx, paths...)
    	return madmin.DriveSpeedTestResult{
    		Endpoint: u.String(),
    		Version:  Version,
    		DrivePerf: func() (results []madmin.DrivePerf) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. internal/event/target/nsq.go

    	EnvNSQQueueLimit    = "MINIO_NOTIFY_NSQ_QUEUE_LIMIT"
    )
    
    // NSQArgs - NSQ target arguments.
    type NSQArgs struct {
    	Enable      bool      `json:"enable"`
    	NSQDAddress xnet.Host `json:"nsqdAddress"`
    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    			if target.SourceBucket == bucket &&
    				target.TargetBucket == bucket &&
    				target.Endpoint == prevEp.Host &&
    				target.Secure == (prevEp.Scheme == "https") &&
    				target.Type == madmin.ReplicationService {
    				bucketTarget := target
    				bucketTarget.Secure = ep.Scheme == "https"
    				bucketTarget.Endpoint = ep.Host
    				if peer.DefaultBandwidth.IsSet && target.BandwidthLimit == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. cmd/storage-rest_test.go

    			t.Fatalf("case %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    	}
    }
    
    func newStorageRESTHTTPServerClient(t testing.TB) *storageRESTClient {
    	// Grid with 2 hosts
    	tg, err := grid.SetupTestGrid(2)
    	if err != nil {
    		t.Fatalf("SetupTestGrid: %v", err)
    	}
    	t.Cleanup(tg.Cleanup)
    	prevHost, prevPort := globalMinioHost, globalMinioPort
    	defer func() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. internal/rest/client.go

    }
    
    // Given a string of the form "host", "host:port", or "[ipv6::address]:port",
    // return true if the string includes a port.
    func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
    
    // removeEmptyPort strips the empty port in ":port" to ""
    // as mandated by RFC 3986 Section 6.2.3.
    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. internal/logger/target/console/console.go

    		requestID = "\nRequestID: " + entry.RequestID
    	}
    
    	var remoteHost string
    	if entry.RemoteHost != "" {
    		remoteHost = "\nRemoteHost: " + entry.RemoteHost
    	}
    
    	var host string
    	if entry.Host != "" {
    		host = "\nHost: " + entry.Host
    	}
    
    	var userAgent string
    	if entry.UserAgent != "" {
    		userAgent = "\nUserAgent: " + entry.UserAgent
    	}
    
    	if len(entry.Trace.Variables) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. cni/pkg/iptables/iptables.go

    	// within all pods as we do on the host.
    	//
    	// This should be fine, as the host binaries are all we have to work with here anyway,
    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    	// If for some reason your host had both binaries, and you were injecting out-of-band
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. internal/event/target/postgresql.go

    	Enable             bool      `json:"enable"`
    	Format             string    `json:"format"`
    	ConnectionString   string    `json:"connectionString"`
    	Table              string    `json:"table"`
    	Host               xnet.Host `json:"host"`     // default: localhost
    	Port               string    `json:"port"`     // default: 5432
    	Username           string    `json:"username"` // default: user running minio
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top