webview

package
v0.22.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogLevel_name = map[int32]string{
	0: "NONE",
	1: "INFO",
	2: "VERBOSE",
	3: "DEBUG",
	4: "WARN",
	5: "ERROR",
}
View Source
var LogLevel_value = map[string]int32{
	"NONE":    0,
	"INFO":    1,
	"VERBOSE": 2,
	"DEBUG":   3,
	"WARN":    4,
	"ERROR":   5,
}
View Source
var TargetType_name = map[int32]string{
	0: "TARGET_TYPE_UNSPECIFIED",
	1: "TARGET_TYPE_IMAGE",
	2: "TARGET_TYPE_K8S",
	3: "TARGET_TYPE_DOCKER_COMPOSE",
	4: "TARGET_TYPE_LOCAL",
}
View Source
var TargetType_value = map[string]int32{
	"TARGET_TYPE_UNSPECIFIED":    0,
	"TARGET_TYPE_IMAGE":          1,
	"TARGET_TYPE_K8S":            2,
	"TARGET_TYPE_DOCKER_COMPOSE": 3,
	"TARGET_TYPE_LOCAL":          4,
}

Functions

func RegisterViewServiceServer

func RegisterViewServiceServer(s *grpc.Server, srv ViewServiceServer)

func RegisterWebsocketServiceServer added in v0.10.25

func RegisterWebsocketServiceServer(s *grpc.Server, srv WebsocketServiceServer)

Types

type AckWebsocketRequest added in v0.10.25

type AckWebsocketRequest struct {
	// The to_checkpoint on the received LogList
	ToCheckpoint int32 `protobuf:"varint,1,opt,name=to_checkpoint,json=toCheckpoint,proto3" json:"to_checkpoint,omitempty"`
	// Allows us to synchronize on a running Tilt intance,
	// so we can tell when we're talking to the same Tilt.
	TiltStartTime        *timestamp.Timestamp `protobuf:"bytes,2,opt,name=tilt_start_time,json=tiltStartTime,proto3" json:"tilt_start_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

NOTE(nick): This is obsolete.

Our websocket service has two kinds of messages:

  1. On initialization, we send down the complete view state
  2. On every change, we send down the resources that have changed since the last send().

func (*AckWebsocketRequest) Descriptor added in v0.10.25

func (*AckWebsocketRequest) Descriptor() ([]byte, []int)

func (*AckWebsocketRequest) GetTiltStartTime added in v0.10.25

func (m *AckWebsocketRequest) GetTiltStartTime() *timestamp.Timestamp

func (*AckWebsocketRequest) GetToCheckpoint added in v0.10.25

func (m *AckWebsocketRequest) GetToCheckpoint() int32

func (*AckWebsocketRequest) ProtoMessage added in v0.10.25

func (*AckWebsocketRequest) ProtoMessage()

func (*AckWebsocketRequest) Reset added in v0.10.25

func (m *AckWebsocketRequest) Reset()

func (*AckWebsocketRequest) String added in v0.10.25

func (m *AckWebsocketRequest) String() string

func (*AckWebsocketRequest) XXX_DiscardUnknown added in v0.10.25

func (m *AckWebsocketRequest) XXX_DiscardUnknown()

func (*AckWebsocketRequest) XXX_Marshal added in v0.10.25

func (m *AckWebsocketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AckWebsocketRequest) XXX_Merge added in v0.10.25

func (m *AckWebsocketRequest) XXX_Merge(src proto.Message)

func (*AckWebsocketRequest) XXX_Size added in v0.10.25

func (m *AckWebsocketRequest) XXX_Size() int

func (*AckWebsocketRequest) XXX_Unmarshal added in v0.10.25

func (m *AckWebsocketRequest) XXX_Unmarshal(b []byte) error

type AckWebsocketResponse added in v0.10.25

type AckWebsocketResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AckWebsocketResponse) Descriptor added in v0.10.25

func (*AckWebsocketResponse) Descriptor() ([]byte, []int)

func (*AckWebsocketResponse) ProtoMessage added in v0.10.25

func (*AckWebsocketResponse) ProtoMessage()

func (*AckWebsocketResponse) Reset added in v0.10.25

func (m *AckWebsocketResponse) Reset()

func (*AckWebsocketResponse) String added in v0.10.25

func (m *AckWebsocketResponse) String() string

func (*AckWebsocketResponse) XXX_DiscardUnknown added in v0.10.25

func (m *AckWebsocketResponse) XXX_DiscardUnknown()

func (*AckWebsocketResponse) XXX_Marshal added in v0.10.25

func (m *AckWebsocketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AckWebsocketResponse) XXX_Merge added in v0.10.25

func (m *AckWebsocketResponse) XXX_Merge(src proto.Message)

func (*AckWebsocketResponse) XXX_Size added in v0.10.25

func (m *AckWebsocketResponse) XXX_Size() int

func (*AckWebsocketResponse) XXX_Unmarshal added in v0.10.25

func (m *AckWebsocketResponse) XXX_Unmarshal(b []byte) error

type BuildRecord

type BuildRecord struct {
	Error          string               `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Warnings       []string             `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	StartTime      *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	FinishTime     *timestamp.Timestamp `protobuf:"bytes,5,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"`
	IsCrashRebuild bool                 `protobuf:"varint,7,opt,name=is_crash_rebuild,json=isCrashRebuild,proto3" json:"is_crash_rebuild,omitempty"`
	// The span id for this build record's logs in the main logstore.
	SpanId               string   `protobuf:"bytes,8,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BuildRecord) Descriptor

func (*BuildRecord) Descriptor() ([]byte, []int)

func (*BuildRecord) GetError

func (m *BuildRecord) GetError() string

func (*BuildRecord) GetFinishTime

func (m *BuildRecord) GetFinishTime() *timestamp.Timestamp

func (*BuildRecord) GetIsCrashRebuild

func (m *BuildRecord) GetIsCrashRebuild() bool

func (*BuildRecord) GetSpanId added in v0.10.25

func (m *BuildRecord) GetSpanId() string

func (*BuildRecord) GetStartTime

func (m *BuildRecord) GetStartTime() *timestamp.Timestamp

func (*BuildRecord) GetWarnings

func (m *BuildRecord) GetWarnings() []string

func (*BuildRecord) ProtoMessage

func (*BuildRecord) ProtoMessage()

func (*BuildRecord) Reset

func (m *BuildRecord) Reset()

func (*BuildRecord) String

func (m *BuildRecord) String() string

func (*BuildRecord) XXX_DiscardUnknown

func (m *BuildRecord) XXX_DiscardUnknown()

func (*BuildRecord) XXX_Marshal

func (m *BuildRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildRecord) XXX_Merge

func (m *BuildRecord) XXX_Merge(src proto.Message)

func (*BuildRecord) XXX_Size

func (m *BuildRecord) XXX_Size() int

func (*BuildRecord) XXX_Unmarshal

func (m *BuildRecord) XXX_Unmarshal(b []byte) error

type GetViewRequest

type GetViewRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetViewRequest) Descriptor

