configs

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTiltfileLogWriter

func NewTiltfileLogWriter(s store.RStore, loadCount int) *tiltfileLogWriter

func SpanIDForLoadCount added in v0.10.24

func SpanIDForLoadCount(loadCount int) logstore.SpanID

Types

type ConfigsController

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

func NewConfigsController

func NewConfigsController(tfl tiltfile.TiltfileLoader, dockerClient docker.Client) *ConfigsController

func (*ConfigsController) DisableForTesting

func (cc *ConfigsController) DisableForTesting(disabled bool)

func (*ConfigsController) OnChange

func (cc *ConfigsController) OnChange(ctx context.Context, st store.RStore)

func (*ConfigsController) SetTiltfileLoaderForTesting

func (cc *ConfigsController) SetTiltfileLoaderForTesting(tfl tiltfile.TiltfileLoader)

type ConfigsReloadStartedAction

type ConfigsReloadStartedAction struct {
	FilesChanged map[string]bool
	StartTime    time.Time
	SpanID       logstore.SpanID
}

func (ConfigsReloadStartedAction) Action

func (ConfigsReloadStartedAction) Action()

type ConfigsReloadedAction

type ConfigsReloadedAction struct {
	Manifests          []model.Manifest
	TiltIgnoreContents string
	ConfigFiles        []string

	FinishTime           time.Time
	Err                  error
	Warnings             []string
	Features             map[string]bool
	TeamID               string
	TelemetrySettings    model.TelemetrySettings
	Secrets              model.SecretSet
	DockerPruneSettings  model.DockerPruneSettings
	AnalyticsTiltfileOpt analytics.Opt
	VersionSettings      model.VersionSettings
	UpdateSettings       model.UpdateSettings

	// A checkpoint into the logstore when Tiltfile execution started.
	// Useful for knowing how far back in time we have to scrub secrets.
	CheckpointAtExecStart logstore.Checkpoint
}

func (ConfigsReloadedAction) Action

func (ConfigsReloadedAction) Action()

Jump to

Keyboard shortcuts

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