cp

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package cp provides the container cp command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdCp

func NewCmdCp(f *cmdutil.Factory, runF func(context.Context, *CpOptions) error) *cobra.Command

NewCmdCp creates a new cp command.

Types

type CpOptions

type CpOptions struct {
	IOStreams      *iostreams.IOStreams
	Client         func(context.Context) (*docker.Client, error)
	ProjectManager func() (project.ProjectManager, error)

	Agent      bool
	Archive    bool
	FollowLink bool
	CopyUIDGID bool

	Src string
	Dst string
}

CpOptions holds options for the cp command.

Jump to

Keyboard shortcuts

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