pluginv1

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Plugin_GetManifest_FullMethodName    = "/pluginv1.Plugin/GetManifest"
	Plugin_Connect_FullMethodName        = "/pluginv1.Plugin/Connect"
	Plugin_HealthCheck_FullMethodName    = "/pluginv1.Plugin/HealthCheck"
	Plugin_Close_FullMethodName          = "/pluginv1.Plugin/Close"
	Plugin_Invoke_FullMethodName         = "/pluginv1.Plugin/Invoke"
	Plugin_OpenStream_FullMethodName     = "/pluginv1.Plugin/OpenStream"
	Plugin_OpenChannel_FullMethodName    = "/pluginv1.Plugin/OpenChannel"
	Plugin_ResizeChannel_FullMethodName  = "/pluginv1.Plugin/ResizeChannel"
	Plugin_ServeHTTPProxy_FullMethodName = "/pluginv1.Plugin/ServeHTTPProxy"
)
View Source
const (
	Host_DialTarget_FullMethodName        = "/pluginv1.Host/DialTarget"
	Host_HTTPProxyEndpoint_FullMethodName = "/pluginv1.Host/HTTPProxyEndpoint"
	Host_OpenHTTPConn_FullMethodName      = "/pluginv1.Host/OpenHTTPConn"
	Host_Audit_FullMethodName             = "/pluginv1.Host/Audit"
	Host_StorageGet_FullMethodName        = "/pluginv1.Host/StorageGet"
	Host_StoragePut_FullMethodName        = "/pluginv1.Host/StoragePut"
	Host_StorageDelete_FullMethodName     = "/pluginv1.Host/StorageDelete"
	Host_StorageList_FullMethodName       = "/pluginv1.Host/StorageList"
)
View Source
const (
	Conn_Pipe_FullMethodName = "/pluginv1.Conn/Pipe"
)

Variables

View Source
var Conn_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pluginv1.Conn",
	HandlerType: (*ConnServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Pipe",
			Handler:       _Conn_Pipe_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "pluginv1/plugin.proto",
}

Conn_ServiceDesc is the grpc.ServiceDesc for Conn service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_pluginv1_plugin_proto protoreflect.FileDescriptor
View Source
var Host_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pluginv1.Host",
	HandlerType: (*HostServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DialTarget",
			Handler:    _Host_DialTarget_Handler,
		},
		{
			MethodName: "HTTPProxyEndpoint",
			Handler:    _Host_HTTPProxyEndpoint_Handler,
		},
		{
			MethodName: "OpenHTTPConn",
			Handler:    _Host_OpenHTTPConn_Handler,
		},
		{
			MethodName: "Audit",
			Handler:    _Host_Audit_Handler,
		},
		{
			MethodName: "StorageGet",
			Handler:    _Host_StorageGet_Handler,
		},
		{
			MethodName: "StoragePut",
			Handler:    _Host_StoragePut_Handler,
		},
		{
			MethodName: "StorageDelete",
			Handler:    _Host_StorageDelete_Handler,
		},
		{
			MethodName: "StorageList",
			Handler:    _Host_StorageList_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pluginv1/plugin.proto",
}

Host_ServiceDesc is the grpc.ServiceDesc for Host service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Plugin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pluginv1.Plugin",
	HandlerType: (*PluginServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetManifest",
			Handler:    _Plugin_GetManifest_Handler,
		},
		{
			MethodName: "Connect",
			Handler:    _Plugin_Connect_Handler,
		},
		{
			MethodName: "HealthCheck",
			Handler:    _Plugin_HealthCheck_Handler,
		},
		{
			MethodName: "Close",
			Handler:    _Plugin_Close_Handler,
		},
		{
			MethodName: "Invoke",
			Handler:    _Plugin_Invoke_Handler,
		},
		{
			MethodName: "OpenStream",
			Handler:    _Plugin_OpenStream_Handler,
		},
		{
			MethodName: "OpenChannel",
			Handler:    _Plugin_OpenChannel_Handler,
		},
		{
			MethodName: "ResizeChannel",
			Handler:    _Plugin_ResizeChannel_Handler,
		},
		{
			MethodName: "ServeHTTPProxy",
			Handler:    _Plugin_ServeHTTPProxy_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pluginv1/plugin.proto",
}

Plugin_ServiceDesc is the grpc.ServiceDesc for Plugin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterConnServer

func RegisterConnServer(s grpc.ServiceRegistrar, srv ConnServer)

func RegisterHostServer

func RegisterHostServer(s grpc.ServiceRegistrar, srv HostServer)

func RegisterPluginServer

func RegisterPluginServer(s grpc.ServiceRegistrar, srv PluginServer)

Types

type ActingUser

type ActingUser struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Username    string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	DisplayName string   `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	Roles       []string `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"`
	// contains filtered or unexported fields
}

ActingUser is the lean identity for handler context; authorization is already enforced by the core before any call reaches the plugin.

func (*ActingUser) Descriptor deprecated

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

Deprecated: Use ActingUser.ProtoReflect.Descriptor instead.

func (*ActingUser) GetDisplayName

func (x *ActingUser) GetDisplayName() string

func (*ActingUser) GetId

func (x *ActingUser) GetId() string

