ran

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const ContainerName = "worker"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ConfigFlags *genericclioptions.ConfigFlags
	EnvVars     []string
	Volumes     []string
	PodFile     string
	Cpu, Memory string
	WaitTimeout string
	Verbose     bool

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(streams genericclioptions.IOStreams) *Options

func (*Options) ExecInPod

func (o *Options) ExecInPod(ctx context.Context, pod *corev1.Pod) error

func (*Options) Info added in v0.0.2

func (o *Options) Info(msg string, args ...interface{})

func (*Options) Run

func (o *Options) Run() error

func (*Options) Validate

func (o *Options) Validate(args []string) error

func (*Options) Warn added in v0.0.2

func (o *Options) Warn(msg string, args ...interface{})

Jump to

Keyboard shortcuts

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