hijacker

package
v6.7.3-0...-1f455d7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hijacker

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

func New

func New(tlsConfig *tls.Config, requestGenerator *rata.RequestGenerator, token *rc.TargetToken) *Hijacker

func (*Hijacker) Hijack

func (h *Hijacker) Hijack(ctx context.Context, teamName, handle string, spec atc.HijackProcessSpec, pio ProcessIO) (int, bool, error)

func (*Hijacker) SetHeartbeatInterval

func (h *Hijacker) SetHeartbeatInterval(interval time.Duration)

type ProcessIO

type ProcessIO struct {
	In  chan atc.HijackInput
	Out io.Writer
	Err io.Writer
}

Jump to

Keyboard shortcuts

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