func (*ActingUser) GetRoles

func (x *ActingUser) GetRoles() []string

func (*ActingUser) GetUsername

func (x *ActingUser) GetUsername() string

func (*ActingUser) ProtoMessage

func (*ActingUser) ProtoMessage()

func (*ActingUser) ProtoReflect

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

func (*ActingUser) Reset

func (x *ActingUser) Reset()

func (*ActingUser) String

func (x *ActingUser) String() string

type AuditRecord

type AuditRecord struct {
	SessionId string            `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Result    string            `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` // "allowed" | "denied" | "error"
	Params    map[string]string ``                                                                  /* 139-byte string literal not displayed */
	Error     string            `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditRecord) Descriptor deprecated

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

Deprecated: Use AuditRecord.ProtoReflect.Descriptor instead.

func (*AuditRecord) GetError

func (x *AuditRecord) GetError() string

func (*AuditRecord) GetParams

func (x *AuditRecord) GetParams() map[string]string

func (*AuditRecord) GetResult

func (x *AuditRecord) GetResult() string

func (*AuditRecord) GetSessionId

func (x *AuditRecord) GetSessionId() string

func (*AuditRecord) ProtoMessage

func (*AuditRecord) ProtoMessage()

func (*AuditRecord) ProtoReflect

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

func (*AuditRecord) Reset

func (x *AuditRecord) Reset()

func (*AuditRecord) String

func (x *AuditRecord) String() string

type BrokerRef

type BrokerRef struct {
	BrokerId uint32 `protobuf:"varint,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
	// contains filtered or unexported fields
}

BrokerRef names a raw net.Conn established over the go-plugin GRPCBroker.

func (*BrokerRef) Descriptor deprecated

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

Deprecated: Use BrokerRef.ProtoReflect.Descriptor instead.

func (*BrokerRef) GetBrokerId

func (x *BrokerRef) GetBrokerId() uint32

func (*BrokerRef) ProtoMessage

func (*BrokerRef) ProtoMessage()

func (*BrokerRef) ProtoReflect

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

func (*BrokerRef) Reset

func (x *BrokerRef) Reset()

func (*BrokerRef) String

func (x *BrokerRef) String() string

type ChannelInfo added in v0.1.1

type ChannelInfo struct {
	BrokerId   uint32 `protobuf:"varint,1,opt,name=broker_id,json=brokerId,proto3" json:"broker_id,omitempty"`
	ChannelId  string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // handle for control RPCs (resize)
	Resizable  bool   `protobuf:"varint,3,opt,name=resizable,proto3" json:"resizable,omitempty"`
	ServerInit []byte `protobuf:"bytes,4,opt,name=server_init,json=serverInit,proto3" json:"server_init,omitempty"` // present iff the channel exposes a desktop init blob
	// contains filtered or unexported fields
}

ChannelInfo describes one opened channel: the brokered conn that carries its bytes plus the optional capabilities the host-side wrapper re-exposes.

func (*ChannelInfo) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ChannelInfo.ProtoReflect.Descriptor instead.

func (*ChannelInfo) GetBrokerId added in v0.1.1

func (x *ChannelInfo) GetBrokerId() uint32

func (*ChannelInfo) GetChannelId added in v0.1.1

func (x *ChannelInfo) GetChannelId() string

func (*ChannelInfo) GetResizable added in v0.1.1

func (x *ChannelInfo) GetResizable() bool

func (*ChannelInfo) GetServerInit added in v0.1.1

func (x *ChannelInfo) GetServerInit() []byte

func (*ChannelInfo) ProtoMessage added in v0.1.1

func (*ChannelInfo) ProtoMessage()

func (*ChannelInfo) ProtoReflect added in v0.1.1

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

func (*ChannelInfo) Reset added in v0.1.1

func (x *ChannelInfo) Reset()

func (*ChannelInfo) String added in v0.1.1

func (x *ChannelInfo) String() string

type ChannelRequest

type ChannelRequest struct {
	SessionId string            `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Kind      string            `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Params    map[string]string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ChannelRequest) Descriptor deprecated

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

Deprecated: Use ChannelRequest.ProtoReflect.Descriptor instead.

func (*ChannelRequest) GetKind

func (x *ChannelRequest) GetKind() string

func (*ChannelRequest) GetParams

func (x *ChannelRequest) GetParams() map[string]string

func (*ChannelRequest) GetSessionId

func (x *ChannelRequest) GetSessionId() string

func (*ChannelRequest) ProtoMessage

func (*ChannelRequest) ProtoMessage()

func (*ChannelRequest) ProtoReflect

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

func (*ChannelRequest) Reset

func (x *ChannelRequest) Reset()

func (*ChannelRequest) String

func (x *ChannelRequest) String() string

type ChannelResize added in v0.1.1

type ChannelResize struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	Cols      int32  `protobuf:"varint,3,opt,name=cols,proto3" json:"cols,omitempty"`
	Rows      int32  `protobuf:"varint,4,opt,name=rows,proto3" json:"rows,omitempty"`
	// contains filtered or unexported fields
}

func (*ChannelResize) Descriptor deprecated added in v0.1.1

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

Deprecated: Use ChannelResize.ProtoReflect.Descriptor instead.

func (*ChannelResize) GetChannelId added in v0.1.1

func (x *ChannelResize) GetChannelId() string

func (*ChannelResize) GetCols added in v0.1.1

func (x *ChannelResize) GetCols() int32

func (*ChannelResize) GetRows added in v0.1.1

func (x *ChannelResize) GetRows() int32

func (*ChannelResize) GetSessionId added in v0.1.1

func (x *ChannelResize) GetSessionId() string

func (*ChannelResize) ProtoMessage added in v0.1.1

func (*ChannelResize) ProtoMessage()

func (*ChannelResize) ProtoReflect added in v0.1.1

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

func (*ChannelResize) Reset added in v0.1.1

func (x *ChannelResize) Reset()

func (*ChannelResize) String added in v0.1.1

func (x *ChannelResize) String() string

type Chunk

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

func (*Chunk) Descriptor deprecated

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

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetData

func (x *Chunk) GetData() []byte

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

type ConnClient

type ConnClient interface {
	Pipe(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[Chunk, Chunk], error)
}

ConnClient is the client API for Conn 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.

Conn is a raw byte stream bridged over the GRPCBroker. The side holding the real net.Conn serves it; the other end wraps the stream as a net.Conn.

func NewConnClient

func NewConnClient(cc grpc.ClientConnInterface) ConnClient

type ConnServer

type ConnServer interface {
	Pipe(grpc.BidiStreamingServer[Chunk, Chunk]) error
	// contains filtered or unexported methods
}

ConnServer is the server API for Conn service. All implementations must embed UnimplementedConnServer for forward compatibility.

Conn is a raw byte stream bridged over the GRPCBroker. The side holding the real net.Conn serves it; the other end wraps the stream as a net.Conn.

type Conn_PipeClient

type Conn_PipeClient = grpc.BidiStreamingClient[Chunk, Chunk]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Conn_PipeServer

type Conn_PipeServer = grpc.BidiStreamingServer[Chunk, Chunk]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ConnectRequest

type ConnectRequest struct {
	ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Transport    string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"`                              // "direct" | "agent"
	ConfigJson   []byte `protobuf:"bytes,3,opt,name=config_json,json=configJson,proto3" json:"config_json,omitempty"`          // decrypted config map, JSON-encoded
	HostBrokerId uint32 `protobuf:"varint,4,opt,name=host_broker_id,json=hostBrokerId,proto3" json:"host_broker_id,omitempty"` // brokered id of the per-connection Host service (0 = none)
	// contains filtered or unexported fields
}

