configs

package
v0.10.21 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTiltfileLogWriter

func NewTiltfileLogWriter(s store.RStore) *tiltfileLogWriter

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
}

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
	TeamName             string
	Secrets              model.SecretSet
	DockerPruneSettings  model.DockerPruneSettings
	AnalyticsTiltfileOpt analytics.Opt
	VersionSettings      model.VersionSettings

	// The length of the global log when Tiltfile execution started.
	// Useful for knowing how far back in time we have to scrub secrets.
	GlobalLogLineCountAtExecStart int
}

func (ConfigsReloadedAction) Action

func (ConfigsReloadedAction) Action()

type TiltfileLogAction

type TiltfileLogAction struct {
	store.LogEvent
}

func (TiltfileLogAction) Action

func (TiltfileLogAction) Action()

Jump to

Keyboard shortcuts

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