attach

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package attach provides the container attach command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdAttach

func NewCmdAttach(f *cmdutil.Factory, runF func(context.Context, *AttachOptions) error) *cobra.Command

NewCmdAttach creates a new attach command.

Types

type AttachOptions

type AttachOptions struct {
	IOStreams *iostreams.IOStreams
	Client    func(context.Context) (*docker.Client, error)
	Config    func() *config.Config
	HostProxy func() hostproxy.HostProxyService

	Agent      bool // treat argument as agent name(resolves to clawker.<project>.<agent>)
	NoStdin    bool
	SigProxy   bool
	DetachKeys string
	// contains filtered or unexported fields
}

AttachOptions holds options for the attach command.

Jump to

Keyboard shortcuts

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