sshsb

package
v0.0.0-...-a532a67 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSSHSandbox

func NewSSHSandbox(sshParam, entrypoint string, deps deps) (ins pipservices.Sandbox, err error)

NewSSHSandbox create a SSHSandbox instance

func SSHSandboxBuilderFactory

func SSHSandboxBuilderFactory(dp app.DependencyProvider) (ins interface{}, err error)

SSHSandboxBuilderFactory create SSHSandboxBuilder

Types

type SSHSandbox

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

SSHSandbox is termal sandbox

func (*SSHSandbox) Run

func (sandbox *SSHSandbox) Run(ctx app.IOContext) (err error)

Run run code in sandbox

type SSHSandboxBuilder

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

SSHSandboxBuilder create new ssh sandbox builder

func NewSSHSandboxBuilder

func NewSSHSandboxBuilder(envUnit commservices.EnvironmentsUnit) *SSHSandboxBuilder

NewSSHSandboxBuilder create SSHSandboxBuilder

func (*SSHSandboxBuilder) Build

func (factory *SSHSandboxBuilder) Build(name string) (sandbox pipservices.Sandbox, err error)

Build return terminal sandbox

func (*SSHSandboxBuilder) Is

func (factory *SSHSandboxBuilder) Is(name string) bool

Is return true if name is match to terminal factory

Jump to

Keyboard shortcuts

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