config

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 16 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  TiltSubcommand
}

func NewExtension

func NewExtension(tiltSubcommand 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

type TiltSubcommand added in v0.15.2

type TiltSubcommand string

e.g., "up", "down", "ci"

Jump to

Keyboard shortcuts

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