inventory

package
v7.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Lsmtype_name = map[int32]string{
		0: "NO_LSM",
		1: "SELINUX",
		2: "APPARMOR",
	}
	Lsmtype_value = map[string]int32{
		"NO_LSM":   0,
		"SELINUX":  1,
		"APPARMOR": 2,
	}
)

Enum value maps for Lsmtype.

View Source
var File_inventory_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type InventoryEntry

type InventoryEntry struct {
	ImgVersion        *uint32                     `protobuf:"varint,1,req,name=img_version,json=imgVersion" json:"img_version,omitempty"`
	FdinfoPerId       *bool                       `protobuf:"varint,2,opt,name=fdinfo_per_id,json=fdinfoPerId" json:"fdinfo_per_id,omitempty"`
	RootIds           *criu_core.TaskKobjIdsEntry `protobuf:"bytes,3,opt,name=root_ids,json=rootIds" json:"root_ids,omitempty"`
	NsPerId           *bool                       `protobuf:"varint,4,opt,name=ns_per_id,json=nsPerId" json:"ns_per_id,omitempty"`
	RootCgSet         *uint32                     `protobuf:"varint,5,opt,name=root_cg_set,json=rootCgSet" json:"root_cg_set,omitempty"`
	Lsmtype           *Lsmtype                    `protobuf:"varint,6,opt,name=lsmtype,enum=Lsmtype" json:"lsmtype,omitempty"`
	DumpUptime        *uint64                     `protobuf:"varint,8,opt,name=dump_uptime,json=dumpUptime" json:"dump_uptime,omitempty"`
	PreDumpMode       *uint32                     `protobuf:"varint,9,opt,name=pre_dump_mode,json=preDumpMode" json:"pre_dump_mode,omitempty"`
	TcpClose          *bool                       `protobuf:"varint,10,opt,name=tcp_close,json=tcpClose" json:"tcp_close,omitempty"`
	NetworkLockMethod *uint32                     `protobuf:"varint,11,opt,name=network_lock_method,json=networkLockMethod" json:"network_lock_method,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryEntry) Descriptor deprecated

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

Deprecated: Use InventoryEntry.ProtoReflect.Descriptor instead.

func (*InventoryEntry) GetDumpUptime

func (x *InventoryEntry) GetDumpUptime() uint64

func (*InventoryEntry) GetFdinfoPerId

func (x *InventoryEntry) GetFdinfoPerId() bool

func (*InventoryEntry) GetImgVersion

func (x *InventoryEntry) GetImgVersion() uint32

func (*InventoryEntry) GetLsmtype

func (x *InventoryEntry) GetLsmtype() Lsmtype

func (*InventoryEntry) GetNetworkLockMethod

func (x *InventoryEntry) GetNetworkLockMethod() uint32

func (*InventoryEntry) GetNsPerId

func (x *InventoryEntry) GetNsPerId() bool

func (*InventoryEntry) GetPreDumpMode

func (x *InventoryEntry) GetPreDumpMode() uint32

func (*InventoryEntry) GetRootCgSet

func (x *InventoryEntry) GetRootCgSet() uint32

func (*InventoryEntry) GetRootIds

func (x *InventoryEntry) GetRootIds() *criu_core.TaskKobjIdsEntry

func (*InventoryEntry) GetTcpClose

func (x *InventoryEntry) GetTcpClose() bool

func (*InventoryEntry) ProtoMessage

func (*InventoryEntry) ProtoMessage()

func (*InventoryEntry) ProtoReflect

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

func (*InventoryEntry) Reset

func (x *InventoryEntry) Reset()

func (*InventoryEntry) String

func (x *InventoryEntry) String() string

type Lsmtype

type Lsmtype int32
const (
	Lsmtype_NO_LSM   Lsmtype = 0
	Lsmtype_SELINUX  Lsmtype = 1
	Lsmtype_APPARMOR Lsmtype = 2
)

func (Lsmtype) Descriptor

func (Lsmtype) Descriptor() protoreflect.EnumDescriptor

func (Lsmtype) Enum

func (x Lsmtype) Enum() *Lsmtype

func (Lsmtype) EnumDescriptor deprecated

func (Lsmtype) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lsmtype.Descriptor instead.

func (Lsmtype) Number

func (x Lsmtype) Number() protoreflect.EnumNumber

func (Lsmtype) String

func (x Lsmtype) String() string

func (Lsmtype) Type

func (Lsmtype) Type() protoreflect.EnumType

func (*Lsmtype) UnmarshalJSON deprecated

func (x *Lsmtype) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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