Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 187 for desc3 (0.04 sec)

  1. istioctl/pkg/writer/envoy/configdump/listener_test.go

    	tests := []struct {
    		desc       string
    		inFilter   *ListenerFilter
    		inListener *listener.Listener
    		expect     bool
    	}{
    		{
    			desc: "filter-fields-empty",
    			inFilter: &ListenerFilter{
    				Address: "",
    				Port:    0,
    				Type:    "",
    			},
    			inListener: &listener.Listener{},
    			expect:     true,
    		},
    		{
    			desc: "addrs-dont-match",
    			inFilter: &ListenerFilter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/security_context_windows_test.go

    	runAsNonRootFalse := false
    	uid := int64(0)
    	for _, test := range []struct {
    		desc     string
    		sc       *v1.SecurityContext
    		uid      *int64
    		username string
    		fail     bool
    	}{
    		{
    			desc:     "Pass if SecurityContext is not set",
    			sc:       nil,
    			username: rootUser,
    			fail:     false,
    		},
    		{
    			desc: "Pass if RunAsNonRoot is not set",
    			sc: &v1.SecurityContext{
    				RunAsNonRoot: nil,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 02:29:11 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate_values_test.go

    }
    
    func TestValidateValues(t *testing.T) {
    	tests := []struct {
    		desc     string
    		yamlStr  string
    		wantErrs util.Errors
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc: "StarIPRange",
    			yamlStr: `
    global:
      proxy:
        includeIPRanges: "*"
        excludeIPRanges: "*"
    `,
    		},
    		{
    			desc: "ProxyConfig",
    			yamlStr: `
    global:
      podDNSSearchNamespaces:
      - "my-namespace"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/ApiMemberSelector.java

        @Override
        public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
            AnnotationMember ann = new AnnotationMember(desc, visible);
            classMember.addAnnotation(ann);
            return new SortingAnnotationVisitor(ann, super.visitAnnotation(desc, visible));
        }
    
        @Override
        public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. pkg/apis/discovery/v1beta1/conversion_test.go

    )
    
    func TestEndpointZoneConverstion(t *testing.T) {
    	testcases := []struct {
    		desc     string
    		external v1beta1.Endpoint
    		internal discovery.Endpoint
    	}{
    		{
    			desc:     "no topology field",
    			external: v1beta1.Endpoint{},
    			internal: discovery.Endpoint{},
    		},
    		{
    			desc: "non empty topology map, but no zone",
    			external: v1beta1.Endpoint{
    				Topology: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. cluster/images/etcd/migrate/options_test.go

    func TestFallbackToEnv(t *testing.T) {
    	testCases := []struct {
    		desc          string
    		env           string
    		value         string
    		valueSet      bool
    		expectedValue string
    		expectedError bool
    	}{
    		{
    			desc:          "value unset",
    			env:           "FOO",
    			valueSet:      false,
    			expectedValue: "",
    			expectedError: true,
    		},
    		{
    			desc:          "value set empty",
    			env:           "FOO",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:55:49 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/bootstrap/option/convert_test.go

    	"istio.io/istio/pkg/model"
    )
    
    // nolint: lll
    func TestTlsContextConvert(t *testing.T) {
    	tests := []struct {
    		desc         string
    		tls          *networkingAPI.ClientTLSSettings
    		sni          string
    		meta         *model.BootstrapNodeMetadata
    		expectTLSCtx string
    	}{
    		{
    			desc:         "no-tls",
    			tls:          &networkingAPI.ClientTLSSettings{},
    			sni:          "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. operator/pkg/tpath/struct_test.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestGetFromStructPath(t *testing.T) {
    	tests := []struct {
    		desc      string
    		nodeYAML  string
    		path      string
    		wantYAML  string
    		wantFound bool
    		wantErr   string
    	}{
    		{
    			desc: "GetStructItem",
    			nodeYAML: `
    a: va
    b: vb
    c:
      d: vd
      e:
        f: vf
    g:
      h:
      - i: vi
        j: vj
        k:
          l:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. cluster/gce/gci/append_or_replace_prefixed_line_test.go

    func TestAppendOrReplacePrefix(t *testing.T) {
    	testCases := []struct {
    		desc                string
    		prefix              string
    		suffix              string
    		initialFileContents string
    		want                string
    	}{
    		{
    			desc:   "simple string and empty file",
    			prefix: "hello",
    			suffix: "world",
    			want: `helloworld
    `,
    		},
    		{
    			desc:   "simple string and non empty file",
    			prefix: "hello",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 4K bytes
    - Viewed (0)
  10. pkg/controller/nodeipam/ipam/sync/sync_test.go

    	t.Parallel()
    
    	for _, tc := range []struct {
    		desc string
    		mode NodeSyncMode
    		node *v1.Node
    		fake fakeAPIs
    	}{
    		{
    			desc: "delete",
    			mode: SyncFromCluster,
    			node: nodeWithCIDRRange,
    		},
    		{
    			desc: "delete without CIDR range",
    			mode: SyncFromCluster,
    			node: nodeWithoutCIDRRange,
    		},
    		{
    			desc: "delete with invalid CIDR range",
    			mode: SyncFromCluster,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top