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

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 18 packages (graph). Updated 2020-08-10. Refresh now. Tools for package owners.