k3s

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(w io.Writer, p *project.Config) error

Build calls ntt build to regenerate or rebuild changed TTCN-3 source files.

func Run

func Run(w io.Writer, p *project.Config, testID string) (string, error)

Run a test using k3s

Types

type BuildError

type BuildError struct {
	Cmd *exec.Cmd
	Err error
}

func (*BuildError) Error

func (e *BuildError) Error() string

func (*BuildError) Unwrap

func (e *BuildError) Unwrap() error

type Runner

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

func NewRunner

func NewRunner(jobs <-chan *control.Job, w io.Writer) *Runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) <-chan control.Event

Jump to

Keyboard shortcuts

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