webview

package
v0.10.17 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterViewServiceServer

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

Types

type Alert

type Alert struct {
	AlertType string `protobuf:"bytes,1,opt,name=alert_type,json=alertType,proto3" json:"alert_type,omitempty"`
	Header    string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"`
	Message   string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// TODO(dmiller): this should be a timestamp, but sometimes incorrectly formatted times get set here
	// like when there's a Pod that has PodStatusError.
	// We should figure out how those times are being set, and fix them to parse as protobuf.Timestamp
	// correctly
	Timestamp            string   `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ResourceName         string   `protobuf:"bytes,5,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Alert) Descriptor

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

func (*Alert) GetAlertType

func (m *Alert) GetAlertType() string

func (*Alert) GetHeader

func (m *Alert) GetHeader() string

func (*Alert) GetMessage

func (m *Alert) GetMessage() string

func (*Alert) GetResourceName

func (m *Alert) GetResourceName() string

func (*Alert) GetTimestamp

func (m *Alert) GetTimestamp() string

func (*Alert) ProtoMessage

func (*Alert) ProtoMessage()

func (*Alert) Reset

func (m *Alert) Reset()

func (*Alert) String

func (m *Alert) String() string

func (*Alert) XXX_DiscardUnknown

func (m *Alert) XXX_DiscardUnknown()

func (*Alert) XXX_Marshal

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

func (*Alert) XXX_Merge

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

func (*Alert) XXX_Size

func (m *Alert) XXX_Size() int

func (*Alert) XXX_Unmarshal

func (m *Alert) 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"`
	Log                  string               `protobuf:"bytes,6,opt,name=log,proto3" json:"log,omitempty"`
	IsCrashRebuild       bool                 `protobuf:"varint,7,opt,name=is_crash_rebuild,json=isCrashRebuild,proto3" json:"is_crash_rebuild,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*BuildRecord) Descriptor

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

func (*BuildRecord) GetEdits

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

func (*BuildRecord) GetError

func (m *BuildRecord) GetError() string

func (*BuildRecord) GetFinishTime

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

func (*BuildRecord) GetIsCrashRebuild

func (m *BuildRecord) GetIsCrashRebuild() bool

func (*BuildRecord) GetLog

func (m *BuildRecord) GetLog() string

func (*BuildRecord) GetStartTime

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

func (*BuildRecord) GetWarnings

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

func (*BuildRecord) ProtoMessage

func (*BuildRecord) ProtoMessage()

func (*BuildRecord) Reset

func (m *BuildRecord) Reset()

func (*BuildRecord) String

func (m *BuildRecord) String() string

func (*BuildRecord) XXX_DiscardUnknown

func (m *BuildRecord) XXX_DiscardUnknown()

func (*BuildRecord) XXX_Marshal

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

func (*BuildRecord) XXX_Merge

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

func (*BuildRecord) XXX_Size

func (m *BuildRecord) XXX_Size() int

func (*BuildRecord) XXX_Unmarshal

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

type 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"`
	Log                  string               `protobuf:"bytes,4,opt,name=log,proto3" json:"log,omitempty"`
	StartTime            *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,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) GetLog

func (m *DCResourceInfo) GetLog() string

func (*DCResourceInfo) GetStartTime

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

func (*DCResourceInfo) ProtoMessage

func (*DCResourceInfo) ProtoMessage()

func (*DCResourceInfo) Reset

func (m *DCResourceInfo) Reset()

func (*DCResourceInfo) String

func (m *DCResourceInfo) String() string

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_Merge

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

func (*DCResourceInfo) XXX_Size

func (m *DCResourceInfo) XXX_Size() int

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"`
	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) GetName added in v0.10.16

func (m *Facet) GetName() string

func (*Facet) GetValue added in v0.10.16

func (m *Facet) GetValue() string

func (*Facet) ProtoMessage added in v0.10.16

func (*Facet) ProtoMessage()

func (*Facet) Reset added in v0.10.16

func (m *Facet) Reset()

func (*Facet) String added in v0.10.16

func (m *Facet) String() string

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_Merge added in v0.10.16

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

func (*Facet) XXX_Size added in v0.10.16

func (m *Facet) XXX_Size() int

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) Reset

func (m *GetViewRequest) Reset()

func (*GetViewRequest) String

func (m *GetViewRequest) String() string

func (*GetViewRequest) XXX_DiscardUnknown

func (m *GetViewRequest) XXX_DiscardUnknown()

func (*GetViewRequest) XXX_Marshal

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

func (*GetViewRequest) XXX_Merge

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

