kubernetes/pkg/kubelet/config/file_linux_test.go

func TestExtractFromNonExistentFile(t *testing.T) {}

func TestUpdateOnNonExistentFile(t *testing.T) {}

func TestReadPodsFromFileExistAlready(t *testing.T) {}

var testCases

func TestWatchFileAdded(t *testing.T) {}

func TestWatchFileChanged(t *testing.T) {}

type testCase

func getTestCases(hostname types.NodeName) []*testCase {}

func (tc *testCase) writeToFile(dir, name string, t *testing.T) string {}

func createSymbolicLink(link, target, name string, t *testing.T) string {}

func watchFileAdded(watchDir bool, symlink bool, t *testing.T) {}

func watchFileChanged(watchDir bool, symlink bool, period time.Duration, t *testing.T) {}

func expectUpdate(t *testing.T, ch chan interface{}

func expectEmptyUpdate(t *testing.T, ch chan interface{}

func writeFile(filename string, data []byte) error {}

func changeFileName(dir, from, to string, t *testing.T) {}