runc

package
v1.36.11-2026050812565... Latest Latest
Warning

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

Go to latest
Published: unknown License: AGPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_plugins_runc_runc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type QueryReq

type QueryReq struct {
	Root string   `protobuf:"bytes,1,opt,name=Root,proto3" json:"Root,omitempty"`
	IDs  []string `protobuf:"bytes,2,rep,name=IDs,proto3" json:"IDs,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryReq) GetIDs

func (x *QueryReq) GetIDs() []string

func (*QueryReq) GetRoot

func (x *QueryReq) GetRoot() string

func (*QueryReq) ProtoMessage

func (*QueryReq) ProtoMessage()

func (*QueryReq) ProtoReflect

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

func (*QueryReq) Reset

func (x *QueryReq) Reset()

func (*QueryReq) SetIDs

func (x *QueryReq) SetIDs(v []string)

func (*QueryReq) SetRoot

func (x *QueryReq) SetRoot(v string)

func (*QueryReq) String

func (x *QueryReq) String() string

type QueryReq_builder

type QueryReq_builder struct {
	Root string
	IDs  []string
	// contains filtered or unexported fields
}

func (QueryReq_builder) Build

func (b0 QueryReq_builder) Build() *QueryReq

type QueryResp

type QueryResp struct {
	Containers []*Runc `protobuf:"bytes,1,rep,name=Containers,proto3" json:"Containers,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryResp) GetContainers

func (x *QueryResp) GetContainers() []*Runc

func (*QueryResp) ProtoMessage

func (*QueryResp) ProtoMessage()

func (*QueryResp) ProtoReflect

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

func (*QueryResp) Reset

func (x *QueryResp) Reset()

func (*QueryResp) SetContainers

func (x *QueryResp) SetContainers(v []*Runc)

func (*QueryResp) String

func (x *QueryResp) String() string

type QueryResp_builder

type QueryResp_builder struct {
	Containers []*Runc
	// contains filtered or unexported fields
}

func (QueryResp_builder) Build

func (b0 QueryResp_builder) Build() *QueryResp

type RWFile

type RWFile 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"`
	Type          string            `protobuf:"bytes,5,opt,name=Type,proto3" json:"Type,omitempty"` // "file", "dir", "symlink", "chardev", "blockdev"
	DevMajor      uint32            `protobuf:"varint,6,opt,name=DevMajor,proto3" json:"DevMajor,omitempty"`
	DevMinor      uint32            `protobuf:"varint,7,opt,name=DevMinor,proto3" json:"DevMinor,omitempty"`
	Xattrs        map[string]string `` /* 139-byte string literal not displayed */
	SymlinkTarget string            `protobuf:"bytes,9,opt,name=SymlinkTarget,proto3" json:"SymlinkTarget,omitempty"`
	Mtime         uint64            `protobuf:"varint,10,opt,name=Mtime,proto3" json:"Mtime,omitempty"`
	Content       [][]byte          `protobuf:"bytes,11,rep,name=Content,proto3" json:"Content,omitempty"` // repeated for chunking large files to not take up ram
	// contains filtered or unexported fields
}

func (*RWFile) GetContent

func (x *RWFile) GetContent() [][]byte

func (*RWFile) GetDevMajor

func (x *RWFile) GetDevMajor() uint32

func (*RWFile) GetDevMinor

func (x *RWFile) GetDevMinor() uint32

func (*RWFile) GetGid

func (x *RWFile) GetGid() uint32

func (*RWFile) GetMode

func (x *RWFile) GetMode() uint32

func (*RWFile) GetMtime

func (x *RWFile) GetMtime() uint64

func (*RWFile) GetPath

func (x *RWFile) GetPath() string

func (*RWFile) GetSymlinkTarget

func (x *RWFile) GetSymlinkTarget() string

func (*RWFile) GetType

func (x *RWFile) GetType() string

func (*RWFile) GetUid

func (x *RWFile) GetUid() uint32

func (*RWFile) GetXattrs

func (x *RWFile) GetXattrs() map[string]string

func (*RWFile) ProtoMessage

func (*RWFile) ProtoMessage()

func (*RWFile) ProtoReflect

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

func (*RWFile) Reset

func (x *RWFile) Reset()

func (*RWFile) SetContent

func (x *RWFile) SetContent(v [][]byte)

func (*RWFile) SetDevMajor

func (x *RWFile) SetDevMajor(v uint32)

func (*RWFile) SetDevMinor

func (x *RWFile) SetDevMinor(v uint32)

func (*RWFile) SetGid

func (x *RWFile) SetGid(v uint32)

func (*RWFile) SetMode

func (x *RWFile) SetMode(v uint32)

func (*RWFile) SetMtime

func (x *RWFile) SetMtime(v uint64)

func (*RWFile) SetPath

func (x *RWFile) SetPath(v string)

func (*RWFile) SetSymlinkTarget

func (x *RWFile) SetSymlinkTarget(v string)

func (*RWFile) SetType

func (x *RWFile) SetType(v string)

func (*RWFile) SetUid

func (x *RWFile) SetUid(v uint32)

func (*RWFile) SetXattrs

func (x *RWFile) SetXattrs(v map[string]string)

func (*RWFile) String

func (x *RWFile) String() string

type RWFile_builder

type RWFile_builder struct {
	Path          string
	Mode          uint32
	Uid           uint32
	Gid           uint32
	Type          string
	DevMajor      uint32
	DevMinor      uint32
	Xattrs        map[string]string
	SymlinkTarget string
	Mtime         uint64
	Content       [][]byte
	// contains filtered or unexported fields
}