func (*GetViewRequest) XXX_Size

func (m *GetViewRequest) XXX_Size() int

func (*GetViewRequest) XXX_Unmarshal

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

type K8SResourceInfo

type K8SResourceInfo struct {
	PodName              string   `protobuf:"bytes,1,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"`
	PodCreationTime      string   `protobuf:"bytes,2,opt,name=pod_creation_time,json=podCreationTime,proto3" json:"pod_creation_time,omitempty"`
	PodUpdateStartTime   string   `protobuf:"bytes,3,opt,name=pod_update_start_time,json=podUpdateStartTime,proto3" json:"pod_update_start_time,omitempty"`
	PodStatus            string   `protobuf:"bytes,4,opt,name=pod_status,json=podStatus,proto3" json:"pod_status,omitempty"`
	PodStatusMessage     string   `protobuf:"bytes,5,opt,name=pod_status_message,json=podStatusMessage,proto3" json:"pod_status_message,omitempty"`
	AllContainersReady   bool     `protobuf:"varint,6,opt,name=all_containers_ready,json=allContainersReady,proto3" json:"all_containers_ready,omitempty"`
	PodRestarts          int32    `protobuf:"varint,7,opt,name=pod_restarts,json=podRestarts,proto3" json:"pod_restarts,omitempty"`
	PodLog               string   `protobuf:"bytes,8,opt,name=pod_log,json=podLog,proto3" json:"pod_log,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) GetPodCreationTime

func (m *K8SResourceInfo) GetPodCreationTime() string

func (*K8SResourceInfo) GetPodLog

func (m *K8SResourceInfo) GetPodLog() 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) Reset

func (m *K8SResourceInfo) Reset()

func (*K8SResourceInfo) String

func (m *K8SResourceInfo) String() string

func (*K8SResourceInfo) XXX_DiscardUnknown

func (m *K8SResourceInfo) XXX_DiscardUnknown()

func (*K8SResourceInfo) XXX_Marshal

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

func (*K8SResourceInfo) XXX_Merge

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

func (*K8SResourceInfo) XXX_Size

func (m *K8SResourceInfo) XXX_Size() int

func (*K8SResourceInfo) XXX_Unmarshal

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

type LocalResourceInfo

type LocalResourceInfo struct {
	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) Reset

func (m *LocalResourceInfo) Reset()

func (*LocalResourceInfo) String

func (m *LocalResourceInfo) String() string

func (*LocalResourceInfo) XXX_DiscardUnknown

func (m *LocalResourceInfo) XXX_DiscardUnknown()

func (*LocalResourceInfo) XXX_Marshal

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

func (*LocalResourceInfo) XXX_Merge

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

func (*LocalResourceInfo) XXX_Size

func (m *LocalResourceInfo) XXX_Size() int

func (*LocalResourceInfo) XXX_Unmarshal

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

type Resource

type Resource struct {
	Name                 string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DirectoriesWatched   []string             `protobuf:"bytes,2,rep,name=directories_watched,json=directoriesWatched,proto3" json:"directories_watched,omitempty"`
	PathsWatched         []string             `protobuf:"bytes,3,rep,name=paths_watched,json=pathsWatched,proto3" json:"paths_watched,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"`
	Endpoints            []string             `protobuf:"bytes,12,rep,name=endpoints,proto3" json:"endpoints,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"`
	IsTiltfile           bool                 `protobuf:"varint,19,opt,name=is_tiltfile,json=isTiltfile,proto3" json:"is_tiltfile,omitempty"`
	ShowBuildStatus      bool                 `protobuf:"varint,20,opt,name=show_build_status,json=showBuildStatus,proto3" json:"show_build_status,omitempty"`
	CombinedLog          string               `protobuf:"bytes,21,opt,name=combined_log,json=combinedLog,proto3" json:"combined_log,omitempty"`
	CrashLog             string               `protobuf:"bytes,22,opt,name=crash_log,json=crashLog,proto3" json:"crash_log,omitempty"`
	Alerts               []*Alert             `protobuf:"bytes,23,rep,name=alerts,proto3" json:"alerts,omitempty"`
	Facets               []*Facet             `protobuf:"bytes,24,rep,name=facets,proto3" json:"facets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Resource) Descriptor

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

func (*Resource) GetAlerts

func (m *Resource) GetAlerts() []*Alert

func (*Resource) GetBuildHistory

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

func (*Resource) GetCombinedLog

func (m *Resource) GetCombinedLog() string

func (*Resource) GetCrashLog

func (m *Resource) GetCrashLog() string

func (*Resource) GetCurrentBuild

func (m *Resource) GetCurrentBuild() *BuildRecord

func (*Resource) GetDcResourceInfo

func (m *Resource) GetDcResourceInfo() *DCResourceInfo

func (*Resource) GetDirectoriesWatched

func (m *Resource) GetDirectoriesWatched() []string

func (*Resource) GetEndpoints

func (m *Resource) GetEndpoints() []string

func (*Resource) GetFacets added in v0.10.16

func (m *Resource) GetFacets() []*Facet

func (*Resource) GetHasPendingChanges

func (m *Resource) GetHasPendingChanges() bool

func (*Resource) GetIsTiltfile

func (m *Resource) GetIsTiltfile() bool

func (*Resource) GetK8SResourceInfo

func (m *Resource) GetK8SResourceInfo() *K8SResourceInfo

func (*Resource) GetLastDeployTime

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

func (*Resource) GetLocalResourceInfo

func (m *Resource) GetLocalResourceInfo() *LocalResourceInfo

func (*Resource) GetName

func (m *Resource) GetName() string

func (*Resource) GetPathsWatched

func (m *Resource) GetPathsWatched() []string

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) GetPodID