func (*GetViewRequest) Descriptor() ([]byte, []int)

func (*GetViewRequest) ProtoMessage

func (*GetViewRequest) ProtoMessage()

func (*GetViewRequest) Reset

func (m *GetViewRequest) Reset()

func (*GetViewRequest) String

func (m *GetViewRequest) String() string

func (*GetViewRequest) XXX_DiscardUnknown

func (m *GetViewRequest) XXX_DiscardUnknown()

func (*GetViewRequest) XXX_Marshal

func (m *GetViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetViewRequest) XXX_Merge

func (m *GetViewRequest) XXX_Merge(src proto.Message)

func (*GetViewRequest) XXX_Size

func (m *GetViewRequest) XXX_Size() int

func (*GetViewRequest) XXX_Unmarshal

func (m *GetViewRequest) XXX_Unmarshal(b []byte) error

type K8SResourceInfo

type K8SResourceInfo struct {
	PodName            string `protobuf:"bytes,1,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
	PodCreationTime    string `protobuf:"bytes,2,opt,name=pod_creation_time,json=podCreationTime,proto3" json:"pod_creation_time,omitempty"`
	PodUpdateStartTime string `protobuf:"bytes,3,opt,name=pod_update_start_time,json=podUpdateStartTime,proto3" json:"pod_update_start_time,omitempty"`
	PodStatus          string `protobuf:"bytes,4,opt,name=pod_status,json=podStatus,proto3" json:"pod_status,omitempty"`
	PodStatusMessage   string `protobuf:"bytes,5,opt,name=pod_status_message,json=podStatusMessage,proto3" json:"pod_status_message,omitempty"`
	AllContainersReady bool   `protobuf:"varint,6,opt,name=all_containers_ready,json=allContainersReady,proto3" json:"all_containers_ready,omitempty"`
	PodRestarts        int32  `protobuf:"varint,7,opt,name=pod_restarts,json=podRestarts,proto3" json:"pod_restarts,omitempty"`
	// The span id for this pod's logs in the main logstore
	SpanId               string   `protobuf:"bytes,9,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	DisplayNames         []string `protobuf:"bytes,10,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*K8SResourceInfo) Descriptor

func (*K8SResourceInfo) Descriptor() ([]byte, []int)

func (*K8SResourceInfo) GetAllContainersReady

func (m *K8SResourceInfo) GetAllContainersReady() bool

func (*K8SResourceInfo) GetDisplayNames added in v0.14.1

func (m *K8SResourceInfo) GetDisplayNames() []string

func (*K8SResourceInfo) GetPodCreationTime

func (m *K8SResourceInfo) GetPodCreationTime() string

func (*K8SResourceInfo) GetPodName

func (m *K8SResourceInfo) GetPodName() string

func (*K8SResourceInfo) GetPodRestarts

func (m *K8SResourceInfo) GetPodRestarts() int32

func (*K8SResourceInfo) GetPodStatus

func (m *K8SResourceInfo) GetPodStatus() string

func (*K8SResourceInfo) GetPodStatusMessage

func (m *K8SResourceInfo) GetPodStatusMessage() string

func (*K8SResourceInfo) GetPodUpdateStartTime

func (m *K8SResourceInfo) GetPodUpdateStartTime() string

func (*K8SResourceInfo) GetSpanId added in v0.10.25

func (m *K8SResourceInfo) GetSpanId() string

func (*K8SResourceInfo) ProtoMessage

func (*K8SResourceInfo) ProtoMessage()

func (*K8SResourceInfo) Reset

func (m *K8SResourceInfo) Reset()

func (*K8SResourceInfo) String

func (m *K8SResourceInfo) String() string

func (*K8SResourceInfo) XXX_DiscardUnknown

func (m *K8SResourceInfo) XXX_DiscardUnknown()

func (*K8SResourceInfo) XXX_Marshal

func (m *K8SResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*K8SResourceInfo) XXX_Merge

func (m *K8SResourceInfo) XXX_Merge(src proto.Message)

func (*K8SResourceInfo) XXX_Size

func (m *K8SResourceInfo) XXX_Size() int

func (*K8SResourceInfo) XXX_Unmarshal

func (m *K8SResourceInfo) XXX_Unmarshal(b []byte) error
type Link struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Link) Descriptor added in v0.17.7

func (*Link) Descriptor() ([]byte, []int)

