dashboard

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_dashboard_proto protoreflect.FileDescriptor

Functions

func RegisterPluginServer

func RegisterPluginServer(s *grpc.Server, srv PluginServer)

Types

type ContentRequest

type ContentRequest struct {
	Path     string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	ClientID string `protobuf:"bytes,2,opt,name=clientID,proto3" json:"clientID,omitempty"`
	// contains filtered or unexported fields
}

func (*ContentRequest) Descriptor deprecated

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

Deprecated: Use ContentRequest.ProtoReflect.Descriptor instead.

func (*ContentRequest) GetClientID added in v0.16.0

func (x *ContentRequest) GetClientID() string

func (*ContentRequest) GetPath

func (x *ContentRequest) GetPath() string

func (*ContentRequest) ProtoMessage

func (*ContentRequest) ProtoMessage()

func (*ContentRequest) ProtoReflect added in v0.16.0

func (x *ContentRequest) ProtoReflect() protoreflect.Message

func (*ContentRequest) Reset

func (x *ContentRequest) Reset()

func (*ContentRequest) String

func (x *ContentRequest) String() string

type ContentResponse

type ContentResponse struct {
	ContentResponse []byte `protobuf:"bytes,1,opt,name=content_response,json=contentResponse,proto3" json:"content_response,omitempty"`
	// contains filtered or unexported fields
}

func (*ContentResponse) Descriptor deprecated

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

Deprecated: Use ContentResponse.ProtoReflect.Descriptor instead.

func (*ContentResponse) GetContentResponse

func (x *ContentResponse) GetContentResponse() []byte

func (*ContentResponse) ProtoMessage

func (*ContentResponse) ProtoMessage()

func (*ContentResponse) ProtoReflect added in v0.16.0

func (x *ContentResponse) ProtoReflect() protoreflect.Message

func (*ContentResponse) Reset

func (x *ContentResponse) Reset()

func (*ContentResponse) String

func (x *ContentResponse) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect added in v0.16.0

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type HandleActionRequest

type HandleActionRequest struct {
	ActionName string `protobuf:"bytes,1,opt,name=action_name,json=actionName,proto3" json:"action_name,omitempty"`
	Payload    []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	ClientID   string `protobuf:"bytes,3,opt,name=clientID,proto3" json:"clientID,omitempty"`
	// contains filtered or unexported fields
}

func (*HandleActionRequest) Descriptor deprecated

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

Deprecated: Use HandleActionRequest.ProtoReflect.Descriptor instead.

func (*HandleActionRequest) GetActionName added in v0.12.0

func (x *HandleActionRequest) GetActionName() string

func (*HandleActionRequest) GetClientID added in v0.16.0

func (x *HandleActionRequest) GetClientID() string

func (*HandleActionRequest) GetPayload

func (x *HandleActionRequest) GetPayload() []byte

func (*HandleActionRequest) ProtoMessage

func (*HandleActionRequest) ProtoMessage()

func (*HandleActionRequest) ProtoReflect added in v0.16.0

func (x *HandleActionRequest) ProtoReflect() protoreflect.Message

func (*HandleActionRequest) Reset

func (x *HandleActionRequest) Reset()

func (*HandleActionRequest) String

func (x *HandleActionRequest) String() string

type HandleActionResponse

type HandleActionResponse struct {
	// contains filtered or unexported fields
}

func (*HandleActionResponse) Descriptor deprecated

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

Deprecated: Use HandleActionResponse.ProtoReflect.Descriptor instead.

func (*HandleActionResponse) ProtoMessage

func (*HandleActionResponse) ProtoMessage()

func (*HandleActionResponse) ProtoReflect added in v0.16.0

func (x *HandleActionResponse) ProtoReflect() protoreflect.Message

func (*HandleActionResponse) Reset

func (x *HandleActionResponse) Reset()

func (*HandleActionResponse) String

func (x *HandleActionResponse) String() string
type NavigationRequest struct {
	ClientID string `protobuf:"bytes,1,opt,name=clientID,proto3" json:"clientID,omitempty"`
	// contains filtered or unexported fields
}
func (*NavigationRequest) Descriptor() ([]byte, []int)

Deprecated: Use NavigationRequest.ProtoReflect.Descriptor instead.

func (x *NavigationRequest) GetClientID() string
func (*NavigationRequest) ProtoMessage()
func (x *NavigationRequest) ProtoReflect() protoreflect.Message
func (x *NavigationRequest) Reset()
func (x *NavigationRequest) String() string
type NavigationResponse struct {
	Navigation *NavigationResponse_Navigation `protobuf:"bytes,1,opt,name=navigation,proto3" json:"navigation,omitempty"`
	// contains filtered or unexported fields
}
func (*NavigationResponse) Descriptor() ([]byte, []int)

