config

package
v0.20.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const UserConfigFileName = "tilt_config.json"

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDef added in v0.10.24

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

type Extension

type Extension struct {
	UserConfigState model.UserConfigState
	TiltSubcommand  model.TiltSubcommand
}

func NewExtension

func NewExtension(tiltSubcommand model.TiltSubcommand) *Extension

func (*Extension) NewState

func (e *Extension) NewState() interface{}

func (*Extension) OnStart

func (e *Extension) OnStart(env *starkit.Environment) error

type Settings

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

func GetState

func GetState(m starkit.Model) (Settings, error)

func MustState

func MustState(model starkit.Model) Settings

func (Settings) EnabledResources

func (s Settings) EnabledResources(manifests []model.Manifest) ([]model.Manifest, error)

for the given args and list of full manifests, figure out which manifests the user actually selected

Jump to

Keyboard shortcuts

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