config

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Kubeconfig string
	Namespaces []string
	Labels     []string

	ContainerIndex int64
	Container      string
	BatchSize      int

	RunConfig  RunConfig
	LogsConfig LogsConfig
}

func NewConfigFromCliContext

func NewConfigFromCliContext(c *cli.Context) Config

type LogsConfig

type LogsConfig struct {
	Tail int64
}

type RunConfig

type RunConfig struct {
	Entrypoint []string
	Command    string
}

Jump to

Keyboard shortcuts

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