cloud

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const TiltTokenHeaderName = "X-Tilt-Token"

Variables

This section is empty.

Functions

func URL

func URL(cloudAddress string) *url.URL

Types

type Address

type Address string

an address like cloud.tilt.dev or localhost:10450

func ProvideAddress

func ProvideAddress() Address

type CloudUsernameManager

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

func NewUsernameManager

func NewUsernameManager(client HttpClient) *CloudUsernameManager

func (*CloudUsernameManager) OnChange

func (c *CloudUsernameManager) OnChange(ctx context.Context, st store.RStore)

type HttpClient

type HttpClient interface {
	Do(req *http.Request) (*http.Response, error)
}

func ProvideHttpClient

func ProvideHttpClient() HttpClient

Jump to

Keyboard shortcuts

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