Documentation
¶
Index ¶
Constants ¶
View Source
const SyncHelperBaseURL = "https://github.com/devspace-cloud/devspace/releases"
SyncHelperBaseURL is the base url where to look for the sync helper
View Source
const SyncHelperContainerPath = "/tmp/sync"
SyncHelperContainerPath is the path of the sync helper in the container
View Source
const SyncHelperTempFolder = "sync"
SyncHelperTempFolder is the local folder where we store the sync helper
Variables ¶
View Source
var SyncBinaryRegEx = regexp.MustCompile(`href="(\/devspace-cloud\/devspace\/releases\/download\/[^\/]*\/sync)"`)
SyncBinaryRegEx is the regexp that finds the correct download link for the sync helper binary
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
StartAttach(imageSelector []string, interrupt chan error) error
StartLogs(follow bool, tail int64) error
StartLogsWithWriter(follow bool, tail int64, writer io.Writer) error
StartPortForwarding() error
StartSyncFromCmd(localPath, containerPath string, exclude []string, verbose, downloadOnInitialSync, waitInitialSync bool) error
StartSync(verboseSync bool) error
StartTerminal(args []string, imageSelector []string, interrupt chan error, wait bool) (int, error)
}
Client implements all service functions
Click to show internal directories.
Click to hide internal directories.