config

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 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
}

func NewExtension

func NewExtension(userConfigState model.UserConfigState) *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