Documentation ¶
Index ¶
- Variables
- func RegisterViewServiceServer(s *grpc.Server, srv ViewServiceServer)
- func RegisterWebsocketServiceServer(s *grpc.Server, srv WebsocketServiceServer)
- type AckWebsocketRequest
- func (*AckWebsocketRequest) Descriptor() ([]byte, []int)
- func (m *AckWebsocketRequest) GetTiltStartTime() *timestamp.Timestamp
- func (m *AckWebsocketRequest) GetToCheckpoint() int32
- func (*AckWebsocketRequest) ProtoMessage()
- func (m *AckWebsocketRequest) Reset()
- func (m *AckWebsocketRequest) String() string
- func (m *AckWebsocketRequest) XXX_DiscardUnknown()
- func (m *AckWebsocketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AckWebsocketRequest) XXX_Merge(src proto.Message)
- func (m *AckWebsocketRequest) XXX_Size() int
- func (m *AckWebsocketRequest) XXX_Unmarshal(b []byte) error
- type AckWebsocketResponse
- func (*AckWebsocketResponse) Descriptor() ([]byte, []int)
- func (*AckWebsocketResponse) ProtoMessage()
- func (m *AckWebsocketResponse) Reset()
- func (m *AckWebsocketResponse) String() string
- func (m *AckWebsocketResponse) XXX_DiscardUnknown()
- func (m *AckWebsocketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AckWebsocketResponse) XXX_Merge(src proto.Message)
- func (m *AckWebsocketResponse) XXX_Size() int
- func (m *AckWebsocketResponse) XXX_Unmarshal(b []byte) error
- type BuildRecord
- func (*BuildRecord) Descriptor() ([]byte, []int)
- func (m *BuildRecord) GetError() string
- func (m *BuildRecord) GetFinishTime() *timestamp.Timestamp
- func (m *BuildRecord) GetIsCrashRebuild() bool
- func (m *BuildRecord) GetSpanId() string
- func (m *BuildRecord) GetStartTime() *timestamp.Timestamp
- func (m *BuildRecord) GetWarnings() []string
- func (*BuildRecord) ProtoMessage()
- func (m *BuildRecord) Reset()
- func (m *BuildRecord) String() string
- func (m *BuildRecord) XXX_DiscardUnknown()
- func (m *BuildRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BuildRecord) XXX_Merge(src proto.Message)
- func (m *BuildRecord) XXX_Size() int
- func (m *BuildRecord) XXX_Unmarshal(b []byte) error
- type GetViewRequest
- func (*GetViewRequest) Descriptor() ([]byte, []int)
- func (*GetViewRequest) ProtoMessage()
- func (m *GetViewRequest) Reset()
- func (m *GetViewRequest) String() string
- func (m *GetViewRequest) XXX_DiscardUnknown()
- func (m *GetViewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetViewRequest) XXX_Merge(src proto.Message)
- func (m *GetViewRequest) XXX_Size() int
- func (m *GetViewRequest) XXX_Unmarshal(b []byte) error
- type K8SResourceInfo
- func (*K8SResourceInfo) Descriptor() ([]byte, []int)
- func (m *K8SResourceInfo) GetAllContainersReady() bool
- func (m *K8SResourceInfo) GetDisplayNames() []string
- func (m *K8SResourceInfo) GetPodCreationTime() string
- func (m *K8SResourceInfo) GetPodName() string
- func (m *K8SResourceInfo) GetPodRestarts() int32
- func (m *K8SResourceInfo) GetPodStatus() string
- func (m *K8SResourceInfo) GetPodStatusMessage() string
- func (m *K8SResourceInfo) GetPodUpdateStartTime() string
- func (m *K8SResourceInfo) GetSpanId() string
- func (*K8SResourceInfo) ProtoMessage()
- func (m *K8SResourceInfo) Reset()
- func (m *K8SResourceInfo) String() string
- func (m *K8SResourceInfo) XXX_DiscardUnknown()
- func (m *K8SResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *K8SResourceInfo) XXX_Merge(src proto.Message)
- func (m *K8SResourceInfo) XXX_Size() int
- func (m *K8SResourceInfo) XXX_Unmarshal(b []byte) error
- type Link
- func (*Link) Descriptor() ([]byte, []int)
- func (m *Link) GetName() string
- func (m *Link) GetUrl() string
- func (*Link) ProtoMessage()
- func (m *Link) Reset()
- func (m *Link) String() string
- func (m *Link) XXX_DiscardUnknown()
- func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Link) XXX_Merge(src proto.Message)
- func (m *Link) XXX_Size() int
- func (m *Link) XXX_Unmarshal(b []byte) error
- type LocalResourceInfo
- func (*LocalResourceInfo) Descriptor() ([]byte, []int)
- func (m *LocalResourceInfo) GetIsTest() bool
- func (m *LocalResourceInfo) GetPid() int64
- func (*LocalResourceInfo) ProtoMessage()
- func (m *LocalResourceInfo) Reset()
- func (m *LocalResourceInfo) String() string
- func (m *LocalResourceInfo) XXX_DiscardUnknown()
- func (m *LocalResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalResourceInfo) XXX_Merge(src proto.Message)
- func (m *LocalResourceInfo) XXX_Size() int
- func (m *LocalResourceInfo) XXX_Unmarshal(b []byte) error
- type LogLevel
- type LogList
- func (*LogList) Descriptor() ([]byte, []int)
- func (m *LogList) GetFromCheckpoint() int32
- func (m *LogList) GetSegments() []*LogSegment
- func (m *LogList) GetSpans() map[string]*LogSpan
- func (m *LogList) GetToCheckpoint() int32
- func (*LogList) ProtoMessage()
- func (m *LogList) Reset()
- func (m *LogList) String() string
- func (m *LogList) XXX_DiscardUnknown()
- func (m *LogList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogList) XXX_Merge(src proto.Message)
- func (m *LogList) XXX_Size() int
- func (m *LogList) XXX_Unmarshal(b []byte) error
- type LogSegment
- func (*LogSegment) Descriptor() ([]byte, []int)
- func (m *LogSegment) GetAnchor() bool
- func (m *LogSegment) GetFields() map[string]string
- func (m *LogSegment) GetLevel() LogLevel
- func (m *LogSegment) GetSpanId() string
- func (m *LogSegment) GetText() string
- func (m *LogSegment) GetTime() *timestamp.Timestamp
- func (*LogSegment) ProtoMessage()
- func (m *LogSegment) Reset()
- func (m *LogSegment) String() string
- func (m *LogSegment) XXX_DiscardUnknown()
- func (m *LogSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogSegment) XXX_Merge(src proto.Message)
- func (m *LogSegment) XXX_Size() int
- func (m *LogSegment) XXX_Unmarshal(b []byte) error
- type LogSpan
- func (*LogSpan) Descriptor() ([]byte, []int)
- func (m *LogSpan) GetManifestName() string
- func (*LogSpan) ProtoMessage()
- func (m *LogSpan) Reset()
- func (m *LogSpan) String() string
- func (m *LogSpan) XXX_DiscardUnknown()
- func (m *LogSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LogSpan) XXX_Merge(src proto.Message)
- func (m *LogSpan) XXX_Size() int
- func (m *LogSpan) XXX_Unmarshal(b []byte) error
- type MetricsServing
- func (*MetricsServing) Descriptor() ([]byte, []int)
- func (m *MetricsServing) GetGrafanaHost() string
- func (m *MetricsServing) GetMode() string
- func (*MetricsServing) ProtoMessage()
- func (m *MetricsServing) Reset()
- func (m *MetricsServing) String() string
- func (m *MetricsServing) XXX_DiscardUnknown()
- func (m *MetricsServing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MetricsServing) XXX_Merge(src proto.Message)
- func (m *MetricsServing) XXX_Size() int
- func (m *MetricsServing) XXX_Unmarshal(b []byte) error
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetBuildHistory() []*BuildRecord
- func (m *Resource) GetCurrentBuild() *BuildRecord
- func (m *Resource) GetEndpointLinks() []*Link
- func (m *Resource) GetHasPendingChanges() bool
- func (m *Resource) GetIsTiltfile() bool
- func (m *Resource) GetK8SResourceInfo() *K8SResourceInfo
- func (m *Resource) GetLastDeployTime() *timestamp.Timestamp
- func (m *Resource) GetLocalResourceInfo() *LocalResourceInfo
- func (m *Resource) GetName() string
- func (m *Resource) GetPendingBuildSince() *timestamp.Timestamp
- func (m *Resource) GetPodID() string
- func (m *Resource) GetQueued() bool
- func (m *Resource) GetRuntimeStatus() string
- func (m *Resource) GetSpecs() []*TargetSpec
- func (m *Resource) GetTriggerMode() int32
- func (m *Resource) GetUpdateStatus() string
- func (*Resource) ProtoMessage()
- func (m *Resource) Reset()
- func (m *Resource) String() string
- func (m *Resource) XXX_DiscardUnknown()
- func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resource) XXX_Merge(src proto.Message)
- func (m *Resource) XXX_Size() int
- func (m *Resource) XXX_Unmarshal(b []byte) error
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetIsSidebarClosed() bool
- func (m *Snapshot) GetPath() string
- func (m *Snapshot) GetSnapshotHighlight() *SnapshotHighlight
- func (m *Snapshot) GetSnapshotLink() string
- func (m *Snapshot) GetView() *View
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) String() string
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
- type SnapshotHighlight
- func (*SnapshotHighlight) Descriptor() ([]byte, []int)
- func (m *SnapshotHighlight) GetBeginningLogID() string
- func (m *SnapshotHighlight) GetEndingLogID() string
- func (m *SnapshotHighlight) GetText() string
- func (*SnapshotHighlight) ProtoMessage()
- func (m *SnapshotHighlight) Reset()
- func (m *SnapshotHighlight) String() string
- func (m *SnapshotHighlight) XXX_DiscardUnknown()
- func (m *SnapshotHighlight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SnapshotHighlight) XXX_Merge(src proto.Message)
- func (m *SnapshotHighlight) XXX_Size() int
- func (m *SnapshotHighlight) XXX_Unmarshal(b []byte) error
- type TargetSpec
- func (*TargetSpec) Descriptor() ([]byte, []int)
- func (m *TargetSpec) GetHasLiveUpdate() bool
- func (m *TargetSpec) GetId() string
- func (m *TargetSpec) GetType() TargetType
- func (*TargetSpec) ProtoMessage()
- func (m *TargetSpec) Reset()
- func (m *TargetSpec) String() string
- func (m *TargetSpec) XXX_DiscardUnknown()
- func (m *TargetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TargetSpec) XXX_Merge(src proto.Message)
- func (m *TargetSpec) XXX_Size() int
- func (m *TargetSpec) XXX_Unmarshal(b []byte) error
- type TargetType
- type TiltBuild
- func (*TiltBuild) Descriptor() ([]byte, []int)
- func (m *TiltBuild) GetCommitSHA() string
- func (m *TiltBuild) GetDate() string
- func (m *TiltBuild) GetDev() bool
- func (m *TiltBuild) GetVersion() string
- func (*TiltBuild) ProtoMessage()
- func (m *TiltBuild) Reset()
- func (m *TiltBuild) String() string
- func (m *TiltBuild) XXX_DiscardUnknown()
- func (m *TiltBuild) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TiltBuild) XXX_Merge(src proto.Message)
- func (m *TiltBuild) XXX_Size() int
- func (m *TiltBuild) XXX_Unmarshal(b []byte) error
- type UnimplementedViewServiceServer
- type UnimplementedWebsocketServiceServer
- type UploadSnapshotResponse
- func (*UploadSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *UploadSnapshotResponse) GetUrl() string
- func (*UploadSnapshotResponse) ProtoMessage()
- func (m *UploadSnapshotResponse) Reset()
- func (m *UploadSnapshotResponse) String() string
- func (m *UploadSnapshotResponse) XXX_DiscardUnknown()
- func (m *UploadSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UploadSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *UploadSnapshotResponse) XXX_Size() int
- func (m *UploadSnapshotResponse) XXX_Unmarshal(b []byte) error
- type VersionSettings
- func (*VersionSettings) Descriptor() ([]byte, []int)
- func (m *VersionSettings) GetCheckUpdates() bool
- func (*VersionSettings) ProtoMessage()
- func (m *VersionSettings) Reset()
- func (m *VersionSettings) String() string
- func (m *VersionSettings) XXX_DiscardUnknown()
- func (m *VersionSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionSettings) XXX_Merge(src proto.Message)
- func (m *VersionSettings) XXX_Size() int
- func (m *VersionSettings) XXX_Unmarshal(b []byte) error
- type View
- func (*View) Descriptor() ([]byte, []int)
- func (m *View) GetDEPRECATEDLatestTiltBuild() *TiltBuild
- func (m *View) GetDEPRECATEDLogTimestamps() bool
- func (m *View) GetFatalError() string
- func (m *View) GetFeatureFlags() map[string]bool
- func (m *View) GetIsComplete() bool
- func (m *View) GetLog() string
- func (m *View) GetLogList() *LogList
- func (m *View) GetNeedsAnalyticsNudge() bool
- func (m *View) GetResources() []*Resource
- func (m *View) GetRunningTiltBuild() *TiltBuild
- func (m *View) GetSuggestedTiltVersion() string
- func (m *View) GetTiltCloudSchemeHost() string
- func (m *View) GetTiltCloudTeamID() string
- func (m *View) GetTiltCloudTeamName() string
- func (m *View) GetTiltCloudUsername() string
- func (m *View) GetTiltStartTime() *timestamp.Timestamp
- func (m *View) GetTiltfileKey() string
- func (m *View) GetUiResources() []*v1alpha1.UIResource
- func (m *View) GetUiSession() *v1alpha1.UISession
- func (m *View) GetVersionSettings() *VersionSettings
- func (*View) ProtoMessage()
- func (m *View) Reset()
- func (m *View) String() string
- func (m *View) XXX_DiscardUnknown()
- func (m *View) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *View) XXX_Merge(src proto.Message)
- func (m *View) XXX_Size() int
- func (m *View) XXX_Unmarshal(b []byte) error
- type ViewServiceClient
- type ViewServiceServer
- type WebsocketServiceClient
- type WebsocketServiceServer
Constants ¶
This section is empty.
Variables ¶
var LogLevel_name = map[int32]string{
0: "NONE",
1: "INFO",
2: "VERBOSE",
3: "DEBUG",
4: "WARN",
5: "ERROR",
}
var LogLevel_value = map[string]int32{
"NONE": 0,
"INFO": 1,
"VERBOSE": 2,
"DEBUG": 3,
"WARN": 4,
"ERROR": 5,
}
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",
}
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:
- On initialization, we send down the complete view state
- 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 ¶ added in v0.17.7
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) ProtoMessage ¶ added in v0.17.7
func (*Link) ProtoMessage()
func (*Link) XXX_DiscardUnknown ¶ added in v0.17.7
func (m *Link) XXX_DiscardUnknown()
func (*Link) XXX_Marshal ¶ added in v0.17.7
func (*Link) XXX_Unmarshal ¶ added in v0.17.7
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
func (LogLevel) EnumDescriptor ¶ added in v0.10.25
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) GetFromCheckpoint ¶ added in v0.10.25
func (*LogList) GetSegments ¶ added in v0.10.24
func (m *LogList) GetSegments() []*LogSegment
func (*LogList) GetToCheckpoint ¶ added in v0.10.25
func (*LogList) ProtoMessage ¶ added in v0.10.24
func (*LogList) ProtoMessage()
func (*LogList) XXX_DiscardUnknown ¶ added in v0.10.24
func (m *LogList) XXX_DiscardUnknown()
func (*LogList) XXX_Marshal ¶ added in v0.10.24
func (*LogList) XXX_Unmarshal ¶ added in v0.10.24
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) GetManifestName ¶ added in v0.10.24
func (*LogSpan) ProtoMessage ¶ added in v0.10.24
func (*LogSpan) ProtoMessage()
func (*LogSpan) XXX_DiscardUnknown ¶ added in v0.10.24
func (m *LogSpan) XXX_DiscardUnknown()
func (*LogSpan) XXX_Marshal ¶ added in v0.10.24
func (*LogSpan) XXX_Unmarshal ¶ added in v0.10.24
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) GetBuildHistory ¶
func (m *Resource) GetBuildHistory() []*BuildRecord
func (*Resource) GetCurrentBuild ¶
func (m *Resource) GetCurrentBuild() *BuildRecord
func (*Resource) GetEndpointLinks ¶ added in v0.17.7
func (*Resource) GetHasPendingChanges ¶
func (*Resource) GetIsTiltfile ¶
func (*Resource) GetK8SResourceInfo ¶
func (m *Resource) GetK8SResourceInfo() *K8SResourceInfo
func (*Resource) GetLastDeployTime ¶
func (*Resource) GetLocalResourceInfo ¶
func (m *Resource) GetLocalResourceInfo() *LocalResourceInfo
func (*Resource) GetPendingBuildSince ¶
func (*Resource) GetRuntimeStatus ¶
func (*Resource) GetSpecs ¶ added in v0.14.0
func (m *Resource) GetSpecs() []*TargetSpec
func (*Resource) GetTriggerMode ¶
func (*Resource) GetUpdateStatus ¶ added in v0.18.4
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) XXX_DiscardUnknown ¶
func (m *Resource) XXX_DiscardUnknown()
func (*Resource) XXX_Marshal ¶
func (*Resource) XXX_Unmarshal ¶
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) GetIsSidebarClosed ¶ added in v0.10.16
func (*Snapshot) GetSnapshotHighlight ¶ added in v0.10.16
func (m *Snapshot) GetSnapshotHighlight() *SnapshotHighlight
func (*Snapshot) GetSnapshotLink ¶ added in v0.10.16
func (*Snapshot) ProtoMessage ¶ added in v0.10.16
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶ added in v0.10.16
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶ added in v0.10.16
func (*Snapshot) XXX_Unmarshal ¶ added in v0.10.16
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) GetCommitSHA ¶
func (*TiltBuild) GetVersion ¶
func (*TiltBuild) ProtoMessage ¶
func (*TiltBuild) ProtoMessage()
func (*TiltBuild) XXX_DiscardUnknown ¶
func (m *TiltBuild) XXX_DiscardUnknown()
func (*TiltBuild) XXX_Marshal ¶
func (*TiltBuild) XXX_Unmarshal ¶
type UnimplementedViewServiceServer ¶
type UnimplementedViewServiceServer struct { }
UnimplementedViewServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedViewServiceServer) GetView ¶
func (*UnimplementedViewServiceServer) GetView(ctx context.Context, req *GetViewRequest) (*View, error)
func (*UnimplementedViewServiceServer) UploadSnapshot ¶ added in v0.10.16
func (*UnimplementedViewServiceServer) UploadSnapshot(ctx context.Context, req *Snapshot) (*UploadSnapshotResponse, error)
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
func (*UnimplementedWebsocketServiceServer) AckWebsocket(ctx context.Context, req *AckWebsocketRequest) (*AckWebsocketResponse, error)
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"` // 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:
- On initialization, we send down the complete view state (TiltStartTime, UISession, UIResources, and LogList)
- 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) GetDEPRECATEDLatestTiltBuild ¶ added in v0.14.0
func (*View) GetDEPRECATEDLogTimestamps ¶ added in v0.10.22
func (*View) GetFatalError ¶
func (*View) GetFeatureFlags ¶
func (*View) GetIsComplete ¶ added in v0.20.7
func (*View) GetLogList ¶ added in v0.10.24
func (*View) GetNeedsAnalyticsNudge ¶
func (*View) GetResources ¶
func (*View) GetRunningTiltBuild ¶
func (*View) GetSuggestedTiltVersion ¶ added in v0.14.0
func (*View) GetTiltCloudSchemeHost ¶
func (*View) GetTiltCloudTeamID ¶
func (*View) GetTiltCloudTeamName ¶ added in v0.14.0
func (*View) GetTiltCloudUsername ¶
func (*View) GetTiltStartTime ¶ added in v0.10.25
func (*View) GetTiltfileKey ¶ added in v0.17.10
func (*View) GetUiResources ¶ added in v0.20.2
func (m *View) GetUiResources() []*v1alpha1.UIResource
func (*View) GetUiSession ¶ added in v0.20.2
func (*View) GetVersionSettings ¶ added in v0.10.19
func (m *View) GetVersionSettings() *VersionSettings
func (*View) ProtoMessage ¶
func (*View) ProtoMessage()
func (*View) XXX_DiscardUnknown ¶
func (m *View) XXX_DiscardUnknown()
func (*View) XXX_Unmarshal ¶
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.