func (*ConnectRequest) Descriptor deprecated

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

Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead.

func (*ConnectRequest) GetConfigJson

func (x *ConnectRequest) GetConfigJson() []byte

func (*ConnectRequest) GetConnectionId

func (x *ConnectRequest) GetConnectionId() string

func (*ConnectRequest) GetHostBrokerId

func (x *ConnectRequest) GetHostBrokerId() uint32

func (*ConnectRequest) GetTransport

func (x *ConnectRequest) GetTransport() string

func (*ConnectRequest) ProtoMessage

func (*ConnectRequest) ProtoMessage()

func (*ConnectRequest) ProtoReflect

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

func (*ConnectRequest) Reset

func (x *ConnectRequest) Reset()

func (*ConnectRequest) String

func (x *ConnectRequest) String() string

type DialRequest

type DialRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Network   string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` // "tcp" | "unix"
	Address   string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*DialRequest) Descriptor deprecated

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

Deprecated: Use DialRequest.ProtoReflect.Descriptor instead.

func (*DialRequest) GetAddress

func (x *DialRequest) GetAddress() string

func (*DialRequest) GetNetwork

func (x *DialRequest) GetNetwork() string

func (*DialRequest) GetSessionId

func (x *DialRequest) GetSessionId() string

func (*DialRequest) ProtoMessage

func (*DialRequest) ProtoMessage()

func (*DialRequest) ProtoReflect

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

func (*DialRequest) Reset

func (x *DialRequest) Reset()

func (*DialRequest) String

func (x *DialRequest) String() string

type DownloadResponse added in v0.1.7

type DownloadResponse struct {
	Name            string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Mime            string `protobuf:"bytes,2,opt,name=mime,proto3" json:"mime,omitempty"`
	Size            int64  `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	ModTimeUnixNano int64  `protobuf:"varint,4,opt,name=mod_time_unix_nano,json=modTimeUnixNano,proto3" json:"mod_time_unix_nano,omitempty"`
	Inline          bool   `protobuf:"varint,5,opt,name=inline,proto3" json:"inline,omitempty"`
	Body            []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*DownloadResponse) Descriptor deprecated added in v0.1.7

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

Deprecated: Use DownloadResponse.ProtoReflect.Descriptor instead.

func (*DownloadResponse) GetBody added in v0.1.7

func (x *DownloadResponse) GetBody() []byte

func (*DownloadResponse) GetInline added in v0.1.7

func (x *DownloadResponse) GetInline() bool

func (*DownloadResponse) GetMime added in v0.1.7

func (x *DownloadResponse) GetMime() string

func (*DownloadResponse) GetModTimeUnixNano added in v0.1.7

func (x *DownloadResponse) GetModTimeUnixNano() int64

func (*DownloadResponse) GetName added in v0.1.7

