const testKubeletHostname …
func TestNodeAddress(t *testing.T) { … }
func TestNodeAddress_NoCloudProvider(t *testing.T) { … }
func TestMachineInfo(t *testing.T) { … }
func TestVersionInfo(t *testing.T) { … }
func TestImages(t *testing.T) { … }
func TestReadyCondition(t *testing.T) { … }
func TestMemoryPressureCondition(t *testing.T) { … }
func TestPIDPressureCondition(t *testing.T) { … }
func TestDiskPressureCondition(t *testing.T) { … }
func TestVolumesInUse(t *testing.T) { … }
func TestDaemonEndpoints(t *testing.T) { … }
type testEvent …
func makeImageList(numImages, numTags, minSize, maxSize int32) []kubecontainer.Image { … }
func makeExpectedImageList(imageList []kubecontainer.Image, maxImages, maxNames int32) []v1.ContainerImage { … }
func makeImageTags(num int32) []string { … }
func makeReadyCondition(ready bool, message string, transition, heartbeat time.Time) *v1.NodeCondition { … }
func makeMemoryPressureCondition(pressure bool, transition, heartbeat time.Time) *v1.NodeCondition { … }
func makePIDPressureCondition(pressure bool, transition, heartbeat time.Time) *v1.NodeCondition { … }
func makeDiskPressureCondition(pressure bool, transition, heartbeat time.Time) *v1.NodeCondition { … }