Documentation
¶
Index ¶
- Constants
- Variables
- type ImgStreamerReplyEntry
- type ImgStreamerReplyEntry_builder
- type ImgStreamerRequestEntry
- func (x *ImgStreamerRequestEntry) GetFilename() string
- func (*ImgStreamerRequestEntry) ProtoMessage()
- func (x *ImgStreamerRequestEntry) ProtoReflect() protoreflect.Message
- func (x *ImgStreamerRequestEntry) Reset()
- func (x *ImgStreamerRequestEntry) SetFilename(v string)
- func (x *ImgStreamerRequestEntry) String() string
- type ImgStreamerRequestEntry_builder
- type Marker
- func (x *Marker) ClearBody()
- func (x *Marker) ClearFileData()
- func (x *Marker) ClearFileEof()
- func (x *Marker) ClearFilename()
- func (x *Marker) ClearImageEof()
- func (x *Marker) GetBody() isMarker_Body
- func (x *Marker) GetFileData() uint32
- func (x *Marker) GetFileEof() bool
- func (x *Marker) GetFilename() string
- func (x *Marker) GetImageEof() bool
- func (x *Marker) GetSeq() uint64
- func (x *Marker) HasBody() bool
- func (x *Marker) HasFileData() bool
- func (x *Marker) HasFileEof() bool
- func (x *Marker) HasFilename() bool
- func (x *Marker) HasImageEof() bool
- func (*Marker) ProtoMessage()
- func (x *Marker) ProtoReflect() protoreflect.Message
- func (x *Marker) Reset()
- func (x *Marker) SetFileData(v uint32)
- func (x *Marker) SetFileEof(v bool)
- func (x *Marker) SetFilename(v string)
- func (x *Marker) SetImageEof(v bool)
- func (x *Marker) SetSeq(v uint64)
- func (x *Marker) String() string
- func (x *Marker) WhichBody() case_Marker_Body
- type Marker_FileData
- type Marker_FileEof
- type Marker_Filename
- type Marker_ImageEof
- type Marker_builder
Constants ¶
View Source
const Marker_Body_not_set_case case_Marker_Body = 0
View Source
const Marker_FileData_case case_Marker_Body = 3
View Source
const Marker_FileEof_case case_Marker_Body = 4
View Source
const Marker_Filename_case case_Marker_Body = 2
View Source
const Marker_ImageEof_case case_Marker_Body = 5
Variables ¶
View Source
var File_img_streamer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ImgStreamerReplyEntry ¶
type ImgStreamerReplyEntry struct {
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// contains filtered or unexported fields
}
This message is sent from the streamer to CRIU. It is only used during restore to report whether the requested file exists.
func (*ImgStreamerReplyEntry) GetExists ¶
func (x *ImgStreamerReplyEntry) GetExists() bool
func (*ImgStreamerReplyEntry) ProtoMessage ¶
func (*ImgStreamerReplyEntry) ProtoMessage()
func (*ImgStreamerReplyEntry) ProtoReflect ¶
func (x *ImgStreamerReplyEntry) ProtoReflect() protoreflect.Message
func (*ImgStreamerReplyEntry) Reset ¶
func (x *ImgStreamerReplyEntry) Reset()
func (*ImgStreamerReplyEntry) SetExists ¶
func (x *ImgStreamerReplyEntry) SetExists(v bool)
func (*ImgStreamerReplyEntry) String ¶
func (x *ImgStreamerReplyEntry) String() string
type ImgStreamerReplyEntry_builder ¶
type ImgStreamerReplyEntry_builder struct {
Exists bool
// contains filtered or unexported fields
}
func (ImgStreamerReplyEntry_builder) Build ¶
func (b0 ImgStreamerReplyEntry_builder) Build() *ImgStreamerReplyEntry
type ImgStreamerRequestEntry ¶
type ImgStreamerRequestEntry struct {
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
// contains filtered or unexported fields
}
This message is sent from CRIU to the streamer.
- During dump, it communicates the name of the file that is about to be sent to the streamer.
- During restore, CRIU requests image files from the streamer. The message is used to communicate the name of the desired file.
func (*ImgStreamerRequestEntry) GetFilename ¶
func (x *ImgStreamerRequestEntry) GetFilename() string
func (*ImgStreamerRequestEntry) ProtoMessage ¶
func (*ImgStreamerRequestEntry) ProtoMessage()
func (*ImgStreamerRequestEntry) ProtoReflect ¶
func (x *ImgStreamerRequestEntry) ProtoReflect() protoreflect.Message
func (*ImgStreamerRequestEntry) Reset ¶
func (x *ImgStreamerRequestEntry) Reset()
func (*ImgStreamerRequestEntry) SetFilename ¶
func (x *ImgStreamerRequestEntry) SetFilename(v string)
func (*ImgStreamerRequestEntry) String ¶
func (x *ImgStreamerRequestEntry) String() string
type ImgStreamerRequestEntry_builder ¶
type ImgStreamerRequestEntry_builder struct {
Filename string
// contains filtered or unexported fields
}
func (ImgStreamerRequestEntry_builder) Build ¶
func (b0 ImgStreamerRequestEntry_builder) Build() *ImgStreamerRequestEntry
type Marker ¶
type Marker struct {
Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
// Types that are valid to be assigned to Body:
//
// *Marker_Filename
// *Marker_FileData
// *Marker_FileEof
// *Marker_ImageEof
Body isMarker_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
func (*Marker) ProtoReflect ¶
func (x *Marker) ProtoReflect() protoreflect.Message
type Marker_FileData ¶
type Marker_FileData struct {
// Incoming data for the current file
FileData uint32 `protobuf:"varint,3,opt,name=file_data,json=fileData,proto3,oneof"`
}
type Marker_FileEof ¶
type Marker_FileEof struct {
// EOF of current file is reached
FileEof bool `protobuf:"varint,4,opt,name=file_eof,json=fileEof,proto3,oneof"`
}
type Marker_Filename ¶
type Marker_Filename struct {
// Denotes the filename of the next upcoming markers (denoted as current file)
Filename string `protobuf:"bytes,2,opt,name=filename,proto3,oneof"`
}
type Marker_ImageEof ¶
type Marker_ImageEof struct {
// EOF of image is reached
ImageEof bool `protobuf:"varint,5,opt,name=image_eof,json=imageEof,proto3,oneof"`
}
type Marker_builder ¶
type Marker_builder struct {
Seq uint64
// Fields of oneof Body:
// Denotes the filename of the next upcoming markers (denoted as current file)
Filename *string
// Incoming data for the current file
FileData *uint32
// EOF of current file is reached
FileEof *bool
// EOF of image is reached
ImageEof *bool
// contains filtered or unexported fields
}
func (Marker_builder) Build ¶
func (b0 Marker_builder) Build() *Marker
Source Files
¶
- img_streamer.pb.go
Click to show internal directories.
Click to hide internal directories.