func (x *DownloadResponse) GetName() string

func (*DownloadResponse) GetSize added in v0.1.7

func (x *DownloadResponse) GetSize() int64

func (*DownloadResponse) ProtoMessage added in v0.1.7

func (*DownloadResponse) ProtoMessage()

func (*DownloadResponse) ProtoReflect added in v0.1.7

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

func (*DownloadResponse) Reset added in v0.1.7

func (x *DownloadResponse) Reset()

func (*DownloadResponse) String added in v0.1.7

func (x *DownloadResponse) 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

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type HostClient

type HostClient interface {
	// DialTarget dials a target through the connection's transport (direct or the
	// agent tunnel) and returns a raw brokered conn (L4 egress).
	DialTarget(ctx context.Context, in *DialRequest, opts ...grpc.CallOption) (*BrokerRef, error)
	// HTTPProxyEndpoint returns the base URL the plugin's http.Client targets for
	// L7 egress (set only when the connection has an L7 transport).
	HTTPProxyEndpoint(ctx context.Context, in *SessionHandle, opts ...grpc.CallOption) (*ProxyEndpoint, error)
	// OpenHTTPConn brokers one connection to the core's L7 reverse proxy; the
	// plugin's http.Transport dials it per HTTP connection.
	OpenHTTPConn(ctx context.Context, in *SessionHandle, opts ...grpc.CallOption) (*BrokerRef, error)
	// Audit records one stream-internal operation against the core audit log.
	Audit(ctx context.Context, in *AuditRecord, opts ...grpc.CallOption) (*Empty, error)
	// Storage persists plugin-owned platform objects through the core.
	StorageGet(ctx context.Context, in *StorageGetRequest, opts ...grpc.CallOption) (*StorageItem, error)
	StoragePut(ctx context.Context, in *StoragePutRequest, opts ...grpc.CallOption) (*StorageItem, error)
	StorageDelete(ctx context.Context, in *StorageDeleteRequest, opts ...grpc.CallOption) (*Empty, error)
	StorageList(ctx context.Context, in *StorageListRequest, opts ...grpc.CallOption) (*StorageListResponse, error)
}

HostClient is the client API for Host 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.

Host is served by the core; the plugin SDK calls it. Network egress and audit stay in the core so the gateway remains the single gatekeeper.

func NewHostClient

func NewHostClient(cc grpc.ClientConnInterface) HostClient

type HostServer

type HostServer interface {
	// DialTarget dials a target through the connection's transport (direct or the
	// agent tunnel) and returns a raw brokered conn (L4 egress).
	DialTarget(context.Context, *DialRequest) (*BrokerRef, error)
	// HTTPProxyEndpoint returns the base URL the plugin's http.Client targets for
	// L7 egress (set only when the connection has an L7 transport).
	HTTPProxyEndpoint(context.Context, *SessionHandle) (*ProxyEndpoint, error)
	// OpenHTTPConn brokers one connection to the core's L7 reverse proxy; the
	// plugin's http.Transport dials it per HTTP connection.
	OpenHTTPConn(context.Context, *SessionHandle) (*BrokerRef, error)
	// Audit records one stream-internal operation against the core audit log.
	Audit(context.Context, *AuditRecord) (*Empty, error)
	// Storage persists plugin-owned platform objects through the core.
	StorageGet(context.Context, *StorageGetRequest) (*StorageItem, error)
	StoragePut(context.Context, *StoragePutRequest) (*StorageItem, error)
	StorageDelete(context.Context, *StorageDeleteRequest) (*Empty, error)
	StorageList(context.Context, *StorageListRequest) (*StorageListResponse, error)
	// contains filtered or unexported methods
}

HostServer is the server API for Host service. All implementations must embed UnimplementedHostServer for forward compatibility.

Host is served by the core; the plugin SDK calls it. Network egress and audit stay in the core so the gateway remains the single gatekeeper.

type InvokeRequest

