Help us shape the future of Go! Take the 2026 Go Developer Survey

webview

package
v0.10.15 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package webview is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var TriggerMode_name = map[int32]string{
	0: "TRIGGER_MODE_AUTO",
	1: "TRIGGER_MODE_MANUAL",
}
View Source
var TriggerMode_value = map[string]int32{
	"TRIGGER_MODE_AUTO":   0,
	"TRIGGER_MODE_MANUAL": 1,
}

Functions

func RegisterViewServiceHandler

func RegisterViewServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterViewServiceHandler registers the http handlers for service ViewService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterViewServiceHandlerClient

func RegisterViewServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ViewServiceClient) error

RegisterViewServiceHandlerClient registers the http handlers for service ViewService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ViewServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ViewServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ViewServiceClient" to call the correct interceptors.

func RegisterViewServiceHandlerFromEndpoint

func RegisterViewServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterViewServiceHandlerFromEndpoint is same as RegisterViewServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterViewServiceHandlerServer

func RegisterViewServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ViewServiceServer) error

RegisterViewServiceHandlerServer registers the http handlers for service ViewService to "mux". UnaryRPC :call ViewServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.

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"`
	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            string   `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	FinishTime           string   `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() string

func (*BuildRecord) GetIsCrashRebuild

func (m *BuildRecord) GetIsCrashRebuild() bool

func (*BuildRecord) GetLog

func (m *BuildRecord) GetLog() string

func (*BuildRecord) GetStartTime

func (m *BuildRecord) GetStartTime() string

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            string   `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() string

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 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          int64    `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() int64

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       string             `protobuf:"bytes,4,opt,name=last_deploy_time,json=lastDeployTime,proto3" json:"last_deploy_time,omitempty"`
	TriggerMode          TriggerMode        `protobuf:"varint,5,opt,name=trigger_mode,json=triggerMode,proto3,enum=webview.TriggerMode" 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   int64              `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    string             `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"`
	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) 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() string

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() int64

func (*Resource) GetPendingBuildSince

func (m *Resource) GetPendingBuildSince() string

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() TriggerMode

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 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 TriggerMode

type TriggerMode int32
const (
	TriggerMode_TRIGGER_MODE_AUTO   TriggerMode = 0
	TriggerMode_TRIGGER_MODE_MANUAL TriggerMode = 1
)

func (TriggerMode) EnumDescriptor

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

func (TriggerMode) String

func (x TriggerMode) String() string

type UnimplementedViewServiceServer

type UnimplementedViewServiceServer struct {
}

UnimplementedViewServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedViewServiceServer) GetView

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

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

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