Documentation ¶
Overview ¶
Integration tests that run the Tilt binary directly. See README.md for more info on how to run and write integration tests.
Index ¶
- type Event
- type MemoryStatsReporter
- func (sr *MemoryStatsReporter) Close() error
- func (sr *MemoryStatsReporter) Count(name string, value int64, tags map[string]string, rate float64) error
- func (sr *MemoryStatsReporter) Incr(name string, tags map[string]string, rate float64) error
- func (sr *MemoryStatsReporter) Timing(name string, value time.Duration, tags map[string]string, rate float64) error
- type MemoryStatsServer
- type StatsReporter
- type StatsServer
- type TiltDriver
- type TiltUpResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStatsReporter ¶
type MemoryStatsReporter struct {
// contains filtered or unexported fields
}
func (*MemoryStatsReporter) Close ¶
func (sr *MemoryStatsReporter) Close() error
type MemoryStatsServer ¶
type MemoryStatsServer struct {
// contains filtered or unexported fields
}
func StartMemoryStatsServer ¶
func StartMemoryStatsServer() (mss *MemoryStatsServer, port int, err error)
func (*MemoryStatsServer) TearDown ¶
func (mss *MemoryStatsServer) TearDown() error
type StatsReporter ¶ added in v0.9.5
type StatsServer ¶ added in v0.9.5
type StatsServer struct {
// contains filtered or unexported fields
}
A small http server that decodes json and sends it to our metrics services
func NewStatsServer ¶ added in v0.9.5
func NewStatsServer(stats StatsReporter) StatsServer
func (StatsServer) Index ¶ added in v0.9.5
func (s StatsServer) Index(w http.ResponseWriter, r *http.Request)
func (StatsServer) Report ¶ added in v0.9.5
func (s StatsServer) Report(w http.ResponseWriter, r *http.Request)
func (StatsServer) Router ¶ added in v0.9.5
func (s StatsServer) Router() *mux.Router
type TiltDriver ¶ added in v0.10.18
func NewTiltDriver ¶ added in v0.10.18
func NewTiltDriver() *TiltDriver
func (*TiltDriver) DumpEngine ¶ added in v0.10.18
func (d *TiltDriver) DumpEngine(out io.Writer) error
func (*TiltDriver) Up ¶ added in v0.10.18
func (d *TiltDriver) Up(args []string, out io.Writer) (*TiltUpResponse, error)
type TiltUpResponse ¶ added in v0.10.18
type TiltUpResponse struct {
// contains filtered or unexported fields
}
func (*TiltUpResponse) Done ¶ added in v0.10.18
func (r *TiltUpResponse) Done() <-chan struct{}
func (*TiltUpResponse) Err ¶ added in v0.10.18
func (r *TiltUpResponse) Err() error
func (*TiltUpResponse) Kill ¶ added in v0.10.18
func (r *TiltUpResponse) Kill() error
func (*TiltUpResponse) KillAndDumpThreads ¶ added in v0.10.18
func (r *TiltUpResponse) KillAndDumpThreads() error
Kill the tilt process and print the goroutine/register state. Useful if you think Tilt is deadlocked but aren't sure why.
Click to show internal directories.
Click to hide internal directories.