func (RWFile_builder) Build

func (b0 RWFile_builder) Build() *RWFile

type Runc

type Runc struct {
	ID                string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Bundle            string `protobuf:"bytes,2,opt,name=Bundle,proto3" json:"Bundle,omitempty"`
	Root              string `protobuf:"bytes,3,opt,name=Root,proto3" json:"Root,omitempty"`
	NoPivot           bool   `protobuf:"varint,4,opt,name=NoPivot,proto3" json:"NoPivot,omitempty"`
	NoNewKeyring      bool   `protobuf:"varint,5,opt,name=NoNewKeyring,proto3" json:"NoNewKeyring,omitempty"`
	WorkingDir        string `protobuf:"bytes,6,opt,name=WorkingDir,proto3" json:"WorkingDir,omitempty"`
	ConsoleSocket     string `protobuf:"bytes,7,opt,name=ConsoleSocket,proto3" json:"ConsoleSocket,omitempty"`
	Detach            bool   `protobuf:"varint,8,opt,name=Detach,proto3" json:"Detach,omitempty"`
	PidFile           string `protobuf:"bytes,9,opt,name=PidFile,proto3" json:"PidFile,omitempty"`
	Rootless          string `protobuf:"bytes,10,opt,name=Rootless,proto3" json:"Rootless,omitempty"`
	SystemdCgroup     bool   `protobuf:"varint,11,opt,name=SystemdCgroup,proto3" json:"SystemdCgroup,omitempty"`
	NoSubreaper       bool   `protobuf:"varint,12,opt,name=NoSubreaper,proto3" json:"NoSubreaper,omitempty"`
	PreserveFDs       int32  `protobuf:"varint,13,opt,name=PreserveFDs,proto3" json:"PreserveFDs,omitempty"`
	NetnsEth0IPv4Addr string `protobuf:"bytes,14,opt,name=NetnsEth0IPv4Addr,proto3" json:"NetnsEth0IPv4Addr,omitempty"`
	// contains filtered or unexported fields
}

func (*Runc) GetBundle

func (x *Runc) GetBundle() string

func (*Runc) GetConsoleSocket

func (x *Runc) GetConsoleSocket() string

func (*Runc) GetDetach

func (x *Runc) GetDetach() bool

func (*Runc) GetID

func (x *Runc) GetID() string

func (*Runc) GetNetnsEth0IPv4Addr

func (x *Runc) GetNetnsEth0IPv4Addr() string

func (*Runc) GetNoNewKeyring

func (x *Runc) GetNoNewKeyring() bool

func (*Runc) GetNoPivot

func (x *Runc) GetNoPivot() bool

func (*Runc) GetNoSubreaper

func (x *Runc) GetNoSubreaper() bool

func (*Runc) GetPidFile

func (x *Runc) GetPidFile() string

func (*Runc) GetPreserveFDs

func (x *Runc) GetPreserveFDs() int32

func (*Runc) GetRoot

func (x *Runc) GetRoot() string

func (*Runc) GetRootless

func (x *Runc) GetRootless() string

func (*Runc) GetSystemdCgroup

func (x *Runc) GetSystemdCgroup() bool

func (*Runc) GetWorkingDir

func (x *Runc) GetWorkingDir() string

func (*Runc) ProtoMessage

func (*Runc) ProtoMessage()

func (*Runc) ProtoReflect

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

func (*Runc) Reset

func (x *Runc) Reset()

func (*Runc) SetBundle

func (x *Runc) SetBundle(v string)

func (*Runc) SetConsoleSocket

func (x *Runc) SetConsoleSocket(v string)

func (*Runc) SetDetach

func (x *Runc) SetDetach(v bool)

func (*Runc) SetID

func (x *Runc) SetID(v string)

func (*Runc) SetNetnsEth0IPv4Addr

func (x *Runc) SetNetnsEth0IPv4Addr(v string)

func (*Runc) SetNoNewKeyring

func (x *Runc) SetNoNewKeyring(v bool)

func (*Runc) SetNoPivot

func (x *Runc) SetNoPivot(v bool)

func (*Runc) SetNoSubreaper

func (x *Runc) SetNoSubreaper(v bool)

func (*Runc) SetPidFile

func (x *Runc) SetPidFile(v string)

func (*Runc) SetPreserveFDs

func (x *Runc) SetPreserveFDs(v int32)

func (*Runc) SetRoot

func (x *Runc) SetRoot(v string)

func (*Runc) SetRootless

func (x *Runc) SetRootless(v string)

func (*Runc) SetSystemdCgroup

func (x *Runc) SetSystemdCgroup(v bool)

func (*Runc) SetWorkingDir

func (x *Runc) SetWorkingDir(v string)

func (*Runc) String

func (x *Runc) String() string

type Runc_builder

type Runc_builder struct {
	ID                string
	Bundle            string
	Root              string
	NoPivot           bool
	NoNewKeyring      bool
	WorkingDir        string
	ConsoleSocket     string
	Detach            bool
	PidFile           string
	Rootless          string
	SystemdCgroup     bool
	NoSubreaper       bool
	PreserveFDs       int32
	NetnsEth0IPv4Addr string
	// contains filtered or unexported fields
}

func (Runc_builder) Build

func (b0 Runc_builder) Build() *Runc

Source Files

  • runc.pb.go

Jump to

Keyboard shortcuts

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