executor

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(cmd []string, options *ExecOptions) error

func ExecuteForContainer

func ExecuteForContainer(container types.ContainerJSON, cmd []string, options *ExecOptions) error

Types

type CommandAlias

type CommandAlias struct {
	Cmd   string
	Ports []int
}

type CommandAliases

type CommandAliases map[string]CommandAlias

type ExecOptions

type ExecOptions struct {
	ByPassCheck bool
	Detach      bool
	EnvVars     map[string]string
	Ports       []int
}

Jump to

Keyboard shortcuts

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