attach

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAttach

func RunAttach(ctx *clicontext.CLIContext, timeout time.Duration, service, podName string) error

Types

type Attach

type Attach struct {
	Pod     string `desc:"Specify pod name, default to the first pod"`
	Timeout string `desc:"Timeout waiting for the container to be created to attach to" default:"1m"`
}

func (*Attach) Run

func (a *Attach) Run(ctx *clicontext.CLIContext) error

Jump to

Keyboard shortcuts

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