Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeEndpointSlice (0.16 sec)

  1. pkg/controlplane/reconcilers/helpers_test.go

    	k8stesting "k8s.io/client-go/testing"
    )
    
    func makeEndpointsArray(name string, ips []string, ports []corev1.EndpointPort) []runtime.Object {
    	return []runtime.Object{
    		makeEndpoints(name, ips, ports),
    		makeEndpointSlice(name, ips, ports),
    	}
    }
    
    func makeEndpoints(name string, ips []string, ports []corev1.EndpointPort) *corev1.Endpoints {
    	endpoints := &corev1.Endpoints{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top