Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CorsAllowedOriginList (0.5 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options_test.go

    		expectErr   string
    	}{
    		{
    			name: "Test when MaxRequestsInFlight is negative value",
    			testOptions: &ServerRunOptions{
    				AdvertiseAddress:            netutils.ParseIPSloppy("192.168.10.10"),
    				CorsAllowedOriginList:       []string{"10.10.10.100", "10.10.10.200"},
    				MaxRequestsInFlight:         -400,
    				MaxMutatingRequestsInFlight: 200,
    				RequestTimeout:              time.Duration(2) * time.Minute,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		ShutdownSendRetryAfter:              false,
    	}
    }
    
    // ApplyTo applies the run options to the method receiver and returns self
    func (s *ServerRunOptions) ApplyTo(c *server.Config) error {
    	c.CorsAllowedOriginList = s.CorsAllowedOriginList
    	c.HSTSDirectives = s.HSTSDirectives
    	c.ExternalAddress = s.ExternalHost
    	c.MaxRequestsInFlight = s.MaxRequestsInFlight
    	c.MaxMutatingRequestsInFlight = s.MaxMutatingRequestsInFlight
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/options/options_test.go

    	expected := &Options{
    		GenericServerRunOptions: &apiserveroptions.ServerRunOptions{
    			AdvertiseAddress:            netutils.ParseIPSloppy("192.168.10.10"),
    			CorsAllowedOriginList:       []string{"10.10.10.100", "10.10.10.200"},
    			MaxRequestsInFlight:         400,
    			MaxMutatingRequestsInFlight: 200,
    			RequestTimeout:              time.Duration(2) * time.Minute,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/options/options_test.go

    	expected := &ServerRunOptions{
    		Options: &controlplaneapiserver.Options{
    			GenericServerRunOptions: &apiserveroptions.ServerRunOptions{
    				AdvertiseAddress:            netutils.ParseIPSloppy("192.168.10.10"),
    				CorsAllowedOriginList:       []string{"10.10.10.100", "10.10.10.200"},
    				MaxRequestsInFlight:         400,
    				MaxMutatingRequestsInFlight: 200,
    				RequestTimeout:              time.Duration(2) * time.Minute,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    	RuleResolver authorizer.RuleResolver
    	// AdmissionControl performs deep inspection of a given request (including content)
    	// to set values and determine whether its allowed
    	AdmissionControl      admission.Interface
    	CorsAllowedOriginList []string
    	HSTSDirectives        []string
    	// FlowControl, if not nil, gives priority and fairness to request handling
    	FlowControl utilflowcontrol.Interface
    
    	EnableIndex     bool
    	EnableProfiling bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top