Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCommandServer(s grpc.ServiceRegistrar, srv CommandServer)
- func RegisterExecPluginServer(s grpc.ServiceRegistrar, srv ExecPluginServer)
- func RegisterLogPluginServer(s grpc.ServiceRegistrar, srv LogPluginServer)
- func RegisterMetricPluginServer(s grpc.ServiceRegistrar, srv MetricPluginServer)
- func RegisterNetworkerPluginServer(s grpc.ServiceRegistrar, srv NetworkerPluginServer)
- func RegisterPluginLifecycleServer(s grpc.ServiceRegistrar, srv PluginLifecycleServer)
- func RegisterSettingsPluginServer(s grpc.ServiceRegistrar, srv SettingsPluginServer)
- func RegisterStreamServer(s grpc.ServiceRegistrar, srv StreamServer)
- type AggregateValue
- func (*AggregateValue) Descriptor() ([]byte, []int)deprecated
- func (x *AggregateValue) GetAvg() float64
- func (x *AggregateValue) GetCount() int64
- func (x *AggregateValue) GetLabels() map[string]string
- func (x *AggregateValue) GetMax() float64
- func (x *AggregateValue) GetMetricId() string
- func (x *AggregateValue) GetMin() float64
- func (x *AggregateValue) GetP50() float64
- func (x *AggregateValue) GetP90() float64
- func (x *AggregateValue) GetP99() float64
- func (x *AggregateValue) GetSum() float64
- func (x *AggregateValue) GetWindow() *durationpb.Duration
- func (*AggregateValue) ProtoMessage()
- func (x *AggregateValue) ProtoReflect() protoreflect.Message
- func (x *AggregateValue) Reset()
- func (x *AggregateValue) String() string
- type AttachSessionRequest
- func (*AttachSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachSessionRequest) GetId() string
- func (*AttachSessionRequest) ProtoMessage()
- func (x *AttachSessionRequest) ProtoReflect() protoreflect.Message
- func (x *AttachSessionRequest) Reset()
- func (x *AttachSessionRequest) String() string
- type AttachSessionResponse
- func (*AttachSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AttachSessionResponse) GetBuffer() []byte
- func (x *AttachSessionResponse) GetSession() *Session
- func (*AttachSessionResponse) ProtoMessage()
- func (x *AttachSessionResponse) ProtoReflect() protoreflect.Message
- func (x *AttachSessionResponse) Reset()
- func (x *AttachSessionResponse) String() string
- type CallCommandRequest
- func (*CallCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallCommandRequest) GetBody() []byte
- func (x *CallCommandRequest) GetHeaders() map[string]*StringList
- func (x *CallCommandRequest) GetMethod() string
- func (x *CallCommandRequest) GetPath() string
- func (x *CallCommandRequest) GetPluginContext() *PluginContext
- func (x *CallCommandRequest) GetUrl() string
- func (*CallCommandRequest) ProtoMessage()
- func (x *CallCommandRequest) ProtoReflect() protoreflect.Message
- func (x *CallCommandRequest) Reset()
- func (x *CallCommandRequest) String() string
- type CallCommandResponse
- func (*CallCommandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallCommandResponse) GetBody() []byte
- func (x *CallCommandResponse) GetCode() int32
- func (x *CallCommandResponse) GetHeaders() map[string]*StringList
- func (*CallCommandResponse) ProtoMessage()
- func (x *CallCommandResponse) ProtoReflect() protoreflect.Message
- func (x *CallCommandResponse) Reset()
- func (x *CallCommandResponse) String() string
- type CloseLogSessionResponse
- func (*CloseLogSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CloseLogSessionResponse) GetError() string
- func (x *CloseLogSessionResponse) GetSuccess() bool
- func (*CloseLogSessionResponse) ProtoMessage()
- func (x *CloseLogSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CloseLogSessionResponse) Reset()
- func (x *CloseLogSessionResponse) String() string
- type CloseSessionRequest
- func (*CloseSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionRequest) GetId() string
- func (*CloseSessionRequest) ProtoMessage()
- func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CloseSessionRequest) Reset()
- func (x *CloseSessionRequest) String() string
- type CloseSessionResponse
- func (*CloseSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CloseSessionResponse) GetError() string
- func (x *CloseSessionResponse) GetSuccess() bool
- func (*CloseSessionResponse) ProtoMessage()
- func (x *CloseSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CloseSessionResponse) Reset()
- func (x *CloseSessionResponse) String() string
- type CommandClient
- type CommandServer
- type CreateLogSessionRequest
- func (*CreateLogSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogSessionRequest) GetOptions() *LogSessionOptions
- func (x *CreateLogSessionRequest) GetReference() *v2.ResourceReference
- func (x *CreateLogSessionRequest) GetResourceData() *v2.Value
- func (x *CreateLogSessionRequest) GetResourceId() string
- func (x *CreateLogSessionRequest) GetResourceKey() string
- func (x *CreateLogSessionRequest) GetResourceWireVersion() uint32
- func (x *CreateLogSessionRequest) GetRoute() *v2.AccessRoute
- func (*CreateLogSessionRequest) ProtoMessage()
- func (x *CreateLogSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateLogSessionRequest) Reset()
- func (x *CreateLogSessionRequest) String() string
- type CreateLogSessionResponse
- func (*CreateLogSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateLogSessionResponse) GetError() string
- func (x *CreateLogSessionResponse) GetSession() *LogSession
- func (x *CreateLogSessionResponse) GetSuccess() bool
- func (*CreateLogSessionResponse) ProtoMessage()
- func (x *CreateLogSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateLogSessionResponse) Reset()
- func (x *CreateLogSessionResponse) String() string
- type CreateSessionRequest
- func (*CreateSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionRequest) GetCommand() string
- func (x *CreateSessionRequest) GetId() string
- func (x *CreateSessionRequest) GetLabels() map[string]string
- func (x *CreateSessionRequest) GetParams() map[string]string
- func (x *CreateSessionRequest) GetTty() bool
- func (*CreateSessionRequest) ProtoMessage()
- func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionRequest) Reset()
- func (x *CreateSessionRequest) String() string
- type CreateSessionResponse
- func (*CreateSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSessionResponse) GetError() string
- func (x *CreateSessionResponse) GetSession() *Session
- func (x *CreateSessionResponse) GetSuccess() bool
- func (*CreateSessionResponse) ProtoMessage()
- func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSessionResponse) Reset()
- func (x *CreateSessionResponse) String() string
- type CurrentValue
- func (*CurrentValue) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentValue) GetLabels() map[string]string
- func (x *CurrentValue) GetMetricId() string
- func (x *CurrentValue) GetTimestamp() *timestamppb.Timestamp
- func (x *CurrentValue) GetValue() float64
- func (*CurrentValue) ProtoMessage()
- func (x *CurrentValue) ProtoReflect() protoreflect.Message
- func (x *CurrentValue) Reset()
- func (x *CurrentValue) String() string
- type DataPoint
- func (*DataPoint) Descriptor() ([]byte, []int)deprecated
- func (x *DataPoint) GetLabels() map[string]string
- func (x *DataPoint) GetTimestamp() *timestamppb.Timestamp
- func (x *DataPoint) GetValue() float64
- func (*DataPoint) ProtoMessage()
- func (x *DataPoint) ProtoReflect() protoreflect.Message
- func (x *DataPoint) Reset()
- func (x *DataPoint) String() string
- type ExecHandler
- func (*ExecHandler) Descriptor() ([]byte, []int)deprecated
- func (x *ExecHandler) GetDefaultCommand() []string
- func (x *ExecHandler) GetPlugin() string
- func (x *ExecHandler) GetResource() string
- func (x *ExecHandler) GetTargetBuilder() *ResourceActionTargetBuilder
- func (*ExecHandler) ProtoMessage()
- func (x *ExecHandler) ProtoReflect() protoreflect.Message
- func (x *ExecHandler) Reset()
- func (x *ExecHandler) String() string
- type ExecPluginClient
- type ExecPluginServer
- type ExecPlugin_StreamClient
- type ExecPlugin_StreamServer
- type FindPortForwardSessionRequest
- func (*FindPortForwardSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindPortForwardSessionRequest) GetConnectionId() string
- func (x *FindPortForwardSessionRequest) GetResourceId() string
- func (*FindPortForwardSessionRequest) ProtoMessage()
- func (x *FindPortForwardSessionRequest) ProtoReflect() protoreflect.Message
- func (x *FindPortForwardSessionRequest) Reset()
- func (x *FindPortForwardSessionRequest) String() string
- type GetCapabilitiesResponse
- func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCapabilitiesResponse) GetCapabilities() []string
- func (*GetCapabilitiesResponse) ProtoMessage()
- func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message
- func (x *GetCapabilitiesResponse) Reset()
- func (x *GetCapabilitiesResponse) String() string
- type GetInfoResponse
- func (*GetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoResponse) GetPluginId() string
- func (x *GetInfoResponse) GetSdkProtocolVersion() int32
- func (x *GetInfoResponse) GetVersion() string
- func (*GetInfoResponse) ProtoMessage()
- func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetInfoResponse) Reset()
- func (x *GetInfoResponse) String() string
- type GetSessionRequest
- type GetSessionResponse
- func (*GetSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSessionResponse) GetError() string
- func (x *GetSessionResponse) GetSession() *Session
- func (x *GetSessionResponse) GetSuccess() bool
- func (*GetSessionResponse) ProtoMessage()
- func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
- func (x *GetSessionResponse) Reset()
- func (x *GetSessionResponse) String() string
- type GetSettingRequest
- type GetSettingValueRequest
- func (*GetSettingValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingValueRequest) GetId() string
- func (*GetSettingValueRequest) ProtoMessage()
- func (x *GetSettingValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetSettingValueRequest) Reset()
- func (x *GetSettingValueRequest) String() string
- type GetSettingValueResponse
- func (*GetSettingValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingValueResponse) GetValue() *anypb.Any
- func (*GetSettingValueResponse) ProtoMessage()
- func (x *GetSettingValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingValueResponse) Reset()
- func (x *GetSettingValueResponse) String() string
- type GetSupportedLogResourcesResponse
- func (*GetSupportedLogResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSupportedLogResourcesResponse) GetHandlers() []*LogHandler
- func (*GetSupportedLogResourcesResponse) ProtoMessage()
- func (x *GetSupportedLogResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSupportedLogResourcesResponse) Reset()
- func (x *GetSupportedLogResourcesResponse) String() string
- type GetSupportedMetricResourcesResponse
- func (*GetSupportedMetricResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSupportedMetricResourcesResponse) GetHandlers() []*MetricHandler
- func (x *GetSupportedMetricResourcesResponse) GetProvider() *MetricProviderInfo
- func (*GetSupportedMetricResourcesResponse) ProtoMessage()
- func (x *GetSupportedMetricResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSupportedMetricResourcesResponse) Reset()
- func (x *GetSupportedMetricResourcesResponse) String() string
- type GetSupportedPortForwardTargetsResponse
- func (*GetSupportedPortForwardTargetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSupportedPortForwardTargetsResponse) GetResources() []string
- func (*GetSupportedPortForwardTargetsResponse) ProtoMessage()
- func (x *GetSupportedPortForwardTargetsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSupportedPortForwardTargetsResponse) Reset()
- func (x *GetSupportedPortForwardTargetsResponse) String() string
- type GetSupportedResourcesResponse
- func (*GetSupportedResourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSupportedResourcesResponse) GetHandlers() []*ExecHandler
- func (*GetSupportedResourcesResponse) ProtoMessage()
- func (x *GetSupportedResourcesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSupportedResourcesResponse) Reset()
- func (x *GetSupportedResourcesResponse) String() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetStatus() ServingStatus
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type ListLogSessionsResponse
- func (*ListLogSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListLogSessionsResponse) GetError() string
- func (x *ListLogSessionsResponse) GetSessions() []*LogSession
- func (x *ListLogSessionsResponse) GetSuccess() bool
- func (*ListLogSessionsResponse) ProtoMessage()
- func (x *ListLogSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListLogSessionsResponse) Reset()
- func (x *ListLogSessionsResponse) String() string
- type ListSessionsResponse
- func (*ListSessionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSessionsResponse) GetError() string
- func (x *ListSessionsResponse) GetSessions() []*Session
- func (x *ListSessionsResponse) GetSuccess() bool
- func (*ListSessionsResponse) ProtoMessage()
- func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionsResponse) Reset()
- func (x *ListSessionsResponse) String() string
- type ListSettingsResponse
- func (*ListSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSettingsResponse) GetSettings() map[string]*Setting
- func (*ListSettingsResponse) ProtoMessage()
- func (x *ListSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSettingsResponse) Reset()
- func (x *ListSettingsResponse) String() string
- type LogHandler
- func (*LogHandler) Descriptor() ([]byte, []int)deprecated
- func (x *LogHandler) GetPlugin() string
- func (x *LogHandler) GetResource() string
- func (x *LogHandler) GetTargetBuilder() *ResourceActionTargetBuilder
- func (*LogHandler) ProtoMessage()
- func (x *LogHandler) ProtoReflect() protoreflect.Message
- func (x *LogHandler) Reset()
- func (x *LogHandler) String() string
- type LogLevel
- type LogLine
- func (*LogLine) Descriptor() ([]byte, []int)deprecated
- func (x *LogLine) GetContent() []byte
- func (x *LogLine) GetLabels() map[string]string
- func (x *LogLine) GetLevel() LogLevel
- func (x *LogLine) GetOrigin() LogLineOrigin
- func (x *LogLine) GetSessionId() string
- func (x *LogLine) GetSourceId() string
- func (x *LogLine) GetTimestamp() *timestamppb.Timestamp
- func (*LogLine) ProtoMessage()
- func (x *LogLine) ProtoReflect() protoreflect.Message
- func (x *LogLine) Reset()
- func (x *LogLine) String() string
- type LogLineOrigin
- func (LogLineOrigin) Descriptor() protoreflect.EnumDescriptor
- func (x LogLineOrigin) Enum() *LogLineOrigin
- func (LogLineOrigin) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogLineOrigin) Number() protoreflect.EnumNumber
- func (x LogLineOrigin) String() string
- func (LogLineOrigin) Type() protoreflect.EnumType
- type LogPluginClient
- type LogPluginServer
- type LogPlugin_StreamClient
- type LogPlugin_StreamServer
- type LogSession
- func (*LogSession) Descriptor() ([]byte, []int)deprecated
- func (x *LogSession) GetActiveSources() []*LogSource
- func (x *LogSession) GetConnectionId() string
- func (x *LogSession) GetCreatedAt() *timestamppb.Timestamp
- func (x *LogSession) GetId() string
- func (x *LogSession) GetOptions() *LogSessionOptions
- func (x *LogSession) GetPluginId() string
- func (x *LogSession) GetResourceId() string
- func (x *LogSession) GetResourceKey() string
- func (x *LogSession) GetStatus() LogSessionStatus
- func (*LogSession) ProtoMessage()
- func (x *LogSession) ProtoReflect() protoreflect.Message
- func (x *LogSession) Reset()
- func (x *LogSession) String() string
- type LogSessionByIdRequest
- func (*LogSessionByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogSessionByIdRequest) GetSessionId() string
- func (*LogSessionByIdRequest) ProtoMessage()
- func (x *LogSessionByIdRequest) ProtoReflect() protoreflect.Message
- func (x *LogSessionByIdRequest) Reset()
- func (x *LogSessionByIdRequest) String() string
- type LogSessionByIdResponse
- func (*LogSessionByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LogSessionByIdResponse) GetError() string
- func (x *LogSessionByIdResponse) GetSession() *LogSession
- func (x *LogSessionByIdResponse) GetSuccess() bool
- func (*LogSessionByIdResponse) ProtoMessage()
- func (x *LogSessionByIdResponse) ProtoReflect() protoreflect.Message
- func (x *LogSessionByIdResponse) Reset()
- func (x *LogSessionByIdResponse) String() string
- type LogSessionOptions
- func (*LogSessionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *LogSessionOptions) GetFollow() bool
- func (x *LogSessionOptions) GetIncludePrevious() bool
- func (x *LogSessionOptions) GetIncludeSourceEvents() bool
- func (x *LogSessionOptions) GetIncludeTimestamps() bool
- func (x *LogSessionOptions) GetLimitBytes() int64
- func (x *LogSessionOptions) GetParams() map[string]string
- func (x *LogSessionOptions) GetSinceSeconds() int64
- func (x *LogSessionOptions) GetSinceTime() *timestamppb.Timestamp
- func (x *LogSessionOptions) GetTailLines() int64
- func (x *LogSessionOptions) GetTarget() string
- func (*LogSessionOptions) ProtoMessage()
- func (x *LogSessionOptions) ProtoReflect() protoreflect.Message
- func (x *LogSessionOptions) Reset()
- func (x *LogSessionOptions) String() string
- type LogSessionStatus
- func (LogSessionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x LogSessionStatus) Enum() *LogSessionStatus
- func (LogSessionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogSessionStatus) Number() protoreflect.EnumNumber
- func (x LogSessionStatus) String() string
- func (LogSessionStatus) Type() protoreflect.EnumType
- type LogSource
- type LogStreamCommand
- func (LogStreamCommand) Descriptor() protoreflect.EnumDescriptor
- func (x LogStreamCommand) Enum() *LogStreamCommand
- func (LogStreamCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogStreamCommand) Number() protoreflect.EnumNumber
- func (x LogStreamCommand) String() string
- func (LogStreamCommand) Type() protoreflect.EnumType
- type LogStreamEvent
- func (*LogStreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LogStreamEvent) GetMessage() string
- func (x *LogStreamEvent) GetSourceId() string
- func (x *LogStreamEvent) GetTimestamp() *timestamppb.Timestamp
- func (x *LogStreamEvent) GetType() LogStreamEventType
- func (*LogStreamEvent) ProtoMessage()
- func (x *LogStreamEvent) ProtoReflect() protoreflect.Message
- func (x *LogStreamEvent) Reset()
- func (x *LogStreamEvent) String() string
- type LogStreamEventType
- func (LogStreamEventType) Descriptor() protoreflect.EnumDescriptor
- func (x LogStreamEventType) Enum() *LogStreamEventType
- func (LogStreamEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x LogStreamEventType) Number() protoreflect.EnumNumber
- func (x LogStreamEventType) String() string
- func (LogStreamEventType) Type() protoreflect.EnumType
- type LogStreamInput
- func (*LogStreamInput) Descriptor() ([]byte, []int)deprecated
- func (x *LogStreamInput) GetCommand() LogStreamCommand
- func (x *LogStreamInput) GetSessionId() string
- func (*LogStreamInput) ProtoMessage()
- func (x *LogStreamInput) ProtoReflect() protoreflect.Message
- func (x *LogStreamInput) Reset()
- func (x *LogStreamInput) String() string
- type LogStreamOutput
- func (*LogStreamOutput) Descriptor() ([]byte, []int)deprecated
- func (x *LogStreamOutput) GetEvent() *LogStreamEvent
- func (x *LogStreamOutput) GetLine() *LogLine
- func (x *LogStreamOutput) GetPayload() isLogStreamOutput_Payload
- func (x *LogStreamOutput) GetSessionId() string
- func (*LogStreamOutput) ProtoMessage()
- func (x *LogStreamOutput) ProtoReflect() protoreflect.Message
- func (x *LogStreamOutput) Reset()
- func (x *LogStreamOutput) String() string
- type LogStreamOutput_Event
- type LogStreamOutput_Line
- type MetricColorRange
- func (*MetricColorRange) Descriptor() ([]byte, []int)deprecated
- func (x *MetricColorRange) GetColor() string
- func (x *MetricColorRange) GetMax() float64
- func (x *MetricColorRange) GetMin() float64
- func (*MetricColorRange) ProtoMessage()
- func (x *MetricColorRange) ProtoReflect() protoreflect.Message
- func (x *MetricColorRange) Reset()
- func (x *MetricColorRange) String() string
- type MetricDescriptor
- func (*MetricDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *MetricDescriptor) GetChartGroup() string
- func (x *MetricDescriptor) GetColorRanges() []*MetricColorRange
- func (x *MetricDescriptor) GetFormatString() string
- func (x *MetricDescriptor) GetIcon() string
- func (x *MetricDescriptor) GetId() string
- func (x *MetricDescriptor) GetName() string
- func (x *MetricDescriptor) GetSupportedShapes() []MetricShape
- func (x *MetricDescriptor) GetUnit() MetricUnit
- func (*MetricDescriptor) ProtoMessage()
- func (x *MetricDescriptor) ProtoReflect() protoreflect.Message
- func (x *MetricDescriptor) Reset()
- func (x *MetricDescriptor) String() string
- type MetricHandler
- func (*MetricHandler) Descriptor() ([]byte, []int)deprecated
- func (x *MetricHandler) GetMetrics() []*MetricDescriptor
- func (x *MetricHandler) GetResource() string
- func (*MetricHandler) ProtoMessage()
- func (x *MetricHandler) ProtoReflect() protoreflect.Message
- func (x *MetricHandler) Reset()
- func (x *MetricHandler) String() string
- type MetricOperationError
- func (*MetricOperationError) Descriptor() ([]byte, []int)deprecated
- func (x *MetricOperationError) GetCode() string
- func (x *MetricOperationError) GetMessage() string
- func (x *MetricOperationError) GetSuggestions() []string
- func (x *MetricOperationError) GetTitle() string
- func (*MetricOperationError) ProtoMessage()
- func (x *MetricOperationError) ProtoReflect() protoreflect.Message
- func (x *MetricOperationError) Reset()
- func (x *MetricOperationError) String() string
- type MetricPluginClient
- type MetricPluginServer
- type MetricPlugin_StreamMetricsClient
- type MetricPlugin_StreamMetricsServer
- type MetricPlugin_StreamResourceMetricsClient
- type MetricPlugin_StreamResourceMetricsServer
- type MetricProviderInfo
- func (*MetricProviderInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetricProviderInfo) GetDescription() string
- func (x *MetricProviderInfo) GetIcon() string
- func (x *MetricProviderInfo) GetId() string
- func (x *MetricProviderInfo) GetName() string
- func (*MetricProviderInfo) ProtoMessage()
- func (x *MetricProviderInfo) ProtoReflect() protoreflect.Message
- func (x *MetricProviderInfo) Reset()
- func (x *MetricProviderInfo) String() string
- type MetricResult
- func (*MetricResult) Descriptor() ([]byte, []int)deprecated
- func (x *MetricResult) GetAggregateValue() *AggregateValue
- func (x *MetricResult) GetCurrentValue() *CurrentValue
- func (x *MetricResult) GetResult() isMetricResult_Result
- func (x *MetricResult) GetTimeSeries() *TimeSeries
- func (*MetricResult) ProtoMessage()
- func (x *MetricResult) ProtoReflect() protoreflect.Message
- func (x *MetricResult) Reset()
- func (x *MetricResult) String() string
- type MetricResult_AggregateValue
- type MetricResult_CurrentValue
- type MetricResult_TimeSeries
- type MetricShape
- func (MetricShape) Descriptor() protoreflect.EnumDescriptor
- func (x MetricShape) Enum() *MetricShape
- func (MetricShape) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetricShape) Number() protoreflect.EnumNumber
- func (x MetricShape) String() string
- func (MetricShape) Type() protoreflect.EnumType
- type MetricStreamCommand
- func (MetricStreamCommand) Descriptor() protoreflect.EnumDescriptor
- func (x MetricStreamCommand) Enum() *MetricStreamCommand
- func (MetricStreamCommand) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetricStreamCommand) Number() protoreflect.EnumNumber
- func (x MetricStreamCommand) String() string
- func (MetricStreamCommand) Type() protoreflect.EnumType
- type MetricStreamInput
- func (*MetricStreamInput) Descriptor() ([]byte, []int)deprecated
- func (x *MetricStreamInput) GetCatalogRevision() string
- func (x *MetricStreamInput) GetCommand() MetricStreamCommand
- func (x *MetricStreamInput) GetInterval() *durationpb.Duration
- func (x *MetricStreamInput) GetMetricIds() []string
- func (x *MetricStreamInput) GetParams() map[string]string
- func (x *MetricStreamInput) GetReference() *v2.ResourceReference
- func (x *MetricStreamInput) GetResourceData() *v2.Value
- func (x *MetricStreamInput) GetResourceId() string
- func (x *MetricStreamInput) GetResourceKey() string
- func (x *MetricStreamInput) GetResourceNamespace() string
- func (x *MetricStreamInput) GetResourceOpen() bool
- func (x *MetricStreamInput) GetResourceWireVersion() uint32
- func (x *MetricStreamInput) GetRoute() *v2.AccessRoute
- func (x *MetricStreamInput) GetSubscriptionId() string
- func (*MetricStreamInput) ProtoMessage()
- func (x *MetricStreamInput) ProtoReflect() protoreflect.Message
- func (x *MetricStreamInput) Reset()
- func (x *MetricStreamInput) String() string
- type MetricStreamOutput
- func (*MetricStreamOutput) Descriptor() ([]byte, []int)deprecated
- func (x *MetricStreamOutput) GetError() string
- func (x *MetricStreamOutput) GetOperationError() *MetricOperationError
- func (x *MetricStreamOutput) GetResults() []*MetricResult
- func (x *MetricStreamOutput) GetSubscriptionId() string
- func (x *MetricStreamOutput) GetTimestamp() *timestamppb.Timestamp
- func (*MetricStreamOutput) ProtoMessage()
- func (x *MetricStreamOutput) ProtoReflect() protoreflect.Message
- func (x *MetricStreamOutput) Reset()
- func (x *MetricStreamOutput) String() string
- type MetricUnit
- type NetworkerPluginClient
- type NetworkerPluginServer
- type PluginContext
- func (*PluginContext) Descriptor() ([]byte, []int)deprecated
- func (x *PluginContext) GetGlobalSettings() map[string]string
- func (x *PluginContext) GetPluginId() string
- func (x *PluginContext) GetPluginSettings() map[string]string
- func (*PluginContext) ProtoMessage()
- func (x *PluginContext) ProtoReflect() protoreflect.Message
- func (x *PluginContext) Reset()
- func (x *PluginContext) String() string
- type PluginLifecycleClient
- type PluginLifecycleServer
- type PortForwardProtocol
- func (PortForwardProtocol) Descriptor() protoreflect.EnumDescriptor
- func (x PortForwardProtocol) Enum() *PortForwardProtocol
- func (PortForwardProtocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortForwardProtocol) Number() protoreflect.EnumNumber
- func (x PortForwardProtocol) String() string
- func (PortForwardProtocol) Type() protoreflect.EnumType
- type PortForwardResourceConnection
- func (*PortForwardResourceConnection) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardResourceConnection) GetConnectionId() string
- func (x *PortForwardResourceConnection) GetPluginId() string
- func (x *PortForwardResourceConnection) GetReference() *v2.ResourceReference
- func (x *PortForwardResourceConnection) GetResourceData() *v2.Value
- func (x *PortForwardResourceConnection) GetResourceId() string
- func (x *PortForwardResourceConnection) GetResourceKey() string
- func (x *PortForwardResourceConnection) GetResourceWireVersion() uint32
- func (x *PortForwardResourceConnection) GetRoute() *v2.AccessRoute
- func (*PortForwardResourceConnection) ProtoMessage()
- func (x *PortForwardResourceConnection) ProtoReflect() protoreflect.Message
- func (x *PortForwardResourceConnection) Reset()
- func (x *PortForwardResourceConnection) String() string
- type PortForwardSession
- func (*PortForwardSession) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSession) GetConnection() isPortForwardSession_Connection
- func (x *PortForwardSession) GetCreatedAt() *timestamppb.Timestamp
- func (x *PortForwardSession) GetEncryption() *PortForwardSessionEncryption
- func (x *PortForwardSession) GetId() string
- func (x *PortForwardSession) GetLabels() map[string]string
- func (x *PortForwardSession) GetLocalPort() int32
- func (x *PortForwardSession) GetProtocol() PortForwardProtocol
- func (x *PortForwardSession) GetRemotePort() int32
- func (x *PortForwardSession) GetResourceConnection() *PortForwardResourceConnection
- func (x *PortForwardSession) GetState() PortForwardSession_SessionState
- func (x *PortForwardSession) GetStaticConnection() *PortForwardStaticConnection
- func (x *PortForwardSession) GetUpdatedAt() *timestamppb.Timestamp
- func (*PortForwardSession) ProtoMessage()
- func (x *PortForwardSession) ProtoReflect() protoreflect.Message
- func (x *PortForwardSession) Reset()
- func (x *PortForwardSession) String() string
- type PortForwardSessionByIdRequest
- func (*PortForwardSessionByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionByIdRequest) GetId() string
- func (*PortForwardSessionByIdRequest) ProtoMessage()
- func (x *PortForwardSessionByIdRequest) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionByIdRequest) Reset()
- func (x *PortForwardSessionByIdRequest) String() string
- type PortForwardSessionByIdResponse
- func (*PortForwardSessionByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionByIdResponse) GetSession() *PortForwardSession
- func (*PortForwardSessionByIdResponse) ProtoMessage()
- func (x *PortForwardSessionByIdResponse) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionByIdResponse) Reset()
- func (x *PortForwardSessionByIdResponse) String() string
- type PortForwardSessionEncryption
- func (*PortForwardSessionEncryption) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionEncryption) GetAlgorithm() string
- func (x *PortForwardSessionEncryption) GetEnabled() bool
- func (x *PortForwardSessionEncryption) GetKey() string
- func (*PortForwardSessionEncryption) ProtoMessage()
- func (x *PortForwardSessionEncryption) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionEncryption) Reset()
- func (x *PortForwardSessionEncryption) String() string
- type PortForwardSessionListResponse
- func (*PortForwardSessionListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionListResponse) GetSessions() []*PortForwardSession
- func (*PortForwardSessionListResponse) ProtoMessage()
- func (x *PortForwardSessionListResponse) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionListResponse) Reset()
- func (x *PortForwardSessionListResponse) String() string
- type PortForwardSessionOptions
- func (*PortForwardSessionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardSessionOptions) GetConnection() isPortForwardSessionOptions_Connection
- func (x *PortForwardSessionOptions) GetEncryption() *PortForwardSessionEncryption
- func (x *PortForwardSessionOptions) GetLabels() map[string]string
- func (x *PortForwardSessionOptions) GetLocalPort() int32
- func (x *PortForwardSessionOptions) GetParams() map[string]string
- func (x *PortForwardSessionOptions) GetProtocol() PortForwardProtocol
- func (x *PortForwardSessionOptions) GetRemotePort() int32
- func (x *PortForwardSessionOptions) GetResourceConnection() *PortForwardResourceConnection
- func (x *PortForwardSessionOptions) GetStaticConnection() *PortForwardStaticConnection
- func (*PortForwardSessionOptions) ProtoMessage()
- func (x *PortForwardSessionOptions) ProtoReflect() protoreflect.Message
- func (x *PortForwardSessionOptions) Reset()
- func (x *PortForwardSessionOptions) String() string
- type PortForwardSessionOptions_ResourceConnection
- type PortForwardSessionOptions_StaticConnection
- type PortForwardSession_ResourceConnection
- type PortForwardSession_SessionState
- func (PortForwardSession_SessionState) Descriptor() protoreflect.EnumDescriptor
- func (x PortForwardSession_SessionState) Enum() *PortForwardSession_SessionState
- func (PortForwardSession_SessionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PortForwardSession_SessionState) Number() protoreflect.EnumNumber
- func (x PortForwardSession_SessionState) String() string
- func (PortForwardSession_SessionState) Type() protoreflect.EnumType
- type PortForwardSession_StaticConnection
- type PortForwardStaticConnection
- func (*PortForwardStaticConnection) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardStaticConnection) GetAddress() string
- func (*PortForwardStaticConnection) ProtoMessage()
- func (x *PortForwardStaticConnection) ProtoReflect() protoreflect.Message
- func (x *PortForwardStaticConnection) Reset()
- func (x *PortForwardStaticConnection) String() string
- type PublishStreamRequest
- func (*PublishStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PublishStreamRequest) GetData() []byte
- func (x *PublishStreamRequest) GetPath() string
- func (x *PublishStreamRequest) GetPluginContext() *PluginContext
- func (*PublishStreamRequest) ProtoMessage()
- func (x *PublishStreamRequest) ProtoReflect() protoreflect.Message
- func (x *PublishStreamRequest) Reset()
- func (x *PublishStreamRequest) String() string
- type PublishStreamResponse
- func (*PublishStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PublishStreamResponse) GetData() []byte
- func (x *PublishStreamResponse) GetStatus() PublishStreamResponse_Status
- func (*PublishStreamResponse) ProtoMessage()
- func (x *PublishStreamResponse) ProtoReflect() protoreflect.Message
- func (x *PublishStreamResponse) Reset()
- func (x *PublishStreamResponse) String() string
- type PublishStreamResponse_Status
- func (PublishStreamResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x PublishStreamResponse_Status) Enum() *PublishStreamResponse_Status
- func (PublishStreamResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x PublishStreamResponse_Status) Number() protoreflect.EnumNumber
- func (x PublishStreamResponse_Status) String() string
- func (PublishStreamResponse_Status) Type() protoreflect.EnumType
- type QueryMetricsRequest
- func (*QueryMetricsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetricsRequest) GetEndTime() *timestamppb.Timestamp
- func (x *QueryMetricsRequest) GetMetricIds() []string
- func (x *QueryMetricsRequest) GetParams() map[string]string
- func (x *QueryMetricsRequest) GetReference() *v2.ResourceReference
- func (x *QueryMetricsRequest) GetResourceData() *v2.Value
- func (x *QueryMetricsRequest) GetResourceId() string
- func (x *QueryMetricsRequest) GetResourceKey() string
- func (x *QueryMetricsRequest) GetResourceNamespace() string
- func (x *QueryMetricsRequest) GetResourceWireVersion() uint32
- func (x *QueryMetricsRequest) GetRoute() *v2.AccessRoute
- func (x *QueryMetricsRequest) GetShape() MetricShape
- func (x *QueryMetricsRequest) GetStartTime() *timestamppb.Timestamp
- func (x *QueryMetricsRequest) GetStep() *durationpb.Duration
- func (*QueryMetricsRequest) ProtoMessage()
- func (x *QueryMetricsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryMetricsRequest) Reset()
- func (x *QueryMetricsRequest) String() string
- type QueryMetricsResponse
- func (*QueryMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryMetricsResponse) GetError() string
- func (x *QueryMetricsResponse) GetResults() []*MetricResult
- func (x *QueryMetricsResponse) GetSuccess() bool
- func (*QueryMetricsResponse) ProtoMessage()
- func (x *QueryMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryMetricsResponse) Reset()
- func (x *QueryMetricsResponse) String() string
- type ResizeSessionRequest
- func (*ResizeSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeSessionRequest) GetCols() int32
- func (x *ResizeSessionRequest) GetId() string
- func (x *ResizeSessionRequest) GetRows() int32
- func (*ResizeSessionRequest) ProtoMessage()
- func (x *ResizeSessionRequest) ProtoReflect() protoreflect.Message
- func (x *ResizeSessionRequest) Reset()
- func (x *ResizeSessionRequest) String() string
- type ResizeSessionResponse
- func (*ResizeSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResizeSessionResponse) GetError() string
- func (x *ResizeSessionResponse) GetSuccess() bool
- func (*ResizeSessionResponse) ProtoMessage()
- func (x *ResizeSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ResizeSessionResponse) Reset()
- func (x *ResizeSessionResponse) String() string
- type ResourceActionTargetBuilder
- func (*ResourceActionTargetBuilder) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceActionTargetBuilder) GetLabel() string
- func (x *ResourceActionTargetBuilder) GetLabelSelector() string
- func (x *ResourceActionTargetBuilder) GetPaths() []string
- func (x *ResourceActionTargetBuilder) GetSelectors() map[string]string
- func (*ResourceActionTargetBuilder) ProtoMessage()
- func (x *ResourceActionTargetBuilder) ProtoReflect() protoreflect.Message
- func (x *ResourceActionTargetBuilder) Reset()
- func (x *ResourceActionTargetBuilder) String() string
- type ResourceLogSessionResponse
- func (*ResourceLogSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLogSessionResponse) GetResourceWireVersion() uint32
- func (x *ResourceLogSessionResponse) GetSession() *LogSession
- func (*ResourceLogSessionResponse) ProtoMessage()
- func (x *ResourceLogSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceLogSessionResponse) Reset()
- func (x *ResourceLogSessionResponse) String() string
- type ResourceMetricStreamOutput
- func (*ResourceMetricStreamOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMetricStreamOutput) GetOutput() *MetricStreamOutput
- func (x *ResourceMetricStreamOutput) GetPayload() isResourceMetricStreamOutput_Payload
- func (x *ResourceMetricStreamOutput) GetReady() bool
- func (x *ResourceMetricStreamOutput) GetResourceWireVersion() uint32
- func (*ResourceMetricStreamOutput) ProtoMessage()
- func (x *ResourceMetricStreamOutput) ProtoReflect() protoreflect.Message
- func (x *ResourceMetricStreamOutput) Reset()
- func (x *ResourceMetricStreamOutput) String() string
- type ResourceMetricStreamOutput_Output
- type ResourceMetricStreamOutput_Ready
- type ResourcePortForwardSessionResponse
- func (*ResourcePortForwardSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePortForwardSessionResponse) GetResourceWireVersion() uint32
- func (x *ResourcePortForwardSessionResponse) GetSession() *PortForwardSession
- func (*ResourcePortForwardSessionResponse) ProtoMessage()
- func (x *ResourcePortForwardSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ResourcePortForwardSessionResponse) Reset()
- func (x *ResourcePortForwardSessionResponse) String() string
- type ResourceQueryMetricsResponse
- func (*ResourceQueryMetricsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceQueryMetricsResponse) GetResourceWireVersion() uint32
- func (x *ResourceQueryMetricsResponse) GetResponse() *QueryMetricsResponse
- func (*ResourceQueryMetricsResponse) ProtoMessage()
- func (x *ResourceQueryMetricsResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceQueryMetricsResponse) Reset()
- func (x *ResourceQueryMetricsResponse) String() string
- type ResourceSessionResponse
- func (*ResourceSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceSessionResponse) GetResourceWireVersion() uint32
- func (x *ResourceSessionResponse) GetSession() *Session
- func (*ResourceSessionResponse) ProtoMessage()
- func (x *ResourceSessionResponse) ProtoReflect() protoreflect.Message
- func (x *ResourceSessionResponse) Reset()
- func (x *ResourceSessionResponse) String() string
- type RunStreamRequest
- func (*RunStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunStreamRequest) GetPath() string
- func (x *RunStreamRequest) GetPluginContext() *PluginContext
- func (*RunStreamRequest) ProtoMessage()
- func (x *RunStreamRequest) ProtoReflect() protoreflect.Message
- func (x *RunStreamRequest) Reset()
- func (x *RunStreamRequest) String() string
- type ServingStatus
- func (ServingStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ServingStatus) Enum() *ServingStatus
- func (ServingStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServingStatus) Number() protoreflect.EnumNumber
- func (x ServingStatus) String() string
- func (ServingStatus) Type() protoreflect.EnumType
- type Session
- func (*Session) Descriptor() ([]byte, []int)deprecated
- func (x *Session) GetAttached() bool
- func (x *Session) GetCommand() []string
- func (x *Session) GetCreatedAt() *timestamppb.Timestamp
- func (x *Session) GetId() string
- func (x *Session) GetLabels() map[string]string
- func (x *Session) GetParams() map[string]string
- func (*Session) ProtoMessage()
- func (x *Session) ProtoReflect() protoreflect.Message
- func (x *Session) Reset()
- func (x *Session) String() string
- type SessionOptions
- func (*SessionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *SessionOptions) GetCommand() []string
- func (x *SessionOptions) GetId() string
- func (x *SessionOptions) GetLabels() map[string]string
- func (x *SessionOptions) GetParams() map[string]string
- func (x *SessionOptions) GetReference() *v2.ResourceReference
- func (x *SessionOptions) GetResourceData() *v2.Value
- func (x *SessionOptions) GetResourceKey() string
- func (x *SessionOptions) GetResourcePlugin() string
- func (x *SessionOptions) GetResourceWireVersion() uint32
- func (x *SessionOptions) GetRoute() *v2.AccessRoute
- func (x *SessionOptions) GetTty() bool
- func (*SessionOptions) ProtoMessage()
- func (x *SessionOptions) ProtoReflect() protoreflect.Message
- func (x *SessionOptions) Reset()
- func (x *SessionOptions) String() string
- type SetSettingRequest
- func (*SetSettingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSettingRequest) GetId() string
- func (x *SetSettingRequest) GetValue() *anypb.Any
- func (*SetSettingRequest) ProtoMessage()
- func (x *SetSettingRequest) ProtoReflect() protoreflect.Message
- func (x *SetSettingRequest) Reset()
- func (x *SetSettingRequest) String() string
- type SetSettingsRequest
- func (*SetSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetSettingsRequest) GetSettings() map[string]*anypb.Any
- func (*SetSettingsRequest) ProtoMessage()
- func (x *SetSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *SetSettingsRequest) Reset()
- func (x *SetSettingsRequest) String() string
- type Setting
- func (*Setting) Descriptor() ([]byte, []int)deprecated
- func (x *Setting) GetDefault() *anypb.Any
- func (x *Setting) GetDescription() string
- func (x *Setting) GetFileSelection() *SettingFileSelection
- func (x *Setting) GetId() string
- func (x *Setting) GetLabel() string
- func (x *Setting) GetOptions() []*SettingOption
- func (x *Setting) GetType() SettingType
- func (x *Setting) GetValue() *anypb.Any
- func (*Setting) ProtoMessage()
- func (x *Setting) ProtoReflect() protoreflect.Message
- func (x *Setting) Reset()
- func (x *Setting) String() string
- type SettingFileSelection
- func (*SettingFileSelection) Descriptor() ([]byte, []int)deprecated
- func (x *SettingFileSelection) GetAllowFolders() bool
- func (x *SettingFileSelection) GetDefaultPath() string
- func (x *SettingFileSelection) GetEnabled() bool
- func (x *SettingFileSelection) GetExtensions() []string
- func (x *SettingFileSelection) GetMultiple() bool
- func (x *SettingFileSelection) GetRelative() bool
- func (*SettingFileSelection) ProtoMessage()
- func (x *SettingFileSelection) ProtoReflect() protoreflect.Message
- func (x *SettingFileSelection) Reset()
- func (x *SettingFileSelection) String() string
- type SettingOption
- func (*SettingOption) Descriptor() ([]byte, []int)deprecated
- func (x *SettingOption) GetDescription() string
- func (x *SettingOption) GetLabel() string
- func (x *SettingOption) GetValue() *anypb.Any
- func (*SettingOption) ProtoMessage()
- func (x *SettingOption) ProtoReflect() protoreflect.Message
- func (x *SettingOption) Reset()
- func (x *SettingOption) String() string
- type SettingType
- func (SettingType) Descriptor() protoreflect.EnumDescriptor
- func (x SettingType) Enum() *SettingType
- func (SettingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SettingType) Number() protoreflect.EnumNumber
- func (x SettingType) String() string
- func (SettingType) Type() protoreflect.EnumType
- type SettingsCategory
- func (*SettingsCategory) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsCategory) GetDescription() string
- func (x *SettingsCategory) GetIcon() string
- func (x *SettingsCategory) GetId() string
- func (x *SettingsCategory) GetLabel() string
- func (x *SettingsCategory) GetSettings() map[string]*Setting
- func (*SettingsCategory) ProtoMessage()
- func (x *SettingsCategory) ProtoReflect() protoreflect.Message
- func (x *SettingsCategory) Reset()
- func (x *SettingsCategory) String() string
- type SettingsPluginClient
- type SettingsPluginServer
- type StreamClient
- type StreamError
- func (*StreamError) Descriptor() ([]byte, []int)deprecated
- func (x *StreamError) GetMessage() string
- func (x *StreamError) GetRetryCommands() []string
- func (x *StreamError) GetRetryable() bool
- func (x *StreamError) GetSuggestion() string
- func (x *StreamError) GetTitle() string
- func (*StreamError) ProtoMessage()
- func (x *StreamError) ProtoReflect() protoreflect.Message
- func (x *StreamError) Reset()
- func (x *StreamError) String() string
- type StreamInput
- type StreamOutput
- func (*StreamOutput) Descriptor() ([]byte, []int)deprecated
- func (x *StreamOutput) GetData() []byte
- func (x *StreamOutput) GetError() *StreamError
- func (x *StreamOutput) GetId() string
- func (x *StreamOutput) GetSignal() StreamSignal
- func (x *StreamOutput) GetTarget() StreamOutput_Target
- func (*StreamOutput) ProtoMessage()
- func (x *StreamOutput) ProtoReflect() protoreflect.Message
- func (x *StreamOutput) Reset()
- func (x *StreamOutput) String() string
- type StreamOutput_Target
- func (StreamOutput_Target) Descriptor() protoreflect.EnumDescriptor
- func (x StreamOutput_Target) Enum() *StreamOutput_Target
- func (StreamOutput_Target) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamOutput_Target) Number() protoreflect.EnumNumber
- func (x StreamOutput_Target) String() string
- func (StreamOutput_Target) Type() protoreflect.EnumType
- type StreamPacket
- type StreamServer
- type StreamSignal
- func (StreamSignal) Descriptor() protoreflect.EnumDescriptor
- func (x StreamSignal) Enum() *StreamSignal
- func (StreamSignal) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamSignal) Number() protoreflect.EnumNumber
- func (x StreamSignal) String() string
- func (StreamSignal) Type() protoreflect.EnumType
- type Stream_RunClient
- type Stream_RunServer
- type StringList
- type SubscribeStreamRequest
- func (*SubscribeStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeStreamRequest) GetPath() string
- func (x *SubscribeStreamRequest) GetPluginContext() *PluginContext
- func (*SubscribeStreamRequest) ProtoMessage()
- func (x *SubscribeStreamRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeStreamRequest) Reset()
- func (x *SubscribeStreamRequest) String() string
- type SubscribeStreamResponse
- func (*SubscribeStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeStreamResponse) GetData() []byte
- func (x *SubscribeStreamResponse) GetStatus() SubscribeStreamResponse_Status
- func (*SubscribeStreamResponse) ProtoMessage()
- func (x *SubscribeStreamResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeStreamResponse) Reset()
- func (x *SubscribeStreamResponse) String() string
- type SubscribeStreamResponse_Status
- func (SubscribeStreamResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x SubscribeStreamResponse_Status) Enum() *SubscribeStreamResponse_Status
- func (SubscribeStreamResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubscribeStreamResponse_Status) Number() protoreflect.EnumNumber
- func (x SubscribeStreamResponse_Status) String() string
- func (SubscribeStreamResponse_Status) Type() protoreflect.EnumType
- type TimeSeries
- func (*TimeSeries) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSeries) GetDataPoints() []*DataPoint
- func (x *TimeSeries) GetLabels() map[string]string
- func (x *TimeSeries) GetMetricId() string
- func (*TimeSeries) ProtoMessage()
- func (x *TimeSeries) ProtoReflect() protoreflect.Message
- func (x *TimeSeries) Reset()
- func (x *TimeSeries) String() string
- type UnimplementedCommandServer
- type UnimplementedExecPluginServer
- func (UnimplementedExecPluginServer) AttachSession(context.Context, *AttachSessionRequest) (*AttachSessionResponse, error)
- func (UnimplementedExecPluginServer) CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error)
- func (UnimplementedExecPluginServer) CreateResourceSession(context.Context, *SessionOptions) (*ResourceSessionResponse, error)
- func (UnimplementedExecPluginServer) CreateSession(context.Context, *SessionOptions) (*CreateSessionResponse, error)
- func (UnimplementedExecPluginServer) DetachSession(context.Context, *AttachSessionRequest) (*AttachSessionResponse, error)
- func (UnimplementedExecPluginServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
- func (UnimplementedExecPluginServer) GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedResourcesResponse, error)
- func (UnimplementedExecPluginServer) ListSessions(context.Context, *emptypb.Empty) (*ListSessionsResponse, error)
- func (UnimplementedExecPluginServer) ResizeSession(context.Context, *ResizeSessionRequest) (*ResizeSessionResponse, error)
- func (UnimplementedExecPluginServer) Stream(ExecPlugin_StreamServer) error
- type UnimplementedLogPluginServer
- func (UnimplementedLogPluginServer) CloseSession(context.Context, *LogSessionByIdRequest) (*CloseLogSessionResponse, error)
- func (UnimplementedLogPluginServer) CreateResourceSession(context.Context, *CreateLogSessionRequest) (*ResourceLogSessionResponse, error)
- func (UnimplementedLogPluginServer) CreateSession(context.Context, *CreateLogSessionRequest) (*CreateLogSessionResponse, error)
- func (UnimplementedLogPluginServer) GetSession(context.Context, *LogSessionByIdRequest) (*LogSessionByIdResponse, error)
- func (UnimplementedLogPluginServer) GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedLogResourcesResponse, error)
- func (UnimplementedLogPluginServer) ListSessions(context.Context, *emptypb.Empty) (*ListLogSessionsResponse, error)
- func (UnimplementedLogPluginServer) Stream(LogPlugin_StreamServer) error
- func (UnimplementedLogPluginServer) UpdateSessionOptions(context.Context, *UpdateLogSessionOptionsRequest) (*LogSessionByIdResponse, error)
- type UnimplementedMetricPluginServer
- func (UnimplementedMetricPluginServer) GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedMetricResourcesResponse, error)
- func (UnimplementedMetricPluginServer) Query(context.Context, *QueryMetricsRequest) (*QueryMetricsResponse, error)
- func (UnimplementedMetricPluginServer) QueryResource(context.Context, *QueryMetricsRequest) (*ResourceQueryMetricsResponse, error)
- func (UnimplementedMetricPluginServer) StreamMetrics(MetricPlugin_StreamMetricsServer) error
- func (UnimplementedMetricPluginServer) StreamResourceMetrics(MetricPlugin_StreamResourceMetricsServer) error
- type UnimplementedNetworkerPluginServer
- func (UnimplementedNetworkerPluginServer) ClosePortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
- func (UnimplementedNetworkerPluginServer) FindPortForwardSessions(context.Context, *FindPortForwardSessionRequest) (*PortForwardSessionListResponse, error)
- func (UnimplementedNetworkerPluginServer) GetPortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
- func (UnimplementedNetworkerPluginServer) GetSupportedPortForwardTargets(context.Context, *emptypb.Empty) (*GetSupportedPortForwardTargetsResponse, error)
- func (UnimplementedNetworkerPluginServer) ListPortForwardSessions(context.Context, *emptypb.Empty) (*PortForwardSessionListResponse, error)
- func (UnimplementedNetworkerPluginServer) StartPortForwardSession(context.Context, *PortForwardSessionOptions) (*PortForwardSessionByIdResponse, error)
- func (UnimplementedNetworkerPluginServer) StartResourcePortForwardSession(context.Context, *PortForwardSessionOptions) (*ResourcePortForwardSessionResponse, error)
- type UnimplementedPluginLifecycleServer
- func (UnimplementedPluginLifecycleServer) GetCapabilities(context.Context, *emptypb.Empty) (*GetCapabilitiesResponse, error)
- func (UnimplementedPluginLifecycleServer) GetInfo(context.Context, *emptypb.Empty) (*GetInfoResponse, error)
- func (UnimplementedPluginLifecycleServer) HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
- type UnimplementedSettingsPluginServer
- func (UnimplementedSettingsPluginServer) GetSetting(context.Context, *GetSettingRequest) (*Setting, error)
- func (UnimplementedSettingsPluginServer) GetSettingValue(context.Context, *GetSettingValueRequest) (*GetSettingValueResponse, error)
- func (UnimplementedSettingsPluginServer) ListSettings(context.Context, *emptypb.Empty) (*ListSettingsResponse, error)
- func (UnimplementedSettingsPluginServer) SetSetting(context.Context, *SetSettingRequest) (*emptypb.Empty, error)
- func (UnimplementedSettingsPluginServer) SetSettings(context.Context, *SetSettingsRequest) (*emptypb.Empty, error)
- type UnimplementedStreamServer
- func (UnimplementedStreamServer) Publish(context.Context, *PublishStreamRequest) (*PublishStreamResponse, error)
- func (UnimplementedStreamServer) Run(*RunStreamRequest, Stream_RunServer) error
- func (UnimplementedStreamServer) Subscribe(context.Context, *SubscribeStreamRequest) (*SubscribeStreamResponse, error)
- type UnsafeCommandServer
- type UnsafeExecPluginServer
- type UnsafeLogPluginServer
- type UnsafeMetricPluginServer
- type UnsafeNetworkerPluginServer
- type UnsafePluginLifecycleServer
- type UnsafeSettingsPluginServer
- type UnsafeStreamServer
- type UpdateLogSessionOptionsRequest
- func (*UpdateLogSessionOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLogSessionOptionsRequest) GetOptions() *LogSessionOptions
- func (x *UpdateLogSessionOptionsRequest) GetSessionId() string
- func (*UpdateLogSessionOptionsRequest) ProtoMessage()
- func (x *UpdateLogSessionOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLogSessionOptionsRequest) Reset()
- func (x *UpdateLogSessionOptionsRequest) String() string
- type VisualComponentList
- func (*VisualComponentList) Descriptor() ([]byte, []int)deprecated
- func (x *VisualComponentList) GetResource() []*VisualResourceComponent
- func (*VisualComponentList) ProtoMessage()
- func (x *VisualComponentList) ProtoReflect() protoreflect.Message
- func (x *VisualComponentList) Reset()
- func (x *VisualComponentList) String() string
- type VisualResourceComponent
- func (*VisualResourceComponent) Descriptor() ([]byte, []int)deprecated
- func (x *VisualResourceComponent) GetId() string
- func (x *VisualResourceComponent) GetPlugin() string
- func (x *VisualResourceComponent) GetResources() []string
- func (x *VisualResourceComponent) GetType() VisualResourceComponent_ComponentType
- func (*VisualResourceComponent) ProtoMessage()
- func (x *VisualResourceComponent) ProtoReflect() protoreflect.Message
- func (x *VisualResourceComponent) Reset()
- func (x *VisualResourceComponent) String() string
- type VisualResourceComponent_ComponentType
- func (VisualResourceComponent_ComponentType) Descriptor() protoreflect.EnumDescriptor
- func (x VisualResourceComponent_ComponentType) Enum() *VisualResourceComponent_ComponentType
- func (VisualResourceComponent_ComponentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VisualResourceComponent_ComponentType) Number() protoreflect.EnumNumber
- func (x VisualResourceComponent_ComponentType) String() string
- func (VisualResourceComponent_ComponentType) Type() protoreflect.EnumType
Constants ¶
const ( Stream_Subscribe_FullMethodName = "/com.omniview.pluginsdk.Stream/Subscribe" Stream_Run_FullMethodName = "/com.omniview.pluginsdk.Stream/Run" Stream_Publish_FullMethodName = "/com.omniview.pluginsdk.Stream/Publish" )
const ( ExecPlugin_GetSupportedResources_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/GetSupportedResources" ExecPlugin_GetSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/GetSession" ExecPlugin_ListSessions_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/ListSessions" ExecPlugin_CreateSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/CreateSession" ExecPlugin_CreateResourceSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/CreateResourceSession" ExecPlugin_AttachSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/AttachSession" ExecPlugin_DetachSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/DetachSession" ExecPlugin_CloseSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/CloseSession" ExecPlugin_ResizeSession_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/ResizeSession" ExecPlugin_Stream_FullMethodName = "/com.omniview.pluginsdk.ExecPlugin/Stream" )
const ( PluginLifecycle_GetInfo_FullMethodName = "/com.omniview.pluginsdk.PluginLifecycle/GetInfo" PluginLifecycle_GetCapabilities_FullMethodName = "/com.omniview.pluginsdk.PluginLifecycle/GetCapabilities" PluginLifecycle_HealthCheck_FullMethodName = "/com.omniview.pluginsdk.PluginLifecycle/HealthCheck" )
const ( LogPlugin_GetSupportedResources_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/GetSupportedResources" LogPlugin_CreateSession_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/CreateSession" LogPlugin_CreateResourceSession_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/CreateResourceSession" LogPlugin_GetSession_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/GetSession" LogPlugin_ListSessions_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/ListSessions" LogPlugin_CloseSession_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/CloseSession" LogPlugin_UpdateSessionOptions_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/UpdateSessionOptions" LogPlugin_Stream_FullMethodName = "/com.omniview.pluginsdk.LogPlugin/Stream" )
const ( MetricPlugin_GetSupportedResources_FullMethodName = "/com.omniview.pluginsdk.MetricPlugin/GetSupportedResources" MetricPlugin_Query_FullMethodName = "/com.omniview.pluginsdk.MetricPlugin/Query" MetricPlugin_StreamMetrics_FullMethodName = "/com.omniview.pluginsdk.MetricPlugin/StreamMetrics" MetricPlugin_QueryResource_FullMethodName = "/com.omniview.pluginsdk.MetricPlugin/QueryResource" MetricPlugin_StreamResourceMetrics_FullMethodName = "/com.omniview.pluginsdk.MetricPlugin/StreamResourceMetrics" )
const ( NetworkerPlugin_GetSupportedPortForwardTargets_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/GetSupportedPortForwardTargets" NetworkerPlugin_GetPortForwardSession_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/GetPortForwardSession" NetworkerPlugin_ListPortForwardSessions_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/ListPortForwardSessions" NetworkerPlugin_FindPortForwardSessions_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/FindPortForwardSessions" NetworkerPlugin_StartPortForwardSession_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/StartPortForwardSession" NetworkerPlugin_StartResourcePortForwardSession_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/StartResourcePortForwardSession" NetworkerPlugin_ClosePortForwardSession_FullMethodName = "/com.omniview.pluginsdk.NetworkerPlugin/ClosePortForwardSession" )
const ( SettingsPlugin_ListSettings_FullMethodName = "/com.omniview.pluginsdk.SettingsPlugin/ListSettings" SettingsPlugin_GetSetting_FullMethodName = "/com.omniview.pluginsdk.SettingsPlugin/GetSetting" SettingsPlugin_GetSettingValue_FullMethodName = "/com.omniview.pluginsdk.SettingsPlugin/GetSettingValue" SettingsPlugin_SetSetting_FullMethodName = "/com.omniview.pluginsdk.SettingsPlugin/SetSetting" SettingsPlugin_SetSettings_FullMethodName = "/com.omniview.pluginsdk.SettingsPlugin/SetSettings" )
const (
Command_Call_FullMethodName = "/com.omniview.pluginsdk.Command/Call"
)
Variables ¶
var ( SubscribeStreamResponse_Status_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", 2: "PERMISSION_DENIED", } SubscribeStreamResponse_Status_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, "PERMISSION_DENIED": 2, } )
Enum value maps for SubscribeStreamResponse_Status.
var ( PublishStreamResponse_Status_name = map[int32]string{ 0: "OK", 1: "NOT_FOUND", 2: "PERMISSION_DENIED", } PublishStreamResponse_Status_value = map[string]int32{ "OK": 0, "NOT_FOUND": 1, "PERMISSION_DENIED": 2, } )
Enum value maps for PublishStreamResponse_Status.
var ( StreamSignal_name = map[int32]string{ 0: "NONE", 1: "CLOSE", 2: "SIGINT", 3: "SIGQUIT", 4: "SIGTERM", 5: "SIGKILL", 6: "SIGHUP", 7: "SIGUSR1", 8: "SIGUSR2", 9: "SIGWINCH", 10: "ERROR", } StreamSignal_value = map[string]int32{ "NONE": 0, "CLOSE": 1, "SIGINT": 2, "SIGQUIT": 3, "SIGTERM": 4, "SIGKILL": 5, "SIGHUP": 6, "SIGUSR1": 7, "SIGUSR2": 8, "SIGWINCH": 9, "ERROR": 10, } )
Enum value maps for StreamSignal.
var ( StreamOutput_Target_name = map[int32]string{ 0: "STDOUT", 1: "STDERR", } StreamOutput_Target_value = map[string]int32{ "STDOUT": 0, "STDERR": 1, } )
Enum value maps for StreamOutput_Target.
var ( ServingStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "SERVING", 2: "NOT_SERVING", } ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, "NOT_SERVING": 2, } )
Enum value maps for ServingStatus.
var ( LogLineOrigin_name = map[int32]string{ 0: "LOG_LINE_ORIGIN_CURRENT", 1: "LOG_LINE_ORIGIN_PREVIOUS", 2: "LOG_LINE_ORIGIN_SYSTEM", } LogLineOrigin_value = map[string]int32{ "LOG_LINE_ORIGIN_CURRENT": 0, "LOG_LINE_ORIGIN_PREVIOUS": 1, "LOG_LINE_ORIGIN_SYSTEM": 2, } )
Enum value maps for LogLineOrigin.
var ( LogStreamEventType_name = map[int32]string{ 0: "LOG_STREAM_EVENT_SOURCE_ADDED", 1: "LOG_STREAM_EVENT_SOURCE_REMOVED", 2: "LOG_STREAM_EVENT_STREAM_ERROR", 3: "LOG_STREAM_EVENT_RECONNECTING", 4: "LOG_STREAM_EVENT_RECONNECTED", 5: "LOG_STREAM_EVENT_STREAM_ENDED", 6: "LOG_STREAM_EVENT_SESSION_READY", } LogStreamEventType_value = map[string]int32{ "LOG_STREAM_EVENT_SOURCE_ADDED": 0, "LOG_STREAM_EVENT_SOURCE_REMOVED": 1, "LOG_STREAM_EVENT_STREAM_ERROR": 2, "LOG_STREAM_EVENT_RECONNECTING": 3, "LOG_STREAM_EVENT_RECONNECTED": 4, "LOG_STREAM_EVENT_STREAM_ENDED": 5, "LOG_STREAM_EVENT_SESSION_READY": 6, } )
Enum value maps for LogStreamEventType.
var ( LogStreamCommand_name = map[int32]string{ 0: "LOG_STREAM_COMMAND_PAUSE", 1: "LOG_STREAM_COMMAND_RESUME", 2: "LOG_STREAM_COMMAND_CLOSE", } LogStreamCommand_value = map[string]int32{ "LOG_STREAM_COMMAND_PAUSE": 0, "LOG_STREAM_COMMAND_RESUME": 1, "LOG_STREAM_COMMAND_CLOSE": 2, } )
Enum value maps for LogStreamCommand.
var ( LogSessionStatus_name = map[int32]string{ 0: "LOG_SESSION_STATUS_ACTIVE", 1: "LOG_SESSION_STATUS_PAUSED", 2: "LOG_SESSION_STATUS_CLOSED", 3: "LOG_SESSION_STATUS_ERROR", 4: "LOG_SESSION_STATUS_CONNECTING", 5: "LOG_SESSION_STATUS_INITIALIZING", } LogSessionStatus_value = map[string]int32{ "LOG_SESSION_STATUS_ACTIVE": 0, "LOG_SESSION_STATUS_PAUSED": 1, "LOG_SESSION_STATUS_CLOSED": 2, "LOG_SESSION_STATUS_ERROR": 3, "LOG_SESSION_STATUS_CONNECTING": 4, "LOG_SESSION_STATUS_INITIALIZING": 5, } )
Enum value maps for LogSessionStatus.
var ( LogLevel_name = map[int32]string{ 0: "LOG_LEVEL_UNSPECIFIED", 1: "LOG_LEVEL_TRACE", 2: "LOG_LEVEL_DEBUG", 3: "LOG_LEVEL_INFO", 4: "LOG_LEVEL_WARN", 5: "LOG_LEVEL_ERROR", 6: "LOG_LEVEL_FATAL", } LogLevel_value = map[string]int32{ "LOG_LEVEL_UNSPECIFIED": 0, "LOG_LEVEL_TRACE": 1, "LOG_LEVEL_DEBUG": 2, "LOG_LEVEL_INFO": 3, "LOG_LEVEL_WARN": 4, "LOG_LEVEL_ERROR": 5, "LOG_LEVEL_FATAL": 6, } )
Enum value maps for LogLevel.
var ( MetricUnit_name = map[int32]string{ 0: "METRIC_UNIT_NONE", 1: "METRIC_UNIT_BYTES", 2: "METRIC_UNIT_KB", 3: "METRIC_UNIT_MB", 4: "METRIC_UNIT_GB", 5: "METRIC_UNIT_PERCENTAGE", 6: "METRIC_UNIT_MILLISECONDS", 7: "METRIC_UNIT_SECONDS", 8: "METRIC_UNIT_COUNT", 9: "METRIC_UNIT_OPS_PER_SEC", 10: "METRIC_UNIT_BYTES_PER_SEC", 11: "METRIC_UNIT_MILLICORES", 12: "METRIC_UNIT_CORES", } MetricUnit_value = map[string]int32{ "METRIC_UNIT_NONE": 0, "METRIC_UNIT_BYTES": 1, "METRIC_UNIT_KB": 2, "METRIC_UNIT_MB": 3, "METRIC_UNIT_GB": 4, "METRIC_UNIT_PERCENTAGE": 5, "METRIC_UNIT_MILLISECONDS": 6, "METRIC_UNIT_SECONDS": 7, "METRIC_UNIT_COUNT": 8, "METRIC_UNIT_OPS_PER_SEC": 9, "METRIC_UNIT_BYTES_PER_SEC": 10, "METRIC_UNIT_MILLICORES": 11, "METRIC_UNIT_CORES": 12, } )
Enum value maps for MetricUnit.
var ( MetricShape_name = map[int32]string{ 0: "METRIC_SHAPE_CURRENT", 1: "METRIC_SHAPE_TIMESERIES", 2: "METRIC_SHAPE_AGGREGATE", } MetricShape_value = map[string]int32{ "METRIC_SHAPE_CURRENT": 0, "METRIC_SHAPE_TIMESERIES": 1, "METRIC_SHAPE_AGGREGATE": 2, } )
Enum value maps for MetricShape.
var ( MetricStreamCommand_name = map[int32]string{ 0: "METRIC_STREAM_COMMAND_SUBSCRIBE", 1: "METRIC_STREAM_COMMAND_UNSUBSCRIBE", 2: "METRIC_STREAM_COMMAND_CLOSE", } MetricStreamCommand_value = map[string]int32{ "METRIC_STREAM_COMMAND_SUBSCRIBE": 0, "METRIC_STREAM_COMMAND_UNSUBSCRIBE": 1, "METRIC_STREAM_COMMAND_CLOSE": 2, } )
Enum value maps for MetricStreamCommand.
var ( PortForwardProtocol_name = map[int32]string{ 0: "TCP", 1: "UDP", } PortForwardProtocol_value = map[string]int32{ "TCP": 0, "UDP": 1, } )
Enum value maps for PortForwardProtocol.
var ( PortForwardSession_SessionState_name = map[int32]string{ 0: "ACTIVE", 1: "PAUSED", 2: "STOPPED", 3: "FAILED", } PortForwardSession_SessionState_value = map[string]int32{ "ACTIVE": 0, "PAUSED": 1, "STOPPED": 2, "FAILED": 3, } )
Enum value maps for PortForwardSession_SessionState.
var ( SettingType_name = map[int32]string{ 0: "TEXT", 1: "INTEGER", 2: "FLOAT", 3: "TOGGLE", 4: "COLOR", 5: "DATETIME", 6: "PASSWORD", } SettingType_value = map[string]int32{ "TEXT": 0, "INTEGER": 1, "FLOAT": 2, "TOGGLE": 3, "COLOR": 4, "DATETIME": 5, "PASSWORD": 6, } )
Enum value maps for SettingType.
var ( VisualResourceComponent_ComponentType_name = map[int32]string{ 0: "SIDEBAR", 1: "TABLE", 2: "TABLE_ROW", 3: "TABLE_CELL", } VisualResourceComponent_ComponentType_value = map[string]int32{ "SIDEBAR": 0, "TABLE": 1, "TABLE_ROW": 2, "TABLE_CELL": 3, } )
Enum value maps for VisualResourceComponent_ComponentType.
var Command_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.Command", HandlerType: (*CommandServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Call", Handler: _Command_Call_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/command.proto", }
Command_ServiceDesc is the grpc.ServiceDesc for Command service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var ExecPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.ExecPlugin", HandlerType: (*ExecPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSupportedResources", Handler: _ExecPlugin_GetSupportedResources_Handler, }, { MethodName: "GetSession", Handler: _ExecPlugin_GetSession_Handler, }, { MethodName: "ListSessions", Handler: _ExecPlugin_ListSessions_Handler, }, { MethodName: "CreateSession", Handler: _ExecPlugin_CreateSession_Handler, }, { MethodName: "CreateResourceSession", Handler: _ExecPlugin_CreateResourceSession_Handler, }, { MethodName: "AttachSession", Handler: _ExecPlugin_AttachSession_Handler, }, { MethodName: "DetachSession", Handler: _ExecPlugin_DetachSession_Handler, }, { MethodName: "CloseSession", Handler: _ExecPlugin_CloseSession_Handler, }, { MethodName: "ResizeSession", Handler: _ExecPlugin_ResizeSession_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Stream", Handler: _ExecPlugin_Stream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/exec.proto", }
ExecPlugin_ServiceDesc is the grpc.ServiceDesc for ExecPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_command_proto protoreflect.FileDescriptor
var File_proto_exec_proto protoreflect.FileDescriptor
var File_proto_lifecycle_proto protoreflect.FileDescriptor
var File_proto_logs_proto protoreflect.FileDescriptor
var File_proto_metric_proto protoreflect.FileDescriptor
var File_proto_networker_proto protoreflect.FileDescriptor
var File_proto_settings_proto protoreflect.FileDescriptor
var File_proto_utility_target_proto protoreflect.FileDescriptor
var LogPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.LogPlugin", HandlerType: (*LogPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSupportedResources", Handler: _LogPlugin_GetSupportedResources_Handler, }, { MethodName: "CreateSession", Handler: _LogPlugin_CreateSession_Handler, }, { MethodName: "CreateResourceSession", Handler: _LogPlugin_CreateResourceSession_Handler, }, { MethodName: "GetSession", Handler: _LogPlugin_GetSession_Handler, }, { MethodName: "ListSessions", Handler: _LogPlugin_ListSessions_Handler, }, { MethodName: "CloseSession", Handler: _LogPlugin_CloseSession_Handler, }, { MethodName: "UpdateSessionOptions", Handler: _LogPlugin_UpdateSessionOptions_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Stream", Handler: _LogPlugin_Stream_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/logs.proto", }
LogPlugin_ServiceDesc is the grpc.ServiceDesc for LogPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var MetricPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.MetricPlugin", HandlerType: (*MetricPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSupportedResources", Handler: _MetricPlugin_GetSupportedResources_Handler, }, { MethodName: "Query", Handler: _MetricPlugin_Query_Handler, }, { MethodName: "QueryResource", Handler: _MetricPlugin_QueryResource_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "StreamMetrics", Handler: _MetricPlugin_StreamMetrics_Handler, ServerStreams: true, ClientStreams: true, }, { StreamName: "StreamResourceMetrics", Handler: _MetricPlugin_StreamResourceMetrics_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "proto/metric.proto", }
MetricPlugin_ServiceDesc is the grpc.ServiceDesc for MetricPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NetworkerPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.NetworkerPlugin", HandlerType: (*NetworkerPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetSupportedPortForwardTargets", Handler: _NetworkerPlugin_GetSupportedPortForwardTargets_Handler, }, { MethodName: "GetPortForwardSession", Handler: _NetworkerPlugin_GetPortForwardSession_Handler, }, { MethodName: "ListPortForwardSessions", Handler: _NetworkerPlugin_ListPortForwardSessions_Handler, }, { MethodName: "FindPortForwardSessions", Handler: _NetworkerPlugin_FindPortForwardSessions_Handler, }, { MethodName: "StartPortForwardSession", Handler: _NetworkerPlugin_StartPortForwardSession_Handler, }, { MethodName: "StartResourcePortForwardSession", Handler: _NetworkerPlugin_StartResourcePortForwardSession_Handler, }, { MethodName: "ClosePortForwardSession", Handler: _NetworkerPlugin_ClosePortForwardSession_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/networker.proto", }
NetworkerPlugin_ServiceDesc is the grpc.ServiceDesc for NetworkerPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PluginLifecycle_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.PluginLifecycle", HandlerType: (*PluginLifecycleServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetInfo", Handler: _PluginLifecycle_GetInfo_Handler, }, { MethodName: "GetCapabilities", Handler: _PluginLifecycle_GetCapabilities_Handler, }, { MethodName: "HealthCheck", Handler: _PluginLifecycle_HealthCheck_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/lifecycle.proto", }
PluginLifecycle_ServiceDesc is the grpc.ServiceDesc for PluginLifecycle service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SettingsPlugin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.SettingsPlugin", HandlerType: (*SettingsPluginServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListSettings", Handler: _SettingsPlugin_ListSettings_Handler, }, { MethodName: "GetSetting", Handler: _SettingsPlugin_GetSetting_Handler, }, { MethodName: "GetSettingValue", Handler: _SettingsPlugin_GetSettingValue_Handler, }, { MethodName: "SetSetting", Handler: _SettingsPlugin_SetSetting_Handler, }, { MethodName: "SetSettings", Handler: _SettingsPlugin_SetSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/settings.proto", }
SettingsPlugin_ServiceDesc is the grpc.ServiceDesc for SettingsPlugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Stream_ServiceDesc = grpc.ServiceDesc{ ServiceName: "com.omniview.pluginsdk.Stream", HandlerType: (*StreamServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Subscribe", Handler: _Stream_Subscribe_Handler, }, { MethodName: "Publish", Handler: _Stream_Publish_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Run", Handler: _Stream_Run_Handler, ServerStreams: true, }, }, Metadata: "proto/command.proto", }
Stream_ServiceDesc is the grpc.ServiceDesc for Stream service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCommandServer ¶
func RegisterCommandServer(s grpc.ServiceRegistrar, srv CommandServer)
func RegisterExecPluginServer ¶
func RegisterExecPluginServer(s grpc.ServiceRegistrar, srv ExecPluginServer)
func RegisterLogPluginServer ¶
func RegisterLogPluginServer(s grpc.ServiceRegistrar, srv LogPluginServer)
func RegisterMetricPluginServer ¶
func RegisterMetricPluginServer(s grpc.ServiceRegistrar, srv MetricPluginServer)
func RegisterNetworkerPluginServer ¶
func RegisterNetworkerPluginServer(s grpc.ServiceRegistrar, srv NetworkerPluginServer)
func RegisterPluginLifecycleServer ¶ added in v0.1.1
func RegisterPluginLifecycleServer(s grpc.ServiceRegistrar, srv PluginLifecycleServer)
func RegisterSettingsPluginServer ¶
func RegisterSettingsPluginServer(s grpc.ServiceRegistrar, srv SettingsPluginServer)
func RegisterStreamServer ¶
func RegisterStreamServer(s grpc.ServiceRegistrar, srv StreamServer)
Types ¶
type AggregateValue ¶
type AggregateValue struct {
MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
Min float64 `protobuf:"fixed64,2,opt,name=min,proto3" json:"min,omitempty"`
Max float64 `protobuf:"fixed64,3,opt,name=max,proto3" json:"max,omitempty"`
Avg float64 `protobuf:"fixed64,4,opt,name=avg,proto3" json:"avg,omitempty"`
Sum float64 `protobuf:"fixed64,5,opt,name=sum,proto3" json:"sum,omitempty"`
P50 float64 `protobuf:"fixed64,6,opt,name=p50,proto3" json:"p50,omitempty"`
P90 float64 `protobuf:"fixed64,7,opt,name=p90,proto3" json:"p90,omitempty"`
P99 float64 `protobuf:"fixed64,8,opt,name=p99,proto3" json:"p99,omitempty"`
Count int64 `protobuf:"varint,9,opt,name=count,proto3" json:"count,omitempty"`
Window *durationpb.Duration `protobuf:"bytes,10,opt,name=window,proto3" json:"window,omitempty"`
Labels map[string]string `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*AggregateValue) Descriptor
deprecated
func (*AggregateValue) Descriptor() ([]byte, []int)
Deprecated: Use AggregateValue.ProtoReflect.Descriptor instead.
func (*AggregateValue) GetAvg ¶
func (x *AggregateValue) GetAvg() float64
func (*AggregateValue) GetCount ¶
func (x *AggregateValue) GetCount() int64
func (*AggregateValue) GetLabels ¶
func (x *AggregateValue) GetLabels() map[string]string
func (*AggregateValue) GetMax ¶
func (x *AggregateValue) GetMax() float64
func (*AggregateValue) GetMetricId ¶
func (x *AggregateValue) GetMetricId() string
func (*AggregateValue) GetMin ¶
func (x *AggregateValue) GetMin() float64
func (*AggregateValue) GetP50 ¶
func (x *AggregateValue) GetP50() float64
func (*AggregateValue) GetP90 ¶
func (x *AggregateValue) GetP90() float64
func (*AggregateValue) GetP99 ¶
func (x *AggregateValue) GetP99() float64
func (*AggregateValue) GetSum ¶
func (x *AggregateValue) GetSum() float64
func (*AggregateValue) GetWindow ¶
func (x *AggregateValue) GetWindow() *durationpb.Duration
func (*AggregateValue) ProtoMessage ¶
func (*AggregateValue) ProtoMessage()
func (*AggregateValue) ProtoReflect ¶
func (x *AggregateValue) ProtoReflect() protoreflect.Message
func (*AggregateValue) Reset ¶
func (x *AggregateValue) Reset()
func (*AggregateValue) String ¶
func (x *AggregateValue) String() string
type AttachSessionRequest ¶
type AttachSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*AttachSessionRequest) Descriptor
deprecated
func (*AttachSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachSessionRequest.ProtoReflect.Descriptor instead.
func (*AttachSessionRequest) GetId ¶
func (x *AttachSessionRequest) GetId() string
func (*AttachSessionRequest) ProtoMessage ¶
func (*AttachSessionRequest) ProtoMessage()
func (*AttachSessionRequest) ProtoReflect ¶
func (x *AttachSessionRequest) ProtoReflect() protoreflect.Message
func (*AttachSessionRequest) Reset ¶
func (x *AttachSessionRequest) Reset()
func (*AttachSessionRequest) String ¶
func (x *AttachSessionRequest) String() string
type AttachSessionResponse ¶
type AttachSessionResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
Buffer []byte `protobuf:"bytes,2,opt,name=buffer,proto3" json:"buffer,omitempty"`
// contains filtered or unexported fields
}
func (*AttachSessionResponse) Descriptor
deprecated
func (*AttachSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachSessionResponse.ProtoReflect.Descriptor instead.
func (*AttachSessionResponse) GetBuffer ¶
func (x *AttachSessionResponse) GetBuffer() []byte
func (*AttachSessionResponse) GetSession ¶
func (x *AttachSessionResponse) GetSession() *Session
func (*AttachSessionResponse) ProtoMessage ¶
func (*AttachSessionResponse) ProtoMessage()
func (*AttachSessionResponse) ProtoReflect ¶
func (x *AttachSessionResponse) ProtoReflect() protoreflect.Message
func (*AttachSessionResponse) Reset ¶
func (x *AttachSessionResponse) Reset()
func (*AttachSessionResponse) String ¶
func (x *AttachSessionResponse) String() string
type CallCommandRequest ¶
type CallCommandRequest struct {
PluginContext *PluginContext `protobuf:"bytes,1,opt,name=plugin_context,json=pluginContext,proto3" json:"plugin_context,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
Headers map[string]*StringList `` /* 141-byte string literal not displayed */
Body []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*CallCommandRequest) Descriptor
deprecated
func (*CallCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallCommandRequest.ProtoReflect.Descriptor instead.
func (*CallCommandRequest) GetBody ¶
func (x *CallCommandRequest) GetBody() []byte
func (*CallCommandRequest) GetHeaders ¶
func (x *CallCommandRequest) GetHeaders() map[string]*StringList
func (*CallCommandRequest) GetMethod ¶
func (x *CallCommandRequest) GetMethod() string
func (*CallCommandRequest) GetPath ¶
func (x *CallCommandRequest) GetPath() string
func (*CallCommandRequest) GetPluginContext ¶
func (x *CallCommandRequest) GetPluginContext() *PluginContext
func (*CallCommandRequest) GetUrl ¶
func (x *CallCommandRequest) GetUrl() string
func (*CallCommandRequest) ProtoMessage ¶
func (*CallCommandRequest) ProtoMessage()
func (*CallCommandRequest) ProtoReflect ¶
func (x *CallCommandRequest) ProtoReflect() protoreflect.Message
func (*CallCommandRequest) Reset ¶
func (x *CallCommandRequest) Reset()
func (*CallCommandRequest) String ¶
func (x *CallCommandRequest) String() string
type CallCommandResponse ¶
type CallCommandResponse struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Headers map[string]*StringList `` /* 141-byte string literal not displayed */
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
// contains filtered or unexported fields
}
func (*CallCommandResponse) Descriptor
deprecated
func (*CallCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallCommandResponse.ProtoReflect.Descriptor instead.
func (*CallCommandResponse) GetBody ¶
func (x *CallCommandResponse) GetBody() []byte
func (*CallCommandResponse) GetCode ¶
func (x *CallCommandResponse) GetCode() int32
func (*CallCommandResponse) GetHeaders ¶
func (x *CallCommandResponse) GetHeaders() map[string]*StringList
func (*CallCommandResponse) ProtoMessage ¶
func (*CallCommandResponse) ProtoMessage()
func (*CallCommandResponse) ProtoReflect ¶
func (x *CallCommandResponse) ProtoReflect() protoreflect.Message
func (*CallCommandResponse) Reset ¶
func (x *CallCommandResponse) Reset()
func (*CallCommandResponse) String ¶
func (x *CallCommandResponse) String() string
type CloseLogSessionResponse ¶
type CloseLogSessionResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*CloseLogSessionResponse) Descriptor
deprecated
func (*CloseLogSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseLogSessionResponse.ProtoReflect.Descriptor instead.
func (*CloseLogSessionResponse) GetError ¶
func (x *CloseLogSessionResponse) GetError() string
func (*CloseLogSessionResponse) GetSuccess ¶
func (x *CloseLogSessionResponse) GetSuccess() bool
func (*CloseLogSessionResponse) ProtoMessage ¶
func (*CloseLogSessionResponse) ProtoMessage()
func (*CloseLogSessionResponse) ProtoReflect ¶
func (x *CloseLogSessionResponse) ProtoReflect() protoreflect.Message
func (*CloseLogSessionResponse) Reset ¶
func (x *CloseLogSessionResponse) Reset()
func (*CloseLogSessionResponse) String ¶
func (x *CloseLogSessionResponse) String() string
type CloseSessionRequest ¶
type CloseSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*CloseSessionRequest) Descriptor
deprecated
func (*CloseSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionRequest.ProtoReflect.Descriptor instead.
func (*CloseSessionRequest) GetId ¶
func (x *CloseSessionRequest) GetId() string
func (*CloseSessionRequest) ProtoMessage ¶
func (*CloseSessionRequest) ProtoMessage()
func (*CloseSessionRequest) ProtoReflect ¶
func (x *CloseSessionRequest) ProtoReflect() protoreflect.Message
func (*CloseSessionRequest) Reset ¶
func (x *CloseSessionRequest) Reset()
func (*CloseSessionRequest) String ¶
func (x *CloseSessionRequest) String() string
type CloseSessionResponse ¶
type CloseSessionResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*CloseSessionResponse) Descriptor
deprecated
func (*CloseSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CloseSessionResponse.ProtoReflect.Descriptor instead.
func (*CloseSessionResponse) GetError ¶
func (x *CloseSessionResponse) GetError() string
func (*CloseSessionResponse) GetSuccess ¶
func (x *CloseSessionResponse) GetSuccess() bool
func (*CloseSessionResponse) ProtoMessage ¶
func (*CloseSessionResponse) ProtoMessage()
func (*CloseSessionResponse) ProtoReflect ¶
func (x *CloseSessionResponse) ProtoReflect() protoreflect.Message
func (*CloseSessionResponse) Reset ¶
func (x *CloseSessionResponse) Reset()
func (*CloseSessionResponse) String ¶
func (x *CloseSessionResponse) String() string
type CommandClient ¶
type CommandClient interface {
Call(ctx context.Context, in *CallCommandRequest, opts ...grpc.CallOption) (*CallCommandResponse, error)
}
CommandClient is the client API for Command 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 NewCommandClient ¶
func NewCommandClient(cc grpc.ClientConnInterface) CommandClient
type CommandServer ¶
type CommandServer interface {
Call(context.Context, *CallCommandRequest) (*CallCommandResponse, error)
}
CommandServer is the server API for Command service. All implementations should embed UnimplementedCommandServer for forward compatibility
type CreateLogSessionRequest ¶
type CreateLogSessionRequest struct {
ResourceKey string `protobuf:"bytes,1,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
Options *LogSessionOptions `protobuf:"bytes,4,opt,name=options,proto3" json:"options,omitempty"`
ResourceData *v2.Value `protobuf:"bytes,5,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
ResourceWireVersion uint32 `protobuf:"varint,6,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Reference *v2.ResourceReference `protobuf:"bytes,7,opt,name=reference,proto3" json:"reference,omitempty"`
Route *v2.AccessRoute `protobuf:"bytes,8,opt,name=route,proto3" json:"route,omitempty"`
// contains filtered or unexported fields
}
func (*CreateLogSessionRequest) Descriptor
deprecated
func (*CreateLogSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateLogSessionRequest) GetOptions ¶
func (x *CreateLogSessionRequest) GetOptions() *LogSessionOptions
func (*CreateLogSessionRequest) GetReference ¶ added in v0.9.0
func (x *CreateLogSessionRequest) GetReference() *v2.ResourceReference
func (*CreateLogSessionRequest) GetResourceData ¶
func (x *CreateLogSessionRequest) GetResourceData() *v2.Value
func (*CreateLogSessionRequest) GetResourceId ¶
func (x *CreateLogSessionRequest) GetResourceId() string
func (*CreateLogSessionRequest) GetResourceKey ¶
func (x *CreateLogSessionRequest) GetResourceKey() string
func (*CreateLogSessionRequest) GetResourceWireVersion ¶ added in v0.9.0
func (x *CreateLogSessionRequest) GetResourceWireVersion() uint32
func (*CreateLogSessionRequest) GetRoute ¶ added in v0.9.0
func (x *CreateLogSessionRequest) GetRoute() *v2.AccessRoute
func (*CreateLogSessionRequest) ProtoMessage ¶
func (*CreateLogSessionRequest) ProtoMessage()
func (*CreateLogSessionRequest) ProtoReflect ¶
func (x *CreateLogSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateLogSessionRequest) Reset ¶
func (x *CreateLogSessionRequest) Reset()
func (*CreateLogSessionRequest) String ¶
func (x *CreateLogSessionRequest) String() string
type CreateLogSessionResponse ¶
type CreateLogSessionResponse struct {
Session *LogSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*CreateLogSessionResponse) Descriptor
deprecated
func (*CreateLogSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateLogSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateLogSessionResponse) GetError ¶
func (x *CreateLogSessionResponse) GetError() string
func (*CreateLogSessionResponse) GetSession ¶
func (x *CreateLogSessionResponse) GetSession() *LogSession
func (*CreateLogSessionResponse) GetSuccess ¶
func (x *CreateLogSessionResponse) GetSuccess() bool
func (*CreateLogSessionResponse) ProtoMessage ¶
func (*CreateLogSessionResponse) ProtoMessage()
func (*CreateLogSessionResponse) ProtoReflect ¶
func (x *CreateLogSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateLogSessionResponse) Reset ¶
func (x *CreateLogSessionResponse) Reset()
func (*CreateLogSessionResponse) String ¶
func (x *CreateLogSessionResponse) String() string
type CreateSessionRequest ¶
type CreateSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Command string `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"`
Params map[string]string `` /* 139-byte string literal not displayed */
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateSessionRequest) Descriptor
deprecated
func (*CreateSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionRequest) GetCommand ¶
func (x *CreateSessionRequest) GetCommand() string
func (*CreateSessionRequest) GetId ¶
func (x *CreateSessionRequest) GetId() string
func (*CreateSessionRequest) GetLabels ¶
func (x *CreateSessionRequest) GetLabels() map[string]string
func (*CreateSessionRequest) GetParams ¶
func (x *CreateSessionRequest) GetParams() map[string]string
func (*CreateSessionRequest) GetTty ¶
func (x *CreateSessionRequest) GetTty() bool
func (*CreateSessionRequest) ProtoMessage ¶
func (*CreateSessionRequest) ProtoMessage()
func (*CreateSessionRequest) ProtoReflect ¶
func (x *CreateSessionRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionRequest) Reset ¶
func (x *CreateSessionRequest) Reset()
func (*CreateSessionRequest) String ¶
func (x *CreateSessionRequest) String() string
type CreateSessionResponse ¶
type CreateSessionResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*CreateSessionResponse) Descriptor
deprecated
func (*CreateSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionResponse.ProtoReflect.Descriptor instead.
func (*CreateSessionResponse) GetError ¶
func (x *CreateSessionResponse) GetError() string
func (*CreateSessionResponse) GetSession ¶
func (x *CreateSessionResponse) GetSession() *Session
func (*CreateSessionResponse) GetSuccess ¶
func (x *CreateSessionResponse) GetSuccess() bool
func (*CreateSessionResponse) ProtoMessage ¶
func (*CreateSessionResponse) ProtoMessage()
func (*CreateSessionResponse) ProtoReflect ¶
func (x *CreateSessionResponse) ProtoReflect() protoreflect.Message
func (*CreateSessionResponse) Reset ¶
func (x *CreateSessionResponse) Reset()
func (*CreateSessionResponse) String ¶
func (x *CreateSessionResponse) String() string
type CurrentValue ¶
type CurrentValue struct {
MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CurrentValue) Descriptor
deprecated
func (*CurrentValue) Descriptor() ([]byte, []int)
Deprecated: Use CurrentValue.ProtoReflect.Descriptor instead.
func (*CurrentValue) GetLabels ¶
func (x *CurrentValue) GetLabels() map[string]string
func (*CurrentValue) GetMetricId ¶
func (x *CurrentValue) GetMetricId() string
func (*CurrentValue) GetTimestamp ¶
func (x *CurrentValue) GetTimestamp() *timestamppb.Timestamp
func (*CurrentValue) GetValue ¶
func (x *CurrentValue) GetValue() float64
func (*CurrentValue) ProtoMessage ¶
func (*CurrentValue) ProtoMessage()
func (*CurrentValue) ProtoReflect ¶
func (x *CurrentValue) ProtoReflect() protoreflect.Message
func (*CurrentValue) Reset ¶
func (x *CurrentValue) Reset()
func (*CurrentValue) String ¶
func (x *CurrentValue) String() string
type DataPoint ¶
type DataPoint struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*DataPoint) Descriptor
deprecated
func (*DataPoint) GetTimestamp ¶
func (x *DataPoint) GetTimestamp() *timestamppb.Timestamp
func (*DataPoint) ProtoMessage ¶
func (*DataPoint) ProtoMessage()
func (*DataPoint) ProtoReflect ¶
func (x *DataPoint) ProtoReflect() protoreflect.Message
type ExecHandler ¶
type ExecHandler struct {
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
TargetBuilder *ResourceActionTargetBuilder `protobuf:"bytes,3,opt,name=target_builder,json=targetBuilder,proto3" json:"target_builder,omitempty"`
DefaultCommand []string `protobuf:"bytes,4,rep,name=default_command,json=defaultCommand,proto3" json:"default_command,omitempty"`
// contains filtered or unexported fields
}
func (*ExecHandler) Descriptor
deprecated
func (*ExecHandler) Descriptor() ([]byte, []int)
Deprecated: Use ExecHandler.ProtoReflect.Descriptor instead.
func (*ExecHandler) GetDefaultCommand ¶
func (x *ExecHandler) GetDefaultCommand() []string
func (*ExecHandler) GetPlugin ¶
func (x *ExecHandler) GetPlugin() string
func (*ExecHandler) GetResource ¶
func (x *ExecHandler) GetResource() string
func (*ExecHandler) GetTargetBuilder ¶
func (x *ExecHandler) GetTargetBuilder() *ResourceActionTargetBuilder
func (*ExecHandler) ProtoMessage ¶
func (*ExecHandler) ProtoMessage()
func (*ExecHandler) ProtoReflect ¶
func (x *ExecHandler) ProtoReflect() protoreflect.Message
func (*ExecHandler) Reset ¶
func (x *ExecHandler) Reset()
func (*ExecHandler) String ¶
func (x *ExecHandler) String() string
type ExecPluginClient ¶
type ExecPluginClient interface {
GetSupportedResources(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSupportedResourcesResponse, error)
GetSession(ctx context.Context, in *GetSessionRequest, opts ...grpc.CallOption) (*GetSessionResponse, error)
ListSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSessionsResponse, error)
CreateSession(ctx context.Context, in *SessionOptions, opts ...grpc.CallOption) (*CreateSessionResponse, error)
CreateResourceSession(ctx context.Context, in *SessionOptions, opts ...grpc.CallOption) (*ResourceSessionResponse, error)
AttachSession(ctx context.Context, in *AttachSessionRequest, opts ...grpc.CallOption) (*AttachSessionResponse, error)
DetachSession(ctx context.Context, in *AttachSessionRequest, opts ...grpc.CallOption) (*AttachSessionResponse, error)
CloseSession(ctx context.Context, in *CloseSessionRequest, opts ...grpc.CallOption) (*CloseSessionResponse, error)
ResizeSession(ctx context.Context, in *ResizeSessionRequest, opts ...grpc.CallOption) (*ResizeSessionResponse, error)
// Multiplexed stream for input and output
Stream(ctx context.Context, opts ...grpc.CallOption) (ExecPlugin_StreamClient, error)
}
ExecPluginClient is the client API for ExecPlugin 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 NewExecPluginClient ¶
func NewExecPluginClient(cc grpc.ClientConnInterface) ExecPluginClient
type ExecPluginServer ¶
type ExecPluginServer interface {
GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedResourcesResponse, error)
GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
ListSessions(context.Context, *emptypb.Empty) (*ListSessionsResponse, error)
CreateSession(context.Context, *SessionOptions) (*CreateSessionResponse, error)
CreateResourceSession(context.Context, *SessionOptions) (*ResourceSessionResponse, error)
AttachSession(context.Context, *AttachSessionRequest) (*AttachSessionResponse, error)
DetachSession(context.Context, *AttachSessionRequest) (*AttachSessionResponse, error)
CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error)
ResizeSession(context.Context, *ResizeSessionRequest) (*ResizeSessionResponse, error)
// Multiplexed stream for input and output
Stream(ExecPlugin_StreamServer) error
}
ExecPluginServer is the server API for ExecPlugin service. All implementations should embed UnimplementedExecPluginServer for forward compatibility
type ExecPlugin_StreamClient ¶
type ExecPlugin_StreamClient interface {
Send(*StreamInput) error
Recv() (*StreamOutput, error)
grpc.ClientStream
}
type ExecPlugin_StreamServer ¶
type ExecPlugin_StreamServer interface {
Send(*StreamOutput) error
Recv() (*StreamInput, error)
grpc.ServerStream
}
type FindPortForwardSessionRequest ¶
type FindPortForwardSessionRequest struct {
ResourceId string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
// contains filtered or unexported fields
}
func (*FindPortForwardSessionRequest) Descriptor
deprecated
func (*FindPortForwardSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindPortForwardSessionRequest.ProtoReflect.Descriptor instead.
func (*FindPortForwardSessionRequest) GetConnectionId ¶
func (x *FindPortForwardSessionRequest) GetConnectionId() string
func (*FindPortForwardSessionRequest) GetResourceId ¶
func (x *FindPortForwardSessionRequest) GetResourceId() string
func (*FindPortForwardSessionRequest) ProtoMessage ¶
func (*FindPortForwardSessionRequest) ProtoMessage()
func (*FindPortForwardSessionRequest) ProtoReflect ¶
func (x *FindPortForwardSessionRequest) ProtoReflect() protoreflect.Message
func (*FindPortForwardSessionRequest) Reset ¶
func (x *FindPortForwardSessionRequest) Reset()
func (*FindPortForwardSessionRequest) String ¶
func (x *FindPortForwardSessionRequest) String() string
type GetCapabilitiesResponse ¶ added in v0.1.1
type GetCapabilitiesResponse struct {
Capabilities []string `protobuf:"bytes,1,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
// contains filtered or unexported fields
}
func (*GetCapabilitiesResponse) Descriptor
deprecated
added in
v0.1.1
func (*GetCapabilitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCapabilitiesResponse.ProtoReflect.Descriptor instead.
func (*GetCapabilitiesResponse) GetCapabilities ¶ added in v0.1.1
func (x *GetCapabilitiesResponse) GetCapabilities() []string
func (*GetCapabilitiesResponse) ProtoMessage ¶ added in v0.1.1
func (*GetCapabilitiesResponse) ProtoMessage()
func (*GetCapabilitiesResponse) ProtoReflect ¶ added in v0.1.1
func (x *GetCapabilitiesResponse) ProtoReflect() protoreflect.Message
func (*GetCapabilitiesResponse) Reset ¶ added in v0.1.1
func (x *GetCapabilitiesResponse) Reset()
func (*GetCapabilitiesResponse) String ¶ added in v0.1.1
func (x *GetCapabilitiesResponse) String() string
type GetInfoResponse ¶ added in v0.1.1
type GetInfoResponse struct {
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
SdkProtocolVersion int32 `protobuf:"varint,3,opt,name=sdk_protocol_version,json=sdkProtocolVersion,proto3" json:"sdk_protocol_version,omitempty"`
// contains filtered or unexported fields
}
func (*GetInfoResponse) Descriptor
deprecated
added in
v0.1.1
func (*GetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetInfoResponse) GetPluginId ¶ added in v0.1.1
func (x *GetInfoResponse) GetPluginId() string
func (*GetInfoResponse) GetSdkProtocolVersion ¶ added in v0.1.1
func (x *GetInfoResponse) GetSdkProtocolVersion() int32
func (*GetInfoResponse) GetVersion ¶ added in v0.1.1
func (x *GetInfoResponse) GetVersion() string
func (*GetInfoResponse) ProtoMessage ¶ added in v0.1.1
func (*GetInfoResponse) ProtoMessage()
func (*GetInfoResponse) ProtoReflect ¶ added in v0.1.1
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetInfoResponse) Reset ¶ added in v0.1.1
func (x *GetInfoResponse) Reset()
func (*GetInfoResponse) String ¶ added in v0.1.1
func (x *GetInfoResponse) String() string
type GetSessionRequest ¶
type GetSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionRequest) Descriptor
deprecated
func (*GetSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
func (*GetSessionRequest) GetId ¶
func (x *GetSessionRequest) GetId() string
func (*GetSessionRequest) ProtoMessage ¶
func (*GetSessionRequest) ProtoMessage()
func (*GetSessionRequest) ProtoReflect ¶
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message
func (*GetSessionRequest) Reset ¶
func (x *GetSessionRequest) Reset()
func (*GetSessionRequest) String ¶
func (x *GetSessionRequest) String() string
type GetSessionResponse ¶
type GetSessionResponse struct {
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*GetSessionResponse) Descriptor
deprecated
func (*GetSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.
func (*GetSessionResponse) GetError ¶
func (x *GetSessionResponse) GetError() string
func (*GetSessionResponse) GetSession ¶
func (x *GetSessionResponse) GetSession() *Session
func (*GetSessionResponse) GetSuccess ¶
func (x *GetSessionResponse) GetSuccess() bool
func (*GetSessionResponse) ProtoMessage ¶
func (*GetSessionResponse) ProtoMessage()
func (*GetSessionResponse) ProtoReflect ¶
func (x *GetSessionResponse) ProtoReflect() protoreflect.Message
func (*GetSessionResponse) Reset ¶
func (x *GetSessionResponse) Reset()
func (*GetSessionResponse) String ¶
func (x *GetSessionResponse) String() string
type GetSettingRequest ¶
type GetSettingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSettingRequest) Descriptor
deprecated
func (*GetSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingRequest.ProtoReflect.Descriptor instead.
func (*GetSettingRequest) GetId ¶
func (x *GetSettingRequest) GetId() string
func (*GetSettingRequest) ProtoMessage ¶
func (*GetSettingRequest) ProtoMessage()
func (*GetSettingRequest) ProtoReflect ¶
func (x *GetSettingRequest) ProtoReflect() protoreflect.Message
func (*GetSettingRequest) Reset ¶
func (x *GetSettingRequest) Reset()
func (*GetSettingRequest) String ¶
func (x *GetSettingRequest) String() string
type GetSettingValueRequest ¶
type GetSettingValueRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetSettingValueRequest) Descriptor
deprecated
func (*GetSettingValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingValueRequest.ProtoReflect.Descriptor instead.
func (*GetSettingValueRequest) GetId ¶
func (x *GetSettingValueRequest) GetId() string
func (*GetSettingValueRequest) ProtoMessage ¶
func (*GetSettingValueRequest) ProtoMessage()
func (*GetSettingValueRequest) ProtoReflect ¶
func (x *GetSettingValueRequest) ProtoReflect() protoreflect.Message
func (*GetSettingValueRequest) Reset ¶
func (x *GetSettingValueRequest) Reset()
func (*GetSettingValueRequest) String ¶
func (x *GetSettingValueRequest) String() string
type GetSettingValueResponse ¶
type GetSettingValueResponse struct {
Value *anypb.Any `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GetSettingValueResponse) Descriptor
deprecated
func (*GetSettingValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSettingValueResponse.ProtoReflect.Descriptor instead.
func (*GetSettingValueResponse) GetValue ¶
func (x *GetSettingValueResponse) GetValue() *anypb.Any
func (*GetSettingValueResponse) ProtoMessage ¶
func (*GetSettingValueResponse) ProtoMessage()
func (*GetSettingValueResponse) ProtoReflect ¶
func (x *GetSettingValueResponse) ProtoReflect() protoreflect.Message
func (*GetSettingValueResponse) Reset ¶
func (x *GetSettingValueResponse) Reset()
func (*GetSettingValueResponse) String ¶
func (x *GetSettingValueResponse) String() string
type GetSupportedLogResourcesResponse ¶
type GetSupportedLogResourcesResponse struct {
Handlers []*LogHandler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
// contains filtered or unexported fields
}
func (*GetSupportedLogResourcesResponse) Descriptor
deprecated
func (*GetSupportedLogResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSupportedLogResourcesResponse.ProtoReflect.Descriptor instead.
func (*GetSupportedLogResourcesResponse) GetHandlers ¶
func (x *GetSupportedLogResourcesResponse) GetHandlers() []*LogHandler
func (*GetSupportedLogResourcesResponse) ProtoMessage ¶
func (*GetSupportedLogResourcesResponse) ProtoMessage()
func (*GetSupportedLogResourcesResponse) ProtoReflect ¶
func (x *GetSupportedLogResourcesResponse) ProtoReflect() protoreflect.Message
func (*GetSupportedLogResourcesResponse) Reset ¶
func (x *GetSupportedLogResourcesResponse) Reset()
func (*GetSupportedLogResourcesResponse) String ¶
func (x *GetSupportedLogResourcesResponse) String() string
type GetSupportedMetricResourcesResponse ¶
type GetSupportedMetricResourcesResponse struct {
Provider *MetricProviderInfo `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
Handlers []*MetricHandler `protobuf:"bytes,2,rep,name=handlers,proto3" json:"handlers,omitempty"`
// contains filtered or unexported fields
}
func (*GetSupportedMetricResourcesResponse) Descriptor
deprecated
func (*GetSupportedMetricResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSupportedMetricResourcesResponse.ProtoReflect.Descriptor instead.
func (*GetSupportedMetricResourcesResponse) GetHandlers ¶
func (x *GetSupportedMetricResourcesResponse) GetHandlers() []*MetricHandler
func (*GetSupportedMetricResourcesResponse) GetProvider ¶
func (x *GetSupportedMetricResourcesResponse) GetProvider() *MetricProviderInfo
func (*GetSupportedMetricResourcesResponse) ProtoMessage ¶
func (*GetSupportedMetricResourcesResponse) ProtoMessage()
func (*GetSupportedMetricResourcesResponse) ProtoReflect ¶
func (x *GetSupportedMetricResourcesResponse) ProtoReflect() protoreflect.Message
func (*GetSupportedMetricResourcesResponse) Reset ¶
func (x *GetSupportedMetricResourcesResponse) Reset()
func (*GetSupportedMetricResourcesResponse) String ¶
func (x *GetSupportedMetricResourcesResponse) String() string
type GetSupportedPortForwardTargetsResponse ¶
type GetSupportedPortForwardTargetsResponse struct {
Resources []string `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
func (*GetSupportedPortForwardTargetsResponse) Descriptor
deprecated
func (*GetSupportedPortForwardTargetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSupportedPortForwardTargetsResponse.ProtoReflect.Descriptor instead.
func (*GetSupportedPortForwardTargetsResponse) GetResources ¶
func (x *GetSupportedPortForwardTargetsResponse) GetResources() []string
func (*GetSupportedPortForwardTargetsResponse) ProtoMessage ¶
func (*GetSupportedPortForwardTargetsResponse) ProtoMessage()
func (*GetSupportedPortForwardTargetsResponse) ProtoReflect ¶
func (x *GetSupportedPortForwardTargetsResponse) ProtoReflect() protoreflect.Message
func (*GetSupportedPortForwardTargetsResponse) Reset ¶
func (x *GetSupportedPortForwardTargetsResponse) Reset()
func (*GetSupportedPortForwardTargetsResponse) String ¶
func (x *GetSupportedPortForwardTargetsResponse) String() string
type GetSupportedResourcesResponse ¶
type GetSupportedResourcesResponse struct {
Handlers []*ExecHandler `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
// contains filtered or unexported fields
}
func (*GetSupportedResourcesResponse) Descriptor
deprecated
func (*GetSupportedResourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSupportedResourcesResponse.ProtoReflect.Descriptor instead.
func (*GetSupportedResourcesResponse) GetHandlers ¶
func (x *GetSupportedResourcesResponse) GetHandlers() []*ExecHandler
func (*GetSupportedResourcesResponse) ProtoMessage ¶
func (*GetSupportedResourcesResponse) ProtoMessage()
func (*GetSupportedResourcesResponse) ProtoReflect ¶
func (x *GetSupportedResourcesResponse) ProtoReflect() protoreflect.Message
func (*GetSupportedResourcesResponse) Reset ¶
func (x *GetSupportedResourcesResponse) Reset()
func (*GetSupportedResourcesResponse) String ¶
func (x *GetSupportedResourcesResponse) String() string
type HealthCheckResponse ¶ added in v0.1.1
type HealthCheckResponse struct {
Status ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=com.omniview.pluginsdk.ServingStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*HealthCheckResponse) Descriptor
deprecated
added in
v0.1.1
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetStatus ¶ added in v0.1.1
func (x *HealthCheckResponse) GetStatus() ServingStatus
func (*HealthCheckResponse) ProtoMessage ¶ added in v0.1.1
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶ added in v0.1.1
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶ added in v0.1.1
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶ added in v0.1.1
func (x *HealthCheckResponse) String() string
type ListLogSessionsResponse ¶
type ListLogSessionsResponse struct {
Sessions []*LogSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ListLogSessionsResponse) Descriptor
deprecated
func (*ListLogSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLogSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListLogSessionsResponse) GetError ¶
func (x *ListLogSessionsResponse) GetError() string
func (*ListLogSessionsResponse) GetSessions ¶
func (x *ListLogSessionsResponse) GetSessions() []*LogSession
func (*ListLogSessionsResponse) GetSuccess ¶
func (x *ListLogSessionsResponse) GetSuccess() bool
func (*ListLogSessionsResponse) ProtoMessage ¶
func (*ListLogSessionsResponse) ProtoMessage()
func (*ListLogSessionsResponse) ProtoReflect ¶
func (x *ListLogSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListLogSessionsResponse) Reset ¶
func (x *ListLogSessionsResponse) Reset()
func (*ListLogSessionsResponse) String ¶
func (x *ListLogSessionsResponse) String() string
type ListSessionsResponse ¶
type ListSessionsResponse struct {
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ListSessionsResponse) Descriptor
deprecated
func (*ListSessionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) GetError ¶
func (x *ListSessionsResponse) GetError() string
func (*ListSessionsResponse) GetSessions ¶
func (x *ListSessionsResponse) GetSessions() []*Session
func (*ListSessionsResponse) GetSuccess ¶
func (x *ListSessionsResponse) GetSuccess() bool
func (*ListSessionsResponse) ProtoMessage ¶
func (*ListSessionsResponse) ProtoMessage()
func (*ListSessionsResponse) ProtoReflect ¶
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message
func (*ListSessionsResponse) Reset ¶
func (x *ListSessionsResponse) Reset()
func (*ListSessionsResponse) String ¶
func (x *ListSessionsResponse) String() string
type ListSettingsResponse ¶
type ListSettingsResponse struct {
Settings map[string]*Setting `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListSettingsResponse) Descriptor
deprecated
func (*ListSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSettingsResponse.ProtoReflect.Descriptor instead.
func (*ListSettingsResponse) GetSettings ¶
func (x *ListSettingsResponse) GetSettings() map[string]*Setting
func (*ListSettingsResponse) ProtoMessage ¶
func (*ListSettingsResponse) ProtoMessage()
func (*ListSettingsResponse) ProtoReflect ¶
func (x *ListSettingsResponse) ProtoReflect() protoreflect.Message
func (*ListSettingsResponse) Reset ¶
func (x *ListSettingsResponse) Reset()
func (*ListSettingsResponse) String ¶
func (x *ListSettingsResponse) String() string
type LogHandler ¶
type LogHandler struct {
Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"`
Resource string `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
TargetBuilder *ResourceActionTargetBuilder `protobuf:"bytes,3,opt,name=target_builder,json=targetBuilder,proto3" json:"target_builder,omitempty"`
// contains filtered or unexported fields
}
func (*LogHandler) Descriptor
deprecated
func (*LogHandler) Descriptor() ([]byte, []int)
Deprecated: Use LogHandler.ProtoReflect.Descriptor instead.
func (*LogHandler) GetPlugin ¶
func (x *LogHandler) GetPlugin() string
func (*LogHandler) GetResource ¶
func (x *LogHandler) GetResource() string
func (*LogHandler) GetTargetBuilder ¶
func (x *LogHandler) GetTargetBuilder() *ResourceActionTargetBuilder
func (*LogHandler) ProtoMessage ¶
func (*LogHandler) ProtoMessage()
func (*LogHandler) ProtoReflect ¶
func (x *LogHandler) ProtoReflect() protoreflect.Message
func (*LogHandler) Reset ¶
func (x *LogHandler) Reset()
func (*LogHandler) String ¶
func (x *LogHandler) String() string
type LogLevel ¶ added in v0.2.0
type LogLevel int32
func (LogLevel) Descriptor ¶ added in v0.2.0
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
added in
v0.2.0
func (LogLevel) Number ¶ added in v0.2.0
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶ added in v0.2.0
func (LogLevel) Type() protoreflect.EnumType
type LogLine ¶
type LogLine struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
SourceId string `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
Origin LogLineOrigin `protobuf:"varint,6,opt,name=origin,proto3,enum=com.omniview.pluginsdk.LogLineOrigin" json:"origin,omitempty"`
Level LogLevel `protobuf:"varint,7,opt,name=level,proto3,enum=com.omniview.pluginsdk.LogLevel" json:"level,omitempty"`
// contains filtered or unexported fields
}
func (*LogLine) Descriptor
deprecated
func (*LogLine) GetContent ¶
func (*LogLine) GetOrigin ¶
func (x *LogLine) GetOrigin() LogLineOrigin
func (*LogLine) GetSessionId ¶
func (*LogLine) GetSourceId ¶
func (*LogLine) GetTimestamp ¶
func (x *LogLine) GetTimestamp() *timestamppb.Timestamp
func (*LogLine) ProtoMessage ¶
func (*LogLine) ProtoMessage()
func (*LogLine) ProtoReflect ¶
func (x *LogLine) ProtoReflect() protoreflect.Message
type LogLineOrigin ¶
type LogLineOrigin int32
const ( LogLineOrigin_LOG_LINE_ORIGIN_CURRENT LogLineOrigin = 0 LogLineOrigin_LOG_LINE_ORIGIN_PREVIOUS LogLineOrigin = 1 LogLineOrigin_LOG_LINE_ORIGIN_SYSTEM LogLineOrigin = 2 )
func (LogLineOrigin) Descriptor ¶
func (LogLineOrigin) Descriptor() protoreflect.EnumDescriptor
func (LogLineOrigin) Enum ¶
func (x LogLineOrigin) Enum() *LogLineOrigin
func (LogLineOrigin) EnumDescriptor
deprecated
func (LogLineOrigin) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogLineOrigin.Descriptor instead.
func (LogLineOrigin) Number ¶
func (x LogLineOrigin) Number() protoreflect.EnumNumber
func (LogLineOrigin) String ¶
func (x LogLineOrigin) String() string
func (LogLineOrigin) Type ¶
func (LogLineOrigin) Type() protoreflect.EnumType
type LogPluginClient ¶
type LogPluginClient interface {
GetSupportedResources(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSupportedLogResourcesResponse, error)
CreateSession(ctx context.Context, in *CreateLogSessionRequest, opts ...grpc.CallOption) (*CreateLogSessionResponse, error)
CreateResourceSession(ctx context.Context, in *CreateLogSessionRequest, opts ...grpc.CallOption) (*ResourceLogSessionResponse, error)
GetSession(ctx context.Context, in *LogSessionByIdRequest, opts ...grpc.CallOption) (*LogSessionByIdResponse, error)
ListSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListLogSessionsResponse, error)
CloseSession(ctx context.Context, in *LogSessionByIdRequest, opts ...grpc.CallOption) (*CloseLogSessionResponse, error)
UpdateSessionOptions(ctx context.Context, in *UpdateLogSessionOptionsRequest, opts ...grpc.CallOption) (*LogSessionByIdResponse, error)
Stream(ctx context.Context, opts ...grpc.CallOption) (LogPlugin_StreamClient, error)
}
LogPluginClient is the client API for LogPlugin 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 NewLogPluginClient ¶
func NewLogPluginClient(cc grpc.ClientConnInterface) LogPluginClient
type LogPluginServer ¶
type LogPluginServer interface {
GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedLogResourcesResponse, error)
CreateSession(context.Context, *CreateLogSessionRequest) (*CreateLogSessionResponse, error)
CreateResourceSession(context.Context, *CreateLogSessionRequest) (*ResourceLogSessionResponse, error)
GetSession(context.Context, *LogSessionByIdRequest) (*LogSessionByIdResponse, error)
ListSessions(context.Context, *emptypb.Empty) (*ListLogSessionsResponse, error)
CloseSession(context.Context, *LogSessionByIdRequest) (*CloseLogSessionResponse, error)
UpdateSessionOptions(context.Context, *UpdateLogSessionOptionsRequest) (*LogSessionByIdResponse, error)
Stream(LogPlugin_StreamServer) error
}
LogPluginServer is the server API for LogPlugin service. All implementations should embed UnimplementedLogPluginServer for forward compatibility
type LogPlugin_StreamClient ¶
type LogPlugin_StreamClient interface {
Send(*LogStreamInput) error
Recv() (*LogStreamOutput, error)
grpc.ClientStream
}
type LogPlugin_StreamServer ¶
type LogPlugin_StreamServer interface {
Send(*LogStreamOutput) error
Recv() (*LogStreamInput, error)
grpc.ServerStream
}
type LogSession ¶
type LogSession struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
ResourceKey string `protobuf:"bytes,4,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceId string `protobuf:"bytes,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
Options *LogSessionOptions `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"`
Status LogSessionStatus `protobuf:"varint,7,opt,name=status,proto3,enum=com.omniview.pluginsdk.LogSessionStatus" json:"status,omitempty"`
ActiveSources []*LogSource `protobuf:"bytes,8,rep,name=active_sources,json=activeSources,proto3" json:"active_sources,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*LogSession) Descriptor
deprecated
func (*LogSession) Descriptor() ([]byte, []int)
Deprecated: Use LogSession.ProtoReflect.Descriptor instead.
func (*LogSession) GetActiveSources ¶
func (x *LogSession) GetActiveSources() []*LogSource
func (*LogSession) GetConnectionId ¶
func (x *LogSession) GetConnectionId() string
func (*LogSession) GetCreatedAt ¶
func (x *LogSession) GetCreatedAt() *timestamppb.Timestamp
func (*LogSession) GetId ¶
func (x *LogSession) GetId() string
func (*LogSession) GetOptions ¶
func (x *LogSession) GetOptions() *LogSessionOptions
func (*LogSession) GetPluginId ¶
func (x *LogSession) GetPluginId() string
func (*LogSession) GetResourceId ¶
func (x *LogSession) GetResourceId() string
func (*LogSession) GetResourceKey ¶
func (x *LogSession) GetResourceKey() string
func (*LogSession) GetStatus ¶
func (x *LogSession) GetStatus() LogSessionStatus
func (*LogSession) ProtoMessage ¶
func (*LogSession) ProtoMessage()
func (*LogSession) ProtoReflect ¶
func (x *LogSession) ProtoReflect() protoreflect.Message
func (*LogSession) Reset ¶
func (x *LogSession) Reset()
func (*LogSession) String ¶
func (x *LogSession) String() string
type LogSessionByIdRequest ¶
type LogSessionByIdRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// contains filtered or unexported fields
}
func (*LogSessionByIdRequest) Descriptor
deprecated
func (*LogSessionByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogSessionByIdRequest.ProtoReflect.Descriptor instead.
func (*LogSessionByIdRequest) GetSessionId ¶
func (x *LogSessionByIdRequest) GetSessionId() string
func (*LogSessionByIdRequest) ProtoMessage ¶
func (*LogSessionByIdRequest) ProtoMessage()
func (*LogSessionByIdRequest) ProtoReflect ¶
func (x *LogSessionByIdRequest) ProtoReflect() protoreflect.Message
func (*LogSessionByIdRequest) Reset ¶
func (x *LogSessionByIdRequest) Reset()
func (*LogSessionByIdRequest) String ¶
func (x *LogSessionByIdRequest) String() string
type LogSessionByIdResponse ¶
type LogSessionByIdResponse struct {
Session *LogSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*LogSessionByIdResponse) Descriptor
deprecated
func (*LogSessionByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogSessionByIdResponse.ProtoReflect.Descriptor instead.
func (*LogSessionByIdResponse) GetError ¶
func (x *LogSessionByIdResponse) GetError() string
func (*LogSessionByIdResponse) GetSession ¶
func (x *LogSessionByIdResponse) GetSession() *LogSession
func (*LogSessionByIdResponse) GetSuccess ¶
func (x *LogSessionByIdResponse) GetSuccess() bool
func (*LogSessionByIdResponse) ProtoMessage ¶
func (*LogSessionByIdResponse) ProtoMessage()
func (*LogSessionByIdResponse) ProtoReflect ¶
func (x *LogSessionByIdResponse) ProtoReflect() protoreflect.Message
func (*LogSessionByIdResponse) Reset ¶
func (x *LogSessionByIdResponse) Reset()
func (*LogSessionByIdResponse) String ¶
func (x *LogSessionByIdResponse) String() string
type LogSessionOptions ¶
type LogSessionOptions struct {
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"`
IncludePrevious bool `protobuf:"varint,3,opt,name=include_previous,json=includePrevious,proto3" json:"include_previous,omitempty"`
IncludeTimestamps bool `protobuf:"varint,4,opt,name=include_timestamps,json=includeTimestamps,proto3" json:"include_timestamps,omitempty"`
TailLines int64 `protobuf:"varint,5,opt,name=tail_lines,json=tailLines,proto3" json:"tail_lines,omitempty"`
SinceSeconds int64 `protobuf:"varint,6,opt,name=since_seconds,json=sinceSeconds,proto3" json:"since_seconds,omitempty"`
SinceTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=since_time,json=sinceTime,proto3" json:"since_time,omitempty"`
LimitBytes int64 `protobuf:"varint,8,opt,name=limit_bytes,json=limitBytes,proto3" json:"limit_bytes,omitempty"`
IncludeSourceEvents bool `protobuf:"varint,9,opt,name=include_source_events,json=includeSourceEvents,proto3" json:"include_source_events,omitempty"`
Params map[string]string `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*LogSessionOptions) Descriptor
deprecated
func (*LogSessionOptions) Descriptor() ([]byte, []int)
Deprecated: Use LogSessionOptions.ProtoReflect.Descriptor instead.
func (*LogSessionOptions) GetFollow ¶
func (x *LogSessionOptions) GetFollow() bool
func (*LogSessionOptions) GetIncludePrevious ¶
func (x *LogSessionOptions) GetIncludePrevious() bool
func (*LogSessionOptions) GetIncludeSourceEvents ¶
func (x *LogSessionOptions) GetIncludeSourceEvents() bool
func (*LogSessionOptions) GetIncludeTimestamps ¶
func (x *LogSessionOptions) GetIncludeTimestamps() bool
func (*LogSessionOptions) GetLimitBytes ¶
func (x *LogSessionOptions) GetLimitBytes() int64
func (*LogSessionOptions) GetParams ¶
func (x *LogSessionOptions) GetParams() map[string]string
func (*LogSessionOptions) GetSinceSeconds ¶
func (x *LogSessionOptions) GetSinceSeconds() int64
func (*LogSessionOptions) GetSinceTime ¶
func (x *LogSessionOptions) GetSinceTime() *timestamppb.Timestamp
func (*LogSessionOptions) GetTailLines ¶
func (x *LogSessionOptions) GetTailLines() int64
func (*LogSessionOptions) GetTarget ¶
func (x *LogSessionOptions) GetTarget() string
func (*LogSessionOptions) ProtoMessage ¶
func (*LogSessionOptions) ProtoMessage()
func (*LogSessionOptions) ProtoReflect ¶
func (x *LogSessionOptions) ProtoReflect() protoreflect.Message
func (*LogSessionOptions) Reset ¶
func (x *LogSessionOptions) Reset()
func (*LogSessionOptions) String ¶
func (x *LogSessionOptions) String() string
type LogSessionStatus ¶
type LogSessionStatus int32
const ( LogSessionStatus_LOG_SESSION_STATUS_ACTIVE LogSessionStatus = 0 LogSessionStatus_LOG_SESSION_STATUS_PAUSED LogSessionStatus = 1 LogSessionStatus_LOG_SESSION_STATUS_CLOSED LogSessionStatus = 2 LogSessionStatus_LOG_SESSION_STATUS_ERROR LogSessionStatus = 3 LogSessionStatus_LOG_SESSION_STATUS_CONNECTING LogSessionStatus = 4 LogSessionStatus_LOG_SESSION_STATUS_INITIALIZING LogSessionStatus = 5 )
func (LogSessionStatus) Descriptor ¶
func (LogSessionStatus) Descriptor() protoreflect.EnumDescriptor
func (LogSessionStatus) Enum ¶
func (x LogSessionStatus) Enum() *LogSessionStatus
func (LogSessionStatus) EnumDescriptor
deprecated
func (LogSessionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogSessionStatus.Descriptor instead.
func (LogSessionStatus) Number ¶
func (x LogSessionStatus) Number() protoreflect.EnumNumber
func (LogSessionStatus) String ¶
func (x LogSessionStatus) String() string
func (LogSessionStatus) Type ¶
func (LogSessionStatus) Type() protoreflect.EnumType
type LogSource ¶
type LogSource struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*LogSource) Descriptor
deprecated
func (*LogSource) ProtoMessage ¶
func (*LogSource) ProtoMessage()
func (*LogSource) ProtoReflect ¶
func (x *LogSource) ProtoReflect() protoreflect.Message
type LogStreamCommand ¶
type LogStreamCommand int32
const ( LogStreamCommand_LOG_STREAM_COMMAND_PAUSE LogStreamCommand = 0 LogStreamCommand_LOG_STREAM_COMMAND_RESUME LogStreamCommand = 1 LogStreamCommand_LOG_STREAM_COMMAND_CLOSE LogStreamCommand = 2 )
func (LogStreamCommand) Descriptor ¶
func (LogStreamCommand) Descriptor() protoreflect.EnumDescriptor
func (LogStreamCommand) Enum ¶
func (x LogStreamCommand) Enum() *LogStreamCommand
func (LogStreamCommand) EnumDescriptor
deprecated
func (LogStreamCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogStreamCommand.Descriptor instead.
func (LogStreamCommand) Number ¶
func (x LogStreamCommand) Number() protoreflect.EnumNumber
func (LogStreamCommand) String ¶
func (x LogStreamCommand) String() string
func (LogStreamCommand) Type ¶
func (LogStreamCommand) Type() protoreflect.EnumType
type LogStreamEvent ¶
type LogStreamEvent struct {
Type LogStreamEventType `protobuf:"varint,1,opt,name=type,proto3,enum=com.omniview.pluginsdk.LogStreamEventType" json:"type,omitempty"`
SourceId string `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}
func (*LogStreamEvent) Descriptor
deprecated
func (*LogStreamEvent) Descriptor() ([]byte, []int)
Deprecated: Use LogStreamEvent.ProtoReflect.Descriptor instead.
func (*LogStreamEvent) GetMessage ¶
func (x *LogStreamEvent) GetMessage() string
func (*LogStreamEvent) GetSourceId ¶
func (x *LogStreamEvent) GetSourceId() string
func (*LogStreamEvent) GetTimestamp ¶
func (x *LogStreamEvent) GetTimestamp() *timestamppb.Timestamp
func (*LogStreamEvent) GetType ¶
func (x *LogStreamEvent) GetType() LogStreamEventType
func (*LogStreamEvent) ProtoMessage ¶
func (*LogStreamEvent) ProtoMessage()
func (*LogStreamEvent) ProtoReflect ¶
func (x *LogStreamEvent) ProtoReflect() protoreflect.Message
func (*LogStreamEvent) Reset ¶
func (x *LogStreamEvent) Reset()
func (*LogStreamEvent) String ¶
func (x *LogStreamEvent) String() string
type LogStreamEventType ¶
type LogStreamEventType int32
const ( LogStreamEventType_LOG_STREAM_EVENT_SOURCE_ADDED LogStreamEventType = 0 LogStreamEventType_LOG_STREAM_EVENT_SOURCE_REMOVED LogStreamEventType = 1 LogStreamEventType_LOG_STREAM_EVENT_STREAM_ERROR LogStreamEventType = 2 LogStreamEventType_LOG_STREAM_EVENT_RECONNECTING LogStreamEventType = 3 LogStreamEventType_LOG_STREAM_EVENT_RECONNECTED LogStreamEventType = 4 LogStreamEventType_LOG_STREAM_EVENT_STREAM_ENDED LogStreamEventType = 5 LogStreamEventType_LOG_STREAM_EVENT_SESSION_READY LogStreamEventType = 6 )
func (LogStreamEventType) Descriptor ¶
func (LogStreamEventType) Descriptor() protoreflect.EnumDescriptor
func (LogStreamEventType) Enum ¶
func (x LogStreamEventType) Enum() *LogStreamEventType
func (LogStreamEventType) EnumDescriptor
deprecated
func (LogStreamEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use LogStreamEventType.Descriptor instead.
func (LogStreamEventType) Number ¶
func (x LogStreamEventType) Number() protoreflect.EnumNumber
func (LogStreamEventType) String ¶
func (x LogStreamEventType) String() string
func (LogStreamEventType) Type ¶
func (LogStreamEventType) Type() protoreflect.EnumType
type LogStreamInput ¶
type LogStreamInput struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Command LogStreamCommand `protobuf:"varint,2,opt,name=command,proto3,enum=com.omniview.pluginsdk.LogStreamCommand" json:"command,omitempty"`
// contains filtered or unexported fields
}
func (*LogStreamInput) Descriptor
deprecated
func (*LogStreamInput) Descriptor() ([]byte, []int)
Deprecated: Use LogStreamInput.ProtoReflect.Descriptor instead.
func (*LogStreamInput) GetCommand ¶
func (x *LogStreamInput) GetCommand() LogStreamCommand
func (*LogStreamInput) GetSessionId ¶
func (x *LogStreamInput) GetSessionId() string
func (*LogStreamInput) ProtoMessage ¶
func (*LogStreamInput) ProtoMessage()
func (*LogStreamInput) ProtoReflect ¶
func (x *LogStreamInput) ProtoReflect() protoreflect.Message
func (*LogStreamInput) Reset ¶
func (x *LogStreamInput) Reset()
func (*LogStreamInput) String ¶
func (x *LogStreamInput) String() string
type LogStreamOutput ¶
type LogStreamOutput struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
// Types that are valid to be assigned to Payload:
//
// *LogStreamOutput_Line
// *LogStreamOutput_Event
Payload isLogStreamOutput_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
func (*LogStreamOutput) Descriptor
deprecated
func (*LogStreamOutput) Descriptor() ([]byte, []int)
Deprecated: Use LogStreamOutput.ProtoReflect.Descriptor instead.
func (*LogStreamOutput) GetEvent ¶
func (x *LogStreamOutput) GetEvent() *LogStreamEvent
func (*LogStreamOutput) GetLine ¶
func (x *LogStreamOutput) GetLine() *LogLine
func (*LogStreamOutput) GetPayload ¶
func (x *LogStreamOutput) GetPayload() isLogStreamOutput_Payload
func (*LogStreamOutput) GetSessionId ¶
func (x *LogStreamOutput) GetSessionId() string
func (*LogStreamOutput) ProtoMessage ¶
func (*LogStreamOutput) ProtoMessage()
func (*LogStreamOutput) ProtoReflect ¶
func (x *LogStreamOutput) ProtoReflect() protoreflect.Message
func (*LogStreamOutput) Reset ¶
func (x *LogStreamOutput) Reset()
func (*LogStreamOutput) String ¶
func (x *LogStreamOutput) String() string
type LogStreamOutput_Event ¶
type LogStreamOutput_Event struct {
Event *LogStreamEvent `protobuf:"bytes,3,opt,name=event,proto3,oneof"`
}
type LogStreamOutput_Line ¶
type LogStreamOutput_Line struct {
Line *LogLine `protobuf:"bytes,2,opt,name=line,proto3,oneof"`
}
type MetricColorRange ¶
type MetricColorRange struct {
Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
// contains filtered or unexported fields
}
func (*MetricColorRange) Descriptor
deprecated
func (*MetricColorRange) Descriptor() ([]byte, []int)
Deprecated: Use MetricColorRange.ProtoReflect.Descriptor instead.
func (*MetricColorRange) GetColor ¶
func (x *MetricColorRange) GetColor() string
func (*MetricColorRange) GetMax ¶
func (x *MetricColorRange) GetMax() float64
func (*MetricColorRange) GetMin ¶
func (x *MetricColorRange) GetMin() float64
func (*MetricColorRange) ProtoMessage ¶
func (*MetricColorRange) ProtoMessage()
func (*MetricColorRange) ProtoReflect ¶
func (x *MetricColorRange) ProtoReflect() protoreflect.Message
func (*MetricColorRange) Reset ¶
func (x *MetricColorRange) Reset()
func (*MetricColorRange) String ¶
func (x *MetricColorRange) String() string
type MetricDescriptor ¶
type MetricDescriptor struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Unit MetricUnit `protobuf:"varint,3,opt,name=unit,proto3,enum=com.omniview.pluginsdk.MetricUnit" json:"unit,omitempty"`
Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
ColorRanges []*MetricColorRange `protobuf:"bytes,5,rep,name=color_ranges,json=colorRanges,proto3" json:"color_ranges,omitempty"`
FormatString string `protobuf:"bytes,6,opt,name=format_string,json=formatString,proto3" json:"format_string,omitempty"`
SupportedShapes []MetricShape `` /* 154-byte string literal not displayed */
ChartGroup string `protobuf:"bytes,8,opt,name=chart_group,json=chartGroup,proto3" json:"chart_group,omitempty"`
// contains filtered or unexported fields
}
func (*MetricDescriptor) Descriptor
deprecated
func (*MetricDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use MetricDescriptor.ProtoReflect.Descriptor instead.
func (*MetricDescriptor) GetChartGroup ¶
func (x *MetricDescriptor) GetChartGroup() string
func (*MetricDescriptor) GetColorRanges ¶
func (x *MetricDescriptor) GetColorRanges() []*MetricColorRange
func (*MetricDescriptor) GetFormatString ¶
func (x *MetricDescriptor) GetFormatString() string
func (*MetricDescriptor) GetIcon ¶
func (x *MetricDescriptor) GetIcon() string
func (*MetricDescriptor) GetId ¶
func (x *MetricDescriptor) GetId() string
func (*MetricDescriptor) GetName ¶
func (x *MetricDescriptor) GetName() string
func (*MetricDescriptor) GetSupportedShapes ¶
func (x *MetricDescriptor) GetSupportedShapes() []MetricShape
func (*MetricDescriptor) GetUnit ¶
func (x *MetricDescriptor) GetUnit() MetricUnit
func (*MetricDescriptor) ProtoMessage ¶
func (*MetricDescriptor) ProtoMessage()
func (*MetricDescriptor) ProtoReflect ¶
func (x *MetricDescriptor) ProtoReflect() protoreflect.Message
func (*MetricDescriptor) Reset ¶
func (x *MetricDescriptor) Reset()
func (*MetricDescriptor) String ¶
func (x *MetricDescriptor) String() string
type MetricHandler ¶
type MetricHandler struct {
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
Metrics []*MetricDescriptor `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
// contains filtered or unexported fields
}
func (*MetricHandler) Descriptor
deprecated
func (*MetricHandler) Descriptor() ([]byte, []int)
Deprecated: Use MetricHandler.ProtoReflect.Descriptor instead.
func (*MetricHandler) GetMetrics ¶
func (x *MetricHandler) GetMetrics() []*MetricDescriptor
func (*MetricHandler) GetResource ¶
func (x *MetricHandler) GetResource() string
func (*MetricHandler) ProtoMessage ¶
func (*MetricHandler) ProtoMessage()
func (*MetricHandler) ProtoReflect ¶
func (x *MetricHandler) ProtoReflect() protoreflect.Message
func (*MetricHandler) Reset ¶
func (x *MetricHandler) Reset()
func (*MetricHandler) String ¶
func (x *MetricHandler) String() string
type MetricOperationError ¶ added in v0.9.0
type MetricOperationError struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Suggestions []string `protobuf:"bytes,4,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
// contains filtered or unexported fields
}
func (*MetricOperationError) Descriptor
deprecated
added in
v0.9.0
func (*MetricOperationError) Descriptor() ([]byte, []int)
Deprecated: Use MetricOperationError.ProtoReflect.Descriptor instead.
func (*MetricOperationError) GetCode ¶ added in v0.9.0
func (x *MetricOperationError) GetCode() string
func (*MetricOperationError) GetMessage ¶ added in v0.9.0
func (x *MetricOperationError) GetMessage() string
func (*MetricOperationError) GetSuggestions ¶ added in v0.9.0
func (x *MetricOperationError) GetSuggestions() []string
func (*MetricOperationError) GetTitle ¶ added in v0.9.0
func (x *MetricOperationError) GetTitle() string
func (*MetricOperationError) ProtoMessage ¶ added in v0.9.0
func (*MetricOperationError) ProtoMessage()
func (*MetricOperationError) ProtoReflect ¶ added in v0.9.0
func (x *MetricOperationError) ProtoReflect() protoreflect.Message
func (*MetricOperationError) Reset ¶ added in v0.9.0
func (x *MetricOperationError) Reset()
func (*MetricOperationError) String ¶ added in v0.9.0
func (x *MetricOperationError) String() string
type MetricPluginClient ¶
type MetricPluginClient interface {
GetSupportedResources(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSupportedMetricResourcesResponse, error)
Query(ctx context.Context, in *QueryMetricsRequest, opts ...grpc.CallOption) (*QueryMetricsResponse, error)
StreamMetrics(ctx context.Context, opts ...grpc.CallOption) (MetricPlugin_StreamMetricsClient, error)
QueryResource(ctx context.Context, in *QueryMetricsRequest, opts ...grpc.CallOption) (*ResourceQueryMetricsResponse, error)
StreamResourceMetrics(ctx context.Context, opts ...grpc.CallOption) (MetricPlugin_StreamResourceMetricsClient, error)
}
MetricPluginClient is the client API for MetricPlugin 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 NewMetricPluginClient ¶
func NewMetricPluginClient(cc grpc.ClientConnInterface) MetricPluginClient
type MetricPluginServer ¶
type MetricPluginServer interface {
GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedMetricResourcesResponse, error)
Query(context.Context, *QueryMetricsRequest) (*QueryMetricsResponse, error)
StreamMetrics(MetricPlugin_StreamMetricsServer) error
QueryResource(context.Context, *QueryMetricsRequest) (*ResourceQueryMetricsResponse, error)
StreamResourceMetrics(MetricPlugin_StreamResourceMetricsServer) error
}
MetricPluginServer is the server API for MetricPlugin service. All implementations should embed UnimplementedMetricPluginServer for forward compatibility
type MetricPlugin_StreamMetricsClient ¶
type MetricPlugin_StreamMetricsClient interface {
Send(*MetricStreamInput) error
Recv() (*MetricStreamOutput, error)
grpc.ClientStream
}
type MetricPlugin_StreamMetricsServer ¶
type MetricPlugin_StreamMetricsServer interface {
Send(*MetricStreamOutput) error
Recv() (*MetricStreamInput, error)
grpc.ServerStream
}
type MetricPlugin_StreamResourceMetricsClient ¶ added in v0.9.0
type MetricPlugin_StreamResourceMetricsClient interface {
Send(*MetricStreamInput) error
Recv() (*ResourceMetricStreamOutput, error)
grpc.ClientStream
}
type MetricPlugin_StreamResourceMetricsServer ¶ added in v0.9.0
type MetricPlugin_StreamResourceMetricsServer interface {
Send(*ResourceMetricStreamOutput) error
Recv() (*MetricStreamInput, error)
grpc.ServerStream
}
type MetricProviderInfo ¶
type MetricProviderInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*MetricProviderInfo) Descriptor
deprecated
func (*MetricProviderInfo) Descriptor() ([]byte, []int)
Deprecated: Use MetricProviderInfo.ProtoReflect.Descriptor instead.
func (*MetricProviderInfo) GetDescription ¶
func (x *MetricProviderInfo) GetDescription() string
func (*MetricProviderInfo) GetIcon ¶
func (x *MetricProviderInfo) GetIcon() string
func (*MetricProviderInfo) GetId ¶
func (x *MetricProviderInfo) GetId() string
func (*MetricProviderInfo) GetName ¶
func (x *MetricProviderInfo) GetName() string
func (*MetricProviderInfo) ProtoMessage ¶
func (*MetricProviderInfo) ProtoMessage()
func (*MetricProviderInfo) ProtoReflect ¶
func (x *MetricProviderInfo) ProtoReflect() protoreflect.Message
func (*MetricProviderInfo) Reset ¶
func (x *MetricProviderInfo) Reset()
func (*MetricProviderInfo) String ¶
func (x *MetricProviderInfo) String() string
type MetricResult ¶
type MetricResult struct {
// Types that are valid to be assigned to Result:
//
// *MetricResult_TimeSeries
// *MetricResult_CurrentValue
// *MetricResult_AggregateValue
Result isMetricResult_Result `protobuf_oneof:"result"`
// contains filtered or unexported fields
}
func (*MetricResult) Descriptor
deprecated
func (*MetricResult) Descriptor() ([]byte, []int)
Deprecated: Use MetricResult.ProtoReflect.Descriptor instead.
func (*MetricResult) GetAggregateValue ¶
func (x *MetricResult) GetAggregateValue() *AggregateValue
func (*MetricResult) GetCurrentValue ¶
func (x *MetricResult) GetCurrentValue() *CurrentValue
func (*MetricResult) GetResult ¶
func (x *MetricResult) GetResult() isMetricResult_Result
func (*MetricResult) GetTimeSeries ¶
func (x *MetricResult) GetTimeSeries() *TimeSeries
func (*MetricResult) ProtoMessage ¶
func (*MetricResult) ProtoMessage()
func (*MetricResult) ProtoReflect ¶
func (x *MetricResult) ProtoReflect() protoreflect.Message
func (*MetricResult) Reset ¶
func (x *MetricResult) Reset()
func (*MetricResult) String ¶
func (x *MetricResult) String() string
type MetricResult_AggregateValue ¶
type MetricResult_AggregateValue struct {
AggregateValue *AggregateValue `protobuf:"bytes,3,opt,name=aggregate_value,json=aggregateValue,proto3,oneof"`
}
type MetricResult_CurrentValue ¶
type MetricResult_CurrentValue struct {
CurrentValue *CurrentValue `protobuf:"bytes,2,opt,name=current_value,json=currentValue,proto3,oneof"`
}
type MetricResult_TimeSeries ¶
type MetricResult_TimeSeries struct {
TimeSeries *TimeSeries `protobuf:"bytes,1,opt,name=time_series,json=timeSeries,proto3,oneof"`
}
type MetricShape ¶
type MetricShape int32
const ( MetricShape_METRIC_SHAPE_CURRENT MetricShape = 0 MetricShape_METRIC_SHAPE_TIMESERIES MetricShape = 1 MetricShape_METRIC_SHAPE_AGGREGATE MetricShape = 2 )
func (MetricShape) Descriptor ¶
func (MetricShape) Descriptor() protoreflect.EnumDescriptor
func (MetricShape) Enum ¶
func (x MetricShape) Enum() *MetricShape
func (MetricShape) EnumDescriptor
deprecated
func (MetricShape) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricShape.Descriptor instead.
func (MetricShape) Number ¶
func (x MetricShape) Number() protoreflect.EnumNumber
func (MetricShape) String ¶
func (x MetricShape) String() string
func (MetricShape) Type ¶
func (MetricShape) Type() protoreflect.EnumType
type MetricStreamCommand ¶
type MetricStreamCommand int32
const ( MetricStreamCommand_METRIC_STREAM_COMMAND_SUBSCRIBE MetricStreamCommand = 0 MetricStreamCommand_METRIC_STREAM_COMMAND_UNSUBSCRIBE MetricStreamCommand = 1 MetricStreamCommand_METRIC_STREAM_COMMAND_CLOSE MetricStreamCommand = 2 )
func (MetricStreamCommand) Descriptor ¶
func (MetricStreamCommand) Descriptor() protoreflect.EnumDescriptor
func (MetricStreamCommand) Enum ¶
func (x MetricStreamCommand) Enum() *MetricStreamCommand
func (MetricStreamCommand) EnumDescriptor
deprecated
func (MetricStreamCommand) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricStreamCommand.Descriptor instead.
func (MetricStreamCommand) Number ¶
func (x MetricStreamCommand) Number() protoreflect.EnumNumber
func (MetricStreamCommand) String ¶
func (x MetricStreamCommand) String() string
func (MetricStreamCommand) Type ¶
func (MetricStreamCommand) Type() protoreflect.EnumType
type MetricStreamInput ¶
type MetricStreamInput struct {
SubscriptionId string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
Command MetricStreamCommand `protobuf:"varint,2,opt,name=command,proto3,enum=com.omniview.pluginsdk.MetricStreamCommand" json:"command,omitempty"`
ResourceKey string `protobuf:"bytes,3,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceId string `protobuf:"bytes,4,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
ResourceNamespace string `protobuf:"bytes,5,opt,name=resource_namespace,json=resourceNamespace,proto3" json:"resource_namespace,omitempty"`
ResourceData *v2.Value `protobuf:"bytes,9,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
ResourceWireVersion uint32 `protobuf:"varint,10,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Reference *v2.ResourceReference `protobuf:"bytes,11,opt,name=reference,proto3" json:"reference,omitempty"`
Route *v2.AccessRoute `protobuf:"bytes,12,opt,name=route,proto3" json:"route,omitempty"`
ResourceOpen bool `protobuf:"varint,13,opt,name=resource_open,json=resourceOpen,proto3" json:"resource_open,omitempty"`
Params map[string]string `` /* 140-byte string literal not displayed */
CatalogRevision string `protobuf:"bytes,15,opt,name=catalog_revision,json=catalogRevision,proto3" json:"catalog_revision,omitempty"`
MetricIds []string `protobuf:"bytes,7,rep,name=metric_ids,json=metricIds,proto3" json:"metric_ids,omitempty"`
Interval *durationpb.Duration `protobuf:"bytes,8,opt,name=interval,proto3" json:"interval,omitempty"`
// contains filtered or unexported fields
}
func (*MetricStreamInput) Descriptor
deprecated
func (*MetricStreamInput) Descriptor() ([]byte, []int)
Deprecated: Use MetricStreamInput.ProtoReflect.Descriptor instead.
func (*MetricStreamInput) GetCatalogRevision ¶ added in v0.9.0
func (x *MetricStreamInput) GetCatalogRevision() string
func (*MetricStreamInput) GetCommand ¶
func (x *MetricStreamInput) GetCommand() MetricStreamCommand
func (*MetricStreamInput) GetInterval ¶
func (x *MetricStreamInput) GetInterval() *durationpb.Duration
func (*MetricStreamInput) GetMetricIds ¶
func (x *MetricStreamInput) GetMetricIds() []string
func (*MetricStreamInput) GetParams ¶ added in v0.9.0
func (x *MetricStreamInput) GetParams() map[string]string
func (*MetricStreamInput) GetReference ¶ added in v0.9.0
func (x *MetricStreamInput) GetReference() *v2.ResourceReference
func (*MetricStreamInput) GetResourceData ¶
func (x *MetricStreamInput) GetResourceData() *v2.Value
func (*MetricStreamInput) GetResourceId ¶
func (x *MetricStreamInput) GetResourceId() string
func (*MetricStreamInput) GetResourceKey ¶
func (x *MetricStreamInput) GetResourceKey() string
func (*MetricStreamInput) GetResourceNamespace ¶
func (x *MetricStreamInput) GetResourceNamespace() string
func (*MetricStreamInput) GetResourceOpen ¶ added in v0.9.0
func (x *MetricStreamInput) GetResourceOpen() bool
func (*MetricStreamInput) GetResourceWireVersion ¶ added in v0.9.0
func (x *MetricStreamInput) GetResourceWireVersion() uint32
func (*MetricStreamInput) GetRoute ¶ added in v0.9.0
func (x *MetricStreamInput) GetRoute() *v2.AccessRoute
func (*MetricStreamInput) GetSubscriptionId ¶
func (x *MetricStreamInput) GetSubscriptionId() string
func (*MetricStreamInput) ProtoMessage ¶
func (*MetricStreamInput) ProtoMessage()
func (*MetricStreamInput) ProtoReflect ¶
func (x *MetricStreamInput) ProtoReflect() protoreflect.Message
func (*MetricStreamInput) Reset ¶
func (x *MetricStreamInput) Reset()
func (*MetricStreamInput) String ¶
func (x *MetricStreamInput) String() string
type MetricStreamOutput ¶
type MetricStreamOutput struct {
SubscriptionId string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
Results []*MetricResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
OperationError *MetricOperationError `protobuf:"bytes,5,opt,name=operation_error,json=operationError,proto3" json:"operation_error,omitempty"`
// contains filtered or unexported fields
}
func (*MetricStreamOutput) Descriptor
deprecated
func (*MetricStreamOutput) Descriptor() ([]byte, []int)
Deprecated: Use MetricStreamOutput.ProtoReflect.Descriptor instead.
func (*MetricStreamOutput) GetError ¶
func (x *MetricStreamOutput) GetError() string
func (*MetricStreamOutput) GetOperationError ¶ added in v0.9.0
func (x *MetricStreamOutput) GetOperationError() *MetricOperationError
func (*MetricStreamOutput) GetResults ¶
func (x *MetricStreamOutput) GetResults() []*MetricResult
func (*MetricStreamOutput) GetSubscriptionId ¶
func (x *MetricStreamOutput) GetSubscriptionId() string
func (*MetricStreamOutput) GetTimestamp ¶
func (x *MetricStreamOutput) GetTimestamp() *timestamppb.Timestamp
func (*MetricStreamOutput) ProtoMessage ¶
func (*MetricStreamOutput) ProtoMessage()
func (*MetricStreamOutput) ProtoReflect ¶
func (x *MetricStreamOutput) ProtoReflect() protoreflect.Message
func (*MetricStreamOutput) Reset ¶
func (x *MetricStreamOutput) Reset()
func (*MetricStreamOutput) String ¶
func (x *MetricStreamOutput) String() string
type MetricUnit ¶
type MetricUnit int32
const ( MetricUnit_METRIC_UNIT_NONE MetricUnit = 0 MetricUnit_METRIC_UNIT_BYTES MetricUnit = 1 MetricUnit_METRIC_UNIT_KB MetricUnit = 2 MetricUnit_METRIC_UNIT_MB MetricUnit = 3 MetricUnit_METRIC_UNIT_GB MetricUnit = 4 MetricUnit_METRIC_UNIT_PERCENTAGE MetricUnit = 5 MetricUnit_METRIC_UNIT_MILLISECONDS MetricUnit = 6 MetricUnit_METRIC_UNIT_SECONDS MetricUnit = 7 MetricUnit_METRIC_UNIT_COUNT MetricUnit = 8 MetricUnit_METRIC_UNIT_OPS_PER_SEC MetricUnit = 9 MetricUnit_METRIC_UNIT_BYTES_PER_SEC MetricUnit = 10 MetricUnit_METRIC_UNIT_MILLICORES MetricUnit = 11 MetricUnit_METRIC_UNIT_CORES MetricUnit = 12 )
func (MetricUnit) Descriptor ¶
func (MetricUnit) Descriptor() protoreflect.EnumDescriptor
func (MetricUnit) Enum ¶
func (x MetricUnit) Enum() *MetricUnit
func (MetricUnit) EnumDescriptor
deprecated
func (MetricUnit) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetricUnit.Descriptor instead.
func (MetricUnit) Number ¶
func (x MetricUnit) Number() protoreflect.EnumNumber
func (MetricUnit) String ¶
func (x MetricUnit) String() string
func (MetricUnit) Type ¶
func (MetricUnit) Type() protoreflect.EnumType
type NetworkerPluginClient ¶
type NetworkerPluginClient interface {
// Resource Forwarding Management
GetSupportedPortForwardTargets(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSupportedPortForwardTargetsResponse, error)
GetPortForwardSession(ctx context.Context, in *PortForwardSessionByIdRequest, opts ...grpc.CallOption) (*PortForwardSessionByIdResponse, error)
ListPortForwardSessions(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PortForwardSessionListResponse, error)
FindPortForwardSessions(ctx context.Context, in *FindPortForwardSessionRequest, opts ...grpc.CallOption) (*PortForwardSessionListResponse, error)
StartPortForwardSession(ctx context.Context, in *PortForwardSessionOptions, opts ...grpc.CallOption) (*PortForwardSessionByIdResponse, error)
StartResourcePortForwardSession(ctx context.Context, in *PortForwardSessionOptions, opts ...grpc.CallOption) (*ResourcePortForwardSessionResponse, error)
ClosePortForwardSession(ctx context.Context, in *PortForwardSessionByIdRequest, opts ...grpc.CallOption) (*PortForwardSessionByIdResponse, error)
}
NetworkerPluginClient is the client API for NetworkerPlugin 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 NewNetworkerPluginClient ¶
func NewNetworkerPluginClient(cc grpc.ClientConnInterface) NetworkerPluginClient
type NetworkerPluginServer ¶
type NetworkerPluginServer interface {
// Resource Forwarding Management
GetSupportedPortForwardTargets(context.Context, *emptypb.Empty) (*GetSupportedPortForwardTargetsResponse, error)
GetPortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
ListPortForwardSessions(context.Context, *emptypb.Empty) (*PortForwardSessionListResponse, error)
FindPortForwardSessions(context.Context, *FindPortForwardSessionRequest) (*PortForwardSessionListResponse, error)
StartPortForwardSession(context.Context, *PortForwardSessionOptions) (*PortForwardSessionByIdResponse, error)
StartResourcePortForwardSession(context.Context, *PortForwardSessionOptions) (*ResourcePortForwardSessionResponse, error)
ClosePortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
}
NetworkerPluginServer is the server API for NetworkerPlugin service. All implementations should embed UnimplementedNetworkerPluginServer for forward compatibility
type PluginContext ¶
type PluginContext struct {
// source plugin calling the API.
PluginId string `protobuf:"bytes,1,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
// settings for the plugin
PluginSettings map[string]string `` /* 177-byte string literal not displayed */
// global IDE settings
GlobalSettings map[string]string `` /* 177-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*PluginContext) Descriptor
deprecated
func (*PluginContext) Descriptor() ([]byte, []int)
Deprecated: Use PluginContext.ProtoReflect.Descriptor instead.
func (*PluginContext) GetGlobalSettings ¶
func (x *PluginContext) GetGlobalSettings() map[string]string
func (*PluginContext) GetPluginId ¶
func (x *PluginContext) GetPluginId() string
func (*PluginContext) GetPluginSettings ¶
func (x *PluginContext) GetPluginSettings() map[string]string
func (*PluginContext) ProtoMessage ¶
func (*PluginContext) ProtoMessage()
func (*PluginContext) ProtoReflect ¶
func (x *PluginContext) ProtoReflect() protoreflect.Message
func (*PluginContext) Reset ¶
func (x *PluginContext) Reset()
func (*PluginContext) String ¶
func (x *PluginContext) String() string
type PluginLifecycleClient ¶ added in v0.1.1
type PluginLifecycleClient interface {
// GetInfo returns plugin identification and version information.
GetInfo(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetInfoResponse, error)
// GetCapabilities returns the list of capabilities this plugin serves.
// Replaces exception-based gRPC probing on the host side.
GetCapabilities(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetCapabilitiesResponse, error)
// HealthCheck returns the current health status of the plugin process.
HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}
PluginLifecycleClient is the client API for PluginLifecycle 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 NewPluginLifecycleClient ¶ added in v0.1.1
func NewPluginLifecycleClient(cc grpc.ClientConnInterface) PluginLifecycleClient
type PluginLifecycleServer ¶ added in v0.1.1
type PluginLifecycleServer interface {
// GetInfo returns plugin identification and version information.
GetInfo(context.Context, *emptypb.Empty) (*GetInfoResponse, error)
// GetCapabilities returns the list of capabilities this plugin serves.
// Replaces exception-based gRPC probing on the host side.
GetCapabilities(context.Context, *emptypb.Empty) (*GetCapabilitiesResponse, error)
// HealthCheck returns the current health status of the plugin process.
HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
}
PluginLifecycleServer is the server API for PluginLifecycle service. All implementations should embed UnimplementedPluginLifecycleServer for forward compatibility
type PortForwardProtocol ¶
type PortForwardProtocol int32
const ( PortForwardProtocol_TCP PortForwardProtocol = 0 PortForwardProtocol_UDP PortForwardProtocol = 1 )
func (PortForwardProtocol) Descriptor ¶
func (PortForwardProtocol) Descriptor() protoreflect.EnumDescriptor
func (PortForwardProtocol) Enum ¶
func (x PortForwardProtocol) Enum() *PortForwardProtocol
func (PortForwardProtocol) EnumDescriptor
deprecated
func (PortForwardProtocol) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortForwardProtocol.Descriptor instead.
func (PortForwardProtocol) Number ¶
func (x PortForwardProtocol) Number() protoreflect.EnumNumber
func (PortForwardProtocol) String ¶
func (x PortForwardProtocol) String() string
func (PortForwardProtocol) Type ¶
func (PortForwardProtocol) Type() protoreflect.EnumType
type PortForwardResourceConnection ¶
type PortForwardResourceConnection struct {
ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
PluginId string `protobuf:"bytes,2,opt,name=plugin_id,json=pluginId,proto3" json:"plugin_id,omitempty"`
ResourceId string `protobuf:"bytes,3,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
ResourceKey string `protobuf:"bytes,4,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceData *v2.Value `protobuf:"bytes,6,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
ResourceWireVersion uint32 `protobuf:"varint,7,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Reference *v2.ResourceReference `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty"`
Route *v2.AccessRoute `protobuf:"bytes,9,opt,name=route,proto3" json:"route,omitempty"`
// contains filtered or unexported fields
}
Port forwarding can happen to a resource via it's resource parameter, or via a static connection to a specific address and port. This message encapsulates the options for the connection to a resource.
func (*PortForwardResourceConnection) Descriptor
deprecated
func (*PortForwardResourceConnection) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardResourceConnection.ProtoReflect.Descriptor instead.
func (*PortForwardResourceConnection) GetConnectionId ¶
func (x *PortForwardResourceConnection) GetConnectionId() string
func (*PortForwardResourceConnection) GetPluginId ¶
func (x *PortForwardResourceConnection) GetPluginId() string
func (*PortForwardResourceConnection) GetReference ¶ added in v0.9.0
func (x *PortForwardResourceConnection) GetReference() *v2.ResourceReference
func (*PortForwardResourceConnection) GetResourceData ¶
func (x *PortForwardResourceConnection) GetResourceData() *v2.Value
func (*PortForwardResourceConnection) GetResourceId ¶
func (x *PortForwardResourceConnection) GetResourceId() string
func (*PortForwardResourceConnection) GetResourceKey ¶
func (x *PortForwardResourceConnection) GetResourceKey() string
func (*PortForwardResourceConnection) GetResourceWireVersion ¶ added in v0.9.0
func (x *PortForwardResourceConnection) GetResourceWireVersion() uint32
func (*PortForwardResourceConnection) GetRoute ¶ added in v0.9.0
func (x *PortForwardResourceConnection) GetRoute() *v2.AccessRoute
func (*PortForwardResourceConnection) ProtoMessage ¶
func (*PortForwardResourceConnection) ProtoMessage()
func (*PortForwardResourceConnection) ProtoReflect ¶
func (x *PortForwardResourceConnection) ProtoReflect() protoreflect.Message
func (*PortForwardResourceConnection) Reset ¶
func (x *PortForwardResourceConnection) Reset()
func (*PortForwardResourceConnection) String ¶
func (x *PortForwardResourceConnection) String() string
type PortForwardSession ¶
type PortForwardSession struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
LocalPort int32 `protobuf:"varint,2,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
RemotePort int32 `protobuf:"varint,3,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
Protocol PortForwardProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=com.omniview.pluginsdk.PortForwardProtocol" json:"protocol,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
State PortForwardSession_SessionState `protobuf:"varint,8,opt,name=state,proto3,enum=com.omniview.pluginsdk.PortForwardSession_SessionState" json:"state,omitempty"`
Encryption *PortForwardSessionEncryption `protobuf:"bytes,9,opt,name=encryption,proto3" json:"encryption,omitempty"`
// Types that are valid to be assigned to Connection:
//
// *PortForwardSession_ResourceConnection
// *PortForwardSession_StaticConnection
Connection isPortForwardSession_Connection `protobuf_oneof:"connection"`
// contains filtered or unexported fields
}
An active port forwarding session that is used to forward network traffic from a remote resource to the local machine. Common use cases include: - Kubernetes port forwarding - AWS SSM port forwarding - SSH port forwarding
func (*PortForwardSession) Descriptor
deprecated
func (*PortForwardSession) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSession.ProtoReflect.Descriptor instead.
func (*PortForwardSession) GetConnection ¶
func (x *PortForwardSession) GetConnection() isPortForwardSession_Connection
func (*PortForwardSession) GetCreatedAt ¶
func (x *PortForwardSession) GetCreatedAt() *timestamppb.Timestamp
func (*PortForwardSession) GetEncryption ¶
func (x *PortForwardSession) GetEncryption() *PortForwardSessionEncryption
func (*PortForwardSession) GetId ¶
func (x *PortForwardSession) GetId() string
func (*PortForwardSession) GetLabels ¶
func (x *PortForwardSession) GetLabels() map[string]string
func (*PortForwardSession) GetLocalPort ¶
func (x *PortForwardSession) GetLocalPort() int32
func (*PortForwardSession) GetProtocol ¶
func (x *PortForwardSession) GetProtocol() PortForwardProtocol
func (*PortForwardSession) GetRemotePort ¶
func (x *PortForwardSession) GetRemotePort() int32
func (*PortForwardSession) GetResourceConnection ¶
func (x *PortForwardSession) GetResourceConnection() *PortForwardResourceConnection
func (*PortForwardSession) GetState ¶
func (x *PortForwardSession) GetState() PortForwardSession_SessionState
func (*PortForwardSession) GetStaticConnection ¶
func (x *PortForwardSession) GetStaticConnection() *PortForwardStaticConnection
func (*PortForwardSession) GetUpdatedAt ¶
func (x *PortForwardSession) GetUpdatedAt() *timestamppb.Timestamp
func (*PortForwardSession) ProtoMessage ¶
func (*PortForwardSession) ProtoMessage()
func (*PortForwardSession) ProtoReflect ¶
func (x *PortForwardSession) ProtoReflect() protoreflect.Message
func (*PortForwardSession) Reset ¶
func (x *PortForwardSession) Reset()
func (*PortForwardSession) String ¶
func (x *PortForwardSession) String() string
type PortForwardSessionByIdRequest ¶
type PortForwardSessionByIdRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionByIdRequest) Descriptor
deprecated
func (*PortForwardSessionByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionByIdRequest.ProtoReflect.Descriptor instead.
func (*PortForwardSessionByIdRequest) GetId ¶
func (x *PortForwardSessionByIdRequest) GetId() string
func (*PortForwardSessionByIdRequest) ProtoMessage ¶
func (*PortForwardSessionByIdRequest) ProtoMessage()
func (*PortForwardSessionByIdRequest) ProtoReflect ¶
func (x *PortForwardSessionByIdRequest) ProtoReflect() protoreflect.Message
func (*PortForwardSessionByIdRequest) Reset ¶
func (x *PortForwardSessionByIdRequest) Reset()
func (*PortForwardSessionByIdRequest) String ¶
func (x *PortForwardSessionByIdRequest) String() string
type PortForwardSessionByIdResponse ¶
type PortForwardSessionByIdResponse struct {
Session *PortForwardSession `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionByIdResponse) Descriptor
deprecated
func (*PortForwardSessionByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionByIdResponse.ProtoReflect.Descriptor instead.
func (*PortForwardSessionByIdResponse) GetSession ¶
func (x *PortForwardSessionByIdResponse) GetSession() *PortForwardSession
func (*PortForwardSessionByIdResponse) ProtoMessage ¶
func (*PortForwardSessionByIdResponse) ProtoMessage()
func (*PortForwardSessionByIdResponse) ProtoReflect ¶
func (x *PortForwardSessionByIdResponse) ProtoReflect() protoreflect.Message
func (*PortForwardSessionByIdResponse) Reset ¶
func (x *PortForwardSessionByIdResponse) Reset()
func (*PortForwardSessionByIdResponse) String ¶
func (x *PortForwardSessionByIdResponse) String() string
type PortForwardSessionEncryption ¶
type PortForwardSessionEncryption struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Algorithm string `protobuf:"bytes,2,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionEncryption) Descriptor
deprecated
func (*PortForwardSessionEncryption) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionEncryption.ProtoReflect.Descriptor instead.
func (*PortForwardSessionEncryption) GetAlgorithm ¶
func (x *PortForwardSessionEncryption) GetAlgorithm() string
func (*PortForwardSessionEncryption) GetEnabled ¶
func (x *PortForwardSessionEncryption) GetEnabled() bool
func (*PortForwardSessionEncryption) GetKey ¶
func (x *PortForwardSessionEncryption) GetKey() string
func (*PortForwardSessionEncryption) ProtoMessage ¶
func (*PortForwardSessionEncryption) ProtoMessage()
func (*PortForwardSessionEncryption) ProtoReflect ¶
func (x *PortForwardSessionEncryption) ProtoReflect() protoreflect.Message
func (*PortForwardSessionEncryption) Reset ¶
func (x *PortForwardSessionEncryption) Reset()
func (*PortForwardSessionEncryption) String ¶
func (x *PortForwardSessionEncryption) String() string
type PortForwardSessionListResponse ¶
type PortForwardSessionListResponse struct {
Sessions []*PortForwardSession `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardSessionListResponse) Descriptor
deprecated
func (*PortForwardSessionListResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionListResponse.ProtoReflect.Descriptor instead.
func (*PortForwardSessionListResponse) GetSessions ¶
func (x *PortForwardSessionListResponse) GetSessions() []*PortForwardSession
func (*PortForwardSessionListResponse) ProtoMessage ¶
func (*PortForwardSessionListResponse) ProtoMessage()
func (*PortForwardSessionListResponse) ProtoReflect ¶
func (x *PortForwardSessionListResponse) ProtoReflect() protoreflect.Message
func (*PortForwardSessionListResponse) Reset ¶
func (x *PortForwardSessionListResponse) Reset()
func (*PortForwardSessionListResponse) String ¶
func (x *PortForwardSessionListResponse) String() string
type PortForwardSessionOptions ¶
type PortForwardSessionOptions struct {
LocalPort int32 `protobuf:"varint,1,opt,name=local_port,json=localPort,proto3" json:"local_port,omitempty"`
RemotePort int32 `protobuf:"varint,2,opt,name=remote_port,json=remotePort,proto3" json:"remote_port,omitempty"`
Protocol PortForwardProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=com.omniview.pluginsdk.PortForwardProtocol" json:"protocol,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
Params map[string]string `` /* 139-byte string literal not displayed */
Encryption *PortForwardSessionEncryption `protobuf:"bytes,6,opt,name=encryption,proto3" json:"encryption,omitempty"`
// Types that are valid to be assigned to Connection:
//
// *PortForwardSessionOptions_ResourceConnection
// *PortForwardSessionOptions_StaticConnection
Connection isPortForwardSessionOptions_Connection `protobuf_oneof:"connection"`
// contains filtered or unexported fields
}
Options for creating a new port forwarding session
func (*PortForwardSessionOptions) Descriptor
deprecated
func (*PortForwardSessionOptions) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardSessionOptions.ProtoReflect.Descriptor instead.
func (*PortForwardSessionOptions) GetConnection ¶
func (x *PortForwardSessionOptions) GetConnection() isPortForwardSessionOptions_Connection
func (*PortForwardSessionOptions) GetEncryption ¶
func (x *PortForwardSessionOptions) GetEncryption() *PortForwardSessionEncryption
func (*PortForwardSessionOptions) GetLabels ¶
func (x *PortForwardSessionOptions) GetLabels() map[string]string
func (*PortForwardSessionOptions) GetLocalPort ¶
func (x *PortForwardSessionOptions) GetLocalPort() int32
func (*PortForwardSessionOptions) GetParams ¶
func (x *PortForwardSessionOptions) GetParams() map[string]string
func (*PortForwardSessionOptions) GetProtocol ¶
func (x *PortForwardSessionOptions) GetProtocol() PortForwardProtocol
func (*PortForwardSessionOptions) GetRemotePort ¶
func (x *PortForwardSessionOptions) GetRemotePort() int32
func (*PortForwardSessionOptions) GetResourceConnection ¶
func (x *PortForwardSessionOptions) GetResourceConnection() *PortForwardResourceConnection
func (*PortForwardSessionOptions) GetStaticConnection ¶
func (x *PortForwardSessionOptions) GetStaticConnection() *PortForwardStaticConnection
func (*PortForwardSessionOptions) ProtoMessage ¶
func (*PortForwardSessionOptions) ProtoMessage()
func (*PortForwardSessionOptions) ProtoReflect ¶
func (x *PortForwardSessionOptions) ProtoReflect() protoreflect.Message
func (*PortForwardSessionOptions) Reset ¶
func (x *PortForwardSessionOptions) Reset()
func (*PortForwardSessionOptions) String ¶
func (x *PortForwardSessionOptions) String() string
type PortForwardSessionOptions_ResourceConnection ¶
type PortForwardSessionOptions_ResourceConnection struct {
ResourceConnection *PortForwardResourceConnection `protobuf:"bytes,10,opt,name=resource_connection,json=resourceConnection,proto3,oneof"`
}
type PortForwardSessionOptions_StaticConnection ¶
type PortForwardSessionOptions_StaticConnection struct {
StaticConnection *PortForwardStaticConnection `protobuf:"bytes,11,opt,name=static_connection,json=staticConnection,proto3,oneof"`
}
type PortForwardSession_ResourceConnection ¶
type PortForwardSession_ResourceConnection struct {
ResourceConnection *PortForwardResourceConnection `protobuf:"bytes,20,opt,name=resource_connection,json=resourceConnection,proto3,oneof"`
}
type PortForwardSession_SessionState ¶
type PortForwardSession_SessionState int32
const ( PortForwardSession_ACTIVE PortForwardSession_SessionState = 0 PortForwardSession_PAUSED PortForwardSession_SessionState = 1 PortForwardSession_STOPPED PortForwardSession_SessionState = 2 PortForwardSession_FAILED PortForwardSession_SessionState = 3 )
func (PortForwardSession_SessionState) Descriptor ¶
func (PortForwardSession_SessionState) Descriptor() protoreflect.EnumDescriptor
func (PortForwardSession_SessionState) Enum ¶
func (x PortForwardSession_SessionState) Enum() *PortForwardSession_SessionState
func (PortForwardSession_SessionState) EnumDescriptor
deprecated
func (PortForwardSession_SessionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PortForwardSession_SessionState.Descriptor instead.
func (PortForwardSession_SessionState) Number ¶
func (x PortForwardSession_SessionState) Number() protoreflect.EnumNumber
func (PortForwardSession_SessionState) String ¶
func (x PortForwardSession_SessionState) String() string
func (PortForwardSession_SessionState) Type ¶
func (PortForwardSession_SessionState) Type() protoreflect.EnumType
type PortForwardSession_StaticConnection ¶
type PortForwardSession_StaticConnection struct {
StaticConnection *PortForwardStaticConnection `protobuf:"bytes,21,opt,name=static_connection,json=staticConnection,proto3,oneof"`
}
type PortForwardStaticConnection ¶
type PortForwardStaticConnection struct {
// IPv4 or IPv6 address
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
func (*PortForwardStaticConnection) Descriptor
deprecated
func (*PortForwardStaticConnection) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardStaticConnection.ProtoReflect.Descriptor instead.
func (*PortForwardStaticConnection) GetAddress ¶
func (x *PortForwardStaticConnection) GetAddress() string
func (*PortForwardStaticConnection) ProtoMessage ¶
func (*PortForwardStaticConnection) ProtoMessage()
func (*PortForwardStaticConnection) ProtoReflect ¶
func (x *PortForwardStaticConnection) ProtoReflect() protoreflect.Message
func (*PortForwardStaticConnection) Reset ¶
func (x *PortForwardStaticConnection) Reset()
func (*PortForwardStaticConnection) String ¶
func (x *PortForwardStaticConnection) String() string
type PublishStreamRequest ¶
type PublishStreamRequest struct {
PluginContext *PluginContext `protobuf:"bytes,1,opt,name=plugin_context,json=pluginContext,proto3" json:"plugin_context,omitempty"`
// path part of a channel.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// data that user wants to publish into a stream
// (only JSON-encoded at the moment).
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*PublishStreamRequest) Descriptor
deprecated
func (*PublishStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use PublishStreamRequest.ProtoReflect.Descriptor instead.
func (*PublishStreamRequest) GetData ¶
func (x *PublishStreamRequest) GetData() []byte
func (*PublishStreamRequest) GetPath ¶
func (x *PublishStreamRequest) GetPath() string
func (*PublishStreamRequest) GetPluginContext ¶
func (x *PublishStreamRequest) GetPluginContext() *PluginContext
func (*PublishStreamRequest) ProtoMessage ¶
func (*PublishStreamRequest) ProtoMessage()
func (*PublishStreamRequest) ProtoReflect ¶
func (x *PublishStreamRequest) ProtoReflect() protoreflect.Message
func (*PublishStreamRequest) Reset ¶
func (x *PublishStreamRequest) Reset()
func (*PublishStreamRequest) String ¶
func (x *PublishStreamRequest) String() string
type PublishStreamResponse ¶
type PublishStreamResponse struct {
Status PublishStreamResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=com.omniview.pluginsdk.PublishStreamResponse_Status" json:"status,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*PublishStreamResponse) Descriptor
deprecated
func (*PublishStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use PublishStreamResponse.ProtoReflect.Descriptor instead.
func (*PublishStreamResponse) GetData ¶
func (x *PublishStreamResponse) GetData() []byte
func (*PublishStreamResponse) GetStatus ¶
func (x *PublishStreamResponse) GetStatus() PublishStreamResponse_Status
func (*PublishStreamResponse) ProtoMessage ¶
func (*PublishStreamResponse) ProtoMessage()
func (*PublishStreamResponse) ProtoReflect ¶
func (x *PublishStreamResponse) ProtoReflect() protoreflect.Message
func (*PublishStreamResponse) Reset ¶
func (x *PublishStreamResponse) Reset()
func (*PublishStreamResponse) String ¶
func (x *PublishStreamResponse) String() string
type PublishStreamResponse_Status ¶
type PublishStreamResponse_Status int32
const ( PublishStreamResponse_OK PublishStreamResponse_Status = 0 PublishStreamResponse_NOT_FOUND PublishStreamResponse_Status = 1 PublishStreamResponse_PERMISSION_DENIED PublishStreamResponse_Status = 2 )
func (PublishStreamResponse_Status) Descriptor ¶
func (PublishStreamResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (PublishStreamResponse_Status) Enum ¶
func (x PublishStreamResponse_Status) Enum() *PublishStreamResponse_Status
func (PublishStreamResponse_Status) EnumDescriptor
deprecated
func (PublishStreamResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use PublishStreamResponse_Status.Descriptor instead.
func (PublishStreamResponse_Status) Number ¶
func (x PublishStreamResponse_Status) Number() protoreflect.EnumNumber
func (PublishStreamResponse_Status) String ¶
func (x PublishStreamResponse_Status) String() string
func (PublishStreamResponse_Status) Type ¶
func (PublishStreamResponse_Status) Type() protoreflect.EnumType
type QueryMetricsRequest ¶
type QueryMetricsRequest struct {
ResourceKey string `protobuf:"bytes,1,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
ResourceNamespace string `protobuf:"bytes,3,opt,name=resource_namespace,json=resourceNamespace,proto3" json:"resource_namespace,omitempty"`
ResourceData *v2.Value `protobuf:"bytes,11,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
ResourceWireVersion uint32 `protobuf:"varint,12,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Reference *v2.ResourceReference `protobuf:"bytes,13,opt,name=reference,proto3" json:"reference,omitempty"`
Route *v2.AccessRoute `protobuf:"bytes,14,opt,name=route,proto3" json:"route,omitempty"`
MetricIds []string `protobuf:"bytes,5,rep,name=metric_ids,json=metricIds,proto3" json:"metric_ids,omitempty"`
Shape MetricShape `protobuf:"varint,6,opt,name=shape,proto3,enum=com.omniview.pluginsdk.MetricShape" json:"shape,omitempty"`
StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Step *durationpb.Duration `protobuf:"bytes,9,opt,name=step,proto3" json:"step,omitempty"`
Params map[string]string `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*QueryMetricsRequest) Descriptor
deprecated
func (*QueryMetricsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsRequest.ProtoReflect.Descriptor instead.
func (*QueryMetricsRequest) GetEndTime ¶
func (x *QueryMetricsRequest) GetEndTime() *timestamppb.Timestamp
func (*QueryMetricsRequest) GetMetricIds ¶
func (x *QueryMetricsRequest) GetMetricIds() []string
func (*QueryMetricsRequest) GetParams ¶
func (x *QueryMetricsRequest) GetParams() map[string]string
func (*QueryMetricsRequest) GetReference ¶ added in v0.9.0
func (x *QueryMetricsRequest) GetReference() *v2.ResourceReference
func (*QueryMetricsRequest) GetResourceData ¶
func (x *QueryMetricsRequest) GetResourceData() *v2.Value
func (*QueryMetricsRequest) GetResourceId ¶
func (x *QueryMetricsRequest) GetResourceId() string
func (*QueryMetricsRequest) GetResourceKey ¶
func (x *QueryMetricsRequest) GetResourceKey() string
func (*QueryMetricsRequest) GetResourceNamespace ¶
func (x *QueryMetricsRequest) GetResourceNamespace() string
func (*QueryMetricsRequest) GetResourceWireVersion ¶ added in v0.9.0
func (x *QueryMetricsRequest) GetResourceWireVersion() uint32
func (*QueryMetricsRequest) GetRoute ¶ added in v0.9.0
func (x *QueryMetricsRequest) GetRoute() *v2.AccessRoute
func (*QueryMetricsRequest) GetShape ¶
func (x *QueryMetricsRequest) GetShape() MetricShape
func (*QueryMetricsRequest) GetStartTime ¶
func (x *QueryMetricsRequest) GetStartTime() *timestamppb.Timestamp
func (*QueryMetricsRequest) GetStep ¶
func (x *QueryMetricsRequest) GetStep() *durationpb.Duration
func (*QueryMetricsRequest) ProtoMessage ¶
func (*QueryMetricsRequest) ProtoMessage()
func (*QueryMetricsRequest) ProtoReflect ¶
func (x *QueryMetricsRequest) ProtoReflect() protoreflect.Message
func (*QueryMetricsRequest) Reset ¶
func (x *QueryMetricsRequest) Reset()
func (*QueryMetricsRequest) String ¶
func (x *QueryMetricsRequest) String() string
type QueryMetricsResponse ¶
type QueryMetricsResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Results []*MetricResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*QueryMetricsResponse) Descriptor
deprecated
func (*QueryMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryMetricsResponse.ProtoReflect.Descriptor instead.
func (*QueryMetricsResponse) GetError ¶
func (x *QueryMetricsResponse) GetError() string
func (*QueryMetricsResponse) GetResults ¶
func (x *QueryMetricsResponse) GetResults() []*MetricResult
func (*QueryMetricsResponse) GetSuccess ¶
func (x *QueryMetricsResponse) GetSuccess() bool
func (*QueryMetricsResponse) ProtoMessage ¶
func (*QueryMetricsResponse) ProtoMessage()
func (*QueryMetricsResponse) ProtoReflect ¶
func (x *QueryMetricsResponse) ProtoReflect() protoreflect.Message
func (*QueryMetricsResponse) Reset ¶
func (x *QueryMetricsResponse) Reset()
func (*QueryMetricsResponse) String ¶
func (x *QueryMetricsResponse) String() string
type ResizeSessionRequest ¶
type ResizeSessionRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Rows int32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"`
Cols int32 `protobuf:"varint,3,opt,name=cols,proto3" json:"cols,omitempty"`
// contains filtered or unexported fields
}
func (*ResizeSessionRequest) Descriptor
deprecated
func (*ResizeSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizeSessionRequest.ProtoReflect.Descriptor instead.
func (*ResizeSessionRequest) GetCols ¶
func (x *ResizeSessionRequest) GetCols() int32
func (*ResizeSessionRequest) GetId ¶
func (x *ResizeSessionRequest) GetId() string
func (*ResizeSessionRequest) GetRows ¶
func (x *ResizeSessionRequest) GetRows() int32
func (*ResizeSessionRequest) ProtoMessage ¶
func (*ResizeSessionRequest) ProtoMessage()
func (*ResizeSessionRequest) ProtoReflect ¶
func (x *ResizeSessionRequest) ProtoReflect() protoreflect.Message
func (*ResizeSessionRequest) Reset ¶
func (x *ResizeSessionRequest) Reset()
func (*ResizeSessionRequest) String ¶
func (x *ResizeSessionRequest) String() string
type ResizeSessionResponse ¶
type ResizeSessionResponse struct {
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ResizeSessionResponse) Descriptor
deprecated
func (*ResizeSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResizeSessionResponse.ProtoReflect.Descriptor instead.
func (*ResizeSessionResponse) GetError ¶
func (x *ResizeSessionResponse) GetError() string
func (*ResizeSessionResponse) GetSuccess ¶
func (x *ResizeSessionResponse) GetSuccess() bool
func (*ResizeSessionResponse) ProtoMessage ¶
func (*ResizeSessionResponse) ProtoMessage()
func (*ResizeSessionResponse) ProtoReflect ¶
func (x *ResizeSessionResponse) ProtoReflect() protoreflect.Message
func (*ResizeSessionResponse) Reset ¶
func (x *ResizeSessionResponse) Reset()
func (*ResizeSessionResponse) String ¶
func (x *ResizeSessionResponse) String() string
type ResourceActionTargetBuilder ¶
type ResourceActionTargetBuilder struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
LabelSelector string `protobuf:"bytes,2,opt,name=label_selector,json=labelSelector,proto3" json:"label_selector,omitempty"`
Paths []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
Selectors map[string]string `` /* 145-byte string literal not displayed */
// contains filtered or unexported fields
}
ResourceActionTargetBuilder is shared by active exec and log providers. It is a utility presentation selector, not canonical resource identity.
func (*ResourceActionTargetBuilder) Descriptor
deprecated
func (*ResourceActionTargetBuilder) Descriptor() ([]byte, []int)
Deprecated: Use ResourceActionTargetBuilder.ProtoReflect.Descriptor instead.
func (*ResourceActionTargetBuilder) GetLabel ¶
func (x *ResourceActionTargetBuilder) GetLabel() string
func (*ResourceActionTargetBuilder) GetLabelSelector ¶
func (x *ResourceActionTargetBuilder) GetLabelSelector() string
func (*ResourceActionTargetBuilder) GetPaths ¶
func (x *ResourceActionTargetBuilder) GetPaths() []string
func (*ResourceActionTargetBuilder) GetSelectors ¶
func (x *ResourceActionTargetBuilder) GetSelectors() map[string]string
func (*ResourceActionTargetBuilder) ProtoMessage ¶
func (*ResourceActionTargetBuilder) ProtoMessage()
func (*ResourceActionTargetBuilder) ProtoReflect ¶
func (x *ResourceActionTargetBuilder) ProtoReflect() protoreflect.Message
func (*ResourceActionTargetBuilder) Reset ¶
func (x *ResourceActionTargetBuilder) Reset()
func (*ResourceActionTargetBuilder) String ¶
func (x *ResourceActionTargetBuilder) String() string
type ResourceLogSessionResponse ¶ added in v0.9.0
type ResourceLogSessionResponse struct {
ResourceWireVersion uint32 `protobuf:"varint,1,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Session *LogSession `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceLogSessionResponse) Descriptor
deprecated
added in
v0.9.0
func (*ResourceLogSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLogSessionResponse.ProtoReflect.Descriptor instead.
func (*ResourceLogSessionResponse) GetResourceWireVersion ¶ added in v0.9.0
func (x *ResourceLogSessionResponse) GetResourceWireVersion() uint32
func (*ResourceLogSessionResponse) GetSession ¶ added in v0.9.0
func (x *ResourceLogSessionResponse) GetSession() *LogSession
func (*ResourceLogSessionResponse) ProtoMessage ¶ added in v0.9.0
func (*ResourceLogSessionResponse) ProtoMessage()
func (*ResourceLogSessionResponse) ProtoReflect ¶ added in v0.9.0
func (x *ResourceLogSessionResponse) ProtoReflect() protoreflect.Message
func (*ResourceLogSessionResponse) Reset ¶ added in v0.9.0
func (x *ResourceLogSessionResponse) Reset()
func (*ResourceLogSessionResponse) String ¶ added in v0.9.0
func (x *ResourceLogSessionResponse) String() string
type ResourceMetricStreamOutput ¶ added in v0.9.0
type ResourceMetricStreamOutput struct {
ResourceWireVersion uint32 `protobuf:"varint,1,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
// Types that are valid to be assigned to Payload:
//
// *ResourceMetricStreamOutput_Output
// *ResourceMetricStreamOutput_Ready
Payload isResourceMetricStreamOutput_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
func (*ResourceMetricStreamOutput) Descriptor
deprecated
added in
v0.9.0
func (*ResourceMetricStreamOutput) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMetricStreamOutput.ProtoReflect.Descriptor instead.
func (*ResourceMetricStreamOutput) GetOutput ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) GetOutput() *MetricStreamOutput
func (*ResourceMetricStreamOutput) GetPayload ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) GetPayload() isResourceMetricStreamOutput_Payload
func (*ResourceMetricStreamOutput) GetReady ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) GetReady() bool
func (*ResourceMetricStreamOutput) GetResourceWireVersion ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) GetResourceWireVersion() uint32
func (*ResourceMetricStreamOutput) ProtoMessage ¶ added in v0.9.0
func (*ResourceMetricStreamOutput) ProtoMessage()
func (*ResourceMetricStreamOutput) ProtoReflect ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) ProtoReflect() protoreflect.Message
func (*ResourceMetricStreamOutput) Reset ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) Reset()
func (*ResourceMetricStreamOutput) String ¶ added in v0.9.0
func (x *ResourceMetricStreamOutput) String() string
type ResourceMetricStreamOutput_Output ¶ added in v0.9.0
type ResourceMetricStreamOutput_Output struct {
Output *MetricStreamOutput `protobuf:"bytes,2,opt,name=output,proto3,oneof"`
}
type ResourceMetricStreamOutput_Ready ¶ added in v0.9.0
type ResourceMetricStreamOutput_Ready struct {
Ready bool `protobuf:"varint,3,opt,name=ready,proto3,oneof"`
}
type ResourcePortForwardSessionResponse ¶ added in v0.9.0
type ResourcePortForwardSessionResponse struct {
ResourceWireVersion uint32 `protobuf:"varint,1,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Session *PortForwardSession `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*ResourcePortForwardSessionResponse) Descriptor
deprecated
added in
v0.9.0
func (*ResourcePortForwardSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourcePortForwardSessionResponse.ProtoReflect.Descriptor instead.
func (*ResourcePortForwardSessionResponse) GetResourceWireVersion ¶ added in v0.9.0
func (x *ResourcePortForwardSessionResponse) GetResourceWireVersion() uint32
func (*ResourcePortForwardSessionResponse) GetSession ¶ added in v0.9.0
func (x *ResourcePortForwardSessionResponse) GetSession() *PortForwardSession
func (*ResourcePortForwardSessionResponse) ProtoMessage ¶ added in v0.9.0
func (*ResourcePortForwardSessionResponse) ProtoMessage()
func (*ResourcePortForwardSessionResponse) ProtoReflect ¶ added in v0.9.0
func (x *ResourcePortForwardSessionResponse) ProtoReflect() protoreflect.Message
func (*ResourcePortForwardSessionResponse) Reset ¶ added in v0.9.0
func (x *ResourcePortForwardSessionResponse) Reset()
func (*ResourcePortForwardSessionResponse) String ¶ added in v0.9.0
func (x *ResourcePortForwardSessionResponse) String() string
type ResourceQueryMetricsResponse ¶ added in v0.9.0
type ResourceQueryMetricsResponse struct {
ResourceWireVersion uint32 `protobuf:"varint,1,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Response *QueryMetricsResponse `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceQueryMetricsResponse) Descriptor
deprecated
added in
v0.9.0
func (*ResourceQueryMetricsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceQueryMetricsResponse.ProtoReflect.Descriptor instead.
func (*ResourceQueryMetricsResponse) GetResourceWireVersion ¶ added in v0.9.0
func (x *ResourceQueryMetricsResponse) GetResourceWireVersion() uint32
func (*ResourceQueryMetricsResponse) GetResponse ¶ added in v0.9.0
func (x *ResourceQueryMetricsResponse) GetResponse() *QueryMetricsResponse
func (*ResourceQueryMetricsResponse) ProtoMessage ¶ added in v0.9.0
func (*ResourceQueryMetricsResponse) ProtoMessage()
func (*ResourceQueryMetricsResponse) ProtoReflect ¶ added in v0.9.0
func (x *ResourceQueryMetricsResponse) ProtoReflect() protoreflect.Message
func (*ResourceQueryMetricsResponse) Reset ¶ added in v0.9.0
func (x *ResourceQueryMetricsResponse) Reset()
func (*ResourceQueryMetricsResponse) String ¶ added in v0.9.0
func (x *ResourceQueryMetricsResponse) String() string
type ResourceSessionResponse ¶ added in v0.9.0
type ResourceSessionResponse struct {
ResourceWireVersion uint32 `protobuf:"varint,1,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Session *Session `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceSessionResponse) Descriptor
deprecated
added in
v0.9.0
func (*ResourceSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResourceSessionResponse.ProtoReflect.Descriptor instead.
func (*ResourceSessionResponse) GetResourceWireVersion ¶ added in v0.9.0
func (x *ResourceSessionResponse) GetResourceWireVersion() uint32
func (*ResourceSessionResponse) GetSession ¶ added in v0.9.0
func (x *ResourceSessionResponse) GetSession() *Session
func (*ResourceSessionResponse) ProtoMessage ¶ added in v0.9.0
func (*ResourceSessionResponse) ProtoMessage()
func (*ResourceSessionResponse) ProtoReflect ¶ added in v0.9.0
func (x *ResourceSessionResponse) ProtoReflect() protoreflect.Message
func (*ResourceSessionResponse) Reset ¶ added in v0.9.0
func (x *ResourceSessionResponse) Reset()
func (*ResourceSessionResponse) String ¶ added in v0.9.0
func (x *ResourceSessionResponse) String() string
type RunStreamRequest ¶
type RunStreamRequest struct {
PluginContext *PluginContext `protobuf:"bytes,1,opt,name=plugin_context,json=pluginContext,proto3" json:"plugin_context,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*RunStreamRequest) Descriptor
deprecated
func (*RunStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunStreamRequest.ProtoReflect.Descriptor instead.
func (*RunStreamRequest) GetPath ¶
func (x *RunStreamRequest) GetPath() string
func (*RunStreamRequest) GetPluginContext ¶
func (x *RunStreamRequest) GetPluginContext() *PluginContext
func (*RunStreamRequest) ProtoMessage ¶
func (*RunStreamRequest) ProtoMessage()
func (*RunStreamRequest) ProtoReflect ¶
func (x *RunStreamRequest) ProtoReflect() protoreflect.Message
func (*RunStreamRequest) Reset ¶
func (x *RunStreamRequest) Reset()
func (*RunStreamRequest) String ¶
func (x *RunStreamRequest) String() string
type ServingStatus ¶ added in v0.1.1
type ServingStatus int32
const ( ServingStatus_UNKNOWN ServingStatus = 0 ServingStatus_SERVING ServingStatus = 1 ServingStatus_NOT_SERVING ServingStatus = 2 )
func (ServingStatus) Descriptor ¶ added in v0.1.1
func (ServingStatus) Descriptor() protoreflect.EnumDescriptor
func (ServingStatus) Enum ¶ added in v0.1.1
func (x ServingStatus) Enum() *ServingStatus
func (ServingStatus) EnumDescriptor
deprecated
added in
v0.1.1
func (ServingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServingStatus.Descriptor instead.
func (ServingStatus) Number ¶ added in v0.1.1
func (x ServingStatus) Number() protoreflect.EnumNumber
func (ServingStatus) String ¶ added in v0.1.1
func (x ServingStatus) String() string
func (ServingStatus) Type ¶ added in v0.1.1
func (ServingStatus) Type() protoreflect.EnumType
type Session ¶
type Session struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Attached bool `protobuf:"varint,2,opt,name=attached,proto3" json:"attached,omitempty"`
Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
Params map[string]string `` /* 139-byte string literal not displayed */
Labels map[string]string `` /* 139-byte string literal not displayed */
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*Session) Descriptor
deprecated
func (*Session) GetAttached ¶
func (*Session) GetCommand ¶
func (*Session) GetCreatedAt ¶
func (x *Session) GetCreatedAt() *timestamppb.Timestamp
func (*Session) ProtoMessage ¶
func (*Session) ProtoMessage()
func (*Session) ProtoReflect ¶
func (x *Session) ProtoReflect() protoreflect.Message
type SessionOptions ¶
type SessionOptions struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Command []string `protobuf:"bytes,2,rep,name=command,proto3" json:"command,omitempty"`
Tty bool `protobuf:"varint,3,opt,name=tty,proto3" json:"tty,omitempty"`
Params map[string]string `` /* 139-byte string literal not displayed */
Labels map[string]string `` /* 139-byte string literal not displayed */
ResourcePlugin string `protobuf:"bytes,6,opt,name=resource_plugin,json=resourcePlugin,proto3" json:"resource_plugin,omitempty"`
ResourceKey string `protobuf:"bytes,7,opt,name=resource_key,json=resourceKey,proto3" json:"resource_key,omitempty"`
ResourceData *v2.Value `protobuf:"bytes,9,opt,name=resource_data,json=resourceData,proto3" json:"resource_data,omitempty"`
ResourceWireVersion uint32 `protobuf:"varint,10,opt,name=resource_wire_version,json=resourceWireVersion,proto3" json:"resource_wire_version,omitempty"`
Reference *v2.ResourceReference `protobuf:"bytes,11,opt,name=reference,proto3" json:"reference,omitempty"`
Route *v2.AccessRoute `protobuf:"bytes,12,opt,name=route,proto3" json:"route,omitempty"`
// contains filtered or unexported fields
}
func (*SessionOptions) Descriptor
deprecated
func (*SessionOptions) Descriptor() ([]byte, []int)
Deprecated: Use SessionOptions.ProtoReflect.Descriptor instead.
func (*SessionOptions) GetCommand ¶
func (x *SessionOptions) GetCommand() []string
func (*SessionOptions) GetId ¶
func (x *SessionOptions) GetId() string
func (*SessionOptions) GetLabels ¶
func (x *SessionOptions) GetLabels() map[string]string
func (*SessionOptions) GetParams ¶
func (x *SessionOptions) GetParams() map[string]string
func (*SessionOptions) GetReference ¶ added in v0.9.0
func (x *SessionOptions) GetReference() *v2.ResourceReference
func (*SessionOptions) GetResourceData ¶
func (x *SessionOptions) GetResourceData() *v2.Value
func (*SessionOptions) GetResourceKey ¶
func (x *SessionOptions) GetResourceKey() string
func (*SessionOptions) GetResourcePlugin ¶
func (x *SessionOptions) GetResourcePlugin() string
func (*SessionOptions) GetResourceWireVersion ¶ added in v0.9.0
func (x *SessionOptions) GetResourceWireVersion() uint32
func (*SessionOptions) GetRoute ¶ added in v0.9.0
func (x *SessionOptions) GetRoute() *v2.AccessRoute
func (*SessionOptions) GetTty ¶
func (x *SessionOptions) GetTty() bool
func (*SessionOptions) ProtoMessage ¶
func (*SessionOptions) ProtoMessage()
func (*SessionOptions) ProtoReflect ¶
func (x *SessionOptions) ProtoReflect() protoreflect.Message
func (*SessionOptions) Reset ¶
func (x *SessionOptions) Reset()
func (*SessionOptions) String ¶
func (x *SessionOptions) String() string
type SetSettingRequest ¶
type SetSettingRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SetSettingRequest) Descriptor
deprecated
func (*SetSettingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSettingRequest.ProtoReflect.Descriptor instead.
func (*SetSettingRequest) GetId ¶
func (x *SetSettingRequest) GetId() string
func (*SetSettingRequest) GetValue ¶
func (x *SetSettingRequest) GetValue() *anypb.Any
func (*SetSettingRequest) ProtoMessage ¶
func (*SetSettingRequest) ProtoMessage()
func (*SetSettingRequest) ProtoReflect ¶
func (x *SetSettingRequest) ProtoReflect() protoreflect.Message
func (*SetSettingRequest) Reset ¶
func (x *SetSettingRequest) Reset()
func (*SetSettingRequest) String ¶
func (x *SetSettingRequest) String() string
type SetSettingsRequest ¶
type SetSettingsRequest struct {
Settings map[string]*anypb.Any `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SetSettingsRequest) Descriptor
deprecated
func (*SetSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSettingsRequest.ProtoReflect.Descriptor instead.
func (*SetSettingsRequest) GetSettings ¶
func (x *SetSettingsRequest) GetSettings() map[string]*anypb.Any
func (*SetSettingsRequest) ProtoMessage ¶
func (*SetSettingsRequest) ProtoMessage()
func (*SetSettingsRequest) ProtoReflect ¶
func (x *SetSettingsRequest) ProtoReflect() protoreflect.Message
func (*SetSettingsRequest) Reset ¶
func (x *SetSettingsRequest) Reset()
func (*SetSettingsRequest) String ¶
func (x *SetSettingsRequest) String() string
type Setting ¶
type Setting struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Type SettingType `protobuf:"varint,4,opt,name=type,proto3,enum=com.omniview.pluginsdk.SettingType" json:"type,omitempty"`
Value *anypb.Any `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
Default *anypb.Any `protobuf:"bytes,6,opt,name=default,proto3" json:"default,omitempty"`
Options []*SettingOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
FileSelection *SettingFileSelection `protobuf:"bytes,8,opt,name=file_selection,json=fileSelection,proto3,oneof" json:"file_selection,omitempty"`
// contains filtered or unexported fields
}
func (*Setting) Descriptor
deprecated
func (*Setting) GetDefault ¶
func (*Setting) GetDescription ¶
func (*Setting) GetFileSelection ¶
func (x *Setting) GetFileSelection() *SettingFileSelection
func (*Setting) GetOptions ¶
func (x *Setting) GetOptions() []*SettingOption
func (*Setting) GetType ¶
func (x *Setting) GetType() SettingType
func (*Setting) ProtoMessage ¶
func (*Setting) ProtoMessage()
func (*Setting) ProtoReflect ¶
func (x *Setting) ProtoReflect() protoreflect.Message
type SettingFileSelection ¶
type SettingFileSelection struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
AllowFolders bool `protobuf:"varint,2,opt,name=allow_folders,json=allowFolders,proto3" json:"allow_folders,omitempty"`
Extensions []string `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"`
Multiple bool `protobuf:"varint,4,opt,name=multiple,proto3" json:"multiple,omitempty"`
Relative bool `protobuf:"varint,5,opt,name=relative,proto3" json:"relative,omitempty"`
DefaultPath string `protobuf:"bytes,6,opt,name=default_path,json=defaultPath,proto3" json:"default_path,omitempty"`
// contains filtered or unexported fields
}
func (*SettingFileSelection) Descriptor
deprecated
func (*SettingFileSelection) Descriptor() ([]byte, []int)
Deprecated: Use SettingFileSelection.ProtoReflect.Descriptor instead.
func (*SettingFileSelection) GetAllowFolders ¶
func (x *SettingFileSelection) GetAllowFolders() bool
func (*SettingFileSelection) GetDefaultPath ¶
func (x *SettingFileSelection) GetDefaultPath() string
func (*SettingFileSelection) GetEnabled ¶
func (x *SettingFileSelection) GetEnabled() bool
func (*SettingFileSelection) GetExtensions ¶
func (x *SettingFileSelection) GetExtensions() []string
func (*SettingFileSelection) GetMultiple ¶
func (x *SettingFileSelection) GetMultiple() bool
func (*SettingFileSelection) GetRelative ¶
func (x *SettingFileSelection) GetRelative() bool
func (*SettingFileSelection) ProtoMessage ¶
func (*SettingFileSelection) ProtoMessage()
func (*SettingFileSelection) ProtoReflect ¶
func (x *SettingFileSelection) ProtoReflect() protoreflect.Message
func (*SettingFileSelection) Reset ¶
func (x *SettingFileSelection) Reset()
func (*SettingFileSelection) String ¶
func (x *SettingFileSelection) String() string
type SettingOption ¶
type SettingOption struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*SettingOption) Descriptor
deprecated
func (*SettingOption) Descriptor() ([]byte, []int)
Deprecated: Use SettingOption.ProtoReflect.Descriptor instead.
func (*SettingOption) GetDescription ¶
func (x *SettingOption) GetDescription() string
func (*SettingOption) GetLabel ¶
func (x *SettingOption) GetLabel() string
func (*SettingOption) GetValue ¶
func (x *SettingOption) GetValue() *anypb.Any
func (*SettingOption) ProtoMessage ¶
func (*SettingOption) ProtoMessage()
func (*SettingOption) ProtoReflect ¶
func (x *SettingOption) ProtoReflect() protoreflect.Message
func (*SettingOption) Reset ¶
func (x *SettingOption) Reset()
func (*SettingOption) String ¶
func (x *SettingOption) String() string
type SettingType ¶
type SettingType int32
const ( SettingType_TEXT SettingType = 0 SettingType_INTEGER SettingType = 1 SettingType_FLOAT SettingType = 2 SettingType_TOGGLE SettingType = 3 SettingType_COLOR SettingType = 4 SettingType_DATETIME SettingType = 5 SettingType_PASSWORD SettingType = 6 )
func (SettingType) Descriptor ¶
func (SettingType) Descriptor() protoreflect.EnumDescriptor
func (SettingType) Enum ¶
func (x SettingType) Enum() *SettingType
func (SettingType) EnumDescriptor
deprecated
func (SettingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SettingType.Descriptor instead.
func (SettingType) Number ¶
func (x SettingType) Number() protoreflect.EnumNumber
func (SettingType) String ¶
func (x SettingType) String() string
func (SettingType) Type ¶
func (SettingType) Type() protoreflect.EnumType
type SettingsCategory ¶
type SettingsCategory struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Icon string `protobuf:"bytes,4,opt,name=icon,proto3" json:"icon,omitempty"`
Settings map[string]*Setting `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SettingsCategory) Descriptor
deprecated
func (*SettingsCategory) Descriptor() ([]byte, []int)
Deprecated: Use SettingsCategory.ProtoReflect.Descriptor instead.
func (*SettingsCategory) GetDescription ¶
func (x *SettingsCategory) GetDescription() string
func (*SettingsCategory) GetIcon ¶
func (x *SettingsCategory) GetIcon() string
func (*SettingsCategory) GetId ¶
func (x *SettingsCategory) GetId() string
func (*SettingsCategory) GetLabel ¶
func (x *SettingsCategory) GetLabel() string
func (*SettingsCategory) GetSettings ¶
func (x *SettingsCategory) GetSettings() map[string]*Setting
func (*SettingsCategory) ProtoMessage ¶
func (*SettingsCategory) ProtoMessage()
func (*SettingsCategory) ProtoReflect ¶
func (x *SettingsCategory) ProtoReflect() protoreflect.Message
func (*SettingsCategory) Reset ¶
func (x *SettingsCategory) Reset()
func (*SettingsCategory) String ¶
func (x *SettingsCategory) String() string
type SettingsPluginClient ¶
type SettingsPluginClient interface {
ListSettings(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListSettingsResponse, error)
GetSetting(ctx context.Context, in *GetSettingRequest, opts ...grpc.CallOption) (*Setting, error)
GetSettingValue(ctx context.Context, in *GetSettingValueRequest, opts ...grpc.CallOption) (*GetSettingValueResponse, error)
SetSetting(ctx context.Context, in *SetSettingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
SetSettings(ctx context.Context, in *SetSettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
SettingsPluginClient is the client API for SettingsPlugin 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 NewSettingsPluginClient ¶
func NewSettingsPluginClient(cc grpc.ClientConnInterface) SettingsPluginClient
type SettingsPluginServer ¶
type SettingsPluginServer interface {
ListSettings(context.Context, *emptypb.Empty) (*ListSettingsResponse, error)
GetSetting(context.Context, *GetSettingRequest) (*Setting, error)
GetSettingValue(context.Context, *GetSettingValueRequest) (*GetSettingValueResponse, error)
SetSetting(context.Context, *SetSettingRequest) (*emptypb.Empty, error)
SetSettings(context.Context, *SetSettingsRequest) (*emptypb.Empty, error)
}
SettingsPluginServer is the server API for SettingsPlugin service. All implementations should embed UnimplementedSettingsPluginServer for forward compatibility
type StreamClient ¶
type StreamClient interface {
Subscribe(ctx context.Context, in *SubscribeStreamRequest, opts ...grpc.CallOption) (*SubscribeStreamResponse, error)
Run(ctx context.Context, in *RunStreamRequest, opts ...grpc.CallOption) (Stream_RunClient, error)
Publish(ctx context.Context, in *PublishStreamRequest, opts ...grpc.CallOption) (*PublishStreamResponse, error)
}
StreamClient is the client API for Stream 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 NewStreamClient ¶
func NewStreamClient(cc grpc.ClientConnInterface) StreamClient
type StreamError ¶
type StreamError struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Suggestion string `protobuf:"bytes,3,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
Retryable bool `protobuf:"varint,4,opt,name=retryable,proto3" json:"retryable,omitempty"`
RetryCommands []string `protobuf:"bytes,5,rep,name=retry_commands,json=retryCommands,proto3" json:"retry_commands,omitempty"`
// contains filtered or unexported fields
}
func (*StreamError) Descriptor
deprecated
func (*StreamError) Descriptor() ([]byte, []int)
Deprecated: Use StreamError.ProtoReflect.Descriptor instead.
func (*StreamError) GetMessage ¶
func (x *StreamError) GetMessage() string
func (*StreamError) GetRetryCommands ¶
func (x *StreamError) GetRetryCommands() []string
func (*StreamError) GetRetryable ¶
func (x *StreamError) GetRetryable() bool
func (*StreamError) GetSuggestion ¶
func (x *StreamError) GetSuggestion() string
func (*StreamError) GetTitle ¶
func (x *StreamError) GetTitle() string
func (*StreamError) ProtoMessage ¶
func (*StreamError) ProtoMessage()
func (*StreamError) ProtoReflect ¶
func (x *StreamError) ProtoReflect() protoreflect.Message
func (*StreamError) Reset ¶
func (x *StreamError) Reset()
func (*StreamError) String ¶
func (x *StreamError) String() string
type StreamInput ¶
type StreamInput struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*StreamInput) Descriptor
deprecated
func (*StreamInput) Descriptor() ([]byte, []int)
Deprecated: Use StreamInput.ProtoReflect.Descriptor instead.
func (*StreamInput) GetData ¶
func (x *StreamInput) GetData() []byte
func (*StreamInput) GetId ¶
func (x *StreamInput) GetId() string
func (*StreamInput) ProtoMessage ¶
func (*StreamInput) ProtoMessage()
func (*StreamInput) ProtoReflect ¶
func (x *StreamInput) ProtoReflect() protoreflect.Message
func (*StreamInput) Reset ¶
func (x *StreamInput) Reset()
func (*StreamInput) String ¶
func (x *StreamInput) String() string
type StreamOutput ¶
type StreamOutput struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Target StreamOutput_Target `protobuf:"varint,2,opt,name=target,proto3,enum=com.omniview.pluginsdk.StreamOutput_Target" json:"target,omitempty"`
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
Signal StreamSignal `protobuf:"varint,4,opt,name=signal,proto3,enum=com.omniview.pluginsdk.StreamSignal" json:"signal,omitempty"`
Error *StreamError `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*StreamOutput) Descriptor
deprecated
func (*StreamOutput) Descriptor() ([]byte, []int)
Deprecated: Use StreamOutput.ProtoReflect.Descriptor instead.
func (*StreamOutput) GetData ¶
func (x *StreamOutput) GetData() []byte
func (*StreamOutput) GetError ¶
func (x *StreamOutput) GetError() *StreamError
func (*StreamOutput) GetId ¶
func (x *StreamOutput) GetId() string
func (*StreamOutput) GetSignal ¶
func (x *StreamOutput) GetSignal() StreamSignal
func (*StreamOutput) GetTarget ¶
func (x *StreamOutput) GetTarget() StreamOutput_Target
func (*StreamOutput) ProtoMessage ¶
func (*StreamOutput) ProtoMessage()
func (*StreamOutput) ProtoReflect ¶
func (x *StreamOutput) ProtoReflect() protoreflect.Message
func (*StreamOutput) Reset ¶
func (x *StreamOutput) Reset()
func (*StreamOutput) String ¶
func (x *StreamOutput) String() string
type StreamOutput_Target ¶
type StreamOutput_Target int32
const ( StreamOutput_STDOUT StreamOutput_Target = 0 StreamOutput_STDERR StreamOutput_Target = 1 )
func (StreamOutput_Target) Descriptor ¶
func (StreamOutput_Target) Descriptor() protoreflect.EnumDescriptor
func (StreamOutput_Target) Enum ¶
func (x StreamOutput_Target) Enum() *StreamOutput_Target
func (StreamOutput_Target) EnumDescriptor
deprecated
func (StreamOutput_Target) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamOutput_Target.Descriptor instead.
func (StreamOutput_Target) Number ¶
func (x StreamOutput_Target) Number() protoreflect.EnumNumber
func (StreamOutput_Target) String ¶
func (x StreamOutput_Target) String() string
func (StreamOutput_Target) Type ¶
func (StreamOutput_Target) Type() protoreflect.EnumType
type StreamPacket ¶
type StreamPacket struct {
// JSON-encoded data to publish into a channel.
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*StreamPacket) Descriptor
deprecated
func (*StreamPacket) Descriptor() ([]byte, []int)
Deprecated: Use StreamPacket.ProtoReflect.Descriptor instead.
func (*StreamPacket) GetData ¶
func (x *StreamPacket) GetData() []byte
func (*StreamPacket) ProtoMessage ¶
func (*StreamPacket) ProtoMessage()
func (*StreamPacket) ProtoReflect ¶
func (x *StreamPacket) ProtoReflect() protoreflect.Message
func (*StreamPacket) Reset ¶
func (x *StreamPacket) Reset()
func (*StreamPacket) String ¶
func (x *StreamPacket) String() string
type StreamServer ¶
type StreamServer interface {
Subscribe(context.Context, *SubscribeStreamRequest) (*SubscribeStreamResponse, error)
Run(*RunStreamRequest, Stream_RunServer) error
Publish(context.Context, *PublishStreamRequest) (*PublishStreamResponse, error)
}
StreamServer is the server API for Stream service. All implementations should embed UnimplementedStreamServer for forward compatibility
type StreamSignal ¶
type StreamSignal int32
const ( StreamSignal_NONE StreamSignal = 0 StreamSignal_CLOSE StreamSignal = 1 StreamSignal_SIGINT StreamSignal = 2 StreamSignal_SIGQUIT StreamSignal = 3 StreamSignal_SIGTERM StreamSignal = 4 StreamSignal_SIGKILL StreamSignal = 5 StreamSignal_SIGHUP StreamSignal = 6 StreamSignal_SIGUSR1 StreamSignal = 7 StreamSignal_SIGUSR2 StreamSignal = 8 StreamSignal_SIGWINCH StreamSignal = 9 StreamSignal_ERROR StreamSignal = 10 )
func (StreamSignal) Descriptor ¶
func (StreamSignal) Descriptor() protoreflect.EnumDescriptor
func (StreamSignal) Enum ¶
func (x StreamSignal) Enum() *StreamSignal
func (StreamSignal) EnumDescriptor
deprecated
func (StreamSignal) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamSignal.Descriptor instead.
func (StreamSignal) Number ¶
func (x StreamSignal) Number() protoreflect.EnumNumber
func (StreamSignal) String ¶
func (x StreamSignal) String() string
func (StreamSignal) Type ¶
func (StreamSignal) Type() protoreflect.EnumType
type Stream_RunClient ¶
type Stream_RunClient interface {
Recv() (*StreamPacket, error)
grpc.ClientStream
}
type Stream_RunServer ¶
type Stream_RunServer interface {
Send(*StreamPacket) error
grpc.ServerStream
}
type StringList ¶
type StringList struct {
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*StringList) Descriptor
deprecated
func (*StringList) Descriptor() ([]byte, []int)
Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetValues ¶
func (x *StringList) GetValues() []string
func (*StringList) ProtoMessage ¶
func (*StringList) ProtoMessage()
func (*StringList) ProtoReflect ¶
func (x *StringList) ProtoReflect() protoreflect.Message
func (*StringList) Reset ¶
func (x *StringList) Reset()
func (*StringList) String ¶
func (x *StringList) String() string
type SubscribeStreamRequest ¶
type SubscribeStreamRequest struct {
PluginContext *PluginContext `protobuf:"bytes,1,opt,name=plugin_context,json=pluginContext,proto3" json:"plugin_context,omitempty"`
// path part of channel.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeStreamRequest) Descriptor
deprecated
func (*SubscribeStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeStreamRequest.ProtoReflect.Descriptor instead.
func (*SubscribeStreamRequest) GetPath ¶
func (x *SubscribeStreamRequest) GetPath() string
func (*SubscribeStreamRequest) GetPluginContext ¶
func (x *SubscribeStreamRequest) GetPluginContext() *PluginContext
func (*SubscribeStreamRequest) ProtoMessage ¶
func (*SubscribeStreamRequest) ProtoMessage()
func (*SubscribeStreamRequest) ProtoReflect ¶
func (x *SubscribeStreamRequest) ProtoReflect() protoreflect.Message
func (*SubscribeStreamRequest) Reset ¶
func (x *SubscribeStreamRequest) Reset()
func (*SubscribeStreamRequest) String ¶
func (x *SubscribeStreamRequest) String() string
type SubscribeStreamResponse ¶
type SubscribeStreamResponse struct {
// status of subscribe response.
Status SubscribeStreamResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=com.omniview.pluginsdk.SubscribeStreamResponse_Status" json:"status,omitempty"`
// JSON-encoded data to return to a client in a successful
// subscription result.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*SubscribeStreamResponse) Descriptor
deprecated
func (*SubscribeStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeStreamResponse.ProtoReflect.Descriptor instead.
func (*SubscribeStreamResponse) GetData ¶
func (x *SubscribeStreamResponse) GetData() []byte
func (*SubscribeStreamResponse) GetStatus ¶
func (x *SubscribeStreamResponse) GetStatus() SubscribeStreamResponse_Status
func (*SubscribeStreamResponse) ProtoMessage ¶
func (*SubscribeStreamResponse) ProtoMessage()
func (*SubscribeStreamResponse) ProtoReflect ¶
func (x *SubscribeStreamResponse) ProtoReflect() protoreflect.Message
func (*SubscribeStreamResponse) Reset ¶
func (x *SubscribeStreamResponse) Reset()
func (*SubscribeStreamResponse) String ¶
func (x *SubscribeStreamResponse) String() string
type SubscribeStreamResponse_Status ¶
type SubscribeStreamResponse_Status int32
const ( SubscribeStreamResponse_OK SubscribeStreamResponse_Status = 0 SubscribeStreamResponse_NOT_FOUND SubscribeStreamResponse_Status = 1 SubscribeStreamResponse_PERMISSION_DENIED SubscribeStreamResponse_Status = 2 )
func (SubscribeStreamResponse_Status) Descriptor ¶
func (SubscribeStreamResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (SubscribeStreamResponse_Status) Enum ¶
func (x SubscribeStreamResponse_Status) Enum() *SubscribeStreamResponse_Status
func (SubscribeStreamResponse_Status) EnumDescriptor
deprecated
func (SubscribeStreamResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubscribeStreamResponse_Status.Descriptor instead.
func (SubscribeStreamResponse_Status) Number ¶
func (x SubscribeStreamResponse_Status) Number() protoreflect.EnumNumber
func (SubscribeStreamResponse_Status) String ¶
func (x SubscribeStreamResponse_Status) String() string
func (SubscribeStreamResponse_Status) Type ¶
func (SubscribeStreamResponse_Status) Type() protoreflect.EnumType
type TimeSeries ¶
type TimeSeries struct {
MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
DataPoints []*DataPoint `protobuf:"bytes,2,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"`
Labels map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*TimeSeries) Descriptor
deprecated
func (*TimeSeries) Descriptor() ([]byte, []int)
Deprecated: Use TimeSeries.ProtoReflect.Descriptor instead.
func (*TimeSeries) GetDataPoints ¶
func (x *TimeSeries) GetDataPoints() []*DataPoint
func (*TimeSeries) GetLabels ¶
func (x *TimeSeries) GetLabels() map[string]string
func (*TimeSeries) GetMetricId ¶
func (x *TimeSeries) GetMetricId() string
func (*TimeSeries) ProtoMessage ¶
func (*TimeSeries) ProtoMessage()
func (*TimeSeries) ProtoReflect ¶
func (x *TimeSeries) ProtoReflect() protoreflect.Message
func (*TimeSeries) Reset ¶
func (x *TimeSeries) Reset()
func (*TimeSeries) String ¶
func (x *TimeSeries) String() string
type UnimplementedCommandServer ¶
type UnimplementedCommandServer struct {
}
UnimplementedCommandServer should be embedded to have forward compatible implementations.
func (UnimplementedCommandServer) Call ¶
func (UnimplementedCommandServer) Call(context.Context, *CallCommandRequest) (*CallCommandResponse, error)
type UnimplementedExecPluginServer ¶
type UnimplementedExecPluginServer struct {
}
UnimplementedExecPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedExecPluginServer) AttachSession ¶
func (UnimplementedExecPluginServer) AttachSession(context.Context, *AttachSessionRequest) (*AttachSessionResponse, error)
func (UnimplementedExecPluginServer) CloseSession ¶
func (UnimplementedExecPluginServer) CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error)
func (UnimplementedExecPluginServer) CreateResourceSession ¶ added in v0.9.0
func (UnimplementedExecPluginServer) CreateResourceSession(context.Context, *SessionOptions) (*ResourceSessionResponse, error)
func (UnimplementedExecPluginServer) CreateSession ¶
func (UnimplementedExecPluginServer) CreateSession(context.Context, *SessionOptions) (*CreateSessionResponse, error)
func (UnimplementedExecPluginServer) DetachSession ¶
func (UnimplementedExecPluginServer) DetachSession(context.Context, *AttachSessionRequest) (*AttachSessionResponse, error)
func (UnimplementedExecPluginServer) GetSession ¶
func (UnimplementedExecPluginServer) GetSession(context.Context, *GetSessionRequest) (*GetSessionResponse, error)
func (UnimplementedExecPluginServer) GetSupportedResources ¶
func (UnimplementedExecPluginServer) GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedResourcesResponse, error)
func (UnimplementedExecPluginServer) ListSessions ¶
func (UnimplementedExecPluginServer) ListSessions(context.Context, *emptypb.Empty) (*ListSessionsResponse, error)
func (UnimplementedExecPluginServer) ResizeSession ¶
func (UnimplementedExecPluginServer) ResizeSession(context.Context, *ResizeSessionRequest) (*ResizeSessionResponse, error)
func (UnimplementedExecPluginServer) Stream ¶
func (UnimplementedExecPluginServer) Stream(ExecPlugin_StreamServer) error
type UnimplementedLogPluginServer ¶
type UnimplementedLogPluginServer struct {
}
UnimplementedLogPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedLogPluginServer) CloseSession ¶
func (UnimplementedLogPluginServer) CloseSession(context.Context, *LogSessionByIdRequest) (*CloseLogSessionResponse, error)
func (UnimplementedLogPluginServer) CreateResourceSession ¶ added in v0.9.0
func (UnimplementedLogPluginServer) CreateResourceSession(context.Context, *CreateLogSessionRequest) (*ResourceLogSessionResponse, error)
func (UnimplementedLogPluginServer) CreateSession ¶
func (UnimplementedLogPluginServer) CreateSession(context.Context, *CreateLogSessionRequest) (*CreateLogSessionResponse, error)
func (UnimplementedLogPluginServer) GetSession ¶
func (UnimplementedLogPluginServer) GetSession(context.Context, *LogSessionByIdRequest) (*LogSessionByIdResponse, error)
func (UnimplementedLogPluginServer) GetSupportedResources ¶
func (UnimplementedLogPluginServer) GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedLogResourcesResponse, error)
func (UnimplementedLogPluginServer) ListSessions ¶
func (UnimplementedLogPluginServer) ListSessions(context.Context, *emptypb.Empty) (*ListLogSessionsResponse, error)
func (UnimplementedLogPluginServer) Stream ¶
func (UnimplementedLogPluginServer) Stream(LogPlugin_StreamServer) error
func (UnimplementedLogPluginServer) UpdateSessionOptions ¶
func (UnimplementedLogPluginServer) UpdateSessionOptions(context.Context, *UpdateLogSessionOptionsRequest) (*LogSessionByIdResponse, error)
type UnimplementedMetricPluginServer ¶
type UnimplementedMetricPluginServer struct {
}
UnimplementedMetricPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedMetricPluginServer) GetSupportedResources ¶
func (UnimplementedMetricPluginServer) GetSupportedResources(context.Context, *emptypb.Empty) (*GetSupportedMetricResourcesResponse, error)
func (UnimplementedMetricPluginServer) Query ¶
func (UnimplementedMetricPluginServer) Query(context.Context, *QueryMetricsRequest) (*QueryMetricsResponse, error)
func (UnimplementedMetricPluginServer) QueryResource ¶ added in v0.9.0
func (UnimplementedMetricPluginServer) QueryResource(context.Context, *QueryMetricsRequest) (*ResourceQueryMetricsResponse, error)
func (UnimplementedMetricPluginServer) StreamMetrics ¶
func (UnimplementedMetricPluginServer) StreamMetrics(MetricPlugin_StreamMetricsServer) error
func (UnimplementedMetricPluginServer) StreamResourceMetrics ¶ added in v0.9.0
func (UnimplementedMetricPluginServer) StreamResourceMetrics(MetricPlugin_StreamResourceMetricsServer) error
type UnimplementedNetworkerPluginServer ¶
type UnimplementedNetworkerPluginServer struct {
}
UnimplementedNetworkerPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedNetworkerPluginServer) ClosePortForwardSession ¶
func (UnimplementedNetworkerPluginServer) ClosePortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
func (UnimplementedNetworkerPluginServer) FindPortForwardSessions ¶
func (UnimplementedNetworkerPluginServer) FindPortForwardSessions(context.Context, *FindPortForwardSessionRequest) (*PortForwardSessionListResponse, error)
func (UnimplementedNetworkerPluginServer) GetPortForwardSession ¶
func (UnimplementedNetworkerPluginServer) GetPortForwardSession(context.Context, *PortForwardSessionByIdRequest) (*PortForwardSessionByIdResponse, error)
func (UnimplementedNetworkerPluginServer) GetSupportedPortForwardTargets ¶
func (UnimplementedNetworkerPluginServer) GetSupportedPortForwardTargets(context.Context, *emptypb.Empty) (*GetSupportedPortForwardTargetsResponse, error)
func (UnimplementedNetworkerPluginServer) ListPortForwardSessions ¶
func (UnimplementedNetworkerPluginServer) ListPortForwardSessions(context.Context, *emptypb.Empty) (*PortForwardSessionListResponse, error)
func (UnimplementedNetworkerPluginServer) StartPortForwardSession ¶
func (UnimplementedNetworkerPluginServer) StartPortForwardSession(context.Context, *PortForwardSessionOptions) (*PortForwardSessionByIdResponse, error)
func (UnimplementedNetworkerPluginServer) StartResourcePortForwardSession ¶ added in v0.9.0
func (UnimplementedNetworkerPluginServer) StartResourcePortForwardSession(context.Context, *PortForwardSessionOptions) (*ResourcePortForwardSessionResponse, error)
type UnimplementedPluginLifecycleServer ¶ added in v0.1.1
type UnimplementedPluginLifecycleServer struct {
}
UnimplementedPluginLifecycleServer should be embedded to have forward compatible implementations.
func (UnimplementedPluginLifecycleServer) GetCapabilities ¶ added in v0.1.1
func (UnimplementedPluginLifecycleServer) GetCapabilities(context.Context, *emptypb.Empty) (*GetCapabilitiesResponse, error)
func (UnimplementedPluginLifecycleServer) GetInfo ¶ added in v0.1.1
func (UnimplementedPluginLifecycleServer) GetInfo(context.Context, *emptypb.Empty) (*GetInfoResponse, error)
func (UnimplementedPluginLifecycleServer) HealthCheck ¶ added in v0.1.1
func (UnimplementedPluginLifecycleServer) HealthCheck(context.Context, *emptypb.Empty) (*HealthCheckResponse, error)
type UnimplementedSettingsPluginServer ¶
type UnimplementedSettingsPluginServer struct {
}
UnimplementedSettingsPluginServer should be embedded to have forward compatible implementations.
func (UnimplementedSettingsPluginServer) GetSetting ¶
func (UnimplementedSettingsPluginServer) GetSetting(context.Context, *GetSettingRequest) (*Setting, error)
func (UnimplementedSettingsPluginServer) GetSettingValue ¶
func (UnimplementedSettingsPluginServer) GetSettingValue(context.Context, *GetSettingValueRequest) (*GetSettingValueResponse, error)
func (UnimplementedSettingsPluginServer) ListSettings ¶
func (UnimplementedSettingsPluginServer) ListSettings(context.Context, *emptypb.Empty) (*ListSettingsResponse, error)
func (UnimplementedSettingsPluginServer) SetSetting ¶
func (UnimplementedSettingsPluginServer) SetSetting(context.Context, *SetSettingRequest) (*emptypb.Empty, error)
func (UnimplementedSettingsPluginServer) SetSettings ¶
func (UnimplementedSettingsPluginServer) SetSettings(context.Context, *SetSettingsRequest) (*emptypb.Empty, error)
type UnimplementedStreamServer ¶
type UnimplementedStreamServer struct {
}
UnimplementedStreamServer should be embedded to have forward compatible implementations.
func (UnimplementedStreamServer) Publish ¶
func (UnimplementedStreamServer) Publish(context.Context, *PublishStreamRequest) (*PublishStreamResponse, error)
func (UnimplementedStreamServer) Run ¶
func (UnimplementedStreamServer) Run(*RunStreamRequest, Stream_RunServer) error
func (UnimplementedStreamServer) Subscribe ¶
func (UnimplementedStreamServer) Subscribe(context.Context, *SubscribeStreamRequest) (*SubscribeStreamResponse, error)
type UnsafeCommandServer ¶
type UnsafeCommandServer interface {
// contains filtered or unexported methods
}
UnsafeCommandServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommandServer will result in compilation errors.
type UnsafeExecPluginServer ¶
type UnsafeExecPluginServer interface {
// contains filtered or unexported methods
}
UnsafeExecPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExecPluginServer will result in compilation errors.
type UnsafeLogPluginServer ¶
type UnsafeLogPluginServer interface {
// contains filtered or unexported methods
}
UnsafeLogPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LogPluginServer will result in compilation errors.
type UnsafeMetricPluginServer ¶
type UnsafeMetricPluginServer interface {
// contains filtered or unexported methods
}
UnsafeMetricPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetricPluginServer will result in compilation errors.
type UnsafeNetworkerPluginServer ¶
type UnsafeNetworkerPluginServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkerPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkerPluginServer will result in compilation errors.
type UnsafePluginLifecycleServer ¶ added in v0.1.1
type UnsafePluginLifecycleServer interface {
// contains filtered or unexported methods
}
UnsafePluginLifecycleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginLifecycleServer will result in compilation errors.
type UnsafeSettingsPluginServer ¶
type UnsafeSettingsPluginServer interface {
// contains filtered or unexported methods
}
UnsafeSettingsPluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SettingsPluginServer will result in compilation errors.
type UnsafeStreamServer ¶
type UnsafeStreamServer interface {
// contains filtered or unexported methods
}
UnsafeStreamServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamServer will result in compilation errors.
type UpdateLogSessionOptionsRequest ¶
type UpdateLogSessionOptionsRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Options *LogSessionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateLogSessionOptionsRequest) Descriptor
deprecated
func (*UpdateLogSessionOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLogSessionOptionsRequest.ProtoReflect.Descriptor instead.
func (*UpdateLogSessionOptionsRequest) GetOptions ¶
func (x *UpdateLogSessionOptionsRequest) GetOptions() *LogSessionOptions
func (*UpdateLogSessionOptionsRequest) GetSessionId ¶
func (x *UpdateLogSessionOptionsRequest) GetSessionId() string
func (*UpdateLogSessionOptionsRequest) ProtoMessage ¶
func (*UpdateLogSessionOptionsRequest) ProtoMessage()
func (*UpdateLogSessionOptionsRequest) ProtoReflect ¶
func (x *UpdateLogSessionOptionsRequest) ProtoReflect() protoreflect.Message
func (*UpdateLogSessionOptionsRequest) Reset ¶
func (x *UpdateLogSessionOptionsRequest) Reset()
func (*UpdateLogSessionOptionsRequest) String ¶
func (x *UpdateLogSessionOptionsRequest) String() string
type VisualComponentList ¶
type VisualComponentList struct {
Resource []*VisualResourceComponent `protobuf:"bytes,1,rep,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
VisualComponentList is a list of all the visual components provided by the plugin, grouped by the section they are applicable to.
func (*VisualComponentList) Descriptor
deprecated
func (*VisualComponentList) Descriptor() ([]byte, []int)
Deprecated: Use VisualComponentList.ProtoReflect.Descriptor instead.
func (*VisualComponentList) GetResource ¶
func (x *VisualComponentList) GetResource() []*VisualResourceComponent
func (*VisualComponentList) ProtoMessage ¶
func (*VisualComponentList) ProtoMessage()
func (*VisualComponentList) ProtoReflect ¶
func (x *VisualComponentList) ProtoReflect() protoreflect.Message
func (*VisualComponentList) Reset ¶
func (x *VisualComponentList) Reset()
func (*VisualComponentList) String ¶
func (x *VisualComponentList) String() string
type VisualResourceComponent ¶
type VisualResourceComponent struct {
// The unique identifier of the component.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// The plugin for which this component is applicable.
Plugin string `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
// The type of the component.
Type VisualResourceComponent_ComponentType `` /* 128-byte string literal not displayed */
// The resources for which this component is applicable.
Resources []string `protobuf:"bytes,4,rep,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
VisualResourceComponent is a visual component that can be displayed in the UI within a resource.
func (*VisualResourceComponent) Descriptor
deprecated
func (*VisualResourceComponent) Descriptor() ([]byte, []int)
Deprecated: Use VisualResourceComponent.ProtoReflect.Descriptor instead.
func (*VisualResourceComponent) GetId ¶
func (x *VisualResourceComponent) GetId() string
func (*VisualResourceComponent) GetPlugin ¶
func (x *VisualResourceComponent) GetPlugin() string
func (*VisualResourceComponent) GetResources ¶
func (x *VisualResourceComponent) GetResources() []string
func (*VisualResourceComponent) GetType ¶
func (x *VisualResourceComponent) GetType() VisualResourceComponent_ComponentType
func (*VisualResourceComponent) ProtoMessage ¶
func (*VisualResourceComponent) ProtoMessage()
func (*VisualResourceComponent) ProtoReflect ¶
func (x *VisualResourceComponent) ProtoReflect() protoreflect.Message
func (*VisualResourceComponent) Reset ¶
func (x *VisualResourceComponent) Reset()
func (*VisualResourceComponent) String ¶
func (x *VisualResourceComponent) String() string
type VisualResourceComponent_ComponentType ¶
type VisualResourceComponent_ComponentType int32
const ( VisualResourceComponent_SIDEBAR VisualResourceComponent_ComponentType = 0 VisualResourceComponent_TABLE VisualResourceComponent_ComponentType = 1 VisualResourceComponent_TABLE_ROW VisualResourceComponent_ComponentType = 2 VisualResourceComponent_TABLE_CELL VisualResourceComponent_ComponentType = 3 )
func (VisualResourceComponent_ComponentType) Descriptor ¶
func (VisualResourceComponent_ComponentType) Descriptor() protoreflect.EnumDescriptor
func (VisualResourceComponent_ComponentType) EnumDescriptor
deprecated
func (VisualResourceComponent_ComponentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VisualResourceComponent_ComponentType.Descriptor instead.
func (VisualResourceComponent_ComponentType) Number ¶
func (x VisualResourceComponent_ComponentType) Number() protoreflect.EnumNumber
func (VisualResourceComponent_ComponentType) String ¶
func (x VisualResourceComponent_ComponentType) String() string
func (VisualResourceComponent_ComponentType) Type ¶
func (VisualResourceComponent_ComponentType) Type() protoreflect.EnumType