jx: github.com/jenkins-x/jx/pkg/cmd/sync Index | Files

package sync

import "github.com/jenkins-x/jx/pkg/cmd/sync"


Package Files


func NewCmdSync Uses

func NewCmdSync(commonOpts *opts.CommonOptions) *cobra.Command

type SyncOptions Uses

type SyncOptions struct {

    Daemon      bool
    NoKsyncInit bool
    SingleMode  bool

    Container string
    Namespace string
    Pod       string
    Dir       string
    RemoteDir string
    Reload    bool
    WatchOnly bool
    // contains filtered or unexported fields

func (*SyncOptions) CreateKsync Uses

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 Uses

func (o *SyncOptions) KsyncWatch() error

func (*SyncOptions) Run Uses

func (o *SyncOptions) Run() error

Package sync imports 17 packages (graph) and is imported by 2 packages. Updated 2019-09-22. Refresh now. Tools for package owners.