Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetAPIServerProbeAddress (0.18 sec)

  1. cmd/kubeadm/app/util/staticpod/utils_test.go

    )
    
    func TestComponentResources(t *testing.T) {
    	a := ComponentResources("250m")
    	if a.Requests == nil {
    		t.Errorf(
    			"failed componentResources, return value was nil",
    		)
    	}
    }
    
    func TestGetAPIServerProbeAddress(t *testing.T) {
    	tests := []struct {
    		desc     string
    		endpoint *kubeadmapi.APIEndpoint
    		expected string
    	}{
    		{
    			desc:     "nil endpoint returns 127.0.0.1",
    			expected: "127.0.0.1",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
Back to top