Documentation ¶
Index ¶
- Variables
- type Filesystem
- func (*Filesystem) Descriptor() ([]byte, []int)deprecated
- func (x *Filesystem) GetFilesystem() string
- func (x *Filesystem) GetFreeKb() uint64
- func (x *Filesystem) GetInodes() uint64
- func (x *Filesystem) GetInodesFree() uint64
- func (x *Filesystem) GetInodesUsed() uint64
- func (x *Filesystem) GetInodesUsedPct() float32
- func (x *Filesystem) GetIsAutomounted() bool
- func (x *Filesystem) GetIsLocal() bool
- func (x *Filesystem) GetMountOptions() []string
- func (x *Filesystem) GetMountedOn() string
- func (x *Filesystem) GetSizeKb() uint64
- func (x *Filesystem) GetType() string
- func (x *Filesystem) GetUsedKb() uint64
- func (x *Filesystem) GetUsedPct() float32
- func (*Filesystem) ProtoMessage()
- func (x *Filesystem) ProtoReflect() protoreflect.Message
- func (x *Filesystem) Reset()
- func (x *Filesystem) String() string
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetFields() []string
- func (x *Filter) GetLimit() int32
- func (x *Filter) GetMatches() []*Match
- func (x *Filter) GetSorting() []*Sort
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type Group
- func (*Group) Descriptor() ([]byte, []int)deprecated
- func (x *Group) GetGid() uint64
- func (x *Group) GetGidSigned() int64
- func (x *Group) GetGroupname() string
- func (x *Group) GetMembers() []string
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) String() string
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetField() string
- func (x *Match) GetOperator() Operator
- func (x *Match) GetValue() string
- func (x *Match) GetValues() []string
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type Operator
- type Rack
- func (*Rack) Descriptor() ([]byte, []int)deprecated
- func (x *Rack) GetHeight() int32
- func (x *Rack) GetRack() string
- func (x *Rack) GetSite() string
- func (x *Rack) GetStartPosition() int32
- func (x *Rack) GetStartPositionTop() bool
- func (*Rack) ProtoMessage()
- func (x *Rack) ProtoReflect() protoreflect.Message
- func (x *Rack) Reset()
- func (x *Rack) String() string
- type Site
- func (*Site) Descriptor() ([]byte, []int)deprecated
- func (x *Site) GetAddress1() string
- func (x *Site) GetAddress2() string
- func (x *Site) GetCity() string
- func (x *Site) GetCountryCode() string
- func (x *Site) GetOrganization() string
- func (x *Site) GetSite() string
- func (x *Site) GetZipPostalCode() string
- func (*Site) ProtoMessage()
- func (x *Site) ProtoReflect() protoreflect.Message
- func (x *Site) Reset()
- func (x *Site) String() string
- type Sort
- type System
- func (*System) Descriptor() ([]byte, []int)deprecated
- func (x *System) GetAddress() string
- func (x *System) GetBiosDate() string
- func (x *System) GetBiosVendor() string
- func (x *System) GetBiosVersion() string
- func (x *System) GetBootRomVersion() string
- func (x *System) GetCpuCoresPerSocket() int32
- func (x *System) GetCpuFlags() string
- func (x *System) GetCpuLogicalCores() int32
- func (x *System) GetCpuModel() string
- func (x *System) GetCpuPhysicalCores() int32
- func (x *System) GetCpuSockets() int32
- func (x *System) GetCpuThreadsPerCore() int32
- func (x *System) GetCreated() *timestamppb.Timestamp
- func (x *System) GetDescription() string
- func (x *System) GetHostname() string
- func (x *System) GetKernel() string
- func (x *System) GetKernelRelease() string
- func (x *System) GetKernelVersion() string
- func (x *System) GetLastSeen() *timestamppb.Timestamp
- func (x *System) GetManufacturer() string
- func (x *System) GetMemoryGb() int32
- func (x *System) GetOs() string
- func (x *System) GetOsBuild() string
- func (x *System) GetOsDescr() string
- func (x *System) GetOsVersion() string
- func (x *System) GetProduct() string
- func (x *System) GetProductVersion() string
- func (x *System) GetRack() string
- func (x *System) GetRackHeight() int32
- func (x *System) GetRackPosition() int32
- func (x *System) GetSerialNumber() string
- func (x *System) GetSite() string
- func (x *System) GetSmcVersion() string
- func (x *System) GetUpdated() *timestamppb.Timestamp
- func (x *System) GetVm() bool
- func (x *System) GetVmServer() string
- func (*System) ProtoMessage()
- func (x *System) ProtoReflect() protoreflect.Message
- func (x *System) Reset()
- func (x *System) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetComment() string
- func (x *User) GetDirectory() string
- func (x *User) GetGid() uint64
- func (x *User) GetGidSigned() int64
- func (x *User) GetShell() string
- func (x *User) GetUid() uint64
- func (x *User) GetUidSigned() int64
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Operator_name = map[int32]string{ 0: "EQ", 1: "NEQ", 2: "GT", 3: "GTE", 4: "LT", 5: "LTE", 6: "IN", 7: "LIKE", } Operator_value = map[string]int32{ "EQ": 0, "NEQ": 1, "GT": 2, "GTE": 3, "LT": 4, "LTE": 5, "IN": 6, "LIKE": 7, } )
Enum value maps for Operator.
View Source
var File_pb_v1_resources_filesystem_proto protoreflect.FileDescriptor
View Source
var File_pb_v1_resources_filter_proto protoreflect.FileDescriptor
View Source
var File_pb_v1_resources_group_proto protoreflect.FileDescriptor
View Source
var File_pb_v1_resources_rack_proto protoreflect.FileDescriptor
View Source
var File_pb_v1_resources_site_proto protoreflect.FileDescriptor
View Source
var File_pb_v1_resources_system_proto protoreflect.FileDescriptor
View Source
var File_pb_v1_resources_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
type Filesystem struct { Filesystem string `protobuf:"bytes,1,opt,name=filesystem,proto3" json:"filesystem" csv:"filesystem" yaml:"filesystem"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type" csv:"type" yaml:"type"` // KB as in 1024 bytes SizeKb uint64 `protobuf:"varint,3,opt,name=size_kb,json=sizeKb,proto3" json:"size_kb" csv:"size_kb" yaml:"size_kb"` UsedKb uint64 `protobuf:"varint,4,opt,name=used_kb,json=usedKb,proto3" json:"used_kb" csv:"used_kb" yaml:"used_kb"` FreeKb uint64 `protobuf:"varint,5,opt,name=free_kb,json=freeKb,proto3" json:"free_kb" csv:"free_kb" yaml:"free_kb"` UsedPct float32 `protobuf:"fixed32,6,opt,name=used_pct,json=usedPct,proto3" json:"used_pct" csv:"used_pct" yaml:"used_pct"` Inodes uint64 `protobuf:"varint,7,opt,name=inodes,proto3" json:"inodes" csv:"inodes" yaml:"inodes"` InodesUsed uint64 `protobuf:"varint,8,opt,name=inodes_used,json=inodesUsed,proto3" json:"inodes_used" csv:"inodes_used" yaml:"inodes_used"` InodesFree uint64 `protobuf:"varint,9,opt,name=inodes_free,json=inodesFree,proto3" json:"inodes_free" csv:"inodes_free" yaml:"inodes_free"` InodesUsedPct float32 `` /* 140-byte string literal not displayed */ MountedOn string `protobuf:"bytes,11,opt,name=mounted_on,json=mountedOn,proto3" json:"mounted_on" csv:"mounted_on" yaml:"mounted_on"` MountOptions []string `` /* 129-byte string literal not displayed */ IsLocal bool `protobuf:"varint,13,opt,name=is_local,json=isLocal,proto3" json:"is_local" csv:"is_local" yaml:"is_local"` IsAutomounted bool `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Filesystem) Descriptor
deprecated
func (*Filesystem) Descriptor() ([]byte, []int)
Deprecated: Use Filesystem.ProtoReflect.Descriptor instead.
func (*Filesystem) GetFilesystem ¶
func (x *Filesystem) GetFilesystem() string
func (*Filesystem) GetFreeKb ¶
func (x *Filesystem) GetFreeKb() uint64
func (*Filesystem) GetInodes ¶
func (x *Filesystem) GetInodes() uint64
func (*Filesystem) GetInodesFree ¶
func (x *Filesystem) GetInodesFree() uint64
func (*Filesystem) GetInodesUsed ¶
func (x *Filesystem) GetInodesUsed() uint64
func (*Filesystem) GetInodesUsedPct ¶
func (x *Filesystem) GetInodesUsedPct() float32
func (*Filesystem) GetIsAutomounted ¶
func (x *Filesystem) GetIsAutomounted() bool
func (*Filesystem) GetIsLocal ¶
func (x *Filesystem) GetIsLocal() bool
func (*Filesystem) GetMountOptions ¶
func (x *Filesystem) GetMountOptions() []string
func (*Filesystem) GetMountedOn ¶
func (x *Filesystem) GetMountedOn() string
func (*Filesystem) GetSizeKb ¶
func (x *Filesystem) GetSizeKb() uint64
func (*Filesystem) GetType ¶
func (x *Filesystem) GetType() string
func (*Filesystem) GetUsedKb ¶
func (x *Filesystem) GetUsedKb() uint64
func (*Filesystem) GetUsedPct ¶
func (x *Filesystem) GetUsedPct() float32
func (*Filesystem) ProtoMessage ¶
func (*Filesystem) ProtoMessage()
func (*Filesystem) ProtoReflect ¶
func (x *Filesystem) ProtoReflect() protoreflect.Message
func (*Filesystem) Reset ¶
func (x *Filesystem) Reset()
func (*Filesystem) String ¶
func (x *Filesystem) String() string
type Filter ¶
type Filter struct { Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields" csv:"fields" yaml:"fields"` Matches []*Match `protobuf:"bytes,2,rep,name=matches,proto3" json:"matches" csv:"matches" yaml:"matches"` Sorting []*Sort `protobuf:"bytes,3,rep,name=sorting,proto3" json:"sorting" csv:"sorting" yaml:"sorting"` Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit" csv:"limit" yaml:"limit"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetMatches ¶
func (*Filter) GetSorting ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type Group ¶
type Group struct { Groupname string `protobuf:"bytes,1,opt,name=groupname,proto3" json:"groupname" csv:"groupname" yaml:"groupname"` Gid uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid" csv:"gid" yaml:"gid"` // Signed GID for Mac OS X. GidSigned int64 `protobuf:"varint,3,opt,name=gid_signed,json=gidSigned,proto3" json:"gid_signed" csv:"gid_signed" yaml:"gid_signed"` Members []string `protobuf:"bytes,4,rep,name=members,proto3" json:"members" csv:"members" yaml:"members"` // contains filtered or unexported fields }
func (*Group) Descriptor
deprecated
func (*Group) GetGidSigned ¶
func (*Group) GetGroupname ¶
func (*Group) GetMembers ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type Match ¶
type Match struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field" csv:"field" yaml:"field"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value" csv:"value" yaml:"value"` Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values" csv:"values" yaml:"values"` Operator Operator `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Match) Descriptor
deprecated
func (*Match) GetOperator ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type Operator ¶
type Operator int32
func (Operator) Descriptor ¶
func (Operator) Descriptor() protoreflect.EnumDescriptor
func (Operator) EnumDescriptor
deprecated
func (Operator) Number ¶
func (x Operator) Number() protoreflect.EnumNumber
func (Operator) Type ¶
func (Operator) Type() protoreflect.EnumType
type Rack ¶
type Rack struct { Rack string `protobuf:"bytes,1,opt,name=rack,proto3" json:"rack" csv:"rack" yaml:"rack"` StartPosition int32 `` /* 134-byte string literal not displayed */ StartPositionTop bool `` /* 153-byte string literal not displayed */ Height int32 `protobuf:"varint,4,opt,name=height,proto3" json:"height" csv:"height" yaml:"height"` Site string `protobuf:"bytes,5,opt,name=site,proto3" json:"site" csv:"site" yaml:"site"` // contains filtered or unexported fields }
func (*Rack) Descriptor
deprecated
func (*Rack) GetStartPosition ¶
func (*Rack) GetStartPositionTop ¶
func (*Rack) ProtoMessage ¶
func (*Rack) ProtoMessage()
func (*Rack) ProtoReflect ¶
func (x *Rack) ProtoReflect() protoreflect.Message
type Site ¶
type Site struct { Site string `protobuf:"bytes,1,opt,name=site,proto3" json:"site" csv:"site" yaml:"site"` Address1 string `protobuf:"bytes,2,opt,name=address1,proto3" json:"address1" csv:"address1" yaml:"address1"` Address2 string `protobuf:"bytes,3,opt,name=address2,proto3" json:"address2" csv:"address2" yaml:"address2"` City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city" csv:"city" yaml:"city"` ZipPostalCode string `` /* 137-byte string literal not displayed */ CountryCode string `protobuf:"bytes,6,opt,name=country_code,json=countryCode,proto3" json:"country_code" csv:"country_code" yaml:"country_code"` Organization string `protobuf:"bytes,7,opt,name=organization,proto3" json:"organization" csv:"organization" yaml:"organization"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) GetAddress1 ¶
func (*Site) GetAddress2 ¶
func (*Site) GetCountryCode ¶
func (*Site) GetOrganization ¶
func (*Site) GetZipPostalCode ¶
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type Sort ¶
type Sort struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field" csv:"field" yaml:"field"` Desc bool `protobuf:"varint,2,opt,name=desc,proto3" json:"desc" csv:"desc" yaml:"desc"` // contains filtered or unexported fields }
func (*Sort) Descriptor
deprecated
func (*Sort) ProtoMessage ¶
func (*Sort) ProtoMessage()
func (*Sort) ProtoReflect ¶
func (x *Sort) ProtoReflect() protoreflect.Message
type System ¶
type System struct { Created *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created,proto3" json:"created" csv:"created" yaml:"created"` Updated *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated" csv:"updated" yaml:"updated"` LastSeen *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen" csv:"last_seen" yaml:"last_seen"` Hostname string `protobuf:"bytes,4,opt,name=hostname,proto3" json:"hostname" csv:"hostname" yaml:"hostname"` Address string `protobuf:"bytes,5,opt,name=address,proto3" json:"address" csv:"address" yaml:"address"` Manufacturer string `protobuf:"bytes,6,opt,name=manufacturer,proto3" json:"manufacturer" csv:"manufacturer" yaml:"manufacturer"` Product string `protobuf:"bytes,7,opt,name=product,proto3" json:"product" csv:"product" yaml:"product"` ProductVersion string `` /* 138-byte string literal not displayed */ SerialNumber string `` /* 128-byte string literal not displayed */ BiosVendor string `protobuf:"bytes,10,opt,name=bios_vendor,json=biosVendor,proto3" json:"bios_vendor" csv:"bios_vendor" yaml:"bios_vendor"` // Only PC BiosDate string `protobuf:"bytes,11,opt,name=bios_date,json=biosDate,proto3" json:"bios_date" csv:"bios_date" yaml:"bios_date"` // Only PC BiosVersion string `protobuf:"bytes,12,opt,name=bios_version,json=biosVersion,proto3" json:"bios_version" csv:"bios_version" yaml:"bios_version"` // Only PC BootRomVersion string `` // Only Apple /* 143-byte string literal not displayed */ SmcVersion string `protobuf:"bytes,14,opt,name=smc_version,json=smcVersion,proto3" json:"smc_version" csv:"smc_version" yaml:"smc_version"` // Only Apple MemoryGb int32 `protobuf:"varint,15,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb" csv:"memory_gb" yaml:"memory_gb"` CpuCoresPerSocket int32 `` /* 163-byte string literal not displayed */ CpuPhysicalCores int32 `` /* 154-byte string literal not displayed */ CpuLogicalCores int32 `` /* 149-byte string literal not displayed */ CpuSockets int32 `protobuf:"varint,19,opt,name=cpu_sockets,json=cpuSockets,proto3" json:"cpu_sockets" csv:"cpu_sockets" yaml:"cpu_sockets"` CpuThreadsPerCore int32 `` /* 163-byte string literal not displayed */ CpuModel string `protobuf:"bytes,21,opt,name=cpu_model,json=cpuModel,proto3" json:"cpu_model" csv:"cpu_model" yaml:"cpu_model"` CpuFlags string `protobuf:"bytes,22,opt,name=cpu_flags,json=cpuFlags,proto3" json:"cpu_flags" csv:"cpu_flags" yaml:"cpu_flags"` Os string `protobuf:"bytes,23,opt,name=os,proto3" json:"os" csv:"os" yaml:"os"` OsVersion string `protobuf:"bytes,24,opt,name=os_version,json=osVersion,proto3" json:"os_version" csv:"os_version" yaml:"os_version"` OsBuild string `protobuf:"bytes,25,opt,name=os_build,json=osBuild,proto3" json:"os_build" csv:"os_build" yaml:"os_build"` OsDescr string `protobuf:"bytes,26,opt,name=os_descr,json=osDescr,proto3" json:"os_descr" csv:"os_descr" yaml:"os_descr"` Kernel string `protobuf:"bytes,27,opt,name=kernel,proto3" json:"kernel" csv:"kernel" yaml:"kernel"` KernelVersion string `` /* 134-byte string literal not displayed */ KernelRelease string `` /* 134-byte string literal not displayed */ Description string `protobuf:"bytes,30,opt,name=description,proto3" json:"description" csv:"description" yaml:"description"` Site string `protobuf:"bytes,31,opt,name=site,proto3" json:"site" csv:"site" yaml:"site"` Rack string `protobuf:"bytes,32,opt,name=rack,proto3" json:"rack" csv:"rack" yaml:"rack"` RackPosition int32 `` /* 130-byte string literal not displayed */ RackHeight int32 `protobuf:"varint,34,opt,name=rack_height,json=rackHeight,proto3" json:"rack_height" csv:"rack_height" yaml:"rack_height"` Vm bool `protobuf:"varint,35,opt,name=vm,proto3" json:"vm" csv:"vm" yaml:"vm"` VmServer string `protobuf:"bytes,36,opt,name=vm_server,json=vmServer,proto3" json:"vm_server" csv:"vm_server" yaml:"vm_server"` // contains filtered or unexported fields }
func (*System) Descriptor
deprecated
func (*System) GetAddress ¶
func (*System) GetBiosDate ¶
func (*System) GetBiosVendor ¶
func (*System) GetBiosVersion ¶
func (*System) GetBootRomVersion ¶
func (*System) GetCpuCoresPerSocket ¶
func (*System) GetCpuFlags ¶
func (*System) GetCpuLogicalCores ¶
func (*System) GetCpuModel ¶
func (*System) GetCpuPhysicalCores ¶
func (*System) GetCpuSockets ¶
func (*System) GetCpuThreadsPerCore ¶
func (*System) GetCreated ¶
func (x *System) GetCreated() *timestamppb.Timestamp
func (*System) GetDescription ¶
func (*System) GetHostname ¶
func (*System) GetKernelRelease ¶
func (*System) GetKernelVersion ¶
func (*System) GetLastSeen ¶
func (x *System) GetLastSeen() *timestamppb.Timestamp
func (*System) GetManufacturer ¶
func (*System) GetMemoryGb ¶
func (*System) GetOsBuild ¶
func (*System) GetOsDescr ¶
func (*System) GetOsVersion ¶
func (*System) GetProduct ¶
func (*System) GetProductVersion ¶
func (*System) GetRackHeight ¶
func (*System) GetRackPosition ¶
func (*System) GetSerialNumber ¶
func (*System) GetSmcVersion ¶
func (*System) GetUpdated ¶
func (x *System) GetUpdated() *timestamppb.Timestamp
func (*System) GetVmServer ¶
func (*System) ProtoMessage ¶
func (*System) ProtoMessage()
func (*System) ProtoReflect ¶
func (x *System) ProtoReflect() protoreflect.Message
type User ¶
type User struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username" csv:"username" yaml:"username"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment" csv:"comment" yaml:"comment"` Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid" csv:"uid" yaml:"uid"` Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid" csv:"gid" yaml:"gid"` // Signed UID for Mac OS X. UidSigned int64 `protobuf:"varint,5,opt,name=uid_signed,json=uidSigned,proto3" json:"uid_signed" csv:"uid_signed" yaml:"uid_signed"` // Signed GID for Mac OS X. GidSigned int64 `protobuf:"varint,6,opt,name=gid_signed,json=gidSigned,proto3" json:"gid_signed" csv:"gid_signed" yaml:"gid_signed"` Directory string `protobuf:"bytes,7,opt,name=directory,proto3" json:"directory" csv:"directory" yaml:"directory"` Shell string `protobuf:"bytes,8,opt,name=shell,proto3" json:"shell" csv:"shell" yaml:"shell"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetComment ¶
func (*User) GetDirectory ¶
func (*User) GetGidSigned ¶
func (*User) GetUidSigned ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.