Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for LOCAL (0.12 sec)

  1. tests/connpool_test.go

    	dialect := os.Getenv("GORM_DIALECT")
    	if dialect != "mysql" {
    		t.SkipNow()
    	}
    
    	dbDSN := os.Getenv("GORM_DSN")
    	if dbDSN == "" {
    		dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	}
    	nativeDB, err := sql.Open("mysql", dbDSN)
    	if err != nil {
    		t.Fatalf("Should open db success, but got %v", err)
    	}
    
    	conn := &wrapperConnPool{
    		db: nativeDB,
    		expect: []string{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Feb 06 02:54:40 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. istioctl/pkg/dashboard/dashboard.go

    				"http://%s", bindAddress, skywalkingPort, client, cmd.OutOrStdout(), browser)
    		},
    	}
    
    	return cmd
    }
    
    // portForward first tries to forward localhost:remotePort to podName:remotePort, falls back to dynamic local port
    func portForward(podName, namespace, flavor, urlFormat, localAddress string, remotePort int,
    	client kube.CLIClient, writer io.Writer, browser bool,
    ) error {
    	// port preference:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig.go

    	}
    
    	token, err := os.ReadFile(constants.ServiceAccountPath + "/token")
    	if err != nil {
    		return kubeconfig{}, err
    	}
    
    	const contextName = "istio-cni-context"
    	const clusterName = "local"
    	const userName = "istio-cni"
    	kcfg := &api.Config{
    		Kind:        "Config",
    		APIVersion:  "v1",
    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: cluster,
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. cmd/listen-notification-handlers.go

    	mergeCh := make(chan []byte, globalAPIConfig.getRequestsPoolCapacity()*len(globalEndpoints.Hostnames()))
    	localCh := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    
    	// Convert local messages to JSON and send to mergeCh
    	go func() {
    		buf := bytes.NewBuffer(grid.GetByteBuffer()[:0])
    		enc := json.NewEncoder(buf)
    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle.go

    // UnmarshalXML - decodes XML data.
    func (sp *SelectParameters) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Essentially the same as S3Select barring the xml name.
    	if start.Name.Local == selectParamsXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    	return sp.S3Select.UnmarshalXML(d, start)
    }
    
    // RestoreObjectRequest - xml to restore a transitioned object
    type RestoreObjectRequest struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

    	"istio.io/istio/pkg/config/analysis/analyzers/maturity"
    	"istio.io/istio/pkg/config/analysis/diag"
    	legacykube "istio.io/istio/pkg/config/analysis/legacy/source/kube"
    	"istio.io/istio/pkg/config/analysis/local"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/config/schema/kubetypes"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. cmd/peer-rest-client.go

    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // newPeerRestClients creates new peer clients.
    // The two slices will point to the same clients,
    // but 'all' will contain nil entry for local client.
    // The 'all' slice will be in the same order across the cluster.
    func newPeerRestClients(endpoints EndpointServerPools) (remote, all []*peerRESTClient) {
    	if !globalIsDistErasure {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. cmd/tier-journal.go

    		go t.deletePending(ctx)  // for existing journal entries from previous MinIO versions
    		go t.processEntries(ctx) // for newer journal entries circa free-versions
    		return nil
    	}
    
    	return errors.New("no local drive found")
    }
    
    // rotate rotates the journal. If a read-only journal already exists it does
    // nothing. Otherwise renames the active journal to a read-only journal and
    // opens a new active journal.
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    			return a.PoolIndex < b.PoolIndex
    		}
    		if a.SetIndex != b.SetIndex {
    			return a.SetIndex < b.SetIndex
    		}
    		return a.DiskIndex < b.DiskIndex
    	})
    }
    
    // getLocalHealingDisks returns local healing disks indexed by endpoint.
    func (ahs *allHealState) getLocalHealingDisks() map[string]madmin.HealingDisk {
    	ahs.RLock()
    	defer ahs.RUnlock()
    	dst := make(map[string]madmin.HealingDisk, len(ahs.healStatus))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  10. internal/s3select/select.go

    	// though it is no longer found in documentation. This is
    	// checked and renamed below to allow older clients to also
    	// work.
    	if start.Name.Local == legacyXMLName {
    		start.Name = xml.Name{Space: "", Local: "SelectRequest"}
    	}
    
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subS3Select S3Select
    	parsedS3Select := subS3Select{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
Back to top