hostconnectionspb

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: AGPL-3.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	HostConnections_Call_FullMethodName = "/omniview.sdk.hostconnections.v1.HostConnections/Call"
)

Variables

View Source
var File_proto_v1_hostconnections_host_connections_proto protoreflect.FileDescriptor
View Source
var HostConnections_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "omniview.sdk.hostconnections.v1.HostConnections",
	HandlerType: (*HostConnectionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Call",
			Handler:    _HostConnections_Call_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/v1/hostconnections/host_connections.proto",
}

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

Functions

func RegisterHostConnectionsServer

func RegisterHostConnectionsServer(s grpc.ServiceRegistrar, srv HostConnectionsServer)

Types

type CallRequest

type CallRequest struct {
	OwnerPlugin     string `protobuf:"bytes,1,opt,name=owner_plugin,json=ownerPlugin,proto3" json:"owner_plugin,omitempty"`
	DelegationToken []byte `protobuf:"bytes,2,opt,name=delegation_token,json=delegationToken,proto3" json:"delegation_token,omitempty"`
	TargetId        string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Types that are valid to be assigned to Operation:
	//
	//	*CallRequest_Resource
	//	*CallRequest_ResolveTarget
	//	*CallRequest_SchemaDocument
	Operation isCallRequest_Operation `protobuf_oneof:"operation"`
	// contains filtered or unexported fields
}

func (*CallRequest) Descriptor deprecated

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

Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.

func (*CallRequest) GetDelegationToken

func (x *CallRequest) GetDelegationToken() []byte

func (*CallRequest) GetOperation

func (x *CallRequest) GetOperation() isCallRequest_Operation

func (*CallRequest) GetOwnerPlugin

func (x *CallRequest) GetOwnerPlugin() string

func (*CallRequest) GetResolveTarget

func (x *CallRequest) GetResolveTarget() *ResolveTargetInput

func (*CallRequest) GetResource

func (x *CallRequest) GetResource() *v2.Request

func (*CallRequest) GetSchemaDocument

func (x *CallRequest) GetSchemaDocument() *SchemaDocumentInput

func (*CallRequest) GetTargetId

func (x *CallRequest) GetTargetId() string

func (*CallRequest) ProtoMessage

func (*CallRequest) ProtoMessage()

func (*CallRequest) ProtoReflect

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

func (*CallRequest) Reset

func (x *CallRequest) Reset()

func (*CallRequest) String

func (x *CallRequest) String() string

type CallRequest_ResolveTarget

type CallRequest_ResolveTarget struct {
	ResolveTarget *ResolveTargetInput `protobuf:"bytes,5,opt,name=resolve_target,json=resolveTarget,proto3,oneof"`
}

type CallRequest_Resource

type CallRequest_Resource struct {
	Resource *v2.Request `protobuf:"bytes,4,opt,name=resource,proto3,oneof"`
}

type CallRequest_SchemaDocument

type CallRequest_SchemaDocument struct {
	SchemaDocument *SchemaDocumentInput `protobuf:"bytes,6,opt,name=schema_document,json=schemaDocument,proto3,oneof"`
}

type CallResponse

type CallResponse struct {

	// Types that are valid to be assigned to Result:
	//
	//	*CallResponse_Resource
	//	*CallResponse_ResolvedTarget
	//	*CallResponse_SchemaDocument
	Result isCallResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*CallResponse) Descriptor deprecated

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

Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.

func (*CallResponse) GetResolvedTarget

func (x *CallResponse) GetResolvedTarget() *ResolvedTarget

func (*CallResponse) GetResource

func (x *CallResponse) GetResource() *v2.Response

func (*CallResponse) GetResult

func (x *CallResponse) GetResult() isCallResponse_Result

func (*CallResponse) GetSchemaDocument

func (x *CallResponse) GetSchemaDocument() *v2.SchemaDocument

func (*CallResponse) ProtoMessage

func (*CallResponse) ProtoMessage()

func (*CallResponse) ProtoReflect

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

func (*CallResponse) Reset

func (x *CallResponse) Reset()

func (*CallResponse) String

func (x *CallResponse) String() string

type CallResponse_ResolvedTarget

