Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 233 for desc2 (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. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        visitMethodInsn_(Opcodes.INVOKEINTERFACE, owner, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.INVOKESTATIC(owner: InternalName, name: String, desc: String) {
        visitMethodInsn_(Opcodes.INVOKESTATIC, owner, name, desc, false)
    }
    
    
    private
    fun MethodVisitor.visitMethodInsn_(opcode: Int, owner: InternalName, name: String, desc: String, itf: Boolean) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/security/trustdomain/util_test.go

    	tests := []struct {
    		desc     string
    		element  string
    		list     []string
    		expected bool
    	}{
    		{
    			desc:     "wildcard",
    			element:  "*",
    			list:     []string{"match-me"},
    			expected: true,
    		},
    		{
    			desc:     "suffix=match",
    			element:  "yo*",
    			list:     []string{"yo", "yolo", "yo-yo"},
    			expected: true,
    		},
    		{
    			desc:     "no-sub",
    			element:  "foo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 11 04:25:06 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate_test.go

    	}
    )
    
    func TestTruncatingEvents(t *testing.T) {
    	testCases := []struct {
    		desc          string
    		event         *auditinternal.Event
    		wantDropped   bool
    		wantTruncated bool
    	}{
    		{
    			desc:  "Empty event should not be truncated",
    			event: &auditinternal.Event{},
    		},
    		{
    			desc: "Event with too large body should be truncated",
    			event: &auditinternal.Event{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 30 07:56:39 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  7. cluster/gce/gci/apiserver_etcd_test.go

    }
    
    func TestServerOverride(t *testing.T) {
    	testCases := []struct {
    		desc string
    		env  kubeAPIServeETCDEnv
    		want []string
    	}{
    		{
    			desc: "ETCD-SERVERS is not set - default override",
    			want: []string{
    				"--etcd-servers-overrides=/events#http://127.0.0.1:4002",
    			},
    		},
    		{
    			desc: "ETCD-SERVERS and ETCD_SERVERS_OVERRIDES are set",
    			env: kubeAPIServeETCDEnv{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 18 11:14:24 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top