sk_unix

package
v7.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_UnixSkEntry_MntId = int32(-1)
)

Default values for UnixSkEntry fields.

Variables

View Source
var File_sk_unix_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FilePermsEntry

type FilePermsEntry struct {
	Mode *uint32 `protobuf:"varint,1,req,name=mode" json:"mode,omitempty"`
	Uid  *uint32 `protobuf:"varint,2,req,name=uid" json:"uid,omitempty"`
	Gid  *uint32 `protobuf:"varint,3,req,name=gid" json:"gid,omitempty"`
	// contains filtered or unexported fields
}

func (*FilePermsEntry) Descriptor deprecated

func (*FilePermsEntry) Descriptor() ([]byte, []int)

Deprecated: Use FilePermsEntry.ProtoReflect.Descriptor instead.

func (*FilePermsEntry) GetGid

func (x *FilePermsEntry) GetGid() uint32

func (*FilePermsEntry) GetMode

func (x *FilePermsEntry) GetMode() uint32

func (*FilePermsEntry) GetUid

func (x *FilePermsEntry) GetUid() uint32

func (*FilePermsEntry) ProtoMessage

func (*FilePermsEntry) ProtoMessage()

func (*FilePermsEntry) ProtoReflect

func (x *FilePermsEntry) ProtoReflect() protoreflect.Message

func (*FilePermsEntry) Reset

func (x *FilePermsEntry) Reset()

func (*FilePermsEntry) String

func (x *FilePermsEntry) String() string

type UnixSkEntry

type UnixSkEntry struct {

	// Few words about why we need both -- id and ino.
	//
	// The former one is used to link file descriptor from
	// fdinfo image with the unix_sk_entry that should be
	// opened under it.
	//
	// The latter one ties together unix peers -- the peer
	// member on this structure is the ino one of its peer
	// and simetimes vise-versa.
	Id      *uint32              `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Ino     *uint32              `protobuf:"varint,2,req,name=ino" json:"ino,omitempty"`
	Type    *uint32              `protobuf:"varint,3,req,name=type" json:"type,omitempty"`
	State   *uint32              `protobuf:"varint,4,req,name=state" json:"state,omitempty"`
	Flags   *uint32              `protobuf:"varint,5,req,name=flags" json:"flags,omitempty"`
	Uflags  *uint32              `protobuf:"varint,6,req,name=uflags" json:"uflags,omitempty"`
	Backlog *uint32              `protobuf:"varint,7,req,name=backlog" json:"backlog,omitempty"`
	Peer    *uint32              `protobuf:"varint,8,req,name=peer" json:"peer,omitempty"`
	Fown    *fown.FownEntry      `protobuf:"bytes,9,req,name=fown" json:"fown,omitempty"`
	Opts    *sk_opts.SkOptsEntry `protobuf:"bytes,10,req,name=opts" json:"opts,omitempty"`
	// Abstract name may contain \0 at any point,
	// so we need to carry it as byte sequence...
	Name      []byte              `protobuf:"bytes,11,req,name=name" json:"name,omitempty"`
	Shutdown  *sk_opts.SkShutdown `protobuf:"varint,12,opt,name=shutdown,enum=SkShutdown" json:"shutdown,omitempty"`
	FilePerms *FilePermsEntry     `protobuf:"bytes,13,opt,name=file_perms,json=filePerms" json:"file_perms,omitempty"`
	// Relative socket name may have prefix.
	NameDir *string `protobuf:"bytes,14,opt,name=name_dir,json=nameDir" json:"name_dir,omitempty"`
	Deleted *bool   `protobuf:"varint,15,opt,name=deleted" json:"deleted,omitempty"`
	NsId    *uint32 `protobuf:"varint,16,opt,name=ns_id,json=nsId" json:"ns_id,omitempty"`
	MntId   *int32  `protobuf:"zigzag32,17,opt,name=mnt_id,json=mntId,def=-1" json:"mnt_id,omitempty"` // Please, don't use field with number 18.
	// contains filtered or unexported fields
}

func (*UnixSkEntry) Descriptor deprecated

func (*UnixSkEntry) Descriptor() ([]byte, []int)

Deprecated: Use UnixSkEntry.ProtoReflect.Descriptor instead.

func (*UnixSkEntry) GetBacklog

func (x *UnixSkEntry) GetBacklog() uint32

func (*UnixSkEntry) GetDeleted

func (x *UnixSkEntry) GetDeleted() bool

func (*UnixSkEntry) GetFilePerms

func (x *UnixSkEntry) GetFilePerms() *FilePermsEntry

func (*UnixSkEntry) GetFlags

func (x *UnixSkEntry) GetFlags() uint32

func (*UnixSkEntry) GetFown

func (x *UnixSkEntry) GetFown() *fown.FownEntry

func (*UnixSkEntry) GetId

func (x *UnixSkEntry) GetId() uint32

func (*UnixSkEntry) GetIno

func (x *UnixSkEntry) GetIno() uint32

func (*UnixSkEntry) GetMntId

func (x *UnixSkEntry) GetMntId() int32

func (*UnixSkEntry) GetName

func (x *UnixSkEntry) GetName() []byte

func (*UnixSkEntry) GetNameDir

func (x *UnixSkEntry) GetNameDir() string

func (*UnixSkEntry) GetNsId

func (x *UnixSkEntry) GetNsId() uint32

func (*UnixSkEntry) GetOpts

func (x *UnixSkEntry) GetOpts() *sk_opts.SkOptsEntry

func (*UnixSkEntry) GetPeer

func (x *UnixSkEntry) GetPeer() uint32

func (*UnixSkEntry) GetShutdown

func (x *UnixSkEntry) GetShutdown() sk_opts.SkShutdown

func (*UnixSkEntry) GetState

func (x *UnixSkEntry) GetState() uint32

func (*UnixSkEntry) GetType

func (x *UnixSkEntry) GetType() uint32

func (*UnixSkEntry) GetUflags

func (x *UnixSkEntry) GetUflags() uint32

func (*UnixSkEntry) ProtoMessage

func (*UnixSkEntry) ProtoMessage()

func (*UnixSkEntry) ProtoReflect

func (x *UnixSkEntry) ProtoReflect() protoreflect.Message

func (*UnixSkEntry) Reset

func (x *UnixSkEntry) Reset()

func (*UnixSkEntry) String

func (x *UnixSkEntry) String() string

Jump to

Keyboard shortcuts

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