type InvokeRequest struct {
	SessionId   string            `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RouteId     string            `protobuf:"bytes,2,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"` // stable handle; the core owns permission/risk/audit
	Params      map[string]string ``                                                                                   /* 139-byte string literal not displayed */
	Query       map[string]string ``                                                                                   /* 137-byte string literal not displayed */
	Body        []byte            `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	User        *ActingUser       `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	ProxyPrefix string            `protobuf:"bytes,7,opt,name=proxy_prefix,json=proxyPrefix,proto3" json:"proxy_prefix,omitempty"` // the connection's public proxy mount
	// contains filtered or unexported fields
}

func (*InvokeRequest) Descriptor deprecated

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

Deprecated: Use InvokeRequest.ProtoReflect.Descriptor instead.

func (*InvokeRequest) GetBody

func (x *InvokeRequest) GetBody() []byte

func (*InvokeRequest) GetParams

func (x *InvokeRequest) GetParams() map[string]string

func (*InvokeRequest) GetProxyPrefix added in v0.1.3

func (x *InvokeRequest) GetProxyPrefix() string

func (*InvokeRequest) GetQuery

func (x *InvokeRequest) GetQuery() map[string]string

func (*InvokeRequest) GetRouteId

func (x *InvokeRequest) GetRouteId() string

func (*InvokeRequest) GetSessionId

func (x *InvokeRequest) GetSessionId() string

func (*InvokeRequest) GetUser

func (x *InvokeRequest) GetUser() *ActingUser

func (*InvokeRequest) ProtoMessage

func (*InvokeRequest) ProtoMessage()

func (*InvokeRequest) ProtoReflect

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

func (*InvokeRequest) Reset

func (x *InvokeRequest) Reset()

func (*InvokeRequest) String

func (x *InvokeRequest) String() string

type InvokeResponse

type InvokeResponse struct {
	ResultJson []byte            `protobuf:"bytes,1,opt,name=result_json,json=resultJson,proto3" json:"result_json,omitempty"`
	Download   *DownloadResponse `protobuf:"bytes,2,opt,name=download,proto3" json:"download,omitempty"`
	// contains filtered or unexported fields
}

func (*InvokeResponse) Descriptor deprecated

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

Deprecated: Use InvokeResponse.ProtoReflect.Descriptor instead.

func (*InvokeResponse) GetDownload added in v0.1.7

func (x *InvokeResponse) GetDownload() *DownloadResponse

func (*InvokeResponse) GetResultJson

func (x *InvokeResponse) GetResultJson() []byte

func (*InvokeResponse) ProtoMessage

func (*InvokeResponse) ProtoMessage()

func (*InvokeResponse) ProtoReflect

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

func (*InvokeResponse) Reset

func (x *InvokeResponse) Reset()

func (*InvokeResponse) String

func (x *InvokeResponse) String() string

type Manifest

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

Manifest carries the JSON-encoded sdk/plugin manifest plus route metadata. The contract is owned by the Go types in sdk/plugin and never duplicated here.

func (*Manifest) Descriptor deprecated

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

Deprecated: Use Manifest.ProtoReflect.Descriptor instead.

func (*Manifest) GetJson

func (x *Manifest) GetJson() []byte

func (*Manifest) ProtoMessage

func (*Manifest) ProtoMessage()

func (*Manifest) ProtoReflect

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

func (*Manifest) Reset

func (x *Manifest) Reset()

func (*Manifest) String

func (x *Manifest) String() string

type PluginClient

type PluginClient interface {
	GetManifest(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Manifest, error)
	Connect(ctx context.Context, in *ConnectRequest, opts ...grpc.CallOption) (*SessionHandle, error)
	HealthCheck(ctx context.Context, in *SessionHandle, opts ...grpc.CallOption) (*Empty, error)
	Close(ctx context.Context, in *SessionHandle, opts ...grpc.CallOption) (*Empty, error)
	// Invoke runs one non-streaming route; result_json is the handler's value.
	Invoke(ctx context.Context, in *InvokeRequest, opts ...grpc.CallOption) (*InvokeResponse, error)
	// OpenStream is the control plane of a streaming route (terminal, exec, logs,
	// results); its data plane is a raw brokered conn named by the returned
	// broker_id. Every WS route is bidirectional in the contract.
	OpenStream(ctx context.Context, in *StreamStart, opts ...grpc.CallOption) (*BrokerRef, error)
	// OpenChannel opens a tracked upstream Channel as a raw brokered conn. The
	// returned info also declares the channel's optional capabilities (resize, a
	// desktop server-init blob) so the host-side wrapper keeps parity with an
	// in-process Channel.
	OpenChannel(ctx context.Context, in *ChannelRequest, opts ...grpc.CallOption) (*ChannelInfo, error)
	// ResizeChannel forwards a terminal resize to an open channel that declared
	// resizable.
	ResizeChannel(ctx context.Context, in *ChannelResize, opts ...grpc.CallOption) (*Empty, error)
	// ServeHTTPProxy lets the plugin serve a reverse-proxied browser request over
	// a raw brokered conn (redirects, assets, and WebSocket upgrades included).
	ServeHTTPProxy(ctx context.Context, in *ProxyRequest, opts ...grpc.CallOption) (*BrokerRef, error)
}

PluginClient is the client API for Plugin 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.

Plugin is served by the out-of-process plugin subprocess; the core calls it. Byte-stream capabilities (terminals, channels, the HTTP proxy, target dials) ride raw brokered net.Conns referenced by broker_id, not per-frame RPCs.

func NewPluginClient

func NewPluginClient(cc grpc.ClientConnInterface) PluginClient

type PluginServer

type PluginServer interface {
	GetManifest(context.Context, *Empty) (*Manifest, error)
	Connect(context.Context, *ConnectRequest) (*SessionHandle, error)
	HealthCheck(context.Context, *SessionHandle) (*Empty, error)
	Close(context.Context, *SessionHandle) (*Empty, error)
	// Invoke runs one non-streaming route; result_json is the handler's value.
	Invoke(context.Context, *InvokeRequest) (*InvokeResponse, error)
	// OpenStream is the control plane of a streaming route (terminal, exec, logs,
	// results); its data plane is a raw brokered conn named by the returned
	// broker_id. Every WS route is bidirectional in the contract.
	OpenStream(context.Context, *StreamStart) (*BrokerRef, error)
	// OpenChannel opens a tracked upstream Channel as a raw brokered conn. The
	// returned info also declares the channel's optional capabilities (resize, a
	// desktop server-init blob) so the host-side wrapper keeps parity with an
	// in-process Channel.
	OpenChannel(context.Context, *ChannelRequest) (*ChannelInfo, error)
	// ResizeChannel forwards a terminal resize to an open channel that declared
	// resizable.
	ResizeChannel(context.Context, *ChannelResize) (*Empty, error)
	// ServeHTTPProxy lets the plugin serve a reverse-proxied browser request over
	// a raw brokered conn (redirects, assets, and WebSocket upgrades included).
	ServeHTTPProxy(context.Context, *ProxyRequest) (*BrokerRef, error)
	// contains filtered or unexported methods
}

PluginServer is the server API for Plugin service. All implementations must embed UnimplementedPluginServer for forward compatibility.

Plugin is served by the out-of-process plugin subprocess; the core calls it. Byte-stream capabilities (terminals, channels, the HTTP proxy, target dials) ride raw brokered net.Conns referenced by broker_id, not per-frame RPCs.

type ProxyEndpoint

type ProxyEndpoint struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`                // core forward-proxy address the plugin dials
	BaseUrl string `protobuf:"bytes,2,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"` // upstream base URL the plugin's client targets
	// contains filtered or unexported fields
}

