util

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(ctx context.Context, client *docker.Client, config dockertypes.ContainerCreateConfig) ([]byte, error)

RunCommand starts a container, runs a command, returns stdout as bytes and stderr as an error

func ThisContainer

func ThisContainer(ctx context.Context, client *docker.Client) (*dockertypes.Container, error)

find a running container with image containing "support-bundle"

Types

This section is empty.

Jump to

Keyboard shortcuts

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