func()

in mock/platform/mock_platform_service.go [59:95]


func (_m *PlatformService) ExecInPod(namespace string, podName string, command []string) (io.Reader, io.Reader, error) {
	ret := _m.Called(namespace, podName, command)

	if len(ret) == 0 {
		panic("no return value specified for ExecInPod")
	}

	var r0 io.Reader
	var r1 io.Reader
	var r2 error
	if rf, ok := ret.Get(0).(func(string, string, []string) (io.Reader, io.Reader, error)); ok {
		return rf(namespace, podName, command)
	}
	if rf, ok := ret.Get(0).(func(string, string, []string) io.Reader); ok {
		r0 = rf(namespace, podName, command)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(io.Reader)
		}
	}

	if rf, ok := ret.Get(1).(func(string, string, []string) io.Reader); ok {
		r1 = rf(namespace, podName, command)
	} else {
		if ret.Get(1) != nil {
			r1 = ret.Get(1).(io.Reader)
		}
	}

	if rf, ok := ret.Get(2).(func(string, string, []string) error); ok {
		r2 = rf(namespace, podName, command)
	} else {
		r2 = ret.Error(2)
	}

	return r0, r1, r2
}