func Check(options *options.DaemonOptions) (err error) {
	log.Info().Msgf("system info %s-%s", runtime.GOOS, runtime.GOARCH)

	err = runCommandWithMsg(
		ssh.Version(),
		"checking ssh version", "ssh is missing, please make sure command ssh is work right at your local first", 
	)

	if err != nil {
		return
	}

	err =  runCommandWithMsg(
		kubectl.Version(options.KubeConfig),
		"checking kubectl version", "kubectl is missing, please make sure kubectl is working right at your local first", 
	)

	if err != nil {
		return
	}

	err = runCommandWithMsg(
		sshuttle.Version(),
		"checking sshuttle version", "sshuttle is missing, you can only use 'ktctl connect --method socks5' with Socks5 proxy mode",
	)

	if err != nil {
		return
	}

	log.Info().Msg("KT Connect is ready, enjoy it!")
	return nil
}
// Check check local denpendency for kt connect
Check check local denpendency for kt connect
// Check check local denpendency for kt connect
func Check(options *options.DaemonOptions) (err error) {
	log.Info().Msgf("system info %s-%s", runtime.GOOS, runtime.GOARCH)
	err = runCommandWithMsg(
		ssh.Version(),
		"checking ssh version", "ssh is missing, please make sure command ssh is work right at your local first", 
	)
	if err != nil {
		return
	}
	err =  runCommandWithMsg(
		kubectl.Version(options.KubeConfig),
		"checking kubectl version", "kubectl is missing, please make sure kubectl is working right at your local first", 
	)
	if err != nil {
		return
	}
	err = runCommandWithMsg(
		sshuttle.Version(),
		"checking sshuttle version", "sshuttle is missing, you can only use 'ktctl connect --method socks5' with Socks5 proxy mode",
	)
	if err != nil {
		return
	}
	log.Info().Msg("KT Connect is ready, enjoy it!")
	return nil
}
func Check ( options * options . DaemonOptions ) ( err error ) { log . Info ( ) . Msgf ( " " , runtime . GOOS , runtime . GOARCH ) err = runCommandWithMsg ( ssh . Version ( ) , " " , " " , ) if err != nil { return } err = runCommandWithMsg ( kubectl . Version ( options . KubeConfig ) , " " , " " , ) if err != nil { return } err = runCommandWithMsg ( sshuttle . Version ( ) , " " , " " , ) if err != nil { return } log . Info ( ) . Msg ( " " ) return nil }
Check check local denpendency for kt connect
Check check local denpendency for kt connect