client

package
v0.0.0-...-5984036 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAllSyncTunnels

func CloseAllSyncTunnels()

CloseAllSyncTunnels closes all the sync tunnels that have been created.

Types

type Client

type Client interface {
	SetTargetVersion(dev.SyncConfig, string) error
	GetMirrorSnapshot() (sync.MirrorSnapshot, error)
	Mirror(sync.SourceFile) error
	Remove(string) error
	SyncComplete() error
	Close() error
}

Client is the interface for syncing code from the local machine into a development pod in Kubernetes.

func New

func New(kubeClient kubernetes.Interface, restConfig *rest.Config, namespace,
	pod string) (Client, error)

New returns a new sync Client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL