func TestParsePodFullName(t *testing.T) { … } func TestCreateMirrorPod(t *testing.T) { … } type fakeNodeGetter … func (f *fakeNodeGetter) Get(nodeName string) (*v1.Node, error) { … }
func TestParsePodFullName(t *testing.T) { … } func TestCreateMirrorPod(t *testing.T) { … } type fakeNodeGetter … func (f *fakeNodeGetter) Get(nodeName string) (*v1.Node, error) { … }