box

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Box

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

type BoxOpts

type BoxOpts struct {
	*client.Client
	container.Config
	container.HostConfig
	Timeout int
}

type LogEntry

type LogEntry struct {
	Stream string `json:"stream"`
	Log    string `json:"log"`
}

type RunResult

type RunResult struct {
	IsTimedOut bool
	CPU        uint64 // cpu time nanoseconds
	MEM        uint64 // bytes
	Time       int64  // milliseconds
	Logs       []LogEntry
	StatusCode int64
	Warnings   []error
}

func Run

func Run(opts BoxOpts) (*RunResult, error)

type Stats

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

Jump to

Keyboard shortcuts

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