func (*ProxyEndpoint) Descriptor deprecated

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

Deprecated: Use ProxyEndpoint.ProtoReflect.Descriptor instead.

func (*ProxyEndpoint) GetAddress

func (x *ProxyEndpoint) GetAddress() string

func (*ProxyEndpoint) GetBaseUrl

func (x *ProxyEndpoint) GetBaseUrl() string

func (*ProxyEndpoint) ProtoMessage

func (*ProxyEndpoint) ProtoMessage()

func (*ProxyEndpoint) ProtoReflect

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

func (*ProxyEndpoint) Reset

func (x *ProxyEndpoint) Reset()

func (*ProxyEndpoint) String

func (x *ProxyEndpoint) String() string

type ProxyRequest

type ProxyRequest struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	Path      string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // route-prefix-stripped target path
	// contains filtered or unexported fields
}

func (*ProxyRequest) Descriptor deprecated

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

Deprecated: Use ProxyRequest.ProtoReflect.Descriptor instead.

func (*ProxyRequest) GetPath

func (x *ProxyRequest) GetPath() string

func (*ProxyRequest) GetSessionId

func (x *ProxyRequest) GetSessionId() string

func (*ProxyRequest) ProtoMessage

func (*ProxyRequest) ProtoMessage()

func (*ProxyRequest) ProtoReflect

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

func (*ProxyRequest) Reset

func (x *ProxyRequest) Reset()

func (*ProxyRequest) String

func (x *ProxyRequest) String() string

type SessionHandle

type SessionHandle struct {
	SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionHandle) Descriptor deprecated

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

Deprecated: Use SessionHandle.ProtoReflect.Descriptor instead.

func (*SessionHandle) GetSessionId

func (x *SessionHandle) GetSessionId() string

func (*SessionHandle) ProtoMessage

func (*SessionHandle) ProtoMessage()

func (*SessionHandle) ProtoReflect

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

func (*SessionHandle) Reset

func (x *SessionHandle) Reset()

func (*SessionHandle) String

func (x *SessionHandle) String() string

type StorageDeleteRequest added in v0.1.6

type StorageDeleteRequest struct {
	Scope *StorageScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Key   string        `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageDeleteRequest) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StorageDeleteRequest.ProtoReflect.Descriptor instead.

func (*StorageDeleteRequest) GetKey added in v0.1.6

func (x *StorageDeleteRequest) GetKey() string

func (*StorageDeleteRequest) GetScope added in v0.1.6

func (x *StorageDeleteRequest) GetScope() *StorageScope

func (*StorageDeleteRequest) ProtoMessage added in v0.1.6

func (*StorageDeleteRequest) ProtoMessage()

func (*StorageDeleteRequest) ProtoReflect added in v0.1.6

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

func (*StorageDeleteRequest) Reset added in v0.1.6

func (x *StorageDeleteRequest) Reset()

func (*StorageDeleteRequest) String added in v0.1.6

func (x *StorageDeleteRequest) String() string

type StorageGetRequest added in v0.1.6

type StorageGetRequest struct {
	Scope *StorageScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Key   string        `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageGetRequest) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StorageGetRequest.ProtoReflect.Descriptor instead.

func (*StorageGetRequest) GetKey added in v0.1.6

func (x *StorageGetRequest) GetKey() string

func (*StorageGetRequest) GetScope added in v0.1.6

func (x *StorageGetRequest) GetScope() *StorageScope

func (*StorageGetRequest) ProtoMessage added in v0.1.6

func (*StorageGetRequest) ProtoMessage()

func (*StorageGetRequest) ProtoReflect added in v0.1.6

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

func (*StorageGetRequest) Reset added in v0.1.6

func (x *StorageGetRequest) Reset()

func (*StorageGetRequest) String added in v0.1.6

func (x *StorageGetRequest) String() string

type StorageItem added in v0.1.6

