kubernetes/pkg/kubelet/nodestatus/setters_test.go

const testKubeletHostname

// TODO(mtaufen): below is ported from the old kubelet_node_status_test.go code, potentially add more test coverage for NodeAddress setter in future
func TestNodeAddress(t *testing.T) {}

// We can't test failure or autodetection cases here because the relevant code isn't mockable
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

// makeImageList randomly generates a list of images with the given count
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 {}