Documentation ¶
Index ¶
- Variables
- func RegisterViewServiceServer(s grpc.ServiceRegistrar, srv ViewServiceServer)
- func RegisterWebsocketServiceServer(s grpc.ServiceRegistrar, srv WebsocketServiceServer)
- type AckWebsocketRequest
- func (*AckWebsocketRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AckWebsocketRequest) GetTiltStartTime() *timestamppb.Timestamp
- func (x *AckWebsocketRequest) GetToCheckpoint() int32
- func (*AckWebsocketRequest) ProtoMessage()
- func (x *AckWebsocketRequest) ProtoReflect() protoreflect.Message
- func (x *AckWebsocketRequest) Reset()
- func (x *AckWebsocketRequest) String() string
- type AckWebsocketResponse
- type BuildRecord
- func (*BuildRecord) Descriptor() ([]byte, []int)deprecated
- func (x *BuildRecord) GetError() string
- func (x *BuildRecord) GetFinishTime() *timestamppb.Timestamp
- func (x *BuildRecord) GetIsCrashRebuild() bool
- func (x *BuildRecord) GetSpanId() string
- func (x *BuildRecord) GetStartTime() *timestamppb.Timestamp
- func (x *BuildRecord) GetWarnings() []string
- func (*BuildRecord) ProtoMessage()
- func (x *BuildRecord) ProtoReflect() protoreflect.Message
- func (x *BuildRecord) Reset()
- func (x *BuildRecord) String() string
- type GetViewRequest
- type K8SResourceInfo
- func (*K8SResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *K8SResourceInfo) GetAllContainersReady() bool
- func (x *K8SResourceInfo) GetDisplayNames() []string
- func (x *K8SResourceInfo) GetPodCreationTime() string
- func (x *K8SResourceInfo) GetPodName() string
- func (x *K8SResourceInfo) GetPodRestarts() int32
- func (x *K8SResourceInfo) GetPodStatus() string
- func (x *K8SResourceInfo) GetPodStatusMessage() string
- func (x *K8SResourceInfo) GetPodUpdateStartTime() string
- func (x *K8SResourceInfo) GetSpanId() string
- func (*K8SResourceInfo) ProtoMessage()
- func (x *K8SResourceInfo) ProtoReflect() protoreflect.Message
- func (x *K8SResourceInfo) Reset()
- func (x *K8SResourceInfo) String() string
- type Link
- type LocalResourceInfo
- func (*LocalResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LocalResourceInfo) GetIsTest() bool
- func (x *LocalResourceInfo) GetPid() int64
- func (*LocalResourceInfo) ProtoMessage()
- func (x *LocalResourceInfo) ProtoReflect() protoreflect.Message
- func (x *LocalResourceInfo) Reset()
- func (x *LocalResourceInfo) String() string
- type LogLevel
- type LogList
- func (*LogList) Descriptor() ([]byte, []int)deprecated
- func (x *LogList) GetFromCheckpoint() int32
- func (x *LogList) GetSegments() []*LogSegment
- func (x *LogList) GetSpans() map[string]*LogSpan
- func (x *LogList) GetToCheckpoint() int32
- func (*LogList) ProtoMessage()
- func (x *LogList) ProtoReflect() protoreflect.Message
- func (x *LogList) Reset()
- func (x *LogList) String() string
- type LogSegment
- func (*LogSegment) Descriptor() ([]byte, []int)deprecated
- func (x *LogSegment) GetAnchor() bool
- func (x *LogSegment) GetFields() map[string]string
- func (x *LogSegment) GetLevel() LogLevel
- func (x *LogSegment) GetSpanId() string
- func (x *LogSegment) GetText() string
- func (x *LogSegment) GetTime() *timestamppb.Timestamp
- func (*LogSegment) ProtoMessage()
- func (x *LogSegment) ProtoReflect() protoreflect.Message
- func (x *LogSegment) Reset()
- func (x *LogSegment) String() string
- type LogSpan
- type MetricsServing
- func (*MetricsServing) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsServing) GetGrafanaHost() string
- func (x *MetricsServing) GetMode() string
- func (*MetricsServing) ProtoMessage()
- func (x *MetricsServing) ProtoReflect() protoreflect.Message
- func (x *MetricsServing) Reset()
- func (x *MetricsServing) String() string
- type Resource
- func (*Resource) Descriptor() ([]byte, []int)deprecated
- func (x *Resource) GetBuildHistory() []*BuildRecord
- func (x *Resource) GetCurrentBuild() *BuildRecord
- func (x *Resource) GetEndpointLinks() []*Link
- func (x *Resource) GetHasPendingChanges() bool
- func (x *Resource) GetIsTiltfile() bool
- func (x *Resource) GetK8SResourceInfo() *K8SResourceInfo
- func (x *Resource) GetLastDeployTime() *timestamppb.Timestamp
- func (x *Resource) GetLocalResourceInfo() *LocalResourceInfo
- func (x *Resource) GetName() string
- func (x *Resource) GetPendingBuildSince() *timestamppb.Timestamp
- func (x *Resource) GetPodID() string
- func (x *Resource) GetQueued() bool
- func (x *Resource) GetRuntimeStatus() string
- func (x *Resource) GetSpecs() []*TargetSpec
- func (x *Resource) GetTriggerMode() int32
- func (x *Resource) GetUpdateStatus() string
- func (*Resource) ProtoMessage()
- func (x *Resource) ProtoReflect() protoreflect.Message
- func (x *Resource) Reset()
- func (x *Resource) String() string
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)deprecated
- func (x *Snapshot) GetCreatedAt() *timestamppb.Timestamp
- func (x *Snapshot) GetIsSidebarClosed() bool
- func (x *Snapshot) GetPath() string
- func (x *Snapshot) GetSnapshotHighlight() *SnapshotHighlight
- func (x *Snapshot) GetSnapshotLink() string
- func (x *Snapshot) GetView() *View
- func (*Snapshot) ProtoMessage()
- func (x *Snapshot) ProtoReflect() protoreflect.Message
- func (x *Snapshot) Reset()
- func (x *Snapshot) String() string
- type SnapshotHighlight
- func (*SnapshotHighlight) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotHighlight) GetBeginningLogID() string
- func (x *SnapshotHighlight) GetEndingLogID() string
- func (x *SnapshotHighlight) GetText() string
- func (*SnapshotHighlight) ProtoMessage()
- func (x *SnapshotHighlight) ProtoReflect() protoreflect.Message
- func (x *SnapshotHighlight) Reset()
- func (x *SnapshotHighlight) String() string
- type TargetSpec
- func (*TargetSpec) Descriptor() ([]byte, []int)deprecated
- func (x *TargetSpec) GetHasLiveUpdate() bool
- func (x *TargetSpec) GetId() string
- func (x *TargetSpec) GetType() TargetType
- func (*TargetSpec) ProtoMessage()
- func (x *TargetSpec) ProtoReflect() protoreflect.Message
- func (x *TargetSpec) Reset()
- func (x *TargetSpec) String() string
- type TargetType
- type TiltBuild
- func (*TiltBuild) Descriptor() ([]byte, []int)deprecated
- func (x *TiltBuild) GetCommitSHA() string
- func (x *TiltBuild) GetDate() string
- func (x *TiltBuild) GetDev() bool
- func (x *TiltBuild) GetVersion() string
- func (*TiltBuild) ProtoMessage()
- func (x *TiltBuild) ProtoReflect() protoreflect.Message
- func (x *TiltBuild) Reset()
- func (x *TiltBuild) String() string
- type UnimplementedViewServiceServer
- type UnimplementedWebsocketServiceServer
- type UnsafeViewServiceServer
- type UnsafeWebsocketServiceServer
- type UploadSnapshotResponse
- func (*UploadSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadSnapshotResponse) GetUrl() string
- func (*UploadSnapshotResponse) ProtoMessage()
- func (x *UploadSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *UploadSnapshotResponse) Reset()
- func (x *UploadSnapshotResponse) String() string
- type VersionSettings
- type View
- func (*View) Descriptor() ([]byte, []int)deprecated
- func (x *View) GetClusters() []*v1alpha1.Cluster
- func (x *View) GetDEPRECATEDLatestTiltBuild() *TiltBuild
- func (x *View) GetDEPRECATEDLogTimestamps() bool
- func (x *View) GetFatalError() string
- func (x *View) GetFeatureFlags() map[string]bool
- func (x *View) GetIsComplete() bool
- func (x *View) GetLog() string
- func (x *View) GetLogList() *LogList
- func (x *View) GetNeedsAnalyticsNudge() bool
- func (x *View) GetResources() []*Resource
- func (x *View) GetRunningTiltBuild() *TiltBuild
- func (x *View) GetSuggestedTiltVersion() string
- func (x *View) GetTiltCloudSchemeHost() string
- func (x *View) GetTiltCloudTeamID() string
- func (x *View) GetTiltCloudTeamName() string
- func (x *View) GetTiltCloudUsername() string
- func (x *View) GetTiltStartTime() *timestamppb.Timestamp
- func (x *View) GetTiltfileKey() string
- func (x *View) GetUiButtons() []*v1alpha1.UIButton
- func (x *View) GetUiResources() []*v1alpha1.UIResource
- func (x *View) GetUiSession() *v1alpha1.UISession
- func (x *View) GetVersionSettings() *VersionSettings
- func (*View) ProtoMessage()
- func (x *View) ProtoReflect() protoreflect.Message
- func (x *View) Reset()
- func (x *View) String() string
- 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", } LogLevel_value = map[string]int32{ "NONE": 0, "INFO": 1, "VERBOSE": 2, "DEBUG": 3, "WARN": 4, "ERROR": 5, } )
Enum value maps for LogLevel.
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", } 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, } )
Enum value maps for TargetType.
var File_pkg_webview_log_proto protoreflect.FileDescriptor
var File_pkg_webview_view_proto protoreflect.FileDescriptor
var ViewService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "webview.ViewService", HandlerType: (*ViewServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetView", Handler: _ViewService_GetView_Handler, }, { MethodName: "UploadSnapshot", Handler: _ViewService_UploadSnapshot_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/webview/view.proto", }
ViewService_ServiceDesc is the grpc.ServiceDesc for ViewService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WebsocketService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "webview.WebsocketService", HandlerType: (*WebsocketServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AckWebsocket", Handler: _WebsocketService_AckWebsocket_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/webview/view.proto", }
WebsocketService_ServiceDesc is the grpc.ServiceDesc for WebsocketService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterViewServiceServer ¶
func RegisterViewServiceServer(s grpc.ServiceRegistrar, srv ViewServiceServer)
func RegisterWebsocketServiceServer ¶ added in v0.10.25
func RegisterWebsocketServiceServer(s grpc.ServiceRegistrar, 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 *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=tilt_start_time,json=tiltStartTime,proto3" json:"tilt_start_time,omitempty"` // contains filtered or unexported fields }
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
deprecated
added in
v0.10.25
func (*AckWebsocketRequest) Descriptor() ([]byte, []int)
Deprecated: Use AckWebsocketRequest.ProtoReflect.Descriptor instead.
func (*AckWebsocketRequest) GetTiltStartTime ¶ added in v0.10.25
func (x *AckWebsocketRequest) GetTiltStartTime() *timestamppb.Timestamp
func (*AckWebsocketRequest) GetToCheckpoint ¶ added in v0.10.25
func (x *AckWebsocketRequest) GetToCheckpoint() int32
func (*AckWebsocketRequest) ProtoMessage ¶ added in v0.10.25
func (*AckWebsocketRequest) ProtoMessage()
func (*AckWebsocketRequest) ProtoReflect ¶ added in v0.22.12
func (x *AckWebsocketRequest) ProtoReflect() protoreflect.Message
func (*AckWebsocketRequest) Reset ¶ added in v0.10.25
func (x *AckWebsocketRequest) Reset()
func (*AckWebsocketRequest) String ¶ added in v0.10.25
func (x *AckWebsocketRequest) String() string
type AckWebsocketResponse ¶ added in v0.10.25
type AckWebsocketResponse struct {
// contains filtered or unexported fields
}
func (*AckWebsocketResponse) Descriptor
deprecated
added in
v0.10.25
func (*AckWebsocketResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckWebsocketResponse.ProtoReflect.Descriptor instead.
func (*AckWebsocketResponse) ProtoMessage ¶ added in v0.10.25
func (*AckWebsocketResponse) ProtoMessage()
func (*AckWebsocketResponse) ProtoReflect ¶ added in v0.22.12
func (x *AckWebsocketResponse) ProtoReflect() protoreflect.Message
func (*AckWebsocketResponse) Reset ¶ added in v0.10.25
func (x *AckWebsocketResponse) Reset()
func (*AckWebsocketResponse) String ¶ added in v0.10.25
func (x *AckWebsocketResponse) String() string
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 *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` FinishTime *timestamppb.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"` // contains filtered or unexported fields }
func (*BuildRecord) Descriptor
deprecated
func (*BuildRecord) Descriptor() ([]byte, []int)
Deprecated: Use BuildRecord.ProtoReflect.Descriptor instead.
func (*BuildRecord) GetError ¶
func (x *BuildRecord) GetError() string
func (*BuildRecord) GetFinishTime ¶
func (x *BuildRecord) GetFinishTime() *timestamppb.Timestamp
func (*BuildRecord) GetIsCrashRebuild ¶
func (x *BuildRecord) GetIsCrashRebuild() bool
func (*BuildRecord) GetSpanId ¶ added in v0.10.25
func (x *BuildRecord) GetSpanId() string
func (*BuildRecord) GetStartTime ¶
func (x *BuildRecord) GetStartTime() *timestamppb.Timestamp
func (*BuildRecord) GetWarnings ¶
func (x *BuildRecord) GetWarnings() []string
func (*BuildRecord) ProtoMessage ¶
func (*BuildRecord) ProtoMessage()
func (*BuildRecord) ProtoReflect ¶ added in v0.22.12
func (x *BuildRecord) ProtoReflect() protoreflect.Message
func (*BuildRecord) Reset ¶
func (x *BuildRecord) Reset()
func (*BuildRecord) String ¶
func (x *BuildRecord) String() string
type GetViewRequest ¶
type GetViewRequest struct {
// contains filtered or unexported fields
}
func (*GetViewRequest) Descriptor
deprecated
func (*GetViewRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetViewRequest.ProtoReflect.Descriptor instead.
func (*GetViewRequest) ProtoMessage ¶
func (*GetViewRequest) ProtoMessage()
func (*GetViewRequest) ProtoReflect ¶ added in v0.22.12
func (x *GetViewRequest) ProtoReflect() protoreflect.Message
func (*GetViewRequest) Reset ¶
func (x *GetViewRequest) Reset()
func (*GetViewRequest) String ¶
func (x *GetViewRequest) String() string
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"` // contains filtered or unexported fields }
func (*K8SResourceInfo) Descriptor
deprecated
func (*K8SResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use K8SResourceInfo.ProtoReflect.Descriptor instead.
func (*K8SResourceInfo) GetAllContainersReady ¶
func (x *K8SResourceInfo) GetAllContainersReady() bool
func (*K8SResourceInfo) GetDisplayNames ¶ added in v0.14.1
func (x *K8SResourceInfo) GetDisplayNames() []string
func (*K8SResourceInfo) GetPodCreationTime ¶
func (x *K8SResourceInfo) GetPodCreationTime() string
func (*K8SResourceInfo) GetPodName ¶
func (x *K8SResourceInfo) GetPodName() string
func (*K8SResourceInfo) GetPodRestarts ¶
func (x *K8SResourceInfo) GetPodRestarts() int32
func (*K8SResourceInfo) GetPodStatus ¶
func (x *K8SResourceInfo) GetPodStatus() string
func (*K8SResourceInfo) GetPodStatusMessage ¶
func (x *K8SResourceInfo) GetPodStatusMessage() string
func (*K8SResourceInfo) GetPodUpdateStartTime ¶
func (x *K8SResourceInfo) GetPodUpdateStartTime() string
func (*K8SResourceInfo) GetSpanId ¶ added in v0.10.25
func (x *K8SResourceInfo) GetSpanId() string
func (*K8SResourceInfo) ProtoMessage ¶
func (*K8SResourceInfo) ProtoMessage()
func (*K8SResourceInfo) ProtoReflect ¶ added in v0.22.12
func (x *K8SResourceInfo) ProtoReflect() protoreflect.Message
func (*K8SResourceInfo) Reset ¶
func (x *K8SResourceInfo) Reset()
func (*K8SResourceInfo) String ¶
func (x *K8SResourceInfo) String() string
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"` // contains filtered or unexported fields }
func (*Link) Descriptor
deprecated
added in
v0.17.7
func (*Link) ProtoMessage ¶ added in v0.17.7
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶ added in v0.22.12
func (x *Link) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*LocalResourceInfo) Descriptor
deprecated
func (*LocalResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use LocalResourceInfo.ProtoReflect.Descriptor instead.
func (*LocalResourceInfo) GetIsTest ¶ added in v0.18.3
func (x *LocalResourceInfo) GetIsTest() bool
func (*LocalResourceInfo) GetPid ¶ added in v0.14.0
func (x *LocalResourceInfo) GetPid() int64
func (*LocalResourceInfo) ProtoMessage ¶
func (*LocalResourceInfo) ProtoMessage()
func (*LocalResourceInfo) ProtoReflect ¶ added in v0.22.12
func (x *LocalResourceInfo) ProtoReflect() protoreflect.Message
func (*LocalResourceInfo) Reset ¶
func (x *LocalResourceInfo) Reset()
func (*LocalResourceInfo) String ¶
func (x *LocalResourceInfo) String() string
type LogLevel ¶ added in v0.10.25
type LogLevel int32
func (LogLevel) Descriptor ¶ added in v0.22.12
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
added in
v0.10.25
func (LogLevel) Number ¶ added in v0.22.12
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶ added in v0.22.12
func (LogLevel) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*LogList) Descriptor
deprecated
added in
v0.10.24
func (*LogList) GetFromCheckpoint ¶ added in v0.10.25
func (*LogList) GetSegments ¶ added in v0.10.24
func (x *LogList) GetSegments() []*LogSegment
func (*LogList) GetToCheckpoint ¶ added in v0.10.25
func (*LogList) ProtoMessage ¶ added in v0.10.24
func (*LogList) ProtoMessage()
func (*LogList) ProtoReflect ¶ added in v0.22.12
func (x *LogList) ProtoReflect() protoreflect.Message
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 *timestamppb.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 */ // contains filtered or unexported fields }
func (*LogSegment) Descriptor
deprecated
added in
v0.10.24
func (*LogSegment) Descriptor() ([]byte, []int)
Deprecated: Use LogSegment.ProtoReflect.Descriptor instead.
func (*LogSegment) GetAnchor ¶ added in v0.14.0
func (x *LogSegment) GetAnchor() bool
func (*LogSegment) GetFields ¶ added in v0.14.0
func (x *LogSegment) GetFields() map[string]string
func (*LogSegment) GetLevel ¶ added in v0.10.25
func (x *LogSegment) GetLevel() LogLevel
func (*LogSegment) GetSpanId ¶ added in v0.10.24
func (x *LogSegment) GetSpanId() string
func (*LogSegment) GetText ¶ added in v0.10.24
func (x *LogSegment) GetText() string
func (*LogSegment) GetTime ¶ added in v0.10.24
func (x *LogSegment) GetTime() *timestamppb.Timestamp
func (*LogSegment) ProtoMessage ¶ added in v0.10.24
func (*LogSegment) ProtoMessage()
func (*LogSegment) ProtoReflect ¶ added in v0.22.12
func (x *LogSegment) ProtoReflect() protoreflect.Message
func (*LogSegment) Reset ¶ added in v0.10.24
func (x *LogSegment) Reset()
func (*LogSegment) String ¶ added in v0.10.24
func (x *LogSegment) String() string
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"` // contains filtered or unexported fields }
func (*LogSpan) Descriptor
deprecated
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) ProtoReflect ¶ added in v0.22.12
func (x *LogSpan) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*MetricsServing) Descriptor
deprecated
added in
v0.17.13
func (*MetricsServing) Descriptor() ([]byte, []int)
Deprecated: Use MetricsServing.ProtoReflect.Descriptor instead.
func (*MetricsServing) GetGrafanaHost ¶ added in v0.17.13
func (x *MetricsServing) GetGrafanaHost() string
func (*MetricsServing) GetMode ¶ added in v0.17.13
func (x *MetricsServing) GetMode() string
func (*MetricsServing) ProtoMessage ¶ added in v0.17.13
func (*MetricsServing) ProtoMessage()
func (*MetricsServing) ProtoReflect ¶ added in v0.22.12
func (x *MetricsServing) ProtoReflect() protoreflect.Message
func (*MetricsServing) Reset ¶ added in v0.17.13
func (x *MetricsServing) Reset()
func (*MetricsServing) String ¶ added in v0.17.13
func (x *MetricsServing) String() string
type Resource ¶
type Resource struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LastDeployTime *timestamppb.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 *timestamppb.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"` // contains filtered or unexported fields }
func (*Resource) Descriptor
deprecated
func (*Resource) GetBuildHistory ¶
func (x *Resource) GetBuildHistory() []*BuildRecord
func (*Resource) GetCurrentBuild ¶
func (x *Resource) GetCurrentBuild() *BuildRecord
func (*Resource) GetEndpointLinks ¶ added in v0.17.7
func (*Resource) GetHasPendingChanges ¶
func (*Resource) GetIsTiltfile ¶
func (*Resource) GetK8SResourceInfo ¶
func (x *Resource) GetK8SResourceInfo() *K8SResourceInfo
func (*Resource) GetLastDeployTime ¶
func (x *Resource) GetLastDeployTime() *timestamppb.Timestamp
func (*Resource) GetLocalResourceInfo ¶
func (x *Resource) GetLocalResourceInfo() *LocalResourceInfo
func (*Resource) GetPendingBuildSince ¶
func (x *Resource) GetPendingBuildSince() *timestamppb.Timestamp
func (*Resource) GetRuntimeStatus ¶
func (*Resource) GetSpecs ¶ added in v0.14.0
func (x *Resource) GetSpecs() []*TargetSpec
func (*Resource) GetTriggerMode ¶
func (*Resource) GetUpdateStatus ¶ added in v0.18.4
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶ added in v0.22.12
func (x *Resource) ProtoReflect() protoreflect.Message
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"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*Snapshot) Descriptor
deprecated
added in
v0.10.16
func (*Snapshot) GetCreatedAt ¶ added in v0.30.0
func (x *Snapshot) GetCreatedAt() *timestamppb.Timestamp
func (*Snapshot) GetIsSidebarClosed ¶ added in v0.10.16
func (*Snapshot) GetSnapshotHighlight ¶ added in v0.10.16
func (x *Snapshot) GetSnapshotHighlight() *SnapshotHighlight
func (*Snapshot) GetSnapshotLink ¶ added in v0.10.16
func (*Snapshot) ProtoMessage ¶ added in v0.10.16
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶ added in v0.22.12
func (x *Snapshot) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*SnapshotHighlight) Descriptor
deprecated
added in
v0.10.16
func (*SnapshotHighlight) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotHighlight.ProtoReflect.Descriptor instead.
func (*SnapshotHighlight) GetBeginningLogID ¶ added in v0.10.16
func (x *SnapshotHighlight) GetBeginningLogID() string
func (*SnapshotHighlight) GetEndingLogID ¶ added in v0.10.16
func (x *SnapshotHighlight) GetEndingLogID() string
func (*SnapshotHighlight) GetText ¶ added in v0.10.16
func (x *SnapshotHighlight) GetText() string
func (*SnapshotHighlight) ProtoMessage ¶ added in v0.10.16
func (*SnapshotHighlight) ProtoMessage()
func (*SnapshotHighlight) ProtoReflect ¶ added in v0.22.12
func (x *SnapshotHighlight) ProtoReflect() protoreflect.Message
func (*SnapshotHighlight) Reset ¶ added in v0.10.16
func (x *SnapshotHighlight) Reset()
func (*SnapshotHighlight) String ¶ added in v0.10.16
func (x *SnapshotHighlight) String() string
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"` // contains filtered or unexported fields }
func (*TargetSpec) Descriptor
deprecated
added in
v0.14.0
func (*TargetSpec) Descriptor() ([]byte, []int)
Deprecated: Use TargetSpec.ProtoReflect.Descriptor instead.
func (*TargetSpec) GetHasLiveUpdate ¶ added in v0.14.0
func (x *TargetSpec) GetHasLiveUpdate() bool
func (*TargetSpec) GetId ¶ added in v0.14.0
func (x *TargetSpec) GetId() string
func (*TargetSpec) GetType ¶ added in v0.14.0
func (x *TargetSpec) GetType() TargetType
func (*TargetSpec) ProtoMessage ¶ added in v0.14.0
func (*TargetSpec) ProtoMessage()
func (*TargetSpec) ProtoReflect ¶ added in v0.22.12
func (x *TargetSpec) ProtoReflect() protoreflect.Message
func (*TargetSpec) Reset ¶ added in v0.14.0
func (x *TargetSpec) Reset()
func (*TargetSpec) String ¶ added in v0.14.0
func (x *TargetSpec) String() string
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) Descriptor ¶ added in v0.22.12
func (TargetType) Descriptor() protoreflect.EnumDescriptor
func (TargetType) Enum ¶ added in v0.22.12
func (x TargetType) Enum() *TargetType
func (TargetType) EnumDescriptor
deprecated
added in
v0.14.0
func (TargetType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TargetType.Descriptor instead.
func (TargetType) Number ¶ added in v0.22.12
func (x TargetType) Number() protoreflect.EnumNumber
func (TargetType) String ¶ added in v0.14.0
func (x TargetType) String() string
func (TargetType) Type ¶ added in v0.22.12
func (TargetType) Type() protoreflect.EnumType
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"` // contains filtered or unexported fields }
func (*TiltBuild) Descriptor
deprecated
func (*TiltBuild) GetCommitSHA ¶
func (*TiltBuild) GetVersion ¶
func (*TiltBuild) ProtoMessage ¶
func (*TiltBuild) ProtoMessage()
func (*TiltBuild) ProtoReflect ¶ added in v0.22.12
func (x *TiltBuild) ProtoReflect() protoreflect.Message
type UnimplementedViewServiceServer ¶
type UnimplementedViewServiceServer struct { }
UnimplementedViewServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedViewServiceServer) GetView ¶
func (UnimplementedViewServiceServer) GetView(context.Context, *GetViewRequest) (*View, error)
func (UnimplementedViewServiceServer) UploadSnapshot ¶ added in v0.10.16
func (UnimplementedViewServiceServer) UploadSnapshot(context.Context, *Snapshot) (*UploadSnapshotResponse, error)
type UnimplementedWebsocketServiceServer ¶ added in v0.10.25
type UnimplementedWebsocketServiceServer struct { }
UnimplementedWebsocketServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedWebsocketServiceServer) AckWebsocket ¶ added in v0.10.25
func (UnimplementedWebsocketServiceServer) AckWebsocket(context.Context, *AckWebsocketRequest) (*AckWebsocketResponse, error)
type UnsafeViewServiceServer ¶ added in v0.30.0
type UnsafeViewServiceServer interface {
// contains filtered or unexported methods
}
UnsafeViewServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ViewServiceServer will result in compilation errors.
type UnsafeWebsocketServiceServer ¶ added in v0.30.0
type UnsafeWebsocketServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWebsocketServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebsocketServiceServer will result in compilation errors.
type UploadSnapshotResponse ¶ added in v0.10.16
type UploadSnapshotResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*UploadSnapshotResponse) Descriptor
deprecated
added in
v0.10.16
func (*UploadSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadSnapshotResponse.ProtoReflect.Descriptor instead.
func (*UploadSnapshotResponse) GetUrl ¶ added in v0.10.16
func (x *UploadSnapshotResponse) GetUrl() string
func (*UploadSnapshotResponse) ProtoMessage ¶ added in v0.10.16
func (*UploadSnapshotResponse) ProtoMessage()
func (*UploadSnapshotResponse) ProtoReflect ¶ added in v0.22.12
func (x *UploadSnapshotResponse) ProtoReflect() protoreflect.Message
func (*UploadSnapshotResponse) Reset ¶ added in v0.10.16
func (x *UploadSnapshotResponse) Reset()
func (*UploadSnapshotResponse) String ¶ added in v0.10.16
func (x *UploadSnapshotResponse) String() string
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"` // contains filtered or unexported fields }
func (*VersionSettings) Descriptor
deprecated
added in
v0.10.19
func (*VersionSettings) Descriptor() ([]byte, []int)
Deprecated: Use VersionSettings.ProtoReflect.Descriptor instead.
func (*VersionSettings) GetCheckUpdates ¶ added in v0.10.19
func (x *VersionSettings) GetCheckUpdates() bool
func (*VersionSettings) ProtoMessage ¶ added in v0.10.19
func (*VersionSettings) ProtoMessage()
func (*VersionSettings) ProtoReflect ¶ added in v0.22.12
func (x *VersionSettings) ProtoReflect() protoreflect.Message
func (*VersionSettings) Reset ¶ added in v0.10.19
func (x *VersionSettings) Reset()
func (*VersionSettings) String ¶ added in v0.10.19
func (x *VersionSettings) String() string
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 *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=tilt_start_time,json=tiltStartTime,proto3" json:"tilt_start_time,omitempty"` // an identifier for the tiltfile that is running, so that the web ui can store data per tiltfile TiltfileKey string `protobuf:"bytes,17,opt,name=tiltfile_key,json=tiltfileKey,proto3" json:"tiltfile_key,omitempty"` // New API-server based data models. UiSession *v1alpha1.UISession `protobuf:"bytes,19,opt,name=ui_session,json=uiSession,proto3" json:"ui_session,omitempty"` UiResources []*v1alpha1.UIResource `protobuf:"bytes,20,rep,name=ui_resources,json=uiResources,proto3" json:"ui_resources,omitempty"` UiButtons []*v1alpha1.UIButton `protobuf:"bytes,22,rep,name=ui_buttons,json=uiButtons,proto3" json:"ui_buttons,omitempty"` Clusters []*v1alpha1.Cluster `protobuf:"bytes,23,rep,name=clusters,proto3" json:"clusters,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"` // contains filtered or unexported fields }
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
deprecated
func (*View) GetClusters ¶ added in v0.27.0
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 (x *View) GetTiltStartTime() *timestamppb.Timestamp
func (*View) GetTiltfileKey ¶ added in v0.17.10
func (*View) GetUiButtons ¶ added in v0.20.8
func (*View) GetUiResources ¶ added in v0.20.2
func (x *View) GetUiResources() []*v1alpha1.UIResource
func (*View) GetUiSession ¶ added in v0.20.2
func (*View) GetVersionSettings ¶ added in v0.10.19
func (x *View) GetVersionSettings() *VersionSettings
func (*View) ProtoMessage ¶
func (*View) ProtoMessage()
func (*View) ProtoReflect ¶ added in v0.22.12
func (x *View) ProtoReflect() protoreflect.Message
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewViewServiceClient ¶
func NewViewServiceClient(cc grpc.ClientConnInterface) ViewServiceClient
type ViewServiceServer ¶
type ViewServiceServer interface { GetView(context.Context, *GetViewRequest) (*View, error) UploadSnapshot(context.Context, *Snapshot) (*UploadSnapshotResponse, error) // contains filtered or unexported methods }
ViewServiceServer is the server API for ViewService service. All implementations must embed UnimplementedViewServiceServer for forward compatibility
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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewWebsocketServiceClient ¶ added in v0.10.25
func NewWebsocketServiceClient(cc grpc.ClientConnInterface) WebsocketServiceClient
type WebsocketServiceServer ¶ added in v0.10.25
type WebsocketServiceServer interface { AckWebsocket(context.Context, *AckWebsocketRequest) (*AckWebsocketResponse, error) // contains filtered or unexported methods }
WebsocketServiceServer is the server API for WebsocketService service. All implementations must embed UnimplementedWebsocketServiceServer for forward compatibility