sampler

package
v0.0.0-...-0bd21fd Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRootfsPathUnder

func GetRootfsPathUnder(bundle string) string

func Run

func Run(bundle string, config v1.Image, period int, opts ...Option) error

TODO: Enable to specify volumes

Types

type Option

type Option func(*options)

func WithArgs

func WithArgs(args []string) Option

func WithEntrypoint

func WithEntrypoint(entrypoint []string) Option

func WithEnvs

func WithEnvs(envs []string) Option

func WithTerminal

func WithTerminal() Option

func WithUser

func WithUser(user string) Option

func WithWorkingDir

func WithWorkingDir(workingDir string) Option

Jump to

Keyboard shortcuts

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