Documentation ¶
Index ¶
- Variables
- type TermiosEntry
- func (*TermiosEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TermiosEntry) GetCCc() []uint32
- func (x *TermiosEntry) GetCCflag() uint32
- func (x *TermiosEntry) GetCIflag() uint32
- func (x *TermiosEntry) GetCIspeed() uint32
- func (x *TermiosEntry) GetCLflag() uint32
- func (x *TermiosEntry) GetCLine() uint32
- func (x *TermiosEntry) GetCOflag() uint32
- func (x *TermiosEntry) GetCOspeed() uint32
- func (*TermiosEntry) ProtoMessage()
- func (x *TermiosEntry) ProtoReflect() protoreflect.Message
- func (x *TermiosEntry) Reset()
- func (x *TermiosEntry) String() string
- type TtyDataEntry
- func (*TtyDataEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TtyDataEntry) GetData() []byte
- func (x *TtyDataEntry) GetTtyId() uint32
- func (*TtyDataEntry) ProtoMessage()
- func (x *TtyDataEntry) ProtoReflect() protoreflect.Message
- func (x *TtyDataEntry) Reset()
- func (x *TtyDataEntry) String() string
- type TtyFileEntry
- func (*TtyFileEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TtyFileEntry) GetFlags() uint32
- func (x *TtyFileEntry) GetFown() *fown.FownEntry
- func (x *TtyFileEntry) GetId() uint32
- func (x *TtyFileEntry) GetRegfId() uint32
- func (x *TtyFileEntry) GetTtyInfoId() uint32
- func (*TtyFileEntry) ProtoMessage()
- func (x *TtyFileEntry) ProtoReflect() protoreflect.Message
- func (x *TtyFileEntry) Reset()
- func (x *TtyFileEntry) String() string
- type TtyInfoEntry
- func (*TtyInfoEntry) Descriptor() ([]byte, []int)deprecated
- func (x *TtyInfoEntry) GetDev() uint32
- func (x *TtyInfoEntry) GetExclusive() bool
- func (x *TtyInfoEntry) GetGid() uint32
- func (x *TtyInfoEntry) GetId() uint32
- func (x *TtyInfoEntry) GetLocked() bool
- func (x *TtyInfoEntry) GetPacketMode() bool
- func (x *TtyInfoEntry) GetPgrp() uint32
- func (x *TtyInfoEntry) GetPty() *TtyPtyEntry
- func (x *TtyInfoEntry) GetRdev() uint32
- func (x *TtyInfoEntry) GetSid() uint32
- func (x *TtyInfoEntry) GetTermios() *TermiosEntry
- func (x *TtyInfoEntry) GetTermiosLocked() *TermiosEntry
- func (x *TtyInfoEntry) GetType() TtyType
- func (x *TtyInfoEntry) GetUid() uint32
- func (x *TtyInfoEntry) GetWinsize() *WinsizeEntry
- func (*TtyInfoEntry) ProtoMessage()
- func (x *TtyInfoEntry) ProtoReflect() protoreflect.Message
- func (x *TtyInfoEntry) Reset()
- func (x *TtyInfoEntry) String() string
- type TtyPtyEntry
- type TtyType
- func (TtyType) Descriptor() protoreflect.EnumDescriptor
- func (x TtyType) Enum() *TtyType
- func (TtyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TtyType) Number() protoreflect.EnumNumber
- func (x TtyType) String() string
- func (TtyType) Type() protoreflect.EnumType
- func (x *TtyType) UnmarshalJSON(b []byte) errordeprecated
- type WinsizeEntry
- func (*WinsizeEntry) Descriptor() ([]byte, []int)deprecated
- func (x *WinsizeEntry) GetWsCol() uint32
- func (x *WinsizeEntry) GetWsRow() uint32
- func (x *WinsizeEntry) GetWsXpixel() uint32
- func (x *WinsizeEntry) GetWsYpixel() uint32
- func (*WinsizeEntry) ProtoMessage()
- func (x *WinsizeEntry) ProtoReflect() protoreflect.Message
- func (x *WinsizeEntry) Reset()
- func (x *WinsizeEntry) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TtyType_name = map[int32]string{ 0: "UNKNOWN", 1: "PTY", 2: "CONSOLE", 3: "VT", 4: "CTTY", 5: "EXT_TTY", 6: "SERIAL", } TtyType_value = map[string]int32{ "UNKNOWN": 0, "PTY": 1, "CONSOLE": 2, "VT": 3, "CTTY": 4, "EXT_TTY": 5, "SERIAL": 6, } )
Enum value maps for TtyType.
View Source
var File_tty_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TermiosEntry ¶
type TermiosEntry struct { CIflag *uint32 `protobuf:"varint,1,req,name=c_iflag,json=cIflag" json:"c_iflag,omitempty"` COflag *uint32 `protobuf:"varint,2,req,name=c_oflag,json=cOflag" json:"c_oflag,omitempty"` CCflag *uint32 `protobuf:"varint,3,req,name=c_cflag,json=cCflag" json:"c_cflag,omitempty"` CLflag *uint32 `protobuf:"varint,4,req,name=c_lflag,json=cLflag" json:"c_lflag,omitempty"` CLine *uint32 `protobuf:"varint,5,req,name=c_line,json=cLine" json:"c_line,omitempty"` CIspeed *uint32 `protobuf:"varint,6,req,name=c_ispeed,json=cIspeed" json:"c_ispeed,omitempty"` COspeed *uint32 `protobuf:"varint,7,req,name=c_ospeed,json=cOspeed" json:"c_ospeed,omitempty"` CCc []uint32 `protobuf:"varint,8,rep,name=c_cc,json=cCc" json:"c_cc,omitempty"` // contains filtered or unexported fields }
func (*TermiosEntry) Descriptor
deprecated
func (*TermiosEntry) Descriptor() ([]byte, []int)
Deprecated: Use TermiosEntry.ProtoReflect.Descriptor instead.
func (*TermiosEntry) GetCCc ¶
func (x *TermiosEntry) GetCCc() []uint32
func (*TermiosEntry) GetCCflag ¶
func (x *TermiosEntry) GetCCflag() uint32
func (*TermiosEntry) GetCIflag ¶
func (x *TermiosEntry) GetCIflag() uint32
func (*TermiosEntry) GetCIspeed ¶
func (x *TermiosEntry) GetCIspeed() uint32
func (*TermiosEntry) GetCLflag ¶
func (x *TermiosEntry) GetCLflag() uint32
func (*TermiosEntry) GetCLine ¶
func (x *TermiosEntry) GetCLine() uint32
func (*TermiosEntry) GetCOflag ¶
func (x *TermiosEntry) GetCOflag() uint32
func (*TermiosEntry) GetCOspeed ¶
func (x *TermiosEntry) GetCOspeed() uint32
func (*TermiosEntry) ProtoMessage ¶
func (*TermiosEntry) ProtoMessage()
func (*TermiosEntry) ProtoReflect ¶
func (x *TermiosEntry) ProtoReflect() protoreflect.Message
func (*TermiosEntry) Reset ¶
func (x *TermiosEntry) Reset()
func (*TermiosEntry) String ¶
func (x *TermiosEntry) String() string
type TtyDataEntry ¶
type TtyDataEntry struct { TtyId *uint32 `protobuf:"varint,1,req,name=tty_id,json=ttyId" json:"tty_id,omitempty"` Data []byte `protobuf:"bytes,2,req,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TtyDataEntry) Descriptor
deprecated
func (*TtyDataEntry) Descriptor() ([]byte, []int)
Deprecated: Use TtyDataEntry.ProtoReflect.Descriptor instead.
func (*TtyDataEntry) GetData ¶
func (x *TtyDataEntry) GetData() []byte
func (*TtyDataEntry) GetTtyId ¶
func (x *TtyDataEntry) GetTtyId() uint32
func (*TtyDataEntry) ProtoMessage ¶
func (*TtyDataEntry) ProtoMessage()
func (*TtyDataEntry) ProtoReflect ¶
func (x *TtyDataEntry) ProtoReflect() protoreflect.Message
func (*TtyDataEntry) Reset ¶
func (x *TtyDataEntry) Reset()
func (*TtyDataEntry) String ¶
func (x *TtyDataEntry) String() string
type TtyFileEntry ¶
type TtyFileEntry struct { Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` TtyInfoId *uint32 `protobuf:"varint,2,req,name=tty_info_id,json=ttyInfoId" json:"tty_info_id,omitempty"` Flags *uint32 `protobuf:"varint,3,req,name=flags" json:"flags,omitempty"` Fown *fown.FownEntry `protobuf:"bytes,4,req,name=fown" json:"fown,omitempty"` // optional sint32 mnt_id = 5 [default = 0]; RegfId *uint32 `protobuf:"varint,6,opt,name=regf_id,json=regfId" json:"regf_id,omitempty"` // contains filtered or unexported fields }
func (*TtyFileEntry) Descriptor
deprecated
func (*TtyFileEntry) Descriptor() ([]byte, []int)
Deprecated: Use TtyFileEntry.ProtoReflect.Descriptor instead.
func (*TtyFileEntry) GetFlags ¶
func (x *TtyFileEntry) GetFlags() uint32
func (*TtyFileEntry) GetFown ¶
func (x *TtyFileEntry) GetFown() *fown.FownEntry
func (*TtyFileEntry) GetId ¶
func (x *TtyFileEntry) GetId() uint32
func (*TtyFileEntry) GetRegfId ¶
func (x *TtyFileEntry) GetRegfId() uint32
func (*TtyFileEntry) GetTtyInfoId ¶
func (x *TtyFileEntry) GetTtyInfoId() uint32
func (*TtyFileEntry) ProtoMessage ¶
func (*TtyFileEntry) ProtoMessage()
func (*TtyFileEntry) ProtoReflect ¶
func (x *TtyFileEntry) ProtoReflect() protoreflect.Message
func (*TtyFileEntry) Reset ¶
func (x *TtyFileEntry) Reset()
func (*TtyFileEntry) String ¶
func (x *TtyFileEntry) String() string
type TtyInfoEntry ¶
type TtyInfoEntry struct { Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Type *TtyType `protobuf:"varint,2,req,name=type,enum=TtyType" json:"type,omitempty"` Locked *bool `protobuf:"varint,3,req,name=locked" json:"locked,omitempty"` // Unix98 PTY only Exclusive *bool `protobuf:"varint,4,req,name=exclusive" json:"exclusive,omitempty"` PacketMode *bool `protobuf:"varint,5,req,name=packet_mode,json=packetMode" json:"packet_mode,omitempty"` // Unix98 PTY only Sid *uint32 `protobuf:"varint,6,req,name=sid" json:"sid,omitempty"` Pgrp *uint32 `protobuf:"varint,7,req,name=pgrp" json:"pgrp,omitempty"` // Convenient for printing errors and such, with this // device encoded we can figure out major and minor // numbers. Rdev *uint32 `protobuf:"varint,8,req,name=rdev" json:"rdev,omitempty"` Termios *TermiosEntry `protobuf:"bytes,9,opt,name=termios" json:"termios,omitempty"` TermiosLocked *TermiosEntry `protobuf:"bytes,10,opt,name=termios_locked,json=termiosLocked" json:"termios_locked,omitempty"` Winsize *WinsizeEntry `protobuf:"bytes,11,opt,name=winsize" json:"winsize,omitempty"` // These are optional fields which presence depends on // TTY type. Pty *TtyPtyEntry `protobuf:"bytes,12,opt,name=pty" json:"pty,omitempty"` Dev *uint32 `protobuf:"varint,13,opt,name=dev" json:"dev,omitempty"` Uid *uint32 `protobuf:"varint,14,opt,name=uid" json:"uid,omitempty"` Gid *uint32 `protobuf:"varint,15,opt,name=gid" json:"gid,omitempty"` // contains filtered or unexported fields }
func (*TtyInfoEntry) Descriptor
deprecated
func (*TtyInfoEntry) Descriptor() ([]byte, []int)
Deprecated: Use TtyInfoEntry.ProtoReflect.Descriptor instead.
func (*TtyInfoEntry) GetDev ¶
func (x *TtyInfoEntry) GetDev() uint32
func (*TtyInfoEntry) GetExclusive ¶
func (x *TtyInfoEntry) GetExclusive() bool
func (*TtyInfoEntry) GetGid ¶
func (x *TtyInfoEntry) GetGid() uint32
func (*TtyInfoEntry) GetId ¶
func (x *TtyInfoEntry) GetId() uint32
func (*TtyInfoEntry) GetLocked ¶
func (x *TtyInfoEntry) GetLocked() bool
func (*TtyInfoEntry) GetPacketMode ¶
func (x *TtyInfoEntry) GetPacketMode() bool
func (*TtyInfoEntry) GetPgrp ¶
func (x *TtyInfoEntry) GetPgrp() uint32
func (*TtyInfoEntry) GetPty ¶
func (x *TtyInfoEntry) GetPty() *TtyPtyEntry
func (*TtyInfoEntry) GetRdev ¶
func (x *TtyInfoEntry) GetRdev() uint32
func (*TtyInfoEntry) GetSid ¶
func (x *TtyInfoEntry) GetSid() uint32
func (*TtyInfoEntry) GetTermios ¶
func (x *TtyInfoEntry) GetTermios() *TermiosEntry
func (*TtyInfoEntry) GetTermiosLocked ¶
func (x *TtyInfoEntry) GetTermiosLocked() *TermiosEntry
func (*TtyInfoEntry) GetType ¶
func (x *TtyInfoEntry) GetType() TtyType
func (*TtyInfoEntry) GetUid ¶
func (x *TtyInfoEntry) GetUid() uint32
func (*TtyInfoEntry) GetWinsize ¶
func (x *TtyInfoEntry) GetWinsize() *WinsizeEntry
func (*TtyInfoEntry) ProtoMessage ¶
func (*TtyInfoEntry) ProtoMessage()
func (*TtyInfoEntry) ProtoReflect ¶
func (x *TtyInfoEntry) ProtoReflect() protoreflect.Message
func (*TtyInfoEntry) Reset ¶
func (x *TtyInfoEntry) Reset()
func (*TtyInfoEntry) String ¶
func (x *TtyInfoEntry) String() string
type TtyPtyEntry ¶
type TtyPtyEntry struct { Index *uint32 `protobuf:"varint,1,req,name=index" json:"index,omitempty"` // contains filtered or unexported fields }
func (*TtyPtyEntry) Descriptor
deprecated
func (*TtyPtyEntry) Descriptor() ([]byte, []int)
Deprecated: Use TtyPtyEntry.ProtoReflect.Descriptor instead.
func (*TtyPtyEntry) GetIndex ¶
func (x *TtyPtyEntry) GetIndex() uint32
func (*TtyPtyEntry) ProtoMessage ¶
func (*TtyPtyEntry) ProtoMessage()
func (*TtyPtyEntry) ProtoReflect ¶
func (x *TtyPtyEntry) ProtoReflect() protoreflect.Message
func (*TtyPtyEntry) Reset ¶
func (x *TtyPtyEntry) Reset()
func (*TtyPtyEntry) String ¶
func (x *TtyPtyEntry) String() string
type TtyType ¶
type TtyType int32
func (TtyType) Descriptor ¶
func (TtyType) Descriptor() protoreflect.EnumDescriptor
func (TtyType) EnumDescriptor
deprecated
func (TtyType) Number ¶
func (x TtyType) Number() protoreflect.EnumNumber
func (TtyType) Type ¶
func (TtyType) Type() protoreflect.EnumType
func (*TtyType) UnmarshalJSON
deprecated
type WinsizeEntry ¶
type WinsizeEntry struct { WsRow *uint32 `protobuf:"varint,1,req,name=ws_row,json=wsRow" json:"ws_row,omitempty"` WsCol *uint32 `protobuf:"varint,2,req,name=ws_col,json=wsCol" json:"ws_col,omitempty"` WsXpixel *uint32 `protobuf:"varint,3,req,name=ws_xpixel,json=wsXpixel" json:"ws_xpixel,omitempty"` WsYpixel *uint32 `protobuf:"varint,4,req,name=ws_ypixel,json=wsYpixel" json:"ws_ypixel,omitempty"` // contains filtered or unexported fields }
func (*WinsizeEntry) Descriptor
deprecated
func (*WinsizeEntry) Descriptor() ([]byte, []int)
Deprecated: Use WinsizeEntry.ProtoReflect.Descriptor instead.
func (*WinsizeEntry) GetWsCol ¶
func (x *WinsizeEntry) GetWsCol() uint32
func (*WinsizeEntry) GetWsRow ¶
func (x *WinsizeEntry) GetWsRow() uint32
func (*WinsizeEntry) GetWsXpixel ¶
func (x *WinsizeEntry) GetWsXpixel() uint32
func (*WinsizeEntry) GetWsYpixel ¶
func (x *WinsizeEntry) GetWsYpixel() uint32
func (*WinsizeEntry) ProtoMessage ¶
func (*WinsizeEntry) ProtoMessage()
func (*WinsizeEntry) ProtoReflect ¶
func (x *WinsizeEntry) ProtoReflect() protoreflect.Message
func (*WinsizeEntry) Reset ¶
func (x *WinsizeEntry) Reset()
func (*WinsizeEntry) String ¶
func (x *WinsizeEntry) String() string
Click to show internal directories.
Click to hide internal directories.