Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterHostConnectionsServer(s grpc.ServiceRegistrar, srv HostConnectionsServer)
- type CallRequest
- func (*CallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallRequest) GetDelegationToken() []byte
- func (x *CallRequest) GetOperation() isCallRequest_Operation
- func (x *CallRequest) GetOwnerPlugin() string
- func (x *CallRequest) GetResolveSchema() *v2.SchemaRequest
- func (x *CallRequest) GetResolveTarget() *ResolveTargetInput
- func (x *CallRequest) GetResource() *v2.Request
- func (x *CallRequest) GetSchemaDocumentRequest() *v2.SchemaDocumentRequest
- func (x *CallRequest) GetTargetId() string
- func (*CallRequest) ProtoMessage()
- func (x *CallRequest) ProtoReflect() protoreflect.Message
- func (x *CallRequest) Reset()
- func (x *CallRequest) String() string
- type CallRequest_ResolveSchema
- type CallRequest_ResolveTarget
- type CallRequest_Resource
- type CallRequest_SchemaDocumentRequest
- type CallResponse
- func (*CallResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallResponse) GetResolvedTarget() *ResolvedTarget
- func (x *CallResponse) GetResource() *v2.Response
- func (x *CallResponse) GetResult() isCallResponse_Result
- func (x *CallResponse) GetSchemaBinding() *v2.SchemaBinding
- func (x *CallResponse) GetSchemaDocument() *v2.SchemaDocument
- func (*CallResponse) ProtoMessage()
- func (x *CallResponse) ProtoReflect() protoreflect.Message
- func (x *CallResponse) Reset()
- func (x *CallResponse) String() string
- type CallResponse_ResolvedTarget
- type CallResponse_Resource
- type CallResponse_SchemaBinding
- type CallResponse_SchemaDocument
- type HostConnectionsClient
- type HostConnectionsServer
- type ResolveTargetInput
- func (*ResolveTargetInput) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveTargetInput) GetRepresentation() string
- func (x *ResolveTargetInput) GetRoute() *v2.AccessRoute
- func (x *ResolveTargetInput) GetScope() *v2.QueryScope
- func (x *ResolveTargetInput) GetType() string
- func (*ResolveTargetInput) ProtoMessage()
- func (x *ResolveTargetInput) ProtoReflect() protoreflect.Message
- func (x *ResolveTargetInput) Reset()
- func (x *ResolveTargetInput) String() string
- type ResolvedTarget
- func (*ResolvedTarget) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedTarget) GetTarget() *v2.ReadTarget
- func (x *ResolvedTarget) GetTargetId() string
- func (*ResolvedTarget) ProtoMessage()
- func (x *ResolvedTarget) ProtoReflect() protoreflect.Message
- func (x *ResolvedTarget) Reset()
- func (x *ResolvedTarget) String() string
- type UnimplementedHostConnectionsServer
- type UnsafeHostConnectionsServer
Constants ¶
const (
HostConnections_Call_FullMethodName = "/omniview.sdk.hostconnections.v1.HostConnections/Call"
)
Variables ¶
var File_proto_v1_hostconnections_host_connections_proto protoreflect.FileDescriptor
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_ResolveSchema
// *CallRequest_SchemaDocumentRequest
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) GetResolveSchema ¶ added in v0.20.0
func (x *CallRequest) GetResolveSchema() *v2.SchemaRequest
func (*CallRequest) GetResolveTarget ¶
func (x *CallRequest) GetResolveTarget() *ResolveTargetInput
func (*CallRequest) GetResource ¶
func (x *CallRequest) GetResource() *v2.Request
func (*CallRequest) GetSchemaDocumentRequest ¶ added in v0.20.0
func (x *CallRequest) GetSchemaDocumentRequest() *v2.SchemaDocumentRequest
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_ResolveSchema ¶ added in v0.20.0
type CallRequest_ResolveSchema struct {
ResolveSchema *v2.SchemaRequest `protobuf:"bytes,7,opt,name=resolve_schema,json=resolveSchema,proto3,oneof"`
}
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_SchemaDocumentRequest ¶ added in v0.20.0
type CallRequest_SchemaDocumentRequest struct {
SchemaDocumentRequest *v2.SchemaDocumentRequest `protobuf:"bytes,8,opt,name=schema_document_request,json=schemaDocumentRequest,proto3,oneof"`
}
type CallResponse ¶
type CallResponse struct {
// Types that are valid to be assigned to Result:
//
// *CallResponse_Resource
// *CallResponse_ResolvedTarget
// *CallResponse_SchemaDocument
// *CallResponse_SchemaBinding
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) GetSchemaBinding ¶ added in v0.20.0
func (x *CallResponse) GetSchemaBinding() *v2.SchemaBinding
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_SchemaBinding ¶ added in v0.20.0
type CallResponse_SchemaBinding struct {
SchemaBinding *v2.SchemaBinding `protobuf:"bytes,4,opt,name=schema_binding,json=schemaBinding,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.
func NewHostConnectionsClient ¶
func NewHostConnectionsClient(cc grpc.ClientConnInterface) HostConnectionsClient
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 UnimplementedHostConnectionsServer ¶
type UnimplementedHostConnectionsServer struct {
}
UnimplementedHostConnectionsServer should be embedded to have forward compatible implementations.
func (UnimplementedHostConnectionsServer) Call ¶
func (UnimplementedHostConnectionsServer) Call(context.Context, *CallRequest) (*CallResponse, error)
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.