sync

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Perform

func Perform(ctx context.Context, image string, files map[string]string, cmdFn func(context.Context, v1.Pod, v1.Container, string, string) *exec.Cmd) error

Types

type Item

type Item struct {
	Image  string
	Copy   map[string]string
	Delete map[string]string
}

func NewItem

func NewItem(a *latest.Artifact, e watch.Events, builds []build.Artifact) (*Item, error)

type Syncer

type Syncer interface {
	Sync(context.Context, *Item) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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