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) GetEdits() []string
- 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) GetUpdateTypes() []UpdateType
- 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 DCResourceInfo
- func (*DCResourceInfo) Descriptor() ([]byte, []int)
- func (m *DCResourceInfo) GetConfigPaths() []string
- func (m *DCResourceInfo) GetContainerID() string
- func (m *DCResourceInfo) GetContainerStatus() string
- func (m *DCResourceInfo) GetSpanId() string
- func (m *DCResourceInfo) GetStartTime() *timestamp.Timestamp
- func (*DCResourceInfo) ProtoMessage()
- func (m *DCResourceInfo) Reset()
- func (m *DCResourceInfo) String() string
- func (m *DCResourceInfo) XXX_DiscardUnknown()
- func (m *DCResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DCResourceInfo) XXX_Merge(src proto.Message)
- func (m *DCResourceInfo) XXX_Size() int
- func (m *DCResourceInfo) XXX_Unmarshal(b []byte) error
- type Facet
- func (*Facet) Descriptor() ([]byte, []int)
- func (m *Facet) GetName() string
- func (m *Facet) GetSpanId() string
- func (m *Facet) GetValue() string
- func (*Facet) ProtoMessage()
- func (m *Facet) Reset()
- func (m *Facet) String() string
- func (m *Facet) XXX_DiscardUnknown()
- func (m *Facet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Facet) XXX_Merge(src proto.Message)
- func (m *Facet) XXX_Size() int
- func (m *Facet) 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) GetCrashLog() string
- func (m *Resource) GetCrashLogSpanId() string
- func (m *Resource) GetCurrentBuild() *BuildRecord
- func (m *Resource) GetDcResourceInfo() *DCResourceInfo
- func (m *Resource) GetEndpointLinks() []*Link
- func (m *Resource) GetFacets() []*Facet
- 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) GetPendingBuildEdits() []string
- func (m *Resource) GetPendingBuildReason() int32
- func (m *Resource) GetPendingBuildSince() *timestamp.Timestamp
- func (m *Resource) GetPodID() string
- func (m *Resource) GetQueued() bool
- func (m *Resource) GetRuntimeStatus() string
- func (m *Resource) GetShowBuildStatus() bool
- func (m *Resource) GetSpecs() []*TargetSpec
- func (m *Resource) GetTriggerMode() int32
- func (m *Resource) GetUpdateStatus() string
- func (m *Resource) GetYamlResourceInfo() *YAMLResourceInfo
- 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 UpdateType
- 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) GetLog() string
- func (m *View) GetLogList() *LogList
- func (m *View) GetMetricsServing() *MetricsServing
- 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) 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
- type YAMLResourceInfo
- func (*YAMLResourceInfo) Descriptor() ([]byte, []int)
- func (m *YAMLResourceInfo) GetK8SResources() []string
- func (*YAMLResourceInfo) ProtoMessage()
- func (m *YAMLResourceInfo) Reset()
- func (m *YAMLResourceInfo) String() string
- func (m *YAMLResourceInfo) XXX_DiscardUnknown()
- func (m *YAMLResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *YAMLResourceInfo) XXX_Merge(src proto.Message)
- func (m *YAMLResourceInfo) XXX_Size() int
- func (m *YAMLResourceInfo) XXX_Unmarshal(b []byte) error
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,
}
var UpdateType_name = map[int32]string{
0: "UPDATE_TYPE_UNSPECIFIED",
1: "UPDATE_TYPE_IMAGE",
2: "UPDATE_TYPE_LIVE_UPDATE",
3: "UPDATE_TYPE_DOCKER_COMPOSE",
4: "UPDATE_TYPE_K8S",
5: "UPDATE_TYPE_LOCAL",
}
var UpdateType_value = map[string]int32{
"UPDATE_TYPE_UNSPECIFIED": 0,
"UPDATE_TYPE_IMAGE": 1,
"UPDATE_TYPE_LIVE_UPDATE": 2,
"UPDATE_TYPE_DOCKER_COMPOSE": 3,
"UPDATE_TYPE_K8S": 4,
"UPDATE_TYPE_LOCAL": 5,
}
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:"-"`
}
The webclient needs to notify the server what logs it has, so the server knows what to send.
The socket protocol doesn't have any concept of a StatusCode to confirm that the receiver got the message, so we need to send this in a separate message.
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) 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) 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 {
Edits []string `protobuf:"bytes,1,rep,name=edits,proto3" json:"edits,omitempty"`
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"`
UpdateTypes []UpdateType `` /* 126-byte string literal not displayed */
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) GetFinishTime ¶
func (m *BuildRecord) GetFinishTime() *timestamp.Timestamp
func (*BuildRecord) GetIsCrashRebuild ¶
func (m *BuildRecord) GetIsCrashRebuild() bool
func (*BuildRecord) GetStartTime ¶
func (m *BuildRecord) GetStartTime() *timestamp.Timestamp
func (*BuildRecord) GetUpdateTypes ¶ added in v0.14.0
func (m *BuildRecord) GetUpdateTypes() []UpdateType
func (*BuildRecord) GetWarnings ¶
func (m *BuildRecord) GetWarnings() []string
func (*BuildRecord) ProtoMessage ¶
func (*BuildRecord) ProtoMessage()
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_Unmarshal ¶
func (m *BuildRecord) XXX_Unmarshal(b []byte) error
type DCResourceInfo ¶
type DCResourceInfo struct {
ConfigPaths []string `protobuf:"bytes,1,rep,name=config_paths,json=configPaths,proto3" json:"config_paths,omitempty"`
ContainerStatus string `protobuf:"bytes,2,opt,name=container_status,json=containerStatus,proto3" json:"container_status,omitempty"`
ContainerID string `protobuf:"bytes,3,opt,name=containerID,proto3" json:"containerID,omitempty"`
StartTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The span id for this docker-compose service's logs in the main logstore
SpanId string `protobuf:"bytes,6,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DCResourceInfo) Descriptor ¶
func (*DCResourceInfo) Descriptor() ([]byte, []int)
func (*DCResourceInfo) GetConfigPaths ¶
func (m *DCResourceInfo) GetConfigPaths() []string
func (*DCResourceInfo) GetContainerID ¶
func (m *DCResourceInfo) GetContainerID() string
func (*DCResourceInfo) GetContainerStatus ¶
func (m *DCResourceInfo) GetContainerStatus() string
func (*DCResourceInfo) GetStartTime ¶
func (m *DCResourceInfo) GetStartTime() *timestamp.Timestamp
func (*DCResourceInfo) ProtoMessage ¶
func (*DCResourceInfo) ProtoMessage()
func (*DCResourceInfo) XXX_DiscardUnknown ¶
func (m *DCResourceInfo) XXX_DiscardUnknown()
func (*DCResourceInfo) XXX_Marshal ¶
func (m *DCResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DCResourceInfo) XXX_Unmarshal ¶
func (m *DCResourceInfo) XXX_Unmarshal(b []byte) error
type Facet ¶ added in v0.10.16
type Facet struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// If span_id is non-empty, that means the value is in the logstore
// instead of in the value field.
SpanId string `protobuf:"bytes,3,opt,name=span_id,json=spanId,proto3" json:"span_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Facet) Descriptor ¶ added in v0.10.16
func (*Facet) Descriptor() ([]byte, []int)
func (*Facet) ProtoMessage ¶ added in v0.10.16
func (*Facet) ProtoMessage()
func (*Facet) XXX_DiscardUnknown ¶ added in v0.10.16
func (m *Facet) XXX_DiscardUnknown()
func (*Facet) XXX_Marshal ¶ added in v0.10.16
func (m *Facet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Facet) XXX_Unmarshal ¶ added in v0.10.16
func (m *Facet) 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) 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_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) ProtoMessage ¶
func (*K8SResourceInfo) ProtoMessage()
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_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) Descriptor() ([]byte, []int)
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 (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
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) ProtoMessage ¶
func (*LocalResourceInfo) ProtoMessage()
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_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)
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) GetToCheckpoint ¶ added in v0.10.25
func (m *LogList) GetToCheckpoint() int32
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 (m *LogList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
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) ProtoMessage ¶ added in v0.10.24
func (*LogSegment) ProtoMessage()
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_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) 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_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) ProtoMessage ¶ added in v0.17.13
func (*MetricsServing) ProtoMessage()
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_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"`
PendingBuildReason int32 `protobuf:"varint,8,opt,name=pending_build_reason,json=pendingBuildReason,proto3" json:"pending_build_reason,omitempty"`
PendingBuildEdits []string `protobuf:"bytes,9,rep,name=pending_build_edits,json=pendingBuildEdits,proto3" json:"pending_build_edits,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"`
DcResourceInfo *DCResourceInfo `protobuf:"bytes,15,opt,name=dc_resource_info,json=dcResourceInfo,proto3" json:"dc_resource_info,omitempty"`
YamlResourceInfo *YAMLResourceInfo `protobuf:"bytes,16,opt,name=yaml_resource_info,json=yamlResourceInfo,proto3" json:"yaml_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"`
ShowBuildStatus bool `protobuf:"varint,20,opt,name=show_build_status,json=showBuildStatus,proto3" json:"show_build_status,omitempty"`
// Obsoleted by crash_log_span_id.
CrashLog string `protobuf:"bytes,22,opt,name=crash_log,json=crashLog,proto3" json:"crash_log,omitempty"`
// A span id for the log that crashed.
CrashLogSpanId string `protobuf:"bytes,26,opt,name=crash_log_span_id,json=crashLogSpanId,proto3" json:"crash_log_span_id,omitempty"`
Facets []*Facet `protobuf:"bytes,24,rep,name=facets,proto3" json:"facets,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) GetCrashLog ¶
func (m *Resource) GetCrashLog() string
func (*Resource) GetCrashLogSpanId ¶ added in v0.14.0
func (m *Resource) GetCrashLogSpanId() string
func (*Resource) GetCurrentBuild ¶
func (m *Resource) GetCurrentBuild() *BuildRecord
func (*Resource) GetDcResourceInfo ¶
func (m *Resource) GetDcResourceInfo() *DCResourceInfo
func (*Resource) GetEndpointLinks ¶ added in v0.17.7
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) GetPendingBuildEdits ¶
func (m *Resource) GetPendingBuildEdits() []string
func (*Resource) GetPendingBuildReason ¶
func (m *Resource) GetPendingBuildReason() int32
func (*Resource) GetPendingBuildSince ¶
func (m *Resource) GetPendingBuildSince() *timestamp.Timestamp
func (*Resource) GetRuntimeStatus ¶
func (m *Resource) GetRuntimeStatus() string
func (*Resource) GetShowBuildStatus ¶
func (m *Resource) GetShowBuildStatus() bool
func (*Resource) GetTriggerMode ¶
func (m *Resource) GetTriggerMode() int32
func (*Resource) GetUpdateStatus ¶ added in v0.18.4
func (m *Resource) GetUpdateStatus() string
func (*Resource) GetYamlResourceInfo ¶
func (m *Resource) GetYamlResourceInfo() *YAMLResourceInfo
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
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_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) GetSnapshotHighlight ¶ added in v0.10.16
func (m *Snapshot) GetSnapshotHighlight() *SnapshotHighlight
func (*Snapshot) GetSnapshotLink ¶ added in v0.10.16
func (m *Snapshot) GetSnapshotLink() string
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 (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
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) ProtoMessage ¶ added in v0.10.16
func (*SnapshotHighlight) ProtoMessage()
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_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) ProtoMessage ¶ added in v0.14.0
func (*TargetSpec) ProtoMessage()
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_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)
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) GetVersion ¶
func (m *TiltBuild) GetVersion() string
func (*TiltBuild) ProtoMessage ¶
func (*TiltBuild) ProtoMessage()
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_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) 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 UpdateType ¶ added in v0.14.0
type UpdateType int32
Correspond to BuildAndDeployers
const (
UpdateType_UPDATE_TYPE_UNSPECIFIED UpdateType = 0
UpdateType_UPDATE_TYPE_IMAGE UpdateType = 1
UpdateType_UPDATE_TYPE_LIVE_UPDATE UpdateType = 2
UpdateType_UPDATE_TYPE_DOCKER_COMPOSE UpdateType = 3
UpdateType_UPDATE_TYPE_K8S UpdateType = 4
UpdateType_UPDATE_TYPE_LOCAL UpdateType = 5
)
func (UpdateType) EnumDescriptor ¶ added in v0.14.0
func (UpdateType) EnumDescriptor() ([]byte, []int)
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) 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) 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_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"`
MetricsServing *MetricsServing `protobuf:"bytes,18,opt,name=metrics_serving,json=metricsServing,proto3" json:"metrics_serving,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
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) GetLogList ¶ added in v0.10.24
func (m *View) GetLogList() *LogList
func (*View) GetMetricsServing ¶ added in v0.17.13
func (m *View) GetMetricsServing() *MetricsServing
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) 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_Marshal ¶
func (m *View) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
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.
type YAMLResourceInfo ¶
type YAMLResourceInfo struct {
K8SResources []string `protobuf:"bytes,1,rep,name=k8s_resources,json=k8sResources,proto3" json:"k8s_resources,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*YAMLResourceInfo) Descriptor ¶
func (*YAMLResourceInfo) Descriptor() ([]byte, []int)
func (*YAMLResourceInfo) GetK8SResources ¶
func (m *YAMLResourceInfo) GetK8SResources() []string
func (*YAMLResourceInfo) ProtoMessage ¶
func (*YAMLResourceInfo) ProtoMessage()
func (*YAMLResourceInfo) XXX_DiscardUnknown ¶
func (m *YAMLResourceInfo) XXX_DiscardUnknown()
func (*YAMLResourceInfo) XXX_Marshal ¶
func (m *YAMLResourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*YAMLResourceInfo) XXX_Unmarshal ¶
func (m *YAMLResourceInfo) XXX_Unmarshal(b []byte) error