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

package sync

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

Index

Package Files

sync.go

func NewCmdSync Uses

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

type SyncOptions Uses

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 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-11-17. Refresh now. Tools for package owners.