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)
ProjectManager func() (project.ProjectManager, error)
HostProxy func() hostproxy.HostProxyService
Logger func() (*logger.Logger, error)
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.
Click to show internal directories.
Click to hide internal directories.