Versions in this module Expand all Collapse all v1 v1.0.2 Mar 13, 2024 v1.0.1 Mar 13, 2024 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)