Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for withFts (0.23 sec)

  1. pkg/scheduler/framework/runtime/registry.go

    // them when the caller expects the older PluginFactory method.
    func FactoryAdapter(fts plfeature.Features, withFts PluginFactoryWithFts) PluginFactory {
    	return func(ctx context.Context, plArgs runtime.Object, fh framework.Handle) (framework.Plugin, error) {
    		return withFts(ctx, plArgs, fh, fts)
    	}
    }
    
    // DecodeInto decodes configuration whose type is *runtime.Unknown to the interface into.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/hsts.go

    limitations under the License.
    */
    
    package filters
    
    import (
    	"net/http"
    	"strings"
    )
    
    // WithHSTS is a simple HSTS implementation that wraps an http Handler.
    // If hstsDirectives is empty or nil, no HSTS support is installed.
    func WithHSTS(handler http.Handler, hstsDirectives []string) http.Handler {
    	if len(hstsDirectives) == 0 {
    		return handler
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 12 08:42:53 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/retry/retry_test.go

    	testCases := []struct {
    		name       string
    		route      *networking.HTTPRoute
    		assertFunc func(g *WithT, policy *envoyroute.RetryPolicy)
    	}{
    		{
    			name: "TestNilRetryShouldReturnDefault",
    			// Create a route where no retry policy has been explicitly set.
    			route: &networking.HTTPRoute{},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(Not(BeNil()))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/lib/dashboard.libsonnet

    {
      new(name):
        g.dashboard.new(name)
        + g.dashboard.graphTooltip.withSharedCrosshair()
        + g.dashboard.withRefresh('15s')
        + g.dashboard.time.withFrom('now-30m')
        + g.dashboard.time.withTo('now')
        + g.dashboard.withVariables([variables.datasource]),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 354 bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/jvm/component/internal/JvmSoftwareComponentInternal.java

     * we do not want to extend that interface here, as it is slated for removal.
     */
    public interface JvmSoftwareComponentInternal extends SoftwareComponent {
    
        // TODO: These with* names are not ideally named. Traditionally, "withers" create a new
        // instance with the value changed, but these mutate the component. However, other names
        // like like "enableJavadocJar" or "addJavadocJar" are also not great since their names
        // are not declarative.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 21:17:58 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/net/http/transport_internal_test.go

    		c, err := ln.Accept()
    		if err != nil {
    			t.Error(err)
    			return
    		}
    		connc <- c
    	}()
    
    	tr := new(Transport)
    	req, _ := NewRequest("GET", "http://"+ln.Addr().String(), nil)
    	req = req.WithT(t)
    	ctx, cancel := context.WithCancelCause(context.Background())
    	treq := &transportRequest{Request: req, ctx: ctx, cancel: cancel}
    	cm := connectMethod{targetScheme: "http", targetAddr: ln.Addr().String()}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:57:17 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/net/http/export_test.go

    	states := map[ConnState]int{}
    	s.mu.Lock()
    	defer s.mu.Unlock()
    	for c := range s.activeConn {
    		st, _ := c.getState()
    		states[st] += 1
    	}
    	return states
    }
    
    func (r *Request) WithT(t *testing.T) *Request {
    	return r.WithContext(context.WithValue(r.Context(), tLogKey{}, t.Logf))
    }
    
    func ExportSetH2GoawayTimeout(d time.Duration) (restore func()) {
    	old := http2goAwayTimeout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top