Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/kubelet/certificate/kubelet_test.go

    	"os"
    	"path/filepath"
    	"reflect"
    	"testing"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/util/cert"
    	netutils "k8s.io/utils/net"
    )
    
    func TestAddressesToHostnamesAndIPs(t *testing.T) {
    	tests := []struct {
    		name         string
    		addresses    []v1.NodeAddress
    		wantDNSNames []string
    		wantIPs      []net.IP
    	}{
    		{
    			name:         "empty",
    			addresses:    nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top