Documentation ¶
Index ¶
Constants ¶
View Source
const TiltTeamIDNameHeaderName = "X-Tilt-TeamID"
View Source
const TiltTokenHeaderName = "X-Tilt-Token"
Variables ¶
View Source
var WireSet = wire.NewSet( ProvideAddress, ProvideHttpClient, NewUsernameManager, NewSnapshotUploader, NewUpdateUploader)
Functions ¶
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) CheckUsername ¶ added in v0.10.7
type HttpClient ¶
func ProvideHttpClient ¶
func ProvideHttpClient() HttpClient
type SnapshotID ¶ added in v0.10.14
type SnapshotID string
type SnapshotUploader ¶ added in v0.10.14
type SnapshotUploader struct {
// contains filtered or unexported fields
}
func NewSnapshotUploader ¶ added in v0.10.14
func NewSnapshotUploader(client HttpClient, addr Address) SnapshotUploader
func (SnapshotUploader) IDToSnapshotURL ¶ added in v0.10.14
func (s SnapshotUploader) IDToSnapshotURL(id SnapshotID) string
func (SnapshotUploader) Upload ¶ added in v0.10.14
func (s SnapshotUploader) Upload(token token.Token, teamID string, reader io.Reader) (SnapshotID, error)
type UpdateUploader ¶ added in v0.10.14
type UpdateUploader struct {
// contains filtered or unexported fields
}
func NewUpdateUploader ¶ added in v0.10.14
func NewUpdateUploader(client HttpClient, addr Address) *UpdateUploader
Click to show internal directories.
Click to hide internal directories.