liveupdate

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AnnotationUpdateMode = "tilt.dev/update-mode"
View Source
const UpdateModeAuto = "auto"
View Source
const UpdateModeManual = "manual"

Variables

This section is empty.

Functions

func FallBackOnFiles

func FallBackOnFiles(spec v1alpha1.LiveUpdateSpec) model.PathSet

FallBackOnFiles returns a PathSet of files which, if any have changed, indicate that we should fall back to an image build.

func GetName added in v0.22.14

func GetName(mn model.ManifestName, id model.TargetID) string

Generate the name for the LiveUpdate API object from an ImageTarget and ManifestName.

func IsEmptySpec

func IsEmptySpec(spec v1alpha1.LiveUpdateSpec) bool

func RunSteps

func RunSteps(spec v1alpha1.LiveUpdateSpec) []model.Run

Evaluates live-update exec relative to the base path, and returns a run with resolved paths.

func ShouldRestart

func ShouldRestart(spec v1alpha1.LiveUpdateSpec) bool

func SyncSteps

func SyncSteps(spec v1alpha1.LiveUpdateSpec) []model.Sync

Evaluates live-update syncs relative to the base path, and returns a sync with resolved paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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