Versions in this module Expand all Collapse all v0 v0.9.0 Jan 9, 2025 Changes in this version + var File_runtime_v1alpha2_runtime_proto protoreflect.FileDescriptor + func RegisterPluginServer(s *grpc.Server, srv PluginServer) + type CreateContainerRequest struct + Config *v1alpha6.Backdrop + Stdio bool + Tty bool + func (*CreateContainerRequest) Descriptor() ([]byte, []int) + func (*CreateContainerRequest) ProtoMessage() + func (x *CreateContainerRequest) GetConfig() *v1alpha6.Backdrop + func (x *CreateContainerRequest) GetStdio() bool + func (x *CreateContainerRequest) GetTty() bool + func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message + func (x *CreateContainerRequest) Reset() + func (x *CreateContainerRequest) String() string + type CreateContainerResponse struct + ContainerId string + func (*CreateContainerResponse) Descriptor() ([]byte, []int) + func (*CreateContainerResponse) ProtoMessage() + func (x *CreateContainerResponse) GetContainerId() string + func (x *CreateContainerResponse) ProtoReflect() protoreflect.Message + func (x *CreateContainerResponse) Reset() + func (x *CreateContainerResponse) String() string + type CreateVolumeRequest struct + Name string + func (*CreateVolumeRequest) Descriptor() ([]byte, []int) + func (*CreateVolumeRequest) ProtoMessage() + func (x *CreateVolumeRequest) GetName() string + func (x *CreateVolumeRequest) ProtoReflect() protoreflect.Message + func (x *CreateVolumeRequest) Reset() + func (x *CreateVolumeRequest) String() string + type DeleteContainerRequest struct + ContainerId string + func (*DeleteContainerRequest) Descriptor() ([]byte, []int) + func (*DeleteContainerRequest) ProtoMessage() + func (x *DeleteContainerRequest) GetContainerId() string + func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message + func (x *DeleteContainerRequest) Reset() + func (x *DeleteContainerRequest) String() string + type DeleteVolumeRequest struct + Name string + func (*DeleteVolumeRequest) Descriptor() ([]byte, []int) + func (*DeleteVolumeRequest) ProtoMessage() + func (x *DeleteVolumeRequest) GetName() string + func (x *DeleteVolumeRequest) ProtoReflect() protoreflect.Message + func (x *DeleteVolumeRequest) Reset() + func (x *DeleteVolumeRequest) String() string + type GetImageRequest struct + ImageSpec string + func (*GetImageRequest) Descriptor() ([]byte, []int) + func (*GetImageRequest) ProtoMessage() + func (x *GetImageRequest) GetImageSpec() string + func (x *GetImageRequest) ProtoReflect() protoreflect.Message + func (x *GetImageRequest) Reset() + func (x *GetImageRequest) String() string + type GetImageResponse struct + ImageId string + func (*GetImageResponse) Descriptor() ([]byte, []int) + func (*GetImageResponse) ProtoMessage() + func (x *GetImageResponse) GetImageId() string + func (x *GetImageResponse) ProtoReflect() protoreflect.Message + func (x *GetImageResponse) Reset() + func (x *GetImageResponse) String() string + type KillContainerRequest struct + ContainerId string + Signal string + func (*KillContainerRequest) Descriptor() ([]byte, []int) + func (*KillContainerRequest) ProtoMessage() + func (x *KillContainerRequest) GetContainerId() string + func (x *KillContainerRequest) GetSignal() string + func (x *KillContainerRequest) ProtoReflect() protoreflect.Message + func (x *KillContainerRequest) Reset() + func (x *KillContainerRequest) String() string + type PluginClient interface + CreateContainer func(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*CreateContainerResponse, error) + CreateVolume func(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteContainer func(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteVolume func(ctx context.Context, in *DeleteVolumeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + GetImage func(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*GetImageResponse, error) + GetPluginInfo func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1alpha6.PluginInfo, error) + InitPlugin func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1alpha6.InitPluginResponse, error) + KillContainer func(ctx context.Context, in *KillContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResetPlugin func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) + ResizeContainer func(ctx context.Context, in *ResizeContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + StartContainer func(ctx context.Context, in *StartContainerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + StreamContainer func(ctx context.Context, in *StreamContainerRequest, opts ...grpc.CallOption) (*StreamContainerResponse, error) + StreamInput func(ctx context.Context, opts ...grpc.CallOption) (Plugin_StreamInputClient, error) + StreamOutput func(ctx context.Context, in *v1alpha6.StreamOutputRequest, opts ...grpc.CallOption) (Plugin_StreamOutputClient, error) + WriteFile func(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewPluginClient(cc grpc.ClientConnInterface) PluginClient + type PluginServer interface + CreateContainer func(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) + CreateVolume func(context.Context, *CreateVolumeRequest) (*emptypb.Empty, error) + DeleteContainer func(context.Context, *DeleteContainerRequest) (*emptypb.Empty, error) + DeleteVolume func(context.Context, *DeleteVolumeRequest) (*emptypb.Empty, error) + GetImage func(context.Context, *GetImageRequest) (*GetImageResponse, error) + GetPluginInfo func(context.Context, *emptypb.Empty) (*v1alpha6.PluginInfo, error) + InitPlugin func(context.Context, *emptypb.Empty) (*v1alpha6.InitPluginResponse, error) + KillContainer func(context.Context, *KillContainerRequest) (*emptypb.Empty, error) + ResetPlugin func(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + ResizeContainer func(context.Context, *ResizeContainerRequest) (*emptypb.Empty, error) + StartContainer func(context.Context, *StartContainerRequest) (*emptypb.Empty, error) + StreamContainer func(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error) + StreamInput func(Plugin_StreamInputServer) error + StreamOutput func(*v1alpha6.StreamOutputRequest, Plugin_StreamOutputServer) error + WriteFile func(context.Context, *WriteFileRequest) (*emptypb.Empty, error) + type Plugin_StreamInputClient interface + CloseAndRecv func() (*emptypb.Empty, error) + Send func(*v1alpha6.StreamInputRequest) error + type Plugin_StreamInputServer interface + Recv func() (*v1alpha6.StreamInputRequest, error) + SendAndClose func(*emptypb.Empty) error + type Plugin_StreamOutputClient interface + Recv func() (*v1alpha6.OutputData, error) + type Plugin_StreamOutputServer interface + Send func(*v1alpha6.OutputData) error + type ResizeContainerRequest struct + ContainerId string + Height uint32 + Width uint32 + func (*ResizeContainerRequest) Descriptor() ([]byte, []int) + func (*ResizeContainerRequest) ProtoMessage() + func (x *ResizeContainerRequest) GetContainerId() string + func (x *ResizeContainerRequest) GetHeight() uint32 + func (x *ResizeContainerRequest) GetWidth() uint32 + func (x *ResizeContainerRequest) ProtoReflect() protoreflect.Message + func (x *ResizeContainerRequest) Reset() + func (x *ResizeContainerRequest) String() string + type StartContainerRequest struct + ContainerId string + func (*StartContainerRequest) Descriptor() ([]byte, []int) + func (*StartContainerRequest) ProtoMessage() + func (x *StartContainerRequest) GetContainerId() string + func (x *StartContainerRequest) ProtoReflect() protoreflect.Message + func (x *StartContainerRequest) Reset() + func (x *StartContainerRequest) String() string + type StreamContainerRequest struct + ContainerId string + Height uint32 + Width uint32 + func (*StreamContainerRequest) Descriptor() ([]byte, []int) + func (*StreamContainerRequest) ProtoMessage() + func (x *StreamContainerRequest) GetContainerId() string + func (x *StreamContainerRequest) GetHeight() uint32 + func (x *StreamContainerRequest) GetWidth() uint32 + func (x *StreamContainerRequest) ProtoReflect() protoreflect.Message + func (x *StreamContainerRequest) Reset() + func (x *StreamContainerRequest) String() string + type StreamContainerResponse struct + ExitCode int64 + Message string + func (*StreamContainerResponse) Descriptor() ([]byte, []int) + func (*StreamContainerResponse) ProtoMessage() + func (x *StreamContainerResponse) GetExitCode() int64 + func (x *StreamContainerResponse) GetMessage() string + func (x *StreamContainerResponse) ProtoReflect() protoreflect.Message + func (x *StreamContainerResponse) Reset() + func (x *StreamContainerResponse) String() string + type UnimplementedPluginServer struct + func (*UnimplementedPluginServer) CreateContainer(context.Context, *CreateContainerRequest) (*CreateContainerResponse, error) + func (*UnimplementedPluginServer) CreateVolume(context.Context, *CreateVolumeRequest) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) DeleteContainer(context.Context, *DeleteContainerRequest) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) DeleteVolume(context.Context, *DeleteVolumeRequest) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) GetImage(context.Context, *GetImageRequest) (*GetImageResponse, error) + func (*UnimplementedPluginServer) GetPluginInfo(context.Context, *emptypb.Empty) (*v1alpha6.PluginInfo, error) + func (*UnimplementedPluginServer) InitPlugin(context.Context, *emptypb.Empty) (*v1alpha6.InitPluginResponse, error) + func (*UnimplementedPluginServer) KillContainer(context.Context, *KillContainerRequest) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) ResetPlugin(context.Context, *emptypb.Empty) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) ResizeContainer(context.Context, *ResizeContainerRequest) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) StartContainer(context.Context, *StartContainerRequest) (*emptypb.Empty, error) + func (*UnimplementedPluginServer) StreamContainer(context.Context, *StreamContainerRequest) (*StreamContainerResponse, error) + func (*UnimplementedPluginServer) StreamInput(Plugin_StreamInputServer) error + func (*UnimplementedPluginServer) StreamOutput(*v1alpha6.StreamOutputRequest, Plugin_StreamOutputServer) error + func (*UnimplementedPluginServer) WriteFile(context.Context, *WriteFileRequest) (*emptypb.Empty, error) + type WriteFileRequest struct + ContainerId string + Contents string + FilePath string + func (*WriteFileRequest) Descriptor() ([]byte, []int) + func (*WriteFileRequest) ProtoMessage() + func (x *WriteFileRequest) GetContainerId() string + func (x *WriteFileRequest) GetContents() string + func (x *WriteFileRequest) GetFilePath() string + func (x *WriteFileRequest) ProtoReflect() protoreflect.Message + func (x *WriteFileRequest) Reset() + func (x *WriteFileRequest) String() string