Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOptions ¶
type CopyOptions struct {
// contains filtered or unexported fields
}
CopyOptions is options for copying files from a source to a destination
func (*CopyOptions) From ¶
func (c *CopyOptions) From(src string) *CopyOptions
From sets the copy source
func (*CopyOptions) On ¶
func (c *CopyOptions) On(pod string, container ...string) *CopyOptions
On sets the copy destination pod
func (*CopyOptions) To ¶
func (c *CopyOptions) To(dest string) *CopyOptions
To sets the copy destination path
type EchoOptions ¶
type EchoOptions struct {
// contains filtered or unexported fields
}
EchoOptions is options for echoing output to a file
func (*EchoOptions) Bytes ¶
func (o *EchoOptions) Bytes(bytes []byte) *EchoOptions
Bytes sets the bytes to echo
func (*EchoOptions) On ¶
func (o *EchoOptions) On(pod string, container ...string) *EchoOptions
On configures the copy destination pod
func (*EchoOptions) String ¶
func (o *EchoOptions) String(s string) *EchoOptions
Contents sets the contents to echo
func (*EchoOptions) To ¶
func (o *EchoOptions) To(filename string) *EchoOptions
To configures the file to which to echo
Click to show internal directories.
Click to hide internal directories.