Versions in this module Expand all Collapse all v1 v1.7.1 May 9, 2023 Changes in this version + const BladeBin + const BladeReleaseURL + const DefaultInstallPath + const DefaultSSHPort + var BladeRelease = &spec.ExpFlag + var ChannelFlag = &spec.ExpFlag + var InstallPath = &spec.ExpFlag + var OverrideBladeRelease = &spec.ExpFlag + var SSHHostFlag = &spec.ExpFlag + var SSHKeyFlag = &spec.ExpFlag + var SSHKeyPassphraseFlag = &spec.ExpFlag + var SSHPortFlag = &spec.ExpFlag + var SSHUserFlag = &spec.ExpFlag + func CheckFilepathExists(ctx context.Context, cl spec.Channel, filepath string) bool + func ConvertOutputToResponse(ctx context.Context, output string, err error, defaultResponse *spec.Response) *spec.Response + func Destroy(ctx context.Context, c spec.Channel, action string) *spec.Response + func Hierarchy(root string) func() ([]cgroups.Subsystem, error) — linux/amd64 + func NewSSHExecutor() spec.Executor + func PidPath(pid int) cgroups.Path — linux/amd64 + type SSHClient struct + Host string + Key string + Password string + Port int + Username string + func (c SSHClient) RunCommand(command string) ([]byte, error) + func (c SSHClient) RunCommandWithResponse(ctx context.Context, cmd string) (*spec.Response, bool) + type SSHExecutor struct + func (*SSHExecutor) Name() string + func (e *SSHExecutor) Exec(uid string, ctx context.Context, expModel *spec.ExpModel) *spec.Response + func (e *SSHExecutor) SetChannel(channel spec.Channel)