v1alpha1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

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

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) GetPluginInfo

func (*UnimplementedPluginServer) InitPlugin

func (*UnimplementedPluginServer) ResetPlugin

func (*UnimplementedPluginServer) StreamOutput

Jump to

Keyboard shortcuts

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