Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fakehcn (0.1 sec)

  1. pkg/proxy/winkernel/proxier_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	"k8s.io/kubernetes/pkg/proxy"
    	"k8s.io/kubernetes/pkg/proxy/healthcheck"
    	fakehcn "k8s.io/kubernetes/pkg/proxy/winkernel/testing"
    	netutils "k8s.io/utils/net"
    	"k8s.io/utils/ptr"
    )
    
    const (
    	testHostName      = "test-hostname"
    	testNetwork       = "TestNetwork"
    	ipAddress         = "10.0.0.1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. security/pkg/server/ca/server_test.go

    			authenticators: nil,
    			code:           codes.Unauthenticated,
    			ca:             &mockca.FakeCA{},
    		},
    		"Unauthenticated request": {
    			authenticators: []security.Authenticator{&mockAuthenticator{
    				errMsg: "Not authorized",
    			}},
    			code: codes.Unauthenticated,
    			ca:   &mockca.FakeCA{},
    		},
    		"CA not ready": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/version_buildvcs_git.txt

    # there should be an error. It should hint about -buildvcs=false.
    # Also ensure that multiple errors are collected by "go list -e".
    cd ..
    mkdir .git
    env PATH=$WORK${/}fakebin${:}$oldpath
    chmod 0755 $WORK/fakebin/git
    ! exec git help
    cd a
    ! go install
    stderr '^error obtaining VCS status: exit status 1\n\tUse -buildvcs=false to disable VCS stamping.$'
    go list -e -f '{{.ImportPath}}: {{.Error}}' ./...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tests/fuzz/security_fuzzer.go

    	signedCert, err := f.GetBytes()
    	if err != nil {
    		return 0
    	}
    
    	auth := &authenticate.ClientCertAuthenticator{}
    	kcb := util.NewKeyCertBundleFromPem(nil, nil, certChainBytes, rootCertBytes)
    
    	mockCa := &mockca.FakeCA{
    		SignedCert:    signedCert,
    		KeyCertBundle: kcb,
    	}
    	server, err := ca.New(mockCa, 1, []security.Authenticator{auth}, nil)
    	if err != nil {
    		return 0
    	}
    	csrString, err := f.GetString()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/manager_test.go

    				ID: "dev5",
    			},
    		},
    	}
    
    	fakeAffinity, _ := bitmask.NewBitMask(2)
    	fakeHint := topologymanager.TopologyHint{
    		NUMANodeAffinity: fakeAffinity,
    		Preferred:        true,
    	}
    	testManager := ManagerImpl{
    		topologyAffinityStore: topologymanager.NewFakeManagerWithHint(&fakeHint),
    		allDevices:            allDevices,
    	}
    
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/expr.go

    			}
    			var hookArgs []ir.Node
    			for _, arg := range args {
    				hookArgs = append(hookArgs, tracecmpArg(arg, types.Types[hook.paramType], init))
    			}
    			hookArgs = append(hookArgs, fakePC(n))
    			init.Append(mkcall(hook.runtimeFunc, nil, init, hookArgs...))
    		}
    	}
    }
    
    // walkDivMod walks an ODIV or OMOD node.
    func walkDivMod(n *ir.BinaryExpr, init *ir.Nodes) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top