Documentation ¶
Index ¶
Constants ¶
View Source
const EndAck string = "DONE"
View Source
const ErrorAck string = "ERROR"
View Source
const IsDirectory uint64 = 040000
View Source
const IsRegularFile uint64 = 0100000
View Source
const IsSymbolicLink uint64 = 0120000
View Source
const StartAck string = "START"
Variables ¶
This section is empty.
Functions ¶
func CopyToContainer ¶
func CopyToContainer(Kubectl *kubernetes.Clientset, Pod *k8sv1.Pod, Container *k8sv1.Container, LocalPath, ContainerPath string) error
CopyToContainer copies a local folder or file to a container path
Types ¶
type FileInformation ¶
type ParsingError ¶
type ParsingError struct {
// contains filtered or unexported fields
}
func (ParsingError) Error ¶
func (p ParsingError) Error() string
type SyncConfig ¶
type SyncConfig struct { Kubectl *kubernetes.Clientset Pod *k8sv1.Pod Container *k8sv1.Container WatchPath string DestPath string ExcludeRegEx []string // contains filtered or unexported fields }
func (*SyncConfig) Logf ¶
func (s *SyncConfig) Logf(format string, args ...interface{})
func (*SyncConfig) Logln ¶
func (s *SyncConfig) Logln(line interface{})
func (*SyncConfig) Start ¶
func (s *SyncConfig) Start()
func (*SyncConfig) Stop ¶
func (s *SyncConfig) Stop()
Click to show internal directories.
Click to hide internal directories.