services

package
v1.1.1-0...-9418116 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

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

func NewClient

func NewClient(config *latest.Config, generated *generated.Config, kubeClient kubectl.Client, selectorParameter *targetselector.SelectorParameter, log log.Logger) Client

NewClient creates a new client object

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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