Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 209 for index (0.07 sec)

  1. pkg/collateral/control.go

    		g.emit("</code></pre>")
    
    		if len(cmd.Aliases) > 0 {
    			// first word in cmd.Use represents the command that is being aliased
    			word := cmd.Use
    			index := strings.Index(word, " ")
    			if index > 0 {
    				word = word[0:index]
    			}
    
    			g.emit("<div class=\"aliases\">")
    			line := cmd.UseLine()
    			for i, alias := range cmd.Aliases {
    				r := strings.Replace(line, word, alias, 1)
    				if i == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 03:51:36 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  2. samples/bookinfo/src/productpage/productpage.py

    
    # The UI:
    @app.route('/')
    @app.route('/index.html')
    def index():
        """ Display productpage with normal user and test user buttons"""
        global productpage
    
        table = json2html.convert(json=json.dumps(productpage),
                                  table_attributes="class=\"table table-condensed table-bordered table-hover\"")
    
        return render_template('index.html', serviceTable=table)
    
    
    @app.route('/health')
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. pkg/config/model.go

    	Annotations map[string]string `json:"annotations,omitempty"`
    
    	// ResourceVersion is an opaque identifier for tracking updates to the config registry.
    	// The implementation may use a change index or a commit log for the revision.
    	// The config client should not make any assumptions about revisions and rely only on
    	// exact equality to implement optimistic concurrency of read-write operations.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/apps/v1beta1/generated.proto

    // StatefulSetOrdinals describes the policy used for replica ordinal assignment
    // in this StatefulSet.
    message StatefulSetOrdinals {
      // start is the number representing the first replica's index. It may be used
      // to number replicas from an alternate index (eg: 1-indexed) over the default
      // 0-indexed names, or to orchestrate progressive movement of replicas from
      // one StatefulSet to another.
      // If set, replica indices will be in the range:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. pkg/ctrlz/ctrlz.go

    		router.HandleFunc("/debug/pprof/profile", pprof.Profile)
    		router.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
    		router.HandleFunc("/debug/pprof/trace", pprof.Trace)
    		router.PathPrefix("/debug/pprof/").HandlerFunc(pprof.Index)
    	}
    	registerHome(router, mainLayout)
    
    	addr := o.Address
    	if addr == "*" {
    		addr = ""
    	}
    
    	// Canonicalize the address and resolve a dynamic port if necessary
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. pkg/test/echo/server/forwarder/config.go

    		c.proxyProtocolVersion = 2
    	default:
    		c.proxyProtocolVersion = 0
    	}
    
    	return nil
    }
    
    func splitPath(raw string) (url, path string) {
    	schemeSep := "://"
    	schemeBegin := strings.Index(raw, schemeSep)
    	if schemeBegin == -1 {
    		return raw, ""
    	}
    	schemeEnd := schemeBegin + len(schemeSep)
    	pathBegin := strings.IndexByte(raw[schemeEnd:], '/')
    	if pathBegin == -1 {
    		return raw, ""
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. pilot/pkg/security/authz/builder/extauthz.go

    	for i, config := range push.Mesh.ExtensionProviders {
    		var errs error
    		if config.Name == "" {
    			errs = multierror.Append(errs, fmt.Errorf("extension provider name must not be empty, found empty at index: %d", i))
    		} else if _, found := resolved[config.Name]; found {
    			errs = multierror.Append(errs, fmt.Errorf("extension provider name must be unique, found duplicate: %s", config.Name))
    		}
    		var parsed *builtExtAuthz
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. pilot/pkg/model/sidecar.go

    	return l != nil && l.Port.GetNumber() != 0 &&
    		protocol.Parse(l.Port.Protocol) != protocol.HTTP_PROXY
    }
    
    type sidecarServiceIndex struct {
    	svc   *Service
    	index int // index record the position of the svc in slice
    }
    
    // append services to the sidecar scope, and merge services with the same hostname.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			wl := slices.Map(res, func(e model.WorkloadInfo) *workloadapi.Workload {
    				return e.Workload
    			})
    			assert.Equal(t, wl, tt.result)
    		})
    	}
    }
    
    func newAmbientUnitTest() *index {
    	return &index{
    		networkUpdateTrigger: krt.NewRecomputeTrigger(),
    		ClusterID:            testC,
    		Network: func(endpointIP string, labels labels.Instance) network.ID {
    			return testNW
    		},
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/pod.go

    		return -1, nil
    	}
    	return GetPodConditionFromList(status.Conditions, conditionType)
    }
    
    // GetPodConditionFromList extracts the provided condition from the given list of condition and
    // returns the index of the condition and the condition. Returns -1 and nil if the condition is not present.
    func GetPodConditionFromList(conditions []v1.PodCondition, conditionType v1.PodConditionType) (int, *v1.PodCondition) {
    	if conditions == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top