type StorageItem struct {
	Key               string            `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value             []byte            `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ContentType       string            `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	Metadata          map[string]string `` /* 143-byte string literal not displayed */
	CreatedAtUnixNano int64             `protobuf:"varint,5,opt,name=created_at_unix_nano,json=createdAtUnixNano,proto3" json:"created_at_unix_nano,omitempty"`
	UpdatedAtUnixNano int64             `protobuf:"varint,6,opt,name=updated_at_unix_nano,json=updatedAtUnixNano,proto3" json:"updated_at_unix_nano,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageItem) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StorageItem.ProtoReflect.Descriptor instead.

func (*StorageItem) GetContentType added in v0.1.6

func (x *StorageItem) GetContentType() string

func (*StorageItem) GetCreatedAtUnixNano added in v0.1.6

func (x *StorageItem) GetCreatedAtUnixNano() int64

func (*StorageItem) GetKey added in v0.1.6

func (x *StorageItem) GetKey() string

func (*StorageItem) GetMetadata added in v0.1.6

func (x *StorageItem) GetMetadata() map[string]string

func (*StorageItem) GetUpdatedAtUnixNano added in v0.1.6

func (x *StorageItem) GetUpdatedAtUnixNano() int64

func (*StorageItem) GetValue added in v0.1.6

func (x *StorageItem) GetValue() []byte

func (*StorageItem) ProtoMessage added in v0.1.6

func (*StorageItem) ProtoMessage()

func (*StorageItem) ProtoReflect added in v0.1.6

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

func (*StorageItem) Reset added in v0.1.6

func (x *StorageItem) Reset()

func (*StorageItem) String added in v0.1.6

func (x *StorageItem) String() string

type StorageListFilter added in v0.1.8

type StorageListFilter struct {
	Keys                  []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	KeyPrefix             string   `protobuf:"bytes,2,opt,name=key_prefix,json=keyPrefix,proto3" json:"key_prefix,omitempty"`
	ContentType           string   `protobuf:"bytes,3,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	CreatedAfterUnixNano  int64    `` /* 126-byte string literal not displayed */
	CreatedBeforeUnixNano int64    `` /* 129-byte string literal not displayed */
	UpdatedAfterUnixNano  int64    `` /* 126-byte string literal not displayed */
	UpdatedBeforeUnixNano int64    `` /* 129-byte string literal not displayed */
	Limit                 int32    `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset                int32    `protobuf:"varint,9,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageListFilter) Descriptor deprecated added in v0.1.8

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

Deprecated: Use StorageListFilter.ProtoReflect.Descriptor instead.

func (*StorageListFilter) GetContentType added in v0.1.8

func (x *StorageListFilter) GetContentType() string

func (*StorageListFilter) GetCreatedAfterUnixNano added in v0.1.8

func (x *StorageListFilter) GetCreatedAfterUnixNano() int64

func (*StorageListFilter) GetCreatedBeforeUnixNano added in v0.1.8

func (x *StorageListFilter) GetCreatedBeforeUnixNano() int64

func (*StorageListFilter) GetKeyPrefix added in v0.1.8

func (x *StorageListFilter) GetKeyPrefix() string

func (*StorageListFilter) GetKeys added in v0.1.8

func (x *StorageListFilter) GetKeys() []string

func (*StorageListFilter) GetLimit added in v0.1.8

func (x *StorageListFilter) GetLimit() int32

func (*StorageListFilter) GetOffset added in v0.1.8

func (x *StorageListFilter) GetOffset() int32

func (*StorageListFilter) GetUpdatedAfterUnixNano added in v0.1.8

func (x *StorageListFilter) GetUpdatedAfterUnixNano() int64

func (*StorageListFilter) GetUpdatedBeforeUnixNano added in v0.1.8

func (x *StorageListFilter) GetUpdatedBeforeUnixNano() int64

func (*StorageListFilter) ProtoMessage added in v0.1.8

func (*StorageListFilter) ProtoMessage()

func (*StorageListFilter) ProtoReflect added in v0.1.8

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

func (*StorageListFilter) Reset added in v0.1.8

func (x *StorageListFilter) Reset()

func (*StorageListFilter) String added in v0.1.8

func (x *StorageListFilter) String() string

type StorageListRequest added in v0.1.6

type StorageListRequest struct {
	Scope  *StorageScope      `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Filter *StorageListFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageListRequest) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StorageListRequest.ProtoReflect.Descriptor instead.

func (*StorageListRequest) GetFilter added in v0.1.8

func (x *StorageListRequest) GetFilter() *StorageListFilter

func (*StorageListRequest) GetScope added in v0.1.6

func (x *StorageListRequest) GetScope() *StorageScope

func (*StorageListRequest) ProtoMessage added in v0.1.6

func (*StorageListRequest) ProtoMessage()

func (*StorageListRequest) ProtoReflect added in v0.1.6

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

func (*StorageListRequest) Reset added in v0.1.6

func (x *StorageListRequest) Reset()

func (*StorageListRequest) String added in v0.1.6

func (x *StorageListRequest) String() string

type StorageListResponse added in v0.1.6

type StorageListResponse struct {
	Items []*StorageItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageListResponse) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StorageListResponse.ProtoReflect.Descriptor instead.

func (*StorageListResponse) GetItems added in v0.1.6

func (x *StorageListResponse) GetItems() []*StorageItem

func (*StorageListResponse) ProtoMessage added in v0.1.6

func (*StorageListResponse) ProtoMessage()

func (*StorageListResponse) ProtoReflect added in v0.1.6

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

func (*StorageListResponse) Reset added in v0.1.6

func (x *StorageListResponse) Reset()

func (*StorageListResponse) String added in v0.1.6

func (x *StorageListResponse) String() string

type StoragePutRequest added in v0.1.6

type StoragePutRequest struct {
	Collection string       `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Item       *StorageItem `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*StoragePutRequest) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StoragePutRequest.ProtoReflect.Descriptor instead.

func (*StoragePutRequest) GetCollection added in v0.1.6

func (x *StoragePutRequest) GetCollection() string

func (*StoragePutRequest) GetItem added in v0.1.6

func (x *StoragePutRequest) GetItem() *StorageItem

func (*StoragePutRequest) ProtoMessage added in v0.1.6

func (*StoragePutRequest) ProtoMessage()

func (*StoragePutRequest) ProtoReflect added in v0.1.6

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

func (*StoragePutRequest) Reset added in v0.1.6

func (x *StoragePutRequest) Reset()

func (*StoragePutRequest) String added in v0.1.6

func (x *StoragePutRequest) String() string

type StorageScope added in v0.1.6

type StorageScope struct {
	Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
	Level      string `protobuf:"bytes,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*StorageScope) Descriptor deprecated added in v0.1.6

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

Deprecated: Use StorageScope.ProtoReflect.Descriptor instead.

func (*StorageScope) GetCollection added in v0.1.6

func (x *StorageScope) GetCollection() string

func (*StorageScope) GetLevel added in v0.1.6

func (x *StorageScope) GetLevel() string

func (*StorageScope) ProtoMessage added in v0.1.6

func (*StorageScope) ProtoMessage()

func (*StorageScope) ProtoReflect added in v0.1.6

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

func (*StorageScope) Reset added in v0.1.6

func (x *StorageScope) Reset()

func (*StorageScope) String added in v0.1.6

func (x *StorageScope) String() string

type StreamStart

type StreamStart struct {
	SessionId   string            `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	RouteId     string            `protobuf:"bytes,2,opt,name=route_id,json=routeId,proto3" json:"route_id,omitempty"`
	Params      map[string]string `` /* 139-byte string literal not displayed */
	User        *ActingUser       `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	ProxyPrefix string            `protobuf:"bytes,5,opt,name=proxy_prefix,json=proxyPrefix,proto3" json:"proxy_prefix,omitempty"` // the connection's public proxy mount
	// contains filtered or unexported fields
}

func (*StreamStart) Descriptor deprecated

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

Deprecated: Use StreamStart.ProtoReflect.Descriptor instead.

func (*StreamStart) GetParams

func (x *StreamStart) GetParams() map[string]string

func (*StreamStart) GetProxyPrefix added in v0.1.3

func (x *StreamStart) GetProxyPrefix() string

func (*StreamStart) GetRouteId

func (x *StreamStart) GetRouteId() string

func (*StreamStart) GetSessionId

func (x *StreamStart) GetSessionId() string

func (*StreamStart) GetUser

func (x *StreamStart) GetUser() *ActingUser

func (*StreamStart) ProtoMessage

func (*StreamStart) ProtoMessage()

func (*StreamStart) ProtoReflect

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

func (*StreamStart) Reset

func (x *StreamStart) Reset()

func (*StreamStart) String

func (x *StreamStart) String() string

type UnimplementedConnServer

type UnimplementedConnServer struct{}

UnimplementedConnServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedConnServer) Pipe

type UnimplementedHostServer

type UnimplementedHostServer struct{}

UnimplementedHostServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedHostServer) Audit

func (UnimplementedHostServer) DialTarget

func (UnimplementedHostServer) HTTPProxyEndpoint

func (UnimplementedHostServer) OpenHTTPConn

func (UnimplementedHostServer) StorageDelete added in v0.1.6

func (UnimplementedHostServer) StorageGet added in v0.1.6

func (UnimplementedHostServer) StorageList added in v0.1.6

func (UnimplementedHostServer) StoragePut added in v0.1.6

type UnimplementedPluginServer

type UnimplementedPluginServer struct{}

UnimplementedPluginServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPluginServer) Close

func (UnimplementedPluginServer) Connect

func (UnimplementedPluginServer) GetManifest

func (UnimplementedPluginServer) HealthCheck

func (UnimplementedPluginServer) Invoke

func (UnimplementedPluginServer) OpenChannel

func (UnimplementedPluginServer) OpenStream

func (UnimplementedPluginServer) ResizeChannel added in v0.1.1

func (UnimplementedPluginServer) ServeHTTPProxy

type UnsafeConnServer

type UnsafeConnServer interface {
	// contains filtered or unexported methods
}

UnsafeConnServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConnServer will result in compilation errors.

type UnsafeHostServer

type UnsafeHostServer interface {
	// contains filtered or unexported methods
}

UnsafeHostServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HostServer will result in compilation errors.

type UnsafePluginServer

type UnsafePluginServer interface {
	// contains filtered or unexported methods
}

UnsafePluginServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginServer will result in compilation errors.

Jump to

Keyboard shortcuts

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