tiltfile

package
v0.10.19 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnknownBuild = iota
	DockerBuild
	CustomBuild
)
View Source
const (
	TriggerModeUnset  triggerMode = iota
	TriggerModeAuto   triggerMode = iota
	TriggerModeManual triggerMode = iota
)
View Source
const FileName = "Tiltfile"
View Source
const TiltIgnoreFileName = ".tiltignore"

Variables

Functions

func DockerComposeConfigToService added in v0.10.8

func DockerComposeConfigToService(c dockercompose.Config, name string) (dcService, error)

Types

type FakeTiltfileLoader added in v0.7.6

type FakeTiltfileLoader struct {
	Result TiltfileLoadResult
}

func NewFakeTiltfileLoader added in v0.7.6

func NewFakeTiltfileLoader() *FakeTiltfileLoader

func (*FakeTiltfileLoader) Load added in v0.7.6

func (tfl *FakeTiltfileLoader) Load(ctx context.Context, filename string, requestedManifests []model.ManifestName) TiltfileLoadResult

type MutexWriter added in v0.9.3

type MutexWriter struct {
	// contains filtered or unexported fields
}

func NewMutexWriter added in v0.9.3

func NewMutexWriter(underlying io.Writer) MutexWriter

func (MutexWriter) Write added in v0.9.3

func (w MutexWriter) Write(b []byte) (int, error)

type TiltfileLoadResult added in v0.7.10

type TiltfileLoadResult struct {
	Manifests           []model.Manifest
	ConfigFiles         []string
	Warnings            []string
	TiltIgnoreContents  string
	FeatureFlags        map[string]bool
	TeamName            string
	Secrets             model.SecretSet
	Error               error
	DockerPruneSettings model.DockerPruneSettings
	AnalyticsOpt        wmanalytics.Opt
	VersionSettings     model.VersionSettings
}

func (TiltfileLoadResult) Orchestrator added in v0.9.1

func (r TiltfileLoadResult) Orchestrator() model.Orchestrator

type TiltfileLoader added in v0.7.6

type TiltfileLoader interface {
	// Load the Tiltfile.
	//
	// By design, Load() always returns a result.
	// We want to be very careful not to treat non-zero exit codes like an error.
	// Because even if the Tiltfile has errors, we might need to watch files
	// or return partial results (like enabled features).
	Load(ctx context.Context, filename string, requestedManifests []model.ManifestName) TiltfileLoadResult
}

func ProvideTiltfileLoader added in v0.7.8

func ProvideTiltfileLoader(
	analytics *analytics.TiltAnalytics,
	kCli k8s.Client,
	k8sContextExt k8scontext.Extension,
	dcCli dockercompose.DockerComposeClient,
	fDefaults feature.Defaults) TiltfileLoader

Directories

Path Synopsis
Starkit is a toolkit for implementing Starlark interpreters, with support for: (1) reusable sets of builtins (2) collecting state on a starlark thread (3) instrumenting builtins with analytics So that builtins from different packages can be composed.
Starkit is a toolkit for implementing Starlark interpreters, with support for: (1) reusable sets of builtins (2) collecting state on a starlark thread (3) instrumenting builtins with analytics So that builtins from different packages can be composed.
Helper functions for doing value conversions.
Helper functions for doing value conversions.

Jump to

Keyboard shortcuts

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