Documentation ¶
Index ¶
- Constants
- func FallBackOnFiles(spec v1alpha1.LiveUpdateSpec) model.PathSet
- func GetName(mn model.ManifestName, id model.TargetID) string
- func IsEmptySpec(spec v1alpha1.LiveUpdateSpec) bool
- func RunSteps(spec v1alpha1.LiveUpdateSpec) []model.Run
- func ShouldRestart(spec v1alpha1.LiveUpdateSpec) bool
- func SyncSteps(spec v1alpha1.LiveUpdateSpec) []model.Sync
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.