Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 309 for xpath (0.14 sec)

  1. operator/cmd/mesh/profile-dump.go

    	if err != nil {
    		return err
    	}
    	y, err = tpath.GetConfigSubtree(y, "spec")
    	if err != nil {
    		return err
    	}
    
    	if pdArgs.configPath == "" {
    		if y, err = prependHeader(y); err != nil {
    			return err
    		}
    	} else {
    		if y, err = tpath.GetConfigSubtree(y, pdArgs.configPath); err != nil {
    			return err
    		}
    	}
    
    	var output string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	// Check if new heal sequence to be started overlaps with any
    	// existing, running sequence
    	hpath := pathJoin(h.bucket, h.object)
    	for k, hSeq := range ahs.healSeqMap {
    		if !hSeq.hasEnded() && (HasPrefix(k, hpath) || HasPrefix(hpath, k)) {
    			errMsg = "The provided heal sequence path overlaps with an existing " +
    				fmt.Sprintf("heal path: %s", k)
    			return nil, errorCodes.ToAPIErr(ErrHealOverlappingPaths), errMsg
    		}
    	}
    
    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)
  3. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/idp-config/{type}").HandlerFunc(adminMiddleware(adminAPI.ListIdentityProviderCfg))
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/idp-config/{type}/{name}").HandlerFunc(adminMiddleware(adminAPI.GetIdentityProviderCfg))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. cmd/api-router.go

    				Queries(r.queries...)
    			t.Path(r.path)
    		}
    
    		// Object operations
    		// HeadObject
    		router.Methods(http.MethodHead).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.HeadObjectHandler))
    
    		// GetObjectAttributes
    		router.Methods(http.MethodGet).Path("/{object:.+}").
    			HandlerFunc(s3APIMiddleware(api.GetObjectAttributesHandler, traceHdrsS3HFlag)).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  5. cmd/namespace-lock.go

    	lockMap       map[string]*nsLock
    	lockMapMutex  sync.Mutex
    }
    
    // Lock the namespace resource.
    func (n *nsLockMap) lock(ctx context.Context, volume string, path string, lockSource, opsID string, readLock bool, timeout time.Duration) (locked bool) {
    	resource := pathJoin(volume, path)
    
    	n.lockMapMutex.Lock()
    	nsLk, found := n.lockMap[resource]
    	if !found {
    		nsLk = &nsLock{
    			LRWMutex: lsync.NewLRWMutex(),
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  6. cmd/metrics-v3-handler.go

    // returned for the requested path.
    //
    // FIXME: It currently only lists `minio_` prefixed metrics.
    func (h *metricsV3Server) listMetrics(path string) http.Handler {
    	// First collect all matching MetricsGroup's
    	matchingMG := make(map[collectorPath]*MetricsGroup)
    	for _, collPath := range h.metricsData.collectorPaths {
    		if collPath.isDescendantOf(path) {
    			if v, ok := h.metricsData.mgMap[collPath]; ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  7. internal/event/target/nats_tls_contrib_test.go

    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    		ClientCert:    path.Join("testdata", "contrib", "certs", "nats_client_cert.pem"),
    		ClientKey:     path.Join("testdata", "contrib", "certs", "nats_client_key.pem"),
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  8. lib/time/mkzip.go

    	seen := make(map[string]bool)
    	err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error {
    		if d.IsDir() {
    			return nil
    		}
    		data, err := os.ReadFile(path)
    		if err != nil {
    			log.Fatal(err)
    		}
    		if strings.HasSuffix(path, ".zip") {
    			log.Fatalf("unexpected file during walk: %s", path)
    		}
    		name := filepath.ToSlash(path)
    		w, err := zw.CreateRaw(&zip.FileHeader{
    			Name:               name,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  9. cmd/iam-etcd-store.go

    func (ies *IAMEtcdStore) loadIAMConfig(ctx context.Context, item interface{}, path string) error {
    	data, err := readKeyEtcd(ctx, ies.client, path)
    	if err != nil {
    		return err
    	}
    	return getIAMConfig(item, data, path)
    }
    
    func (ies *IAMEtcdStore) loadIAMConfigBytes(ctx context.Context, path string) ([]byte, error) {
    	data, err := readKeyEtcd(ctx, ies.client, path)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-dump_test.go

    	tests := []struct {
    		desc       string
    		configPath string
    	}{
    		{
    			desc: "all_off",
    		},
    		{
    			desc:       "config_path",
    			configPath: "components",
    		},
    		{
    			desc:       "list_path",
    			configPath: "values.gateways.istio-egressgateway.secretVolumes",
    		},
    	}
    	installPackagePathRegex := regexp.MustCompile("  installPackagePath: .*")
    	for _, tt := range tests {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top