func (m *Resource) GetPodID() string

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) GetYamlResourceInfo

func (m *Resource) GetYamlResourceInfo() *YAMLResourceInfo

func (*Resource) ProtoMessage

func (*Resource) ProtoMessage()

func (*Resource) Reset

func (m *Resource) Reset()

func (*Resource) String

func (m *Resource) String() string

func (*Resource) XXX_DiscardUnknown

func (m *Resource) XXX_DiscardUnknown()

func (*Resource) XXX_Marshal

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

func (*Resource) XXX_Merge

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

func (*Resource) XXX_Size

func (m *Resource) XXX_Size() int

func (*Resource) XXX_Unmarshal

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

type Snapshot added in v0.10.16

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

func (*Snapshot) Descriptor added in v0.10.16

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

func (*Snapshot) GetIsSidebarClosed added in v0.10.16

func (m *Snapshot) GetIsSidebarClosed() bool

func (*Snapshot) GetPath added in v0.10.16

func (m *Snapshot) GetPath() string

func (*Snapshot) GetSnapshotHighlight added in v0.10.16

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

func (*Snapshot) GetView added in v0.10.16

func (m *Snapshot) GetView() *View

func (*Snapshot) ProtoMessage added in v0.10.16

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset added in v0.10.16

func (m *Snapshot) Reset()

func (*Snapshot) String added in v0.10.16

func (m *Snapshot) String() string

func (*Snapshot) XXX_DiscardUnknown added in v0.10.16

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal added in v0.10.16

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

func (*Snapshot) XXX_Merge added in v0.10.16

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

func (*Snapshot) XXX_Size added in v0.10.16

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal added in v0.10.16

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

type SnapshotHighlight added in v0.10.16

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

func (*SnapshotHighlight) Descriptor added in v0.10.16

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

func (*SnapshotHighlight) GetBeginningLogID added in v0.10.16

func (m *SnapshotHighlight) GetBeginningLogID() string

func (*SnapshotHighlight) GetEndingLogID added in v0.10.16

func (m *SnapshotHighlight) GetEndingLogID() string

func (*SnapshotHighlight) GetText added in v0.10.16

func (m *SnapshotHighlight) GetText() string

func (*SnapshotHighlight) ProtoMessage added in v0.10.16

func (*SnapshotHighlight) ProtoMessage()

func (*SnapshotHighlight) Reset added in v0.10.16

func (m *SnapshotHighlight) Reset()

func (*SnapshotHighlight) String added in v0.10.16

func (m *SnapshotHighlight) String() string

func (*SnapshotHighlight) XXX_DiscardUnknown added in v0.10.16

func (m *SnapshotHighlight) XXX_DiscardUnknown()

func (*SnapshotHighlight) XXX_Marshal added in v0.10.16

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

func (*SnapshotHighlight) XXX_Merge added in v0.10.16

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

func (*SnapshotHighlight) XXX_Size added in v0.10.16

func (m *SnapshotHighlight) XXX_Size() int

func (*SnapshotHighlight) XXX_Unmarshal added in v0.10.16

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

type TiltBuild

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

func (*TiltBuild) Descriptor

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

func (*TiltBuild) GetCommitSHA

func (m *TiltBuild) GetCommitSHA() string

func (*TiltBuild) GetDate

func (m *TiltBuild) GetDate() string