type CallResponse_ResolvedTarget struct {
	ResolvedTarget *ResolvedTarget `protobuf:"bytes,2,opt,name=resolved_target,json=resolvedTarget,proto3,oneof"`
}

type CallResponse_Resource

type CallResponse_Resource struct {
	Resource *v2.Response `protobuf:"bytes,1,opt,name=resource,proto3,oneof"`
}

type CallResponse_SchemaDocument

type CallResponse_SchemaDocument struct {
	SchemaDocument *v2.SchemaDocument `protobuf:"bytes,3,opt,name=schema_document,json=schemaDocument,proto3,oneof"`
}

type HostConnectionsClient

type HostConnectionsClient interface {
	Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error)
}

HostConnectionsClient is the client API for HostConnections 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.

type HostConnectionsServer

type HostConnectionsServer interface {
	Call(context.Context, *CallRequest) (*CallResponse, error)
}

HostConnectionsServer is the server API for HostConnections service. All implementations should embed UnimplementedHostConnectionsServer for forward compatibility

type ResolveTargetInput

type ResolveTargetInput struct {
	Route          *v2.AccessRoute `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	Type           string          `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Scope          *v2.QueryScope  `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	Representation string          `protobuf:"bytes,4,opt,name=representation,proto3" json:"representation,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolveTargetInput) Descriptor deprecated

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

Deprecated: Use ResolveTargetInput.ProtoReflect.Descriptor instead.

func (*ResolveTargetInput) GetRepresentation

func (x *ResolveTargetInput) GetRepresentation() string

func (*ResolveTargetInput) GetRoute

func (x *ResolveTargetInput) GetRoute() *v2.AccessRoute

func (*ResolveTargetInput) GetScope

func (x *ResolveTargetInput) GetScope() *v2.QueryScope

func (*ResolveTargetInput) GetType

func (x *ResolveTargetInput) GetType() string

func (*ResolveTargetInput) ProtoMessage

func (*ResolveTargetInput) ProtoMessage()

func (*ResolveTargetInput) ProtoReflect

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

func (*ResolveTargetInput) Reset

func (x *ResolveTargetInput) Reset()

func (*ResolveTargetInput) String

func (x *ResolveTargetInput) String() string

type ResolvedTarget

type ResolvedTarget struct {
	TargetId string         `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	Target   *v2.ReadTarget `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolvedTarget) Descriptor deprecated

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

Deprecated: Use ResolvedTarget.ProtoReflect.Descriptor instead.

func (*ResolvedTarget) GetTarget

func (x *ResolvedTarget) GetTarget() *v2.ReadTarget

func (*ResolvedTarget) GetTargetId

func (x *ResolvedTarget) GetTargetId() string

func (*ResolvedTarget) ProtoMessage

func (*ResolvedTarget) ProtoMessage()

func (*ResolvedTarget) ProtoReflect

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

func (*ResolvedTarget) Reset

func (x *ResolvedTarget) Reset()

func (*ResolvedTarget) String

func (x *ResolvedTarget) String() string

type SchemaDocumentInput

type SchemaDocumentInput struct {
	Route     *v2.AccessRoute             `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"`
	Reference *v2.SchemaDocumentReference `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference,omitempty"`
	// contains filtered or unexported fields
}

func (*SchemaDocumentInput) Descriptor deprecated

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

Deprecated: Use SchemaDocumentInput.ProtoReflect.Descriptor instead.

func (*SchemaDocumentInput) GetReference

func (x *SchemaDocumentInput) GetReference() *v2.SchemaDocumentReference

func (*SchemaDocumentInput) GetRoute

func (x *SchemaDocumentInput) GetRoute() *v2.AccessRoute

func (*SchemaDocumentInput) ProtoMessage

func (*SchemaDocumentInput) ProtoMessage()

func (*SchemaDocumentInput) ProtoReflect

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

func (*SchemaDocumentInput) Reset

func (x *SchemaDocumentInput) Reset()

func (*SchemaDocumentInput) String

func (x *SchemaDocumentInput) String() string

type UnimplementedHostConnectionsServer

type UnimplementedHostConnectionsServer struct {
}

UnimplementedHostConnectionsServer should be embedded to have forward compatible implementations.

func (UnimplementedHostConnectionsServer) Call

type UnsafeHostConnectionsServer

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

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

Jump to

Keyboard shortcuts

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