Deprecated: Use NavigationResponse.ProtoReflect.Descriptor instead.

func (*NavigationResponse) ProtoMessage()
func (x *NavigationResponse) ProtoReflect() protoreflect.Message
func (x *NavigationResponse) Reset()
func (x *NavigationResponse) String() string
type NavigationResponse_Navigation struct {
	Title      string                           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Path       string                           `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Children   []*NavigationResponse_Navigation `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	IconName   string                           `protobuf:"bytes,4,opt,name=icon_name,json=iconName,proto3" json:"icon_name,omitempty"`
	IconSource string                           `protobuf:"bytes,5,opt,name=icon_source,json=iconSource,proto3" json:"icon_source,omitempty"`
	// contains filtered or unexported fields
}
func (*NavigationResponse_Navigation) Descriptor() ([]byte, []int)

Deprecated: Use NavigationResponse_Navigation.ProtoReflect.Descriptor instead.

func (x *NavigationResponse_Navigation) GetIconName() string
func (x *NavigationResponse_Navigation) GetIconSource() string
func (x *NavigationResponse_Navigation) GetTitle() string
func (*NavigationResponse_Navigation) ProtoMessage()
func (x *NavigationResponse_Navigation) Reset()

type ObjectRequest

type ObjectRequest struct {
	Object   []byte `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	ClientID string `protobuf:"bytes,2,opt,name=clientID,proto3" json:"clientID,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectRequest) Descriptor deprecated

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

Deprecated: Use ObjectRequest.ProtoReflect.Descriptor instead.

func (*ObjectRequest) GetClientID added in v0.16.0

func (x *ObjectRequest) GetClientID() string

func (*ObjectRequest) GetObject

func (x *ObjectRequest) GetObject() []byte

func (*ObjectRequest) ProtoMessage

func (*ObjectRequest) ProtoMessage()

func (*ObjectRequest) ProtoReflect added in v0.16.0

func (x *ObjectRequest) ProtoReflect() protoreflect.Message

func (*ObjectRequest) Reset

func (x *ObjectRequest) Reset()

func (*ObjectRequest) String

func (x *ObjectRequest) String() string

type ObjectStatusResponse

type ObjectStatusResponse struct {
	ObjectStatus []byte `protobuf:"bytes,1,opt,name=objectStatus,proto3" json:"objectStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectStatusResponse) Descriptor deprecated

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

Deprecated: Use ObjectStatusResponse.ProtoReflect.Descriptor instead.

func (*ObjectStatusResponse) GetObjectStatus

func (x *ObjectStatusResponse) GetObjectStatus() []byte

func (*ObjectStatusResponse) ProtoMessage

func (*ObjectStatusResponse) ProtoMessage()

func (*ObjectStatusResponse) ProtoReflect added in v0.16.0

func (x *ObjectStatusResponse) ProtoReflect() protoreflect.Message

func (*ObjectStatusResponse) Reset

func (x *ObjectStatusResponse) Reset()

func (*ObjectStatusResponse) String

func (x *ObjectStatusResponse) String() string

type PluginClient

type PluginClient interface {
	Content(ctx context.Context, in *ContentRequest, opts ...grpc.CallOption) (*ContentResponse, error)
	HandleAction(ctx context.Context, in *HandleActionRequest, opts ...grpc.CallOption) (*HandleActionResponse, error)
	Navigation(ctx context.Context, in *NavigationRequest, opts ...grpc.CallOption) (*NavigationResponse, error)
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	Print(ctx context.Context, in *ObjectRequest, opts ...grpc.CallOption) (*PrintResponse, error)
	ObjectStatus(ctx context.Context, in *ObjectRequest, opts ...grpc.CallOption) (*ObjectStatusResponse, error)
	PrintTab(ctx context.Context, in *ObjectRequest, opts ...grpc.CallOption) (*PrintTabResponse, error)
	WatchAdd(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (*Empty, error)
	WatchUpdate(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (*Empty, error)
	WatchDelete(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (*Empty, error)
}

PluginClient is the client API for Plugin service.

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

func NewPluginClient

func NewPluginClient(cc grpc.ClientConnInterface) PluginClient

type PrintResponse

type PrintResponse struct {
	Config []*PrintResponse_SummaryItem `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
	Status []*PrintResponse_SummaryItem `protobuf:"bytes,2,rep,name=status,proto3" json:"status,omitempty"`
	Items  []byte                       `protobuf:"bytes,3,opt,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*PrintResponse) Descriptor deprecated

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

Deprecated: Use PrintResponse.ProtoReflect.Descriptor instead.

func (*PrintResponse) GetConfig

func (x *PrintResponse) GetConfig() []*PrintResponse_SummaryItem

func (*PrintResponse) GetItems

func (x *PrintResponse) GetItems() []byte

func (*PrintResponse) GetStatus

func (x *PrintResponse) GetStatus() []*PrintResponse_SummaryItem

func (*PrintResponse) ProtoMessage

func (*PrintResponse) ProtoMessage()

func (*PrintResponse) ProtoReflect added in v0.16.0

func (x *PrintResponse) ProtoReflect() protoreflect.Message

func (*PrintResponse) Reset

func (x *PrintResponse) Reset()

func (*PrintResponse) String

func (x *PrintResponse) String() string

type PrintResponse_SummaryItem

type PrintResponse_SummaryItem struct {
	Header    string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Component []byte `protobuf:"bytes,2,opt,name=component,proto3" json:"component,omitempty"`
	// contains filtered or unexported fields
}

func (*PrintResponse_SummaryItem) Descriptor deprecated

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

Deprecated: Use PrintResponse_SummaryItem.ProtoReflect.Descriptor instead.

func (*PrintResponse_SummaryItem) GetComponent

func (x *PrintResponse_SummaryItem) GetComponent() []byte

func (*PrintResponse_SummaryItem) GetHeader

func (x *PrintResponse_SummaryItem) GetHeader() string

func (*PrintResponse_SummaryItem) ProtoMessage

func (*PrintResponse_SummaryItem) ProtoMessage()

func (*PrintResponse_SummaryItem) ProtoReflect added in v0.16.0

func (*PrintResponse_SummaryItem) Reset

func (x *PrintResponse_SummaryItem) Reset()

func (*PrintResponse_SummaryItem) String

func (x *PrintResponse_SummaryItem) String() string

type PrintTabResponse

type PrintTabResponse struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Layout []byte `protobuf:"bytes,2,opt,name=layout,proto3" json:"layout,omitempty"`
	// contains filtered or unexported fields
}

func (*PrintTabResponse) Descriptor deprecated

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

Deprecated: Use PrintTabResponse.ProtoReflect.Descriptor instead.

func (*PrintTabResponse) GetLayout

func (x *PrintTabResponse) GetLayout() []byte

func (*PrintTabResponse) GetName

func (x *PrintTabResponse) GetName() string

func (*PrintTabResponse) ProtoMessage

func (*PrintTabResponse) ProtoMessage()

func (*PrintTabResponse) ProtoReflect added in v0.16.0

func (x *PrintTabResponse) ProtoReflect() protoreflect.Message

func (*PrintTabResponse) Reset

func (x *PrintTabResponse) Reset()

func (*PrintTabResponse) String

func (x *PrintTabResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	DashboardAPIAddress string `protobuf:"bytes,1,opt,name=dashboardAPIAddress,proto3" json:"dashboardAPIAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetDashboardAPIAddress

func (x *RegisterRequest) GetDashboardAPIAddress() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect added in v0.16.0

func (x *RegisterRequest) ProtoReflect() protoreflect.Message

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	PluginName   string                         `protobuf:"bytes,1,opt,name=pluginName,proto3" json:"pluginName,omitempty"`
	Description  string                         `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Capabilities *RegisterResponse_Capabilities `protobuf:"bytes,3,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetCapabilities

func (x *RegisterResponse) GetCapabilities() *RegisterResponse_Capabilities

func (*RegisterResponse) GetDescription

func (x *RegisterResponse) GetDescription() string

func (*RegisterResponse) GetPluginName

func (x *RegisterResponse) GetPluginName() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect added in v0.16.0

func (x *RegisterResponse) ProtoReflect() protoreflect.Message

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type RegisterResponse_Capabilities

type RegisterResponse_Capabilities struct {
	SupportsPrinterConfig []*RegisterResponse_GroupVersionKind `protobuf:"bytes,1,rep,name=supportsPrinterConfig,proto3" json:"supportsPrinterConfig,omitempty"`
	SupportsPrinterStatus []*RegisterResponse_GroupVersionKind `protobuf:"bytes,2,rep,name=supportsPrinterStatus,proto3" json:"supportsPrinterStatus,omitempty"`
	SupportsPrinterItems  []*RegisterResponse_GroupVersionKind `protobuf:"bytes,3,rep,name=supportsPrinterItems,proto3" json:"supportsPrinterItems,omitempty"`
	SupportsObjectStatus  []*RegisterResponse_GroupVersionKind `protobuf:"bytes,4,rep,name=supportsObjectStatus,proto3" json:"supportsObjectStatus,omitempty"`
	SupportsTab           []*RegisterResponse_GroupVersionKind `protobuf:"bytes,5,rep,name=supportsTab,proto3" json:"supportsTab,omitempty"`
	IsModule              bool                                 `protobuf:"varint,6,opt,name=isModule,proto3" json:"isModule,omitempty"`
	ActionNames           []string                             `protobuf:"bytes,7,rep,name=action_names,json=actionNames,proto3" json:"action_names,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse_Capabilities) Descriptor deprecated

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

Deprecated: Use RegisterResponse_Capabilities.ProtoReflect.Descriptor instead.

func (*RegisterResponse_Capabilities) GetActionNames

func (x *RegisterResponse_Capabilities) GetActionNames() []string

func (*RegisterResponse_Capabilities) GetIsModule

func (x *RegisterResponse_Capabilities) GetIsModule() bool

func (*RegisterResponse_Capabilities) GetSupportsObjectStatus

func (x *RegisterResponse_Capabilities) GetSupportsObjectStatus() []*RegisterResponse_GroupVersionKind

func (*RegisterResponse_Capabilities) GetSupportsPrinterConfig

func (x *RegisterResponse_Capabilities) GetSupportsPrinterConfig() []*RegisterResponse_GroupVersionKind

func (*RegisterResponse_Capabilities) GetSupportsPrinterItems

func (x *RegisterResponse_Capabilities) GetSupportsPrinterItems() []*RegisterResponse_GroupVersionKind

func (*RegisterResponse_Capabilities) GetSupportsPrinterStatus

func (x *RegisterResponse_Capabilities) GetSupportsPrinterStatus() []*RegisterResponse_GroupVersionKind

func (*RegisterResponse_Capabilities) GetSupportsTab

func (*RegisterResponse_Capabilities) ProtoMessage

func (*RegisterResponse_Capabilities) ProtoMessage()

func (*RegisterResponse_Capabilities) ProtoReflect added in v0.16.0

func (*RegisterResponse_Capabilities) Reset

func (x *RegisterResponse_Capabilities) Reset()

func (*RegisterResponse_Capabilities) String

type RegisterResponse_GroupVersionKind

type RegisterResponse_GroupVersionKind struct {
	Group   string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Kind    string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse_GroupVersionKind) Descriptor deprecated

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

Deprecated: Use RegisterResponse_GroupVersionKind.ProtoReflect.Descriptor instead.

func (*RegisterResponse_GroupVersionKind) GetGroup

func (*RegisterResponse_GroupVersionKind) GetKind

func (*RegisterResponse_GroupVersionKind) GetVersion

func (x *RegisterResponse_GroupVersionKind) GetVersion() string

func (*RegisterResponse_GroupVersionKind) ProtoMessage

func (*RegisterResponse_GroupVersionKind) ProtoMessage()

func (*RegisterResponse_GroupVersionKind) ProtoReflect added in v0.16.0

func (*RegisterResponse_GroupVersionKind) Reset

func (*RegisterResponse_GroupVersionKind) String

type UnimplementedPluginServer

type UnimplementedPluginServer struct {
}

UnimplementedPluginServer can be embedded to have forward compatible implementations.

func (*UnimplementedPluginServer) Content

func (*UnimplementedPluginServer) HandleAction

func (*UnimplementedPluginServer) Navigation

func (*UnimplementedPluginServer) ObjectStatus

func (*UnimplementedPluginServer) Print

func (*UnimplementedPluginServer) PrintTab

func (*UnimplementedPluginServer) Register

func (*UnimplementedPluginServer) WatchAdd

func (*UnimplementedPluginServer) WatchDelete

func (*UnimplementedPluginServer) WatchUpdate

type WatchRequest

type WatchRequest struct {
	WatchID string `protobuf:"bytes,1,opt,name=watchID,proto3" json:"watchID,omitempty"`
	Object  []byte `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRequest) Descriptor deprecated

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

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) GetObject

func (x *WatchRequest) GetObject() []byte

func (*WatchRequest) GetWatchID

func (x *WatchRequest) GetWatchID() string

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect added in v0.16.0

func (x *WatchRequest) ProtoReflect() protoreflect.Message

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) String

func (x *WatchRequest) String() string

Jump to

Keyboard shortcuts

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