Documentation
¶
Index ¶
- Constants
- Variables
- type Packet
- func (m *Packet) CloneMessageVT() proto.Message
- func (m *Packet) CloneVT() *Packet
- func (*Packet) Descriptor() ([]byte, []int)deprecated
- func (this *Packet) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Packet) EqualVT(that *Packet) bool
- func (x *Packet) GetData() []byte
- func (x *Packet) GetID() uint32
- func (x *Packet) GetStat() *Stat
- func (x *Packet) GetType() Packet_PacketType
- func (p *Packet) Marshal() ([]byte, error)
- func (m *Packet) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Packet) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Packet) MarshalToVT(dAtA []byte) (int, error)
- func (m *Packet) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Packet) MarshalVT() (dAtA []byte, err error)
- func (m *Packet) MarshalVTStrict() (dAtA []byte, err error)
- func (*Packet) ProtoMessage()
- func (x *Packet) ProtoReflect() protoreflect.Message
- func (x *Packet) Reset()
- func (m *Packet) ResetVT()
- func (m *Packet) ReturnToVTPool()
- func (p *Packet) Size() int
- func (m *Packet) SizeVT() (n int)
- func (x *Packet) String() string
- func (p *Packet) Unmarshal(dAtA []byte) error
- func (m *Packet) UnmarshalVT(dAtA []byte) error
- func (m *Packet) UnmarshalVTUnsafe(dAtA []byte) error
- type Packet_PacketType
- func (Packet_PacketType) Descriptor() protoreflect.EnumDescriptor
- func (x Packet_PacketType) Enum() *Packet_PacketType
- func (Packet_PacketType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Packet_PacketType) Number() protoreflect.EnumNumber
- func (x Packet_PacketType) String() string
- func (Packet_PacketType) Type() protoreflect.EnumType
- type Stat
- func (s *Stat) Clone() *Stat
- func (m *Stat) CloneMessageVT() proto.Message
- func (m *Stat) CloneVT() *Stat
- func (*Stat) Descriptor() ([]byte, []int)deprecated
- func (this *Stat) EqualMessageVT(thatMsg proto.Message) bool
- func (this *Stat) EqualVT(that *Stat) bool
- func (x *Stat) GetDevmajor() int64
- func (x *Stat) GetDevminor() int64
- func (x *Stat) GetGid() uint32
- func (x *Stat) GetLinkname() string
- func (x *Stat) GetModTime() int64
- func (x *Stat) GetMode() uint32
- func (x *Stat) GetPath() string
- func (x *Stat) GetSize() int64
- func (x *Stat) GetUid() uint32
- func (x *Stat) GetXattrs() map[string][]byte
- func (s *Stat) IsDir() bool
- func (s *Stat) Marshal() ([]byte, error)
- func (m *Stat) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Stat) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)
- func (m *Stat) MarshalToVT(dAtA []byte) (int, error)
- func (m *Stat) MarshalToVTStrict(dAtA []byte) (int, error)
- func (m *Stat) MarshalVT() (dAtA []byte, err error)
- func (m *Stat) MarshalVTStrict() (dAtA []byte, err error)
- func (*Stat) ProtoMessage()
- func (x *Stat) ProtoReflect() protoreflect.Message
- func (x *Stat) Reset()
- func (m *Stat) SizeVT() (n int)
- func (x *Stat) String() string
- func (s *Stat) Unmarshal(dAtA []byte) error
- func (m *Stat) UnmarshalVT(dAtA []byte) error
- func (m *Stat) UnmarshalVTUnsafe(dAtA []byte) error
Constants ¶
View Source
const ( PACKET_STAT = Packet_PACKET_STAT PACKET_REQ = Packet_PACKET_REQ PACKET_DATA = Packet_PACKET_DATA PACKET_FIN = Packet_PACKET_FIN PACKET_ERR = Packet_PACKET_ERR )
Variables ¶
View Source
var ( Packet_PacketType_name = map[int32]string{ 0: "PACKET_STAT", 1: "PACKET_REQ", 2: "PACKET_DATA", 3: "PACKET_FIN", 4: "PACKET_ERR", } Packet_PacketType_value = map[string]int32{ "PACKET_STAT": 0, "PACKET_REQ": 1, "PACKET_DATA": 2, "PACKET_FIN": 3, "PACKET_ERR": 4, } )
Enum value maps for Packet_PacketType.
View Source
var File_github_com_tonistiigi_fsutil_types_stat_proto protoreflect.FileDescriptor
View Source
var File_github_com_tonistiigi_fsutil_types_wire_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct { Type Packet_PacketType `protobuf:"varint,1,opt,name=type,proto3,enum=fsutil.types.Packet_PacketType" json:"type,omitempty"` Stat *Stat `protobuf:"bytes,2,opt,name=stat,proto3" json:"stat,omitempty"` ID uint32 `protobuf:"varint,3,opt,name=ID,proto3" json:"ID,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func PacketFromVTPool ¶
func PacketFromVTPool() *Packet
func (*Packet) CloneMessageVT ¶
func (*Packet) Descriptor
deprecated
func (*Packet) GetType ¶
func (x *Packet) GetType() Packet_PacketType
func (*Packet) MarshalToSizedBufferVT ¶
func (*Packet) MarshalToSizedBufferVTStrict ¶
func (*Packet) MarshalVTStrict ¶
func (*Packet) ProtoMessage ¶
func (*Packet) ProtoMessage()
func (*Packet) ProtoReflect ¶
func (x *Packet) ProtoReflect() protoreflect.Message
func (*Packet) ReturnToVTPool ¶
func (m *Packet) ReturnToVTPool()
func (*Packet) UnmarshalVT ¶
func (*Packet) UnmarshalVTUnsafe ¶
type Packet_PacketType ¶
type Packet_PacketType int32
const ( Packet_PACKET_STAT Packet_PacketType = 0 Packet_PACKET_REQ Packet_PacketType = 1 Packet_PACKET_DATA Packet_PacketType = 2 Packet_PACKET_FIN Packet_PacketType = 3 Packet_PACKET_ERR Packet_PacketType = 4 )
func (Packet_PacketType) Descriptor ¶
func (Packet_PacketType) Descriptor() protoreflect.EnumDescriptor
func (Packet_PacketType) Enum ¶
func (x Packet_PacketType) Enum() *Packet_PacketType
func (Packet_PacketType) EnumDescriptor
deprecated
func (Packet_PacketType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Packet_PacketType.Descriptor instead.
func (Packet_PacketType) Number ¶
func (x Packet_PacketType) Number() protoreflect.EnumNumber
func (Packet_PacketType) String ¶
func (x Packet_PacketType) String() string
func (Packet_PacketType) Type ¶
func (Packet_PacketType) Type() protoreflect.EnumType
type Stat ¶
type Stat struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` Uid uint32 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` ModTime int64 `protobuf:"varint,6,opt,name=modTime,proto3" json:"modTime,omitempty"` // int32 typeflag = 7; Linkname string `protobuf:"bytes,7,opt,name=linkname,proto3" json:"linkname,omitempty"` Devmajor int64 `protobuf:"varint,8,opt,name=devmajor,proto3" json:"devmajor,omitempty"` Devminor int64 `protobuf:"varint,9,opt,name=devminor,proto3" json:"devminor,omitempty"` Xattrs map[string][]byte `` /* 154-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Stat) CloneMessageVT ¶
func (*Stat) Descriptor
deprecated
func (*Stat) GetDevmajor ¶
func (*Stat) GetDevminor ¶
func (*Stat) GetLinkname ¶
func (*Stat) GetModTime ¶
func (*Stat) MarshalToSizedBufferVT ¶
func (*Stat) MarshalToSizedBufferVTStrict ¶
func (*Stat) MarshalVTStrict ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) ProtoReflect ¶
func (x *Stat) ProtoReflect() protoreflect.Message
func (*Stat) UnmarshalVT ¶
func (*Stat) UnmarshalVTUnsafe ¶
Click to show internal directories.
Click to hide internal directories.