Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tweakEndpoint (0.17 sec)

  1. pkg/controller/endpointslicemirroring/utils_test.go

    		}},
    	}
    	ownerRef := metav1.NewControllerRef(&endpoints, gvk)
    
    	testCases := []struct {
    		name          string
    		tweakEndpoint func(ep *v1.Endpoints)
    		expectedSlice discovery.EndpointSlice
    	}{
    		{
    			name: "create slice from endpoints",
    			tweakEndpoint: func(ep *v1.Endpoints) {
    			},
    			expectedSlice: discovery.EndpointSlice{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
Back to top