func (*Link) GetName added in v0.17.7

func (m *Link) GetName() string

func (*Link) GetUrl added in v0.17.7

func (m *Link) GetUrl() string

func (*Link) ProtoMessage added in v0.17.7

func (*Link) ProtoMessage()

func (*Link) Reset added in v0.17.7

func (m *Link) Reset()

func (*Link) String added in v0.17.7

func (m *Link) String() string

func (*Link) XXX_DiscardUnknown added in v0.17.7

func (m *Link) XXX_DiscardUnknown()

func (*Link) XXX_Marshal added in v0.17.7

func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Link) XXX_Merge added in v0.17.7

func (m *Link) XXX_Merge(src proto.Message)

func (*Link) XXX_Size added in v0.17.7

func (m *Link) XXX_Size() int

func (*Link) XXX_Unmarshal added in v0.17.7

func (m *Link) XXX_Unmarshal(b []byte) error

type LocalResourceInfo

type LocalResourceInfo struct {
	Pid                  int64    `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	IsTest               bool     `protobuf:"varint,2,opt,name=is_test,json=isTest,proto3" json:"is_test,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LocalResourceInfo) Descriptor

func (*LocalResourceInfo) Descriptor() ([]byte, []int)

func (*LocalResourceInfo) GetIsTest added in v0.18.3

func (m *LocalResourceInfo) GetIsTest() bool

func (*LocalResourceInfo) GetPid added in v0.14.0

func (m *LocalResourceInfo) GetPid() int64

func (*LocalResourceInfo) ProtoMessage

func (*LocalResourceInfo) ProtoMessage()

func (*LocalResourceInfo) Reset

func (m *LocalResourceInfo) Reset()

func (*LocalResourceInfo) String

func (m *LocalResourceInfo) String() string

func (*LocalResourceInfo) XXX_DiscardUnknown

func (m *LocalResourceInfo) XXX_DiscardUnknown()

func (*LocalResourceInfo) XXX_Marshal

func (m *LocalResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LocalResourceInfo) XXX_Merge

func (m *LocalResourceInfo) XXX_Merge(src proto.Message)

func (*LocalResourceInfo) XXX_Size

func (m *LocalResourceInfo) XXX_Size() int

func (*LocalResourceInfo) XXX_Unmarshal

func (m *LocalResourceInfo) XXX_Unmarshal(b []byte) error

type LogLevel added in v0.10.25

type LogLevel int32
const (
	// For backwards-compatibility, the int value doesn't say
	// anything about relative severity.
	LogLevel_NONE    LogLevel = 0
	LogLevel_INFO    LogLevel = 1
	LogLevel_VERBOSE LogLevel = 2
	LogLevel_DEBUG   LogLevel = 3
	LogLevel_WARN    LogLevel = 4
	LogLevel_ERROR   LogLevel = 5
)

func (LogLevel) EnumDescriptor added in v0.10.25

func (LogLevel) EnumDescriptor() ([]byte, []int)

func (LogLevel) String added in v0.10.25

func (x LogLevel) String() string

type LogList added in v0.10.24

type LogList struct {
	Spans    map[string]*LogSpan `` /* 151-byte string literal not displayed */
	Segments []*LogSegment       `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"`
	// from_checkpoint and to_checkpoint express an interval on the
	// central log-store, with an inclusive start and an exclusive end
	//
	// [from_checkpoint, to_checkpoint)
	//
	// An interval of [0, 0) means that the server isn't using
	// the incremental load protocol.
	//
	// An interval of [-1, -1) means that the server doesn't have new logs
	// to send down.
	FromCheckpoint       int32    `protobuf:"varint,3,opt,name=from_checkpoint,json=fromCheckpoint,proto3" json:"from_checkpoint,omitempty"`
	ToCheckpoint         int32    `protobuf:"varint,4,opt,name=to_checkpoint,json=toCheckpoint,proto3" json:"to_checkpoint,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogList) Descriptor added in v0.10.24

func (*LogList) Descriptor() ([]byte, []int)

func (*LogList) GetFromCheckpoint added in v0.10.25

func (m *LogList) GetFromCheckpoint() int32

func (*LogList) GetSegments added in v0.10.24

func (m *LogList) GetSegments() []*LogSegment

func (*LogList) GetSpans added in v0.10.24

func (m *LogList) GetSpans() map[string]*LogSpan

func (*LogList) GetToCheckpoint added in v0.10.25

func (m *LogList) GetToCheckpoint() int32

func (*LogList) ProtoMessage added in v0.10.24

func (*LogList) ProtoMessage()

func (*LogList) Reset added in v0.10.24

func (m *LogList) Reset()

func (*LogList) String added in v0.10.24

func (m *LogList) String() string

func (*LogList) XXX_DiscardUnknown added in v0.10.24

func (m *LogList) XXX_DiscardUnknown()

func (*LogList) XXX_Marshal added in v0.10.24

func (m *LogList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogList) XXX_Merge added in v0.10.24

func (m *LogList) XXX_Merge(src proto.Message)

func (*LogList) XXX_Size added in v0.10.24

func (m *LogList) XXX_Size() int

func (*LogList) XXX_Unmarshal added in v0.10.24

func (m *LogList) XXX_Unmarshal(b []byte) error

type LogSegment added in v0.10.24

type LogSegment struct {
	SpanId string               `protobuf:"bytes,1,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
	Time   *timestamp.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	Text   string               `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	Level  LogLevel             `protobuf:"varint,4,opt,name=level,proto3,enum=webview.LogLevel" json:"level,omitempty"`
	// When we store warnings in the LogStore, we break them up into lines and
	// store them as a series of line segments. 'anchor' marks the beginning of a
	// series of logs that should be kept together.
	//
	// Anchor warning1, line1
	//        warning1, line2
	// Anchor warning2, line1
	Anchor bool `protobuf:"varint,5,opt,name=anchor,proto3" json:"anchor,omitempty"`
	// Context-specific optional fields for a log segment.
	// Used for experimenting with new types of log metadata.
	Fields               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*LogSegment) Descriptor added in v0.10.24

func (*LogSegment) Descriptor() ([]byte, []int)

func (*LogSegment) GetAnchor added in v0.14.0

func (m *LogSegment) GetAnchor() bool

func (*LogSegment) GetFields added in v0.14.0

func (m *LogSegment) GetFields() map[string]string

func (*LogSegment) GetLevel added in v0.10.25

func (m *LogSegment) GetLevel() LogLevel

func (*LogSegment) GetSpanId added in v0.10.24

func (m *LogSegment) GetSpanId() string

func (*LogSegment) GetText added in v0.10.24

func (m *LogSegment) GetText() string

func (*LogSegment) GetTime added in v0.10.24

func (m *LogSegment) GetTime() *timestamp.Timestamp

func (*LogSegment) ProtoMessage added in v0.10.24

func (*LogSegment) ProtoMessage()

func (*LogSegment) Reset added in v0.10.24

func (m *LogSegment) Reset()

func (*LogSegment) String added in v0.10.24

func (m *LogSegment) String() string

func (*LogSegment) XXX_DiscardUnknown added in v0.10.24

func (m *LogSegment) XXX_DiscardUnknown()

func (*LogSegment) XXX_Marshal added in v0.10.24

func (m *LogSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogSegment) XXX_Merge added in v0.10.24

func (m *LogSegment) XXX_Merge(src proto.Message)

func (*LogSegment) XXX_Size added in v0.10.24

func (m *LogSegment) XXX_Size() int

func (*LogSegment) XXX_Unmarshal added in v0.10.24

func (m *LogSegment) XXX_Unmarshal(b []byte) error

type LogSpan added in v0.10.24

type LogSpan struct {
	ManifestName         string   `protobuf:"bytes,1,opt,name=manifest_name,json=manifestName,proto3" json:"manifest_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogSpan) Descriptor added in v0.10.24

func (*LogSpan) Descriptor() ([]byte, []int)

func (*LogSpan) GetManifestName added in v0.10.24

func (m *LogSpan) GetManifestName() string

func (*LogSpan) ProtoMessage added in v0.10.24

func (*LogSpan) ProtoMessage()

func (*LogSpan) Reset added in v0.10.24

func (m *LogSpan) Reset()

func (*LogSpan) String added in v0.10.24

func (m *LogSpan) String() string

func (*LogSpan) XXX_DiscardUnknown added in v0.10.24

func (m *LogSpan) XXX_DiscardUnknown()

func (*LogSpan) XXX_Marshal added in v0.10.24

func (m *LogSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogSpan) XXX_Merge added in v0.10.24

func (m *LogSpan) XXX_Merge(src proto.Message)

func (*LogSpan) XXX_Size added in v0.10.24

func (m *LogSpan) XXX_Size() int

func (*LogSpan) XXX_Unmarshal added in v0.10.24

func (m *LogSpan) XXX_Unmarshal(b []byte) error

type MetricsServing added in v0.17.13

type MetricsServing struct {
	// Whether we're using the local or remote metrics stack.
	Mode string `protobuf:"bytes,1,opt,name=mode,proto3" json:"mode,omitempty"`
	// e.g., "localhost:10352"
	GrafanaHost          string   `protobuf:"bytes,2,opt,name=grafana_host,json=grafanaHost,proto3" json:"grafana_host,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MetricsServing) Descriptor added in v0.17.13

func (*MetricsServing) Descriptor() ([]byte, []int)

func (*MetricsServing) GetGrafanaHost added in v0.17.13

func (m *MetricsServing) GetGrafanaHost() string

func (*MetricsServing) GetMode added in v0.17.13

func (m *MetricsServing) GetMode() string

func (*MetricsServing) ProtoMessage added in v0.17.13

func (*MetricsServing) ProtoMessage()

func (*MetricsServing) Reset added in v0.17.13

func (m *MetricsServing) Reset()

func (*MetricsServing) String added in v0.17.13

func (m *MetricsServing) String() string

func (*MetricsServing) XXX_DiscardUnknown added in v0.17.13

func (m *MetricsServing) XXX_DiscardUnknown()

func (*MetricsServing) XXX_Marshal added in v0.17.13

func (m *MetricsServing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetricsServing) XXX_Merge added in v0.17.13

func (m *MetricsServing) XXX_Merge(src proto.Message)

func (*MetricsServing) XXX_Size added in v0.17.13

func (m *MetricsServing) XXX_Size() int

func (*MetricsServing) XXX_Unmarshal added in v0.17.13

func (m *MetricsServing) XXX_Unmarshal(b []byte) error

type Resource

type Resource struct {
	Name                 string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	LastDeployTime       *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_deploy_time,json=lastDeployTime,proto3" json:"last_deploy_time,omitempty"`
	TriggerMode          int32                `protobuf:"varint,5,opt,name=trigger_mode,json=triggerMode,proto3" json:"trigger_mode,omitempty"`
	BuildHistory         []*BuildRecord       `protobuf:"bytes,6,rep,name=build_history,json=buildHistory,proto3" json:"build_history,omitempty"`
	CurrentBuild         *BuildRecord         `protobuf:"bytes,7,opt,name=current_build,json=currentBuild,proto3" json:"current_build,omitempty"`
	PendingBuildSince    *timestamp.Timestamp `protobuf:"bytes,10,opt,name=pending_build_since,json=pendingBuildSince,proto3" json:"pending_build_since,omitempty"`
	HasPendingChanges    bool                 `protobuf:"varint,11,opt,name=has_pending_changes,json=hasPendingChanges,proto3" json:"has_pending_changes,omitempty"`
	EndpointLinks        []*Link              `protobuf:"bytes,28,rep,name=endpoint_links,json=endpointLinks,proto3" json:"endpoint_links,omitempty"`
	PodID                string               `protobuf:"bytes,13,opt,name=podID,proto3" json:"podID,omitempty"`
	K8SResourceInfo      *K8SResourceInfo     `protobuf:"bytes,14,opt,name=k8s_resource_info,json=k8sResourceInfo,proto3" json:"k8s_resource_info,omitempty"`
	LocalResourceInfo    *LocalResourceInfo   `protobuf:"bytes,17,opt,name=local_resource_info,json=localResourceInfo,proto3" json:"local_resource_info,omitempty"`
	RuntimeStatus        string               `protobuf:"bytes,18,opt,name=runtime_status,json=runtimeStatus,proto3" json:"runtime_status,omitempty"`
	UpdateStatus         string               `protobuf:"bytes,29,opt,name=update_status,json=updateStatus,proto3" json:"update_status,omitempty"`
	IsTiltfile           bool                 `protobuf:"varint,19,opt,name=is_tiltfile,json=isTiltfile,proto3" json:"is_tiltfile,omitempty"`
	Specs                []*TargetSpec        `protobuf:"bytes,27,rep,name=specs,proto3" json:"specs,omitempty"`
	Queued               bool                 `protobuf:"varint,25,opt,name=queued,proto3" json:"queued,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Resource) Descriptor

func (*Resource) Descriptor() ([]byte, []int)

func (*Resource) GetBuildHistory

func (m *Resource) GetBuildHistory() []*BuildRecord

func (*Resource) GetCurrentBuild

func (m *Resource) GetCurrentBuild() *BuildRecord
func (m *Resource) GetEndpointLinks() []*Link

func (*Resource) GetHasPendingChanges

func (m *Resource) GetHasPendingChanges() bool

func (*Resource) GetIsTiltfile

func (m *Resource) GetIsTiltfile() bool

func (*Resource) GetK8SResourceInfo

func (m *Resource) GetK8SResourceInfo() *K8SResourceInfo

func (*Resource) GetLastDeployTime

func (m *Resource) GetLastDeployTime() *timestamp.Timestamp

func (*Resource) GetLocalResourceInfo

func (m *Resource) GetLocalResourceInfo() *LocalResourceInfo

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetPendingBuildSince

func (m *Resource) GetPendingBuildSince() *timestamp.Timestamp

func (*Resource) GetPodID

func (m *Resource) GetPodID() string

func (*Resource) GetQueued added in v0.10.18

func (m *Resource) GetQueued() bool

func (*Resource) GetRuntimeStatus

func (m *Resource) GetRuntimeStatus() string

func (*Resource) GetSpecs added in v0.14.0

func (m *Resource) GetSpecs() []*TargetSpec

func (*Resource) GetTriggerMode

func (m *Resource) GetTriggerMode() int32

func (*Resource) GetUpdateStatus added in v0.18.4

func (m *Resource) GetUpdateStatus() string

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Resource) XXX_Merge

func (m *Resource) XXX_Merge(src proto.Message)

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

func (m *Resource) XXX_Unmarshal(b []byte) error

type Snapshot added in v0.10.16

type Snapshot struct {
	View                 *View              `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"`
	IsSidebarClosed      bool               `protobuf:"varint,2,opt,name=is_sidebar_closed,json=isSidebarClosed,proto3" json:"is_sidebar_closed,omitempty"`
	Path                 string             `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	SnapshotHighlight    *SnapshotHighlight `protobuf:"bytes,4,opt,name=snapshot_highlight,json=snapshotHighlight,proto3" json:"snapshot_highlight,omitempty"`
	SnapshotLink         string             `protobuf:"bytes,5,opt,name=snapshot_link,json=snapshotLink,proto3" json:"snapshot_link,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Snapshot) Descriptor added in v0.10.16

func (*Snapshot) Descriptor() ([]byte, []int)

func (*Snapshot) GetIsSidebarClosed added in v0.10.16

func (m *Snapshot) GetIsSidebarClosed() bool

func (*Snapshot) GetPath added in v0.10.16

func (m *Snapshot) GetPath() string

func (*Snapshot) GetSnapshotHighlight added in v0.10.16

func (m *Snapshot) GetSnapshotHighlight() *SnapshotHighlight
func (m *Snapshot) GetSnapshotLink() string

func (*Snapshot) GetView added in v0.10.16

func (m *Snapshot) GetView() *View

func (*Snapshot) ProtoMessage added in v0.10.16

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset added in v0.10.16

func (m *Snapshot) Reset()

func (*Snapshot) String added in v0.10.16

func (m *Snapshot) String() string

func (*Snapshot) XXX_DiscardUnknown added in v0.10.16

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal added in v0.10.16

func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot) XXX_Merge added in v0.10.16

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size added in v0.10.16

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal added in v0.10.16

func (m *Snapshot) XXX_Unmarshal(b []byte) error

type SnapshotHighlight added in v0.10.16

type SnapshotHighlight struct {
	BeginningLogID       string   `protobuf:"bytes,1,opt,name=beginning_logID,json=beginningLogID,proto3" json:"beginning_logID,omitempty"`
	EndingLogID          string   `protobuf:"bytes,2,opt,name=ending_logID,json=endingLogID,proto3" json:"ending_logID,omitempty"`
	Text                 string   `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SnapshotHighlight) Descriptor added in v0.10.16

func (*SnapshotHighlight) Descriptor() ([]byte, []int)

func (*SnapshotHighlight) GetBeginningLogID added in v0.10.16

func (m *SnapshotHighlight) GetBeginningLogID() string

func (*SnapshotHighlight) GetEndingLogID added in v0.10.16

func (m *SnapshotHighlight) GetEndingLogID() string

func (*SnapshotHighlight) GetText added in v0.10.16

func (m *SnapshotHighlight) GetText() string

func (*SnapshotHighlight) ProtoMessage added in v0.10.16

func (*SnapshotHighlight) ProtoMessage()

func (*SnapshotHighlight) Reset added in v0.10.16

func (m *SnapshotHighlight) Reset()

func (*SnapshotHighlight) String added in v0.10.16

func (m *SnapshotHighlight) String() string

func (*SnapshotHighlight) XXX_DiscardUnknown added in v0.10.16

func (m *SnapshotHighlight) XXX_DiscardUnknown()

func (*SnapshotHighlight) XXX_Marshal added in v0.10.16

func (m *SnapshotHighlight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapshotHighlight) XXX_Merge added in v0.10.16

func (m *SnapshotHighlight) XXX_Merge(src proto.Message)

func (*SnapshotHighlight) XXX_Size added in v0.10.16

func (m *SnapshotHighlight) XXX_Size() int

func (*SnapshotHighlight) XXX_Unmarshal added in v0.10.16

func (m *SnapshotHighlight) XXX_Unmarshal(b []byte) error

type TargetSpec added in v0.14.0

type TargetSpec struct {
	Id                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                 TargetType `protobuf:"varint,2,opt,name=type,proto3,enum=webview.TargetType" json:"type,omitempty"`
	HasLiveUpdate        bool       `protobuf:"varint,3,opt,name=has_live_update,json=hasLiveUpdate,proto3" json:"has_live_update,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*TargetSpec) Descriptor added in v0.14.0

func (*TargetSpec) Descriptor() ([]byte, []int)

func (*TargetSpec) GetHasLiveUpdate added in v0.14.0

func (m *TargetSpec) GetHasLiveUpdate() bool

func (*TargetSpec) GetId added in v0.14.0

func (m *TargetSpec) GetId() string

func (*TargetSpec) GetType added in v0.14.0

func (m *TargetSpec) GetType() TargetType

func (*TargetSpec) ProtoMessage added in v0.14.0

func (*TargetSpec) ProtoMessage()

func (*TargetSpec) Reset added in v0.14.0

func (m *TargetSpec) Reset()

func (*TargetSpec) String added in v0.14.0

func (m *TargetSpec) String() string

func (*TargetSpec) XXX_DiscardUnknown added in v0.14.0

func (m *TargetSpec) XXX_DiscardUnknown()

func (*TargetSpec) XXX_Marshal added in v0.14.0

func (m *TargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TargetSpec) XXX_Merge added in v0.14.0

func (m *TargetSpec) XXX_Merge(src proto.Message)

func (*TargetSpec) XXX_Size added in v0.14.0

func (m *TargetSpec) XXX_Size() int

func (*TargetSpec) XXX_Unmarshal added in v0.14.0

func (m *TargetSpec) XXX_Unmarshal(b []byte) error

type TargetType added in v0.14.0

type TargetType int32

Correspond to implementations of the TargetSpec interface

const (
	TargetType_TARGET_TYPE_UNSPECIFIED    TargetType = 0
	TargetType_TARGET_TYPE_IMAGE          TargetType = 1
	TargetType_TARGET_TYPE_K8S            TargetType = 2
	TargetType_TARGET_TYPE_DOCKER_COMPOSE TargetType = 3
	TargetType_TARGET_TYPE_LOCAL          TargetType = 4
)

func (TargetType) EnumDescriptor added in v0.14.0

func (TargetType) EnumDescriptor() ([]byte, []int)

func (TargetType) String added in v0.14.0

func (x TargetType) String() string

type TiltBuild

type TiltBuild struct {
	Version              string   `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	CommitSHA            string   `protobuf:"bytes,2,opt,name=commitSHA,proto3" json:"commitSHA,omitempty"`
	Date                 string   `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"`
	Dev                  bool     `protobuf:"varint,4,opt,name=dev,proto3" json:"dev,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TiltBuild) Descriptor

func (*TiltBuild) Descriptor() ([]byte, []int)

func (*TiltBuild) GetCommitSHA

func (m *TiltBuild) GetCommitSHA() string

func (*TiltBuild) GetDate

func (m *TiltBuild) GetDate() string

func (*TiltBuild) GetDev

func (m *TiltBuild) GetDev() bool

func (*TiltBuild) GetVersion

func (m *TiltBuild) GetVersion() string

func (*TiltBuild) ProtoMessage

func (*TiltBuild) ProtoMessage()

func (*TiltBuild) Reset

func (m *TiltBuild) Reset()

func (*TiltBuild) String

func (m *TiltBuild) String() string

func (*TiltBuild) XXX_DiscardUnknown

func (m *TiltBuild) XXX_DiscardUnknown()

func (*TiltBuild) XXX_Marshal

func (m *TiltBuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TiltBuild) XXX_Merge

func (m *TiltBuild) XXX_Merge(src proto.Message)

func (*TiltBuild) XXX_Size

func (m *TiltBuild) XXX_Size() int

func (*TiltBuild) XXX_Unmarshal

func (m *TiltBuild) XXX_Unmarshal(b []byte) error

type UnimplementedViewServiceServer

type UnimplementedViewServiceServer struct {
}

UnimplementedViewServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedViewServiceServer) GetView

func (*UnimplementedViewServiceServer) UploadSnapshot added in v0.10.16

type UnimplementedWebsocketServiceServer added in v0.10.25

type UnimplementedWebsocketServiceServer struct {
}

UnimplementedWebsocketServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedWebsocketServiceServer) AckWebsocket added in v0.10.25

type UploadSnapshotResponse added in v0.10.16

type UploadSnapshotResponse struct {
	Url                  string   `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UploadSnapshotResponse) Descriptor added in v0.10.16

func (*UploadSnapshotResponse) Descriptor() ([]byte, []int)

func (*UploadSnapshotResponse) GetUrl added in v0.10.16

func (m *UploadSnapshotResponse) GetUrl() string

func (*UploadSnapshotResponse) ProtoMessage added in v0.10.16

func (*UploadSnapshotResponse) ProtoMessage()

func (*UploadSnapshotResponse) Reset added in v0.10.16

func (m *UploadSnapshotResponse) Reset()

func (*UploadSnapshotResponse) String added in v0.10.16

func (m *UploadSnapshotResponse) String() string

func (*UploadSnapshotResponse) XXX_DiscardUnknown added in v0.10.16

func (m *UploadSnapshotResponse) XXX_DiscardUnknown()

func (*UploadSnapshotResponse) XXX_Marshal added in v0.10.16

func (m *UploadSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UploadSnapshotResponse) XXX_Merge added in v0.10.16

func (m *UploadSnapshotResponse) XXX_Merge(src proto.Message)

func (*UploadSnapshotResponse) XXX_Size added in v0.10.16

func (m *UploadSnapshotResponse) XXX_Size() int

func (*UploadSnapshotResponse) XXX_Unmarshal added in v0.10.16

func (m *UploadSnapshotResponse) XXX_Unmarshal(b []byte) error

type VersionSettings added in v0.10.19

type VersionSettings struct {
	CheckUpdates         bool     `protobuf:"varint,1,opt,name=check_updates,json=checkUpdates,proto3" json:"check_updates,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VersionSettings) Descriptor added in v0.10.19

func (*VersionSettings) Descriptor() ([]byte, []int)

func (*VersionSettings) GetCheckUpdates added in v0.10.19

func (m *VersionSettings) GetCheckUpdates() bool

func (*VersionSettings) ProtoMessage added in v0.10.19

func (*VersionSettings) ProtoMessage()

func (*VersionSettings) Reset added in v0.10.19

func (m *VersionSettings) Reset()

func (*VersionSettings) String added in v0.10.19

func (m *VersionSettings) String() string

func (*VersionSettings) XXX_DiscardUnknown added in v0.10.19

func (m *VersionSettings) XXX_DiscardUnknown()

func (*VersionSettings) XXX_Marshal added in v0.10.19

func (m *VersionSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionSettings) XXX_Merge added in v0.10.19

func (m *VersionSettings) XXX_Merge(src proto.Message)

func (*VersionSettings) XXX_Size added in v0.10.19

func (m *VersionSettings) XXX_Size() int

func (*VersionSettings) XXX_Unmarshal added in v0.10.19

func (m *VersionSettings) XXX_Unmarshal(b []byte) error

type View

type View struct {
	Log       string      `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"`
	Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// We used to have a setting that allowed users to dynamically
	// prepend timestamps in logs.
	DEPRECATEDLogTimestamps   bool             `` /* 133-byte string literal not displayed */
	FeatureFlags              map[string]bool  `` /* 186-byte string literal not displayed */
	NeedsAnalyticsNudge       bool             `protobuf:"varint,5,opt,name=needs_analytics_nudge,json=needsAnalyticsNudge,proto3" json:"needs_analytics_nudge,omitempty"`
	RunningTiltBuild          *TiltBuild       `protobuf:"bytes,6,opt,name=running_tilt_build,json=runningTiltBuild,proto3" json:"running_tilt_build,omitempty"`
	DEPRECATEDLatestTiltBuild *TiltBuild       `` /* 140-byte string literal not displayed */
	SuggestedTiltVersion      string           `protobuf:"bytes,16,opt,name=suggested_tilt_version,json=suggestedTiltVersion,proto3" json:"suggested_tilt_version,omitempty"`
	VersionSettings           *VersionSettings `protobuf:"bytes,12,opt,name=version_settings,json=versionSettings,proto3" json:"version_settings,omitempty"`
	TiltCloudUsername         string           `protobuf:"bytes,8,opt,name=tilt_cloud_username,json=tiltCloudUsername,proto3" json:"tilt_cloud_username,omitempty"`
	TiltCloudTeamName         string           `protobuf:"bytes,15,opt,name=tilt_cloud_team_name,json=tiltCloudTeamName,proto3" json:"tilt_cloud_team_name,omitempty"`
	TiltCloudSchemeHost       string           `protobuf:"bytes,9,opt,name=tilt_cloud_schemeHost,json=tiltCloudSchemeHost,proto3" json:"tilt_cloud_schemeHost,omitempty"`
	TiltCloudTeamID           string           `protobuf:"bytes,10,opt,name=tilt_cloud_teamID,json=tiltCloudTeamID,proto3" json:"tilt_cloud_teamID,omitempty"`
	FatalError                string           `protobuf:"bytes,11,opt,name=fatal_error,json=fatalError,proto3" json:"fatal_error,omitempty"`
	LogList                   *LogList         `protobuf:"bytes,13,opt,name=log_list,json=logList,proto3" json:"log_list,omitempty"`
	// Allows us to synchronize on a running Tilt intance,
	// so we can tell when Tilt restarted.
	TiltStartTime *timestamp.Timestamp `protobuf:"bytes,14,opt,name=tilt_start_time,json=tiltStartTime,proto3" json:"tilt_start_time,omitempty"`
	// an identifier for the tiltfile that is running, so that the web ui can store data per tiltfile
	TiltfileKey string `protobuf:"bytes,17,opt,name=tiltfile_key,json=tiltfileKey,proto3" json:"tiltfile_key,omitempty"`
	// New API-server based data models.
	UiSession   *v1alpha1.UISession    `protobuf:"bytes,19,opt,name=ui_session,json=uiSession,proto3" json:"ui_session,omitempty"`
	UiResources []*v1alpha1.UIResource `protobuf:"bytes,20,rep,name=ui_resources,json=uiResources,proto3" json:"ui_resources,omitempty"`
	UiButtons   []*v1alpha1.UIButton   `protobuf:"bytes,22,rep,name=ui_buttons,json=uiButtons,proto3" json:"ui_buttons,omitempty"`
	// indicates that this view is a complete representation of the app
	// if false, this view just contains deltas from a previous view.
	IsComplete           bool     `protobuf:"varint,21,opt,name=is_complete,json=isComplete,proto3" json:"is_complete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Our websocket service has two kinds of View messages:

  1. On initialization, we send down the complete view state (TiltStartTime, UISession, UIResources, and LogList)
  1. On every change, we send down the resources that have changed since the last send(). (new logs and any updated UISession/UIResource objects).

All other fields are obsolete, but are needed for deserializing old snapshots.

func (*View) Descriptor

func (*View) Descriptor() ([]byte, []int)

func (*View) GetDEPRECATEDLatestTiltBuild added in v0.14.0

func (m *View) GetDEPRECATEDLatestTiltBuild() *TiltBuild

func (*View) GetDEPRECATEDLogTimestamps added in v0.10.22

func (m *View) GetDEPRECATEDLogTimestamps() bool

func (*View) GetFatalError

func (m *View) GetFatalError() string

func (*View) GetFeatureFlags

func (m *View) GetFeatureFlags() map[string]bool

func (*View) GetIsComplete added in v0.20.7

func (m *View) GetIsComplete() bool

func (*View) GetLog

func (m *View) GetLog() string

func (*View) GetLogList added in v0.10.24

func (m *View) GetLogList() *LogList

func (*View) GetNeedsAnalyticsNudge

func (m *View) GetNeedsAnalyticsNudge() bool

func (*View) GetResources

func (m *View) GetResources() []*Resource

func (*View) GetRunningTiltBuild

func (m *View) GetRunningTiltBuild() *TiltBuild

func (*View) GetSuggestedTiltVersion added in v0.14.0

func (m *View) GetSuggestedTiltVersion() string

func (*View) GetTiltCloudSchemeHost

func (m *View) GetTiltCloudSchemeHost() string

func (*View) GetTiltCloudTeamID

func (m *View) GetTiltCloudTeamID() string

func (*View) GetTiltCloudTeamName added in v0.14.0

func (m *View) GetTiltCloudTeamName() string

func (*View) GetTiltCloudUsername

func (m *View) GetTiltCloudUsername() string

func (*View) GetTiltStartTime added in v0.10.25

func (m *View) GetTiltStartTime() *timestamp.Timestamp

func (*View) GetTiltfileKey added in v0.17.10

func (m *View) GetTiltfileKey() string

func (*View) GetUiButtons added in v0.20.8

func (m *View) GetUiButtons() []*v1alpha1.UIButton

func (*View) GetUiResources added in v0.20.2

func (m *View) GetUiResources() []*v1alpha1.UIResource

func (*View) GetUiSession added in v0.20.2

func (m *View) GetUiSession() *v1alpha1.UISession

func (*View) GetVersionSettings added in v0.10.19

func (m *View) GetVersionSettings() *VersionSettings

func (*View) ProtoMessage

func (*View) ProtoMessage()

func (*View) Reset

func (m *View) Reset()

func (*View) String

func (m *View) String() string

func (*View) XXX_DiscardUnknown

func (m *View) XXX_DiscardUnknown()

func (*View) XXX_Marshal

func (m *View) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*View) XXX_Merge

func (m *View) XXX_Merge(src proto.Message)

func (*View) XXX_Size

func (m *View) XXX_Size() int

func (*View) XXX_Unmarshal

func (m *View) XXX_Unmarshal(b []byte) error

type ViewServiceClient

type ViewServiceClient interface {
	GetView(ctx context.Context, in *GetViewRequest, opts ...grpc.CallOption) (*View, error)
	UploadSnapshot(ctx context.Context, in *Snapshot, opts ...grpc.CallOption) (*UploadSnapshotResponse, error)
}

ViewServiceClient is the client API for ViewService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewViewServiceClient

func NewViewServiceClient(cc *grpc.ClientConn) ViewServiceClient

type ViewServiceServer

type ViewServiceServer interface {
	GetView(context.Context, *GetViewRequest) (*View, error)
	UploadSnapshot(context.Context, *Snapshot) (*UploadSnapshotResponse, error)
}

ViewServiceServer is the server API for ViewService service.

type WebsocketServiceClient added in v0.10.25

type WebsocketServiceClient interface {
	AckWebsocket(ctx context.Context, in *AckWebsocketRequest, opts ...grpc.CallOption) (*AckWebsocketResponse, error)
}

WebsocketServiceClient is the client API for WebsocketService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewWebsocketServiceClient added in v0.10.25

func NewWebsocketServiceClient(cc *grpc.ClientConn) WebsocketServiceClient

type WebsocketServiceServer added in v0.10.25

type WebsocketServiceServer interface {
	AckWebsocket(context.Context, *AckWebsocketRequest) (*AckWebsocketResponse, error)
}

WebsocketServiceServer is the server API for WebsocketService service.

Jump to

Keyboard shortcuts

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