webview

package
v0.20.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const UISessionName = "Tiltfile"

We call the main session the Tiltfile session, for compatibility with the other Session API.

Variables

This section is empty.

Functions

func LogSegmentToEvent added in v0.17.0

func LogSegmentToEvent(seg *proto_webview.LogSegment, spans map[string]*proto_webview.LogSpan) store.LogAction

func NeedsNudge added in v0.8.4

func NeedsNudge(st store.EngineState) bool

func StateToProtoView added in v0.10.15

func StateToProtoView(s store.EngineState, logCheckpoint logstore.Checkpoint) (*proto_webview.View, error)

func TiltfileResourceProtoView added in v0.20.4

func TiltfileResourceProtoView(s store.EngineState) *v1alpha1.UIResource
func ToAPILinks(lns []model.Link) []v1alpha1.UIResourceLink

func ToAPITargetSpecs added in v0.20.2

func ToAPITargetSpecs(specs []model.TargetSpec) ([]v1alpha1.UIResourceTargetSpec, error)

func ToBuildRunning added in v0.20.2

func ToBuildRunning(br model.BuildRecord) *v1alpha1.UIBuildRunning

func ToBuildTerminated added in v0.20.2

func ToBuildTerminated(br model.BuildRecord, logStore *logstore.LogStore) v1alpha1.UIBuildTerminated

func ToBuildsTerminated added in v0.20.2

func ToBuildsTerminated(brs []model.BuildRecord, logStore *logstore.LogStore) []v1alpha1.UIBuildTerminated

func ToUIResource added in v0.20.4

Converts a ManifestTarget into the public data model representation, a UIResource.

func ToUIResourceList added in v0.20.4

func ToUIResourceList(state store.EngineState) ([]*v1alpha1.UIResource, error)

Converts an EngineState into a list of UIResources. The order of the list is non-deterministic.

func ToUISession added in v0.20.4

func ToUISession(s store.EngineState) *v1alpha1.UISession

Converts EngineState into the public data model representation, a UISession.

Types

This section is empty.

Jump to

Keyboard shortcuts

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