Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MatchVersionKubeConfigFlags *cmdutil.MatchVersionFlags
Functions ¶
Types ¶
type CopyOptions ¶ added in v0.2.0
type CopyOptions struct {
Container string
Namespace string
ClientConfig *restclient.Config
Clientset kubernetes.Interface
IOStreams genericiooptions.IOStreams
// MaxArchiveBytes bounds the tar stream read from the pod and the total
// extracted content. MaxEntries bounds the number of tar entries.
// Zero values fall back to the defaults; the flags set explicit values.
MaxArchiveBytes int64
MaxEntries int64
}
CopyOptions contains the options for the audited copy command.
func (*CopyOptions) Complete ¶ added in v0.2.0
Complete sets up the options for the copy command by initializing Kubernetes clients and configuration.
func (*CopyOptions) RunWithArgs ¶ added in v0.2.0
func (o *CopyOptions) RunWithArgs(ctx context.Context, src, dest string) error
RunWithArgs parses the source and destination specifications and initiates the copy operation from the pod.
func (*CopyOptions) Validate ¶ added in v0.2.0
func (o *CopyOptions) Validate() error
Validate ensures that the required configuration for the copy command is present.
type RexecOptoins ¶
type RexecOptoins struct {
*cmdexec.ExecOptions
}
func NewRexecOptions ¶
func NewRexecOptions(e *cmdexec.ExecOptions) *RexecOptoins
Click to show internal directories.
Click to hide internal directories.