executor

package
v1.0.20250928075430 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHExecutor

type SSHExecutor struct {
	// contains filtered or unexported fields
}

SSHExecutor SSH远程执行器

func NewSSHExecutor

func NewSSHExecutor(logger *zap.Logger, treeLocalDAO dao.TreeLocalDAO) *SSHExecutor

NewSSHExecutor 创建SSH执行器

func (*SSHExecutor) ExecuteSSHJob

func (e *SSHExecutor) ExecuteSSHJob(ctx context.Context, job *model.CronJob) (string, error)

ExecuteSSHJob 执行SSH任务

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL