proto

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QubesomeHost_XdgOpen_FullMethodName     = "/qubesome.QubesomeHost/XdgOpen"
	QubesomeHost_RunWorkload_FullMethodName = "/qubesome.QubesomeHost/RunWorkload"
)

Variables

View Source
var File_pkg_inception_proto_host_proto protoreflect.FileDescriptor
View Source
var QubesomeHost_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "qubesome.QubesomeHost",
	HandlerType: (*QubesomeHostServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "XdgOpen",
			Handler:    _QubesomeHost_XdgOpen_Handler,
		},
		{
			MethodName: "RunWorkload",
			Handler:    _QubesomeHost_RunWorkload_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pkg/inception/proto/host.proto",
}

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

Functions

func RegisterQubesomeHostServer

func RegisterQubesomeHostServer(s grpc.ServiceRegistrar, srv QubesomeHostServer)

Types

type QubesomeHostClient

type QubesomeHostClient interface {
	XdgOpen(ctx context.Context, in *XdgOpenRequest, opts ...grpc.CallOption) (*XdgOpenReply, error)
	RunWorkload(ctx context.Context, in *RunWorkloadRequest, opts ...grpc.CallOption) (*RunWorkloadReply, error)
}

QubesomeHostClient is the client API for QubesomeHost 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 QubesomeHostServer

type QubesomeHostServer interface {
	XdgOpen(context.Context, *XdgOpenRequest) (*XdgOpenReply, error)
	RunWorkload(context.Context, *RunWorkloadRequest) (*RunWorkloadReply, error)
	// contains filtered or unexported methods
}

QubesomeHostServer is the server API for QubesomeHost service. All implementations must embed UnimplementedQubesomeHostServer for forward compatibility.

type RunWorkloadReply

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

func (*RunWorkloadReply) Descriptor deprecated

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

Deprecated: Use RunWorkloadReply.ProtoReflect.Descriptor instead.

func (*RunWorkloadReply) ProtoMessage

func (*RunWorkloadReply) ProtoMessage()

func (*RunWorkloadReply) ProtoReflect

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

func (*RunWorkloadReply) Reset

func (x *RunWorkloadReply) Reset()

func (*RunWorkloadReply) String

func (x *RunWorkloadReply) String() string

type RunWorkloadRequest

type RunWorkloadRequest struct {
	Workload string `protobuf:"bytes,1,opt,name=workload,proto3" json:"workload,omitempty"`
	Args     string `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"`
	// contains filtered or unexported fields
}

func (*RunWorkloadRequest) Descriptor deprecated

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

Deprecated: Use RunWorkloadRequest.ProtoReflect.Descriptor instead.

func (*RunWorkloadRequest) GetArgs

func (x *RunWorkloadRequest) GetArgs() string

func (*RunWorkloadRequest) GetWorkload

func (x *RunWorkloadRequest) GetWorkload() string

func (*RunWorkloadRequest) ProtoMessage

func (*RunWorkloadRequest) ProtoMessage()

func (*RunWorkloadRequest) ProtoReflect

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

func (*RunWorkloadRequest) Reset

func (x *RunWorkloadRequest) Reset()

func (*RunWorkloadRequest) String

func (x *RunWorkloadRequest) String() string

type UnimplementedQubesomeHostServer

type UnimplementedQubesomeHostServer struct{}

UnimplementedQubesomeHostServer 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 (UnimplementedQubesomeHostServer) RunWorkload

func (UnimplementedQubesomeHostServer) XdgOpen

type UnsafeQubesomeHostServer

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

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

type XdgOpenReply

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

func (*XdgOpenReply) Descriptor deprecated

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

Deprecated: Use XdgOpenReply.ProtoReflect.Descriptor instead.

func (*XdgOpenReply) ProtoMessage

func (*XdgOpenReply) ProtoMessage()

func (*XdgOpenReply) ProtoReflect

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

func (*XdgOpenReply) Reset

func (x *XdgOpenReply) Reset()

func (*XdgOpenReply) String

func (x *XdgOpenReply) String() string

type XdgOpenRequest

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

func (*XdgOpenRequest) Descriptor deprecated

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

Deprecated: Use XdgOpenRequest.ProtoReflect.Descriptor instead.

func (*XdgOpenRequest) GetUrl

func (x *XdgOpenRequest) GetUrl() string

func (*XdgOpenRequest) ProtoMessage

func (*XdgOpenRequest) ProtoMessage()

func (*XdgOpenRequest) ProtoReflect

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

func (*XdgOpenRequest) Reset

func (x *XdgOpenRequest) Reset()

func (*XdgOpenRequest) String

func (x *XdgOpenRequest) String() string

Jump to

Keyboard shortcuts

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