Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 7,522 for mode_ (0.15 sec)

  1. pkg/kubeapiserver/options/authorization.go

    	}
    
    	modes := sets.NewString(o.Modes...)
    	for _, mode := range o.Modes {
    		if !authzmodes.IsValidAuthorizationMode(mode) {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode %q is not a valid mode", mode))
    		}
    		if mode == authzmodes.ModeABAC && o.PolicyFile == "" {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode ABAC's authorization policy file not passed"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

    // Unpacks the given flatbuffer model.
    //
    // This helper is useful as UnPackTo requires the input to not have any existing
    // state so directly calling UnPackTo could lead to memory leaks if the model
    // already had some state. Instead, the returned object from here can be used to
    // overwrite existing model.
    ModelT UnPackFlatBufferModel(const Model& flatbuffer_model) {
      ModelT model;
      flatbuffer_model.UnPackTo(&model);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/options/authorization_test.go

    			modes:                []string{modes.ModeAlwaysAllow, modes.ModeAlwaysDeny, modes.ModeABAC},
    			expectErr:            true,
    			expectErrorSubString: "authorization-mode ABAC's authorization policy file not passed",
    		},
    		{
    			name:                 "Authorization Policy file cannot be used without ModeABAC",
    			modes:                []string{modes.ModeAlwaysAllow, modes.ModeAlwaysDeny},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 06:28:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    				}
    			},
    		},
    	}
    
    	proxy := &model.Proxy{
    		Type:         model.SidecarProxy,
    		Metadata:     &model.NodeMetadata{},
    		IstioVersion: &model.IstioVersion{Major: 1, Minor: 5},
    	}
    	push := model.NewPushContext()
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			cb := NewClusterBuilder(proxy, &model.PushRequest{Push: push}, model.DisabledCache{})
    			opts := &buildClusterOpts{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/conversion.go

    			istioService.Attributes.ClusterExternalAddresses = &model.AddressMap{}
    		}
    		istioService.Attributes.ClusterExternalAddresses.AddAddressesFor(clusterID, svc.Spec.ExternalIPs)
    	}
    
    	return istioService
    }
    
    func ExternalNameEndpoints(svc *model.Service) []*model.IstioEndpoint {
    	if svc.Attributes.ExternalName == "" {
    		return nil
    	}
    	out := make([]*model.IstioEndpoint, 0, len(svc.Ports))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    	cb := NewClusterBuilder(newSidecarProxy(), nil, model.DisabledCache{})
    	mc := newClusterWrapper(&cluster.Cluster{
    		Name: "test-cluster",
    	})
    	cb.setUseDownstreamProtocol(mc)
    	return mc
    }
    
    func newSidecarProxy() *model.Proxy {
    	return &model.Proxy{Type: model.SidecarProxy, Metadata: &model.NodeMetadata{}}
    }
    
    func newGatewayProxy() *model.Proxy {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. pilot/pkg/security/authn/policy_applier_test.go

    						}),
    				},
    			},
    		},
    	}
    	push := model.NewPushContext()
    	push.JwtKeyResolver = model.NewJwksResolver(
    		model.JwtPubKeyEvictionDuration, model.JwtPubKeyRefreshInterval,
    		model.JwtPubKeyRefreshIntervalOnFailure, 10*time.Millisecond)
    
    	defer push.JwtKeyResolver.Close()
    
    	push.ServiceIndex.HostnameAndNamespace[host.Name("jwt-token-issuer.mesh")] = map[string]*model.Service{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  8. pilot/pkg/xds/endpoints/mtls_checker.go

    	if tp == nil {
    		return nil
    	}
    	var mode *networkingapi.ClientTLSSettings_TLSmode
    	if tp.Tls != nil {
    		mode = &tp.Tls.Mode
    	}
    	// if there is a port-level setting matching this cluster
    	for _, portSettings := range tp.GetPortLevelSettings() {
    		if int(portSettings.GetPort().GetNumber()) == port && portSettings.Tls != nil {
    			mode = &portSettings.Tls.Mode
    			break
    		}
    	}
    	return mode
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/dependencyLocking-lockModeSelection/tests/locking-mode.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 31 bytes
    - Viewed (0)
  10. pkg/apis/core/v1/helper/helpers_test.go

    	}
    
    	modes = GetAccessModesFromString("RWO,ROX,RWX")
    	if !ContainsAccessMode(modes, v1.ReadWriteOnce) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteOnce, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadOnlyMany) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadOnlyMany, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadWriteMany) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top