func (*TiltBuild) GetDev

func (m *TiltBuild) GetDev() bool

func (*TiltBuild) GetVersion

func (m *TiltBuild) GetVersion() string

func (*TiltBuild) ProtoMessage

func (*TiltBuild) ProtoMessage()

func (*TiltBuild) Reset

func (m *TiltBuild) Reset()

func (*TiltBuild) String

func (m *TiltBuild) String() string

func (*TiltBuild) XXX_DiscardUnknown

func (m *TiltBuild) XXX_DiscardUnknown()

func (*TiltBuild) XXX_Marshal

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

func (*TiltBuild) XXX_Merge

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

func (*TiltBuild) XXX_Size

func (m *TiltBuild) XXX_Size() int

func (*TiltBuild) XXX_Unmarshal

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

type UnimplementedViewServiceServer

type UnimplementedViewServiceServer struct {
}

UnimplementedViewServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedViewServiceServer) GetView

func (*UnimplementedViewServiceServer) UploadSnapshot added in v0.10.16

type UploadSnapshotResponse added in v0.10.16

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

func (*UploadSnapshotResponse) Descriptor added in v0.10.16

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

func (*UploadSnapshotResponse) GetUrl added in v0.10.16

func (m *UploadSnapshotResponse) GetUrl() string

func (*UploadSnapshotResponse) ProtoMessage added in v0.10.16

func (*UploadSnapshotResponse) ProtoMessage()

func (*UploadSnapshotResponse) Reset added in v0.10.16

func (m *UploadSnapshotResponse) Reset()

func (*UploadSnapshotResponse) String added in v0.10.16

func (m *UploadSnapshotResponse) String() string

func (*UploadSnapshotResponse) XXX_DiscardUnknown added in v0.10.16

func (m *UploadSnapshotResponse) XXX_DiscardUnknown()

func (*UploadSnapshotResponse) XXX_Marshal added in v0.10.16

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

func (*UploadSnapshotResponse) XXX_Merge added in v0.10.16

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

func (*UploadSnapshotResponse) XXX_Size added in v0.10.16

func (m *UploadSnapshotResponse) XXX_Size() int

func (*UploadSnapshotResponse) XXX_Unmarshal added in v0.10.16

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

type 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"`
	LogTimestamps        bool            `protobuf:"varint,3,opt,name=log_timestamps,json=logTimestamps,proto3" json:"log_timestamps,omitempty"`
	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"`
	LatestTiltBuild      *TiltBuild      `protobuf:"bytes,7,opt,name=latest_tilt_build,json=latestTiltBuild,proto3" json:"latest_tilt_build,omitempty"`
	TiltCloudUsername    string          `protobuf:"bytes,8,opt,name=tilt_cloud_username,json=tiltCloudUsername,proto3" json:"tilt_cloud_username,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"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*View) Descriptor

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

func (*View) GetFatalError

func (m *View) GetFatalError() string

func (*View) GetFeatureFlags

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

func (*View) GetLatestTiltBuild

func (m *View) GetLatestTiltBuild() *TiltBuild

func (*View) GetLog

func (m *View) GetLog() string

func (*View) GetLogTimestamps

func (m *View) GetLogTimestamps() bool

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) GetTiltCloudSchemeHost

func (m *View) GetTiltCloudSchemeHost() string

func (*View) GetTiltCloudTeamID

func (m *View) GetTiltCloudTeamID() string

func (*View) GetTiltCloudUsername

func (m *View) GetTiltCloudUsername() string

func (*View) ProtoMessage

func (*View) ProtoMessage()

func (*View) Reset

func (m *View) Reset()

func (*View) String

func (m *View) String() string

func (*View) XXX_DiscardUnknown

func (m *View) XXX_DiscardUnknown()

func (*View) XXX_Marshal

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

func (*View) XXX_Merge

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

func (*View) XXX_Size

func (m *View) XXX_Size() int

func (*View) XXX_Unmarshal

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

type ViewServiceClient

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

ViewServiceClient is the client API for ViewService service.

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

func NewViewServiceClient

func NewViewServiceClient(cc *grpc.ClientConn) ViewServiceClient

type ViewServiceServer

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

ViewServiceServer is the server API for ViewService service.

type 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) Reset

func (m *YAMLResourceInfo) Reset()

func (*YAMLResourceInfo) String

func (m *YAMLResourceInfo) String() string

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_Merge

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

func (*YAMLResourceInfo) XXX_Size

func (m *YAMLResourceInfo) XXX_Size() int

func (*YAMLResourceInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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