Documentation ¶
Index ¶
- Variables
- func RegisterPluginServer(s *grpc.Server, srv PluginServer)
- type CreateImageRequest
- func (*CreateImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageRequest) GetConfig() *v1alpha5.BuildInfo
- func (x *CreateImageRequest) GetHeight() uint32
- func (x *CreateImageRequest) GetStreamId() string
- func (x *CreateImageRequest) GetWidth() uint32
- func (*CreateImageRequest) ProtoMessage()
- func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateImageRequest) Reset()
- func (x *CreateImageRequest) String() string
- type CreateImageResponse
- func (*CreateImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateImageResponse) GetImageId() string
- func (*CreateImageResponse) ProtoMessage()
- func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateImageResponse) Reset()
- func (x *CreateImageResponse) String() string
- type PluginClient
- type PluginServer
- type Plugin_StreamOutputClient
- type Plugin_StreamOutputServer
- type UnimplementedPluginServer
- func (*UnimplementedPluginServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
- func (*UnimplementedPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*v1alpha5.PluginInfo, error)
- func (*UnimplementedPluginServer) InitPlugin(context.Context, *empty.Empty) (*v1alpha5.InitPluginResponse, error)
- func (*UnimplementedPluginServer) ResetPlugin(context.Context, *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedPluginServer) StreamOutput(*v1alpha5.StreamOutputRequest, Plugin_StreamOutputServer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_build_v1alpha1_build_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPluginServer ¶
func RegisterPluginServer(s *grpc.Server, srv PluginServer)
Types ¶
type CreateImageRequest ¶
type CreateImageRequest struct { StreamId string `protobuf:"bytes,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` Config *v1alpha5.BuildInfo `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Width uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"` // contains filtered or unexported fields }
func (*CreateImageRequest) Descriptor
deprecated
func (*CreateImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageRequest.ProtoReflect.Descriptor instead.
func (*CreateImageRequest) GetConfig ¶
func (x *CreateImageRequest) GetConfig() *v1alpha5.BuildInfo
func (*CreateImageRequest) GetHeight ¶
func (x *CreateImageRequest) GetHeight() uint32
func (*CreateImageRequest) GetStreamId ¶
func (x *CreateImageRequest) GetStreamId() string
func (*CreateImageRequest) GetWidth ¶
func (x *CreateImageRequest) GetWidth() uint32
func (*CreateImageRequest) ProtoMessage ¶
func (*CreateImageRequest) ProtoMessage()
func (*CreateImageRequest) ProtoReflect ¶
func (x *CreateImageRequest) ProtoReflect() protoreflect.Message
func (*CreateImageRequest) Reset ¶
func (x *CreateImageRequest) Reset()
func (*CreateImageRequest) String ¶
func (x *CreateImageRequest) String() string
type CreateImageResponse ¶
type CreateImageResponse struct { ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` // contains filtered or unexported fields }
func (*CreateImageResponse) Descriptor
deprecated
func (*CreateImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateImageResponse.ProtoReflect.Descriptor instead.
func (*CreateImageResponse) GetImageId ¶
func (x *CreateImageResponse) GetImageId() string
func (*CreateImageResponse) ProtoMessage ¶
func (*CreateImageResponse) ProtoMessage()
func (*CreateImageResponse) ProtoReflect ¶
func (x *CreateImageResponse) ProtoReflect() protoreflect.Message
func (*CreateImageResponse) Reset ¶
func (x *CreateImageResponse) Reset()
func (*CreateImageResponse) String ¶
func (x *CreateImageResponse) String() string
type PluginClient ¶
type PluginClient interface { GetPluginInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha5.PluginInfo, error) InitPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*v1alpha5.InitPluginResponse, error) ResetPlugin(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) StreamOutput(ctx context.Context, in *v1alpha5.StreamOutputRequest, opts ...grpc.CallOption) (Plugin_StreamOutputClient, error) CreateImage(ctx context.Context, in *CreateImageRequest, opts ...grpc.CallOption) (*CreateImageResponse, 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 PluginServer ¶
type PluginServer interface { GetPluginInfo(context.Context, *empty.Empty) (*v1alpha5.PluginInfo, error) InitPlugin(context.Context, *empty.Empty) (*v1alpha5.InitPluginResponse, error) ResetPlugin(context.Context, *empty.Empty) (*empty.Empty, error) StreamOutput(*v1alpha5.StreamOutputRequest, Plugin_StreamOutputServer) error CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error) }
PluginServer is the server API for Plugin service.
type Plugin_StreamOutputClient ¶
type Plugin_StreamOutputClient interface { Recv() (*v1alpha5.OutputData, error) grpc.ClientStream }
type Plugin_StreamOutputServer ¶
type Plugin_StreamOutputServer interface { Send(*v1alpha5.OutputData) error grpc.ServerStream }
type UnimplementedPluginServer ¶
type UnimplementedPluginServer struct { }
UnimplementedPluginServer can be embedded to have forward compatible implementations.
func (*UnimplementedPluginServer) CreateImage ¶
func (*UnimplementedPluginServer) CreateImage(context.Context, *CreateImageRequest) (*CreateImageResponse, error)
func (*UnimplementedPluginServer) GetPluginInfo ¶
func (*UnimplementedPluginServer) GetPluginInfo(context.Context, *empty.Empty) (*v1alpha5.PluginInfo, error)
func (*UnimplementedPluginServer) InitPlugin ¶
func (*UnimplementedPluginServer) InitPlugin(context.Context, *empty.Empty) (*v1alpha5.InitPluginResponse, error)
func (*UnimplementedPluginServer) ResetPlugin ¶
func (*UnimplementedPluginServer) StreamOutput ¶
func (*UnimplementedPluginServer) StreamOutput(*v1alpha5.StreamOutputRequest, Plugin_StreamOutputServer) error
Click to show internal directories.
Click to hide internal directories.