Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdSync ¶
func NewCmdSync(commonOpts *opts.CommonOptions) *cobra.Command
Types ¶
type SyncOptions ¶
type SyncOptions struct { *opts.CommonOptions Daemon bool NoKsyncInit bool SingleMode bool Container string Namespace string Pod string Dir string RemoteDir string Reload bool WatchOnly bool }
func (*SyncOptions) CreateKsync ¶
func (o *SyncOptions) CreateKsync(client kubernetes.Interface, ns string, name string, dir string, remoteDir string, username string) error
CreateKsync removes the exiting ksync if it already exists then create a new ksync of the given name
func (*SyncOptions) KsyncWatch ¶
func (o *SyncOptions) KsyncWatch() error
func (*SyncOptions) Run ¶
func (o *SyncOptions) Run() error
Click to show internal directories.
Click to hide internal directories.